Handout
This commit is contained in:
17
kernel/arch/core_ring.cc
Normal file
17
kernel/arch/core_ring.cc
Normal file
@@ -0,0 +1,17 @@
|
||||
#include "./core_ring.h"
|
||||
|
||||
#include "./core_interrupt.h"
|
||||
#include "./gdt.h"
|
||||
|
||||
namespace Core {
|
||||
namespace Ring {
|
||||
[[gnu::noreturn]]
|
||||
void switchToUsermode(void *stackpointer, void *kickoff,
|
||||
void *kickoff_parameter) {
|
||||
(void)stackpointer;
|
||||
(void)kickoff;
|
||||
(void)kickoff_parameter;
|
||||
__builtin_unreachable();
|
||||
}
|
||||
} // namespace Ring
|
||||
} // namespace Core
|
||||
Reference in New Issue
Block a user