mirror of
https://github.com/drasko/codezero.git
synced 2026-01-12 10:53:16 +01:00
It turned out we used one version of kmalloc for malloc() and another for kfree()! Now fixed. Added parent-child relationship to tasks. Need to polish handling CLONE_PARENT and THREAD.
16 lines
289 B
C
16 lines
289 B
C
/*
|
|
* Definitions for do_exit() flags
|
|
*
|
|
* Copyright (C) 2008 Bahadir Balban
|
|
*/
|
|
|
|
#ifndef __EXIT_H__
|
|
#define __EXIT_H__
|
|
|
|
#define EXIT_THREAD_DESTROY (1 << 0)
|
|
#define EXIT_UNMAP_ALL_SPACE (1 << 1)
|
|
|
|
|
|
void do_exit(struct tcb *task, unsigned int flags, int status);
|
|
#endif /* __EXIT_H__ */
|