Michael Brown
|
058b200529
|
Renamed _calloc() to zalloc(), ready to be used as a standalone function.
|
17 vuotta sitten |
Michael Brown
|
4256b3338a
|
Split random number generation out into core/random.c, and create the
correct prototypes for srandom(), rand() and srand().
|
18 vuotta sitten |
Michael Brown
|
b02a564297
|
Add missing prerequisite include
|
18 vuotta sitten |
Michael Brown
|
35776f481c
|
Don't always zero memory in malloc(). This saves around 2us on a
full-length PKB allocation.
|
18 vuotta sitten |
Michael Brown
|
73e3e02367
|
Fix prototype of random() and move to stdlib.h
|
18 vuotta sitten |
Michael Brown
|
f3d817d512
|
Added execv() and system().
|
18 vuotta sitten |
Michael Brown
|
3e0286dee3
|
Move ANSI C standard prototypes to stdlib.h; leave the gPXE-specific
function prototypes (e.g. malloc_dma()) in malloc.h.
|
18 vuotta sitten |
Michael Brown
|
8df7e74990
|
Fix up prototype of strtoul() to match POSIX.
|
18 vuotta sitten |
Michael Brown
|
70567c51a2
|
Moved strtoul prototype into stdlib.h for consistency
|
19 vuotta sitten |