dc74f4ac15
Added sys|user_write_link() to vfs.h git-svn-id: file:///srv/svn/repos/haiku/trunk/current@595 a95241bf-73f2-0310-859d-f6bbb57e9c96
22 lines
484 B
C
Executable File
22 lines
484 B
C
Executable File
/*
|
|
** Copyright 2001-2002, Travis Geiselbrecht. All rights reserved.
|
|
** Distributed under the terms of the NewOS License.
|
|
*/
|
|
#ifndef _KERNEL_MEMHEAP_H
|
|
#define _KERNEL_MEMHEAP_H
|
|
|
|
#include <kernel.h>
|
|
#include <stage2.h>
|
|
|
|
#define HEAP_SIZE 0x00400000
|
|
// 4 MB heap for the kernel
|
|
|
|
|
|
int heap_init(addr new_heap_base);
|
|
int heap_init_postsem(kernel_args *ka);
|
|
void *kmalloc(unsigned int size);
|
|
void kfree(void *address);
|
|
char *kstrdup(const char*text);
|
|
|
|
#endif /* _KERNEL_MEMHEAP_H */
|