diff options
author | rsc <rsc> | 2006-09-06 19:08:14 +0000 |
---|---|---|
committer | rsc <rsc> | 2006-09-06 19:08:14 +0000 |
commit | 0cfc7290e8307b66ade6d5eb736c89cc4062c302 (patch) | |
tree | 592ad149f605717dfa0162d75da0af050a9c53e4 /bootmain.c | |
parent | db8fb62e4d599f4e08a3b6420e42b2445e8d7fe3 (diff) | |
download | xv6-labs-0cfc7290e8307b66ade6d5eb736c89cc4062c302.tar.gz xv6-labs-0cfc7290e8307b66ade6d5eb736c89cc4062c302.tar.bz2 xv6-labs-0cfc7290e8307b66ade6d5eb736c89cc4062c302.zip |
wrap long lines
Diffstat (limited to 'bootmain.c')
-rw-r--r-- | bootmain.c | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -1,6 +1,3 @@ -#include "types.h" -#include "elf.h" -#include "x86.h" // This a dirt simple boot loader, whose sole job is to boot // an elf kernel image from the first IDE hard disk. // @@ -25,7 +22,12 @@ // * control starts in bootloader.S -- which sets up protected mode, // and a stack so C code then run, then calls cmain() // -// * cmain() in this file takes over, reads in the kernel and jumps to it. +// * cmain() in this file takes over, +// reads in the kernel and jumps to it. + +#include "types.h" +#include "elf.h" +#include "x86.h" #define SECTSIZE 512 #define ELFHDR ((struct elfhdr*) 0x10000) // scratch space |