dec_5100.h File Reference

Back to the index.

Macros
dec_5100.h File Reference

Go to the source code of this file.

Macros

#define KN230_SYS_LANCE   0x18000000 /* Lance chip */
 
#define KN230_SYS_LANCE_B_START   0x19000000 /* 64 Kb Lance Buffer */
 
#define KN230_SYS_LANCE_B_END   0x19010000
 
#define KN230_SYS_SII   0x1a000000 /* scsi SII chip */
 
#define KN230_SYS_SII_B_START   0x1b000000 /* 128 Kb SCSI buffer */
 
#define KN230_SYS_SII_B_END   0x1b020000
 
#define KN230_SYS_DZ0   0x1c000000 /* baseboard DZ serial chip */
 
#define KN230_SYS_CLOCK   0x1d000000 /* mc146818 rtc chip */
 
#define KN230_SYS_ICSR   0x1e000000 /* System control register */
 
#define KN230_CSR_INTR_RESET   0x00004000 /* reset button */
 
#define KN230_CSR_INTR_WMERR   0x00002000 /* badaddr() or write error */
 
#define KN230_CSR_INTR_LANCE   0x00001000 /* lance interrupt */
 
#define KN230_CSR_INTR_SII   0x00000800 /* scsi interrupt */
 
#define KN230_CSR_INTR_OPT1   0x00000400 /* second option DZ */
 
#define KN230_CSR_INTR_OPT0   0x00000200 /* first option DZ */
 
#define KN230_CSR_INTR_DZ0   0x00000100 /* baseboard DZ */
 
#define KN230_SYS_CTL_LED   0x14000000 /* LED register */
 
#define KN230_LED7   0x00008000 /* no side effect */
 
#define KN230_LED6   0x00004000 /* no side effect */
 
#define KN230_LED5   0x00002000 /* no side effect */
 
#define KN230_LED4   0x00001000 /* no side effect */
 
#define KN230_LED3
 
#define KN230_LED2
 
#define KN230_LED1
 
#define KN230_LED0   0x00000100
 
#define KN230_SYS_DZ1   0x15000000 /* DZ1 Control and status */
 
#define KN230_SYS_DZ2   0x15200000 /* DZ2 Control and status */
 
#define KN230_SYS_WEAR   0x17000000 /* Write-error address reg */
 
#define KN230_WEAR_OPTIONMASK   0x00000001 /* 1 if no card present */
 
#define KN230_WEAR_OPTION_FALSE   KN230_WEAR_OPTIONMASK
 
#define KN230_WEAR_OPTION_TRUE   0
 
#define KN230_WEAR_SECUREMASK   0x00000002 /* "1": system is insecure */
 
#define KN230_WEAR_INSECURE   KN230_WEAR_SECUREMASK
 
#define KN230_WEAR_SECURE   0
 
#define KN230_SYS_OID   0x1f00020c /* option slot ID register */
 
#define KN230_OID_MASK   0x000000ff /* ID number mask */
 
#define KN230_ERRCNT_MASK   0x0000ff00 /* hardware failure count */
 
#define KN230_SYS_PASSWD   0x1f000244 /* password location */
 
#define KN230_SYS_NVRAM_DIAG   0x1f000300 /* NVRAM diagnostic register */
 
#define KN230_NVRAM_PRESENT   0x00000001
 
#define KN230_NVRAM_TESTFAIL_RO   0x00000002
 
#define KN230_NVRAM_TESTFAIL_RW   0x00000004
 
#define KN230_NVRAM_FAILURE   0x00000008 /* ran out of power anyway? */
 
#define KN230_NVRAM_SIZEMASK   0x000000f0
 
#define KN230_SYS_NVRAM_ADDR   0x1f000304 /* holds addr of NVRAM bank */
 
#define KN230_SYS_NVRAM_EVENBNK_STATUS_OFFSET   (0x200000)
 
#define KN230_SYS_NVRAM_ODDBNK_STATUS_OFFSET   (0x200000 +4)
 
#define KN230_SYS_NVRAM_EVENBNK_CONTROL_OFFSET   (-0x200000)
 
#define KN230_SYS_NVRAM_ODDNK_STATUS_OFFSET   (-0x200000+4)
 
#define KN230_NVRAM_BATFAIL   0x00000001 /* battery failure */
 
#define KN230_NVRAM_BATKILL   0x00000002 /* battery kill */
 

Macro Definition Documentation

◆ KN230_CSR_INTR_DZ0

#define KN230_CSR_INTR_DZ0   0x00000100 /* baseboard DZ */

Definition at line 92 of file dec_5100.h.

Referenced by kn230_interrupt_assert(), kn230_interrupt_deassert(), and MACHINE_SETUP().

◆ KN230_CSR_INTR_LANCE

#define KN230_CSR_INTR_LANCE   0x00001000 /* lance interrupt */

Definition at line 88 of file dec_5100.h.

