|
|
1.1 ! root 1: /****************************************************************************** ! 2: * Copyright (c) 2004, 2008 IBM Corporation ! 3: * All rights reserved. ! 4: * This program and the accompanying materials ! 5: * are made available under the terms of the BSD License ! 6: * which accompanies this distribution, and is available at ! 7: * http://www.opensource.org/licenses/bsd-license.php ! 8: * ! 9: * Contributors: ! 10: * IBM Corporation - initial implementation ! 11: *****************************************************************************/ ! 12: ! 13: #ifndef KERNEL_H ! 14: #define KERNEL_H ! 15: #include <stddef.h> ! 16: ! 17: int printk(const char *, ...); ! 18: void *memcpy(void *, const void *, size_t); ! 19: void *memset(void *, int, size_t); ! 20: void udelay(unsigned int); ! 21: void mdelay(unsigned int); ! 22: int getchar(void); ! 23: ! 24: int strcmp(const char *, const char *); ! 25: char *strcpy(char *, const char *); ! 26: int printf(const char *, ...); ! 27: void *malloc_aligned(size_t size, int align); ! 28: ! 29: void exception_forward(void); ! 30: void undo_exception(void); ! 31: ! 32: #endif
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.