sam: fix a typo and add a macro we'll need to generalize the thunked code
authorAlan Cox <alan@linux.intel.com>
Sat, 15 Sep 2018 23:21:01 +0000 (00:21 +0100)
committerAlan Cox <alan@linux.intel.com>
Sat, 15 Sep 2018 23:21:01 +0000 (00:21 +0100)
Systems without common RAM need to handle the HIGH area diferently so we
use a macro to decide what HIGH means

Kernel/platform-sam/README
Kernel/platform-sam/kernel.def

index c300ef8..cb01022 100644 (file)
@@ -19,7 +19,7 @@ User Space
 
 0000-00FF      Thunking code
 0100-7FFF      User page
-8000-FCFFF     User page
+8000-FCFF      User page
 FD00-FEFF      UDATA stash
 FF00-FFFF      Thunking code
 
index 403e105..50f075f 100644 (file)
@@ -12,3 +12,11 @@ PROGLOAD                 .equ 0x0100
 
 Z80_TYPE                   .equ 1
 
+
+;
+;      Select where to put the high code - in our case an _HIGH area but
+;      other platforms want this in commonmem
+;
+.macro HIGH
+               .area _HIGH
+.endm