diff options
Diffstat (limited to 'hw/kdrive/src/kmap.c')
-rw-r--r-- | hw/kdrive/src/kmap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/kdrive/src/kmap.c b/hw/kdrive/src/kmap.c index 676282393..bd506996b 100644 --- a/hw/kdrive/src/kmap.c +++ b/hw/kdrive/src/kmap.c @@ -108,7 +108,7 @@ KdSetMappedMode (CARD32 addr, CARD32 size, int mode) #ifdef HAVE_ASM_MTRR_H struct mtrr_sentry sentry; unsigned long base, bound; - unsigned int type; + unsigned int type = MTRR_TYPE_WRBACK; if (addr < 0x100000) return; @@ -147,7 +147,7 @@ KdResetMappedMode (CARD32 addr, CARD32 size, int mode) #ifdef HAVE_ASM_MTRR_H struct mtrr_sentry sentry; unsigned long base, bound; - unsigned int type; + unsigned int type = MTRR_TYPE_WRBACK; if (addr < 0x100000) return; |