1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Ported kernel to new syscall API and started cleaning up the old one.

This commit is contained in:
Jonas 'Sortie' Termansen 2011-10-27 00:05:20 +02:00
parent 011e6eca95
commit c705bf39ff
30 changed files with 375 additions and 169 deletions

View file

@ -111,7 +111,7 @@ void Update()
// Read the keyboard input from the user.
unsigned method = System::Keyboard::POLL;
uint32_t codepoint;
while ( (codepoint = System::Keyboard::ReceieveKeystroke(method) ) != 0 )
while ( (codepoint = System::Keyboard::ReceiveKeystroke(method) ) != 0 )
{
bool keyup = codepoint & DEPRESSED;
if ( keyup ) { continue; }

View file

@ -185,7 +185,7 @@ void ReadInput()
{
unsigned method = System::Keyboard::POLL;
uint32_t codepoint;
while ( (codepoint = System::Keyboard::ReceieveKeystroke(method) ) != 0 )
while ( (codepoint = System::Keyboard::ReceiveKeystroke(method) ) != 0 )
{
bool keyup = codepoint & DEPRESSED;
codepoint &= ~DEPRESSED;

View file

@ -100,7 +100,7 @@ void Update()
// Read the keyboard input from the user.
unsigned method = System::Keyboard::POLL;
uint32_t codepoint;
while ( (codepoint = System::Keyboard::ReceieveKeystroke(method) ) != 0 )
while ( (codepoint = System::Keyboard::ReceiveKeystroke(method) ) != 0 )
{
bool keyup = codepoint & DEPRESSED;
if ( keyup ) { continue; }