--- trunk/src/include/pmppc.h 2007/10/08 16:18:00 4 +++ trunk/src/include/sandpoint.h 2007/10/10 23:31:09 49 @@ -1,8 +1,8 @@ -/* gxemul: $Id: pmppc.h,v 1.2 2005/03/05 12:34:03 debug Exp $ */ -/* $NetBSD: pmppc.h,v 1.2 2002/07/05 18:45:20 matt Exp $ */ +/* gxemul: $Id: sandpoint.h,v 1.2 2005/03/05 12:34:03 debug Exp $ */ +/* $NetBSD: sandpoint.h,v 1.2 2002/07/05 18:45:20 matt Exp $ */ -#ifndef PMPPC_H -#define PMPPC_H +#ifndef SANDPOINT_H +#define SANDPOINT_H /* * Copyright (c) 2002 The NetBSD Foundation, Inc. @@ -41,48 +41,48 @@ */ /* SDRAM */ -#define PMPPC_SDRAM_BASE 0x00000000 +#define SANDPOINT_SDRAM_BASE 0x00000000 /* Flash */ -#define PMPPC_FLASH_BASE 0x70000000 +#define SANDPOINT_FLASH_BASE 0x70000000 -#define PMPPC_IO_START 0x7fe00000 +#define SANDPOINT_IO_START 0x7fe00000 /* CS8900A ethernet */ -#define PMPPC_CS_IO_BASE 0x7fe00000 -#define PMPPC_CS_IO 0x7fe00c00 -#define PMPPC_CS_MEM 0x7fe04000 +#define SANDPOINT_CS_IO_BASE 0x7fe00000 +#define SANDPOINT_CS_IO 0x7fe00c00 +#define SANDPOINT_CS_MEM 0x7fe04000 /* time-of-day clock */ -#define PMPPC_RTC 0x7ff00000 -#define PMPPC_RTC_SIZE 0x00002000 +#define SANDPOINT_RTC 0x7ff00000 +#define SANDPOINT_RTC_SIZE 0x00002000 /* board config regs */ -#define PMPPC_CONFIG0 0x7ff40000 -#define PMPPC_CONFIG1 0x7ff40001 -#define PMPPC_LEDS 0x7ff40002 -#define PMPPC_RESET 0x7ff40003 -#define PMPPC_RESET_SEQ_STEP1 0xac -#define PMPPC_RESET_SEQ_STEP2 0x1d -#define PMPPC_INTR 0x7ff40004 +#define SANDPOINT_CONFIG0 0x7ff40000 +#define SANDPOINT_CONFIG1 0x7ff40001 +#define SANDPOINT_LEDS 0x7ff40002 +#define SANDPOINT_RESET 0x7ff40003 +#define SANDPOINT_RESET_SEQ_STEP1 0xac +#define SANDPOINT_RESET_SEQ_STEP2 0x1d +#define SANDPOINT_INTR 0x7ff40004 /* ROM */ -#define PMPPC_ROM_BASE 0x7ff80000 +#define SANDPOINT_ROM_BASE 0x7ff80000 void setleds(int leds); /* Interrupts */ -#define PMPPC_I_BPMC_INTA CPC_IB_EXT0 /* PCI INTA */ -#define PMPPC_I_BPMC_INTB CPC_IB_EXT1 /* PCI INTB */ -#define PMPPC_I_BPMC_INTC CPC_IB_EXT2 /* PCI INTC */ -#define PMPPC_I_BPMC_INTD CPC_IB_EXT3 /* PCI INTD */ -#define PMPPC_I_ETH_INT CPC_IB_EXT4 /* ethernet */ -#define PMPPC_I_RTC_INT CPC_IB_EXT5 /* rtc */ +#define SANDPOINT_I_BPMC_INTA CPC_IB_EXT0 /* PCI INTA */ +#define SANDPOINT_I_BPMC_INTB CPC_IB_EXT1 /* PCI INTB */ +#define SANDPOINT_I_BPMC_INTC CPC_IB_EXT2 /* PCI INTC */ +#define SANDPOINT_I_BPMC_INTD CPC_IB_EXT3 /* PCI INTD */ +#define SANDPOINT_I_ETH_INT CPC_IB_EXT4 /* ethernet */ +#define SANDPOINT_I_RTC_INT CPC_IB_EXT5 /* rtc */ /* * The variables below are extracted from the config register located - * at PMPPC_CONFIG. + * at SANDPOINT_CONFIG. */ struct a_config { int a_boot_device; @@ -104,4 +104,4 @@ extern struct a_config a_config; -#endif /* PMPPC_H */ +#endif /* SANDPOINT_H */