mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 15:32:25 +00:00
hw_x86_64: Reserve space for IDT on mode transition pages
On exception, the CPU first checks the IDT in order to find the associated ISR. The IDT must therefore be placed in the mode transition pages to make them available for non-core threads.
This commit is contained in:
parent
d8a10448bb
commit
9c8109c276
@ -237,6 +237,16 @@
|
||||
|
||||
iretq
|
||||
|
||||
/************************************************
|
||||
** Space for Interrupt Descriptor Table (IDT) **
|
||||
** See Intel SDM Vol. 3A, section 6.10 **
|
||||
************************************************/
|
||||
|
||||
.global _mt_idt
|
||||
.align 8
|
||||
_mt_idt:
|
||||
.space 1 << MIN_PAGE_SIZE_LOG2
|
||||
|
||||
/* end of the mode transition code */
|
||||
.global _mt_end
|
||||
_mt_end:
|
||||
|
Loading…
Reference in New Issue
Block a user