iPXE
segment.h
Go to the documentation of this file.
1#ifndef _IPXE_SEGMENT_H
2#define _IPXE_SEGMENT_H
3
4/**
5 * @file
6 *
7 * Executable image segments
8 *
9 */
10
11FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
12
13#include <stdint.h>
14
15extern int prep_segment ( void *segment, size_t filesz, size_t memsz );
16
17#endif /* _IPXE_SEGMENT_H */
static size_t memsz
Definition fdtmem.c:51
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition compiler.h:896
uint16_t segment
Code segment.
Definition librm.h:3
int prep_segment(void *segment, size_t filesz, size_t memsz)
Prepare segment for loading.
Definition segment.c:61