comparison target-utils/simtest/simregs.h @ 454:daaab2701761

target-utils: simtest program started
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 09 Feb 2019 07:55:50 +0000
parents
children d96ea6ae6aa5
comparison
equal deleted inserted replaced
453:6228d27738d1 454:daaab2701761
1 /* Calypso SIM registers definition */
2
3 #define SIM_BASE_ADDR 0xFFFE0000
4
5 struct sim_registers {
6 u16 cmd;
7 u16 stat;
8 u16 conf1;
9 u16 conf2;
10 u16 it;
11 u16 drx;
12 u16 dtx;
13 u16 maskit;
14 u16 it_cd;
15 };
16
17 #define SIMREGS (*(volatile struct sim_registers *) SIM_BASE_ADDR)