Remove osloader.c and replace with a prep_segment() that uses userptr_t

and get_memmap() in image/segment.c
This commit is contained in:
Michael Brown
2007-01-11 14:32:26 +00:00
parent ceca6b185c
commit 3634e705b7
5 changed files with 87 additions and 98 deletions

View File

@@ -0,0 +1,15 @@
#ifndef _GPXE_SEGMENT_H
#define _GPXE_SEGMENT_H
/**
* @file
*
* Executable image segments
*
*/
#include <gpxe/uaccess.h>
extern int prep_segment ( userptr_t segment, size_t filesz, size_t memsz );
#endif /* _GPXE_SEGMENT_H */

View File

@@ -1,6 +0,0 @@
#ifndef OSLOADER_H
#define OSLOADER_H
extern int prep_segment ( physaddr_t start, physaddr_t mid, physaddr_t end );
#endif /* OSLOADER_H */