mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
hw_x86_64: Setup and load Task State Segment
This commit is contained in:
committed by
Christian Helmuth
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 */
|
||||
|
||||
Reference in New Issue
Block a user