pc, pc64: increase confmem slots to 64

Lenovo Thinkpad P17 Gen1 Professional Mobile Workstation
comes up with around 36 separate memory ranges.

ridiculous!
front
cinap_lenrek 2021-07-14 17:06:28 +00:00
parent 1a46b6c19e
commit 4483500f62
2 changed files with 2 additions and 2 deletions

View File

@ -120,7 +120,6 @@ struct Conf
ulong nmach; /* processors */
ulong nproc; /* processes */
ulong monitor; /* has monitor? */
Confmem mem[16]; /* physical memory */
ulong npage; /* total physical pages of memory */
ulong upages; /* user page pool */
ulong nimage; /* number of page cache image headers */
@ -130,6 +129,7 @@ struct Conf
ulong ialloc; /* max interrupt time allocation in bytes */
ulong pipeqsize; /* size in bytes of pipe queues */
int nuart; /* number of uart devices */
Confmem mem[64]; /* physical memory */
};
struct Segdesc

View File

@ -122,7 +122,6 @@ struct Conf
ulong nmach; /* processors */
ulong nproc; /* processes */
ulong monitor; /* has monitor? */
Confmem mem[16]; /* physical memory */
ulong npage; /* total physical pages of memory */
ulong upages; /* user page pool */
ulong nimage; /* number of page cache image headers */
@ -132,6 +131,7 @@ struct Conf
ulong ialloc; /* max interrupt time allocation in bytes */
ulong pipeqsize; /* size in bytes of pipe queues */
int nuart; /* number of uart devices */
Confmem mem[64]; /* physical memory */
};
struct Segdesc