aboutsummaryrefslogtreecommitdiffstats
path: root/src/kernel/task.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/task.h')
-rw-r--r--src/kernel/task.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kernel/task.h b/src/kernel/task.h
index 30e3e66..5875e3c 100644
--- a/src/kernel/task.h
+++ b/src/kernel/task.h
@@ -35,6 +35,7 @@ typedef struct task_t {
struct task_t *next; /**< pointer to the next task_t instance */
uint32_t *sp; /**< pointer to the task's last sp register value */
uint32_t *stack; /**< pointer to the task's stack */
+ uint32_t *heap;
pid_t pid; /**< Task (Process) ID */
pid_t pgid; /**< Process Group ID */
struct {
@@ -82,5 +83,6 @@ pid_t task_getpid(void);
pid_t task_waitpid(pid_t pid, int *wstatus, int options);
+void *task_sbrk(uint32_t bytes);
#endif // TASK_H_