SDK 1.3.0 release
See release notes for details Co-authored-by: Brian Cooke <bdscooke@gmail.com> Co-authored-by: Luke Wren <wren6991@gmail.com> Co-authored-by: Uri Shaked <uri@urishaked.com> Co-authored-by: Zapta <zapta@users.noreply.github.com> Co-authored-by: Andrew Scheller <andrew.scheller@raspberrypi.com> Co-authored-by: Liam Fraser <liam@raspberrypi.com> Co-authored-by: Gabriel Wang <embedded_zhuoran@Hotmail.com> Co-authored-by: Matias Silva <matita.martins@gmail.com> Co-authored-by: dp111 <19616418+dp111@users.noreply.github.com> Co-authored-by: Leonardo La Rocca <46094699+leoli51@users.noreply.github.com> Co-authored-by: Mahyar Koshkouei <mk@deltabeard.com> Co-authored-by: Brian Starkey <stark3y@gmail.com> Co-authored-by: Philip Howard <github@gadgetoid.com> Co-authored-by: Mike Causer <mcauser@gmail.com> Co-authored-by: Martino Facchin <m.facchin@arduino.cc> Co-authored-by: ZodiusInfuser <christopher.parrott2@gmail.com> Co-authored-by: Manuel Wick <manuel@matronix.de> Co-authored-by: Matias Silva <git@matiasilva.com> Co-authored-by: Robert Pafford <19439938+rjp5th@users.noreply.github.com> Co-authored-by: Alasdair Allan <alasdair@raspberrypi.com> Co-authored-by: Engineer_Will <646689853@qq.com> Co-authored-by: Garatronic <31109090+garatronic@users.noreply.github.com>
This commit is contained in:
@ -9,6 +9,7 @@
|
||||
.thumb
|
||||
|
||||
#include "pico/asm_helper.S"
|
||||
#include "pico/bootrom.h"
|
||||
|
||||
__pre_init __aeabi_mem_init, 00001
|
||||
|
||||
@ -34,10 +35,10 @@ __pre_init __aeabi_mem_init, 00001
|
||||
|
||||
.align 2
|
||||
aeabi_mem_funcs:
|
||||
.word rom_table_code('M','S')
|
||||
.word rom_table_code('M','C')
|
||||
.word rom_table_code('S','4')
|
||||
.word rom_table_code('C','4')
|
||||
.word ROM_FUNC_MEMSET
|
||||
.word ROM_FUNC_MEMCPY
|
||||
.word ROM_FUNC_MEMSET4
|
||||
.word ROM_FUNC_MEMCPY44
|
||||
aeabi_mem_funcs_end:
|
||||
|
||||
.section .text
|
||||
@ -58,20 +59,20 @@ regular_func __aeabi_mem_init
|
||||
mem_section aeabi_memset_memcpy
|
||||
|
||||
wrapper_func __aeabi_memset
|
||||
// args are backwards
|
||||
eors r0, r1
|
||||
eors r1, r0
|
||||
eors r0, r1
|
||||
// 2nd/3rd args are reversed
|
||||
eors r2, r1
|
||||
eors r1, r2
|
||||
eors r2, r1
|
||||
ldr r3, =aeabi_mem_funcs
|
||||
ldr r3, [r3, #MEMSET]
|
||||
bx r3
|
||||
|
||||
wrapper_func __aeabi_memset4
|
||||
wrapper_func __aeabi_memset8
|
||||
// args are backwards
|
||||
eors r0, r1
|
||||
eors r1, r0
|
||||
eors r0, r1
|
||||
// 2nd/3rd args are reversed
|
||||
eors r2, r1
|
||||
eors r1, r2
|
||||
eors r2, r1
|
||||
ldr r3, =aeabi_mem_funcs
|
||||
ldr r3, [r3, #MEMSET4]
|
||||
bx r3
|
||||
|
Reference in New Issue
Block a user