mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-08 11:55:24 +00:00
hw_x86_64: Setup and load Task State Segment
This commit is contained in:
parent
2af5aaa54d
commit
9f825ffb17
@ -18,6 +18,7 @@
|
||||
#include <kernel/interface_support.h>
|
||||
#include <cpu/cpu_state.h>
|
||||
#include <idt.h>
|
||||
#include <tss.h>
|
||||
|
||||
namespace Genode
|
||||
{
|
||||
@ -43,9 +44,11 @@ class Genode::Cpu
|
||||
/* Setup IDT only once */
|
||||
if (primary_id() == executing_id()) {
|
||||
Idt::setup();
|
||||
Tss::setup();
|
||||
}
|
||||
|
||||
Idt::load();
|
||||
Tss::load();
|
||||
}
|
||||
|
||||
static constexpr addr_t exception_entry = 0x0; /* XXX */
|
||||
|
Loading…
x
Reference in New Issue
Block a user