kernel: page counts a ulong, not usize
This commit is contained in:
parent
c38fcb5dc3
commit
b7e67e9e36
7 changed files with 14 additions and 14 deletions
|
@ -99,7 +99,7 @@ enum
|
|||
struct Confmem
|
||||
{
|
||||
uintptr base;
|
||||
usize npage;
|
||||
ulong npage;
|
||||
uintptr limit;
|
||||
uintptr kbase;
|
||||
uintptr klimit;
|
||||
|
@ -111,7 +111,7 @@ struct Conf
|
|||
ulong nproc; /* processes */
|
||||
Confmem mem[1]; /* 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 */
|
||||
|
|
|
@ -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 */
|
||||
|
|
|
@ -61,7 +61,7 @@ enum
|
|||
struct Confmem
|
||||
{
|
||||
uintptr base;
|
||||
usize npage;
|
||||
ulong npage;
|
||||
uintptr kbase;
|
||||
uintptr klimit;
|
||||
};
|
||||
|
@ -72,7 +72,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 */
|
||||
|
|
|
@ -79,7 +79,7 @@ enum
|
|||
struct Confmem
|
||||
{
|
||||
uintptr base;
|
||||
usize npage;
|
||||
ulong npage;
|
||||
uintptr limit;
|
||||
uintptr kbase;
|
||||
uintptr klimit;
|
||||
|
@ -92,7 +92,7 @@ struct Conf
|
|||
ulong monitor; /* has monitor? */
|
||||
Confmem mem[1]; /* 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 */
|
||||
|
|
|
@ -103,7 +103,7 @@ enum
|
|||
struct Confmem
|
||||
{
|
||||
uintptr base;
|
||||
usize npage;
|
||||
ulong npage;
|
||||
uintptr limit;
|
||||
uintptr kbase;
|
||||
uintptr klimit;
|
||||
|
@ -115,7 +115,7 @@ struct Conf
|
|||
ulong nproc; /* processes */
|
||||
Confmem mem[1]; /* 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 */
|
||||
|
|
|
@ -114,7 +114,7 @@ enum
|
|||
struct Confmem
|
||||
{
|
||||
uintptr base;
|
||||
usize npage;
|
||||
ulong npage;
|
||||
uintptr limit;
|
||||
uintptr kbase;
|
||||
uintptr klimit;
|
||||
|
@ -126,7 +126,7 @@ struct Conf
|
|||
ulong nproc; /* processes */
|
||||
Confmem mem[1]; /* 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 */
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue