diff options
Diffstat (limited to 'clients/net-snk/include/kernel.h')
-rw-r--r-- | clients/net-snk/include/kernel.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/clients/net-snk/include/kernel.h b/clients/net-snk/include/kernel.h new file mode 100644 index 0000000..531d82c --- /dev/null +++ b/clients/net-snk/include/kernel.h @@ -0,0 +1,32 @@ +/****************************************************************************** + * Copyright (c) 2004, 2007 IBM Corporation + * All rights reserved. + * This program and the accompanying materials + * are made available under the terms of the BSD License + * which accompanies this distribution, and is available at + * http://www.opensource.org/licenses/bsd-license.php + * + * Contributors: + * IBM Corporation - initial implementation + *****************************************************************************/ + +#ifndef KERNEL_H +#define KERNEL_H +#include <stddef.h> + +int printk(const char *, ...); +void *memcpy(void *, const void *, size_t); +void *memset(void *, int, size_t); +void udelay(unsigned int); +void mdelay(unsigned int); +int getchar(void); + +int strcmp(const char *, const char *); +char *strcpy(char *, const char *); +int printf(const char *, ...); +void *malloc_aligned(size_t size, int align); + +void exception_forward(void); +void undo_exception(void); + +#endif |