Fix for disk caching while doing drive remapping

svn path=/trunk/; revision=3293
This commit is contained in:
Brian Palmer 2002-07-23 06:46:55 +00:00
parent 0e96a84263
commit ac37c58b98
3 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,7 @@
Changes in v1.6.1 (7/22/2002) (brianp)
- Fix for disk caching while doing drive remapping
Changes in v1.6 (7/21/2002) (brianp) Changes in v1.6 (7/21/2002) (brianp)
- Added BIOS drive mapping functionality - Added BIOS drive mapping functionality

View file

@ -197,7 +197,7 @@ VOID DriveMapInstallInt13Handler(PDRIVE_MAP_LIST DriveMap)
// Update the IVT // Update the IVT
RealModeIVT[0x13] = DriveMapHandlerSegOff; RealModeIVT[0x13] = DriveMapHandlerSegOff;
//CacheInvalidateCacheData(); CacheInvalidateCacheData();
DriveMapInstalled = TRUE; DriveMapInstalled = TRUE;
} }
@ -214,6 +214,7 @@ VOID DriveMapRemoveInt13Handler(VOID)
// Increase the size of low memory // Increase the size of low memory
(*BiosLowMemorySize)++; (*BiosLowMemorySize)++;
CacheInvalidateCacheData();
DriveMapInstalled = FALSE; DriveMapInstalled = FALSE;
} }
} }

View file

@ -22,7 +22,7 @@
/* just some stuff */ /* just some stuff */
#define VERSION "FreeLoader v1.6" #define VERSION "FreeLoader v1.6.1"
#define COPYRIGHT "Copyright (C) 1998-2002 Brian Palmer <brianp@sginet.com>" #define COPYRIGHT "Copyright (C) 1998-2002 Brian Palmer <brianp@sginet.com>"
#define AUTHOR_EMAIL "<brianp@sginet.com>" #define AUTHOR_EMAIL "<brianp@sginet.com>"
#define BY_AUTHOR "by Brian Palmer" #define BY_AUTHOR "by Brian Palmer"
@ -36,7 +36,7 @@
// //
#define FREELOADER_MAJOR_VERSION 1 #define FREELOADER_MAJOR_VERSION 1
#define FREELOADER_MINOR_VERSION 6 #define FREELOADER_MINOR_VERSION 6
#define FREELOADER_PATCH_VERSION 0 #define FREELOADER_PATCH_VERSION 1
PUCHAR GetFreeLoaderVersionString(VOID); PUCHAR GetFreeLoaderVersionString(VOID);