Mercurial > lcfOS
comparison cos/kernel/kernel.h @ 41:35cc54e078dd
Added memory functions
author | windel |
---|---|
date | Fri, 03 Feb 2012 17:56:41 +0100 |
parents | 24ce177e01e8 |
children |
comparison
equal
deleted
inserted
replaced
40:24ce177e01e8 | 41:35cc54e078dd |
---|---|
265 fs_dirent_t* readdir_fs(fs_node_t *node, int i); | 265 fs_dirent_t* readdir_fs(fs_node_t *node, int i); |
266 | 266 |
267 // Initial ramdisk functions: | 267 // Initial ramdisk functions: |
268 fs_node_t* initialize_initrd(uint64_t location); | 268 fs_node_t* initialize_initrd(uint64_t location); |
269 | 269 |
270 void load_ramdisk(void); | |
271 | |
270 // Variable argument list things: | 272 // Variable argument list things: |
271 #define va_start(v,l) __builtin_va_start(v,l) | 273 #define va_start(v,l) __builtin_va_start(v,l) |
272 #define va_end(v) __builtin_va_end(v) | 274 #define va_end(v) __builtin_va_end(v) |
273 #define va_arg(v,l) __builtin_va_arg(v,l) | 275 #define va_arg(v,l) __builtin_va_arg(v,l) |
274 typedef __builtin_va_list va_list; | 276 typedef __builtin_va_list va_list; |