Referenced by kn230_interrupt_assert(), kn230_interrupt_deassert(), and MACHINE_SETUP().

◆ KN230_CSR_INTR_OPT0

#define KN230_CSR_INTR_OPT0   0x00000200 /* first option DZ */

Definition at line 91 of file dec_5100.h.

Referenced by kn230_interrupt_assert(), and kn230_interrupt_deassert().

◆ KN230_CSR_INTR_OPT1

#define KN230_CSR_INTR_OPT1   0x00000400 /* second option DZ */

Definition at line 90 of file dec_5100.h.

Referenced by kn230_interrupt_assert(), and kn230_interrupt_deassert().

◆ KN230_CSR_INTR_RESET

#define KN230_CSR_INTR_RESET   0x00004000 /* reset button */

Definition at line 86 of file dec_5100.h.

◆ KN230_CSR_INTR_SII

#define KN230_CSR_INTR_SII   0x00000800 /* scsi interrupt */

Definition at line 89 of file dec_5100.h.

Referenced by kn230_interrupt_assert(), kn230_interrupt_deassert(), and MACHINE_SETUP().

◆ KN230_CSR_INTR_WMERR

#define KN230_CSR_INTR_WMERR   0x00002000 /* badaddr() or write error */

Definition at line 87 of file dec_5100.h.

◆ KN230_ERRCNT_MASK

#define KN230_ERRCNT_MASK   0x0000ff00 /* hardware failure count */

Definition at line 156 of file dec_5100.h.

◆ KN230_LED0

#define KN230_LED0   0x00000100

Definition at line 124 of file dec_5100.h.

◆ KN230_LED1

#define KN230_LED1
Value:
0x00000200 /* read-only
* 0: 8M memory in bank 1
* 1: 32M in bank1
*/

Definition at line 120 of file dec_5100.h.

◆ KN230_LED2

#define KN230_LED2
Value:
0x00000400 /* Turns off led 2.
* 0: forces DZ to run at
* 38.4 when 19.2 is selected
* 1: is 19.2 means 19.2.
*/

Definition at line 114 of file dec_5100.h.

◆ KN230_LED3

#define KN230_LED3
Value:
0x00000800 /* Turns off led 3.
* Also disables main memory.
* enables writes to EEPROM.
*/

Definition at line 109 of file dec_5100.h.

◆ KN230_LED4

#define KN230_LED4   0x00001000 /* no side effect */

Definition at line 107 of file dec_5100.h.

◆ KN230_LED5

#define KN230_LED5   0x00002000 /* no side effect */

Definition at line 106 of file dec_5100.h.

◆ KN230_LED6

#define KN230_LED6   0x00004000 /* no side effect */

Definition at line 105 of file dec_5100.h.

◆ KN230_LED7

#define KN230_LED7   0x00008000 /* no side effect */

Definition at line 104 of file dec_5100.h.

◆ KN230_NVRAM_BATFAIL

#define KN230_NVRAM_BATFAIL   0x00000001 /* battery failure */

Definition at line 184 of file dec_5100.h.

◆ KN230_NVRAM_BATKILL

#define KN230_NVRAM_BATKILL   0x00000002 /* battery kill */

Definition at line 185 of file dec_5100.h.

◆ KN230_NVRAM_FAILURE

#define KN230_NVRAM_FAILURE   0x00000008 /* ran out of power anyway? */

Definition at line 169 of file dec_5100.h.

◆ KN230_NVRAM_PRESENT

#define KN230_NVRAM_PRESENT   0x00000001

Definition at line 166 of file dec_5100.h.

◆ KN230_NVRAM_SIZEMASK

#define KN230_NVRAM_SIZEMASK   0x000000f0

Definition at line 170 of file dec_5100.h.

◆ KN230_NVRAM_TESTFAIL_RO

#define KN230_NVRAM_TESTFAIL_RO   0x00000002

Definition at line 167 of file dec_5100.h.

◆ KN230_NVRAM_TESTFAIL_RW

#define KN230_NVRAM_TESTFAIL_RW   0x00000004

Definition at line 168 of file dec_5100.h.

◆ KN230_OID_MASK

#define KN230_OID_MASK   0x000000ff /* ID number mask */

Definition at line 155 of file dec_5100.h.

◆ KN230_SYS_CLOCK

#define KN230_SYS_CLOCK   0x1d000000 /* mc146818 rtc chip */

Definition at line 76 of file dec_5100.h.

Referenced by MACHINE_SETUP().

◆ KN230_SYS_CTL_LED

#define KN230_SYS_CTL_LED   0x14000000 /* LED register */

Definition at line 103 of file dec_5100.h.

◆ KN230_SYS_DZ0

#define KN230_SYS_DZ0   0x1c000000 /* baseboard DZ serial chip */

Definition at line 74 of file dec_5100.h.

Referenced by MACHINE_SETUP().

