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:
Bahadir Balban
2008-04-18 00:46:29 +01:00
parent 73058dc249
commit a87914910c
12 changed files with 122 additions and 133 deletions

View File

@@ -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)