Files
openbios/include/libc/stdlib.h
Blue Swirl 91148c0702 Clean up Sparc32 memory management
Concentrate memory and MMU management (lib.c malloc, romvec opb_, iommu,
OF /memory) to lib.c.



git-svn-id: svn://coreboot.org/openbios/openbios-devel@344 f158a5a8-5612-0410-a976-696ce0be7e32
2009-01-03 13:45:02 +00:00

28 lines
730 B
C

/*
* Creation Date: <2003/12/19 18:52:20 samuel>
* Time-stamp: <2003/12/19 18:52:21 samuel>
*
* <stdlib.h>
*
*
* Copyright (C) 2003 Samuel Rydh (samuel@ibrium.se)
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2
*
*/
#ifndef _H_STDLIB
#define _H_STDLIB
extern void *malloc( int size );
extern void free( void *ptr );
extern void *realloc( void *ptr, size_t size );
extern int posix_memalign(void **memptr, size_t alignment, size_t size);
/* should perhaps go somewhere else... */
extern void qsort( void *base, size_t nmemb, size_t size, int (*compar)(const void*, const void*));
#endif /* _H_STDLIB */