diff options
| author | Jake Mannens <jake72360@gmail.com> | 2018-07-08 01:55:48 +1000 |
|---|---|---|
| committer | Jake Mannens <jake72360@gmail.com> | 2018-07-08 01:55:48 +1000 |
| commit | b99a1b58d63dfefb319eecb564c07a4029e02233 (patch) | |
| tree | c0557d3c775928d106a5c26c765b0063be96b936 /kernel/timer.s | |
| parent | 70b141b3af85771f36119165e072c1c45d64de84 (diff) | |
Moved the 'ticks' variable from kmain.c to timer.s.
Added the prototype for userspace_init() to sched.h removing the need to
the extern declaration in kmain.c.
Diffstat (limited to 'kernel/timer.s')
| -rw-r--r-- | kernel/timer.s | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/timer.s b/kernel/timer.s index 53c81ed..3723782 100644 --- a/kernel/timer.s +++ b/kernel/timer.s @@ -1,8 +1,8 @@ +global ticks global timer_init extern register_isr -; TODO: move this someplace safe (not kmain.c) -extern ticks +ticks: dd 0 tick_handler: push ax |
