direct-io.hg
view extras/mini-os/head.S @ 2299:8be25c10fa1e
bitkeeper revision 1.1159.42.4 (4124c9a2Di3cas2RmMeElljc94T5_A)
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xeno
Merge scramble.cl.cam.ac.uk:/auto/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xeno
author | kaf24@scramble.cl.cam.ac.uk |
---|---|
date | Thu Aug 19 15:39:14 2004 +0000 (2004-08-19) |
parents | 369b77bc3884 |
children |
line source
1 #include <os.h>
3 .globl _start, shared_info
5 _start:
6 cld
7 lss stack_start,%esp
8 push %esi
9 call start_kernel
11 stack_start:
12 .long stack+8192, __KERNEL_DS
14 /* Unpleasant -- the PTE that maps this page is actually overwritten */
15 /* to map the real shared-info page! :-) */
16 .org 0x1000
17 shared_info:
18 .org 0x2000