mirror of
https://github.com/drasko/codezero.git
synced 2026-01-13 03:13:15 +01:00
Added a new system call sys_timer.
sys_timer accumulates timer ticks into seconds, minutes, hours and days. It's left to the user to calculate from days into a date. It is not yet known if the calculation is even roughly correct. Reduced 2 kmem_reclaim/grant calls into one kmem_control call.
This commit is contained in:
@@ -28,7 +28,7 @@ BEGIN_PROC(arm_system_calls)
|
||||
swi 0x14 @ memory_control /* 0x20 */
|
||||
swi 0x14 @ getid /* 0x24 */
|
||||
swi 0x14 @ kread /* 0x28 */
|
||||
swi 0x14 @ kmem_grant /* 0x2C */
|
||||
swi 0x14 @ kmem_reclaim /* 0x30 */
|
||||
swi 0x14 @ kmem_control /* 0x2C */
|
||||
swi 0x14 @ time /* 0x30 */
|
||||
END_PROC(arm_system_calls)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user