mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 16:35:28 +00:00
hw_x86_64: Reserve space for client context pointer
A pointer to the client context is placed in the mt_client_context_ptr area. It is used to pass the current client context to the lowlevel mode-switching assembly code.
This commit is contained in:
parent
4417fe6201
commit
65de09c7a6
@ -14,6 +14,9 @@
|
||||
|
||||
.include "macros.s"
|
||||
|
||||
/* size of pointer to CPU context */
|
||||
.set CONTEXT_PTR_SIZE, 1 * 8
|
||||
|
||||
.section .text
|
||||
|
||||
/*
|
||||
@ -44,6 +47,7 @@
|
||||
.p2align 2
|
||||
.global _mt_client_context_ptr
|
||||
_mt_client_context_ptr:
|
||||
.space CONTEXT_PTR_SIZE
|
||||
|
||||
/* a globally mapped buffer per CPU */
|
||||
.p2align 2
|
||||
|
Loading…
x
Reference in New Issue
Block a user