mirror of
https://github.com/libretro/Mu.git
synced 2026-09-23 23:25:04 +00:00
Fix test compiling
This commit is contained in:
18
tools/palm/hwTestSuite/armSideCode/armControl.S
Executable file
18
tools/palm/hwTestSuite/armSideCode/armControl.S
Executable file
@@ -0,0 +1,18 @@
|
||||
|
||||
.align 4
|
||||
.globl disableInts
|
||||
.globl enableInts
|
||||
|
||||
//uint32_t disableInts(void)
|
||||
disableInts:
|
||||
MRS R0, CPSR
|
||||
ORR R1, R0, #0xC0
|
||||
MSR CPSR, R1
|
||||
BX LR
|
||||
|
||||
//void enableInts(uint32_t ints)
|
||||
enableInts:
|
||||
MSR CPSR, R0
|
||||
BX LR
|
||||
|
||||
.pool
|
||||
@@ -1,10 +1 @@
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
uint32_t disableInts(void){
|
||||
//TODO: x
|
||||
}
|
||||
|
||||
void enableInts(uint32_t ints){
|
||||
//TODO: x
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#include "testSuite.h"
|
||||
#include "specs/dragonballVzRegisterSpec.h"
|
||||
#include "dbvzRegisterNames.h"
|
||||
#include "viewer.h"
|
||||
#include "cpu.h"
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
/*defines*/
|
||||
#define CODE_SECTION(codeSection) __attribute__((section(codeSection)))
|
||||
#define ALIGN(size) __attribute__((aligned(size)))
|
||||
#define HW_REG_ADDR(x) (0xFFFFF000 | (x))
|
||||
|
||||
#define SHARED_DATA_BUFFER_SIZE 1000
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
|
||||
#include "testSuite.h"
|
||||
#include "testSuiteConfig.h"
|
||||
#include "specs/dragonballVzRegisterSpec.h"
|
||||
#include "specs/sed1376RegisterSpec.h"
|
||||
#include "dbvzRegisterNames.h"
|
||||
#include "sed1376RegisterNames.h"
|
||||
#include "debug.h"
|
||||
#include "tools.h"
|
||||
#include "cpu.h"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#include <string.h>
|
||||
#include <Extensions/ExpansionMgr/VFSMgr.h>
|
||||
|
||||
#include "specs/dragonballVzRegisterSpec.h"
|
||||
#include "dbvzRegisterNames.h"
|
||||
#include "testSuite.h"
|
||||
#include "viewer.h"
|
||||
#include "debug.h"
|
||||
|
||||
Reference in New Issue
Block a user