From: kub Date: Fri, 27 Mar 2020 18:09:05 +0000 (+0100) Subject: ARM asm, symbol visibility fix X-Git-Tag: v2.00~763 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82b3e6cf3cddb55dbf54ce24cfc47a4cf12437e5;p=picodrive.git ARM asm, symbol visibility fix --- diff --git a/pico/cd/memory_arm.S b/pico/cd/memory_arm.S index 95ad09ff..0d1369ee 100644 --- a/pico/cd/memory_arm.S +++ b/pico/cd/memory_arm.S @@ -703,8 +703,10 @@ m_s68k_write16_regs_spec: @ special case .global s68k_read8 .global s68k_read16 +.global s68k_read32 .global s68k_write8 .global s68k_write16 +.global s68k_write32 s68k_read8: PIC_LDR(r3, r2, s68k_read8_map) diff --git a/pico/memory.h b/pico/memory.h index d55267ba..eba23471 100644 --- a/pico/memory.h +++ b/pico/memory.h @@ -25,8 +25,17 @@ typedef void (cpu68k_write_f)(u32 a, u32 d); extern u32 m68k_read8(u32 a); extern u32 m68k_read16(u32 a); +extern u32 m68k_read32(u32 a); extern void m68k_write8(u32 a, u8 d); extern void m68k_write16(u32 a, u16 d); +extern void m68k_write32(u32 a, u32 d); + +extern u32 s68k_read8(u32 a); +extern u32 s68k_read16(u32 a); +extern u32 s68k_read32(u32 a); +extern void s68k_write8(u32 a, u8 d); +extern void s68k_write16(u32 a, u16 d); +extern void s68k_write32(u32 a, u32 d); // z80 #define Z80_MEM_SHIFT 13 diff --git a/pico/memory_arm.S b/pico/memory_arm.S index ebeb346b..607006ce 100644 --- a/pico/memory_arm.S +++ b/pico/memory_arm.S @@ -227,8 +227,10 @@ m_write16_not_z80ctl: .global m68k_read8 .global m68k_read16 +.global m68k_read32 .global m68k_write8 .global m68k_write16 +.global m68k_write32 m68k_read8: PIC_LDR(r3, r2, m68k_read8_map)