StupidOS/kernel/dev/console.inc

29 lines
359 B
PHP
Raw Normal View History

2024-07-14 13:11:28 +00:00
;; File: console.inc
2024-07-14 16:48:36 +00:00
console_write:
mov eax, uConsoleLock
call lock_acquire
mov eax, uConsoleLock
call lock_release
ret
console_read:
mov eax, uConsoleLock
call lock_acquire
mov eax, uConsoleLock
call lock_release
ret
2024-07-16 06:29:16 +00:00
console_init:
ret
2024-07-16 07:52:08 +00:00
console_device:
2024-07-17 07:41:36 +00:00
db 'console', 0
dd console_init
2024-07-16 07:52:08 +00:00
dd console_write
dd console_write
2024-07-14 16:48:36 +00:00
uConsoleLock dd 0