/[gxemul]/trunk/src/include/sandpoint.h
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/src/include/sandpoint.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

trunk/src/include/pmppc.h revision 4 by dpavlin, Mon Oct 8 16:18:00 2007 UTC trunk/src/include/sandpoint.h revision 49 by dpavlin, Wed Oct 10 23:31:09 2007 UTC
# Line 1  Line 1 
1  /*  gxemul: $Id: pmppc.h,v 1.2 2005/03/05 12:34:03 debug Exp $  */  /*  gxemul: $Id: sandpoint.h,v 1.2 2005/03/05 12:34:03 debug Exp $  */
2  /*      $NetBSD: pmppc.h,v 1.2 2002/07/05 18:45:20 matt Exp $   */  /*      $NetBSD: sandpoint.h,v 1.2 2002/07/05 18:45:20 matt Exp $       */
3    
4  #ifndef PMPPC_H  #ifndef SANDPOINT_H
5  #define PMPPC_H  #define SANDPOINT_H
6    
7  /*  /*
8   * Copyright (c) 2002 The NetBSD Foundation, Inc.   * Copyright (c) 2002 The NetBSD Foundation, Inc.
# Line 41  Line 41 
41   */   */
42    
43  /* SDRAM */  /* SDRAM */
44  #define PMPPC_SDRAM_BASE        0x00000000  #define SANDPOINT_SDRAM_BASE    0x00000000
45    
46  /* Flash */  /* Flash */
47  #define PMPPC_FLASH_BASE        0x70000000  #define SANDPOINT_FLASH_BASE    0x70000000
48    
49  #define PMPPC_IO_START          0x7fe00000  #define SANDPOINT_IO_START      0x7fe00000
50    
51  /* CS8900A ethernet */  /* CS8900A ethernet */
52  #define PMPPC_CS_IO_BASE        0x7fe00000  #define SANDPOINT_CS_IO_BASE    0x7fe00000
53  #define PMPPC_CS_IO             0x7fe00c00  #define SANDPOINT_CS_IO         0x7fe00c00
54  #define PMPPC_CS_MEM            0x7fe04000  #define SANDPOINT_CS_MEM        0x7fe04000
55    
56  /* time-of-day clock */  /* time-of-day clock */
57  #define PMPPC_RTC               0x7ff00000  #define SANDPOINT_RTC           0x7ff00000
58  #define PMPPC_RTC_SIZE          0x00002000  #define SANDPOINT_RTC_SIZE      0x00002000
59    
60  /* board config regs */  /* board config regs */
61  #define PMPPC_CONFIG0           0x7ff40000  #define SANDPOINT_CONFIG0       0x7ff40000
62  #define PMPPC_CONFIG1           0x7ff40001  #define SANDPOINT_CONFIG1       0x7ff40001
63  #define PMPPC_LEDS              0x7ff40002  #define SANDPOINT_LEDS          0x7ff40002
64  #define PMPPC_RESET             0x7ff40003  #define SANDPOINT_RESET         0x7ff40003
65  #define PMPPC_RESET_SEQ_STEP1           0xac  #define SANDPOINT_RESET_SEQ_STEP1               0xac
66  #define PMPPC_RESET_SEQ_STEP2           0x1d  #define SANDPOINT_RESET_SEQ_STEP2               0x1d
67  #define PMPPC_INTR              0x7ff40004  #define SANDPOINT_INTR          0x7ff40004
68    
69  /* ROM */  /* ROM */
70  #define PMPPC_ROM_BASE          0x7ff80000  #define SANDPOINT_ROM_BASE              0x7ff80000
71    
72  void setleds(int leds);  void setleds(int leds);
73    
74  /* Interrupts */  /* Interrupts */
75  #define PMPPC_I_BPMC_INTA       CPC_IB_EXT0 /* PCI INTA */  #define SANDPOINT_I_BPMC_INTA   CPC_IB_EXT0 /* PCI INTA */
76  #define PMPPC_I_BPMC_INTB       CPC_IB_EXT1 /* PCI INTB */  #define SANDPOINT_I_BPMC_INTB   CPC_IB_EXT1 /* PCI INTB */
77  #define PMPPC_I_BPMC_INTC       CPC_IB_EXT2 /* PCI INTC */  #define SANDPOINT_I_BPMC_INTC   CPC_IB_EXT2 /* PCI INTC */
78  #define PMPPC_I_BPMC_INTD       CPC_IB_EXT3 /* PCI INTD */  #define SANDPOINT_I_BPMC_INTD   CPC_IB_EXT3 /* PCI INTD */
79  #define PMPPC_I_ETH_INT         CPC_IB_EXT4 /* ethernet */  #define SANDPOINT_I_ETH_INT             CPC_IB_EXT4 /* ethernet */
80  #define PMPPC_I_RTC_INT         CPC_IB_EXT5 /* rtc */  #define SANDPOINT_I_RTC_INT             CPC_IB_EXT5 /* rtc */
81    
82    
83  /*  /*
84   * The variables below are extracted from the config register located   * The variables below are extracted from the config register located
85   * at PMPPC_CONFIG.   * at SANDPOINT_CONFIG.
86   */   */
87  struct a_config {  struct a_config {
88          int a_boot_device;          int a_boot_device;
# Line 104  struct a_config { Line 104  struct a_config {
104    
105  extern struct a_config a_config;  extern struct a_config a_config;
106    
107  #endif  /*  PMPPC_H  */  #endif  /*  SANDPOINT_H  */

Legend:
Removed from v.4  
changed lines
  Added in v.49

  ViewVC Help
Powered by ViewVC 1.1.26