◆ KN230_SYS_DZ1

#define KN230_SYS_DZ1   0x15000000 /* DZ1 Control and status */

Definition at line 130 of file dec_5100.h.

◆ KN230_SYS_DZ2

#define KN230_SYS_DZ2   0x15200000 /* DZ2 Control and status */

Definition at line 131 of file dec_5100.h.

◆ KN230_SYS_ICSR

#define KN230_SYS_ICSR   0x1e000000 /* System control register */

Definition at line 78 of file dec_5100.h.

Referenced by MACHINE_SETUP().

◆ KN230_SYS_LANCE

#define KN230_SYS_LANCE   0x18000000 /* Lance chip */

Definition at line 66 of file dec_5100.h.

Referenced by MACHINE_SETUP().

◆ KN230_SYS_LANCE_B_END

#define KN230_SYS_LANCE_B_END   0x19010000

Definition at line 68 of file dec_5100.h.

Referenced by MACHINE_SETUP().

◆ KN230_SYS_LANCE_B_START

#define KN230_SYS_LANCE_B_START   0x19000000 /* 64 Kb Lance Buffer */

Definition at line 67 of file dec_5100.h.

Referenced by MACHINE_SETUP().

◆ KN230_SYS_NVRAM_ADDR

#define KN230_SYS_NVRAM_ADDR   0x1f000304 /* holds addr of NVRAM bank */

Definition at line 172 of file dec_5100.h.

◆ KN230_SYS_NVRAM_DIAG

#define KN230_SYS_NVRAM_DIAG   0x1f000300 /* NVRAM diagnostic register */

Definition at line 165 of file dec_5100.h.

◆ KN230_SYS_NVRAM_EVENBNK_CONTROL_OFFSET

#define KN230_SYS_NVRAM_EVENBNK_CONTROL_OFFSET   (-0x200000)

Definition at line 180 of file dec_5100.h.

◆ KN230_SYS_NVRAM_EVENBNK_STATUS_OFFSET

#define KN230_SYS_NVRAM_EVENBNK_STATUS_OFFSET   (0x200000)

Definition at line 178 of file dec_5100.h.

◆ KN230_SYS_NVRAM_ODDBNK_STATUS_OFFSET

#define KN230_SYS_NVRAM_ODDBNK_STATUS_OFFSET   (0x200000 +4)

Definition at line 179 of file dec_5100.h.

◆ KN230_SYS_NVRAM_ODDNK_STATUS_OFFSET

#define KN230_SYS_NVRAM_ODDNK_STATUS_OFFSET   (-0x200000+4)

Definition at line 181 of file dec_5100.h.

◆ KN230_SYS_OID

#define KN230_SYS_OID   0x1f00020c /* option slot ID register */

Definition at line 154 of file dec_5100.h.

◆ KN230_SYS_PASSWD

#define KN230_SYS_PASSWD   0x1f000244 /* password location */

Definition at line 159 of file dec_5100.h.

◆ KN230_SYS_SII

#define KN230_SYS_SII   0x1a000000 /* scsi SII chip */

Definition at line 70 of file dec_5100.h.

Referenced by MACHINE_SETUP().

◆ KN230_SYS_SII_B_END

#define KN230_SYS_SII_B_END   0x1b020000

Definition at line 72 of file dec_5100.h.

Referenced by MACHINE_SETUP().

◆ KN230_SYS_SII_B_START

#define KN230_SYS_SII_B_START   0x1b000000 /* 128 Kb SCSI buffer */

Definition at line 71 of file dec_5100.h.

Referenced by MACHINE_SETUP().

◆ KN230_SYS_WEAR

#define KN230_SYS_WEAR   0x17000000 /* Write-error address reg */

Definition at line 138 of file dec_5100.h.

◆ KN230_WEAR_INSECURE

#define KN230_WEAR_INSECURE   KN230_WEAR_SECUREMASK

Definition at line 144 of file dec_5100.h.

◆ KN230_WEAR_OPTION_FALSE

#define KN230_WEAR_OPTION_FALSE   KN230_WEAR_OPTIONMASK

Definition at line 140 of file dec_5100.h.

◆ KN230_WEAR_OPTION_TRUE

#define KN230_WEAR_OPTION_TRUE   0

Definition at line 141 of file dec_5100.h.

◆ KN230_WEAR_OPTIONMASK

#define KN230_WEAR_OPTIONMASK   0x00000001 /* 1 if no card present */

Definition at line 139 of file dec_5100.h.

◆ KN230_WEAR_SECURE

#define KN230_WEAR_SECURE   0

Definition at line 145 of file dec_5100.h.

◆ KN230_WEAR_SECUREMASK

#define KN230_WEAR_SECUREMASK   0x00000002 /* "1": system is insecure */

Definition at line 143 of file dec_5100.h.


Generated on Sun Sep 30 2018 16:05:18 for GXemul by doxygen 1.8.13