mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 08:25:38 +00:00
hw_x86_64: Add Thread::_event implementation
It is an exact copy of the ARM version.
This commit is contained in:
parent
83a1b826a3
commit
112ff2609a
@ -54,8 +54,10 @@ addr_t Thread::* Thread::_reg(addr_t const id) const
|
||||
|
||||
Thread_event Thread::* Thread::_event(unsigned const id) const
|
||||
{
|
||||
PDBG("not implemented");
|
||||
return nullptr;
|
||||
static Thread_event Thread::* _events[] = {
|
||||
/* [0] */ &Thread::_fault
|
||||
};
|
||||
return id < sizeof(_events)/sizeof(_events[0]) ? _events[id] : 0;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user