mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 14:38:11 +00:00
A userspace process can now GPF and the OS goes on!
This is really rickety, but it kinda sorta works for my test GPF!
This commit is contained in:
parent
77299cf54d
commit
56c1f9db8e
8 changed files with 96 additions and 42 deletions
|
@ -69,7 +69,7 @@ static void user_main()
|
|||
// Crash ourselves!
|
||||
char* x = reinterpret_cast<char*>(0xbeefbabe);
|
||||
//*x = 1;
|
||||
//HANG;
|
||||
HANG;
|
||||
for (;;) {
|
||||
// nothing?
|
||||
Userspace::sleep(1 * TICKS_PER_SECOND);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue