mirror of
https://github.com/drasko/codezero.git
synced 2026-01-12 02:43:15 +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.
19 lines
408 B
C
19 lines
408 B
C
/*
|
|
* Definitions for executables
|
|
*
|
|
* Copyright (C) 2008 Bahadir Balban
|
|
*/
|
|
#ifndef __EXEC_H__
|
|
#define __EXEC_H__
|
|
|
|
/*
|
|
* This presents extra executable file information that is
|
|
* not present in the tcb, in a generic format.
|
|
*/
|
|
struct exec_file_desc {
|
|
unsigned long text_offset; /* File offset of text section */
|
|
unsigned long data_offset; /* File offset of data section */
|
|
};
|
|
|
|
#endif /* __EXEC_H__ */
|