mirror of
https://git.code.sf.net/p/newrpl/sources
synced 2024-11-16 19:51:25 +01:00
Using NEWRPL_MAGIC consintently
This commit is contained in:
parent
ac383ac73f
commit
cd3d4ea31f
3 changed files with 4 additions and 6 deletions
|
@ -831,4 +831,7 @@ extern unsigned char const __keyb_bitfromcode[64];
|
|||
|
||||
#define __ENABLE_ARM_ASSEMBLY__ 1
|
||||
|
||||
// Magic word "NRPL"
|
||||
#define NEWRPL_MAGIC 0x4c50524e
|
||||
|
||||
#endif // TARGET_PRIME1_H
|
||||
|
|
|
@ -20,11 +20,6 @@
|
|||
#define left 0
|
||||
#define right 160
|
||||
|
||||
|
||||
// Magic word "NRPL"
|
||||
#define NEWRPL_MAGIC 0x4c50524e
|
||||
|
||||
|
||||
static int line;
|
||||
static gglsurface surface;
|
||||
|
||||
|
|
|
@ -392,7 +392,7 @@ __ARM_MODE__ void cpu_off_prepare()
|
|||
*MISCCR |= 0x1000; // USB PORT INTO SUSPEND MODE
|
||||
|
||||
// SIGNAL THAT IT'S US GOING INTO POWEROFF MODE
|
||||
*INFORM2 = 0x4c50524e; // 'NRPL' SIGNAL THE BOOT PROCEDURE THAT WE WANT TO STAY IN NEWRPL
|
||||
*INFORM2 = NEWRPL_MAGIC; // 'NRPL' SIGNAL THE BOOT PROCEDURE THAT WE WANT TO STAY IN NEWRPL
|
||||
|
||||
asm volatile ("mov r0,r0"); // USE NOPS AS BARRIER TO FORCE COMPILER TO RESPECT THE ORDER
|
||||
|
||||
|
|
Loading…
Reference in a new issue