iPXE
memblock.h
Go to the documentation of this file.
1 #ifndef _IPXE_MEMBLOCK_H
2 #define _IPXE_MEMBLOCK_H
3 
4 /** @file
5  *
6  * Largest memory block
7  *
8  */
9 
10 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11 
12 #include <stdint.h>
13 #include <ipxe/uaccess.h>
14 
15 extern size_t largest_memblock ( userptr_t *start );
16 
17 #endif /* _IPXE_MEMBLOCK_H */
Access to external ("user") memory.
uint32_t start
Starting offset.
Definition: netvsc.h:12
size_t largest_memblock(userptr_t *start)
Find largest usable memory region.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
unsigned long userptr_t
A pointer to a user buffer.
Definition: uaccess.h:33