mirror of
https://github.com/drasko/codezero.git
synced 2026-02-27 01:03:14 +01:00
Mixed changes
- Added automatic utcb map/prefaulting of forked tasks for fs0 so that it does not need to explicitly request those tasks from mm0. Eliminating fs0 requests to mm0 reduce deadlock possibilities. - Replaced kmalloc with a public malloc implementation because of a bug in kmalloc. - Fixed a kfree bug. default_release_pages was trying to free page_array pages.
This commit is contained in:
@@ -23,9 +23,9 @@ extern struct list_head km_area_start;
|
||||
void kmalloc_init(void);
|
||||
|
||||
/* Kmalloc allocation functions */
|
||||
void *kmalloc(int size);
|
||||
void *kzalloc(int size);
|
||||
int kfree(void *vaddr);
|
||||
void *kmalloc(int size) __attribute__((weak));
|
||||
void *kzalloc(int size) __attribute__((weak));
|
||||
int kfree(void *vaddr) __attribute__((weak));
|
||||
|
||||
#endif /* __KMALLOC_H__ */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user