Loading...
Searching...
No Matches
cpu_conf.h File Reference

ARM7TDMI_GBA CPU configuration. More...

Detailed Description

ARM7TDMI_GBA CPU configuration.

Author

Definition in file cpu_conf.h.

Go to the source code of this file.

Macros

#define UND_STACKSIZE   (64)
 Stack size used for the undefined instruction interrupt stack.
 
#define ABT_STACKSIZE   (64)
 Stack size used for the abort interrupt stack.
 
#define ISR_STACKSIZE   (400)
 Stack size used for the interrupt (ISR) stack.
 
#define FIQ_STACKSIZE   (64)
 Stack size used for the fast interrupt (FIQ) stack.
 
#define SVC_STACKSIZE   (400)
 Stack size used for the supervisor mode (SVC) stack.
 
#define USR_STACKSIZE   (4096)
 Stack size used for the user mode/kernel init stack.
 
#define NUM_HEAPS   (2)
 The CPU has 2 blocks of SRAM at different addresses.
 
#define IRQ_API_INLINED   (1)
 This arch uses the inlined irq API.
 

Kernel configuration

#define THREAD_EXTRA_STACKSIZE_PRINTF   (512)
 
#define THREAD_STACKSIZE_DEFAULT   (1024)
 
#define THREAD_STACKSIZE_IDLE   (160)
 

Macro Definition Documentation

◆ ABT_STACKSIZE

#define ABT_STACKSIZE   (64)

Stack size used for the abort interrupt stack.

Definition at line 58 of file cpu_conf.h.

◆ FIQ_STACKSIZE

#define FIQ_STACKSIZE   (64)

Stack size used for the fast interrupt (FIQ) stack.

Definition at line 70 of file cpu_conf.h.

◆ IRQ_API_INLINED

#define IRQ_API_INLINED   (1)

This arch uses the inlined irq API.

Definition at line 33 of file cpu_conf.h.

◆ ISR_STACKSIZE

#define ISR_STACKSIZE   (400)

Stack size used for the interrupt (ISR) stack.

Definition at line 64 of file cpu_conf.h.

◆ NUM_HEAPS

#define NUM_HEAPS   (2)

The CPU has 2 blocks of SRAM at different addresses.

(primary on-chip RAM and external working EWRAM)

Definition at line 86 of file cpu_conf.h.

◆ SVC_STACKSIZE

#define SVC_STACKSIZE   (400)

Stack size used for the supervisor mode (SVC) stack.

Definition at line 75 of file cpu_conf.h.

◆ THREAD_EXTRA_STACKSIZE_PRINTF

#define THREAD_EXTRA_STACKSIZE_PRINTF   (512)

Definition at line 39 of file cpu_conf.h.

◆ THREAD_STACKSIZE_DEFAULT

#define THREAD_STACKSIZE_DEFAULT   (1024)

Definition at line 42 of file cpu_conf.h.

◆ THREAD_STACKSIZE_IDLE

#define THREAD_STACKSIZE_IDLE   (160)

Definition at line 46 of file cpu_conf.h.

◆ UND_STACKSIZE

#define UND_STACKSIZE   (64)

Stack size used for the undefined instruction interrupt stack.

Definition at line 53 of file cpu_conf.h.

◆ USR_STACKSIZE

#define USR_STACKSIZE   (4096)

Stack size used for the user mode/kernel init stack.

Definition at line 80 of file cpu_conf.h.