diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2021-07-25 14:03:12 +0000 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2021-07-25 14:03:12 +0000 |
commit | b7e67e9e36833431e3ae993e0ce482115de1ff45 (patch) | |
tree | 0385e2a3d20c44b88932ba7baa1a4e4e818271c7 /sys/src/9/zynq | |
parent | c38fcb5dc35986b8a93bf2107f800a890e2cea9b (diff) |
kernel: page counts a ulong, not usize
Diffstat (limited to 'sys/src/9/zynq')
-rw-r--r-- | sys/src/9/zynq/dat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/src/9/zynq/dat.h b/sys/src/9/zynq/dat.h index c3a632177..116ca2982 100644 --- a/sys/src/9/zynq/dat.h +++ b/sys/src/9/zynq/dat.h @@ -60,7 +60,7 @@ enum struct Confmem { uintptr base; - usize npage; + ulong npage; uintptr kbase; uintptr klimit; }; @@ -71,7 +71,7 @@ struct Conf ulong nproc; /* processes */ Confmem mem[2]; /* physical memory */ ulong npage; /* total physical pages of memory */ - usize upages; /* user page pool */ + ulong upages; /* user page pool */ ulong copymode; /* 0 is copy on write, 1 is copy on reference */ ulong ialloc; /* max interrupt time allocation in bytes */ ulong pipeqsize; /* size in bytes of pipe queues */ |