MCPcopy Create free account
hub / github.com/bendudson/EuraliOS / set_interrupt_stack_table

Function set_interrupt_stack_table

kernel/src/gdt.rs:84–86  ·  view source on GitHub ↗

Set the interrupt stack table entry to a given virtual address This is called to set the kernel stack of the current process

(index: usize, stack_end: VirtAddr)

Source from the content-addressed store, hash-verified

82///
83/// This is called to set the kernel stack of the current process
84pub fn set_interrupt_stack_table(index: usize, stack_end: VirtAddr) {
85 TSS.lock().interrupt_stack_table[index] = stack_end;
86}
87
88use x86_64::structures::gdt::{GlobalDescriptorTable, Descriptor, SegmentSelector};
89

Callers 1

schedule_nextFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected