summaryrefslogtreecommitdiff
path: root/src/kernel/proc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/proc.h')
-rw-r--r--src/kernel/proc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/proc.h b/src/kernel/proc.h
index 87fed14..6de270b 100644
--- a/src/kernel/proc.h
+++ b/src/kernel/proc.h
@@ -11,7 +11,7 @@ enum process_state {
};
struct process {
- void *stack_top;
+ user_ptr stack_top;
struct pagedir *pages;
struct registers regs;
enum process_state state;
@@ -25,7 +25,7 @@ struct process {
// meaning changes depending on the state
// PS_DEAD - death message
// PS_WAITS4CHILDDEATH - buffer for said message
- void *saved_addr;
+ user_ptr saved_addr;
size_t saved_len;
struct vfs_mount *mount;