mirror of
https://github.com/stnolting/neorv32.git
synced 2025-04-24 22:27:21 -04:00
Removed unused defines IO_REGx and IO_ROMx
This commit is contained in:
parent
d9d141359b
commit
fbfb7e5e22
2 changed files with 1 additions and 24 deletions
|
@ -1660,7 +1660,7 @@ int main() {
|
|||
**************************************************************************/
|
||||
void sim_irq_trigger(uint32_t sel) {
|
||||
|
||||
*(IO_REG32 (0xFF000000)) = sel;
|
||||
*((volatile uint32_t*) (0xFF000000)) = sel;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -698,29 +698,6 @@ typedef struct __attribute__((packed,aligned(4))) {
|
|||
// ############################################################################################################################
|
||||
|
||||
|
||||
/**********************************************************************//**
|
||||
* @name Helper macros for easy memory-mapped register access (DEPRECATED!)
|
||||
**************************************************************************/
|
||||
/**@{*/
|
||||
/** memory-mapped byte (8-bit) read/write register */
|
||||
#define IO_REG8 (volatile uint8_t*)
|
||||
/** memory-mapped half-word (16-bit) read/write register */
|
||||
#define IO_REG16 (volatile uint16_t*)
|
||||
/** memory-mapped word (32-bit) read/write register */
|
||||
#define IO_REG32 (volatile uint32_t*)
|
||||
/** memory-mapped double-word (64-bit) read/write register */
|
||||
#define IO_REG64 (volatile uint64_t*)
|
||||
/** memory-mapped byte (8-bit) read-only register */
|
||||
#define IO_ROM8 (const volatile uint8_t*)
|
||||
/** memory-mapped half-word (16-bit) read-only register */
|
||||
#define IO_ROM16 (const volatile uint16_t*)
|
||||
/** memory-mapped word (32-bit) read-only register */
|
||||
#define IO_ROM32 (const volatile uint32_t*)
|
||||
/** memory-mapped double-word (64-bit) read-only register */
|
||||
#define IO_ROM64 (const volatile uint64_t*)
|
||||
/**@}*/
|
||||
|
||||
|
||||
/**********************************************************************//**
|
||||
* @name IO Device: Custom Functions Subsystem (CFS)
|
||||
**************************************************************************/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue