git://scm.lunaixsky.com
/
lunaix-os.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor: one more step towards arch-agnostic design
[lunaix-os.git]
/
lunaix-os
/
scripts
/
templates
/
i386
/
config.json
diff --git
a/lunaix-os/scripts/templates/i386/config.json
b/lunaix-os/scripts/templates/i386/config.json
index 7a0a702b44f5356ed142e22836d79a537c13c386..a335539f4e5e28650a6c1ded71e6435841888808 100644
(file)
--- a/
lunaix-os/scripts/templates/i386/config.json
+++ b/
lunaix-os/scripts/templates/i386/config.json
@@
-38,6
+38,11
@@
},
"sys_mmap": {
"$type": "memory_map",
},
"sys_mmap": {
"$type": "memory_map",
+ "@define": {
+ "page_mnts": 4,
+ "vms_mnts": 1
+ },
+
"width": 32,
"granule": {
"page": "0x1000",
"width": 32,
"granule": {
"page": "0x1000",
@@
-56,15
+61,19
@@
{
"name": "kernel_exec",
"start": "3@1G",
{
"name": "kernel_exec",
"start": "3@1G",
- "size": "16@4M"
+ "size": "16@4M",
+ "block": "1@page"
},
{
},
{
- "name": "pd_mount",
- "size": "1@4M"
+ "$type": "list",
+ "$range": "[1..*vms_mnts]",
+ "name": "vms_mount_{index}",
+ "size": "1@4M",
+ "block": "1@huge"
},
{
"$type": "list",
},
{
"$type": "list",
- "$range": "[1..
4
]",
+ "$range": "[1..
*page_mnts
]",
"size": "1@page",
"name": "pg_mount_{index}"
},
"size": "1@page",
"name": "pg_mount_{index}"
},
@@
-75,7
+84,8
@@
{
"name": "pd_ref",
"start": "1023@4M",
{
"name": "pd_ref",
"start": "1023@4M",
- "size": "1@4M"
+ "size": "1@4M",
+ "block": "1@huge"
}
]
}
}
]
}