diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-10-02 09:28:45 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-10-02 09:28:45 +0200 |
commit | 89fb5e1d39a5afab4d4fab02669c35c5e9e4fc9d (patch) | |
tree | 0a6ffed85f094a3f5a1eab206482284dae2418d2 | |
parent | b63dea5ca946c3956637a7bf85a1002866b20cd6 (diff) | |
download | gnumach-89fb5e1d39a5afab4d4fab02669c35c5e9e4fc9d.tar.gz gnumach-89fb5e1d39a5afab4d4fab02669c35c5e9e4fc9d.tar.bz2 gnumach-89fb5e1d39a5afab4d4fab02669c35c5e9e4fc9d.zip |
Fix non-PAE build
-rw-r--r-- | i386/intel/pmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c index e8016fe6..f2122a1b 100644 --- a/i386/intel/pmap.c +++ b/i386/intel/pmap.c @@ -2628,7 +2628,7 @@ int pmap_whatis(pmap_t p, vm_offset_t a) continue; pt_entry_t *pdebase = (pt_entry_t*) ptetokv(pde); #else /* PAE */ - int l3i = 0; + int l4i = 0, l3i = 0; pt_entry_t *pdebase = p->dirbase; #endif /* PAE */ if (a >= (vm_offset_t) pdebase && a < (vm_offset_t) (&pdebase[NPTES])) { |