#include "types.h"#include "elf.h"#include "x86.h"Go to the source code of this file.
Defines | |
| #define | SECTSIZE 512 |
Functions | |
| void | readseg (uchar *, uint, uint) |
| void | bootmain (void) |
| void | waitdisk (void) |
| void | readsect (void *dst, uint offset) |
| #define SECTSIZE 512 |
| void bootmain | ( | void | ) |
Definition at line 17 of file bootmain.c.
References elfhdr::elf, ELF_MAGIC, proghdr::filesz, proghdr::memsz, proghdr::offset, readseg(), stosb(), and proghdr::va.
| void readsect | ( | void * | dst, | |
| uint | offset | |||
| ) |
Definition at line 59 of file bootmain.c.
References insl(), outb(), SECTSIZE, and waitdisk().
Referenced by readseg().
Definition at line 78 of file bootmain.c.
References readsect(), and SECTSIZE.
Referenced by bootmain().
| void waitdisk | ( | void | ) |
1.5.6