mirror of
https://github.com/Tom-on64/kern.git
synced 2026-11-03 18:22:22 +00:00
Reimplemented PIT Timer. Sleep is now a syscall. Also made docs/ that contains some info so i don't forget.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
--- Memory Map ---
|
||||
0x1000 - Kernel
|
||||
0x6000 - Font
|
||||
0x7000 - Filetable (0x7c00 - Bootloader)
|
||||
0x8500 - ACPI Memory map
|
||||
0x9000 - VBE Mode Info Block
|
||||
0x30000 - Memory manager memmap
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
=== System Calls ===
|
||||
|
||||
Syscall handlers are prefixed by 'sys_'
|
||||
Syscalls can be called using interrupt 0x80
|
||||
The EAX register should countain a syscall number
|
||||
|
||||
Here's a list of syscalls: (and their numbers)
|
||||
|
||||
syscall(0) : Sleep()
|
||||
Args: EBX - Number of miliseconds to sleep for
|
||||
|
||||
Reference in New Issue
Block a user