mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-07 19:34:56 +00:00
hw_x86_64: Reserve space for interrupt stack in mtc region
The interrupt stack must reside in the mtc region in order to use it for non-core threads. The size of the stack is set to 56 bytes in order to hold the interrupt stack frame plus the additional vector number that is pushed onto the stack by the ISR.
This commit is contained in:
parent
9c44d32dd9
commit
9af9dcc02c
@ -303,6 +303,17 @@
|
||||
.global _mt_gdt_end
|
||||
_mt_gdt_end:
|
||||
|
||||
/************************************************
|
||||
** Temporary interrupt stack **
|
||||
** Set as RSP for privilege levels 0-2 in TSS **
|
||||
** See Intel SDM Vol. 3A, section 7.7 **
|
||||
************************************************/
|
||||
|
||||
.p2align 8
|
||||
.space 7 * 8
|
||||
.global _mt_kernel_interrupt_stack
|
||||
_mt_kernel_interrupt_stack:
|
||||
|
||||
/* end of the mode transition code */
|
||||
.global _mt_end
|
||||
_mt_end:
|
||||
|
Loading…
x
Reference in New Issue
Block a user