Line 307... |
Line 307... |
|
|
/**********************************************************************//**
|
/**********************************************************************//**
|
* @name IO Device: Machine System Timer (MTIME)
|
* @name IO Device: Machine System Timer (MTIME)
|
**************************************************************************/
|
**************************************************************************/
|
/**@{*/
|
/**@{*/
|
/** MTIME (time register) low word (r/w) */
|
/** MTIME (time register) low word (r/-) */
|
#define MTIME_LO (*(IO_REG32 0xFFFFFF90))
|
#define MTIME_LO (*(IO_ROM32 0xFFFFFF90))
|
/** MTIME (time register) high word (r/w) */
|
/** MTIME (time register) high word (r/-) */
|
#define MTIME_HI (*(IO_REG32 0xFFFFFF94))
|
#define MTIME_HI (*(IO_ROM32 0xFFFFFF94))
|
/** MTIMECMP (time compare register) low word (r/w) */
|
/** MTIMECMP (time compare register) low word (r/w) */
|
#define MTIMECMP_LO (*(IO_REG32 0xFFFFFF98))
|
#define MTIMECMP_LO (*(IO_REG32 0xFFFFFF98))
|
/** MTIMECMP (time register) high word (r/w) */
|
/** MTIMECMP (time register) high word (r/w) */
|
#define MTIMECMP_HI (*(IO_REG32 0xFFFFFF9C))
|
#define MTIMECMP_HI (*(IO_REG32 0xFFFFFF9C))
|
|
|
/** MTIME (time register) 64-bit access (r/w) */
|
/** MTIME (time register) 64-bit access (r/-) */
|
#define MTIME (*(IO_REG64 (&MTIME_LO)))
|
#define MTIME (*(IO_ROM64 (&MTIME_LO)))
|
/** MTIMECMP (time compare register) low word (r/w) */
|
/** MTIMECMP (time compare register) low word (r/w) */
|
#define MTIMECMP (*(IO_REG64 (&MTIMECMP_LO)))
|
#define MTIMECMP (*(IO_REG64 (&MTIMECMP_LO)))
|
/**@}*/
|
/**@}*/
|
|
|
|
|