mirror of
https://github.com/ipxe/ipxe
synced 2025-12-21 20:40:25 +03:00
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:
15
src/include/gpxe/segment.h
Normal file
15
src/include/gpxe/segment.h
Normal 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 */
|
||||
@@ -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 */
|
||||
Reference in New Issue
Block a user