Mercurial > lcfOS
comparison kernel/kernel.c3 @ 295:917eab04b8b7
Added disasm
author | Windel Bouwman |
---|---|
date | Thu, 28 Nov 2013 21:10:32 +0100 |
parents | 6aa721e7b10b |
children | 9417caea2eb3 |
comparison
equal
deleted
inserted
replaced
294:e89cca5779b0 | 295:917eab04b8b7 |
---|---|
6 import arch; | 6 import arch; |
7 | 7 |
8 // Main entry point of the kernel: | 8 // Main entry point of the kernel: |
9 function void start() | 9 function void start() |
10 { | 10 { |
11 process.Init(); | 11 process:init(); |
12 memory.Init(); | 12 memory:init(); |
13 | 13 |
14 | 14 |
15 Process proc = new process.Process(); | 15 Process proc = new process:Process(); |
16 | 16 |
17 scheduler.queue(proc); | 17 scheduler:queue(proc); |
18 } | 18 } |
19 | 19 |
20 | 20 |
21 function void panic() | 21 function void panic() |
22 { | 22 { |
23 arch.halt(); | 23 arch:halt(); |
24 } | 24 } |
25 | 25 |