mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 20:05:54 +00:00
hw_x86_64: Reserve space for mode transition buffer
Since the buffer stores an IA-32e interrupt stack frame, its size must be 6 * 8 bytes.
This commit is contained in:
parent
03929b3cc9
commit
e3f10b5ce2
@ -17,6 +17,9 @@
|
||||
/* size of pointer to CPU context */
|
||||
.set CONTEXT_PTR_SIZE, 1 * 8
|
||||
|
||||
/* globally mapped buffer storage */
|
||||
.set BUFFER_SIZE, 6 * 8
|
||||
|
||||
.section .text
|
||||
|
||||
/*
|
||||
@ -53,6 +56,7 @@
|
||||
.p2align 2
|
||||
.global _mt_buffer
|
||||
_mt_buffer:
|
||||
.space BUFFER_SIZE
|
||||
|
||||
/*
|
||||
* On user exceptions the CPU has to jump to one of the following
|
||||
|
Loading…
x
Reference in New Issue
Block a user