From b7e67e9e36833431e3ae993e0ce482115de1ff45 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Sun, 25 Jul 2021 14:03:12 +0000 Subject: kernel: page counts a ulong, not usize --- sys/src/9/bcm64/dat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/src/9/bcm64') diff --git a/sys/src/9/bcm64/dat.h b/sys/src/9/bcm64/dat.h index fc27e351f..79dbd95b3 100644 --- a/sys/src/9/bcm64/dat.h +++ b/sys/src/9/bcm64/dat.h @@ -88,7 +88,7 @@ enum struct Confmem { uintptr base; - usize npage; + ulong npage; uintptr limit; uintptr kbase; uintptr klimit; @@ -100,7 +100,7 @@ struct Conf ulong nproc; /* processes */ Confmem mem[4]; /* 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 */ -- cgit v1.2.3