From: Alan Cox Date: Mon, 20 Aug 2018 23:04:13 +0000 (+0100) Subject: sam: add a low 512 byte buffer ready for ramdisk support X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=5e45893ced38740b01717dc0db3dfe40e46b8502;p=FUZIX.git sam: add a low 512 byte buffer ready for ramdisk support --- diff --git a/Kernel/platform-sam/crt0.s b/Kernel/platform-sam/crt0.s index 6f9d6f5d..41c47fe1 100644 --- a/Kernel/platform-sam/crt0.s +++ b/Kernel/platform-sam/crt0.s @@ -39,6 +39,9 @@ .globl s__INITIALIZER .globl kstack_top + ; export the buffer + .globl _low_bounce; + ; startup code .area _CODE @@ -63,3 +66,10 @@ start: di stop: halt jr stop + +; +; Low memory bounce buffer/scratch stack space. Define it here so we +; are sure it's below the 32K line. +; +_low_bounce: + .ds 512