source: rtems/c/src/lib/libcpu/hppa1.1/runway/runway.h @ 1587af6

4.104.114.84.95
Last change on this file since 1587af6 was ac7d5ef0, checked in by Joel Sherrill <joel.sherrill@…>, on May 11, 1995 at 5:39:37 PM

Initial revision

  • Property mode set to 100644
File size: 693 bytes
Line 
1/*
2 *  File:       $RCSfile$
3 *  Project:    PixelFlow
4 *  Created:    94/11/29
5 *  RespEngr:   tony bennett
6 *  Revision:   $Revision$
7 *  Last Mod:   $Date$
8 *
9 *  Description:
10 *      definitions specific to the runway bus
11 *
12 *  TODO:
13 *      Add lots more.
14 *
15 *  $Id$
16 */
17
18#ifndef _INCLUDE_RUNWAY_H
19#define _INCLUDE_RUNWAY_H
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25#define HPPA_RUNWAY_PROC_HPA_BASE  ((void *) 0xFFFA0000)
26
27/* given a processor number, where is its HPA? */
28#define HPPA_RUNWAY_HPA(cpu)   \
29  ((rtems_unsigned32) (HPPA_RUNWAY_PROC_HPA_BASE + ((cpu) * 0x2000)))
30
31#define HPPA_RUNWAY_REG_IO_EIR_OFFSET   0x000
32
33#ifdef __cplusplus
34}
35#endif
36
37#endif /* ! _INCLUDE_RUNWAY_H */
Note: See TracBrowser for help on using the repository browser.