coco2cart: prepare for discard recovery
authorAlan Cox <alan@linux.intel.com>
Sun, 4 Dec 2016 13:45:24 +0000 (13:45 +0000)
committerAlan Cox <alan@linux.intel.com>
Sun, 4 Dec 2016 13:45:24 +0000 (13:45 +0000)
Align everything so that we can reclaim the discard memory space

Kernel/platform-coco2cart/config.h
Kernel/platform-coco2cart/fuzix.link

index eaa33ce..eeba3db 100644 (file)
 #define CONFIG_FONT8X8
 #define CONFIG_FONT8X8SMALL
 
+/* We can reclaim discard into buffers */
+#define CONFIG_DYNAMIC_BUFPOOL
+
+/* Allow for our swap heavy nature */
+#define MAXTICKS 25
+
 extern unsigned char vt_mangle_6847(unsigned char c);
 #define VT_MAP_CHAR(x) vt_mangle_6847(x)
 
index 93ee4b6..33daa57 100644 (file)
@@ -7,10 +7,11 @@ section .magic
 section .common
 section .data
 section .bss
+section .bufpool
+section .discard
 section .videodata
 section .text2
 section .video
-section .discard
 section .start load 0xC000
 section .text
 section .text3