mirror of
https://github.com/pret/pokediamond.git
synced 2026-08-08 11:44:58 -05:00
27 lines
591 B
C
27 lines
591 B
C
/*
|
|
* NOTE:
|
|
* This file is shared between ARM9 and ARM7
|
|
* DO NOT PUT PROC SPECIFIC CODE IN HERE
|
|
* Thank You!
|
|
*/
|
|
|
|
/*
|
|
* DO NOT INCLUDE THIS FILE DIRECTLY
|
|
* Include consts.h from the specific proc's lib
|
|
*/
|
|
|
|
#ifndef POKEDIAMOND_CONSTS_SHARED_H
|
|
#define POKEDIAMOND_CONSTS_SHARED_H
|
|
|
|
#include "nitro/types.h"
|
|
|
|
//Shared Consts
|
|
|
|
#define HW_PSR_CPU_MODE_MASK 0x1f // CPU mode
|
|
|
|
#define HW_PSR_DISABLE_FIQ 0x40 // Disable FIQ
|
|
#define HW_PSR_DISABLE_IRQ 0x80 // Disable IRQ
|
|
#define HW_PSR_DISABLE_IRQ_FIQ 0xc0 // Disable FIQ and IRQ
|
|
|
|
#endif //POKEDIAMOND_CONSTS_SHARED_H
|