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:
Adrian-Ken Rueegsegger 2015-02-17 17:17:34 +01:00 committed by Christian Helmuth
parent 03929b3cc9
commit e3f10b5ce2
1 changed files with 4 additions and 0 deletions

View File

@ -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