diff options
author | Freya Murphy <freya@freyacat.org> | 2025-03-27 17:56:39 -0400 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-03-27 17:56:39 -0400 |
commit | 44694ba9492b03042e3cda7eae717b854905e25e (patch) | |
tree | e9621397e9491f1ae364af15aa8f2ff056955592 /kernel/vmtables.c | |
parent | track changes (diff) | |
download | comus-44694ba9492b03042e3cda7eae717b854905e25e.tar.gz comus-44694ba9492b03042e3cda7eae717b854905e25e.tar.bz2 comus-44694ba9492b03042e3cda7eae717b854905e25e.zip |
track changes
Diffstat (limited to '')
-rw-r--r-- | kernel/vmtables.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/vmtables.c b/kernel/vmtables.c index 4dfce43..113fd8b 100644 --- a/kernel/vmtables.c +++ b/kernel/vmtables.c @@ -365,7 +365,7 @@ const pte_t id_map[N_PTE] = { }; #endif /* MAKE_IDENTITY_MAP */ -extern int _end; +extern char _end[]; /* ** Kernel address mappings, present in every page table @@ -375,7 +375,7 @@ const mapping_t kmap[] = { { KERN_BASE, 0, EXT_BASE, PDE_RW }, { KERN_VLINK, KERN_PLINK, V2P(_data), PDE_RW }, // { (uint32_t) _data, V2P(_data), V2P(_end), PDE_RW }, - { (uint32_t)_data, V2P(_data), PHYS_TOP, PDE_RW }, - { DEV_BASE, DEV_BASE, 0, PDE_RW } + { (uint32_t)_data, V2P(_data), PHYS_TOP, PDE_RW } + // { DEV_BASE, DEV_BASE, 0, PDE_RW } }; const uint_t n_kmap = sizeof(kmap) / sizeof(kmap[0]); |