teg2, xen: remove unused bootdisk[] and fix conf.nswppo factor in kernel memory size calculation
This commit is contained in:
parent
0e2ff6fb1f
commit
13c4b57c0c
2 changed files with 2 additions and 3 deletions
|
@ -909,7 +909,7 @@ confinit(void)
|
|||
+ conf.nproc*sizeof(Proc)
|
||||
+ conf.nimage*sizeof(Image)
|
||||
+ conf.nswap
|
||||
+ conf.nswppo*sizeof(Page);
|
||||
+ conf.nswppo*sizeof(Page*);
|
||||
mainmem->maxsize = kpages;
|
||||
if(!cpuserver)
|
||||
/*
|
||||
|
|
|
@ -21,7 +21,6 @@ enum {
|
|||
Ustkheadroom = sizeof(Sargs) + sizeof(uintptr) + sizeof(Tos),
|
||||
};
|
||||
|
||||
char bootdisk[KNAMELEN];
|
||||
Conf conf;
|
||||
char *confname[MAXCONF];
|
||||
char *confval[MAXCONF];
|
||||
|
@ -431,7 +430,7 @@ confinit(void)
|
|||
+ conf.nproc*sizeof(Proc)
|
||||
+ conf.nimage*sizeof(Image)
|
||||
+ conf.nswap
|
||||
+ conf.nswppo*sizeof(Page);
|
||||
+ conf.nswppo*sizeof(Page*);
|
||||
mainmem->maxsize = kpages;
|
||||
if(!cpuserver){
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue