UNIX xv6 (rev8, 9/1/15)
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions
bootmain.c File Reference
#include "types.h"
#include "elf.h"
#include "x86.h"
#include "memlayout.h"

Go to the source code of this file.

Macros

#define SECTSIZE   512
 

Functions

void readseg (uchar *, uint, uint)
 
void bootmain (void)
 
void waitdisk (void)
 
void readsect (void *dst, uint offset)
 

Macro Definition Documentation

#define SECTSIZE   512

Definition at line 13 of file bootmain.c.

Function Documentation

void bootmain ( void  )

Definition at line 18 of file bootmain.c.

void readsect ( void *  dst,
uint  offset 
)

Definition at line 60 of file bootmain.c.

void readseg ( uchar pa,
uint  count,
uint  offset 
)

Definition at line 79 of file bootmain.c.

void waitdisk ( void  )

Definition at line 51 of file bootmain.c.