summaryrefslogtreecommitdiff
path: root/src/kernel/proc.h
diff options
context:
space:
mode:
authordzwdz2021-09-11 18:04:57 +0200
committerdzwdz2021-09-11 18:04:57 +0200
commitaf2f9184e03015dc3b188ea437bbf496638000ce (patch)
tree4b4186d8df73bc1b96e14e5c8eadcf1a4f66692a /src/kernel/proc.h
parent0994192f6cab853f4a49ac73aa63f6820c886ec2 (diff)
replace `user_ptr` with a linux-style `__user` annotation
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 9553dc2..0628ebf 100644
--- a/src/kernel/proc.h
+++ b/src/kernel/proc.h
@@ -13,7 +13,7 @@ enum process_state {
};
struct process {
- user_ptr stack_top;
+ void __user *stack_top;
struct pagedir *pages;
struct registers regs;
enum process_state state;
@@ -27,7 +27,7 @@ struct process {
// saved value, meaning depends on .state
union {
struct { // PS_DEAD, PS_WAITS4CHILDDEATH
- user_ptr buf;
+ char __user *buf;
size_t len;
} death_msg;
struct vfs_op_request *pending_req; // PS_WAITS4FS