mirror of
https://github.com/LIV2/CIDER-Software.git
synced 2025-12-06 00:23:50 +00:00
cflash: replace CopyMemQuick call with CopyMem as it caused a guru
This commit is contained in:
parent
5ed54d4fa0
commit
b1fb7b8aaa
BIN
cflash/cflash
BIN
cflash/cflash
Binary file not shown.
@ -90,7 +90,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
if (*controlRegister & FLASHEN_BIT) {
|
||||
printf("Flash is enabled, copying ROM to RAM and disabling Flash\n");
|
||||
CopyMemQuick((ULONG *)0xF00000,(ULONG *)0xF00000,1024*1024); // Copy Extended and Kick rom to RAM
|
||||
CopyMem((ULONG *)0xF00000,(ULONG *)0xF00000,1024*1024); // Copy Extended and Kick rom to RAM
|
||||
printf("Switching to RAM now, good luck!\n");
|
||||
*controlRegister = (CTRL_SET | MAPRAMEN_BIT);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user