msx1: fix crash caused by code in data space
authorAlan Cox <alan@linux.intel.com>
Thu, 1 Oct 2015 19:00:40 +0000 (20:00 +0100)
committerAlan Cox <alan@linux.intel.com>
Thu, 1 Oct 2015 19:00:40 +0000 (20:00 +0100)
Kernel/platform-msx1/vdp.s

index 48d492b..1d9fbb6 100644 (file)
@@ -25,6 +25,8 @@ VDP_DIRECT    .equ    1
 ;      FIXME: should use vdpport, but right now vdpport is in data not
 ;      common space.
 ;
+           .area _COMMONMEM
+
 platform_interrupt_all:
            ld c, #0x99
            in a, (c)