From 6b6b6c47a35bd2edfc1f1dbbd0d3a036661f4975 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sun, 4 Dec 2016 13:46:01 +0000 Subject: [PATCH] coco2cart: buffer pool into asm This moves the buffer pool into its own section so that we can make sure it lies next to discard --- Kernel/platform-coco2cart/coco2.s | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Kernel/platform-coco2cart/coco2.s b/Kernel/platform-coco2cart/coco2.s index 5221f44b..c32267e9 100644 --- a/Kernel/platform-coco2cart/coco2.s +++ b/Kernel/platform-coco2cart/coco2.s @@ -21,6 +21,7 @@ .globl _ramsize .globl _procmem + .globl _bufpool ; imported .globl unix_syscall_entry @@ -28,13 +29,14 @@ .globl null_handler .globl _vtoutput + .globl ___hard_di + .globl ___hard_ei + .globl ___hard_irqrestore + ; exported debugging tools .globl _trap_monitor .globl _trap_reboot .globl outchar - .globl ___hard_di - .globl ___hard_ei - .globl ___hard_irqrestore include "kernel.def" include "../kernel09.def" @@ -233,3 +235,9 @@ romin: .db 0 romsave: .db 0 + + .area .bufpool +_bufpool: + .ds 520*6 ; initial buffers + + ; Discard follows this so will be reclaimed -- 2.34.1