view target-utils/simtest/simregs.h @ 455:bd465e30fc05

target-utils/Makefile: simtest added as non-installable
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 09 Feb 2019 07:58:32 +0000
parents daaab2701761
children d96ea6ae6aa5
line wrap: on
line source

/* Calypso SIM registers definition */

#define	SIM_BASE_ADDR	0xFFFE0000

struct sim_registers {
	u16	cmd;
	u16	stat;
	u16	conf1;
	u16	conf2;
	u16	it;
	u16	drx;
	u16	dtx;
	u16	maskit;
	u16	it_cd;
};

#define	SIMREGS	(*(volatile struct sim_registers *) SIM_BASE_ADDR)