65363da25e
Tree structure: - sys/arch/sh3: sh3 generic code As commented, in-chip device drivers are put into sys/arch/sh3/dev. - sys/arch/evbsh3: sh3 evaluation boards (pure sh3 CPU, no fancy external HW) - sys/arch/mmeye: Brains mmEye, www.brains.co.jp MI source code includes couple of #ifdef for sh3-coff support. (sh3 uses coff or elf) Needs some more improvements, especialy in sys/arch/sh3/conf/files.sh3, to compile the tree (due to last minute tree structure change).
24 lines
402 B
C
24 lines
402 B
C
/*
|
|
* Brains mmEye specific register definition
|
|
*/
|
|
|
|
#ifndef _MMEYE_H_
|
|
#define _MMEYE_H_
|
|
|
|
#ifdef _KERNEL
|
|
#include "opt_led_addr.h"
|
|
|
|
#define MMEYE_LED (*(volatile unsigned char *)LED_ADDR)
|
|
|
|
#if 0
|
|
#if 1
|
|
#define MMEYE_LED (*(volatile unsigned char *)0xa8000000)
|
|
#else
|
|
#define MMEYE_LED (*(volatile unsigned char *)0xb8000000)
|
|
#endif
|
|
#endif
|
|
|
|
#endif /* _KERNEL */
|
|
|
|
#endif /* _MMEYE_H_ */
|