Author: hpoussin
Date: Sun Oct 18 21:53:12 2009
New Revision: 43575
URL:
http://svn.reactos.org/svn/reactos?rev=43575&view=rev
Log:
[freeldr] Limit disk read buffer size to 512 bytes
Modified:
trunk/reactos/boot/freeldr/freeldr/include/arch.h
Modified: trunk/reactos/boot/freeldr/freeldr/include/arch.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/inclu…
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/include/arch.h [iso-8859-1] (original)
+++ trunk/reactos/boot/freeldr/freeldr/include/arch.h [iso-8859-1] Sun Oct 18 21:53:12
2009
@@ -46,7 +46,7 @@
#define BIOSCALLBUFOFFSET 0x0000 /* Buffer to store temporary data for any Int386() call
*/
#define FILESYSBUFFER 0x80000 /* Buffer to store file system data (e.g. cluster buffer
for FAT) */
#define DISKREADBUFFER 0x90000 /* Buffer to store data read in from the disk via the
BIOS */
-#define DISKREADBUFFER_SIZE 0x10000
+#define DISKREADBUFFER_SIZE 512
#elif defined(_M_PPC) || defined(_M_MIPS) || defined(_M_ARM)
#define DISKREADBUFFER 0x80000000
#define FILESYSBUFFER 0x80000000