view 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
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)