aboutsummaryrefslogtreecommitdiffstats
path: root/com32/gplinclude/disk/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'com32/gplinclude/disk/common.h')
-rw-r--r--com32/gplinclude/disk/common.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/com32/gplinclude/disk/common.h b/com32/gplinclude/disk/common.h
index c6df2f4e..627e94ec 100644
--- a/com32/gplinclude/disk/common.h
+++ b/com32/gplinclude/disk/common.h
@@ -17,10 +17,10 @@
#include <stdint.h>
-#define SECTOR 512 /* bytes/sector */
+/* For PAGE_SIZE */
+#include <cpuid.h>
-#undef PAGE_SIZE
-#define PAGE_SIZE (1<<12)
+#define SECTOR 512 /* bytes/sector */
struct ebios_dapa {
uint16_t len;