mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:48:11 +00:00
Tweak _test.o to use the putch() syscall.
It's still running in kernel space. Once I make it possible for ELFLoader to set up a ring 3 task, we'll really be cooking!
This commit is contained in:
parent
3a3c57357c
commit
e4afa2a041
7 changed files with 13 additions and 3 deletions
|
@ -51,8 +51,8 @@ DWORD handle(DWORD function, DWORD arg1, DWORD arg2, DWORD arg3)
|
|||
case Syscall::Yield:
|
||||
yield();
|
||||
break;
|
||||
case 0x1235: // putch
|
||||
kprintf( "%c", arg1 & 0xFF );
|
||||
case Syscall::PutCharacter:
|
||||
kprintf("%c", arg1 & 0xff);
|
||||
break;
|
||||
case Syscall::Sleep:
|
||||
//kprintf("syscall: sleep(%d)\n", arg1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue