Added a public domain malloc temporarily.

More changes to fs0, still improvising.
This commit is contained in:
Bahadir Balban
2008-01-16 18:12:20 +00:00
parent c921197e69
commit 66abb3d7f8
4 changed files with 497 additions and 17 deletions

View File

@@ -59,7 +59,7 @@ struct dentry {
struct dentry *parent; /* Parent dentry */
struct list_head child; /* List of dentries with same parent */
struct list_head children; /* List of children dentries */
struct list_head dref_list; /* For vnode's dirent reference list */
struct list_head vref; /* For vnode's dirent reference list */
struct vnode *vnode; /* The vnode associated with dirent */
struct dentry_ops ops;
};

View File

@@ -0,0 +1,7 @@
#ifndef __PRIVATE_MALLOC_H__
#define __PRIVATE_MALLOC_H__
void *kmalloc(size_t size);
void kfree(void *blk);
#endif /*__PRIVATE_MALLOC_H__ */