Env_memory_parse: move into VM

Only possible user of that function.
While here, fix bug about NR_MEMS vs MAXMEMMAP
NR_MEMS=16 is currently less than MAXMEMMAP=40; avoid overriding
This commit is contained in:
Antoine Leca
2013-08-07 16:30:27 +00:00
committed by David van Moolenbroek
parent cfc36e5fd3
commit 521de2a716
3 changed files with 13 additions and 33 deletions
-2
View File
@@ -2,5 +2,3 @@ int env_parse(char *env, char *fmt, int field, long *param, long min,
long max);
void env_panic(char *env);
int env_prefix(char *env, char *prefix);
int env_memory_parse(struct memory *chunks, int nchunks);