; --------------------------------------------------------------------------------
; @Title: PPC440xx On-Chip Peripherals
; @Props: Released
; @Author: MAL, (GAC), (HST), (KAM), (MAC), (OLA)
; @Changelog: 2007-03-02 MAL
; @Manufacturer: IBM - IBM Deutschland GmbH
; @Doc: 440gp_um.pdf (SA14-2519-11); PPC440SPe_UM2014_v1_15.pdf
;   NDA!_AMCC_ppc440epx_UM_052606.pdf Revision 1.07
;   440gr_UM_062805.pdf Revision 1.04; PPC440GRx UM2017 v1 02.pdf Revision 1.02
;   PPC440GX_UM2001_v1_14.pdf Revision 1.14 (2007-7-2)
;   PPC440EPx_UM2018_v1_13.pdf (2007-11)
; @Core: PowerPC
; @Chip: PPC440SPE
; @Chiplist: PPC440A, PPC440EP, PPC440EPX, PPC440G, PPC440GP, PPC440GR, 
;   PPC440GRX, PPC440GX, PPC440SP, PPC440SPE, VIRTEX5PPC, VIRTEX5PPC1ST, 
;   VIRTEX5PPC2ND
; @Copyright: (C) 1989-2020 Lauterbach GmbH, licensed for use with TRACE32(R) only
; --------------------------------------------------------------------------------
; $Id: per440.per 11239 2019-11-19 18:40:51Z hstainl $
config 16. 8.
width 0x0B
base ANC:0x0:0x00000000
tree "RISC Processor"
tree.open "Instruction and Data Caches"
sif (cpu()=="PPC440GX")    
tree "Cache Array Organization and Operation"
width 0x7
group spr:0x370++0x7
line.long 0x0 "INV0,Instruction Cache Normal Victim Register 0"
bitfld.long 0x00 24.--29. " VNDXA  ,Victim Index A" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x00 16.--21. "  VNDXB    ,Victim Index B" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x00 8.--13. "  VNDXC  ,Victim Index C" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x00 0.--5. "  VNDXD ,Victim Index D" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
line.long 0x4 "INV1,Instruction Cache Normal Victim Register 1"
bitfld.long 0x4 24.--29. " VNDXA  ,Victim Index A" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x4 16.--21. "  VNDXB    ,Victim Index B" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x4 8.--13. "  VNDXC  ,Victim Index C" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x4 0.--5. "  VNDXD ,Victim Index D" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
line.long 0x8 "INV2,Instruction Cache Normal Victim Register 2"
bitfld.long 0x8 24.--29. " VNDXA  ,Victim Index A" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x8 16.--21. "  VNDXB    ,Victim Index B" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x8 8.--13. "  VNDXC  ,Victim Index C" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x8 0.--5. "  VNDXD ,Victim Index D" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
line.long 0xC "INV3,Instruction Cache Normal Victim Register 3"
bitfld.long 0xC 24.--29. " VNDXA  ,Victim Index A" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0xC 16.--21. "  VNDXB    ,Victim Index B" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0xC 8.--13. "  VNDXC  ,Victim Index C" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0xC 0.--5. "  VNDXD ,Victim Index D" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
line.long 0x10 "ITV0,Instruction Cache Transient Victim Register 0"
bitfld.long 0x10 24.--29. " VNDXA  ,Victim Index A" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x10 16.--21. "  VNDXB    ,Victim Index B" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x10 8.--13. "  VNDXC  ,Victim Index C" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x10 0.--5. "  VNDXD ,Victim Index D" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
line.long 0x14 "ITV1,Instruction Cache Transient Victim Register 1"
bitfld.long 0x14 24.--29. " VNDXA  ,Victim Index A" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x14 16.--21. "  VNDXB    ,Victim Index B" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x14 8.--13. "  VNDXC  ,Victim Index C" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x14 0.--5. "  VNDXD ,Victim Index D" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
line.long 0x18 "ITV2,Instruction Cache Transient Victim Register 2"
bitfld.long 0x18 24.--29. " VNDXA  ,Victim Index A" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x18 16.--21. "  VNDXB    ,Victim Index B" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x18 8.--13. "  VNDXC  ,Victim Index C" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x18 0.--5. "  VNDXD ,Victim Index D" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
line.long 0x1C "ITV3,Instruction Cache Transient Victim Register 3"
bitfld.long 0x1C 24.--29. " VNDXA  ,Victim Index A" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x1C 16.--21. "  VNDXB    ,Victim Index B" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x1C 8.--13. "  VNDXC  ,Victim Index C" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x1C 0.--5. "  VNDXD ,Victim Index D" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
group spr:0x390++0x9
line.long 0x0 "DNV0,Data Cache Normal Victim Register 0"
bitfld.long 0x00 24.--29. " VNDXA  ,Victim Index A" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x00 16.--21. "  VNDXB    ,Victim Index B" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x00 8.--13. "  VNDXC  ,Victim Index C" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x00 0.--5. "  VNDXD ,Victim Index D" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
line.long 0x4 "DNV1,Data Cache Normal Victim Register 1"
bitfld.long 0x4 24.--29. " VNDXA  ,Victim Index A" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x4 16.--21. "  VNDXB    ,Victim Index B" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x4 8.--13. "  VNDXC  ,Victim Index C" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x4 0.--5. "  VNDXD ,Victim Index D" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
line.long 0x8 "DNV2,Data Cache Normal Victim Register 2"
bitfld.long 0x8 24.--29. " VNDXA  ,Victim Index A" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x8 16.--21. "  VNDXB    ,Victim Index B" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x8 8.--13. "  VNDXC  ,Victim Index C" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x8 0.--5. "  VNDXD ,Victim Index D" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
line.long 0xC "DNV3,Data Cache Normal Victim Register 3"
bitfld.long 0xC 24.--29. " VNDXA  ,Victim Index A" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0xC 16.--21. "  VNDXB    ,Victim Index B" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0xC 8.--13. "  VNDXC  ,Victim Index C" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0xC 0.--5. "  VNDXD ,Victim Index D" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
line.long 0x10 "DTV0,Data Cache Transient Victim Register 0"
bitfld.long 0x10 24.--29. " VNDXA  ,Victim Index A" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x10 16.--21. "  VNDXB    ,Victim Index B" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x10 8.--13. "  VNDXC  ,Victim Index C" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x10 0.--5. "  VNDXD ,Victim Index D" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
line.long 0x14 "DTV1,Data Cache Transient Victim Register 1"
bitfld.long 0x14 24.--29. " VNDXA  ,Victim Index A" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x14 16.--21. "  VNDXB    ,Victim Index B" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x14 8.--13. "  VNDXC  ,Victim Index C" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x14 0.--5. "  VNDXD ,Victim Index D" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
line.long 0x18 "DTV2,Data Cache Transient Victim Register 2"
bitfld.long 0x18 24.--29. " VNDXA  ,Victim Index A" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x18 16.--21. "  VNDXB    ,Victim Index B" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x18 8.--13. "  VNDXC  ,Victim Index C" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x18 0.--5. "  VNDXD ,Victim Index D" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
line.long 0x1C "DTV3,Data Cache Transient Victim Register 3"
bitfld.long 0x1C 24.--29. " VNDXA  ,Victim Index A" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x1C 16.--21. "  VNDXB    ,Victim Index B" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x1C 8.--13. "  VNDXC  ,Victim Index C" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x1C 0.--5. "  VNDXD ,Victim Index D" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
line.long 0x20 "DVLIM,Data Cache Victim Limit"
bitfld.long 0x20 22.--27. " TFLOOR ,Transient Floor" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x20 11.--16. "  TCEILING ,Transient Ceiling" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x20 0.--5. "  NFLOOR ,Normal Floor" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
line.long 0x24 "IVLIM,Instruction Cache Victim Limit"
bitfld.long 0x24 22.--27. " TFLOOR ,Transient Floor" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x24 11.--16. "  TCEILING ,Transient Ceiling" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
bitfld.long 0x24 0.--5. "  NFLOOR ,Normal Floor" "Way 0,Way 1,Way 2,Way 3,Way 4,Way 5,Way 6,Way 7,Way 8,Way 9,Way 10,Way 11,Way 12,Way 13,Way 14,Way 15,Way 16,Way 17,Way 18,Way 19,Way 20,Way 21,Way 22,Way 23,Way 24,Way 25,Way 26,Way 27,Way 28,Way 29,Way 30,Way 31,Way 32,Way 33,Way 34,Way 35,Way 36,Way 37,Way 38,Way 39,Way 40,Way 41,Way 42,Way 43,Way 44,Way 45,Way 46,Way 47,Way 48,Way 49,Way 50,Way 51,Way 52,Way 53,Way 54,Way 55,Way 56,Way 57,Way 58,Way 59,Way 60,Way 61,Way 62,Way 63"
width 0xB
tree.end
else
tree "Cache Array Organization and Operation"
;Cache Array Organization and Operation
width 0x07
group.long spr:0x370--0x377
line.long 0x00 "INV0,Instruction Cache Normal Victim Register 0"
hexmask.long.byte 0x00 24.--29. 1. " VNDXA ,Victim Index A (for cache lines with EA[25:26] = 0b00)"
hexmask.long.byte 0x00 16.--21. 1. "  VNDXB ,Victim Index B (for cache lines with EA[25:26] = 0b01)"
hexmask.long.byte 0x00 8.--13. 1. "  VNDXC ,Victim Index C (for cache lines with EA[25:26] = 0b10)"
hexmask.long.byte 0x00 0.--5. 1. "  VNDXD ,Victim Index D (for cache lines with EA[25:26] = 0b11)"
line.long 0x04 "INV1,Instruction Cache Normal Victim Register 1"
hexmask.long.byte 0x04 24.--29. 1. " VNDXA ,Victim Index A (for cache lines with EA[25:26] = 0b00)"
hexmask.long.byte 0x04 16.--21. 1. "  VNDXB ,Victim Index B (for cache lines with EA[25:26] = 0b01)"
hexmask.long.byte 0x04 8.--13. 1. "  VNDXC ,Victim Index C (for cache lines with EA[25:26] = 0b10)"
hexmask.long.byte 0x04 0.--5. 1. "  VNDXD ,Victim Index D (for cache lines with EA[25:26] = 0b11)"
line.long 0x08 "INV2,Instruction Cache Normal Victim Register 2"
hexmask.long.byte 0x08 24.--29. 1. " VNDXA ,Victim Index A (for cache lines with EA[25:26] = 0b00)"
hexmask.long.byte 0x08 16.--21. 1. "  VNDXB ,Victim Index B (for cache lines with EA[25:26] = 0b01)"
hexmask.long.byte 0x08 8.--13. 1. "  VNDXC ,Victim Index C (for cache lines with EA[25:26] = 0b10)"
hexmask.long.byte 0x08 0.--5. 1. "  VNDXD ,Victim Index D (for cache lines with EA[25:26] = 0b11)"
line.long 0x0C "INV3,Instruction Cache Normal Victim Register 3"
hexmask.long.byte 0x0C 24.--29. 1. " VNDXA ,Victim Index A (for cache lines with EA[25:26] = 0b00)"
hexmask.long.byte 0x0C 16.--21. 1. "  VNDXB ,Victim Index B (for cache lines with EA[25:26] = 0b01)"
hexmask.long.byte 0x0C 8.--13. 1. "  VNDXC ,Victim Index C (for cache lines with EA[25:26] = 0b10)"
hexmask.long.byte 0x0C 0.--5. 1. "  VNDXD ,Victim Index D (for cache lines with EA[25:26] = 0b11)"
line.long 0x10 "ITV0,Instruction Cache Transient Victim Register 0"
hexmask.long.byte 0x10 24.--29. 1. " VNDXA ,Victim Index A (for cache lines with EA[25:26] = 0b00)"
hexmask.long.byte 0x10 16.--21. 1. "  VNDXB ,Victim Index B (for cache lines with EA[25:26] = 0b01)"
hexmask.long.byte 0x10 8.--13. 1. "  VNDXC ,Victim Index C (for cache lines with EA[25:26] = 0b10)"
hexmask.long.byte 0x10 0.--5. 1. "  VNDXD ,Victim Index D (for cache lines with EA[25:26] = 0b11)"
line.long 0x14 "ITV1,Instruction Cache Transient Victim Register 1"
hexmask.long.byte 0x14 24.--29. 1. " VNDXA ,Victim Index A (for cache lines with EA[25:26] = 0b00)"
hexmask.long.byte 0x14 16.--21. 1. "  VNDXB ,Victim Index B (for cache lines with EA[25:26] = 0b01)"
hexmask.long.byte 0x14 8.--13. 1. "  VNDXC ,Victim Index C (for cache lines with EA[25:26] = 0b10)"
hexmask.long.byte 0x14 0.--5. 1. "  VNDXD ,Victim Index D (for cache lines with EA[25:26] = 0b11)"
line.long 0x18 "ITV2,Instruction Cache Transient Victim Register 2"
hexmask.long.byte 0x18 24.--29. 1. " VNDXA ,Victim Index A (for cache lines with EA[25:26] = 0b00)"
hexmask.long.byte 0x18 16.--21. 1. "  VNDXB ,Victim Index B (for cache lines with EA[25:26] = 0b01)"
hexmask.long.byte 0x18 8.--13. 1. "  VNDXC ,Victim Index C (for cache lines with EA[25:26] = 0b10)"
hexmask.long.byte 0x18 0.--5. 1. "  VNDXD ,Victim Index D (for cache lines with EA[25:26] = 0b11)"
line.long 0x1C "ITV3,Instruction Cache Transient Victim Register 3"
hexmask.long.byte 0x1C 24.--29. 1. " VNDXA ,Victim Index A (for cache lines with EA[25:26] = 0b00)"
hexmask.long.byte 0x1C 16.--21. 1. "  VNDXB ,Victim Index B (for cache lines with EA[25:26] = 0b01)"
hexmask.long.byte 0x1C 8.--13. 1. "  VNDXC ,Victim Index C (for cache lines with EA[25:26] = 0b10)"
hexmask.long.byte 0x1C 0.--5. 1. "  VNDXD ,Victim Index D (for cache lines with EA[25:26] = 0b11)"
group.long spr:0x390--0x397
line.long 0x00 "DNV0,Data Cache Normal Victim Register 0"
hexmask.long.byte 0x00 24.--29. 1. " VNDXA ,Victim Index A (for cache lines with EA[25:26] = 0b00)"
hexmask.long.byte 0x00 16.--21. 1. "  VNDXB ,Victim Index B (for cache lines with EA[25:26] = 0b01)"
hexmask.long.byte 0x00 8.--13. 1. "  VNDXC ,Victim Index C (for cache lines with EA[25:26] = 0b10)"
hexmask.long.byte 0x00 0.--5. 1. "  VNDXD ,Victim Index D (for cache lines with EA[25:26] = 0b11)"
line.long 0x04 "DNV1,Data Cache Normal Victim Register 1"
hexmask.long.byte 0x04 24.--29. 1. " VNDXA ,Victim Index A (for cache lines with EA[25:26] = 0b00)"
hexmask.long.byte 0x04 16.--21. 1. "  VNDXB ,Victim Index B (for cache lines with EA[25:26] = 0b01)"
hexmask.long.byte 0x04 8.--13. 1. "  VNDXC ,Victim Index C (for cache lines with EA[25:26] = 0b10)"
hexmask.long.byte 0x04 0.--5. 1. "  VNDXD ,Victim Index D (for cache lines with EA[25:26] = 0b11)"
line.long 0x08 "DNV2,Data Cache Normal Victim Register 2"
hexmask.long.byte 0x08 24.--29. 1. " VNDXA ,Victim Index A (for cache lines with EA[25:26] = 0b00)"
hexmask.long.byte 0x08 16.--21. 1. "  VNDXB ,Victim Index B (for cache lines with EA[25:26] = 0b01)"
hexmask.long.byte 0x08 8.--13. 1. "  VNDXC ,Victim Index C (for cache lines with EA[25:26] = 0b10)"
hexmask.long.byte 0x08 0.--5. 1. "  VNDXD ,Victim Index D (for cache lines with EA[25:26] = 0b11)"
line.long 0x0C "DNV3,Data Cache Normal Victim Register 3"
hexmask.long.byte 0x0C 24.--29. 1. " VNDXA ,Victim Index A (for cache lines with EA[25:26] = 0b00)"
hexmask.long.byte 0x0C 16.--21. 1. "  VNDXB ,Victim Index B (for cache lines with EA[25:26] = 0b01)"
hexmask.long.byte 0x0C 8.--13. 1. "  VNDXC ,Victim Index C (for cache lines with EA[25:26] = 0b10)"
hexmask.long.byte 0x0C 0.--5. 1. "  VNDXD ,Victim Index D (for cache lines with EA[25:26] = 0b11)"
line.long 0x10 "DTV0,Data Cache Transient Victim Register 0"
hexmask.long.byte 0x10 24.--29. 1. " VNDXA ,Victim Index A (for cache lines with EA[25:26] = 0b00)"
hexmask.long.byte 0x10 16.--21. 1. "  VNDXB ,Victim Index B (for cache lines with EA[25:26] = 0b01)"
hexmask.long.byte 0x10 8.--13. 1. "  VNDXC ,Victim Index C (for cache lines with EA[25:26] = 0b10)"
hexmask.long.byte 0x10 0.--5. 1. "  VNDXD ,Victim Index D (for cache lines with EA[25:26] = 0b11)"
line.long 0x14 "DTV1,Data Cache Transient Victim Register 1"
hexmask.long.byte 0x14 24.--29. 1. " VNDXA ,Victim Index A (for cache lines with EA[25:26] = 0b00)"
hexmask.long.byte 0x14 16.--21. 1. "  VNDXB ,Victim Index B (for cache lines with EA[25:26] = 0b01)"
hexmask.long.byte 0x14 8.--13. 1. "  VNDXC ,Victim Index C (for cache lines with EA[25:26] = 0b10)"
hexmask.long.byte 0x14 0.--5. 1. "  VNDXD ,Victim Index D (for cache lines with EA[25:26] = 0b11)"
line.long 0x18 "DTV2,Data Cache Transient Victim Register 2"
hexmask.long.byte 0x18 24.--29. 1. " VNDXA ,Victim Index A (for cache lines with EA[25:26] = 0b00)"
hexmask.long.byte 0x18 16.--21. 1. "  VNDXB ,Victim Index B (for cache lines with EA[25:26] = 0b01)"
hexmask.long.byte 0x18 8.--13. 1. "  VNDXC ,Victim Index C (for cache lines with EA[25:26] = 0b10)"
hexmask.long.byte 0x18 0.--5. 1. "  VNDXD ,Victim Index D (for cache lines with EA[25:26] = 0b11)"
line.long 0x1C "DTV3,Data Cache Transient Victim Register 3"
hexmask.long.byte 0x1C 24.--29. 1. " VNDXA ,Victim Index A (for cache lines with EA[25:26] = 0b00)"
hexmask.long.byte 0x1C 16.--21. 1. "  VNDXB ,Victim Index B (for cache lines with EA[25:26] = 0b01)"
hexmask.long.byte 0x1C 8.--13. 1. "  VNDXC ,Victim Index C (for cache lines with EA[25:26] = 0b10)"
hexmask.long.byte 0x1C 0.--5. 1. "  VNDXD ,Victim Index D (for cache lines with EA[25:26] = 0b11)"
textline ""
group.long spr:0x398--0x399
line.long 0x00 "DVLIM,Data Cache Victim Limit"
hexmask.long.byte 0x00 22.--27. 1. " TFLOOR ,Transient Floor"
hexmask.long.byte 0x00 11.--16. 1. "  TCEILING ,Transient Ceiling"
hexmask.long.byte 0x00 0.--5. 1. "  NFLOOR ,Normal Floor"
line.long 0x04 "IVLIM,Instruction Cache Victim Limit"
hexmask.long.byte 0x04 22.--27. 1. " TFLOOR ,Transient Floor"
hexmask.long.byte 0x04 11.--16. 1. "  TCEILING ,Transient Ceiling"
hexmask.long.byte 0x04 0.--5. 1. "  NFLOOR ,Normal Floor"
width 0x0B
tree.end
endif
tree "Instruction Cache Controller"
width 0x9
sif ((cpu()!="PPC440SP")&&(cpu()!="PPC440SPE"))
group spr:0x3B3++0x00
line.long 0x00 "CCR0,Core Configuration Register 0"
sif (cpu()!="PPC440GP")
bitfld.long 0x00 30. " PRE     ,Parity Recoverability Enable" "Semi-recoverable,Fully-recoverable"
bitfld.long 0x00 27. "  CRPE    ,Cache Read Parity Enable" "-,Enabled"        
bitfld.long 0x00 21. "   DSTG    ,Disable Store Gathering" "-,Disabled"
else
bitfld.long 0x00 21. " DSTG    ,Disable Store Gathering" "-,Disabled"
endif        
textline "                  "
bitfld.long 0x00 20. " DAPUIB  ,Disable APU Instruction Broadcast" "-,Disabled"
bitfld.long 0x00 15. "           DTB     ,Disable Trace Broadcast" "-,Disabled"
bitfld.long 0x00 14. "  GICBT   ,Guaranteed Instruction Cache Block Touch" "-,Guaranteed"
textline "                  "
bitfld.long 0x00 13. " GDCBT   ,Guaranteed Data Cache Block Touch" "-,Guaranteed"
bitfld.long 0x00 8. "         FLSTA   ,Force Load/Store Alignment" "-,Occurred"
sif ((cpu()!="PPC440GP")&&(cpu()=="PPC440EP")&&(cpu()=="PPC440EPX"))
bitfld.long 0x0 6. "  DBTAC   ,Branch Target Address Cache (BTAC) Disable" "-,Disabled"
endif        
textline "                  "
bitfld.long 0x00 2.--3. " ICSLC   ,Instruction Cache Speculative Line Count" "-,1 line,2 lines,3 lines"
sif ((cpu()=="PPC440EP")||(cpu()=="PPC440EPX")||(cpu()=="PPC440GP"))
bitfld.long 0x00 0.--1. "            ICSLT   ,Instruction Cache Speculative Line Threshold" "0,1,2,3"
endif 
group spr:0x378++0x00
line.long 0x00 "CCR1,Core Configuration Register 1"
bitfld.long 0x00 31. " ICDPEI0 ,Instruction Cache Data Parity Error Insert 0" "Even,Odd"
bitfld.long 0x00 30. "               ICDPEI1 ,Instruction Cache Data Parity Error Insert 1" "Even,Odd"
bitfld.long 0x00 29. "      ICDPEI2 ,Instruction Cache Data Parity Error Insert 2" "Even,Odd"
textline "                  "
bitfld.long 0x00 28. " ICDPEI3 ,Instruction Cache Data Parity Error Insert 3" "Even,Odd"
bitfld.long 0x00 27. "               ICDPEI4 ,Instruction Cache Data Parity Error Insert 4" "Even,Odd"
bitfld.long 0x00 26. "      ICDPEI5 ,Instruction Cache Data Parity Error Insert 5" "Even,Odd"
textline "                  "
bitfld.long 0x00 25. " ICDPEI6 ,Instruction Cache Data Parity Error Insert 6" "Even,Odd"
bitfld.long 0x00 24. "               ICDPEI7 ,Instruction Cache Data Parity Error Insert 7" "Even,Odd"
bitfld.long 0x00 23. "      ICTPEI0 ,Instruction Cache Tag Parity Error Insert 0" "Even,Odd"
textline "                  "
bitfld.long 0x00 22. " ICTPEI1 ,Instruction Cache Tag Parity Error Insert 1" "Even,Odd"
bitfld.long 0x00 21. "               DCTPEI0 ,Data Cache Tag Parity Error Insert 0" "Even,Odd"
bitfld.long 0x00 20. "      DCTPEI1 ,Data Cache Tag Parity Error Insert 1" "Even,Odd"
textline "                  "
bitfld.long 0x00 19. " DCDPEI  ,Data Cache Data Parity Error Insert" "Even,Odd"
bitfld.long 0x00 18. "               DCUPEI  ,Data Cache U-bit Parity Error Insert" "Even,Odd"
bitfld.long 0x00 17. "      DCMPEI  ,Data Cache Modified-bit Parity Error Insert" "Even,Odd"
textline "                  "
bitfld.long 0x00 16. " FCOM    ,Force Cache Operation Miss" "-,Forced"
bitfld.long 0x00 15. "             MMUPEI0 ,Memory Management Unit Parity Error Insert 0" "Even,Odd"
bitfld.long 0x00 14. "      MMUPEI1 ,Memory Management Unit Parity Error Insert 1" "Even,Odd"
textline "                  "
bitfld.long 0x00 13. " MMUPEI2 ,Memory Management Unit Parity Error Insert 2" "Even,Odd"
bitfld.long 0x00 12. "               MMUPEI3 ,Memory Management Unit Parity Error Insert 3" "Even,Odd"
sif (cpu()=="PPC440GX")        
bitfld.long 0x00 11. "      FFF     ,Force Full-line Flush" "-,Forced"
textline "                  "
bitfld.long 0x00 7. " TCS     ,Timer Clock Select" "CPMC440CLOCK,CPMC440TIMERCLOCK"
elif ((cpu()=="PPC440EP")||(cpu()=="PPC440EPX"))    
bitfld.long 0x00 11. "      FFF     ,Force Full-line Flush" "As necessary,Always"
textline "                  "
bitfld.long 0x00 7. " TCS     ,Timer Clock Select" "Input clock,Timer clock"
endif
endif
rgroup spr:0x3D3++0x00
line.long 0x00 "ICDBDR,Instruction Cache Debug Data Register"
rgroup spr:0x39E++0x1
line.long 0x00 "ICDBTRL,Instruction Cache Debug Tag Register Low"
bitfld.long 0x00 9. " TS    ,Translation Space" "0,1"
bitfld.long 0x00 8. "         TD ,Translation ID (TID) Disable" "-,Disabled"
hexmask.long.byte 0x00 0.--7. 1. "  TID  ,Translation ID"
line.long 0x4 "ICDBTRH,Instruction Cache Debug Tag Register High"
hexmask.long 0x4 8.--31. 0x100 " TEA   ,Tag Effective Address"
bitfld.long 0x4 7. "  V  ,Cache Line Valid" "-,Valid"
sif (cpu()!="PPC440GP")        
bitfld.long 0x4 5.--6. "     TPAR ,Tag Parity" "00,01,10,11"
textline "                  "
bitfld.long 0x4 4. " DAPAR ,Instruction Data parity" "0,1"
endif
width 0xB
tree.end
tree "Data Cache Controller"
width 0x9
rgroup spr:0x39d++0x0
line.long 0x0 "DCDBTRH,Data Cache Debug Tag Register High"
hexmask.long 0x0 8.--31. 0x100 " TRA ,Tag Real Address"
bitfld.long 0x0 7. "  V ,Cache Line Valid" "-,Valid"
bitfld.long 0x0 0.--3. "  TERA ,Tag Extended Real Address" "0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F"
rgroup spr:0x39c++0x00    
line.long 0x0 "DCDBTRL,Data Cache Debug Tag Register Low"
sif (cpu()!="PPC440GP")    
bitfld.long 0x0 18. " UPAR  ,U Bit Parity" "0,1"
bitfld.long 0x0 17. "  TPAR0 ,Tag Parity 0" "0,1"
bitfld.long 0x0 16. "  TPAR1 ,Tag Parity 1" "0,1"
bitfld.long 0x0 15. "  DPAR0 ,Data Parity 0" "0,1"
textline "                  "
bitfld.long 0x0 14. " DPAR1 ,Data Parity 1" "0,1"
bitfld.long 0x0 13. "  DPAR2 ,Data Parity 2" "0,1"
bitfld.long 0x0 12. "  DPAR3 ,Data Parity 3" "0,1"
bitfld.long 0x0 11. "  MPAR0 ,Modified (dirty) Parity 0" "0,1"
textline "                  "
bitfld.long 0x0 10. " MPAR1 ,Modified (dirty) Parity 1" "0,1"
bitfld.long 0x0 9. "  MPAR2 ,Modified (dirty) Parity 2" "0,1"
bitfld.long 0x0 8. "  MPAR3 ,Modified (dirty) Parity 3" "0,1"    
bitfld.long 0x0 7. "  D0    ,Dirty Indicator 0" "0,1"
textline "                  "
endif    
sif (cpu()=="PPC440GP")        
bitfld.long 0x0 7. " D0    ,Dirty Indicator 0" "0,1"
textline "                  "
endif        
bitfld.long 0x0 6. " D1    ,Dirty Indicator 1" "0,1"
bitfld.long 0x0 5. "  D2    ,Dirty Indicator 2" "0,1"
bitfld.long 0x0 4. "  D3    ,Dirty Indicator 3" "0,1"
bitfld.long 0x0 3. "  U0    ,U0 Storage Attribute" "0,1"
textline "                  "
bitfld.long 0x0 2. " U1    ,U1 Storage Attribute" "0,1"
bitfld.long 0x0 1. "  U2    ,U2 Storage Attribute" "0,1"
bitfld.long 0x0 0. "  U3    ,U3 Storage Attribute" "0,1"
width 0xB
tree.end
tree.end
; "Link and Count Register"
;Branch Processing
width 5.
group.long spr:0x008--0x009 "Link and Count Register"
line.long 0x00 "LR,Link Register"
line.long 0x04 "CTR,Count Register"
width 0x0B
width 0x8
group spr:0x1++0x0 "Integer Processing"
line.long 0x0 "XER,Integer Exception Register"
bitfld.long 0x00 31. " SO ,Summary Overflow" "-,Overflow"
bitfld.long 0x00 30. "  OV ,Overflow" "-,Overflow"
bitfld.long 0x00 29. "  CA ,Carry" "-,Carry"
hexmask.long.byte 0x00 0.--6. 1. "  TBC ,Transfer Byte Count"
group spr:0x100++0x0
line.long 0x0 "USPRG0,User Special Purpose Register General 0"
group spr:0x110++0x0
line.long 0x00 "SPRG0,Special Purpose Register General 0"
group spr:0x111++0x0
line.long 0x00 "SPRG1,Special Purpose Register General 1"
group spr:0x112++0x0
line.long 0x00 "SPRG2,Special Purpose Register General 2"
group spr:0x113++0x0
line.long 0x00 "SPRG3,Special Purpose Register General 3"
rgroup spr:0x104++0x0
line.long 0x0 "SPRG4R,Special Purpose Register General 4 Read"
rgroup spr:0x105++0x0
line.long 0x0 "SPRG5R,Special Purpose Register General 5 Read"
rgroup spr:0x106++0x0
line.long 0x0 "SPRG6R,Special Purpose Register General 6 Read"
rgroup spr:0x107++0x0
line.long 0x0 "SPRG7R,Special Purpose Register General 7 Read"
wgroup spr:0x114++0x0
line.long 0x0 "SPRG4W,Special Purpose Register General 4 Write"
wgroup spr:0x115++0x0
line.long 0x0 "SPRG5W,Special Purpose Register General 5 Write"
wgroup spr:0x116++0x0
line.long 0x0 "SPRG6W,Special Purpose Register General 6 Write"
wgroup spr:0x117++0x0
line.long 0x0 "SPRG7W,Special Purpose Register General 7 Write"
rgroup spr:0x11f++0x0 "Processor Control"
line.long 0x0 "PVR,Processor Version Register"
sif (cpu()=="PPC440GX")    
hexmask.long.word 0x0 20.--31. 1. "   OWN ,OWN"
hexmask.long 0x0 0.--19. 1. "  PVN ,Processor Version Number"
endif        
rgroup spr:0x11E++0x0
line.long 0x0 "PIR,Processor Identification Register"
sif (cpu()=="PPC440GX")        
hexmask.long.byte 0x0 0.--3. 1. "   PIN ,Processor Identification Number (PIN)"
elif ((cpu()=="PPC440EP")||(cpu()=="PPC440EPX")||(cpu()=="PPC440SP")||(cpu()=="PPC440SPE"))
bitfld.long 0x00 0.--3. " PIN     ,Processor Identification Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
group spr:0x3B3--0x3B3
line.long 0x00 "CCR0,Core Configuration Register 0"
bitfld.long 0x00 30. " PRE     ,Parity Recoverability Enable" "Semi,Fully"
bitfld.long 0x00 27. "         CRPE    ,Cache Read Parity Enable" "-,Enabled"
bitfld.long 0x00 21. "      DSTG    ,Disable Store Gathering" "-,Disabled"
bitfld.long 0x00 20. "    DAPUIB  ,Disable APU Instruction Broadcast" "-,Disabled"
textline "                 "
bitfld.long 0x00 15. " DTB     ,Disable Trace Broadcast" "-,Disabled"
bitfld.long 0x00 14. "      GICBT   ,Guaranteed Instruction Cache Block Touch" "Abandoned,Guaranteed"
bitfld.long 0x00 13. "   GDCBT   ,Guaranteed Data Cache Block Touch" "Abandoned,Guaranteed"
bitfld.long 0x00 8. "  FLSTA   ,Force Load/Store Alignment" "-,Enabled"
textline "                 "
bitfld.long 0x00 2.--3. " ICSLC   ,Instruction Cache Speculative Line Count" "0,1,2,3"
sif ((cpu()=="PPC440EP")||(cpu()=="PPC440EPX"))  
bitfld.long 0x00 0.--1. "             ICSLT   ,Instruction Cache Speculative Line Threshold" "0,1,2,3"
endif
group spr:0x378--0x378
line.long 0x00 "CCR1,Core Configuration Register 1"
bitfld.long 0x00 31. " ICDPEI0 ,Instruction Cache Data Parity Error Insert bit 0" "Even,Odd"
bitfld.long 0x00 30. "          ICDPEI1 ,Instruction Cache Data Parity Error Insert bit 1" "Even,Odd"
bitfld.long 0x00 29. "         ICDPEI2 ,Instruction Cache Data Parity Error Insert bit 2" "Even,Odd"
bitfld.long 0x00 28. "        ICDPEI3 ,Instruction Cache Data Parity Error Insert bit 3" "Even,Odd"
textline "                 "
bitfld.long 0x00 27. " ICDPEI4 ,Instruction Cache Data Parity Error Insert bit 4" "Even,Odd"
bitfld.long 0x00 26. "          ICDPEI5 ,Instruction Cache Data Parity Error Insert bit 5" "Even,Odd"
bitfld.long 0x00 25. "         ICDPEI6 ,Instruction Cache Data Parity Error Insert bit 6" "Even,Odd"
bitfld.long 0x00 24. "        ICDPEI7 ,Instruction Cache Data Parity Error Insert bit 7" "Even,Odd"
textline "                 "
bitfld.long 0x00 23. " ICTPEI0 ,Instruction Cache Tag Parity Error Insert bit 0" "Even,Odd"
bitfld.long 0x00 22. "          ICTPEI1 ,Instruction Cache Tag Parity Error Insert bit 1" "Even,Odd"
bitfld.long 0x00 21. "         DCTPEI0 ,Data Cache Tag Parity Error Insert bit 0" "Even,Odd"
bitfld.long 0x00 20. "        DCTPEI1 ,Data Cache Tag Parity Error Insert bit 1" "Even,Odd"
textline "                 "
bitfld.long 0x00 19. " DCDPEI  ,Data Cache Data Parity Error Insert" "Even,Odd"
bitfld.long 0x00 18. "          DCUPEI  ,Data Cache U-bit Parity Error Insert" "Even,Odd"
bitfld.long 0x00 17. "         DCMPEI  ,Data Cache Modified-bit Parity Error Insert" "Even,Odd"
bitfld.long 0x00 16. "        FCOM    ,Force Cache Operation Miss" "No miss,Miss"
textline "                 "
bitfld.long 0x00 15. " MMUPEI0 ,Memory Management Unit Parity Error Insert bit 0" "Even,Odd"
bitfld.long 0x00 14. "          MMUPEI1 ,Memory Management Unit Parity Error Insert bit 1" "Even,Odd"
bitfld.long 0x00 13. "         MMUPEI2 ,Memory Management Unit Parity Error Insert bit 2" "Even,Odd"
bitfld.long 0x00 12. "        MMUPEI3 ,Memory Management Unit Parity Error Insert bit 3" "Even,Odd"
textline "                 "
bitfld.long 0x00 11. " FFF     ,Force Full-line Flush" "As necessary,Always"
bitfld.long 0x00 7. "  TCS     ,Timer Clock Select" "Input clock,Timer clock"
endif        
rgroup spr:0x39B++0x0
line.long 0x0 "RSTCFG,Reset Configuration"
bitfld.long 0x00 15. " U0 ,U0 Storage Attribute" "-,Ena"
bitfld.long 0x00 14. "  U1 ,U1 Storage Attribute" "Normal,Transient"
bitfld.long 0x00 13. "  U2 ,U2 Storage Attribute" "-,Caused"
bitfld.long 0x00 12. "  U3 ,U3 Storage Attribute" "-,Ena"
bitfld.long 0x00 7. "  E ,E Storage Attribute" "Big,Little"
sif (cpu()=="PPC440GX")            
bitfld.long 0x00 0.--3. "   ERPN ,Extended Real Page Number" "Reserved,EBCO,PCI,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
elif ((cpu()=="PPC440EP")||(cpu()=="PPC440EPX")||(cpu()=="PPC440SP")||(cpu()=="PPC440SPE"))
bitfld.long 0x00 0.--3. "   ERPN ,Extended Real Page Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
endif
width 0xB
width 0x7
group spr:0x3B2++0x0 "Memory Management"
line.long 0x0 "MMUCR,Memory Management Unit Control Register"
bitfld.long 0x00 24. " SWOA  ,Store Without Allocate" "-,Not allocated"
bitfld.long 0x00 22. "  U1TE ,U1 Transient Enable" "-,Enabled"
bitfld.long 0x00 21. "   U2SWOAE ,U2 Store without Allocate Enable" "-,Enabled"
bitfld.long 0x00 19. "  DULXE ,Data Cache Unlock Exception Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 18. " IULXE ,Instruction Cache Unlock Exception Enable" "-,Enabled"
bitfld.long 0x00 16. "        STS  ,Search Translation Space" "-,Searched"
hexmask.long.byte 0x00 0.--7. 1. "  STID    ,Search Translation ID"
group spr:0x30++0x0
line.long 0x0 "PID,Process ID Register"
hexmask.long.byte 0x00 0.--7. 1. " PID ,Process ID"
width 0xB
tree.end
;Tree "RISC Processor"
tree.open "System Operations"
tree "Reset and Initialization"
sif ((cpu()=="PPC440EPX")||(cpu()=="PPC440GR")||(cpu()=="PPC440GRX")||(cpu()=="PPC440GX")||(cpu()=="PPC440EP")||(cpu()=="PPC440SP")||(cpu()=="PPC440SPE"))
;Reset and Initialization
; For PPC440EP, PPC440EPX, PPC440GR, PPC440GRX, PPC440GX, PPC440SP, PPC440SPE
width 14.
sif (cpu()=="PPC440EPX")||(cpu()=="PPC440GR")
elif (cpu()=="PPC440GX")
group dcr:0xd++0x0
saveout dcr:0xc %l 0x140
line.long 0x0 "CPR0_ICFG,Initial Configuration Register"
bitfld.long 0x00 31. " RLI ,Reload Inhibit" "-,Inhibit"
bitfld.long 0x00 2. "  UDCD ,/UART0_DCD Strapping" "Low,High"
bitfld.long 0x00 1. "  UDSR ,/UART0_DSR Strapping" "Low,High"
bitfld.long 0x00 0. "  GTCL ,GMC1TxCtl Strapping" "Low,High"  
; 440EP, 440SP, 440GRX, 440SPE                
else
group dcr:0x000D++0x00
saveout dcr:0x000C %l 0x0140
line.long 0x00 "CPR0_ICFG,Initial Configuration Register"
bitfld.long 0x00 31. " RLI   ,Reload Inhibit" "Reset CPRs,CPRs preserved"
bitfld.long 0x00 0.--2. "  ICS  ,Initial Values of the Strap Pins" "000,001,010,011,100,101,110,111"
endif 
group dcr:0x000F++0x00
out dcr:0x000E %l 0x0080
line.long 0x00 "SDR0_ECID0,Electronic Chip ID Register 0"
group dcr:0x000F++0x00
out dcr:0x000E %l 0x0081
line.long 0x00 "SDR0_ECID1,Electronic Chip ID Register 1"
sif (cpu()=="PPC440EP")||(cpu()=="PPC440EPX")||(cpu()=="PPC440GR")||(cpu()=="PPC440GRX")      
group dcr:0x000F++0x00
out dcr:0x000E %l 0x0082
line.long 0x00 "SDR0_ECID2,Electronic Chip ID Register 2"
group dcr:0x000F++0x00
out dcr:0x000E %l 0x0083
line.long 0x00 "SDR0_ECID3,Electronic Chip ID Register 3"
hexmask.long.word 0x00 16.--31. 1. " ECID3 ,Electronic Chip ID Register 3"
group dcr:0x000F++0x00
out dcr:0x000E %l 0x4100
line.long 0x00 "SDR0_PFC0,Pin Function Control Register 0"
bitfld.long 0x00 8. " TRE   ,GPIO Trace Enable" "GPIO,Trace"
else
group dcr:0xF++0x0
out dcr:0xE %l 0x82
line.long 0x0 "SDR0_ECID2,Electronic Chip ID Register 0 2"
hexmask.long.word 0x0 16.--31. 1. " ECID2 ,Electronic chip ID 2"
sif (cpu()=="PPC440GX")
group dcr:0xf++0x0
out dcr:0xe %l 0x4100
line.long 0x0 "SDR0_PFC0,Pin Function Control Register 0 0"
bitfld.long 0x00 31. " G0E  ,GPIO 0 Enable" "IRQ00,GPIO0"
bitfld.long 0x00 30. "           G1E  ,GPIO 1 Enable" "IRQ01,GPIO1"
bitfld.long 0x00 29. "           G2E  ,GPIO 2 Enable" "IRQ02,GPIO2"
bitfld.long 0x00 28. "                G3E  ,GPIO 3 Enable" "IRQ03,GPIO3"
textline "                       "
bitfld.long 0x00 27. " G4E  ,GPIO 4 Enable" "IRQ04,GPIO4"
bitfld.long 0x00 26. "           G5E  ,GPIO 5 Enable" "IRQ05,GPIO5"
bitfld.long 0x00 25. "           G6E  ,GPIO 6 Enable" "IRQ06,GPIO6"
bitfld.long 0x00 24. "                G7E  ,GPIO 7 Enable" "IRQ07,GPIO7"
textline "                       "
bitfld.long 0x00 23. " G8E  ,GPIO 8 Enable" "IRQ08,GPIO8"
bitfld.long 0x00 22. "           G9E  ,GPIO 9 Enable" "IRQ09,GPIO9"
bitfld.long 0x00 21. "           G10E ,GPIO 10 Enable" "IRQ10,GPIO10"
bitfld.long 0x00 20. "               G11E ,GPIO 11 Enable" "GNCTxClk/TBIRxClk1,GPIO11"
textline "                       "
bitfld.long 0x00 19. " G12E ,GPIO 12 Enable" "UART1RX,GPIO12"
bitfld.long 0x00 18. "         G13E ,GPIO 13 Enable" "UART1TX,GPIO13"
bitfld.long 0x00 17. "         G14E ,GPIO 14 Enable" "UART1DSR_CTS,GPIO14"
bitfld.long 0x00 16. "         G15E ,GPIO 15 Enable" "UART1RTS_DTR,GPIO15"
textline "                       "
bitfld.long 0x00 15. " G16E ,GPIO 16 Enable" "IIC1SCL,GPIO16"
bitfld.long 0x00 14. "         G17E ,GPIO 17 Enable" "IIC1SDA,GPIO17"
bitfld.long 0x00 13. "         G18E ,GPIO 18 Enable" "Interrupt 13,GPIO18/TrcBS0"
bitfld.long 0x00 12. "        G19E ,GPIO 19 Enable" "Interrupt 14,GPIO19/TrcBS1"
textline "                       "
bitfld.long 0x00 11. " G20E ,GPIO 20 Enable" "Interrupt 15,GPIO20/TrcBS2"
bitfld.long 0x00 10. "   G21E ,GPIO 21 Enable" "Interrupt 16,GPIO21/TrcES0"
bitfld.long 0x00 9. "   G22E ,GPIO 22 Enable" "Interrupt 17,GPIO22/TrcES1"
bitfld.long 0x00 8. "        TRE  ,GPIO Trace Enable" "GPIO,Trace"
;440SP, 440SPE
else    
group dcr:0x000F++0x00
out dcr:0x000E %l 0x4100
line.long 0x00 "SDR0_PFC0,Pin Function Control Register 0"
bitfld.long 0x00 31. " GOE   ,GPIO 0 Enable" "PCIX0Req2,GPIO_0"
bitfld.long 0x00 30. "       G1E  ,GPIO 1 Enable" "PCIX0Req3,GPIO_1"
bitfld.long 0x00 29. "            G2E  ,GPIO 2 Enable" "PCIX0Gnt2,GPIO_2"
bitfld.long 0x00 28. "       G3E  ,GPIO 3 Enable" "PCIX0Gnt3,GPIO_3"
textline "                       "
bitfld.long 0x00 27. " G4E   ,GPIO 4 Enable" "PCIX1Req2,GPIO_4"
bitfld.long 0x00 26. "       G5E  ,GPIO 5 Enable" "PCIX1Req3,GPIO_5"
bitfld.long 0x00 25. "            G6E  ,GPIO 6 Enable" "PCIX1Gnt2,GPIO_6"
bitfld.long 0x00 24. "       G7E  ,GPIO 7 Enable" "PCIX1Gnt3,GPIO_7"
textline "                       "
bitfld.long 0x00 23. " G8E   ,GPIO 8 Enable" "PerReady,GPIO_8"
bitfld.long 0x00 22. "        G9E  ,GPIO 9 Enable" "EBC_CS_1,GPIO_9"
bitfld.long 0x00 21. "             G10E ,GPIO 10 Enable" "EBC_CS_2,GPIO_10"
bitfld.long 0x00 20. "        G11E ,GPIO 11 Enable" "External_IRQ_0,GPIO_11"
textline "                       "
bitfld.long 0x00 19. " G12E  ,GPIO 12 Enable" "External_IRQ_1,GPIO_12"
bitfld.long 0x00 18. "  G13E ,GPIO 13 Enable" "External_IRQ_2,GPIO_13"
bitfld.long 0x00 17. "       G14E ,GPIO 14 Enable" "External_IRQ_3,GPIO_14"
bitfld.long 0x00 16. "  G15E ,GPIO 15 Enable" "External_IRQ_4,GPIO_15"
textline "                       "
bitfld.long 0x00 15. " G16E  ,GPIO 16 Enable" "External_IRQ_5,GPIO_16"
bitfld.long 0x00 14. "  G17E ,GPIO 17 Enable" "External_Bus_PerBEO,GPIO_17"
bitfld.long 0x00 13. "  G18E ,GPIO 18 Enable" "PCIX0Gnt0,GPIO_18"
bitfld.long 0x00 12. "       G19E ,GPIO 19 Enable" "PCIX0Gnt1,GPIO_19"
textline "                       "
bitfld.long 0x00 11. " G20E  ,GPIO 20 Enable" "PCIX0Req0,GPIO_20"
bitfld.long 0x00 10. "       G21E ,GPIO 21 Enable" "PCIX0Req1,GPIO_21"
bitfld.long 0x00 9. "            G22E ,GPIO 22 Enable" "PCIX1Gnt0,GPIO_22"
bitfld.long 0x00 8. "       G23E ,GPIO 23 Enable" "PCIX1Gnt1,GPIO_23"
textline "                       "
bitfld.long 0x00 7. " G24E  ,GPIO 24 Enable" "PCIX1Req0,GPIO_24"
bitfld.long 0x00 6. "       G25E ,GPIO 25 Enable" "PCIX1Req1,GPIO_25"
bitfld.long 0x00 5. "            G26E ,GPIO 26 Enable" "PCIX2Gnt0,GPIO_26"
bitfld.long 0x00 4. "       G27E ,GPIO 27 Enable" "PCIX2Gnt1,GPIO_27"
textline "                       "
bitfld.long 0x00 3. " G28E  ,GPIO 28 Enable" "PCIX2Req0,GPIO_28"
bitfld.long 0x00 2. "       G29E ,GPIO 29 Enable" "PCIX2Req1,GPIO_29"
bitfld.long 0x00 1. "            G30E ,GPIO 30 Enable" "UART1_RX,GPIO_30"
bitfld.long 0x00 0. "        G31E ,GPIO 31 Enable" "UART1_TX,GPIO_31"
endif
endif
group dcr:0x000F++0x00
out dcr:0x000E %l 0x4101
line.long 0x00 "SDR0_PFC1,Pin Function Control Register 1"
sif (cpu()=="PPC440GX")
bitfld.long 0x0 28.--31. " EARG ,EBC Address Receiver Gating" "-,Inputs 0:1,Inputs 0:2,Inputs 0:3,Inputs 0:4,Inputs 0:5,Inputs 0:6,Inputs 0:7,Inputs 0:8,Inputs 0:9,Inputs 0:10,Inputs 0:11,Inputs 0:12,Inputs 0:13,Inputs 0:14,Inputs 0:15"
bitfld.long 0x0 26.--27. "       EDRG  ,EBC Data Receiver Gating" "-,Bytes 1/2/3,Bytes 2/3,Byte 3"
bitfld.long 0x0 25. "     U1ME ,UART1 Mode Enable" "CTS->DSR/RTS->DTR,CTS->CTS/RTS->RTS"
textline "                       "
bitfld.long 0x0 22.--24. " EPS  ,Ethernet Pin Selection" "MII,RMII[1:0],SMII[3:0],RMII0|RGMII0/RTBI0,SMII[1:0]|RGMII[1:0]/RTBI[1:0]|GMII/TBI,SMII0[2:0]|RGMII1/RTBI1,SMII[1:0]|RGMII0/RTBI0,Reserved"
bitfld.long 0x0 21. " RMII ,RMII Mode" "100 MBit,10 MBit"
bitfld.long 0x0 20. "          CTEMS  ,CPU Trace/External Master Selection" "B,A"
elif (cpu()=="PPC440SP")||(cpu()=="PPC440SPE")    
bitfld.long 0x00 25. " U1ME  ,UART1 Mode Enable" "DSR/DTR,CTS/RTS"
sif (CPU()=="PPC440SP")
bitfld.long 0x00 24. " U2ME  ,UART2 Mode Enable" "GPI016[IRQ5]/GPIO17[PerBE0],UART2_Rx/UART2_Tx"
endif
bitfld.long 0x00 21. "         EM   ,Ethernet Mode" "10/100,1000"
textline "                       "
bitfld.long 0x00 19.--20. " DBG   ,Debug Enable" "Functional,CPU trace,Reserved,Reserved"    
elif (cpu()=="PPC440GRX")
bitfld.long 0x00 25. " U1ME    ,UART1 Mode Enable" "DSR/DTR,CTS/RTS"
bitfld.long 0x00 22.--24. "       SELECT ,Ethernet Pin Select EMAC0" "0,1,2,3,4,5,6,7" 
bitfld.long 0x00 19. "        U0ME ,UART0 Mode Enable" "DSR/DTR,CTS/RTS"
textline "                       "
bitfld.long 0x00 18. " U0IM    ,UART0 Interface Mode" "8 pins,4 pins"
bitfld.long 0x00 17. "        SIS    ,SPI/IIC1 Selection" "SPI,IIC1"
bitfld.long 0x00 16. "     UES  ,EBC Selection" "-,EBC"
textline "                       "
bitfld.long 0x00 15. " DUS     ,DMA/UIC Selection" "DMA,UIC"
bitfld.long 0x00 14. "           ERE    ,External Request Enable" "-,Enabled"
elif (cpu()=="PPC440GR")
bitfld.long 0x00 25. " U1ME  ,UART1 Mode Enable" "DSR/DTR,CTS/RTS"
bitfld.long 0x00 19. "      U0ME   ,UART0 Mode Enable" "DSR/DTR,CTS/RTS"
textline "                       "
bitfld.long 0x00 18. " U0IM  ,UART0 Interface Mode" "8 pins,4 pins"
bitfld.long 0x00 17. "       SIS    ,SPI/IIC1 Selection" "SPI,IIC1"        
bitfld.long 0x00 16. "                    UES   ,EBC Selection" "-,EBC"        
textline "                       "
bitfld.long 0x00 15. " DUS   ,DMA/UIC Selection" "DMA,UIC"        
bitfld.long 0x00 14. "          ERE    ,External Request Enable" "Forced high,GPIO0(27)"
bitfld.long 0x00 12. "             P3P4E ,PLB Performance Monitor Selection" "PLB3,PLB4"
elif (cpu()=="PPC440EP")        
bitfld.long 0x00 25. " U1ME  ,UART1 Mode Enable" "DSR/DTR,CTS/RTS"
bitfld.long 0x00 20. "      CPUTRS ,CPU/EBC Selection" "CPU trace,External Master Select"        
bitfld.long 0x00 19. "  U0ME ,UART0 Mode Enable" "DSR/DTR,CTS/RTS"
textline "                       "
bitfld.long 0x00 18. " U0IM  ,UART0 Interface Mode" "8 pins,4 pins"
bitfld.long 0x00 17. "       SIS    ,SPI/IIC1 Selection" "SPI,IIC1"
bitfld.long 0x00 16. "                    UES  ,USB/EBC Selection" "USB2D,EBC"
textline "                       "
bitfld.long 0x00 15. " DUS   ,DMA/UIC Selection" "DMA,UIC"
bitfld.long 0x00 14. "          RE     ,External Request Enable" "Forced high,GPIO0(27)"
bitfld.long 0x00 13. "             UPR  ,Packet Reject Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 12. " P3P4E ,PLB Performance Monitor Selection" "PLB3,PLB4"
bitfld.long 0x00 0.--3. "         GFG    ,GPT Frequency Generation" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
else
;440 EPX
bitfld.long 0x00 25. " U1ME  ,UART1 Mode Enable" "DSR/DTR,CTS/RTS"
bitfld.long 0x00 22.--24. "      SELECT ,Ethernet Pin Select EMAC0" "0,1,2,3,4,5,6,7"         
bitfld.long 0x00 19. "                       U0ME ,UART0 Mode Enable" "DSR/DTR,CTS/RTS"
textline "                       "
bitfld.long 0x00 18. " U0IM  ,UART0 Interface Mode" "8 pins,4 pins"
bitfld.long 0x00 17. "       SIS    ,SPI/IIC1 Selection" "SPI,IIC1"
bitfld.long 0x00 16. "                    UES  ,USB/EBC Selection" "USB2D,EBC"
textline "                       "
bitfld.long 0x00 15. " DUS   ,DMA/UIC Selection" "DMA,UIC"
bitfld.long 0x00 14. "          ERE    ,External Request Enable" "Forced high,GPIO0(27)"
bitfld.long 0x00 13. "             UPR  ,Packet Reject Enabled" "USB2LS0,RejectPkt"          
endif
sif (cpu()=="PPC440EPX")||(cpu()=="PPC440GR")||(cpu()=="PPC440GRX")  
sif (cpu()=="PPC440EPX") 
group dcr:0x000F++0x00
out dcr:0x000E %l 0x4104
line.long 0x00 "SDR0_PFC4,GPIO Multiplexing Register"
bitfld.long 0x00 31. " MUXIIC0 ,Select IIC0 Data or GPIO26" "IIC0,GPIO26" 
group dcr:0x000F++0x00
out dcr:0x000E %l 0x00E0
line.long 0x00 "SDR0_DDRCFG,DDR Delay Line Register"
bitfld.long 0x00 8. " LT2     ,Leakage Test" "Functional,Manufacturing"
bitfld.long 0x00 7. "  64B32B  ,64/32 Bit Mode" "32 bit,64 bit"
bitfld.long 0x00 6. "   MC2518  ,DDR I/O Voltage Level" "2.5V,1.8V"
;group dcr:0x000F++0x00
; saveout dcr:0x000E %l 0x4400
;    line.long 0x00 "SDR0_HSF,Hardware Self Refresh Register"
;        bitfld.long 0x00 1. " HSRR  ,Hardware Self Refresh Request" "-,Requested"
;        bitfld.long 0x00 0. "       HSRA  ,Hardware Self Refresh Acknowledge" "-,Acknowledged"
elif (cpu()=="PPC440GRX")
group dcr:0x000F++0x00
out dcr:0x000E %l 0x4104
line.long 0x00 "SDR0_PFC4,GPIO Multiplexing Register"
bitfld.long 0x00 31. " MUXIIC0 ,Select IIC0 Data or GPIO26" "GPIO26,IIC0"
group dcr:0x000F++0x00
out dcr:0x000E %l 0x00E0
line.long 0x00 "SDR0_DDRCFG,DDR Configuration Register"
bitfld.long 0x00 8. " LT2     ,Leakage Test" "Functional,Test"
bitfld.long 0x00 7. "    64B32B ,64/32 Bit Mode" "32 bit,64 bit"
bitfld.long 0x00 6. "   MC2518  ,DDR I/O Voltage Level" "2.5V,1.8V"        
endif
elif (cpu()=="PPC440EP")
group dcr:0x000F++0x00
out dcr:0x000E %l 0x0220
line.long 0x00 "SDR0_SLPIPE0,PLB Slave Address Pipeline Register"
bitfld.long 0x00 30. " DAP     ,DDR Address Pipeline" "-,Enabled"
bitfld.long 0x00 29. "        P4P3AP  ,PLB4 to PLB3 Address Pipeline" "-,Enabled"
bitfld.long 0x00 28. "  P4OAP   ,PLB4 to OPB Address Pipeline" "-,Enabled"
textline "                       "
bitfld.long 0x00 3. " P3OAP   ,PLB3 to OPB Address Pipeline" "-,Enabled"
bitfld.long 0x00 2. "        EAP     ,EBC Address Pipeline" "-,Enabled"
bitfld.long 0x00 1. "  PAP     ,PCI Address Pipeline" "-,Enabled"
textline "                       "
bitfld.long 0x00 0. " P3P4AP  ,PLB3 to PLB4 Address Pipeline" "-,Enabled"
elif  (cpu()=="PPC440SP")||(cpu()=="PPC440SPE")
group dcr:0x000F++0x00
out dcr:0x000E %l 0x0220
line.long 0x00 "SDR0_SLPIPE,PLB Slave Address Pipeline Register"
bitfld.long 0x00 31. " SRAP    ,SRAM Address Pipeline" "-,Enabled"
bitfld.long 0x00 30. "        DSHBAP  ,DDR SDRAM HB Address Pipeline" "-,Enabled"
bitfld.long 0x00 29. "  POBAP   ,PLB to OPB Bridge Address Pipeline" "-,Enabled"
textline "                       "
bitfld.long 0x00 28. " DMAAP   ,I2O DMA Address Pipeline" "-,Enabled"
bitfld.long 0x00 27. "        DSLLAP  ,DDR SDRAM LL Address Pipeline" "-,Enabled"
bitfld.long 0x00 26. "  PCIX0AP ,PCIX0 Address Pipeline" "-,Enabled"
textline "                       "
bitfld.long 0x00 25. " PCIX1AP ,PCIX1 Address Pipeline" "-,Enabled"
bitfld.long 0x00 24. "        PCIX2AP ,PCIX2 Address Pipeline" "-,Enabled" 
else
group dcr:0x000F++0x00
out dcr:0x000E %l 0x0220
line.long 0x00 "SDR0_SLPIPE,PLB Slave Address Pipeline Register 0"
bitfld.long 0x00 31. " SRAP    ,SRAM Address Pipeline" "-,Enabled"
bitfld.long 0x00 30. "        DDRAP   ,DDR SDRAM Address Pipeline" "-,Enabled"
textline "                       "
bitfld.long 0x00 29. " POBAP   ,PLB to OPB Bridge Address Pipeline" "-,Enabled"
bitfld.long 0x00 28. "        IMUAP   ,IMU Address Pipeline" "-,Enabled"
endif
group dcr:0x000F++0x00
out dcr:0x000E %l 0x0200
sif (cpu()=="PPC440GX")||(cpu()=="PPC440SP")||(cpu()=="PPC440SPE")
line.long 0x00 "SDR0_SRST,Soft Reset Register"
else
line.long 0x00 "SDR0_SRST0,Soft Reset Register 0"    
endif    
bitfld.long 0x00 31. " BGO        ,PLB to OPB bridge" "-,Reset"
sif (cpu()=="PPC440GX")        
bitfld.long 0x00 30. " PLB        ,PLB arbiter" "-,Reset"            
bitfld.long 0x00 29. "  EBC        ,External bus controller" "-,Reset"        
textline "                       "
bitfld.long 0x00 28. " OPB        ,OPB0 arbiter" "-,Reset"
elif (cpu()=="PPC440SP")||(cpu()=="PPC440SPE")
bitfld.long 0x00 30. " PLB        ,PLB arbiter" "-,Reset"    
bitfld.long 0x00 29. "  EBC        ,External bus controller" "-,Reset"
textline "                       "
bitfld.long 0x00 28. " OPB        ,OPB arbiter" "-,Reset"
else
bitfld.long 0x00 30. " PLB4       ,PLB4 arbiter" "-,Reset"        
bitfld.long 0x00 29. "  EBC        ,External bus controller" "-,Reset"
textline "                       "
bitfld.long 0x00 28. " OPB        ,OPB arbiter" "-,Reset"
endif
bitfld.long 0x00 27. " UART0      ,Universal asynchronous receiver/transmitter 0" "-,Reset"
bitfld.long 0x00 26. "  UART1      ,Universal asynchronous receiver/transmitter 1" "-,Reset"
textline "                       "
bitfld.long 0x00 25. " IIC0       ,Inter integrated circuit 0" "-,Reset"
sif (cpu()=="PPC440EPX")   
bitfld.long 0x00 24. " USB2H      ,USB2.0 host" "-,Reset"
elif (cpu()=="PPC440EP")      
bitfld.long 0x00 24. " USB1H      ,USB1.1 host" "-,Reset"  
elif (cpu()=="PPC440GX")||(cpu()=="PPC440SP")||(cpu()=="PPC440SPE")        
bitfld.long 0x00 24. " IIC1       ,Inter integrated circuit 1" "-,Reset "        
endif  
bitfld.long 0x00 23. " GPIO       ,General purpose I/O" "-,Reset"
textline "                       "
bitfld.long 0x00 22. " GPT        ,General purpose timer" "-,Reset"
bitfld.long 0x00 21. " DMC        ,DDR SDRAM memory controller" "-,Reset"
sif (cpu()=="PPC440SP")||(cpu()=="PPC440SPE")        
bitfld.long 0x00 20. "  PCI0       ,PCI0" "-,Reset"
textline "                       "
bitfld.long 0x00 19. " EMAC       ,Ethernet media access controller" "-,Reset"        
bitfld.long 0x00 17. " CPM        ,Clock and power management" "-,Reset"        
bitfld.long 0x00 16. "  I2ODMA     ,I2O DMA" "-,Reset"
textline "                       "
bitfld.long 0x00 15. " UIC0       ,Universal Interrupt Controller 0" "-,Reset"
bitfld.long 0x00 14. " UIC1       ,Universal Interrupt Controller 1" "-,Reset"
bitfld.long 0x00 13. "  SRAM       ,Internal SRAM Controller" "-,Reset"
textline "                       "
sif (CPU()=="PPC440SP")
bitfld.long 0x00 12. " PCI1       ,PCI1" "-,Reset"
bitfld.long 0x00 11. " PCI2       ,PCI2" "-,Reset"
elif (CPU()=="PPC440SPE")
bitfld.long 0x00 12. " UIC2       ,Universal Interrupt Controller 2" "-,Reset"
bitfld.long 0x00 11. " UIC3       ,Universal Interrupt Controller 3" "-,Reset"
endif
bitfld.long 0x00 10. "  XOR        ,XOR" "-,Reset"
textline "                       "
bitfld.long 0x00 9. " UART2      ,Universal Asynchronous Receiver/Transmitter 2" "-,Reset"
bitfld.long 0x00 8. " MAL        ,Media Access Layer" "-,Reset"
bitfld.long 0x00 6. "  GPTR       ,General Purpose Timer" "-,Reset"
textline "                       "
bitfld.long 0x00 2. " L2C        ,L2 Cache Controller" "-,Reset"    
else
bitfld.long 0x00 20. "  PCI        ,PCI" "-,Reset"
textline "                       "
bitfld.long 0x00 19. " EMAC0      ,Ethernet media access controller 0" "-,Reset"
bitfld.long 0x00 18. " EMAC1      ,Ethernet media access controller 1" "-,Reset"
sif (cpu()=="PPC440GX")    
bitfld.long 0x00 17. "  CPM        ,Clock and power management" "-,Reset"        
textline "                       "
bitfld.long 0x00 16. " IMU        ,I2O messaging unit" "-,Reset"
bitfld.long 0x00 15. " UIC[1:0]   ,Universal interrupt controller 0 and 1" "-,Reset"
bitfld.long 0x00 14. "  UICB/UIC2  ,Universal interrupt controller base and 2" "-,Reset"
textline "                       "
bitfld.long 0x00 13. " SRAM       ,Internal SRAM controller" "-,Reset"
bitfld.long 0x00 12. " EBM        ,External bus master" "-,Reset"            
bitfld.long 0x00 11. "  BGI        ,OPB to PLB bridge" "-,Reset"
textline "                       "
bitfld.long 0x00 10. " DMA        ,Direct memory access controller" "-,Reset"
bitfld.long 0x00 9. " DMAC       ,DMA channel" "-,Reset"
bitfld.long 0x00 8. "  MAL        ,Media access layer" "-,Reset"        
textline "                       "
bitfld.long 0x00 7. " ZMII       ,Z media independent interface" "-,Reset"    
bitfld.long 0x00 6. " GPTR       ,General purpose timer" "-,Reset"
bitfld.long 0x00 5. "  PPM        ,PLB performance monitor" "-,Reset"
textline "                       "
bitfld.long 0x00 4. " EMAC2/TAH0 ,Ethernet media access controller 2/TCP/IP accelerator hardware on ethernet 0" "-,Reset"
bitfld.long 0x00 3. " EMAC3/TAH1 ,Ethernet media access controller 3/TCP/IP accelerator hardware on ethernet 1" "-,Reset"
bitfld.long 0x00 0. "  RGMII      ,Reduced gigabit media independent interface" "-,Reset"
else
sif (cpu()=="PPC440GRX")||(cpu()=="PPC440EPX")
bitfld.long 0x00 17. "  CPM0       ,Clock and power management" "-,Reset"
textline "                       "
else
bitfld.long 0x00 17. "  CPM        ,Clock and power management" "-,Reset"
textline "                       "
endif
bitfld.long 0x00 16. " ZMII       ,ZMII bridge" "-,Reset"
bitfld.long 0x00 15. " UIC0       ,Universal interrupt controller 0" "-,Reset"
bitfld.long 0x00 14. "  UIC1       ,Universal interrupt controller 1" "-,Reset"
textline "                       "
bitfld.long 0x00 13. " IIC1       ,Inter integrated circuit 1" "-,Reset"
bitfld.long 0x00 12. " SCP        ,Seciral communications port" "-,Reset"        
bitfld.long 0x00 11. "  BGI        ,OPB to PLB bridge" "-,Reset"
textline "                       "
bitfld.long 0x00 10. " DMA        ,Direct memory access controller" "-,Reset"
bitfld.long 0x00 9. " DMAC       ,DMA channel" "-,Reset"
bitfld.long 0x00 8. "  MAL        ,Media access layer" "-,Reset"
textline "                       "
sif (cpu()=="PPC440EPX")||(cpu()=="PPC440EP")    
bitfld.long 0x00 7. " USB2D      ,USB2.0 device" "-,Reset"
textline "                       "
endif
bitfld.long 0x00 6. " GPTR       ,General purpose timer" "-,Reset"
sif (cpu()=="PPC440EP")||(cpu()=="PPC440GR")
textline "                       "
bitfld.long 0x00 5. " PPM        ,PLB performance monitor" "-,Reset"
endif  
textline "                       "
bitfld.long 0x00 4. " P4P3       ,PLB4 to PLB3 bridge" "-,Reset"
bitfld.long 0x00 3. "  P3P4       ,PLB3 to PLB4 bridge" "-,Reset"
bitfld.long 0x00 2. "  PLB3      ,PLB3 arbiter" "-,Reset"
textline "                       "
bitfld.long 0x00 1. " UART2      ,Universal asynchronous receiver/transmitter 2" "-,Reset"
bitfld.long 0x00 0. "  UART3      ,Universal asynchronous receiver/transmitter 3" "-,Reset"
endif
endif
;Soft Reset Register
sif (cpu()=="PPC440EP")||(cpu()=="PPC440GR")
group dcr:0x000F++0x00
out dcr:0x000E %l 0x0201
line.long 0x00 "SDR0_SRST1,Soft Reset Register 1"
bitfld.long 0x00 31. " NDFC  ,Nand flash controller" "-,Reset"
sif (cpu()=="PPC440EP")
bitfld.long 0x00 30. "  OPBA1  ,OPB Arbiter attached to PLB4" "-,Reset"
bitfld.long 0x00 29. "  P42OPB ,PLB4 to OPB" "-,Reset"
textline "                       "
endif
bitfld.long 0x00 28. " DMA4  ,DMA to PLB4" "-,Reset"
bitfld.long 0x00 27. "  DMA4CH ,DMA Channel to PLB4" "-,Reset"
elif (cpu()=="PPC440GRX") 
group dcr:0x000F++0x00
out dcr:0x000E %l 0x0201
line.long 0x00 "SDR0_SRST1,Soft Reset Register 1"
bitfld.long 0x00 31. " NDFC       ,Nand flash controller" "-,Reset"
bitfld.long 0x00 28. "  DMA4       ,DMA to PLB4" "-,Reset"
bitfld.long 0x00 27. "  DMA4CH    ,DMA Channel to PLB4" "-,Reset"
textline "                       "
bitfld.long 0x00 23. " CPM1       ,Clock and Power Management 1" "-,Reset"
bitfld.long 0x00 22. "  UIC2       ,Universal Interrupt Controller 2" "-,Reset"
bitfld.long 0x00 21. "  CRYP0     ,Security Engine" "-,Reset"
textline "                       "
bitfld.long 0x00 17. " SRAM0      ,Internal SRAM Controller" "-,Reset"
bitfld.long 0x00 16. "  RGMII0     ,RGMII Bridge" "-,Reset"
bitfld.long 0x00 15. "  ETHPLL    ,Ethernet PLL" "-,Reset"
textline "                       "
bitfld.long 0x00 13. " KASU0      ,Kasumi Engine" "-,Reset"  
elif (cpu()=="PPC440EPX") 
group dcr:0x000F++0x00
out dcr:0x000E %l 0x0201
line.long 0x00 "SDR0_SRST1,Soft Resetet Register 1"
bitfld.long 0x00 31. " NDFC  ,NAND flash controller" "-,Reset"
bitfld.long 0x00 30. "  OPB1      ,OPB1 Arbiter attached to PLB4" "-,Reset"
bitfld.long 0x00 28. "  DMA4     ,DMA to PLB4" "-,Reset"
bitfld.long 0x00 29. "  P4OPB0 ,PLB4 to OPB" "-,Reset"
bitfld.long 0x00 25. "  OPB2PLB40 ,OPB2 to PLB4 Bridge attached to USB 2.0 Host" "-,Reset"
textline "                       "
bitfld.long 0x00 23. " CPM1  ,Clock and Power Management 1" "-,Reset"
bitfld.long 0x00 26. "  OPB2      ,OPB2 Arbiter attached to PLB4 USB 2.0 Host" "-,Reset"
bitfld.long 0x00 22. "  UIC2     ,Universal Interrupt Controller 2" "-,Reset"
bitfld.long 0x00 27. "  DMA4CH ,DMA Channel to PLB4" "-,Reset"
bitfld.long 0x00 24. "  OPB2PLB40 ,OPB2 to PLB4 Bridge attached to USB 2.0 Host" "-,Reset"
textline "                       "
bitfld.long 0x00 21. " CRYP0 ,Security Engine" "-,Reset"
bitfld.long 0x00 17. "  SRAM0     ,Internal SRAM Controller" "-,Reset"
bitfld.long 0x00 14. "  FPU      ,Floating Point Unit" "-,Reset"
bitfld.long 0x00 16. "  RGMII0 ,RGMII Bridge" "-,Reset"
bitfld.long 0x00 20. "  USB20PHY  ,USB 2.0 Phy" "-,Reset"
textline "                       "
bitfld.long 0x00 13. " KASU0 ,Kasumi Engine" "-,Reset"
bitfld.long 0x00 19. "  USB2HUTMI ,USB 2.0 Host UTMI Interface" "-,Reset"
bitfld.long 0x00 18. "  USB2HPHY ,USB 2.0 Host Phy Interface" "-,Reset"
bitfld.long 0x00 15. "  ETHPLL ,Ethernet PLL" "-,Reset"  
endif
;Soft Reset Register 1
group dcr:0xF++0x0
out dcr:0xE %l 0x4300
line.long 0x0 "SDR0_MFR,Miscellaneous Function Register 0"
sif (cpu()=="PPC440EP")||(cpu()=="PPC440EPX")||(cpu()=="PPC440GRX")||(cpu()=="PPC440GR")   
bitfld.long 0x00 27. " E0CS ,Ethernet 0 Clock Selection" "External,Internal"
bitfld.long 0x00 26. "    E1CS ,Ethernet 1 Clock Selection" "External,Internal"
sif (cpu()=="PPC440EPX")||(cpu()=="PPC440GRX")  
bitfld.long 0x00 24.--25. "     ZMII ,ZMII Mode" "MII,SMII,Reserved,Reserved"
textline "                       "
bitfld.long 0x00 21. " PRE0 ,Packet Reject for EMAC0 Enable" "-,Enabled"
bitfld.long 0x00 20. "     PRE1 ,Packet Reject for EMAC1 Enable" "-,Enabled"
bitfld.long 0x00 19. "      PRP  ,Packet Reject Polarity" "Active low,Active high"
elif (cpu()=="PPC440EP")
bitfld.long 0x00 24.--25. "     ZMII ,ZMII Mode" "MII,SMII,RMI 10,RMII 100" 
textline "                       "
bitfld.long 0x00 23. " E3E0 ,EMAC0 FIFO clock gating" "Enabled,-"
bitfld.long 0x00 22. "     E4E0 ,EMAC1 FIFO clock gating" "Enabled,-"
bitfld.long 0x00 21. "      PRE0 ,Packet Reject for EMAC0 Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 20. " PRE1 ,Packet Reject for EMAC1 Enable" "-,Enabled"
bitfld.long 0x00 19. "     PRP  ,Packet Reject Polarity" "Active low,Active high"  
else  
bitfld.long 0x00 24.--25. "       ZMII ,ZMII Mode" "MII,SMII,RMI 10,RMII 100"
textline "                       "
bitfld.long 0x00 23. " E3E0 ,EMAC0 FIFO Clock Gating" "Enabled,-"
bitfld.long 0x00 22. "     E3E1 ,EMAC1 FIFO Clock Gating" "Enabled,-"
bitfld.long 0x00 21. "        PRP  ,Packet Reject Polarity" "Active low,Active high"
textline "                       "
bitfld.long 0x00 20. " PRE0 ,Packet Reject for EMAC0 Enable" "-,Enabled"
bitfld.long 0x00 19. "     PRE1 ,Packet Reject for EMAC1 Enable" "-,Enabled"
endif
;440GX, 440SP, 440SPE    
else
sif (cpu()=="PPC440GX")
bitfld.long 0x00 31. " TAH0   ,TAH 0 Enable" "Enabled,-"
bitfld.long 0x00 30. "       TAH1   ,TAH 1 Enable" "Enabled,-"
bitfld.long 0x00 28. "  PCM    ,PPC440GP Compatibility Mode" "PPC440GX,PPC440GP"
bitfld.long 0x00 27. "  ECS    ,Ethernet Clock Select" "External,Internal"
textline "                       "
bitfld.long 0x00 19. " T0TxFl ,Force Parity Error TAH0 Tx Fifo Bits 0:63" "-,Error"
bitfld.long 0x00 18. "         T0TxFh ,Force Parity Error TAH0 Tx Fifo Bits 64:127" "-,Error"
bitfld.long 0x00 17. "    T1TxFl ,Force Parity Error TAH1 Tx Fifo Bits 0:63" "-,Error"
bitfld.long 0x00 16. "     T1TxFh ,Force Parity Error TAH1 Tx Fifo Bits 64:127" "-,Error"
textline "                       "
bitfld.long 0x00 15. " E0TxFl ,Force Parity Error EMAC0 Tx Fifo Bits 0:63" "-,Error"
bitfld.long 0x00 14. "         E0TxFh ,Force Parity Error EMAC0 Tx Fifo Bits 64:127" "-,Error"
bitfld.long 0x00 13. "    E0RxFl ,Force Parity Error EMAC0 Rx Fifo Bits 0:63" "-,Error"
bitfld.long 0x00 12. "     E0RxFh ,Force Parity Error EMAC0 Rx Fifo Bits 64:127" "-,Error"
textline "                       "
bitfld.long 0x00 11. " E1TxFl ,Force Parity Error EMAC1 Tx Fifo Bits 0:63" "-,Error"
bitfld.long 0x00 10. "         E1TxFh ,Force Parity Error EMAC1 Tx Fifo Bits 64:127" "-,Error"
bitfld.long 0x00 9. "    E1RxFl ,Force Parity Error EMAC1 Rx Fifo Bits 0:63" "-,Error"
bitfld.long 0x00 8. "     E1RxFh ,Force Parity Error EMAC1 Rx Fifo Bits 64:127" "-,Error"
textline "                       "
bitfld.long 0x00 7. " E2TxFl ,Force Parity Error EMAC2 Tx Fifo Bits 0:63" "-,Error"
bitfld.long 0x00 6. "         E2TxFh ,Force Parity Error EMAC2 Tx Fifo Bits 64:127" "-,Error"
bitfld.long 0x00 5. "    E2RxFl ,Force Parity Error EMAC2 Rx Fifo Bits 0:63" "-,Error"
bitfld.long 0x00 4. "     E2RxFh ,Force Parity Error EMAC2 Rx Fifo Bits 64:127" "-,Error"
textline "                       "
bitfld.long 0x00 3. " E3TxFl ,Force Parity Error EMAC3 Tx Fifo Bits 0:63" "-,Error"
bitfld.long 0x00 2. "         E3TxFh ,Force Parity Error EMAC3 Tx Fifo Bits 64:127" "-,Error"
bitfld.long 0x00 1. "    E3RxFl ,Force Parity Error EMAC3 Rx Fifo Bits 0:63" "-,Error"
bitfld.long 0x00 0. "     E3RxFh ,Force Parity Error EMAC3 Rx Fifo Bits 64:127" "-,Error"
elif (cpu()=="PPC440SPE")||(cpu()=="PPC440SP")            
bitfld.long 0x00 27. " ECS    ,Ethernet Clock Select" "External,Internal"
sif (cpu()=="PPC440SP")
bitfld.long 0x00 25.--26. " PMRC   ,PCI to I2O Message Routing Control" "PCIX0-I2ODMA,PCIX1-I2ODMA,PCIX2-I2ODMA,Reserved"
elif (cpu()=="PPC440SPE")
bitfld.long 0x00 26. " PMRC   ,PCI to I2O Message Routing Control" "PCIX0-I2ODMA,PIH-I2ODMA"
endif    
bitfld.long 0x00 15. " E0TxFl ,Force Parity Error EMAC0 Tx Fifo Bits 0:63" "-,Error"
textline "                       "
bitfld.long 0x00 14. " E0TxFh ,Force Parity Error EMAC0 Tx Fifo Bits 64:127" "-,Error"
bitfld.long 0x00 13. "    E0RxFl ,Force Parity Error EMAC0 Rx Fifo Bits 0:63" "-,Error"
bitfld.long 0x00 12. "        E0RxFh ,Force Parity Error EMAC0 Rx Fifo Bits 64:127" "-,Error"
endif
endif
;SDR0_MFR,Miscellaneous Function Register
sif (cpu()=="PPC440EP")||(cpu()=="PPC440GR") 
group dcr:0x000F++0x00
out dcr:0x000E %l 0x4400
line.long 0x00 "SDR0_HSF,Hardware Self Refresh Register"
bitfld.long 0x00 1. " HSRR ,Hardware Self Refresh Request" "No request,Request"
bitfld.long 0x00 0. "  HSRA ,Hardware Self Refresh Acknowledge" "No acknowledge,Acknowledge"
endif  
width 0x0B
endif
tree.end
tree "IIC Bootstrap Controller"
sif (cpu()=="PPC440EPX")
;IIC Bootstrap Controller
width 13.
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x0040
line.long 0x00 "SDR0_PINSTP,Pin Strapping Register"
bitfld.long 0x00 31. " U0DCD  ,/UART0_DCD Strapping" "Low,High"
bitfld.long 0x00 30. "       U0DSR  ,/UART0_DSR Strapping" "Low,High"
bitfld.long 0x00 29. "      U0CTS  ,/UART0_CTS Strapping" "Low,High"
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x0060
line.long 0x00 "SDR0_SDCS0,Serial Device Controller Settings Register"
hexmask.long.byte 0x00 25.--31. 4. " SBA    ,SEPROM Base Address"
bitfld.long 0x00 1. "         SDC    ,Serial Device Control" "-,Enabled"
bitfld.long 0x00 0. "   SDD    ,Serial Device Detection" "-,Enabled"
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x0020
line.long 0x00 "SDR0_SDSTP0,Serial Device Strap Register 0"
bitfld.long 0x00 31. " ENG    ,Engage" "SysClk,PLL's VCO"
bitfld.long 0x00 30. "  SRC    ,PLL Feedback Source" "PLLOUTA,PLLOUTB"
hexmask.long.word 0x00 17.--26. 1. "   TUNE   ,TUNE bits"
textline "                      "
bitfld.long 0x00 12.--16. " FBDV   ,PLL Feedback Divisor" "32,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x00 8.--11. "         FWDVA  ,PLL Forward Divisor A" "16,1,2,3,4,5,6,7,8,Reserved,10,Reserved,12,Reserved,14,Reserved"
bitfld.long 0x00 5.--7. "  FWDVB  ,PLL Forward Divisor B" "8,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 2.--4. " PRBDV0 ,PLL Primary Divisor B" "8,1,2,3,4,5,6,7"
bitfld.long 0x00 0.--1. "          OPBDV0 ,OPB Clock Divisor 0" "4,1,2,3"
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x0021
line.long 0x00 "SDR0_SDSTP1,Serial Device Strap Register 1"
bitfld.long 0x00 26.--31. " LFBDV  ,PLL Local Feedback Divisor" "64,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 23.--25. "         PERDV0 ,Peripheral Clock Divisor 0" "8,1,2,3,4,5,6,7"
bitfld.long 0x00 21.--22. "         MALDV0 ,MAL Clock Divisor 0" "4,1,2,3"
textline "                      "
bitfld.long 0x00 19.--20. " SPCID0 ,PCI Clock Divisor 0" "4,1,2,3"
bitfld.long 0x00 15.--18. "          TS     ,Timer Setting (4 upper bits of the counter)" "0000,0001,0010,0011,0100,0101,0110,0111,1000,1001,1010,1011,1100,1101,1110,1111"
bitfld.long 0x00 13.--14. "      RW     ,EBC ROM Width" "8-bit,16-bit,32-bit,Reserved"
textline "                      "
bitfld.long 0x00 11.--12. " RL     ,ROM Location" "EBC,PCI,NDFC,Reserved"
bitfld.long 0x00 10. "   PAE    ,PCI Internal Arbiter Enable" "-,Enabled"
bitfld.long 0x00 9. "   PHCE   ,PCI Host Configuration Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 7.--8. " ZMII   ,ZMII Mode" "MII,SMII,Reserved,Reserved"
bitfld.long 0x00 6. "   CTE    ,CPU Trace Enable" "-,Enabled"
bitfld.long 0x00 5. "   Nto1   ,CPU/PLB Ration N/P" "Not N to 1,N to 1"
textline "                      "
bitfld.long 0x00 4. " PAME   ,PCI Asynch Mode Enable" "-,Enabled"
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4001
line.long 0x00 "SDR0_SDSTP2,Read-Only Equivalent of SDR0_CUST0"
bitfld.long 0x00 30.--31. " MEN    ,Multiplex NDFC or GPIO" "Reserved,Reserved,NDFC,GPIO"
bitfld.long 0x00 29. "   NE     ,NDFC Enable" "-,Enabled"
bitfld.long 0x00 28. "   NBW    ,NDFC Boot Width" "8-bit,16-bit"
textline "                      "
bitfld.long 0x00 24.--27. " NBP    ,NDFC Boot Page Selection" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 22.--23. "         NBAC   ,NDFC Boot Address Selection Cycle" "0,1,2,3"
bitfld.long 0x00 21. "         NARE   ,NDFC Auto Read Disable" "-,Enabled"
textline "                      "
bitfld.long 0x00 20. " NRB    ,NDFC Ready/Busy" "-,Enabled"
hexmask.long.word 0x00 4.--19. 1. "    NDRSC  ,NDFC Device Reset Counter Value"
bitfld.long 0x00 3. "      NCG0   ,NDFC/EBC Chip select Gating for CS0" "EBC,NDFC"
textline "                      "
bitfld.long 0x00 2. " NCG1   ,NDFC/EBC Chip select Gating for CS1" "EBC,NDFC"
bitfld.long 0x00 1. "       NCG2   ,NDFC/EBC Chip select Gating for CS2" "EBC,NDFC"
bitfld.long 0x00 0. "      NCG3   ,NDFC/EBC Chip select Gating for CS3" "EBC,NDFC"
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4003
line.long 0x00 "SDR0_SDSTP3,Read-Only Version of SDR0_CUST1"
hexmask.long.word 0x00 16.--31. 1. " NDRSC  ,Device Read Count"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4000
line.long 0x00 "SDR0_CUST0,Customer Configuration Register 0"
bitfld.long 0x00 30.--31. " MEN    ,Multiplex NAND Flash or GPIO" "Reserved,Reserved,NDFC,GPIO"
bitfld.long 0x00 29. "   NE     ,NDFC Enable" "-,Enabled"
bitfld.long 0x00 28. "   NBW    ,NDFC Boot Width" "8-bit,16-bit"
textline "                      "
bitfld.long 0x00 24.--27. " NBP    ,NDFC Boot Page Selection" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 22.--23. "         NBAC   ,NDFC Boot Address Selection Cycle" "0,1,2,3"
bitfld.long 0x00 21. "         NARE   ,NDFC Auto Read Disable" "-,Enabled"
textline "                      "
bitfld.long 0x00 20. " NRB    ,NDFC Ready/Busy" "Ready,Busy"
hexmask.long.word 0x00 4.--19. 1. "      NDRSC  ,NDFC Device Reset Counter Value"
bitfld.long 0x00 3. "      NCG0   ,NDFC/EBC Chip select (enable) gating for CS0" "EBC,NDFC"
textline "                      "
bitfld.long 0x00 2. " NCG1   ,NDFC/EBC Chip select (enable) gating for CS1" "EBC,NDFC"
bitfld.long 0x00 1. "       NCG2   ,NDFC/EBC Chip select (enable) gating for CS2" "EBC,NDFC"
bitfld.long 0x00 0. "      NCG3   ,NDFC/EBC Chip select (enable) gating for CS3" "EBC,NDFC"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4002
line.long 0x00 "SDR0_CUST1,Customer Configuration Register 1"
hexmask.long.word 0x00 16.--31. 1. " NDRSC  ,Device Read Count"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x0100
line.long 0x00 "SDR0_EBC0,EBC Configuration Register"
bitfld.long 0x00 28.--29. " RW     ,ROM Width" "8-bit,16-bit,32-bit,Reserved"
width 0x0B
elif (cpu()=="PPC440GR")
;IIC Bootstrap Controller
width 13.
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x0040
line.long 0x00 "SDR0_PINSTP,Pin Strapping Register"
bitfld.long 0x00 31. " U0DCD  ,/UART0_DCD Strapping" "Low,High"
bitfld.long 0x00 30. "       U0DSR  ,/UART0_DSR Strapping" "Low,High"
bitfld.long 0x00 29. "      U0CTS  ,/UART0_CTS Strapping" "Low,High"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x0060
line.long 0x00 "SDR0_SDCS0,Serial Device Controller Settings Register"
hexmask.long.byte 0x00 25.--31. 4. " SBA    ,SEPROM Base Address"
bitfld.long 0x00 1. "         SDC    ,Serial Device Control" "-,Enabled"
bitfld.long 0x00 0. "   SDD    ,Serial Device Detection" "-,Enabled"
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x0020
line.long 0x00 "SDR0_SDSTP0,Serial Device Strap Register 0"
bitfld.long 0x00 31. " ENG    ,Engage" "SysClk,PLL's VCO"
bitfld.long 0x00 30. "  SRC    ,PLL Feedback Source" "PLLOUTA,PLLOUTB"
hexmask.long.word 0x00 17.--26. 1. "   TUNE   ,TUNE bits"
textline "                      "
bitfld.long 0x00 12.--16. " FBDV   ,PLL Feedback Divisor" "32,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x00 8.--11. "         FWDVA  ,PLL Forward Divisor A" "16,1,2,3,4,5,6,7,8,Reserved,10,Reserved,12,Reserved,14,Reserved"
bitfld.long 0x00 5.--7. "  FWDVB  ,PLL Forward Divisor B" "8,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 2.--4. " PRBDV0 ,PLL Primary Divisor B" "8,1,2,3,4,5,6,7"
bitfld.long 0x00 0.--1. "          OPBDV0 ,OPB Clock Divisor 0" "4,1,2,3"
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x0021
line.long 0x00 "SDR0_SDSTP1,Serial Device Strap Register 1"
bitfld.long 0x00 26.--31. " LFBDV  ,PLL Local Feedback Divisor" "64,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 23.--25. "         PERDV0 ,Peripheral Clock Divisor 0" "8,1,2,3,4,5,6,7"
bitfld.long 0x00 21.--22. "         MALDV0 ,MAL Clock Divisor 0" "4,1,2,3"
textline "                      "
bitfld.long 0x00 19.--20. " SPCID0 ,PCI Clock Divisor 0" "4,1,2,3"
bitfld.long 0x00 15.--18. "          TS     ,Timer Setting (4 upper bits of the counter)" "0000,0001,0010,0011,0100,0101,0110,0111,1000,1001,1010,1011,1100,1101,1110,1111"
bitfld.long 0x00 13.--14. "      RW     ,EBC ROM Width" "8 bits,16 bits,32 bits,Reserved"
textline "                      "
bitfld.long 0x00 11.--12. " RL     ,ROM Location" "EBC,PCI,NDFC,Reserved"
bitfld.long 0x00 10. "   PAE    ,PCI Internal Arbiter Enable" "-,Enabled"
bitfld.long 0x00 9. "   PHCE   ,PCI Host Configuration Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 7.--8. " ZMII   ,ZMII Mode" "MII,SMII,RMII 10,RMII 100"
bitfld.long 0x00 6. "   CTE    ,CPU Trace Enable" "-,Enabled"
bitfld.long 0x00 5. "   Nto1   ,CPU/PLB Ration N/P" "Not N to 1,N to 1"
textline "                      "
bitfld.long 0x00 4. " PAME   ,PCI Asynch Mode Enable" "-,Enabled"
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4001
line.long 0x00 "SDR0_SDSTP2,Read-Only Equivalent of SDR0_CUST0"
bitfld.long 0x00 30.--31. " MEN    ,Mux_Emac_NDFC_GPIO" "Reserved,EMAC,NDFC,GPIO"
bitfld.long 0x00 29. "   NE     ,NDFC Enable" "-,Enabled"
bitfld.long 0x00 28. "   NBW    ,NDFC Boot Width" "8-bit,16-bit"
textline "                      "
bitfld.long 0x00 24.--27. " NBP    ,NDFC Boot Page Selection" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 22.--23. "         NBAC   ,NDFC Boot Address Selection Cycle" "0,1,2,3"
bitfld.long 0x00 21. "         NARE   ,NDFC Auto Read Disable" "-,Enabled"
textline "                      "
bitfld.long 0x00 20. " NRB    ,NDFC Ready/Busy" "Ready,Busy"
hexmask.long.word 0x00 4.--19. 1. "      NDRSC  ,NDFC Device Reset Counter Value"
bitfld.long 0x00 3. "      NCG0   ,NDFC/EBC Chip select Gating for CS0" "EBC,NDFC"
textline "                      "
bitfld.long 0x00 2. " NCG1   ,NDFC/EBC Chip select Gating for CS1" "EBC,NDFC"
bitfld.long 0x00 1. "       NCG2   ,NDFC/EBC Chip select Gating for CS2" "EBC,NDFC"
bitfld.long 0x00 0. "      NCG3   ,NDFC/EBC Chip select Gating for CS3" "EBC,NDFC"
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4003
line.long 0x00 "SDR0_SDSTP3,Read-Only Equivalent of SDR0_CUST1"
hexmask.long.word 0x00 16.--31. 1. " NDRSC  ,Device Read Count"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4000
line.long 0x00 "SDR0_CUST0,Customer Configuration Register 0"
bitfld.long 0x00 30.--31. " MEN    ,Mux_Emac_NDFC_GPIO" "Reserved,EMAC,NDFC,GPIO"
bitfld.long 0x00 29. "   NE     ,NDFC Enable" "-,Enabled"
bitfld.long 0x00 28. "   NBW    ,NDFC Boot Width" "8-bit,16-bit"
textline "                      "
bitfld.long 0x00 24.--27. " NBP    ,NDFC Boot Page Selection" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 22.--23. "         NBAC   ,NDFC Boot Address Selection Cycle" "0,1,2,3"
bitfld.long 0x00 21. "         NARE   ,NDFC Auto Read Disable" "-,Enabled"
textline "                      "
bitfld.long 0x00 20. " NRB    ,NDFC Ready/Busy" "Ready,Busy"
hexmask.long.word 0x00 4.--19. 1. "      NDRSC  ,NDFC Device Reset Counter Value"
bitfld.long 0x00 3. "      NCG0   ,NDFC/EBC Chip select (enable) gating for CS0" "EBC,NDFC"
textline "                      "
bitfld.long 0x00 2. " NCG1   ,NDFC/EBC Chip select (enable) gating for CS1" "EBC,NDFC"
bitfld.long 0x00 1. "       NCG2   ,NDFC/EBC Chip select (enable) gating for CS2" "EBC,NDFC"
bitfld.long 0x00 0. "      NCG3   ,NDFC/EBC Chip select (enable) gating for CS3" "EBC,NDFC"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4002
line.long 0x00 "SDR0_CUST1,Customer Configuration Register 1"
hexmask.long.word 0x00 16.--31. 1. " NDRSC  ,Device Read Count"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x0100
line.long 0x00 "SDR0_EBC0,EBC Configuration Register"
bitfld.long 0x00 28.--29. " RW     ,ROM Width" "8-bit,16-bit,32-bit,Reserved"
width 0x0B
elif (cpu()=="PPC440GRX")
;IIC Bootstrap Controller
width 13.
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x0040
line.long 0x00 "SDR0_PINSTP,Pin Strapping Register"
bitfld.long 0x00 31. " U0DCD  ,/UART0_DCD Strapping" "Low,High"
bitfld.long 0x00 30. "       U0DSR  ,/UART0_DSR Strapping" "Low,High"
bitfld.long 0x00 29. "      U0CTS  ,/UART0_CTS Strapping" "Low,High"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x0060
line.long 0x00 "SDR0_SDCS0,Serial Device Controller Settings Register"
hexmask.long 0x00 25.--31. 0x2000000 " SBA    ,SEPROM Base Address"
bitfld.long 0x00 1. "   SDC    ,Serial Device Control" "-,Enabled"
bitfld.long 0x00 0. "   SDD    ,Serial Device Detection" "-,Enabled"
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x0020
line.long 0x00 "SDR0_SDSTP0,Serial Device Strap Register 0"
bitfld.long 0x00 31. " ENG    ,Engage" "SysClk,PLL's VCO"
bitfld.long 0x00 30. "  SRC    ,PLL Feedback Source" "PLLOUTA,PLLOUTB"
hexmask.long.word 0x00 17.--26. 1. "   TUNE   ,TUNE bits"
textline "                      "
bitfld.long 0x00 12.--16. " FBDV   ,PLL Feedback Divisor" "32,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x00 8.--11. "         FWDVA  ,PLL Forward Divisor A" "16,1,2,3,4,5,6,7,8,Reserved,10,Reserved,12,Reserved,14,Reserved"
bitfld.long 0x00 5.--7. "  FWDVB  ,PLL Forward Divisor B" "8,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 2.--4. " PRBDV0 ,PLL Primary Divisor B" "8,1,2,3,4,5,6,7"
bitfld.long 0x00 0.--1. "          OPBDV0 ,OPB Clock Divisor 0" "4,1,2,3"
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x0021
line.long 0x00 "SDR0_SDSTP1,Serial Device Strap Register 1"
bitfld.long 0x00 26.--31. " LFBDV  ,PLL Local Feedback Divisor" "64,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 23.--25. "         PERDV0 ,Peripheral Clock Divisor 0" "Reserved,1,2,3,4,Reserved,Reserved,Reserved"
bitfld.long 0x00 21.--22. "         MALDV0 ,MAL Clock Divisor 0" "4,1,2,3"
textline "                      "
bitfld.long 0x00 19.--20. " SPCID0 ,PCI Clock Divisor 0" "4,1,2,3"
bitfld.long 0x00 15.--18. "          TS     ,Timer Setting (4 upper bits of the counter)" "0000,0001,0010,0011,0100,0101,0110,0111,1000,1001,1010,1011,1100,1101,1110,1111"
bitfld.long 0x00 13.--14. "      RW     ,EBC ROM Width" "8 bits,16 bits,32 bits,Reserved"
textline "                      "
bitfld.long 0x00 11.--12. " RL     ,ROM Location" "EBC,PCI,NDFC,Reserved"
bitfld.long 0x00 10. "   PAE    ,PCI Internal Arbiter Enable" "-,Enabled"
bitfld.long 0x00 9. "   PHCE   ,PCI Host Configuration Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 7.--8. " ZMII   ,ZMII Mode" "MII,SMII,Reserved,Reserved"
bitfld.long 0x00 6. "   CTE    ,CPU Trace Enable" "-,Enabled"
bitfld.long 0x00 5. "   Nto1   ,CPU/PLB Ration N/P" "Not N to 1,N to 1"
textline "                      "
bitfld.long 0x00 4. " PAME   ,PCI Asynch Mode Enable" "Reserved,Enabled"
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4001
line.long 0x00 "SDR0_SDSTP2,Read-Only Equivalent of SDR0_CUST0"
bitfld.long 0x00 30.--31. " MEN    ,Mux_Emac_NDFC_GPIO" "Reserved,Reserved,NDFC,GPIO"
bitfld.long 0x00 29. "   NE     ,NDFC Enable" "-,Enabled"
bitfld.long 0x00 28. "   NBW    ,NDFC Boot Width" "8-bit,16-bit"
textline "                      "
bitfld.long 0x00 24.--27. " NBP    ,NDFC Boot Page Selection" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 22.--23. "         NBAC   ,NDFC Boot Address Selection Cycle" "0,1,2,3"
bitfld.long 0x00 21. "         NARE   ,NDFC Auto Read Disable" "-,Enabled"
textline "                      "
bitfld.long 0x00 20. " NRB    ,NDFC Ready/Busy" "-,Enabled"
hexmask.long.word 0x00 4.--19. 1. "    NDRSC  ,NDFC Device Reset Counter Value"
bitfld.long 0x00 3. "      NCG0   ,NDFC/EBC Chip select Gating for CS0" "EBC,NDFC"
textline "                      "
bitfld.long 0x00 2. " NCG1   ,NDFC/EBC Chip select Gating for CS1" "EBC,NDFC"
bitfld.long 0x00 1. "       NCG2   ,NDFC/EBC Chip select Gating for CS2" "EBC,NDFC"
bitfld.long 0x00 0. "      NCG3   ,NDFC/EBC Chip select Gating for CS3" "EBC,NDFC"
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4003
line.long 0x00 "SDR0_SDSTP3,Serial Device Strap Register 3"
hexmask.long.word 0x00 16.--31. 1. " NDRSC  ,Device Read Count"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4000
line.long 0x00 "SDR0_CUST0,Customer Configuration Register 0"
bitfld.long 0x00 30.--31. " MEN    ,Mux_Emac_NDFC_GPIO" "Reserved,Reserved,NDFC,GPIO"
bitfld.long 0x00 29. "   NE     ,NDFC Enable" "-,Enabled"
bitfld.long 0x00 28. "   NBW    ,NDFC Boot Width" "8-bit,16-bit"
textline "                      "
bitfld.long 0x00 24.--27. " NBP    ,NDFC Boot Page Selection" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 22.--23. "         NBAC   ,NDFC Boot Address Selection Cycle" "0,1,2,3"
bitfld.long 0x00 21. "         NARE   ,NDFC Auto Read Disable" "-,Enabled"
textline "                      "
bitfld.long 0x00 20. " NRB    ,NDFC Ready/Busy" "-,Enabled"
hexmask.long.word 0x00 4.--19. 1. "    NDRSC  ,NDFC Device Reset Counter Value"
bitfld.long 0x00 3. "      NCG0   ,NDFC/EBC Chip select (enable) gating for CS0" "EBC,NDFC"
textline "                      "
bitfld.long 0x00 2. " NCG1   ,NDFC/EBC Chip select (enable) gating for CS1" "EBC,NDFC"
bitfld.long 0x00 1. "       NCG2   ,NDFC/EBC Chip select (enable) gating for CS2" "EBC,NDFC"
bitfld.long 0x00 0. "      NCG3   ,NDFC/EBC Chip select (enable) gating for CS3" "EBC,NDFC"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4002
line.long 0x00 "SDR0_CUST1,Customer Configuration Register 1"
hexmask.long.word 0x00 16.--31. 1. " NDRSC  ,Device Read Count"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x0100
line.long 0x00 "SDR0_EBC0,EBC Configuration Register"
bitfld.long 0x00 28.--29. " RW     ,ROM Width" "8-bit,16-bit,32-bit,Reserved"
width 0x0B
elif (cpu()=="PPC440GX")
width 0xD
rgroup dcr:0xf++0x0
saveout dcr:0xe %l 0x40
line.long 0x0 "SDR0_PINSTP,Pin Strapping Register 0"
bitfld.long 0x00 31. " UDCD   ,/UART0_DCD Strapping" "Low,High"
bitfld.long 0x00 30. "        UDSR   ,/UART0_DSR Strapping" "Low,High"
textline "                      "        
bitfld.long 0x00 29. " GTCL   ,GMC1TxCtl Strapping" "Low,High"
rgroup dcr:0xf++0x0
saveout dcr:0xe %l 0x60
line.long 0x0 "SDR0_SDCS,Serial Device Controller Settings Register 0"
hexmask.long.byte 0x00 25.--31. 1. " SBA    ,SEPROM Base Address"
bitfld.long 0x00 1. "          SDC    ,Serial Device Control" "-,Enabled"
textline "                      "        
bitfld.long 0x00 0. " SDD    ,Serial Device Detection" "-,Enabled"
rgroup dcr:0xf++0x0
saveout dcr:0xe %l 0x20
line.long 0x0 "SDR0_SDSTP0,Serial Device Strap Register 0 0"
bitfld.long 0x00 31. " ENG    ,Engage" "SysClk,PLL's VCO"
bitfld.long 0x00 30. "   SRC    ,PLL Feedback Source" "PLLOUTA,PLLOUTB"
textline "                      "
bitfld.long 0x00 27.--29. " SEL    ,Feedback Selection" "PLL output,CPU,Reserved,Reserved,Reserved,PERClk,Reserved,Reserved"
hexmask.long.word 0x00 17.--26. 1. "  TUNE   ,TUNE Bits"
textline "                      "        
bitfld.long 0x00 12.--16. " FBDV   ,PLL Feedback Divisor" "32,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x00 8.--11. "          FWDVA  ,PLL Forward Divisor A" "16,1,2,3,4,5,6,7,8,Reserved,10,Reserved,12,Reserved,14,Reserved"
textline "                      "
bitfld.long 0x00 5.--7. " FWDVB  ,PLL Forward Divisor B" "8,1,2,3,4,5,6,7"
bitfld.long 0x00 2.--4. "           PRBDV0 ,PLL Primary Divisor B 0" "8,1,2,3,4,5,6,7"
textline "                      "        
bitfld.long 0x00 0.--1. " OPBDV0 ,OPB Clock Divisor 0" "4,1,2,3"
rgroup dcr:0xf++0x0
saveout dcr:0xe %l 0x21
line.long 0x0 "SDR0_SDSTP1,Serial Device Strap Register 0 1"
bitfld.long 0x00 26.--31. " LFBDV  ,PLL Local Feedback Divisor" "64,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 24.--25. "        PERDV0 ,Peripheral Clock Divisor 0" "4,1,2,3"
textline "                      "        
bitfld.long 0x00 22.--23. " MALDV0 ,MAL Clock Divisor 0" "4,1,2,3"
bitfld.long 0x00 20.--21. "         RW     ,EBC ROM Width" "8-bit,16-bit,32-bit,Reserved"
textline "                      "
bitfld.long 0x00 19. " EARV   ,ERPN Address Reset Vector" "EBC,PCI"
bitfld.long 0x00 18. "       PAE    ,PCI Arbiter Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 17. " PHCE   ,PCI Host Configuration Enable" "-,Enabled"
bitfld.long 0x00 16. "   PISE   ,PCI Initial Sequence Enable" "-,Enabled"
textline "                      "        
bitfld.long 0x00 15. " PCWE   ,PCI Local CPU Wait Enable" "-,Enabled"
bitfld.long 0x00 11.--14. "   PPIM   ,PCI Inbound Map (PIM) Settings" "-,PIM0 4K,PIM0 1M,PIM0 64M,PIM0 4K prefetch,PIM0 1M prefetch,PIM0 64M prefetch,PIM0 64K/PIM2 16K,PIM0 1M/PIM2 64K,PIM0 64K prefetch/PIM2 16K,PIM0 1M prefetch/PIM2 64K,PIM0 64K/PIM2 64K prefetch,PIM0 1M/PIM2 1Mp,PIM0 1M prefetch/PIM2 1M prefetch,PIM0 1M/PIM1 on,PIM0 1M/PIM1 on/PIM2 16K"
textline "                      "
bitfld.long 0x00 10. " PR64E  ,PCI initialize Req64 Enable" "-,Enabled"
bitfld.long 0x00 8.--9. "   PXFS   ,PCIX Frequency Selection" "100-133 MHz,66-100 MHz,50-66 MHz,Reserved"
textline "                      "
bitfld.long 0x00 6. " PDM    ,PCIX Driver Mode" "PCI,PCIX"
bitfld.long 0x00 3.--5. "      EPS    ,Ethernet Pin Selection" "MII,RMII[1:0],SMII[3:0],RMII0|RGMII0/RTBI0,SMII[1:0]|RGMII[1:0]/RTBI[1:0]|GMII/TBI,SMII[2:0]|RGMII1/RTBI1,SMII[1:0]|RGMII0/RTBI0,Reserved"
textline "                      "        
bitfld.long 0x00 2. " RMII   ,RMII Mode" "100 MBit,10 MBit"
bitfld.long 0x00 1. "  TRE    ,GPIO Trace Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 0. " Nto1   ,CPU:PLB N to 1 clock ratio" "N:P>1,N:1"
rgroup dcr:0xf++0x0
saveout dcr:0xe %l 0x4001
line.long 0x0 "SDR0_SDSTP2,Serial Device Strap Register 0 2"
rgroup dcr:0xf++0x0
saveout dcr:0xe %l 0x4003
line.long 0x0 "SDR0_SDSTP3,Serial Device Strap Register 0 3"
group dcr:0xf++0x0
saveout dcr:0xe %l 0x4000
line.long 0x0 "SDR0_CUST0,Custom Configuration Register 0 0"
group dcr:0xf++0x0
saveout dcr:0xe %l 0x4002
line.long 0x0 "SDR0_CUST1,Custom Configuration Register 0 1"
group dcr:0xf++0x0
saveout dcr:0xe %l 0x100
line.long 0x0 "SDR0_EBC,EBC Configuration Register 0"
bitfld.long 0x00 28.--29. " RW   ,ROM Width" "8-bit,16-bit,32-bit,Reserved"
group dcr:0xf++0x0
saveout dcr:0xe %l 0x1c0
line.long 0x0 "SDR0_XCR,PCIX Control Register 0"
bitfld.long 0x00 31. " PAE  ,PCI Arbiter Enable" "-,Enabled"
bitfld.long 0x00 30. "                            PHCE  ,PCI Host Configuration Enable" "-,Enabled"
textline "                      "        
bitfld.long 0x00 29. " PISE ,PCI Initial Sequence Enable" "-,Enabled"
bitfld.long 0x00 28. "                            PCWE  ,PCI local CPU Wait Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 24.--27. " PPIM ,PCI Inbound Map (PIM) Settings" "-,PIM0 4K,PIM0 1M,PIM0 64M,PIM0 4K prefetch,PIM0 1M prefetch,PIM0 64M prefetch,PIM0 64K/PIM2 16K,PIM0 1M/PIM2 64K,PIM0 64K prefetch/PIM2 16K,PIM0 1M prefetch/PIM2 64K,PIM0 64K/PIM2 64K prefetch,PIM0 1M/PIM2 1M prefetch,PIM0 1M prefetch/PIM2 1M prefetch,PIM0 1M/PIM1 on,PIM0 1M/PIM1 on/PIM2 16K"
bitfld.long 0x00 23. "  PR64E ,PCI initialize /Req64 Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 21.--22. " PXFS ,PCIX Frequency Selection" "100-133 MHz,66-100 MHz,50-66 MHz,Reserved"
bitfld.long 0x00 19. "                        PDM   ,PCIX Driver Mode" "PCI,PCIX"
width 0xB
elif (cpu()=="PPC440EP")
;IIC Bootstrap Controller
width 12.
rgroup dcr:0x000F++0x00
out dcr:0x000E %l 0x0040
line.long 0x00 "SDR0_PINSTP,Pin Strapping Register"
bitfld.long 0x00 31. " U0DCD ,UART0_DCD Strapping" "Low,High"
bitfld.long 0x00 30. "       U0DSR  ,UART0_DSR Strapping" "Low,High"
bitfld.long 0x00 29. "      U0CTS  ,UART0_CTS Strapping" "Low,High"
group dcr:0x000F++0x00
out dcr:0x000E %l 0x0060
line.long 0x00 "SDR0_SDCS0,Serial Device Controller Settings Register"
hexmask.long.byte 0x00 25.--31. 4. " SBA   ,SEPROM Base Address"
bitfld.long 0x00 1. "         SDC    ,Serial Device Control" "-,Enabled"
bitfld.long 0x00 0. "   SDD    ,Serial Device Detection" "-,Enabled"
rgroup dcr:0x000F++0x00
out dcr:0x000E %l 0x0020
line.long 0x00 "SDR0_SDSTP0,Serial Device Strap Register 0"
bitfld.long 0x00 31. " ENG   ,Engage" "SysClk,PLL's VCO"
bitfld.long 0x00 30. "  SRC    ,PLL Feedback Source" "PLLOUTA,PLLOUTB"
hexmask.long.word 0x00 17.--26. 1. "   TUNE   ,TUNE bits"
bitfld.long 0x00 12.--16. "      FBDV   ,PLL Feedback Divisor" "32,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
textline "                     "
bitfld.long 0x00 8.--11. " FWDVA ,PLL Forward Divisor A" "16,1,2,3,4,5,6,7,8,Reserved,10,Reserved,12,Reserved,14,Reserved"
bitfld.long 0x00 5.--7. "   FWDVB  ,PLL Forward Divisor B" "8,1,2,3,4,5,6,7"
bitfld.long 0x00 2.--4. "         PRBDV0 ,PLL Primary Divisor B" "8,1,2,3,4,5,6,7"
bitfld.long 0x00 0.--1. "         OPBDV0 ,OPB Clock Divisor 0" "4,1,2,3"
rgroup dcr:0x000F++0x00
out dcr:0x000E %l 0x0021
line.long 0x00 "SDR0_SDSTP1,Serial Device Strap Register 1"
bitfld.long 0x00 26.--31. " LFBDV ,PLL Local Feedback Divisor" "64,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 23.--25. "         PERDV0 ,Peripheral Clock Divisor 0" "4,1,2,3,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 21.--22. "  MALDV0 ,MAL Clock Divisor 0" "4,1,2,3"
bitfld.long 0x00 19.--20. "         PCIDV0 ,PCI Clock Divisor 0" "4,1,2,3"
textline "                     "
bitfld.long 0x00 15.--18. " TS    ,Timer Setting (4 upper bits of the counter)" "0000,0001,0010,0011,0100,0101,0110,0111,1000,1001,1010,1011,1100,1101,1110,1111"
bitfld.long 0x00 13.--14. "       RW     ,EBC ROM Width" "8 bit,16 bit,32 bit,Reserved"
bitfld.long 0x00 11.--12. "  RL     ,ROM Location" "EBC,PCI,NDFC,Reserved"
bitfld.long 0x00 10. "  PAE    ,PCI Internal Arbiter Enable" "-,Enabled"
textline "                     "
bitfld.long 0x00 9. " PHCE  ,PCI Host Configuration Enable" "-,Enabled"
bitfld.long 0x00 7.--8. "    ZMII   ,ZMII mode" "MII,SMII,RMII 10,RMII 100"
bitfld.long 0x00 6. "  CTE    ,CPU trace enable" "-,Enabled"
bitfld.long 0x00 5. "   Nto1   ,CPU/PLB ration N/P" "Not N to 1,N to 1"
textline "                     "
bitfld.long 0x00 4. " PAME  ,PCI Asynch mode enable" "-,Enabled"
rgroup dcr:0x000F++0x00
out dcr:0x000E %l 0x4001
line.long 0x00 "SDR0_SDSTP2,Read-Only Equivalent of SDR0_CUST0"
bitfld.long 0x00 30.--31. " MEN   ,Mux_Emac_NDFC_GPIO" "Reserved,EMAC,NDFC,GPIO"
bitfld.long 0x00 29. "   NE     ,NDFC Enable" "-,Enabled"
bitfld.long 0x00 28. "   NBW    ,NDFC Boot Width" "8-bit,16-bit"
bitfld.long 0x00 24.--27. "    NBP    ,NDFC Boot Page Selection" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "                     "
bitfld.long 0x00 22.--23. " NBAC  ,NDFC Boot Address Selection Cycle" "0,1,2,3"
bitfld.long 0x00 21. "          NARE   ,NDFC Auto Read Disable" "-,Enabled"
bitfld.long 0x00 20. "   NRB    ,NDFC Ready/Busy" "Ready,Busy"
hexmask.long.word 0x00 4.--19. 1. "     NDRSC  ,NDFC Device Reset Counter Value"
textline "                     "
bitfld.long 0x00 3. " NCG0  ,NDFC/EBC Chip select Gating for CS0" "EBC,NDFC"
bitfld.long 0x00 2. "       NCG1   ,NDFC/EBC Chip select Gating for CS1" "EBC,NDFC"
bitfld.long 0x00 1. "      NCG2   ,NDFC/EBC Chip select Gating for CS2" "EBC,NDFC"
bitfld.long 0x00 0. "      NCG3   ,NDFC/EBC Chip select Gating for CS3" "EBC,NDFC"
rgroup dcr:0x000F++0x00
out dcr:0x000E %l 0x4003
line.long 0x00 "SDR0_SDSTP3,Read-Only Version of SDR0_CUST1"
hexmask.long.word 0x00 17.--31. 1. " NDRSC ,Device Read Count"
group dcr:0x000F++0x00
out dcr:0x000E %l 0x4000
line.long 0x00 "SDR0_CUST0,Customer Configuration Register 0"
bitfld.long 0x00 30.--31. " MEN   ,Mux_Emac_NDFC_GPIO" "Reserved,EMAC,NDFC,GPIO"
bitfld.long 0x00 29. "   NE     ,NDFC Enable" "-,Enabled"
bitfld.long 0x00 28. "   NBW    ,NDFC Boot Width" "8-bit,16-bit"
bitfld.long 0x00 24.--27. "    NBP    ,NDFC Boot Page Selection" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "                     "
bitfld.long 0x00 22.--23. " NBAC  ,NDFC Boot Address Selection Cycle" "0,1,2,3"
bitfld.long 0x00 21. "          NARE   ,NDFC Auto Read Disable" "-,Enabled"
bitfld.long 0x00 20. "   NRB    ,NDFC Ready/Busy" "Ready,Busy"
hexmask.long.word 0x00 4.--19. 1. "     NDRSC  ,NDFC Device Reset Counter Value"
textline "                     "
bitfld.long 0x00 3. " NCG0  ,NDFC/EBC Chip select (enable) gating for CS0" "EBC,NDFC"
bitfld.long 0x00 2. "       NCG1   ,NDFC/EBC Chip select (enable) gating for CS1" "EBC,NDFC"
bitfld.long 0x00 1. "      NCG2   ,NDFC/EBC Chip select (enable) gating for CS2" "EBC,NDFC"
bitfld.long 0x00 0. "      NCG3   ,NDFC/EBC Chip select (enable) gating for CS3" "EBC,NDFC"
group dcr:0x000F++0x00
out dcr:0x000E %l 0x4002
line.long 0x00 "SDR0_CUST1,Customer Configuration Register 1"
hexmask.long.word 0x00 17.--31. 1. " NDRSC ,Device Read Count"
group dcr:0x000F++0x00
out dcr:0x000E %l 0x0100
line.long 0x00 "SDR0_EBC0,EBC Configuration Register"
bitfld.long 0x00 28.--29. " RW    ,ROM Width" "8-bit,16-bit,32-bit,Reserved"
width 0x0B
elif (cpu()=="PPC440SP")
;IIC Bootstrap Controller
width 14.
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x0040
line.long 0x00 "SDR0_PINSTP,Pin Strapping Register"
bitfld.long 0x00 31. " UDCD   ,UART0_DCD Strapping" "Low,High"
bitfld.long 0x00 30. "                       UDSR   ,UART0_DSR Strapping" "Low,High"
bitfld.long 0x00 29. "                       UCTS ,UART0_CTS Strapping" "Low,High"
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x0060
line.long 0x00 "SDR0_SDCS,Serial Device Controller Settings Register"
bitfld.long 0x00 2. " SSIZE  ,Serial ROM Size" "128bit,256bit"
bitfld.long 0x00 1. "                     SDC    ,Serial Device Control" "-,Enabled"
bitfld.long 0x00 0. "                    SDD  ,Serial ROM Detection" "-,Enabled"
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x0020
line.long 0x00 "SDR0_SDSTP0,Serial Device Strap Register 0"
bitfld.long 0x00 31. " ENG    ,Engage" "SysClk,PLL's VCO"
bitfld.long 0x00 30. "                  SRC    ,CPU PLL Feedback Source" "PLLOUTA,PLLOUTB"
textline "                       "
bitfld.long 0x00 27.--29. " SEL    ,CPU PLL Feedback Selection" "PLL output,CPU,Reserved,Reserved,Reserved,PERClk,Reserved,Reserved"
hexmask.long.word 0x00 17.--26. 1. "                 TUNE   ,CPU PLL TUNE bits"
textline "                       "
bitfld.long 0x00 12.--16. " FBDV   ,CPU PLL Feedback Divisor" "32,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x00 8.--11. "                         FWDVA  ,CPU PLL Forward Divisor A" "16,1,2,3,4,5,6,7,8,Reserved,10,Reserved,12,Reserved,14,Reserved"
textline "                       "
bitfld.long 0x00 5.--7. " FWDVB  ,CPU PLL Forward Divisor B" "8,1,2,3,4,5,6,7"
bitfld.long 0x00 2.--4. "                          PRBDV0 ,PLL Primary Divisor B" "8,1,2,3,4,5,6,7"
textline "                       "
bitfld.long 0x00 0.--1. " OPBDV0 ,OPB Clock Divisor 0" "4,1,2,3"
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x0021
line.long 0x00 "SDR0_SDSTP1,Serial Device Strap Register 1"
bitfld.long 0x00 26.--31. " LFBDV  ,CPU PLL Local Feedback Divisor" "64,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 24.--25. "                         PERDV0 ,Peripheral Clock Divisor 0" "4,1,2,3"
textline "                       "
bitfld.long 0x00 22.--23. " MALDV0 ,MAL Clock Divisor 0" "4,1,2,3"
bitfld.long 0x00 20.--21. "                          DDRM   ,DDR PLL Mode: DDR:PLB Clock ratio" "Reserved,1:1,2:1,Reserved"
textline "                       "
bitfld.long 0x00 19. " EARV   ,ERPN Address Reset Vector" "EBC,PCI"
bitfld.long 0x00 18. "                        PAE0   ,PCIX-0 Arbiter Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 17. " PHCE0  ,PCIX-0 Host Configuration Enable" "-,Enabled"
bitfld.long 0x00 16. "                    PISE0  ,PCIX-0 Initial Sequence Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 15. " PCWE0  ,PCIX-0 Local CPU Wait Enable" "-,Enabled"
bitfld.long 0x00 11.--14. "                    PPIM0  ,PCIX-0 Inbound Map (PIM0/PIM1/PIM2) Settings" "Off/off/off,4K/off/off,1M/off/off,64M/off/off,4Kprefetch/off/off,1Mprefetch/off/off,64Mprefetch/off/off,64K/off/16k,1M/off/64k,64Kprefetch/off/16k,1Mprefetch/off/64K,64K/off/64Kprefetch,1M/off/1M,1Mprefetch/off/1Mprefetch,1M/on/off,1M/on/16K"
textline "                       "
bitfld.long 0x00 10. " PR64E0 ,PCIX-0 Initialize Req64 Enable" "-,Enabled"
bitfld.long 0x00 8.--9. "                    PXFS0  ,PCIX-0 Frequency Selection" "100-133MHz,66-100MHz,50-66MHz,0-33MHz"
textline "                       "
bitfld.long 0x00 4.--5. " DBG    ,Debug Mode" "Functional,CPU trace,Reserved,Reserved"
bitfld.long 0x00 2. "                 EM     ,Ethernet Mode" "10/100,1000"
textline "                       "
bitfld.long 0x00 0. " Nto1   ,CPU/PLB ration N/P" "Not N to 1,N to 1"
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x0022
line.long 0x00 "SDR0_SDSTP2,Serial Device Strap Register 2"
bitfld.long 0x00 31. " PAE1   ,PCIX-1 Arbiter Enable" "-,Enabled"
bitfld.long 0x00 30. "                    PHCE1  ,PCIX-1 Host Configuration Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 29. " PISE1  ,PCIX-1 Initial Sequence Enable" "-,Enabled"
bitfld.long 0x00 28. "                    PCWE1  ,PCIX-1 Local CPU Wait Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 24.--27. " PPIM1  ,PCIX-1 Inbound Map (PIM0/PIM1/PIM2) Settings" "Off/off/off,4K/off/off,1M/off/off,64M/off/off,4Kprefetch/off/off,1Mprefetch/off/off,64Mprefetch/off/off,64K/off/16k,1M/off/64k,64Kprefetch/off/16k,1Mprefetch/off/64K,64K/off/64Kprefetch,1M/off/1M,1Mprefetch/off/1Mprefetch,1M/on/off,1M/on/16K"
bitfld.long 0x00 23. "  PR64E1 ,PCIX-1 Initialize Req64 Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 21.--22. " PXFS1  ,PCIX-1 Frequency Selection" "100-133MHz,66-100MHz,50-66MHz,0-33MHz"
bitfld.long 0x00 18. "                 PAE2   ,PCIX-2 Arbiter Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 17. " PHCE2  ,PCIX-2 Host Configuration Enable" "-,Enabled"
bitfld.long 0x00 16. "                    PISE2  ,PCIX-2 Initial Sequence Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 15. " PCWE2  ,PCIX-2 Local CPU Wait Enable" "-,Enabled"
bitfld.long 0x00 11.--14. "                    PPIM2  ,PCIX-2 Inbound Map (PIM0/PIM1/PIM2) Settings" "Off/off/off,4K/off/off,1M/off/off,64M/off/off,4Kprefetch/off/off,1Mprefetch/off/off,64Mprefetch/off/off,64K/off/16k,1M/off/64k,64Kprefetch/off/16k,1Mprefetch/off/64K,64K/off/64Kprefetch,1M/off/1M,1Mprefetch/off/1Mprefetch,1M/on/off,1M/on/16K"
textline "                       "
bitfld.long 0x00 9.--10. " PXFS2  ,PCIX-2 Frequency Selection" "100-133MHz,66-100MHz,50-66MHz,0-33MHz"
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x0023
line.long 0x00 "SDR0_SDSTP3,Serial Device Strap Register 3"
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x00E1
line.long 0x00 "SDR0_DDRD0,SDRAM DDR Configuration Register"
bitfld.long 0x00 31. " PLLRST ,DDR PLL Reset" "-,Reset"
bitfld.long 0x00 29.--30. "                      DDRM   ,DDR:PLB Clock Ratio" "Reserved,1:1,2:1,Reserved"
hexmask.long 0x00 0.--9. 1. "                   DTB  ,Tune Bits"
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4001
line.long 0x00 "SDR0_SDSTP4,Serial Device Strap Register 4"
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4003
line.long 0x00 "SDR0_SDSTP5,Serial Device Strap Register 5"
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4005
line.long 0x00 "SDR0_SDSTP6,Serial Device Strap Register 6"
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4007
line.long 0x00 "SDR0_SDSTP7,Serial Device Strap Register 7"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4000
line.long 0x00 "SDR0_CUST0,Customer Configuration Register 0"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4002
line.long 0x00 "SDR0_CUST1,Customer Configuration Register 1"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4004
line.long 0x00 "SDR0_CUST2,Customer Configuration Register 2"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4006
line.long 0x00 "SDR0_CUST3,Customer Configuration Register 3"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x01C0
line.long 0x00 "SDR0_XCR0,PCIX0 Control Register 0"
bitfld.long 0x00 31. " PAE    ,PCI-X 0 Arbiter Enable" "-,Enabled"
bitfld.long 0x00 30. "                    PHCE   ,PCI-X 0 Host Configuration Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 29. " PISE   ,PCI-X 0 Initial Sequence Enable" "-,Enabled"
bitfld.long 0x00 28. "                    PCWE   ,PCI-X 0 Local CPU Wait Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 24.--27. " PPIM   ,PCI-X 0 Inbound Map (PIM0/PIM1/PIM2) Settings" "Off/off/off,4K/off/off,1M/off/off,64M/off/off,4Kprefetch/off/off,1Mprefetch/off/off,64Mprefetch/off/off,64K/off/16k,1M/off/64k,64Kprefetch/off/16k,1Mprefetch/off/64K,64K/off/64Kprefetch,1M/off/1M,1Mprefetch/off/1Mprefetch,1M/on/off,1M/on/16K"
bitfld.long 0x00 23. "  PR64E  ,PCI-X 0 Initialize Req64 Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 21.--22. " PXFS   ,PCI-X 0 Frequency Selection" "100-133MHz,66-100MHz,50-66MHz,0-33MHz"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x01C3
line.long 0x00 "SDR0_XCR1,PCIX1 Control Register 1"
bitfld.long 0x00 31. " PAE    ,PCI-X 1 Arbiter Enable" "-,Enabled"
bitfld.long 0x00 30. "                    PHCE   ,PCI-X 1 Host Configuration Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 29. " PISE   ,PCI-X 1 Initial Sequence Enable" "-,Enabled"
bitfld.long 0x00 28. "                    PCWE   ,PCI-X 1 Local CPU Wait Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 24.--27. " PPIM   ,PCI-X 1 Inbound Map (PIM0/PIM1/PIM2) Settings" "Off/off/off,4K/off/off,1M/off/off,64M/off/off,4Kprefetch/off/off,1Mprefetch/off/off,64Mprefetch/off/off,64K/off/16k,1M/off/64k,64Kprefetch/off/16k,1Mprefetch/off/64K,64K/off/64Kprefetch,1M/off/1M,1Mprefetch/off/1Mprefetch,1M/on/off,1M/on/16K"
bitfld.long 0x00 23. "  PR64E  ,PCI-X 1 Initialize Req64 Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 21.--22. " PXFS   ,PCI-X 1 Frequency Selection" "100-133MHz,66-100MHz,50-66MHz,0-33MHz"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x01C6
line.long 0x00 "SDR0_XCR2,PCIX2 Control Register 2"
bitfld.long 0x00 31. " PAE    ,PCI-X 2 Arbiter Enable" "-,Enabled"
bitfld.long 0x00 30. "                    PHCE   ,PCI-X 2 Host Configuration Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 29. " PISE   ,PCI-X 2 Initial Sequence Enable" "-,Enabled"
bitfld.long 0x00 28. "                    PCWE   ,PCI-X 2 Local CPU Wait Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 24.--27. " PPIM   ,PCI-X 2 Inbound Map (PIM0/PIM1/PIM2) Settings" "Off/off/off,4K/off/off,1M/off/off,64M/off/off,4Kprefetch/off/off,1Mprefetch/off/off,64Mprefetch/off/off,64K/off/16k,1M/off/64k,64Kprefetch/off/16k,1Mprefetch/off/64K,64K/off/64Kprefetch,1M/off/1M,1Mprefetch/off/1Mprefetch,1M/on/off,1M/on/16K"
bitfld.long 0x00 21.--22. "  PXFS   ,PCI-X 2 Frequency Selection" "100-133MHz,66-100MHz,50-66MHz,0-33MHz"
width 0x0B
elif (cpu()=="PPC440SPE")
;IIC Bootstrap Controller
width 14.
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x0040
line.long 0x00 "SDR0_PINSTP,Pin Strapping Register"
bitfld.long 0x00 31. " UDCD       ,/UART0_DCD Strapping" "Low,High"
bitfld.long 0x00 30. "        UDSR       ,/UART0_DSR Strapping" "Low,High"
textline "                       "
bitfld.long 0x00 29. " UCTS       ,/UART0_CTS Strapping" "Low,High"
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x0060
line.long 0x00 "SDR0_SDCS,Serial Device Controller Settings Register"
hexmask.long.byte 0x00 25.--31. 1. " SBA        ,Serial ROM Base Address"
bitfld.long 0x00 2. "          SSIZE      ,Serial ROM Size" "128bit,256bit"
textline "                       "
bitfld.long 0x00 1. " SDC        ,Serial Device Control" "-,Enabled"
bitfld.long 0x00 0. "     SDD        ,Serial ROM Detection" "-,Enabled"
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x0020
line.long 0x00 "SDR0_SDSTP0,Serial Device Strap Register 0"
bitfld.long 0x00 31. " ENG        ,Engage" "SysClk,PLL's VCO"
bitfld.long 0x00 30. "   SRC        ,CPU PLL Feedback Source" "PLLOUTA,PLLOUTB"
textline "                       "
bitfld.long 0x00 27.--29. " SEL        ,CPU PLL Feedback Selection" "PLL output,CPU,Reserved,Reserved,Reserved,PERClk,Reserved,Reserved"
hexmask.long.word 0x00 17.--26. 1. "  TUNE       ,CPU PLL TUNE bits"
textline "                       "
bitfld.long 0x00 12.--16. " FBDV       ,CPU PLL Feedback Divisor" "32,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x00 8.--11. "          FWDVA      ,CPU PLL Forward Divisor A" "16,1,2,3,4,5,6,7,8,Reserved,10,Reserved,12,Reserved,14,Reserved"
textline "                       "
bitfld.long 0x00 5.--7. " FWDVB      ,CPU PLL Forward Divisor B" "8,1,2,3,4,5,6,7"
bitfld.long 0x00 2.--4. "           PRBDV0     ,PLL Primary Divisor B" "8,1,2,3,4,5,6,7"
textline "                       "
bitfld.long 0x00 0.--1. " OPBDV0     ,OPB Clock Divisor 0" "4,1,2,3"
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x0021
line.long 0x00 "SDR0_SDSTP1,Serial Device Strap Register 1"
bitfld.long 0x00 26.--31. " LFBDV      ,CPU PLL Local Feedback Divisor" "64,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 24.--25. "          PERDV0     ,Peripheral Clock Divisor 0" "4,1,2,3"
textline "                       "
bitfld.long 0x00 22.--23. " MALDV0     ,MAL Clock Divisor 0" "4,1,2,3"
bitfld.long 0x00 20.--21. "           DDRM       ,DDR PLL Mode: DDR:PLB Clock ratio" "Reserved,1:1,2:1,Reserved"
textline "                       "
bitfld.long 0x00 19. " EARV       ,ERPN Address Reset Vector" "EBC,PCI"
bitfld.long 0x00 18. "         PAE0       ,PCIX-0 Arbiter Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 17. " PHCE0      ,PCIX-0 Host Configuration Enable" "-,Enabled"
bitfld.long 0x00 16. "     PISE0      ,PCIX-0 Initial Sequence Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 15. " PCWE0      ,PCIX-0 Local CPU Wait Enable" "-,Enabled"
bitfld.long 0x00 11.--14. "     PPIM0      ,PCIX-0 Inbound Map (PIM0/PIM1/PIM2) Settings" "Off/off/off,4K/off/off,1M/off/off,64M/off/off,4Kprefetch/off/off,1Mprefetch/off/off,64Mprefetch/off/off,64K/off/16k,1M/off/64k,64Kprefetch/off/16k,1Mprefetch/off/64K,64K/off/64Kprefetch,1M/off/1M,1Mprefetch/off/1Mprefetch,1M/on/off,1M/on/16K"
textline "                       "
bitfld.long 0x00 10. " PR64E0     ,PCIX-0 Initialize Req64 Enable" "-,Enabled"
bitfld.long 0x00 8.--9. "     PXFS0      ,PCIX-0 Frequency Selection" "100-133MHz,66-100MHz,50-66MHz,0-33MHz"
textline "                       "
bitfld.long 0x00 7. " EBCW       ,EBC Data Width" "8 bits,16 bits"
bitfld.long 0x00 5.--6. "     BTRMS      ,Boot ROM Size" "2 MB,4 MB,8 MB,16 MB"
textline "                       "
bitfld.long 0x00 4. " DBG        ,Debug Mode" "Functional,CPU trace"
bitfld.long 0x00 2. "  EM         ,Ethernet Mode" "10/100,1000"
textline "                       "
bitfld.long 0x00 0. " NTO1       ,CPU/PLB ration N/P" "Not N to 1,N to 1"
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x0022
line.long 0x00 "SDR0_SDSTP2,Serial Device Strap Register 2"
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x0023
line.long 0x00 "SDR0_SDSTP3,Serial Device Strap Register 3"
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4001
line.long 0x00 "SDR0_SDSTP4,Serial Device Strap Register 4"
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4003
line.long 0x00 "SDR0_SDSTP5,Serial Device Strap Register 5"
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4005
line.long 0x00 "SDR0_SDSTP6,Serial Device Strap Register 6"
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4007
line.long 0x00 "SDR0_SDSTP7,Serial Device Strap Register 7"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4000
line.long 0x00 "SDR0_CUST0,Customer Configuration Register 0"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4002
line.long 0x00 "SDR0_CUST1,Customer Configuration Register 1"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4004
line.long 0x00 "SDR0_CUST2,Customer Configuration Register 2"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4006
line.long 0x00 "SDR0_CUST3,Customer Configuration Register 3"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x00E0
line.long 0x00 "SDR0_DDRCE,SDRAM DDR Clock Output Enable Register"
bitfld.long 0x00 28. " MEMCLKOUT0 ,MemClkOut0 SDRAM DDR Clock Signal Enable" "-,Enabled"
bitfld.long 0x00 24. "     MEMCLKOUT1 ,MemClkOut1 SDRAM DDR Clock Signal Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 20. " MEMCLKOUT2 ,MemClkOut2 SDRAM DDR Clock Signal Enable" "-,Enabled"
bitfld.long 0x00 16. "     MEMCLKOUT3 ,MemClkOut3 SDRAM DDR Clock Signal Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 12. " MEMCLKOUT4 ,MemClkOut4 SDRAM DDR Clock Signal Enable" "-,Enabled"
bitfld.long 0x00 8. "     MEMCLKOUT5 ,MemClkOut5 SDRAM DDR Clock Signal Enable" "-,Enabled"
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x00E1
line.long 0x00 "SDR0_DDRD0,SDRAM DDR Configuration Register"
bitfld.long 0x00 31. " PLLRST     ,DDR PLL Reset" "-,Reset"
bitfld.long 0x00 29.--30. "       DDRM       ,DDR:PLB Clock Ratio" "Reserved,1:1,2:1,Reserved"
textline "                       "
hexmask.long.word 0x00 0.--9. 1. " DTB        ,Tune Bits"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x0100
line.long 0x00 "SDR0_EBC0,EBC Configuration Register"
bitfld.long 0x00 28. " EDW        ,EBC Data Width" "8-bit,16-bit"
bitfld.long 0x00 12.--14. "      BRS        ,Boot ROM Size" "Reserved,2 MB,4 MB,8 MB,16 MB,Reserved,Reserved,Reserved"
textline "                       "
hexmask.long.word 0x00 0.--11. 1. " BRBA       ,Boot ROM Base Address per Boot ROM Size"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x01C0
line.long 0x00 "SDR0_XCR0,PCIX0 Control Register 0"
bitfld.long 0x00 31. " PAE  ,PCI-X 0 Arbiter Enable" "-,Enabled"
bitfld.long 0x00 30. "                    PHCE  ,PCI-X 0 Host Configuration Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 29. " PISE ,PCI-X 0 Initial Sequence Enable" "-,Enabled"
bitfld.long 0x00 28. "                    PCWE  ,PCI-X 0 Local CPU Wait Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 24.--27. " PPIM ,PCI-X 0 Inbound Map (PIM) Settings" "Off/off/off,4K/off/off,1M/off/off,64M/off/off,4Kprefetch/off/off,1Mprefetch/off/off,64Mprefetch/off/off,64K/off/16k,1M/off/64k,64Kprefetch/off/16k,1Mprefetch/off/64K,64K/off/64Kprefetch,1M/off/1M,1Mprefetch/off/1Mprefetch,1M/on/off,1M/on/16K"
bitfld.long 0x00 23. "  PR64E ,PCI-X 0 Initialize Req64 Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 21.--22. " PXFS ,PCI-X 0 Frequency Selection" "100-133MHz,66-100MHz,50-66MHz,0-33MHz"
width 0x0B
elif (cpu()=="PPC440GP")
width 12.
group dcr:0x0e0++0xf
line.long 0x00 "CPC0_SYS0,System Configuration Register 0"
hexmask.long.word 0x00 22.--31. 1. " TUNE ,System PLL TUNE bits"
bitfld.long       0x00 18.--21.   "        FBDV   ,PLL Feedback Divisor" "16,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long       0x00 15.--17.   "          FWDVA  ,PLL Forward Divisor A" "8,7,6,5,4,3,2,1"
bitfld.long       0x00 12.--14.   "             FWDVB ,PLL Forward Divisor B" "8,7,6,5,4,3,2,Reserved"
textline "                     "
bitfld.long       0x00 10.--11.   " OPDV ,PLB to OPB Clock Divisor Ratio" "1,2,3,4"
bitfld.long       0x00  8.--9.    "           EPDV   ,EBCO to OPB Clock Divisor Ratio" "1,2,3,4"
bitfld.long       0x00  7.        "           EXTSL  ,EBC0 clock (PerClk) Feedback Path Selection" "CPU clock,EBC0 clock"
bitfld.long       0x00  5.--6.    "    RW    ,ROM Width" "8-bit,16-bit,Reserved,32-bit"
textline "                     "
bitfld.long       0x00  4.        " RL   ,ROM Location" "EBC0,PCI"
bitfld.long       0x00  2.--3.    "        ZMIISL ,ZMII Selection" "MII,SMII,MRII 10Mb,MRII 100Mb"
bitfld.long       0x00  1.        "  BYPASS ,Bypass System PLL" "-,Bypass"
bitfld.long       0x00  0.        "        NTO1  ,PLB N to 1 clock ratio" "N:(>1),N:1"
line.long 0x04 "CPC0_SYS1,System Configuration Register 1"
hexmask.long.word 0x04 22.--31. 1. " TUNE ,PCI PLL TUNE Bits"
bitfld.long       0x04 21.      "        BYPASS ,Bypass PCI PLL" "-,Bypassed"
bitfld.long       0x04 20.      "    PAE    ,PCI Arbiter Enable" "-,Enabled"
bitfld.long       0x04 19.      "       PHCE  ,PCI host configuration enable" "-,Enabled"
textline "                     "
bitfld.long       0x04 18.      " PISE ,PCI initial sequence enable" "-,Enabled"
bitfld.long       0x04 17.      "     PCWE   ,PCI local CPU wait enable" "-,Enabled"
bitfld.long       0x04 13.--16.   "     PPIM   ,PCI Inbound Map (PIM0/PIM1/PIM2) Settings" "off/off/off,4k/off/off,1M/off/off,64M/off/off,4kp/off/off,1Mp/off/off,64Mp/off/off,64k/off/16k,1M/off/64k,64kp/off/16k,1Mp/off/64k,64k/off/64Kp,1M/off/1Mp,1Mp/off/1Mp,1M/on/off,1M/on/16k"
bitfld.long       0x04 12.        "  PR64E ,PCI initialize Req64 Enable" "-,Enabled"
textline "                     "
bitfld.long      0x04 10.--11.   " PXFS ,PCIX Frequency Selection" "100-133MHz,66-100MHz,50-66MHz,Reserved"
bitfld.long       0x04  8.        "  PQXDE  ,Quick PCIX capable detect enable" "-,Enabled"
bitfld.long       0x04  6.        "     TUNEEN ,Custom PCI Tune Bit Enable" "-,Enabled"
line.long 0x08 "CPC0_CUST0,Customer Configuration Register 0 (Reserved)"
line.long 0x0c "CPC0_CUST1,Customer Configuration Register 1 (Reserved)"
rgroup dcr:0x0e4++0xf
line.long 0x00 "CPC0_STRP0,Power-On Configuration Register 0"
hexmask.long.word 0x00 22.--31. 1. " TUNE ,System PLL TUNE bits"
bitfld.long       0x00 18.--21.   "        FBDV   ,PLL Feedback Divisor" "16,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long       0x00 15.--17.   "          FWDVA  ,PLL Forward Divisor A" "8,7,6,5,4,3,2,1"
bitfld.long       0x00 12.--14.   "             FWDVB ,PLL Forward Divisor B" "8,7,6,5,4,3,2,Reserved"
textline "                     "
bitfld.long       0x00 10.--11.   " OPDV ,PLB to OPB Clock Divisor Ratio" "1,2,3,4"
bitfld.long       0x00  8.--9.    "           EPDV   ,EBCO to OPB Clock Divisor Ratio" "1,2,3,4"
bitfld.long       0x00  7.        "           EXTSL  ,EBC0 clock (PerClk) Feedback Path Selection" "CPU clock,EBC0 clock"
bitfld.long       0x00  5.--6.    "    RW    ,ROM Width" "8-bit,16-bit,Reserved,32-bit"
textline "                     "
bitfld.long       0x00  4.        " RL   ,ROM Location" "EBC0,PCI"
bitfld.long       0x00  2.--3.    "        ZMIISL ,ZMII Selection" "MII,SMII,MRII 10Mb,MRII 100Mb"
bitfld.long       0x00  1.        "  BYPASS ,Bypass System PLL" "-,Bypassed"
bitfld.long       0x00  0.        "      NTO1  ,PLB N to 1 clock ratio" "N:(>1),N:1"
line.long 0x04 "CPC0_STRP1,Power-On Configuration Register 1"
hexmask.long.word 0x04 22.--31. 1. " TUNE ,PCI PLL TUNE Bits"
bitfld.long       0x04 21.      "        BYPASS ,Bypass PCI PLL" "-,Bypassed"
bitfld.long       0x04 20.      "    PAE    ,PCI Arbiter Enable" "-,Enabled"
bitfld.long       0x04 19.      "       PHCE  ,PCI host configuration enable" "-,Enabled"
textline "                     "
bitfld.long       0x04 18.      " PISE ,PCI initial sequence enable" "-,Enabled"
bitfld.long       0x04 17.      "     PCWE   ,PCI local CPU wait enable" "-,Enabled"
bitfld.long       0x04 13.--16.   "     PPIM   ,PCI Inbound Map (PIM0/PIM1/PIM2) Settings" "off/off/off,4k/off/off,1M/off/off,64M/off/off,4kp/off/off,1Mp/off/off,64Mp/off/off,64k/off/16k,1M/off/64k,64kp/off/16k,1Mp/off/64k,64k/off/64Kp,1M/off/1Mp,1Mp/off/1Mp,1M/on/off,1M/on/16k"
bitfld.long       0x04 12.        "  PR64E ,PCI initialize Req64 Enable" "-,Enabled"
textline "                     "
bitfld.long      0x04 10.--11.   " PXFS ,PCIX Frequency Selection" "100-133MHz,66-100MHz,50-66MHz,Reserved"
bitfld.long       0x04  8.        "  PQXDE  ,Quick PCIX capable detect enable" "-,Enabled"
line.long 0x08 "CPC0_STRP2,Power-On Configuration Register 2 (Reserved)"
line.long 0x0c "CPC0_STRP3,Power-On Configuration Register 3 (Reserved)"
endif
tree.end
tree.open "UIC (Universal Interrupt Controller)"
sif (cpu()=="PPC440EPX")
;Universal Interrupt Controller
width 10.
tree "UIC0"
group.long dcr:0x0C0--0x0C6
textline "              UIC0_SR   UIC0_ER   UIC0_CR   UIC0_PR   UIC0_TR   UIC0_MSR"
textline "         "
hexmask.long 0x00 00.--31. 1. "     ,UIC0 Status Register"
hexmask.long 0x08 00.--31. 1. "  ,UIC0 Enable Register"
hexmask.long 0x0c 00.--31. 1. "  ,UIC0 Critical Register"
hexmask.long 0x10 00.--31. 1. "  ,UIC0 Polarity Register"
hexmask.long 0x14 00.--31. 1. "  ,UIC0 Trigger Register"
hexmask.long 0x18 00.--31. 1. "  ,UIC0 Masked Status Register"
textline "   U0        "
eventfld.long 0x00 31. " ,UART0 Interrupt" "-,Occurred"
bitfld.long 0x08 31. "  ,UART0 Interrupt" "-,Enabled"
bitfld.long 0x0c 31. "   ,UART0 Interrupt" "-,Critical"
bitfld.long 0x10 31. "  ,UART0 Interrupt" "Negative,Positive"
bitfld.long 0x14 31. "  ,UART0 Interrupt" "Level,Edge"
bitfld.long 0x18 31. "     ,UART0 Interrupt" "-,Occurred"
textline "   U1        "
eventfld.long 0x00 30. " ,UART1 Interrupt" "-,Occurred"
bitfld.long 0x08 30. "  ,UART1 Interrupt" "-,Enabled"
bitfld.long 0x0c 30. "   ,UART1 Interrupt" "-,Critical"
bitfld.long 0x10 30. "  ,UART1 Interrupt" "Negative,Positive"
bitfld.long 0x14 30. "  ,UART1 Interrupt" "Level,Edge"
bitfld.long 0x18 30. "     ,UART1 Interrupt" "-,Occurred"
textline "   IIC0      "
eventfld.long 0x00 29. " ,IIC0 Interrupt" "-,Occurred"
bitfld.long 0x08 29. "  ,IIC0 Interrupt" "-,Enabled"
bitfld.long 0x0c 29. "   ,IIC0 Interrupt" "-,Critical"
bitfld.long 0x10 29. "  ,IIC0 Interrupt" "Negative,Positive"
bitfld.long 0x14 29. "  ,IIC0 Interrupt" "Level,Edge"
bitfld.long 0x18 29. "     ,IIC0 Interrupt" "-,Occurred"
textline "   KRD       "
eventfld.long 0x00 28. " ,Kasumi Ready for Data Interrupt" "-,Occurred"
bitfld.long 0x08 28. "  ,Kasumi Ready for Data Interrupt" "-,Enabled"
bitfld.long 0x0c 28. "   ,Kasumi Ready for Data Interrupt" "-,Critical"
bitfld.long 0x10 28. "  ,Kasumi Ready for Data Interrupt" "Negative,Positive"
bitfld.long 0x14 28. "  ,Kasumi Ready for Data Interrupt" "Level,Edge"
bitfld.long 0x18 28. "     ,Kasumi Ready for Data Interrupt" "-,Occurred"
textline "   KDA       "
eventfld.long 0x00 27. " ,Kasumi Data Available Interrupt" "-,Occurred"
bitfld.long 0x08 27. "  ,Kasumi Data Available Interrupt" "-,Enabled"
bitfld.long 0x0c 27. "   ,Kasumi Data Available Interrupt" "-,Critical"
bitfld.long 0x10 27. "  ,Kasumi Data Available Interrupt" "Negative,Positive"
bitfld.long 0x14 27. "  ,Kasumi Data Available Interrupt" "Level,Edge"
bitfld.long 0x18 27. "     ,Kasumi Data Available Interrupt" "-,Occurred"
textline "   PCRW      "
eventfld.long 0x00 26. " ,PCI Command Register Write Interrupt" "-,Occurred"
bitfld.long 0x08 26. "  ,PCI Command Register Write Interrupt" "-,Enabled"
bitfld.long 0x0c 26. "   ,PCI Command Register Write Interrupt" "-,Critical"
bitfld.long 0x10 26. "  ,PCI Command Register Write Interrupt" "Negative,Positive"
bitfld.long 0x14 26. "  ,PCI Command Register Write Interrupt" "Level,Edge"
bitfld.long 0x18 26. "     ,PCI Command Register Write Interrupt" "-,Occurred"
textline "   PPM       "
eventfld.long 0x00 25. " ,PCI Power Management Interrupt" "-,Occurred"
bitfld.long 0x08 25. "  ,PCI Power Management Interrupt" "-,Enabled"
bitfld.long 0x0c 25. "   ,PCI Power Management Interrupt" "-,Critical"
bitfld.long 0x10 25. "  ,PCI Power Management Interrupt" "Negative,Positive"
bitfld.long 0x14 25. "  ,PCI Power Management Interrupt" "Level,Edge"
bitfld.long 0x18 25. "     ,PCI Power Management Interrupt" "-,Occurred"
textline "   IIC1      "
eventfld.long 0x00 24. " ,IIC1 Interrupt" "-,Occurred"
bitfld.long 0x08 24. "  ,IIC1 Interrupt" "-,Enabled"
bitfld.long 0x0c 24. "   ,IIC1 Interrupt" "-,Critical"
bitfld.long 0x10 24. "  ,IIC1 Interrupt" "Negative,Positive"
bitfld.long 0x14 24. "  ,IIC1 Interrupt" "Level,Edge"
bitfld.long 0x18 24. "     ,IIC1 Interrupt" "-,Occurred"
textline "   SPI       "
eventfld.long 0x00 23. " ,IIC1 Interrupt" "-,Occurred"
bitfld.long 0x08 23. "  ,IIC1 Interrupt" "-,Enabled"
bitfld.long 0x0c 23. "   ,IIC1 Interrupt" "-,Critical"
bitfld.long 0x10 23. "  ,IIC1 Interrupt" "Negative,Positive"
bitfld.long 0x14 23. "  ,IIC1 Interrupt" "Level,Edge"
bitfld.long 0x18 23. "     ,IIC1 Interrupt" "-,Occurred"
textline "   EPS       "
eventfld.long 0x00 22. " ,External PCI SERR Interrupt" "-,Occurred"
bitfld.long 0x08 22. "  ,External PCI SERR Interrupt" "-,Enabled"
bitfld.long 0x0c 22. "   ,External PCI SERR Interrupt" "-,Critical"
bitfld.long 0x10 22. "  ,External PCI SERR Interrupt" "Negative,Positive"
bitfld.long 0x14 22. "  ,External PCI SERR Interrupt" "Level,Edge"
bitfld.long 0x18 22. "     ,External PCI SERR Interrupt" "-,Occurred"
textline "   MTE       "
eventfld.long 0x00 21. " ,MAL TX EOB Interrupt" "-,Occurred"
bitfld.long 0x08 21. "  ,MAL TX EOB Interrupt" "-,Enabled"
bitfld.long 0x0c 21. "   ,MAL TX EOB Interrupt" "-,Critical"
bitfld.long 0x10 21. "  ,MAL TX EOB Interrupt" "Negative,Positive"
bitfld.long 0x14 21. "  ,MAL TX EOB Interrupt" "Level,Edge"
bitfld.long 0x18 21. "     ,MAL TX EOB Interrupt" "-,Occurred"
textline "   MRE       "
eventfld.long 0x00 20. " ,MAL RX EOB Interrupt" "-,Occurred"
bitfld.long 0x08 20. "  ,MAL RX EOB Interrupt" "-,Enabled"
bitfld.long 0x0c 20. "   ,MAL RX EOB Interrupt" "-,Critical"
bitfld.long 0x10 20. "  ,MAL RX EOB Interrupt" "Negative,Positive"
bitfld.long 0x14 20. "  ,MAL RX EOB Interrupt" "Level,Edge"
bitfld.long 0x18 20. "     ,MAL RX EOB Interrupt" "-,Occurred"
textline "   D0        "
eventfld.long 0x00 19. " ,DMA Channel 0 Interrupt" "-,Occurred"
bitfld.long 0x08 19. "  ,DMA Channel 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 19. "   ,DMA Channel 0 Interrupt" "-,Critical"
bitfld.long 0x10 19. "  ,DMA Channel 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 19. "  ,DMA Channel 0 Interrupt" "Level,Edge"
bitfld.long 0x18 19. "     ,DMA Channel 0 Interrupt" "-,Occurred"
textline "   D1        "
eventfld.long 0x00 18. " ,DMA Channel 1 Interrupt" "-,Occurred"
bitfld.long 0x08 18. "  ,DMA Channel 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 18. "   ,DMA Channel 1 Interrupt" "-,Critical"
bitfld.long 0x10 18. "  ,DMA Channel 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 18. "  ,DMA Channel 1 Interrupt" "Level,Edge"
bitfld.long 0x18 18. "     ,DMA Channel 1 Interrupt" "-,Occurred"
textline "   D2        "
eventfld.long 0x00 17. " ,DMA Channel 2 Interrupt" "-,Occurred"
bitfld.long 0x08 17. "  ,DMA Channel 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 17. "   ,DMA Channel 2 Interrupt" "-,Critical"
bitfld.long 0x10 17. "  ,DMA Channel 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 17. "  ,DMA Channel 2 Interrupt" "Level,Edge"
bitfld.long 0x18 17. "     ,DMA Channel 2 Interrupt" "-,Occurred"
textline "   D3        "
eventfld.long 0x00 16. " ,DMA Channel 3 Interrupt" "-,Occurred"
bitfld.long 0x08 16. "  ,DMA Channel 3 Interrupt" "-,Enabled"
bitfld.long 0x0c 16. "   ,DMA Channel 3 Interrupt" "-,Critical"
bitfld.long 0x10 16. "  ,DMA Channel 3 Interrupt" "Negative,Positive"
bitfld.long 0x14 16. "  ,DMA Channel 3 Interrupt" "Level,Edge"
bitfld.long 0x18 16. "     ,DMA Channel 3 Interrupt" "-,Occurred"
textline "   UDMA0     "
eventfld.long 0x00 15. " ,UDMA IRQ 0 Interrupt" "-,Occurred"
bitfld.long 0x08 15. "  ,UDMA IRQ 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 15. "   ,UDMA IRQ 0 Interrupt" "-,Critical"
bitfld.long 0x10 15. "  ,UDMA IRQ 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 15. "  ,UDMA IRQ 0 Interrupt" "Level,Edge"
bitfld.long 0x18 15. "     ,UDMA IRQ 0 Interrupt" "-,Occurred"
textline "   UDMA1     "
eventfld.long 0x00 14. " ,UDMA IRQ 1 Interrupt" "-,Occurred"
bitfld.long 0x08 14. "  ,UDMA IRQ 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 14. "   ,UDMA IRQ 1 Interrupt" "-,Critical"
bitfld.long 0x10 14. "  ,UDMA IRQ 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 14. "  ,UDMA IRQ 1 Interrupt" "Level,Edge"
bitfld.long 0x18 14. "     ,UDMA IRQ 1 Interrupt" "-,Occurred"
textline "   UDMA2     "
eventfld.long 0x00 13. " ,UDMA IRQ 2 Interrupt" "-,Occurred"
bitfld.long 0x08 13. "  ,UDMA IRQ 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 13. "   ,UDMA IRQ 2 Interrupt" "-,Critical"
bitfld.long 0x10 13. "  ,UDMA IRQ 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 13. "  ,UDMA IRQ 2 Interrupt" "Level,Edge"
bitfld.long 0x18 13. "     ,UDMA IRQ 2 Interrupt" "-,Occurred"
textline "   UDMA3     "
eventfld.long 0x00 12. " ,UDMA IRQ 3 Interrupt" "-,Occurred"
bitfld.long 0x08 12. "  ,UDMA IRQ 3 Interrupt" "-,Enabled"
bitfld.long 0x0c 12. "   ,UDMA IRQ 3 Interrupt" "-,Critical"
bitfld.long 0x10 12. "  ,UDMA IRQ 3 Interrupt" "Negative,Positive"
bitfld.long 0x14 12. "  ,UDMA IRQ 3 Interrupt" "Level,Edge"
bitfld.long 0x18 12. "     ,UDMA IRQ 3 Interrupt" "-,Occurred"
textline "   USB2D     "
eventfld.long 0x00 11. " ,USB2.0 Device Interrupt" "-,Occurred"
bitfld.long 0x08 11. "  ,USB2.0 Device Interrupt" "-,Enabled"
bitfld.long 0x0c 11. "   ,USB2.0 Device Interrupt" "-,Critical"
bitfld.long 0x10 11. "  ,USB2.0 Device Interrupt" "Negative,Positive"
bitfld.long 0x14 11. "  ,USB2.0 Device Interrupt" "Level,Edge"
bitfld.long 0x18 11. "     ,USB2.0 Device Interrupt" "-,Occurred"
textline "   USB2H1    "
eventfld.long 0x00 10. " ,USB2.0 Host OHCI IRQ 1 Interrupt" "-,Occurred"
bitfld.long 0x08 10. "  ,USB2.0 Host OHCI IRQ 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 10. "   ,USB2.0 Host OHCI IRQ 1 Interrupt" "-,Critical"
bitfld.long 0x10 10. "  ,USB2.0 Host OHCI IRQ 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 10. "  ,USB2.0 Host OHCI IRQ 1 Interrupt" "Level,Edge"
bitfld.long 0x18 10. "     ,USB2.0 Host OHCI IRQ 1 Interrupt" "-,Occurred"
textline "   SEIP      "
eventfld.long 0x00 08. " ,Security EIP-94 Interrupt" "-,Occurred"
bitfld.long 0x08 08. "  ,Security EIP-94 Interrupt" "-,Enabled"
bitfld.long 0x0c 08. "   ,Security EIP-94 Interrupt" "-,Critical"
bitfld.long 0x10 08. "  ,Security EIP-94 Interrupt" "Negative,Positive"
bitfld.long 0x14 08. "  ,Security EIP-94 Interrupt" "Level,Edge"
bitfld.long 0x18 08. "     ,Security EIP-94 Interrupt" "-,Occurred"
textline "   EMAC0     "
eventfld.long 0x00 07. " ,EMAC 0 Interrupt" "-,Occurred"
bitfld.long 0x08 07. "  ,EMAC 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 07. "   ,EMAC 0 Interrupt" "-,Critical"
bitfld.long 0x10 07. "  ,EMAC 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 07. "  ,EMAC 0 Interrupt" "Level,Edge"
bitfld.long 0x18 07. "     ,EMAC 0 Interrupt" "-,Occurred"
textline "   EMAC1     "
eventfld.long 0x00 06. " ,EMAC 1 Interrupt" "-,Occurred"
bitfld.long 0x08 06. "  ,EMAC 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 06. "   ,EMAC 1 Interrupt" "-,Critical"
bitfld.long 0x10 06. "  ,EMAC 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 06. "  ,EMAC 1 Interrupt" "Level,Edge"
bitfld.long 0x18 06. "     ,EMAC 1 Interrupt" "-,Occurred"
textline "   USB2HE    "
eventfld.long 0x00 05. " ,USB2.0 Host EHCI Interrupt" "-,Occurred"
bitfld.long 0x08 05. "  ,USB2.0 Host EHCI Interrupt" "-,Enabled"
bitfld.long 0x0c 05. "   ,USB2.0 Host EHCI Interrupt" "-,Critical"
bitfld.long 0x10 05. "  ,USB2.0 Host EHCI Interrupt" "Negative,Positive"
bitfld.long 0x14 05. "  ,USB2.0 Host EHCI Interrupt" "Level,Edge"
bitfld.long 0x18 05. "     ,USB2.0 Host EHCI Interrupt" "-,Occurred"
textline "   EIR4      "
eventfld.long 0x00 04. " ,External IRQ 4 Interrupt" "-,Occurred"
bitfld.long 0x08 04. "  ,External IRQ 4 Interrupt" "-,Enabled"
bitfld.long 0x0c 04. "   ,External IRQ 4 Interrupt" "-,Critical"
bitfld.long 0x10 04. "  ,External IRQ 4 Interrupt" "Negative,Positive"
bitfld.long 0x14 04. "  ,External IRQ 4 Interrupt" "Level,Edge"
bitfld.long 0x18 04. "     ,External IRQ 4 Interrupt" "-,Occurred"
textline "   UIC2NC    "
eventfld.long 0x00 03. " ,UIC2 Non-Critical Interrupt" "-,Occurred"
bitfld.long 0x08 03. "  ,UIC2 Non-Critical Interrupt" "-,Enabled"
bitfld.long 0x0c 03. "   ,UIC2 Non-Critical Interrupt" "-,Critical"
bitfld.long 0x10 03. "  ,UIC2 Non-Critical Interrupt" "Negative,Positive"
bitfld.long 0x14 03. "  ,UIC2 Non-Critical Interrupt" "Level,Edge"
bitfld.long 0x18 03. "     ,UIC2 Non-Critical Interrupt" "-,Occurred"
textline "   UIC2C     "
eventfld.long 0x00 02. " ,UIC2 Critical Interrupt" "-,Occurred"
bitfld.long 0x08 02. "  ,UIC2 Critical Interrupt" "-,Enabled"
bitfld.long 0x0c 02. "   ,UIC2 Critical Interrupt" "-,Critical"
bitfld.long 0x10 02. "  ,UIC2 Critical Interrupt" "Negative,Positive"
bitfld.long 0x14 02. "  ,UIC2 Critical Interrupt" "Level,Edge"
bitfld.long 0x18 02. "     ,UIC2 Critical Interrupt" "-,Occurred"
textline "   UIC1NC    "
eventfld.long 0x00 01. " ,UIC1 Non-Critical Interrupt" "-,Occurred"
bitfld.long 0x08 01. "  ,UIC1 Non-Critical Interrupt" "-,Enabled"
bitfld.long 0x0c 01. "   ,UIC1 Non-Critical Interrupt" "-,Critical"
bitfld.long 0x10 01. "  ,UIC1 Non-Critical Interrupt" "Negative,Positive"
bitfld.long 0x14 01. "  ,UIC1 Non-Critical Interrupt" "Level,Edge"
bitfld.long 0x18 01. "     ,UIC1 Non-Critical Interrupt" "-,Occurred"
textline "   UIC1C     "
eventfld.long 0x00 00. " ,UIC1 Critical Interrupt" "-,Occurred"
bitfld.long 0x08 00. "  ,UIC1 Critical Interrupt" "-,Enabled"
bitfld.long 0x0c 00. "   ,UIC1 Critical Interrupt" "-,Critical"
bitfld.long 0x10 00. "  ,UIC1 Critical Interrupt" "Negative,Positive"
bitfld.long 0x14 00. "  ,UIC1 Critical Interrupt" "Level,Edge"
bitfld.long 0x18 00. "     ,UIC1 Critical Interrupt" "-,Occurred"
textline "         "
wgroup.long dcr:0x0C8--0x0C8
line.long 0x00 "UIC0_VCR,UIC Vector Configuration Register 0"
hexmask.long 0x00 2.--31. 0x4 " VBA ,Vector Base Address"
bitfld.long 0x00 0. "  PRO ,Priority Ordering" "31 --> 0,0 --> 31"
rgroup.long dcr:0x0C7--0x0C7
line.long 0x00 "UIC0_VR,UIC Vector Register 0"
hexmask.long 0x00 0.--31. 1. " VR  ,Interrupt Vector"  
tree.end
tree "UIC1"
group.long dcr:0x0D0--0x0D6
textline "              UIC1_SR   UIC1_ER   UIC1_CR   UIC1_PR   UIC1_TR   UIC1_MSR"
textline "         "
hexmask.long 0x00 00.--31. 1. "     ,UIC1 Status Register"
hexmask.long 0x08 00.--31. 1. "  ,UIC1 Enable Register"
hexmask.long 0x0c 00.--31. 1. "  ,UIC1 Critical Register"
hexmask.long 0x10 00.--31. 1. "  ,UIC1 Polarity Register"
hexmask.long 0x14 00.--31. 1. "  ,UIC1 Trigger Register"
hexmask.long 0x18 00.--31. 1. "  ,UIC1 Masked Status Register"
textline "   MS        "
eventfld.long 0x00 31. " ,MAL SERR Interrupt" "-,Occurred"
bitfld.long 0x08 31. "  ,MAL SERR Interrupt" "-,Enabled"
bitfld.long 0x0c 31. "   ,MAL SERR Interrupt" "-,Critical"
bitfld.long 0x10 31. "  ,MAL SERR Interrupt" "Negative,Positive"
bitfld.long 0x14 31. "  ,MAL SERR Interrupt" "Level,Edge"
bitfld.long 0x18 31. "     ,MAL SERR Interrupt" "-,Occurred"
textline "   MTDE      "
eventfld.long 0x00 30. " ,MAL TXDE Interrupt" "-,Occurred"
bitfld.long 0x08 30. "  ,MAL TXDE Interrupt" "-,Enabled"
bitfld.long 0x0c 30. "   ,MAL TXDE Interrupt" "-,Critical"
bitfld.long 0x10 30. "  ,MAL TXDE Interrupt" "Negative,Positive"
bitfld.long 0x14 30. "  ,MAL TXDE Interrupt" "Level,Edge"
bitfld.long 0x18 30. "     ,MAL TXDE Interrupt" "-,Occurred"
textline "   MRDE      "
eventfld.long 0x00 29. " ,MAL RXDE Interrupt" "-,Occurred"
bitfld.long 0x08 29. "  ,MAL RXDE Interrupt" "-,Enabled"
bitfld.long 0x0c 29. "   ,MAL RXDE Interrupt" "-,Critical"
bitfld.long 0x10 29. "  ,MAL RXDE Interrupt" "Negative,Positive"
bitfld.long 0x14 29. "  ,MAL RXDE Interrupt" "Level,Edge"
bitfld.long 0x18 29. "     ,MAL RXDE Interrupt" "-,Occurred"
textline "   U2        "
eventfld.long 0x00 28. " ,UART2 Interrupt" "-,Occurred"
bitfld.long 0x08 28. "  ,UART2 Interrupt" "-,Enabled"
bitfld.long 0x0c 28. "   ,UART2 Interrupt" "-,Critical"
bitfld.long 0x10 28. "  ,UART2 Interrupt" "Negative,Positive"
bitfld.long 0x14 28. "  ,UART2 Interrupt" "Level,Edge"
bitfld.long 0x18 28. "     ,UART2 Interrupt" "-,Occurred"
textline "   U3        "
eventfld.long 0x00 27. " ,UART3 Interrupt" "-,Occurred"
bitfld.long 0x08 27. "  ,UART3 Interrupt" "-,Enabled"
bitfld.long 0x0c 27. "   ,UART3 Interrupt" "-,Critical"
bitfld.long 0x10 27. "  ,UART3 Interrupt" "Negative,Positive"
bitfld.long 0x14 27. "  ,UART3 Interrupt" "Level,Edge"
bitfld.long 0x18 27. "     ,UART3 Interrupt" "-,Occurred"
textline "   EBC       "
eventfld.long 0x00 26. " ,EBC Interrupt" "-,Occurred"
bitfld.long 0x08 26. "  ,EBC Interrupt" "-,Enabled"
bitfld.long 0x0c 26. "   ,EBC Interrupt" "-,Critical"
bitfld.long 0x10 26. "  ,EBC Interrupt" "Negative,Positive"
bitfld.long 0x14 26. "  ,EBC Interrupt" "Level,Edge"
bitfld.long 0x18 26. "     ,EBC Interrupt" "-,Occurred"
textline "   NDFC      "
eventfld.long 0x00 25. " ,NDFC Interrupt" "-,Occurred"
bitfld.long 0x08 25. "  ,NDFC Interrupt" "-,Enabled"
bitfld.long 0x0c 25. "   ,NDFC Interrupt" "-,Critical"
bitfld.long 0x10 25. "  ,NDFC Interrupt" "Negative,Positive"
bitfld.long 0x14 25. "  ,NDFC Interrupt" "Level,Edge"
bitfld.long 0x18 25. "     ,NDFC Interrupt" "-,Occurred"
textline "   KSEI      "
eventfld.long 0x00 24. " ,Kasumi Slave Error Interrupt" "-,Occurred"
bitfld.long 0x08 24. "  ,Kasumi Slave Error Interrupt" "-,Enabled"
bitfld.long 0x0c 24. "   ,Kasumi Slave Error Interrupt" "-,Critical"
bitfld.long 0x10 24. "  ,Kasumi Slave Error Interrupt" "Negative,Positive"
bitfld.long 0x14 24. "  ,Kasumi Slave Error Interrupt" "Level,Edge"
bitfld.long 0x18 24. "     ,Kasumi Slave Error Interrupt" "-,Occurred"
textline "   CT5       "
eventfld.long 0x00 23. " ,GPT Compare Timer 5 Interrupt" "-,Occurred"
bitfld.long 0x08 23. "  ,GPT Compare Timer 5 Interrupt" "-,Enabled"
bitfld.long 0x0c 23. "   ,GPT Compare Timer 5 Interrupt" "-,Critical"
bitfld.long 0x10 23. "  ,GPT Compare Timer 5 Interrupt" "Negative,Positive"
bitfld.long 0x14 23. "  ,GPT Compare Timer 5 Interrupt" "Level,Edge"
bitfld.long 0x18 23. "     ,GPT Compare Timer 5 Interrupt" "-,Occurred"
textline "   CT6       "
eventfld.long 0x00 22. " ,GPT Compare Timer 6 Interrupt" "-,Occurred"
bitfld.long 0x08 22. "  ,GPT Compare Timer 6 Interrupt" "-,Enabled"
bitfld.long 0x0c 22. "   ,GPT Compare Timer 6 Interrupt" "-,Critical"
bitfld.long 0x10 22. "  ,GPT Compare Timer 6 Interrupt" "Negative,Positive"
bitfld.long 0x14 22. "  ,GPT Compare Timer 6 Interrupt" "Level,Edge"
bitfld.long 0x18 22. "     ,GPT Compare Timer 6 Interrupt" "-,Occurred"
textline "   P2P0      "
eventfld.long 0x00 21. " ,PLB3 to PLB4 Bridge 0 Interrupt" "-,Occurred"
bitfld.long 0x08 21. "  ,PLB3 to PLB4 Bridge 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 21. "   ,PLB3 to PLB4 Bridge 0 Interrupt" "-,Critical"
bitfld.long 0x10 21. "  ,PLB3 to PLB4 Bridge 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 21. "  ,PLB3 to PLB4 Bridge 0 Interrupt" "Level,Edge"
bitfld.long 0x18 21. "     ,PLB3 to PLB4 Bridge 0 Interrupt" "-,Occurred"
textline "   P2P1      "
eventfld.long 0x00 20. " ,PLB3 to PLB4 Bridge 1 Interrupt" "-,Occurred"
bitfld.long 0x08 20. "  ,PLB3 to PLB4 Bridge 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 20. "   ,PLB3 to PLB4 Bridge 1 Interrupt" "-,Critical"
bitfld.long 0x10 20. "  ,PLB3 to PLB4 Bridge 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 20. "  ,PLB3 to PLB4 Bridge 1 Interrupt" "Level,Edge"
bitfld.long 0x18 20. "     ,PLB3 to PLB4 Bridge 1 Interrupt" "-,Occurred"
textline "   P2P1      "
eventfld.long 0x00 19. " ,PLB3 to PLB4 Bridge 2 Interrupt" "-,Occurred"
bitfld.long 0x08 19. "  ,PLB3 to PLB4 Bridge 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 19. "   ,PLB3 to PLB4 Bridge 2 Interrupt" "-,Critical"
bitfld.long 0x10 19. "  ,PLB3 to PLB4 Bridge 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 19. "  ,PLB3 to PLB4 Bridge 2 Interrupt" "Level,Edge"
bitfld.long 0x18 19. "     ,PLB3 to PLB4 Bridge 2 Interrupt" "-,Occurred"
textline "   P2P3      "
eventfld.long 0x00 18. " ,PLB3 to PLB4 Bridge 3 Interrupt" "-,Occurred"
bitfld.long 0x08 18. "  ,PLB3 to PLB4 Bridge 3 Interrupt" "-,Enabled"
bitfld.long 0x0c 18. "   ,PLB3 to PLB4 Bridge 3 Interrupt" "-,Critical"
bitfld.long 0x10 18. "  ,PLB3 to PLB4 Bridge 3 Interrupt" "Negative,Positive"
bitfld.long 0x14 18. "  ,PLB3 to PLB4 Bridge 3 Interrupt" "Level,Edge"
bitfld.long 0x18 18. "     ,PLB3 to PLB4 Bridge 3 Interrupt" "-,Occurred"
textline "   P2P4      "
eventfld.long 0x00 17. " ,PLB3 to PLB4 Bridge 4 Interrupt" "-,Occurred"
bitfld.long 0x08 17. "  ,PLB3 to PLB4 Bridge 4 Interrupt" "-,Enabled"
bitfld.long 0x0c 17. "   ,PLB3 to PLB4 Bridge 4 Interrupt" "-,Critical"
bitfld.long 0x10 17. "  ,PLB3 to PLB4 Bridge 4 Interrupt" "Negative,Positive"
bitfld.long 0x14 17. "  ,PLB3 to PLB4 Bridge 4 Interrupt" "Level,Edge"
bitfld.long 0x18 17. "     ,PLB3 to PLB4 Bridge 4 Interrupt" "-,Occurred"
textline "   P2P5      "
eventfld.long 0x00 16. " ,PLB3 to PLB4 Bridge 5 Interrupt" "-,Occurred"
bitfld.long 0x08 16. "  ,PLB3 to PLB4 Bridge 5 Interrupt" "-,Enabled"
bitfld.long 0x0c 16. "   ,PLB3 to PLB4 Bridge 5 Interrupt" "-,Critical"
bitfld.long 0x10 16. "  ,PLB3 to PLB4 Bridge 5 Interrupt" "Negative,Positive"
bitfld.long 0x14 16. "  ,PLB3 to PLB4 Bridge 5 Interrupt" "Level,Edge"
bitfld.long 0x18 16. "     ,PLB3 to PLB4 Bridge 5 Interrupt" "-,Occurred"
textline "   CT0       "
eventfld.long 0x00 15. " ,GPT Compare Timer 0 Interrupt" "-,Occurred"
bitfld.long 0x08 15. "  ,GPT Compare Timer 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 15. "   ,GPT Compare Timer 0 Interrupt" "-,Critical"
bitfld.long 0x10 15. "  ,GPT Compare Timer 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 15. "  ,GPT Compare Timer 0 Interrupt" "Level,Edge"
bitfld.long 0x18 15. "     ,GPT Compare Timer 0 Interrupt" "-,Occurred"
textline "   CT1       "
eventfld.long 0x00 14. " ,GPT Compare Timer 1 Interrupt" "-,Occurred"
bitfld.long 0x08 14. "  ,GPT Compare Timer 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 14. "   ,GPT Compare Timer 1 Interrupt" "-,Critical"
bitfld.long 0x10 14. "  ,GPT Compare Timer 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 14. "  ,GPT Compare Timer 1 Interrupt" "Level,Edge"
bitfld.long 0x18 14. "     ,GPT Compare Timer 1 Interrupt" "-,Occurred"
textline "   EIR7      "
eventfld.long 0x00 13. " ,External IRQ 7 Interrupt" "-,Occurred"
bitfld.long 0x08 13. "  ,External IRQ 7 Interrupt" "-,Enabled"
bitfld.long 0x0c 13. "   ,External IRQ 7 Interrupt" "-,Critical"
bitfld.long 0x10 13. "  ,External IRQ 7 Interrupt" "Negative,Positive"
bitfld.long 0x14 13. "  ,External IRQ 7 Interrupt" "Level,Edge"
bitfld.long 0x18 13. "     ,External IRQ 7 Interrupt" "-,Occurred"
textline "   EIR8      "
eventfld.long 0x00 12. " ,External IRQ 8 Interrupt" "-,Occurred"
bitfld.long 0x08 12. "  ,External IRQ 8 Interrupt" "-,Enabled"
bitfld.long 0x0c 12. "   ,External IRQ 8 Interrupt" "-,Critical"
bitfld.long 0x10 12. "  ,External IRQ 8 Interrupt" "Negative,Positive"
bitfld.long 0x14 12. "  ,External IRQ 8 Interrupt" "Level,Edge"
bitfld.long 0x18 12. "     ,External IRQ 8 Interrupt" "-,Occurred"
textline "   EIR9      "
eventfld.long 0x00 11. " ,External IRQ 9 Interrupt" "-,Occurred"
bitfld.long 0x08 11. "  ,External IRQ 9 Interrupt" "-,Enabled"
bitfld.long 0x0c 11. "   ,External IRQ 9 Interrupt" "-,Critical"
bitfld.long 0x10 11. "  ,External IRQ 9 Interrupt" "Negative,Positive"
bitfld.long 0x14 11. "  ,External IRQ 9 Interrupt" "Level,Edge"
bitfld.long 0x18 11. "     ,External IRQ 9 Interrupt" "-,Occurred"
textline "   CT2       "
eventfld.long 0x00 10. " ,GPT Compare Timer 2 Interrupt" "-,Occurred"
bitfld.long 0x08 10. "  ,GPT Compare Timer 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 10. "   ,GPT Compare Timer 2 Interrupt" "-,Critical"
bitfld.long 0x10 10. "  ,GPT Compare Timer 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 10. "  ,GPT Compare Timer 2 Interrupt" "Level,Edge"
bitfld.long 0x18 10. "     ,GPT Compare Timer 2 Interrupt" "-,Occurred"
textline "   CT3       "
eventfld.long 0x00 09. " ,GPT Compare Timer 3 Interrupt" "-,Occurred"
bitfld.long 0x08 09. "  ,GPT Compare Timer 3 Interrupt" "-,Enabled"
bitfld.long 0x0c 09. "   ,GPT Compare Timer 3 Interrupt" "-,Critical"
bitfld.long 0x10 09. "  ,GPT Compare Timer 3 Interrupt" "Negative,Positive"
bitfld.long 0x14 09. "  ,GPT Compare Timer 3 Interrupt" "Level,Edge"
bitfld.long 0x18 09. "     ,GPT Compare Timer 3 Interrupt" "-,Occurred"
textline "   CT4       "
eventfld.long 0x00 08. " ,GPT Compare Timer 4 Interrupt" "-,Occurred"
bitfld.long 0x08 08. "  ,GPT Compare Timer 4 Interrupt" "-,Enabled"
bitfld.long 0x0c 08. "   ,GPT Compare Timer 4 Interrupt" "-,Critical"
bitfld.long 0x10 08. "  ,GPT Compare Timer 4 Interrupt" "Negative,Positive"
bitfld.long 0x14 08. "  ,GPT Compare Timer 4 Interrupt" "Level,Edge"
bitfld.long 0x18 08. "     ,GPT Compare Timer 4 Interrupt" "-,Occurred"
textline "   SRE       "
eventfld.long 0x00 07. " ,Serial ROM Error Interrupt" "-,Occurred"
bitfld.long 0x08 07. "  ,Serial ROM Error Interrupt" "-,Enabled"
bitfld.long 0x0c 07. "   ,Serial ROM Error Interrupt" "-,Critical"
bitfld.long 0x10 07. "  ,Serial ROM Error Interrupt" "Negative,Positive"
bitfld.long 0x14 07. "  ,Serial ROM Error Interrupt" "Level,Edge"
bitfld.long 0x18 07. "     ,Serial ROM Error Interrupt" "-,Occurred"
textline "   GDP       "
eventfld.long 0x00 06. " ,GPT Decrement Pulse Interrupt" "-,Occurred"
bitfld.long 0x08 06. "  ,GPT Decrement Pulse Interrupt" "-,Enabled"
bitfld.long 0x0c 06. "   ,GPT Decrement Pulse Interrupt" "-,Critical"
bitfld.long 0x10 06. "  ,GPT Decrement Pulse Interrupt" "Negative,Positive"
bitfld.long 0x14 06. "  ,GPT Decrement Pulse Interrupt" "Level,Edge"
bitfld.long 0x18 06. "     ,GPT Decrement Pulse Interrupt" "-,Occurred"
textline "   EPP       "
eventfld.long 0x00 04. " ,EXT_PCI_PERR (parity) Interrupt" "-,Occurred"
bitfld.long 0x08 04. "  ,EXT_PCI_PERR (parity) Interrupt" "-,Enabled"
bitfld.long 0x0c 04. "   ,EXT_PCI_PERR (parity) Interrupt" "-,Critical"
bitfld.long 0x10 04. "  ,EXT_PCI_PERR (parity) Interrupt" "Negative,Positive"
bitfld.long 0x14 04. "  ,EXT_PCI_PERR (parity) Interrupt" "Level,Edge"
bitfld.long 0x18 04. "     ,EXT_PCI_PERR (parity) Interrupt" "-,Occurred"
textline "   EIR0      "
eventfld.long 0x00 03. " ,External IRQ 0 Interrupt" "-,Occurred"
bitfld.long 0x08 03. "  ,External IRQ 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 03. "   ,External IRQ 0 Interrupt" "-,Critical"
bitfld.long 0x10 03. "  ,External IRQ 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 03. "  ,External IRQ 0 Interrupt" "Level,Edge"
bitfld.long 0x18 03. "     ,External IRQ 0 Interrupt" "-,Occurred"
textline "   EWU0      "
eventfld.long 0x00 02. " ,Ethernet 0 Wake-up Interrupt" "-,Occurred"
bitfld.long 0x08 02. "  ,Ethernet 0 Wake-up Interrupt" "-,Enabled"
bitfld.long 0x0c 02. "   ,Ethernet 0 Wake-up Interrupt" "-,Critical"
bitfld.long 0x10 02. "  ,Ethernet 0 Wake-up Interrupt" "Negative,Positive"
bitfld.long 0x14 02. "  ,Ethernet 0 Wake-up Interrupt" "Level,Edge"
bitfld.long 0x18 02. "     ,Ethernet 0 Wake-up Interrupt" "-,Occurred"
textline "   EIR1      "
eventfld.long 0x00 01. " ,External IRQ 1 Interrupt" "-,Occurred"
bitfld.long 0x08 01. "  ,External IRQ 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 01. "   ,External IRQ 1 Interrupt" "-,Critical"
bitfld.long 0x10 01. "  ,External IRQ 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 01. "  ,External IRQ 1 Interrupt" "Level,Edge"
bitfld.long 0x18 01. "     ,External IRQ 1 Interrupt" "-,Occurred"
textline "   EWU1      "
eventfld.long 0x00 00. " ,Ethernet 1 Wake-up Interrupt" "-,Occurred"
bitfld.long 0x08 00. "  ,Ethernet 1 Wake-up Interrupt" "-,Enabled"
bitfld.long 0x0c 00. "   ,Ethernet 1 Wake-up Interrupt" "-,Critical"
bitfld.long 0x10 00. "  ,Ethernet 1 Wake-up Interrupt" "Negative,Positive"
bitfld.long 0x14 00. "  ,Ethernet 1 Wake-up Interrupt" "Level,Edge"
bitfld.long 0x18 00. "     ,Ethernet 1 Wake-up Interrupt" "-,Occurred"
textline "         "
wgroup.long dcr:0x0D8--0x0D8
line.long 0x00 "UIC1_VCR,UIC Vector Configuration Register 1"
hexmask.long 0x00 2.--31. 0x4 " VBA ,Vector Base Address"
bitfld.long 0x00 0. "  PRO ,Priority Ordering" "31 --> 0,0 --> 31"
rgroup.long dcr:0x0D7--0x0D7
line.long 0x00 "UIC1_VR,UIC Vector Register 1"
hexmask.long 0x00 0.--31. 1. " VR  ,Interrupt Vector"  
tree.end
tree "UIC2"
group.long dcr:0x0E0--0x0E6
textline "              UIC2_SR   UIC2_ER   UIC2_CR   UIC2_PR   UIC2_TR   UIC2_MSR"
textline "         "
hexmask.long 0x00 00.--31. 1. "     ,UIC2 Status Register"
hexmask.long 0x08 00.--31. 1. "  ,UIC2 Enable Register"
hexmask.long 0x0c 00.--31. 1. "  ,UIC2 Critical Register"
hexmask.long 0x10 00.--31. 1. "  ,UIC2 Polarity Register"
hexmask.long 0x14 00.--31. 1. "  ,UIC2 Trigger Register"
hexmask.long 0x18 00.--31. 1. "  ,UIC2 Masked Status Register"
textline "   EIR5      "
eventfld.long 0x00 31. " ,External IRQ 5 Interrupt" "-,Occurred"
bitfld.long 0x08 31. "  ,External IRQ 5 Interrupt" "-,Enabled"
bitfld.long 0x0c 31. "   ,External IRQ 5 Interrupt" "-,Critical"
bitfld.long 0x10 31. "  ,External IRQ 5 Interrupt" "Negative,Positive"
bitfld.long 0x14 31. "  ,External IRQ 5 Interrupt" "Level,Edge"
bitfld.long 0x18 31. "     ,External IRQ 5 Interrupt" "-,Occurred"
textline "   EIR6      "
eventfld.long 0x00 30. " ,External IRQ 6 Interrupt" "-,Occurred"
bitfld.long 0x08 30. "  ,External IRQ 6 Interrupt" "-,Enabled"
bitfld.long 0x0c 30. "   ,External IRQ 6 Interrupt" "-,Critical"
bitfld.long 0x10 30. "  ,External IRQ 6 Interrupt" "Negative,Positive"
bitfld.long 0x14 30. "  ,External IRQ 6 Interrupt" "Level,Edge"
bitfld.long 0x18 30. "     ,External IRQ 6 Interrupt" "-,Occurred"
textline "   OPB       "
eventfld.long 0x00 29. " ,OPB to PLB4 Interrupt" "-,Occurred"
bitfld.long 0x08 29. "  ,OPB to PLB4 Interrupt" "-,Enabled"
bitfld.long 0x0c 29. "   ,OPB to PLB4 Interrupt" "-,Critical"
bitfld.long 0x10 29. "  ,OPB to PLB4 Interrupt" "Negative,Positive"
bitfld.long 0x14 29. "  ,OPB to PLB4 Interrupt" "Level,Edge"
bitfld.long 0x18 29. "     ,OPB to PLB4 Interrupt" "-,Occurred"
textline "   EIR2      "
eventfld.long 0x00 28. " ,External IRQ 2 Interrupt" "-,Occurred"
bitfld.long 0x08 28. "  ,External IRQ 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 28. "   ,External IRQ 2 Interrupt" "-,Critical"
bitfld.long 0x10 28. "  ,External IRQ 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 28. "  ,External IRQ 2 Interrupt" "Level,Edge"
bitfld.long 0x18 28. "     ,External IRQ 2 Interrupt" "-,Occurred"
textline "   EIR3      "
eventfld.long 0x00 27. " ,External IRQ 3 Interrupt" "-,Occurred"
bitfld.long 0x08 27. "  ,External IRQ 3 Interrupt" "-,Enabled"
bitfld.long 0x0c 27. "   ,External IRQ 3 Interrupt" "-,Critical"
bitfld.long 0x10 27. "  ,External IRQ 3 Interrupt" "Negative,Positive"
bitfld.long 0x14 27. "  ,External IRQ 3 Interrupt" "Level,Edge"
bitfld.long 0x18 27. "     ,External IRQ 3 Interrupt" "-,Occurred"
textline "   DDR2      "
eventfld.long 0x00 26. " ,DDR2 SDRAM Controller Interrupt" "-,Occurred"
bitfld.long 0x08 26. "  ,DDR2 SDRAM Controller Interrupt" "-,Enabled"
bitfld.long 0x0c 26. "   ,DDR2 SDRAM Controller Interrupt" "-,Critical"
bitfld.long 0x10 26. "  ,DDR2 SDRAM Controller Interrupt" "Negative,Positive"
bitfld.long 0x14 26. "  ,DDR2 SDRAM Controller Interrupt" "Level,Edge"
bitfld.long 0x18 26. "     ,DDR2 SDRAM Controller Interrupt" "-,Occurred"
textline "   MCT0      "
eventfld.long 0x00 25. " ,MAL Coalesence TX0 Interrupt" "-,Occurred"
bitfld.long 0x08 25. "  ,MAL Coalesence TX0 Interrupt" "-,Enabled"
bitfld.long 0x0c 25. "   ,MAL Coalesence TX0 Interrupt" "-,Critical"
bitfld.long 0x10 25. "  ,MAL Coalesence TX0 Interrupt" "Negative,Positive"
bitfld.long 0x14 25. "  ,MAL Coalesence TX0 Interrupt" "Level,Edge"
bitfld.long 0x18 25. "     ,MAL Coalesence TX0 Interrupt" "-,Occurred"
textline "   MCT1      "
eventfld.long 0x00 24. " ,MAL Coalesence TX1 Interrupt" "-,Occurred"
bitfld.long 0x08 24. "  ,MAL Coalesence TX1 Interrupt" "-,Enabled"
bitfld.long 0x0c 24. "   ,MAL Coalesence TX1 Interrupt" "-,Critical"
bitfld.long 0x10 24. "  ,MAL Coalesence TX1 Interrupt" "Negative,Positive"
bitfld.long 0x14 24. "  ,MAL Coalesence TX1 Interrupt" "Level,Edge"
bitfld.long 0x18 24. "     ,MAL Coalesence TX1 Interrupt" "-,Occurred"
textline "   MCR0      "
eventfld.long 0x00 23. " ,MAL Coalesence RX0 Interrupt" "-,Occurred"
bitfld.long 0x08 23. "  ,MAL Coalesence RX0 Interrupt" "-,Enabled"
bitfld.long 0x0c 23. "   ,MAL Coalesence RX0 Interrupt" "-,Critical"
bitfld.long 0x10 23. "  ,MAL Coalesence RX0 Interrupt" "Negative,Positive"
bitfld.long 0x14 23. "  ,MAL Coalesence RX0 Interrupt" "Level,Edge"
bitfld.long 0x18 23. "     ,MAL Coalesence RX0 Interrupt" "-,Occurred"
textline "   MCR1      "
eventfld.long 0x00 22. " ,MAL Coalesence RX1 Interrupt" "-,Occurred"
bitfld.long 0x08 22. "  ,MAL Coalesence RX1 Interrupt" "-,Enabled"
bitfld.long 0x0c 22. "   ,MAL Coalesence RX1 Interrupt" "-,Critical"
bitfld.long 0x10 22. "  ,MAL Coalesence RX1 Interrupt" "Negative,Positive"
bitfld.long 0x14 22. "  ,MAL Coalesence RX1 Interrupt" "Level,Edge"
bitfld.long 0x18 22. "     ,MAL Coalesence RX1 Interrupt" "-,Occurred"
tree.end
width 0x0B
elif (cpu()=="PPC440GR")
;Universal Interrupt Controller
width 10.
tree "UIC0"
group.long dcr:0x0C0--0x0C6
textline "              UIC0_SR   UIC0_ER   UIC0_CR   UIC0_PR   UIC0_TR   UIC0_MSR"
textline "         "
hexmask.long 0x00 00.--31. 1. "     ,UIC0 Status Register"
hexmask.long 0x08 00.--31. 1. "  ,UIC0 Enable Register"
hexmask.long 0x0c 00.--31. 1. "  ,UIC0 Critical Register"
hexmask.long 0x10 00.--31. 1. "  ,UIC0 Polarity Register"
hexmask.long 0x14 00.--31. 1. "  ,UIC0 Trigger Register"
hexmask.long 0x18 00.--31. 1. "  ,UIC0 Masked Status Register"
textline "   U0        "
eventfld.long 0x00 31. " ,UART0 Interrupt" "-,Occurred"
bitfld.long 0x08 31. "  ,UART0 Interrupt" "-,Enabled"
bitfld.long 0x0c 31. "   ,UART0 Interrupt" "-,Critical"
bitfld.long 0x10 31. "  ,UART0 Interrupt" "Negative,Positive"
bitfld.long 0x14 31. "  ,UART0 Interrupt" "Level,Edge"
bitfld.long 0x18 31. "     ,UART0 Interrupt" "-,Occurred"
textline "   U1        "
eventfld.long 0x00 30. " ,UART1 Interrupt" "-,Occurred"
bitfld.long 0x08 30. "  ,UART1 Interrupt" "-,Enabled"
bitfld.long 0x0c 30. "   ,UART1 Interrupt" "-,Critical"
bitfld.long 0x10 30. "  ,UART1 Interrupt" "Negative,Positive"
bitfld.long 0x14 30. "  ,UART1 Interrupt" "Level,Edge"
bitfld.long 0x18 30. "     ,UART1 Interrupt" "-,Occurred"
textline "   IIC0      "
eventfld.long 0x00 29. " ,IIC0 Interrupt" "-,Occurred"
bitfld.long 0x08 29. "  ,IIC0 Interrupt" "-,Enabled"
bitfld.long 0x0c 29. "   ,IIC0 Interrupt" "-,Critical"
bitfld.long 0x10 29. "  ,IIC0 Interrupt" "Negative,Positive"
bitfld.long 0x14 29. "  ,IIC0 Interrupt" "Level,Edge"
bitfld.long 0x18 29. "     ,IIC0 Interrupt" "-,Occurred"
textline "   U2        "
eventfld.long 0x00 28. " ,UART2 Interrupt" "-,Occurred"
bitfld.long 0x08 28. "  ,UART2 Interrupt" "-,Enabled"
bitfld.long 0x0c 28. "   ,UART2 Interrupt" "-,Critical"
bitfld.long 0x10 28. "  ,UART2 Interrupt" "Negative,Positive"
bitfld.long 0x14 28. "  ,UART2 Interrupt" "Level,Edge"
bitfld.long 0x18 28. "     ,UART2 Interrupt" "-,Occurred"
textline "   U3        "
eventfld.long 0x00 27. " ,UART3 Interrupt" "-,Occurred"
bitfld.long 0x08 27. "  ,UART3 Interrupt" "-,Enabled"
bitfld.long 0x0c 27. "   ,UART3 Interrupt" "-,Critical"
bitfld.long 0x10 27. "  ,UART3 Interrupt" "Negative,Positive"
bitfld.long 0x14 27. "  ,UART3 Interrupt" "Level,Edge"
bitfld.long 0x18 27. "     ,UART3 Interrupt" "-,Occurred"
textline "   PCRW      "
eventfld.long 0x00 26. " ,PCI Command Register Write Interrupt" "-,Occurred"
bitfld.long 0x08 26. "  ,PCI Command Register Write Interrupt" "-,Enabled"
bitfld.long 0x0c 26. "   ,PCI Command Register Write Interrupt" "-,Critical"
bitfld.long 0x10 26. "  ,PCI Command Register Write Interrupt" "Negative,Positive"
bitfld.long 0x14 26. "  ,PCI Command Register Write Interrupt" "Level,Edge"
bitfld.long 0x18 26. "     ,PCI Command Register Write Interrupt" "-,Occurred"
textline "   PPM       "
eventfld.long 0x00 25. " ,PCI Power Management Interrupt" "-,Occurred"
bitfld.long 0x08 25. "  ,PCI Power Management Interrupt" "-,Enabled"
bitfld.long 0x0c 25. "   ,PCI Power Management Interrupt" "-,Critical"
bitfld.long 0x10 25. "  ,PCI Power Management Interrupt" "Negative,Positive"
bitfld.long 0x14 25. "  ,PCI Power Management Interrupt" "Level,Edge"
bitfld.long 0x18 25. "     ,PCI Power Management Interrupt" "-,Occurred"
textline "   IIC1      "
eventfld.long 0x00 24. " ,IIC1 Interrupt" "-,Occurred"
bitfld.long 0x08 24. "  ,IIC1 Interrupt" "-,Enabled"
bitfld.long 0x0c 24. "   ,IIC1 Interrupt" "-,Critical"
bitfld.long 0x10 24. "  ,IIC1 Interrupt" "Negative,Positive"
bitfld.long 0x14 24. "  ,IIC1 Interrupt" "Level,Edge"
bitfld.long 0x18 24. "     ,IIC1 Interrupt" "-,Occurred"
textline "   SPI       "
eventfld.long 0x00 23. " ,SPI Interrupt" "-,Occurred"
bitfld.long 0x08 23. "  ,SPI Interrupt" "-,Enabled"
bitfld.long 0x0c 23. "   ,SPI Interrupt" "-,Critical"
bitfld.long 0x10 23. "  ,SPI Interrupt" "Negative,Positive"
bitfld.long 0x14 23. "  ,SPI Interrupt" "Level,Edge"
bitfld.long 0x18 23. "     ,SPI Interrupt" "-,Occurred"
textline "   EPS       "
eventfld.long 0x00 22. " ,Ext PCI SERR Interrupt" "-,Occurred"
bitfld.long 0x08 22. "  ,Ext PCI SERR Interrupt" "-,Enabled"
bitfld.long 0x0c 22. "   ,Ext PCI SERR Interrupt" "-,Critical"
bitfld.long 0x10 22. "  ,Ext PCI SERR Interrupt" "Negative,Positive"
bitfld.long 0x14 22. "  ,Ext PCI SERR Interrupt" "Level,Edge"
bitfld.long 0x18 22. "     ,Ext PCI SERR Interrupt" "-,Occurred"
textline "   MTE       "
eventfld.long 0x00 21. " ,MAL TX EOB Interrupt" "-,Occurred"
bitfld.long 0x08 21. "  ,MAL TX EOB Interrupt" "-,Enabled"
bitfld.long 0x0c 21. "   ,MAL TX EOB Interrupt" "-,Critical"
bitfld.long 0x10 21. "  ,MAL TX EOB Interrupt" "Negative,Positive"
bitfld.long 0x14 21. "  ,MAL TX EOB Interrupt" "Level,Edge"
bitfld.long 0x18 21. "     ,MAL TX EOB Interrupt" "-,Occurred"
textline "   MRE       "
eventfld.long 0x00 20. " ,MAL RX EOB Interrupt" "-,Occurred"
bitfld.long 0x08 20. "  ,MAL RX EOB Interrupt" "-,Enabled"
bitfld.long 0x0c 20. "   ,MAL RX EOB Interrupt" "-,Critical"
bitfld.long 0x10 20. "  ,MAL RX EOB Interrupt" "Negative,Positive"
bitfld.long 0x14 20. "  ,MAL RX EOB Interrupt" "Level,Edge"
bitfld.long 0x18 20. "     ,MAL RX EOB Interrupt" "-,Occurred"
textline "   D0        "
eventfld.long 0x00 19. " ,DMA Channel 0 Interrupt" "-,Occurred"
bitfld.long 0x08 19. "  ,DMA Channel 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 19. "   ,DMA Channel 0 Interrupt" "-,Critical"
bitfld.long 0x10 19. "  ,DMA Channel 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 19. "  ,DMA Channel 0 Interrupt" "Level,Edge"
bitfld.long 0x18 19. "     ,DMA Channel 0 Interrupt" "-,Occurred"
textline "   D1        "
eventfld.long 0x00 18. " ,DMA Channel 1 Interrupt" "-,Occurred"
bitfld.long 0x08 18. "  ,DMA Channel 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 18. "   ,DMA Channel 1 Interrupt" "-,Critical"
bitfld.long 0x10 18. "  ,DMA Channel 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 18. "  ,DMA Channel 1 Interrupt" "Level,Edge"
bitfld.long 0x18 18. "     ,DMA Channel 1 Interrupt" "-,Occurred"
textline "   D2        "
eventfld.long 0x00 17. " ,DMA Channel 2 Interrupt" "-,Occurred"
bitfld.long 0x08 17. "  ,DMA Channel 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 17. "   ,DMA Channel 2 Interrupt" "-,Critical"
bitfld.long 0x10 17. "  ,DMA Channel 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 17. "  ,DMA Channel 2 Interrupt" "Level,Edge"
bitfld.long 0x18 17. "     ,DMA Channel 2 Interrupt" "-,Occurred"
textline "   D3        "
eventfld.long 0x00 16. " ,DMA Channel 3 Interrupt" "-,Occurred"
bitfld.long 0x08 16. "  ,DMA Channel 3 Interrupt" "-,Enabled"
bitfld.long 0x0c 16. "   ,DMA Channel 3 Interrupt" "-,Critical"
bitfld.long 0x10 16. "  ,DMA Channel 3 Interrupt" "Negative,Positive"
bitfld.long 0x14 16. "  ,DMA Channel 3 Interrupt" "Level,Edge"
bitfld.long 0x18 16. "     ,DMA Channel 3 Interrupt" "-,Occurred"
textline "   CT5       "
eventfld.long 0x00 15. " ,GPT Compare Timer 5 Interrupt" "-,Occurred"
bitfld.long 0x08 15. "  ,GPT Compare Timer 5 Interrupt" "-,Enabled"
bitfld.long 0x0c 15. "   ,GPT Compare Timer 5 Interrupt" "-,Critical"
bitfld.long 0x10 15. "  ,GPT Compare Timer 5 Interrupt" "Negative,Positive"
bitfld.long 0x14 15. "  ,GPT Compare Timer 5 Interrupt" "Level,Edge"
bitfld.long 0x18 15. "     ,GPT Compare Timer 5 Interrupt" "-,Occurred"
textline "   CT6       "
eventfld.long 0x00 14. " ,GPT Compare Timer 6 Interrupt" "-,Occurred"
bitfld.long 0x08 14. "  ,GPT Compare Timer 6 Interrupt" "-,Enabled"
bitfld.long 0x0c 14. "   ,GPT Compare Timer 6 Interrupt" "-,Critical"
bitfld.long 0x10 14. "  ,GPT Compare Timer 6 Interrupt" "Negative,Positive"
bitfld.long 0x14 14. "  ,GPT Compare Timer 6 Interrupt" "Level,Edge"
bitfld.long 0x18 14. "     ,GPT Compare Timer 6 Interrupt" "-,Occurred"
textline "   CT0       "
eventfld.long 0x00 13. " ,GPT Compare Timer 0 Interrupt" "-,Occurred"
bitfld.long 0x08 13. "  ,GPT Compare Timer 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 13. "   ,GPT Compare Timer 0 Interrupt" "-,Critical"
bitfld.long 0x10 13. "  ,GPT Compare Timer 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 13. "  ,GPT Compare Timer 0 Interrupt" "Level,Edge"
bitfld.long 0x18 13. "     ,GPT Compare Timer 0 Interrupt" "-,Occurred"
textline "   CT1       "
eventfld.long 0x00 12. " ,GPT Compare Timer 1 Interrupt" "-,Occurred"
bitfld.long 0x08 12. "  ,GPT Compare Timer 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 12. "   ,GPT Compare Timer 1 Interrupt" "-,Critical"
bitfld.long 0x10 12. "  ,GPT Compare Timer 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 12. "  ,GPT Compare Timer 1 Interrupt" "Level,Edge"
bitfld.long 0x18 12. "     ,GPT Compare Timer 1 Interrupt" "-,Occurred"
textline "   CT2       "
eventfld.long 0x00 11. " ,GPT Compare Timer 2 Interrupt" "-,Occurred"
bitfld.long 0x08 11. "  ,GPT Compare Timer 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 11. "   ,GPT Compare Timer 2 Interrupt" "-,Critical"
bitfld.long 0x10 11. "  ,GPT Compare Timer 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 11. "  ,GPT Compare Timer 2 Interrupt" "Level,Edge"
bitfld.long 0x18 11. "     ,GPT Compare Timer 2 Interrupt" "-,Occurred"
textline "   CT3       "
eventfld.long 0x00 10. " ,GPT Compare Timer 3 Interrupt" "-,Occurred"
bitfld.long 0x08 10. "  ,GPT Compare Timer 3 Interrupt" "-,Enabled"
bitfld.long 0x0c 10. "   ,GPT Compare Timer 3 Interrupt" "-,Critical"
bitfld.long 0x10 10. "  ,GPT Compare Timer 3 Interrupt" "Negative,Positive"
bitfld.long 0x14 10. "  ,GPT Compare Timer 3 Interrupt" "Level,Edge"
bitfld.long 0x18 10. "     ,GPT Compare Timer 3 Interrupt" "-,Occurred"
textline "   CT4       "
eventfld.long 0x00 09. " ,GPT Compare Timer 4 Interrupt" "-,Occurred"
bitfld.long 0x08 09. "  ,GPT Compare Timer 4 Interrupt" "-,Enabled"
bitfld.long 0x0c 09. "   ,GPT Compare Timer 4 Interrupt" "-,Critical"
bitfld.long 0x10 09. "  ,GPT Compare Timer 4 Interrupt" "Negative,Positive"
bitfld.long 0x14 09. "  ,GPT Compare Timer 4 Interrupt" "Level,Edge"
bitfld.long 0x18 09. "     ,GPT Compare Timer 4 Interrupt" "-,Occurred"
textline "   EIR0      "
eventfld.long 0x00 08. " ,External IRQ 0 Interrupt" "-,Occurred"
bitfld.long 0x08 08. "  ,External IRQ 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 08. "   ,External IRQ 0 Interrupt" "-,Critical"
bitfld.long 0x10 08. "  ,External IRQ 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 08. "  ,External IRQ 0 Interrupt" "Level,Edge"
bitfld.long 0x18 08. "     ,External IRQ 0 Interrupt" "-,Occurred"
textline "   EIR1      "
eventfld.long 0x00 07. " ,External IRQ 1 Interrupt" "-,Occurred"
bitfld.long 0x08 07. "  ,External IRQ 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 07. "   ,External IRQ 1 Interrupt" "-,Critical"
bitfld.long 0x10 07. "  ,External IRQ 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 07. "  ,External IRQ 1 Interrupt" "Level,Edge"
bitfld.long 0x18 07. "     ,External IRQ 1 Interrupt" "-,Occurred"
textline "   EIR2      "
eventfld.long 0x00 06. " ,External IRQ 2 Interrupt" "-,Occurred"
bitfld.long 0x08 06. "  ,External IRQ 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 06. "   ,External IRQ 2 Interrupt" "-,Critical"
bitfld.long 0x10 06. "  ,External IRQ 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 06. "  ,External IRQ 2 Interrupt" "Level,Edge"
bitfld.long 0x18 06. "     ,External IRQ 2 Interrupt" "-,Occurred"
textline "   EIR3      "
eventfld.long 0x00 05. " ,External IRQ 3 Interrupt" "-,Occurred"
bitfld.long 0x08 05. "  ,External IRQ 3 Interrupt" "-,Enabled"
bitfld.long 0x0c 05. "   ,External IRQ 3 Interrupt" "-,Critical"
bitfld.long 0x10 05. "  ,External IRQ 3 Interrupt" "Negative,Positive"
bitfld.long 0x14 05. "  ,External IRQ 3 Interrupt" "Level,Edge"
bitfld.long 0x18 05. "     ,External IRQ 3 Interrupt" "-,Occurred"
textline "   EIR4      "
eventfld.long 0x00 04. " ,External IRQ 4 Interrupt" "-,Occurred"
bitfld.long 0x08 04. "  ,External IRQ 4 Interrupt" "-,Enabled"
bitfld.long 0x0c 04. "   ,External IRQ 4 Interrupt" "-,Critical"
bitfld.long 0x10 04. "  ,External IRQ 4 Interrupt" "Negative,Positive"
bitfld.long 0x14 04. "  ,External IRQ 4 Interrupt" "Level,Edge"
bitfld.long 0x18 04. "     ,External IRQ 4 Interrupt" "-,Occurred"
textline "   EIR5      "
eventfld.long 0x00 03. " ,External IRQ 5 Interrupt" "-,Occurred"
bitfld.long 0x08 03. "  ,External IRQ 5 Interrupt" "-,Enabled"
bitfld.long 0x0c 03. "   ,External IRQ 5 Interrupt" "-,Critical"
bitfld.long 0x10 03. "  ,External IRQ 5 Interrupt" "Negative,Positive"
bitfld.long 0x14 03. "  ,External IRQ 5 Interrupt" "Level,Edge"
bitfld.long 0x18 03. "     ,External IRQ 5 Interrupt" "-,Occurred"
textline "   EIR6      "
eventfld.long 0x00 02. " ,External IRQ 6 Interrupt" "-,Occurred"
bitfld.long 0x08 02. "  ,External IRQ 6 Interrupt" "-,Enabled"
bitfld.long 0x0c 02. "   ,External IRQ 6 Interrupt" "-,Critical"
bitfld.long 0x10 02. "  ,External IRQ 6 Interrupt" "Negative,Positive"
bitfld.long 0x14 02. "  ,External IRQ 6 Interrupt" "Level,Edge"
bitfld.long 0x18 02. "     ,External IRQ 6 Interrupt" "-,Occurred"
textline "   UIC1NC    "
eventfld.long 0x00 01. " ,UIC1 Non-Critical Interrupt" "-,Occurred"
bitfld.long 0x08 01. "  ,UIC1 Non-Critical Interrupt" "-,Enabled"
bitfld.long 0x0c 01. "   ,UIC1 Non-Critical Interrupt" "-,Critical"
bitfld.long 0x10 01. "  ,UIC1 Non-Critical Interrupt" "Negative,Positive"
bitfld.long 0x14 01. "  ,UIC1 Non-Critical Interrupt" "Level,Edge"
bitfld.long 0x18 01. "     ,UIC1 Non-Critical Interrupt" "-,Occurred"
textline "   UIC1C     "
eventfld.long 0x00 00. " ,UIC1 Critical Interrupt" "-,Occurred"
bitfld.long 0x08 00. "  ,UIC1 Critical Interrupt" "-,Enabled"
bitfld.long 0x0c 00. "   ,UIC1 Critical Interrupt" "-,Critical"
bitfld.long 0x10 00. "  ,UIC1 Critical Interrupt" "Negative,Positive"
bitfld.long 0x14 00. "  ,UIC1 Critical Interrupt" "Level,Edge"
bitfld.long 0x18 00. "     ,UIC1 Critical Interrupt" "-,Occurred"
textline "         "
wgroup.long dcr:0x0C8--0x0C8
line.long 0x00 "UIC0_VCR,UIC Vector Configuration Register 0"
hexmask.long 0x00 2.--31. 0x4 " VBA    ,Vector Base Address"
bitfld.long 0x00 0. "      PRO   ,Priority Ordering" "31 --> 0,0 --> 31"
rgroup.long dcr:0x0C7--0x0C7
line.long 0x00 "UIC0_VR,UIC Vector Register 0"
hexmask.long 0x00 0.--31. 1. " VR     ,Interrupt Vector"  
tree.end
tree "UIC1"
group.long dcr:0x0D0--0x0D6
textline "              UIC1_SR   UIC1_ER   UIC1_CR   UIC1_PR   UIC1_TR   UIC1_MSR"
textline "         "
hexmask.long 0x00 00.--31. 1. "     ,UIC1 Status Register"
hexmask.long 0x08 00.--31. 1. "  ,UIC1 Enable Register"
hexmask.long 0x0c 00.--31. 1. "  ,UIC1 Critical Register"
hexmask.long 0x10 00.--31. 1. "  ,UIC1 Polarity Register"
hexmask.long 0x14 00.--31. 1. "  ,UIC1 Trigger Register"
hexmask.long 0x18 00.--31. 1. "  ,UIC1 Masked Status Register"
textline "   MS        "
eventfld.long 0x00 31. " ,MAL SERR Interrupt" "-,Occurred"
bitfld.long 0x08 31. "  ,MAL SERR Interrupt" "-,Enabled"
bitfld.long 0x0c 31. "   ,MAL SERR Interrupt" "-,Critical"
bitfld.long 0x10 31. "  ,MAL SERR Interrupt" "Negative,Positive"
bitfld.long 0x14 31. "  ,MAL SERR Interrupt" "Level,Edge"
bitfld.long 0x18 31. "     ,MAL SERR Interrupt" "-,Occurred"
textline "   MTDE      "
eventfld.long 0x00 30. " ,MAL TXDE Interrupt" "-,Occurred"
bitfld.long 0x08 30. "  ,MAL TXDE Interrupt" "-,Enabled"
bitfld.long 0x0c 30. "   ,MAL TXDE Interrupt" "-,Critical"
bitfld.long 0x10 30. "  ,MAL TXDE Interrupt" "Negative,Positive"
bitfld.long 0x14 30. "  ,MAL TXDE Interrupt" "Level,Edge"
bitfld.long 0x18 30. "     ,MAL TXDE Interrupt" "-,Occurred"
textline "   MRDE      "
eventfld.long 0x00 29. " ,MAL RXDE Interrupt" "-,Occurred"
bitfld.long 0x08 29. "  ,MAL RXDE Interrupt" "-,Enabled"
bitfld.long 0x0c 29. "   ,MAL RXDE Interrupt" "-,Critical"
bitfld.long 0x10 29. "  ,MAL RXDE Interrupt" "Negative,Positive"
bitfld.long 0x14 29. "  ,MAL RXDE Interrupt" "Level,Edge"
bitfld.long 0x18 29. "     ,MAL RXDE Interrupt" "-,Occurred"
textline "   DEUE      "
eventfld.long 0x00 28. " ,DDRSDRAM ECC Uncorrectable Error Interrupt" "-,Occurred"
bitfld.long 0x08 28. "  ,DDRSDRAM ECC Uncorrectable Error Interrupt" "-,Enabled"
bitfld.long 0x0c 28. "   ,DDRSDRAM ECC Uncorrectable Error Interrupt" "-,Critical"
bitfld.long 0x10 28. "  ,DDRSDRAM ECC Uncorrectable Error Interrupt" "Negative,Positive"
bitfld.long 0x14 28. "  ,DDRSDRAM ECC Uncorrectable Error Interrupt" "Level,Edge"
bitfld.long 0x18 28. "     ,DDRSDRAM ECC Uncorrectable Error Interrupt" "-,Occurred"
textline "   DECE      "
eventfld.long 0x00 27. " ,DDRSDRAM ECC Correctable Error Interrupt" "-,Occurred"
bitfld.long 0x08 27. "  ,DDRSDRAM ECC Correctable Error Interrupt" "-,Enabled"
bitfld.long 0x0c 27. "   ,DDRSDRAM ECC Correctable Error Interrupt" "-,Critical"
bitfld.long 0x10 27. "  ,DDRSDRAM ECC Correctable Error Interrupt" "Negative,Positive"
bitfld.long 0x14 27. "  ,DDRSDRAM ECC Correctable Error Interrupt" "Level,Edge"
bitfld.long 0x18 27. "     ,DDRSDRAM ECC Correctable Error Interrupt" "-,Occurred"
textline "   EBC       "
eventfld.long 0x00 26. " ,EBC Interrupt" "-,Occurred"
bitfld.long 0x08 26. "  ,EBC Interrupt" "-,Enabled"
bitfld.long 0x0c 26. "   ,EBC Interrupt" "-,Critical"
bitfld.long 0x10 26. "  ,EBC Interrupt" "Negative,Positive"
bitfld.long 0x14 26. "  ,EBC Interrupt" "Level,Edge"
bitfld.long 0x18 26. "     ,EBC Interrupt" "-,Occurred"
textline "   NDFC      "
eventfld.long 0x00 25. " ,NDFC Interrupt" "-,Occurred"
bitfld.long 0x08 25. "  ,NDFC Interrupt" "-,Enabled"
bitfld.long 0x0c 25. "   ,NDFC Interrupt" "-,Critical"
bitfld.long 0x10 25. "  ,NDFC Interrupt" "Negative,Positive"
bitfld.long 0x14 25. "  ,NDFC Interrupt" "Level,Edge"
bitfld.long 0x18 25. "     ,NDFC Interrupt" "-,Occurred"
textline "   OPB       "
eventfld.long 0x00 24. " ,OPB to PLB Bridge Interrupt" "-,Occurred"
bitfld.long 0x08 24. "  ,OPB to PLB Bridge Interrupt" "-,Enabled"
bitfld.long 0x0c 24. "   ,OPB to PLB Bridge Interrupt" "-,Critical"
bitfld.long 0x10 24. "  ,OPB to PLB Bridge Interrupt" "Negative,Positive"
bitfld.long 0x14 24. "  ,OPB to PLB Bridge Interrupt" "Level,Edge"
bitfld.long 0x18 24. "     ,OPB to PLB Bridge Interrupt" "-,Occurred"
textline "   P2P0      "
eventfld.long 0x00 21. " ,PLB3 to PLB4 Bridge 0 Interrupt" "-,Occurred"
bitfld.long 0x08 21. "  ,PLB3 to PLB4 Bridge 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 21. "   ,PLB3 to PLB4 Bridge 0 Interrupt" "-,Critical"
bitfld.long 0x10 21. "  ,PLB3 to PLB4 Bridge 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 21. "  ,PLB3 to PLB4 Bridge 0 Interrupt" "Level,Edge"
bitfld.long 0x18 21. "     ,PLB3 to PLB4 Bridge 0 Interrupt" "-,Occurred"
textline "   P2P1      "
eventfld.long 0x00 20. " ,PLB3 to PLB4 Bridge 1 Interrupt" "-,Occurred"
bitfld.long 0x08 20. "  ,PLB3 to PLB4 Bridge 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 20. "   ,PLB3 to PLB4 Bridge 1 Interrupt" "-,Critical"
bitfld.long 0x10 20. "  ,PLB3 to PLB4 Bridge 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 20. "  ,PLB3 to PLB4 Bridge 1 Interrupt" "Level,Edge"
bitfld.long 0x18 20. "     ,PLB3 to PLB4 Bridge 1 Interrupt" "-,Occurred"
textline "   P2P2      "
eventfld.long 0x00 19. " ,PLB3 to PLB4 Bridge 2 Interrupt" "-,Occurred"
bitfld.long 0x08 19. "  ,PLB3 to PLB4 Bridge 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 19. "   ,PLB3 to PLB4 Bridge 2 Interrupt" "-,Critical"
bitfld.long 0x10 19. "  ,PLB3 to PLB4 Bridge 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 19. "  ,PLB3 to PLB4 Bridge 2 Interrupt" "Level,Edge"
bitfld.long 0x18 19. "     ,PLB3 to PLB4 Bridge 2 Interrupt" "-,Occurred"
textline "   P2P3      "
eventfld.long 0x00 18. " ,PLB3 to PLB4 Bridge 3 Interrupt" "-,Occurred"
bitfld.long 0x08 18. "  ,PLB3 to PLB4 Bridge 3 Interrupt" "-,Enabled"
bitfld.long 0x0c 18. "   ,PLB3 to PLB4 Bridge 3 Interrupt" "-,Critical"
bitfld.long 0x10 18. "  ,PLB3 to PLB4 Bridge 3 Interrupt" "Negative,Positive"
bitfld.long 0x14 18. "  ,PLB3 to PLB4 Bridge 3 Interrupt" "Level,Edge"
bitfld.long 0x18 18. "     ,PLB3 to PLB4 Bridge 3 Interrupt" "-,Occurred"
textline "   P2P4      "
eventfld.long 0x00 17. " ,PLB3 to PLB4 Bridge 4 Interrupt" "-,Occurred"
bitfld.long 0x08 17. "  ,PLB3 to PLB4 Bridge 4 Interrupt" "-,Enabled"
bitfld.long 0x0c 17. "   ,PLB3 to PLB4 Bridge 4 Interrupt" "-,Critical"
bitfld.long 0x10 17. "  ,PLB3 to PLB4 Bridge 4 Interrupt" "Negative,Positive"
bitfld.long 0x14 17. "  ,PLB3 to PLB4 Bridge 4 Interrupt" "Level,Edge"
bitfld.long 0x18 17. "     ,PLB3 to PLB4 Bridge 4 Interrupt" "-,Occurred"
textline "   P2P5      "
eventfld.long 0x00 16. " ,PLB3 to PLB4 Bridge 5 Interrupt" "-,Occurred"
bitfld.long 0x08 16. "  ,PLB3 to PLB4 Bridge 5 Interrupt" "-,Enabled"
bitfld.long 0x0c 16. "   ,PLB3 to PLB4 Bridge 5 Interrupt" "-,Critical"
bitfld.long 0x10 16. "  ,PLB3 to PLB4 Bridge 5 Interrupt" "Negative,Positive"
bitfld.long 0x14 16. "  ,PLB3 to PLB4 Bridge 5 Interrupt" "Level,Edge"
bitfld.long 0x18 16. "     ,PLB3 to PLB4 Bridge 5 Interrupt" "-,Occurred"
textline "   UDMA0     "
eventfld.long 0x00 15. " ,UDMA0 Interrupt" "-,Occurred"
bitfld.long 0x08 15. "  ,UDMA0 Interrupt" "-,Enabled"
bitfld.long 0x0c 15. "   ,UDMA0 Interrupt" "-,Critical"
bitfld.long 0x10 15. "  ,UDMA0 Interrupt" "Negative,Positive"
bitfld.long 0x14 15. "  ,UDMA0 Interrupt" "Level,Edge"
bitfld.long 0x18 15. "     ,UDMA0 Interrupt" "-,Occurred"
textline "   UDMA1     "
eventfld.long 0x00 14. " ,UDMA1 Interrupt" "-,Occurred"
bitfld.long 0x08 14. "  ,UDMA1 Interrupt" "-,Enabled"
bitfld.long 0x0c 14. "   ,UDMA1 Interrupt" "-,Critical"
bitfld.long 0x10 14. "  ,UDMA1 Interrupt" "Negative,Positive"
bitfld.long 0x14 14. "  ,UDMA1 Interrupt" "Level,Edge"
bitfld.long 0x18 14. "     ,UDMA1 Interrupt" "-,Occurred"
textline "   EIR7      "
eventfld.long 0x00 13. " ,External IRQ 7 Interrupt" "-,Occurred"
bitfld.long 0x08 13. "  ,External IRQ 7 Interrupt" "-,Enabled"
bitfld.long 0x0c 13. "   ,External IRQ 7 Interrupt" "-,Critical"
bitfld.long 0x10 13. "  ,External IRQ 7 Interrupt" "Negative,Positive"
bitfld.long 0x14 13. "  ,External IRQ 7 Interrupt" "Level,Edge"
bitfld.long 0x18 13. "     ,External IRQ 7 Interrupt" "-,Occurred"
textline "   EIR8      "
eventfld.long 0x00 12. " ,External IRQ 8 Interrupt" "-,Occurred"
bitfld.long 0x08 12. "  ,External IRQ 8 Interrupt" "-,Enabled"
bitfld.long 0x0c 12. "   ,External IRQ 8 Interrupt" "-,Critical"
bitfld.long 0x10 12. "  ,External IRQ 8 Interrupt" "Negative,Positive"
bitfld.long 0x14 12. "  ,External IRQ 8 Interrupt" "Level,Edge"
bitfld.long 0x18 12. "     ,External IRQ 8 Interrupt" "-,Occurred"
textline "   EIR9      "
eventfld.long 0x00 11. " ,External IRQ 9 Interrupt" "-,Occurred"
bitfld.long 0x08 11. "  ,External IRQ 9 Interrupt" "-,Enabled"
bitfld.long 0x0c 11. "   ,External IRQ 9 Interrupt" "-,Critical"
bitfld.long 0x10 11. "  ,External IRQ 9 Interrupt" "Negative,Positive"
bitfld.long 0x14 11. "  ,External IRQ 9 Interrupt" "Level,Edge"
bitfld.long 0x18 11. "     ,External IRQ 9 Interrupt" "-,Occurred"
textline "   UDMA2     "
eventfld.long 0x00 10. " ,UDMA2 Interrupt" "-,Occurred"
bitfld.long 0x08 10. "  ,UDMA2 Interrupt" "-,Enabled"
bitfld.long 0x0c 10. "   ,UDMA2 Interrupt" "-,Critical"
bitfld.long 0x10 10. "  ,UDMA2 Interrupt" "Negative,Positive"
bitfld.long 0x14 10. "  ,UDMA2 Interrupt" "Level,Edge"
bitfld.long 0x18 10. "     ,UDMA2 Interrupt" "-,Occurred"
textline "   UDMA3     "
eventfld.long 0x00 09. " ,UDMA3 Interrupt" "-,Occurred"
bitfld.long 0x08 09. "  ,UDMA3 Interrupt" "-,Enabled"
bitfld.long 0x0c 09. "   ,UDMA3 Interrupt" "-,Critical"
bitfld.long 0x10 09. "  ,UDMA3 Interrupt" "Negative,Positive"
bitfld.long 0x14 09. "  ,UDMA3 Interrupt" "Level,Edge"
bitfld.long 0x18 09. "     ,UDMA3 Interrupt" "-,Occurred"
textline "   SRE       "
eventfld.long 0x00 07. " ,Serial ROM Error Interrupt" "-,Occurred"
bitfld.long 0x08 07. "  ,Serial ROM Error Interrupt" "-,Enabled"
bitfld.long 0x0c 07. "   ,Serial ROM Error Interrupt" "-,Critical"
bitfld.long 0x10 07. "  ,Serial ROM Error Interrupt" "Negative,Positive"
bitfld.long 0x14 07. "  ,Serial ROM Error Interrupt" "Level,Edge"
bitfld.long 0x18 07. "     ,Serial ROM Error Interrupt" "-,Occurred"
textline "   GDP       "
eventfld.long 0x00 06. " ,GPT Decrement Pulse Interrupt" "-,Occurred"
bitfld.long 0x08 06. "  ,GPT Decrement Pulse Interrupt" "-,Enabled"
bitfld.long 0x0c 06. "   ,GPT Decrement Pulse Interrupt" "-,Critical"
bitfld.long 0x10 06. "  ,GPT Decrement Pulse Interrupt" "Negative,Positive"
bitfld.long 0x14 06. "  ,GPT Decrement Pulse Interrupt" "Level,Edge"
bitfld.long 0x18 06. "     ,GPT Decrement Pulse Interrupt" "-,Occurred"
textline "   PPM       "
eventfld.long 0x00 05. " ,PLB Performance Monitor Interrupt" "-,Occurred"
bitfld.long 0x08 05. "  ,PLB Performance Monitor Interrupt" "-,Enabled"
bitfld.long 0x0c 05. "   ,PLB Performance Monitor Interrupt" "-,Critical"
bitfld.long 0x10 05. "  ,PLB Performance Monitor Interrupt" "Negative,Positive"
bitfld.long 0x14 05. "  ,PLB Performance Monitor Interrupt" "Level,Edge"
bitfld.long 0x18 05. "     ,PLB Performance Monitor Interrupt" "-,Occurred"
textline "   EPP       "
eventfld.long 0x00 04. " ,EXT_PCI_PERR (parity) Interrupt" "-,Occurred"
bitfld.long 0x08 04. "  ,EXT_PCI_PERR (parity) Interrupt" "-,Enabled"
bitfld.long 0x0c 04. "   ,EXT_PCI_PERR (parity) Interrupt" "-,Critical"
bitfld.long 0x10 04. "  ,EXT_PCI_PERR (parity) Interrupt" "Negative,Positive"
bitfld.long 0x14 04. "  ,EXT_PCI_PERR (parity) Interrupt" "Level,Edge"
bitfld.long 0x18 04. "     ,EXT_PCI_PERR (parity) Interrupt" "-,Occurred"
textline "   ETH0      "
eventfld.long 0x00 03. " ,Ethernet 0 Interrupt" "-,Occurred"
bitfld.long 0x08 03. "  ,Ethernet 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 03. "   ,Ethernet 0 Interrupt" "-,Critical"
bitfld.long 0x10 03. "  ,Ethernet 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 03. "  ,Ethernet 0 Interrupt" "Level,Edge"
bitfld.long 0x18 03. "     ,Ethernet 0 Interrupt" "-,Occurred"
textline "   EWU0      "
eventfld.long 0x00 02. " ,Ethernet 0 Wake-up Interrupt" "-,Occurred"
bitfld.long 0x08 02. "  ,Ethernet 0 Wake-up Interrupt" "-,Enabled"
bitfld.long 0x0c 02. "   ,Ethernet 0 Wake-up Interrupt" "-,Critical"
bitfld.long 0x10 02. "  ,Ethernet 0 Wake-up Interrupt" "Negative,Positive"
bitfld.long 0x14 02. "  ,Ethernet 0 Wake-up Interrupt" "Level,Edge"
bitfld.long 0x18 02. "     ,Ethernet 0 Wake-up Interrupt" "-,Occurred"
textline "   ETH1      "
eventfld.long 0x00 01. " ,Ethernet 1 Interrupt" "-,Occurred"
bitfld.long 0x08 01. "  ,Ethernet 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 01. "   ,Ethernet 1 Interrupt" "-,Critical"
bitfld.long 0x10 01. "  ,Ethernet 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 01. "  ,Ethernet 1 Interrupt" "Level,Edge"
bitfld.long 0x18 01. "     ,Ethernet 1 Interrupt" "-,Occurred"
textline "   EWU1      "
eventfld.long 0x00 00. " ,Ethernet 1 Wake-up Interrupt" "-,Occurred"
bitfld.long 0x08 00. "  ,Ethernet 1 Wake-up Interrupt" "-,Enabled"
bitfld.long 0x0c 00. "   ,Ethernet 1 Wake-up Interrupt" "-,Critical"
bitfld.long 0x10 00. "  ,Ethernet 1 Wake-up Interrupt" "Negative,Positive"
bitfld.long 0x14 00. "  ,Ethernet 1 Wake-up Interrupt" "Level,Edge"
bitfld.long 0x18 00. "     ,Ethernet 1 Wake-up Interrupt" "-,Occurred"
textline "         "
wgroup.long dcr:0x0D8--0x0D8
line.long 0x00 "UIC1_VCR,UIC Vector Configuration Register 1"
hexmask.long 0x00 2.--31. 0x4 " VBA    ,Vector Base Address"
bitfld.long 0x00 0. "      PRO   ,Priority Ordering" "31 --> 0,0 --> 31"
rgroup.long dcr:0x0D7--0x0D7
line.long 0x00 "UIC1_VR,UIC Vector Register 1"
hexmask.long 0x00 0.--31. 1. " VR     ,Interrupt Vector"  
tree.end
width 0x0B
elif (cpu()=="PPC440GRX")
;Universal Interrupt Controller
width 10.
tree "UIC0"
group.long dcr:0x0C0--0x0C6
textline "              UIC0_SR   UIC0_ER   UIC0_CR   UIC0_PR   UIC0_TR   UIC0_MSR"
textline "         "
hexmask.long 0x00 00.--31. 1. "     ,UIC0 Status Register"
hexmask.long 0x08 00.--31. 1. "  ,UIC0 Enable Register"
hexmask.long 0x0c 00.--31. 1. "  ,UIC0 Critical Register"
hexmask.long 0x10 00.--31. 1. "  ,UIC0 Polarity Register"
hexmask.long 0x14 00.--31. 1. "  ,UIC0 Trigger Register"
hexmask.long 0x18 00.--31. 1. "  ,UIC0 Masked Status Register"
textline "   U0        "
eventfld.long 0x00 31. " ,UART0 Interrupt" "-,Occurred"
bitfld.long 0x08 31. "  ,UART0 Interrupt" "-,Enabled"
bitfld.long 0x0c 31. "   ,UART0 Interrupt" "-,Critical"
bitfld.long 0x10 31. "  ,UART0 Interrupt" "Negative,Positive"
bitfld.long 0x14 31. "  ,UART0 Interrupt" "Level,Edge"
bitfld.long 0x18 31. "     ,UART0 Interrupt" "-,Occurred"
textline "   U1        "
eventfld.long 0x00 30. " ,UART1 Interrupt" "-,Occurred"
bitfld.long 0x08 30. "  ,UART1 Interrupt" "-,Enabled"
bitfld.long 0x0c 30. "   ,UART1 Interrupt" "-,Critical"
bitfld.long 0x10 30. "  ,UART1 Interrupt" "Negative,Positive"
bitfld.long 0x14 30. "  ,UART1 Interrupt" "Level,Edge"
bitfld.long 0x18 30. "     ,UART1 Interrupt" "-,Occurred"
textline "   IIC0      "
eventfld.long 0x00 29. " ,IIC0 Interrupt" "-,Occurred"
bitfld.long 0x08 29. "  ,IIC0 Interrupt" "-,Enabled"
bitfld.long 0x0c 29. "   ,IIC0 Interrupt" "-,Critical"
bitfld.long 0x10 29. "  ,IIC0 Interrupt" "Negative,Positive"
bitfld.long 0x14 29. "  ,IIC0 Interrupt" "Level,Edge"
bitfld.long 0x18 29. "     ,IIC0 Interrupt" "-,Occurred"
textline "   KRD       "
eventfld.long 0x00 28. " ,Kasumi Ready for Data Interrupt" "-,Occurred"
bitfld.long 0x08 28. "  ,Kasumi Ready for Data Interrupt" "-,Enabled"
bitfld.long 0x0c 28. "   ,Kasumi Ready for Data Interrupt" "-,Critical"
bitfld.long 0x10 28. "  ,Kasumi Ready for Data Interrupt" "Negative,Positive"
bitfld.long 0x14 28. "  ,Kasumi Ready for Data Interrupt" "Level,Edge"
bitfld.long 0x18 28. "     ,Kasumi Ready for Data Interrupt" "-,Occurred"
textline "   KDA       "
eventfld.long 0x00 27. " ,Kasumi Data Available Interrupt" "-,Occurred"
bitfld.long 0x08 27. "  ,Kasumi Data Available Interrupt" "-,Enabled"
bitfld.long 0x0c 27. "   ,Kasumi Data Available Interrupt" "-,Critical"
bitfld.long 0x10 27. "  ,Kasumi Data Available Interrupt" "Negative,Positive"
bitfld.long 0x14 27. "  ,Kasumi Data Available Interrupt" "Level,Edge"
bitfld.long 0x18 27. "     ,Kasumi Data Available Interrupt" "-,Occurred"
textline "   PCRW      "
eventfld.long 0x00 26. " ,PCI Command Register Write Interrupt" "-,Occurred"
bitfld.long 0x08 26. "  ,PCI Command Register Write Interrupt" "-,Enabled"
bitfld.long 0x0c 26. "   ,PCI Command Register Write Interrupt" "-,Critical"
bitfld.long 0x10 26. "  ,PCI Command Register Write Interrupt" "Negative,Positive"
bitfld.long 0x14 26. "  ,PCI Command Register Write Interrupt" "Level,Edge"
bitfld.long 0x18 26. "     ,PCI Command Register Write Interrupt" "-,Occurred"
textline "   PPM       "
eventfld.long 0x00 25. " ,PCI Power Management Interrupt" "-,Occurred"
bitfld.long 0x08 25. "  ,PCI Power Management Interrupt" "-,Enabled"
bitfld.long 0x0c 25. "   ,PCI Power Management Interrupt" "-,Critical"
bitfld.long 0x10 25. "  ,PCI Power Management Interrupt" "Negative,Positive"
bitfld.long 0x14 25. "  ,PCI Power Management Interrupt" "Level,Edge"
bitfld.long 0x18 25. "     ,PCI Power Management Interrupt" "-,Occurred"
textline "   IIC1      "
eventfld.long 0x00 24. " ,IIC1 Interrupt" "-,Occurred"
bitfld.long 0x08 24. "  ,IIC1 Interrupt" "-,Enabled"
bitfld.long 0x0c 24. "   ,IIC1 Interrupt" "-,Critical"
bitfld.long 0x10 24. "  ,IIC1 Interrupt" "Negative,Positive"
bitfld.long 0x14 24. "  ,IIC1 Interrupt" "Level,Edge"
bitfld.long 0x18 24. "     ,IIC1 Interrupt" "-,Occurred"
textline "   SPI       "
eventfld.long 0x00 23. " ,SPI Interrupt" "-,Occurred"
bitfld.long 0x08 23. "  ,SPI Interrupt" "-,Enabled"
bitfld.long 0x0c 23. "   ,SPI Interrupt" "-,Critical"
bitfld.long 0x10 23. "  ,SPI Interrupt" "Negative,Positive"
bitfld.long 0x14 23. "  ,SPI Interrupt" "Level,Edge"
bitfld.long 0x18 23. "     ,SPI Interrupt" "-,Occurred"
textline "   EPS       "
eventfld.long 0x00 22. " ,External PCI SERR Interrupt" "-,Occurred"
bitfld.long 0x08 22. "  ,External PCI SERR Interrupt" "-,Enabled"
bitfld.long 0x0c 22. "   ,External PCI SERR Interrupt" "-,Critical"
bitfld.long 0x10 22. "  ,External PCI SERR Interrupt" "Negative,Positive"
bitfld.long 0x14 22. "  ,External PCI SERR Interrupt" "Level,Edge"
bitfld.long 0x18 22. "     ,External PCI SERR Interrupt" "-,Occurred"
textline "   MTE       "
eventfld.long 0x00 21. " ,MAL TX EOB Interrupt" "-,Occurred"
bitfld.long 0x08 21. "  ,MAL TX EOB Interrupt" "-,Enabled"
bitfld.long 0x0c 21. "   ,MAL TX EOB Interrupt" "-,Critical"
bitfld.long 0x10 21. "  ,MAL TX EOB Interrupt" "Negative,Positive"
bitfld.long 0x14 21. "  ,MAL TX EOB Interrupt" "Level,Edge"
bitfld.long 0x18 21. "     ,MAL TX EOB Interrupt" "-,Occurred"
textline "   MRE       "
eventfld.long 0x00 20. " ,MAL RX EOB Interrupt" "-,Occurred"
bitfld.long 0x08 20. "  ,MAL RX EOB Interrupt" "-,Enabled"
bitfld.long 0x0c 20. "   ,MAL RX EOB Interrupt" "-,Critical"
bitfld.long 0x10 20. "  ,MAL RX EOB Interrupt" "Negative,Positive"
bitfld.long 0x14 20. "  ,MAL RX EOB Interrupt" "Level,Edge"
bitfld.long 0x18 20. "     ,MAL RX EOB Interrupt" "-,Occurred"
textline "   D0        "
eventfld.long 0x00 19. " ,DMA Channel 0 Interrupt" "-,Occurred"
bitfld.long 0x08 19. "  ,DMA Channel 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 19. "   ,DMA Channel 0 Interrupt" "-,Critical"
bitfld.long 0x10 19. "  ,DMA Channel 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 19. "  ,DMA Channel 0 Interrupt" "Level,Edge"
bitfld.long 0x18 19. "     ,DMA Channel 0 Interrupt" "-,Occurred"
textline "   D1        "
eventfld.long 0x00 18. " ,DMA Channel 1 Interrupt" "-,Occurred"
bitfld.long 0x08 18. "  ,DMA Channel 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 18. "   ,DMA Channel 1 Interrupt" "-,Critical"
bitfld.long 0x10 18. "  ,DMA Channel 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 18. "  ,DMA Channel 1 Interrupt" "Level,Edge"
bitfld.long 0x18 18. "     ,DMA Channel 1 Interrupt" "-,Occurred"
textline "   D2        "
eventfld.long 0x00 17. " ,DMA Channel 2 Interrupt" "-,Occurred"
bitfld.long 0x08 17. "  ,DMA Channel 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 17. "   ,DMA Channel 2 Interrupt" "-,Critical"
bitfld.long 0x10 17. "  ,DMA Channel 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 17. "  ,DMA Channel 2 Interrupt" "Level,Edge"
bitfld.long 0x18 17. "     ,DMA Channel 2 Interrupt" "-,Occurred"
textline "   D3        "
eventfld.long 0x00 16. " ,DMA Channel 3 Interrupt" "-,Occurred"
bitfld.long 0x08 16. "  ,DMA Channel 3 Interrupt" "-,Enabled"
bitfld.long 0x0c 16. "   ,DMA Channel 3 Interrupt" "-,Critical"
bitfld.long 0x10 16. "  ,DMA Channel 3 Interrupt" "Negative,Positive"
bitfld.long 0x14 16. "  ,DMA Channel 3 Interrupt" "Level,Edge"
bitfld.long 0x18 16. "     ,DMA Channel 3 Interrupt" "-,Occurred"
textline "   UDMA0     "
eventfld.long 0x00 15. " ,UDMA IRQ 0 Interrupt" "-,Occurred"
bitfld.long 0x08 15. "  ,UDMA IRQ 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 15. "   ,UDMA IRQ 0 Interrupt" "-,Critical"
bitfld.long 0x10 15. "  ,UDMA IRQ 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 15. "  ,UDMA IRQ 0 Interrupt" "Level,Edge"
bitfld.long 0x18 15. "     ,UDMA IRQ 0 Interrupt" "-,Occurred"
textline "   UDMA1     "
eventfld.long 0x00 14. " ,UDMA IRQ 1 Interrupt" "-,Occurred"
bitfld.long 0x08 14. "  ,UDMA IRQ 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 14. "   ,UDMA IRQ 1 Interrupt" "-,Critical"
bitfld.long 0x10 14. "  ,UDMA IRQ 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 14. "  ,UDMA IRQ 1 Interrupt" "Level,Edge"
bitfld.long 0x18 14. "     ,UDMA IRQ 1 Interrupt" "-,Occurred"
textline "   UDMA2     "
eventfld.long 0x00 13. " ,UDMA IRQ 2 Interrupt" "-,Occurred"
bitfld.long 0x08 13. "  ,UDMA IRQ 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 13. "   ,UDMA IRQ 2 Interrupt" "-,Critical"
bitfld.long 0x10 13. "  ,UDMA IRQ 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 13. "  ,UDMA IRQ 2 Interrupt" "Level,Edge"
bitfld.long 0x18 13. "     ,UDMA IRQ 2 Interrupt" "-,Occurred"
textline "   UDMA3     "
eventfld.long 0x00 12. " ,UDMA IRQ 3 Interrupt" "-,Occurred"
bitfld.long 0x08 12. "  ,UDMA IRQ 3 Interrupt" "-,Enabled"
bitfld.long 0x0c 12. "   ,UDMA IRQ 3 Interrupt" "-,Critical"
bitfld.long 0x10 12. "  ,UDMA IRQ 3 Interrupt" "Negative,Positive"
bitfld.long 0x14 12. "  ,UDMA IRQ 3 Interrupt" "Level,Edge"
bitfld.long 0x18 12. "     ,UDMA IRQ 3 Interrupt" "-,Occurred"
textline "   SEIP      "
eventfld.long 0x00 08. " ,Security Function Interrupt" "-,Occurred"
bitfld.long 0x08 08. "  ,Security Function Interrupt" "-,Enabled"
bitfld.long 0x0c 08. "   ,Security Function Interrupt" "-,Critical"
bitfld.long 0x10 08. "  ,Security Function Interrupt" "Negative,Positive"
bitfld.long 0x14 08. "  ,Security Function Interrupt" "Level,Edge"
bitfld.long 0x18 08. "     ,Security Function Interrupt" "-,Occurred"
textline "   EMAC0     "
eventfld.long 0x00 07. " ,EMAC 0 Interrupt" "-,Occurred"
bitfld.long 0x08 07. "  ,EMAC 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 07. "   ,EMAC 0 Interrupt" "-,Critical"
bitfld.long 0x10 07. "  ,EMAC 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 07. "  ,EMAC 0 Interrupt" "Level,Edge"
bitfld.long 0x18 07. "     ,EMAC 0 Interrupt" "-,Occurred"
textline "   EMAC1     "
eventfld.long 0x00 06. " ,EMAC 1 Interrupt" "-,Occurred"
bitfld.long 0x08 06. "  ,EMAC 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 06. "   ,EMAC 1 Interrupt" "-,Critical"
bitfld.long 0x10 06. "  ,EMAC 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 06. "  ,EMAC 1 Interrupt" "Level,Edge"
bitfld.long 0x18 06. "     ,EMAC 1 Interrupt" "-,Occurred"
textline "   EIR4      "
eventfld.long 0x00 04. " ,External IRQ 4 Interrupt" "-,Occurred"
bitfld.long 0x08 04. "  ,External IRQ 4 Interrupt" "-,Enabled"
bitfld.long 0x0c 04. "   ,External IRQ 4 Interrupt" "-,Critical"
bitfld.long 0x10 04. "  ,External IRQ 4 Interrupt" "Negative,Positive"
bitfld.long 0x14 04. "  ,External IRQ 4 Interrupt" "Level,Edge"
bitfld.long 0x18 04. "     ,External IRQ 4 Interrupt" "-,Occurred"
textline "   UIC2NC    "
eventfld.long 0x00 03. " ,UIC2 Non-Critical Interrupt" "-,Occurred"
bitfld.long 0x08 03. "  ,UIC2 Non-Critical Interrupt" "-,Enabled"
bitfld.long 0x0c 03. "   ,UIC2 Non-Critical Interrupt" "-,Critical"
bitfld.long 0x10 03. "  ,UIC2 Non-Critical Interrupt" "Negative,Positive"
bitfld.long 0x14 03. "  ,UIC2 Non-Critical Interrupt" "Level,Edge"
bitfld.long 0x18 03. "     ,UIC2 Non-Critical Interrupt" "-,Occurred"
textline "   UIC2C     "
eventfld.long 0x00 02. " ,UIC2 Critical Interrupt" "-,Occurred"
bitfld.long 0x08 02. "  ,UIC2 Critical Interrupt" "-,Enabled"
bitfld.long 0x0c 02. "   ,UIC2 Critical Interrupt" "-,Critical"
bitfld.long 0x10 02. "  ,UIC2 Critical Interrupt" "Negative,Positive"
bitfld.long 0x14 02. "  ,UIC2 Critical Interrupt" "Level,Edge"
bitfld.long 0x18 02. "     ,UIC2 Critical Interrupt" "-,Occurred"
textline "   UIC1NC    "
eventfld.long 0x00 01. " ,UIC1 Non-Critical Interrupt" "-,Occurred"
bitfld.long 0x08 01. "  ,UIC1 Non-Critical Interrupt" "-,Enabled"
bitfld.long 0x0c 01. "   ,UIC1 Non-Critical Interrupt" "-,Critical"
bitfld.long 0x10 01. "  ,UIC1 Non-Critical Interrupt" "Negative,Positive"
bitfld.long 0x14 01. "  ,UIC1 Non-Critical Interrupt" "Level,Edge"
bitfld.long 0x18 01. "     ,UIC1 Non-Critical Interrupt" "-,Occurred"
textline "   UIC1C     "
eventfld.long 0x00 00. " ,UIC1 Critical Interrupt" "-,Occurred"
bitfld.long 0x08 00. "  ,UIC1 Critical Interrupt" "-,Enabled"
bitfld.long 0x0c 00. "   ,UIC1 Critical Interrupt" "-,Critical"
bitfld.long 0x10 00. "  ,UIC1 Critical Interrupt" "Negative,Positive"
bitfld.long 0x14 00. "  ,UIC1 Critical Interrupt" "Level,Edge"
bitfld.long 0x18 00. "     ,UIC1 Critical Interrupt" "-,Occurred"
textline "         "
wgroup.LONG dcr:0x0C8--0x0C8
line.long 0x00 "UIC0_VCR,UIC Vector Configuration Register"
hexmask.long 0x00 2.--31. 0x2 " VBA ,Vector Base Address"
bitfld.long 0x00 0. "  PRO ,Priority Ordering" "UIC0_SR[31] highest,UIC0_SR[0] highest"
rgroup.long dcr:0x0C7--0x0C7
line.long 0x00 "UIC0_VR,UIC Vector Register 0"
hexmask.long 0x00 0.--31. 1. " VR  ,Interrupt Vector"  
tree.end
tree "UIC1"
group.long dcr:0x0D0--0x0D6
textline "              UIC1_SR   UIC1_ER   UIC1_CR   UIC1_PR   UIC1_TR   UIC1_MSR"
textline "         "
hexmask.long 0x00 00.--31. 1. "     ,UIC1 Status Register"
hexmask.long 0x08 00.--31. 1. "  ,UIC1 Enable Register"
hexmask.long 0x0c 00.--31. 1. "  ,UIC1 Critical Register"
hexmask.long 0x10 00.--31. 1. "  ,UIC1 Polarity Register"
hexmask.long 0x14 00.--31. 1. "  ,UIC1 Trigger Register"
hexmask.long 0x18 00.--31. 1. "  ,UIC1 Masked Status Register"
textline "   MS        "
eventfld.long 0x00 31. " ,MAL SERR Interrupt" "-,Occurred"
bitfld.long 0x08 31. "  ,MAL SERR Interrupt" "-,Enabled"
bitfld.long 0x0c 31. "   ,MAL SERR Interrupt" "-,Critical"
bitfld.long 0x10 31. "  ,MAL SERR Interrupt" "Negative,Positive"
bitfld.long 0x14 31. "  ,MAL SERR Interrupt" "Level,Edge"
bitfld.long 0x18 31. "     ,MAL SERR Interrupt" "-,Occurred"
textline "   MTDE      "
eventfld.long 0x00 30. " ,MAL TXDE Interrupt" "-,Occurred"
bitfld.long 0x08 30. "  ,MAL TXDE Interrupt" "-,Enabled"
bitfld.long 0x0c 30. "   ,MAL TXDE Interrupt" "-,Critical"
bitfld.long 0x10 30. "  ,MAL TXDE Interrupt" "Negative,Positive"
bitfld.long 0x14 30. "  ,MAL TXDE Interrupt" "Level,Edge"
bitfld.long 0x18 30. "     ,MAL TXDE Interrupt" "-,Occurred"
textline "   MRDE      "
eventfld.long 0x00 29. " ,MAL RXDE Interrupt" "-,Occurred"
bitfld.long 0x08 29. "  ,MAL RXDE Interrupt" "-,Enabled"
bitfld.long 0x0c 29. "   ,MAL RXDE Interrupt" "-,Critical"
bitfld.long 0x10 29. "  ,MAL RXDE Interrupt" "Negative,Positive"
bitfld.long 0x14 29. "  ,MAL RXDE Interrupt" "Level,Edge"
bitfld.long 0x18 29. "     ,MAL RXDE Interrupt" "-,Occurred"
textline "   U2        "
eventfld.long 0x00 28. " ,UART2 Interrupt" "-,Occurred"
bitfld.long 0x08 28. "  ,UART2 Interrupt" "-,Enabled"
bitfld.long 0x0c 28. "   ,UART2 Interrupt" "-,Critical"
bitfld.long 0x10 28. "  ,UART2 Interrupt" "Negative,Positive"
bitfld.long 0x14 28. "  ,UART2 Interrupt" "Level,Edge"
bitfld.long 0x18 28. "     ,UART2 Interrupt" "-,Occurred"
textline "   U3        "
eventfld.long 0x00 27. " ,UART3 Interrupt" "-,Occurred"
bitfld.long 0x08 27. "  ,UART3 Interrupt" "-,Enabled"
bitfld.long 0x0c 27. "   ,UART3 Interrupt" "-,Critical"
bitfld.long 0x10 27. "  ,UART3 Interrupt" "Negative,Positive"
bitfld.long 0x14 27. "  ,UART3 Interrupt" "Level,Edge"
bitfld.long 0x18 27. "     ,UART3 Interrupt" "-,Occurred"
textline "   EBC       "
eventfld.long 0x00 26. " ,EBC Interrupt" "-,Occurred"
bitfld.long 0x08 26. "  ,EBC Interrupt" "-,Enabled"
bitfld.long 0x0c 26. "   ,EBC Interrupt" "-,Critical"
bitfld.long 0x10 26. "  ,EBC Interrupt" "Negative,Positive"
bitfld.long 0x14 26. "  ,EBC Interrupt" "Level,Edge"
bitfld.long 0x18 26. "     ,EBC Interrupt" "-,Occurred"
textline "   NDFC      "
eventfld.long 0x00 25. " ,NDFC Interrupt" "-,Occurred"
bitfld.long 0x08 25. "  ,NDFC Interrupt" "-,Enabled"
bitfld.long 0x0c 25. "   ,NDFC Interrupt" "-,Critical"
bitfld.long 0x10 25. "  ,NDFC Interrupt" "Negative,Positive"
bitfld.long 0x14 25. "  ,NDFC Interrupt" "Level,Edge"
bitfld.long 0x18 25. "     ,NDFC Interrupt" "-,Occurred"
textline "   KSEI      "
eventfld.long 0x00 24. " ,Kasumi Slave Error Interrupt" "-,Occurred"
bitfld.long 0x08 24. "  ,Kasumi Slave Error Interrupt" "-,Enabled"
bitfld.long 0x0c 24. "   ,Kasumi Slave Error Interrupt" "-,Critical"
bitfld.long 0x10 24. "  ,Kasumi Slave Error Interrupt" "Negative,Positive"
bitfld.long 0x14 24. "  ,Kasumi Slave Error Interrupt" "Level,Edge"
bitfld.long 0x18 24. "     ,Kasumi Slave Error Interrupt" "-,Occurred"
textline "   CT5       "
eventfld.long 0x00 23. " ,GPT Compare Timer 5 Interrupt" "-,Occurred"
bitfld.long 0x08 23. "  ,GPT Compare Timer 5 Interrupt" "-,Enabled"
bitfld.long 0x0c 23. "   ,GPT Compare Timer 5 Interrupt" "-,Critical"
bitfld.long 0x10 23. "  ,GPT Compare Timer 5 Interrupt" "Negative,Positive"
bitfld.long 0x14 23. "  ,GPT Compare Timer 5 Interrupt" "Level,Edge"
bitfld.long 0x18 23. "     ,GPT Compare Timer 5 Interrupt" "-,Occurred"
textline "   CT6       "
eventfld.long 0x00 22. " ,GPT Compare Timer 6 Interrupt" "-,Occurred"
bitfld.long 0x08 22. "  ,GPT Compare Timer 6 Interrupt" "-,Enabled"
bitfld.long 0x0c 22. "   ,GPT Compare Timer 6 Interrupt" "-,Critical"
bitfld.long 0x10 22. "  ,GPT Compare Timer 6 Interrupt" "Negative,Positive"
bitfld.long 0x14 22. "  ,GPT Compare Timer 6 Interrupt" "Level,Edge"
bitfld.long 0x18 22. "     ,GPT Compare Timer 6 Interrupt" "-,Occurred"
textline "   P2P0      "
eventfld.long 0x00 21. " ,PLB3 to PLB4 Bridge 0 Interrupt" "-,Occurred"
bitfld.long 0x08 21. "  ,PLB3 to PLB4 Bridge 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 21. "   ,PLB3 to PLB4 Bridge 0 Interrupt" "-,Critical"
bitfld.long 0x10 21. "  ,PLB3 to PLB4 Bridge 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 21. "  ,PLB3 to PLB4 Bridge 0 Interrupt" "Level,Edge"
bitfld.long 0x18 21. "     ,PLB3 to PLB4 Bridge 0 Interrupt" "-,Occurred"
textline "   P2P1      "
eventfld.long 0x00 20. " ,PLB3 to PLB4 Bridge 1 Interrupt" "-,Occurred"
bitfld.long 0x08 20. "  ,PLB3 to PLB4 Bridge 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 20. "   ,PLB3 to PLB4 Bridge 1 Interrupt" "-,Critical"
bitfld.long 0x10 20. "  ,PLB3 to PLB4 Bridge 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 20. "  ,PLB3 to PLB4 Bridge 1 Interrupt" "Level,Edge"
bitfld.long 0x18 20. "     ,PLB3 to PLB4 Bridge 1 Interrupt" "-,Occurred"
textline "   P2P2      "
eventfld.long 0x00 19. " ,PLB3 to PLB4 Bridge 2 Interrupt" "-,Occurred"
bitfld.long 0x08 19. "  ,PLB3 to PLB4 Bridge 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 19. "   ,PLB3 to PLB4 Bridge 2 Interrupt" "-,Critical"
bitfld.long 0x10 19. "  ,PLB3 to PLB4 Bridge 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 19. "  ,PLB3 to PLB4 Bridge 2 Interrupt" "Level,Edge"
bitfld.long 0x18 19. "     ,PLB3 to PLB4 Bridge 2 Interrupt" "-,Occurred"
textline "   P2P3      "
eventfld.long 0x00 18. " ,PLB3 to PLB4 Bridge 3 Interrupt" "-,Occurred"
bitfld.long 0x08 18. "  ,PLB3 to PLB4 Bridge 3 Interrupt" "-,Enabled"
bitfld.long 0x0c 18. "   ,PLB3 to PLB4 Bridge 3 Interrupt" "-,Critical"
bitfld.long 0x10 18. "  ,PLB3 to PLB4 Bridge 3 Interrupt" "Negative,Positive"
bitfld.long 0x14 18. "  ,PLB3 to PLB4 Bridge 3 Interrupt" "Level,Edge"
bitfld.long 0x18 18. "     ,PLB3 to PLB4 Bridge 3 Interrupt" "-,Occurred"
textline "   P2P4      "
eventfld.long 0x00 17. " ,PLB3 to PLB4 Bridge 4 Interrupt" "-,Occurred"
bitfld.long 0x08 17. "  ,PLB3 to PLB4 Bridge 4 Interrupt" "-,Enabled"
bitfld.long 0x0c 17. "   ,PLB3 to PLB4 Bridge 4 Interrupt" "-,Critical"
bitfld.long 0x10 17. "  ,PLB3 to PLB4 Bridge 4 Interrupt" "Negative,Positive"
bitfld.long 0x14 17. "  ,PLB3 to PLB4 Bridge 4 Interrupt" "Level,Edge"
bitfld.long 0x18 17. "     ,PLB3 to PLB4 Bridge 4 Interrupt" "-,Occurred"
textline "   P2P5      "
eventfld.long 0x00 16. " ,PLB3 to PLB4 Bridge 5 Interrupt" "-,Occurred"
bitfld.long 0x08 16. "  ,PLB3 to PLB4 Bridge 5 Interrupt" "-,Enabled"
bitfld.long 0x0c 16. "   ,PLB3 to PLB4 Bridge 5 Interrupt" "-,Critical"
bitfld.long 0x10 16. "  ,PLB3 to PLB4 Bridge 5 Interrupt" "Negative,Positive"
bitfld.long 0x14 16. "  ,PLB3 to PLB4 Bridge 5 Interrupt" "Level,Edge"
bitfld.long 0x18 16. "     ,PLB3 to PLB4 Bridge 5 Interrupt" "-,Occurred"
textline "   CT0       "
eventfld.long 0x00 15. " ,GPT Compare Timer 0 Interrupt" "-,Occurred"
bitfld.long 0x08 15. "  ,GPT Compare Timer 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 15. "   ,GPT Compare Timer 0 Interrupt" "-,Critical"
bitfld.long 0x10 15. "  ,GPT Compare Timer 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 15. "  ,GPT Compare Timer 0 Interrupt" "Level,Edge"
bitfld.long 0x18 15. "     ,GPT Compare Timer 0 Interrupt" "-,Occurred"
textline "   CT1       "
eventfld.long 0x00 14. " ,GPT Compare Timer 1 Interrupt" "-,Occurred"
bitfld.long 0x08 14. "  ,GPT Compare Timer 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 14. "   ,GPT Compare Timer 1 Interrupt" "-,Critical"
bitfld.long 0x10 14. "  ,GPT Compare Timer 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 14. "  ,GPT Compare Timer 1 Interrupt" "Level,Edge"
bitfld.long 0x18 14. "     ,GPT Compare Timer 1 Interrupt" "-,Occurred"
textline "   EIR7      "
eventfld.long 0x00 13. " ,External IRQ 7 Interrupt" "-,Occurred"
bitfld.long 0x08 13. "  ,External IRQ 7 Interrupt" "-,Enabled"
bitfld.long 0x0c 13. "   ,External IRQ 7 Interrupt" "-,Critical"
bitfld.long 0x10 13. "  ,External IRQ 7 Interrupt" "Negative,Positive"
bitfld.long 0x14 13. "  ,External IRQ 7 Interrupt" "Level,Edge"
bitfld.long 0x18 13. "     ,External IRQ 7 Interrupt" "-,Occurred"
textline "   EIR8      "
eventfld.long 0x00 12. " ,External IRQ 8 Interrupt" "-,Occurred"
bitfld.long 0x08 12. "  ,External IRQ 8 Interrupt" "-,Enabled"
bitfld.long 0x0c 12. "   ,External IRQ 8 Interrupt" "-,Critical"
bitfld.long 0x10 12. "  ,External IRQ 8 Interrupt" "Negative,Positive"
bitfld.long 0x14 12. "  ,External IRQ 8 Interrupt" "Level,Edge"
bitfld.long 0x18 12. "     ,External IRQ 8 Interrupt" "-,Occurred"
textline "   EIR9      "
eventfld.long 0x00 11. " ,External IRQ 9 Interrupt" "-,Occurred"
bitfld.long 0x08 11. "  ,External IRQ 9 Interrupt" "-,Enabled"
bitfld.long 0x0c 11. "   ,External IRQ 9 Interrupt" "-,Critical"
bitfld.long 0x10 11. "  ,External IRQ 9 Interrupt" "Negative,Positive"
bitfld.long 0x14 11. "  ,External IRQ 9 Interrupt" "Level,Edge"
bitfld.long 0x18 11. "     ,External IRQ 9 Interrupt" "-,Occurred"
textline "   CT2       "
eventfld.long 0x00 10. " ,GPT Compare Timer 2 Interrupt" "-,Occurred"
bitfld.long 0x08 10. "  ,GPT Compare Timer 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 10. "   ,GPT Compare Timer 2 Interrupt" "-,Critical"
bitfld.long 0x10 10. "  ,GPT Compare Timer 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 10. "  ,GPT Compare Timer 2 Interrupt" "Level,Edge"
bitfld.long 0x18 10. "     ,GPT Compare Timer 2 Interrupt" "-,Occurred"
textline "   CT3       "
eventfld.long 0x00 09. " ,GPT Compare Timer 3 Interrupt" "-,Occurred"
bitfld.long 0x08 09. "  ,GPT Compare Timer 3 Interrupt" "-,Enabled"
bitfld.long 0x0c 09. "   ,GPT Compare Timer 3 Interrupt" "-,Critical"
bitfld.long 0x10 09. "  ,GPT Compare Timer 3 Interrupt" "Negative,Positive"
bitfld.long 0x14 09. "  ,GPT Compare Timer 3 Interrupt" "Level,Edge"
bitfld.long 0x18 09. "     ,GPT Compare Timer 3 Interrupt" "-,Occurred"
textline "   CT4       "
eventfld.long 0x00 08. " ,GPT Compare Timer 4 Interrupt" "-,Occurred"
bitfld.long 0x08 08. "  ,GPT Compare Timer 4 Interrupt" "-,Enabled"
bitfld.long 0x0c 08. "   ,GPT Compare Timer 4 Interrupt" "-,Critical"
bitfld.long 0x10 08. "  ,GPT Compare Timer 4 Interrupt" "Negative,Positive"
bitfld.long 0x14 08. "  ,GPT Compare Timer 4 Interrupt" "Level,Edge"
bitfld.long 0x18 08. "     ,GPT Compare Timer 4 Interrupt" "-,Occurred"
textline "   SRE       "
eventfld.long 0x00 07. " ,Serial ROM Error Interrupt" "-,Occurred"
bitfld.long 0x08 07. "  ,Serial ROM Error Interrupt" "-,Enabled"
bitfld.long 0x0c 07. "   ,Serial ROM Error Interrupt" "-,Critical"
bitfld.long 0x10 07. "  ,Serial ROM Error Interrupt" "Negative,Positive"
bitfld.long 0x14 07. "  ,Serial ROM Error Interrupt" "Level,Edge"
bitfld.long 0x18 07. "     ,Serial ROM Error Interrupt" "-,Occurred"
textline "   GDP       "
eventfld.long 0x00 06. " ,GPT Decrement Pulse Interrupt" "-,Occurred"
bitfld.long 0x08 06. "  ,GPT Decrement Pulse Interrupt" "-,Enabled"
bitfld.long 0x0c 06. "   ,GPT Decrement Pulse Interrupt" "-,Critical"
bitfld.long 0x10 06. "  ,GPT Decrement Pulse Interrupt" "Negative,Positive"
bitfld.long 0x14 06. "  ,GPT Decrement Pulse Interrupt" "Level,Edge"
bitfld.long 0x18 06. "     ,GPT Decrement Pulse Interrupt" "-,Occurred"
textline "   EPP       "
eventfld.long 0x00 04. " ,EXT_PCI_PERR (parity) Interrupt" "-,Occurred"
bitfld.long 0x08 04. "  ,EXT_PCI_PERR (parity) Interrupt" "-,Enabled"
bitfld.long 0x0c 04. "   ,EXT_PCI_PERR (parity) Interrupt" "-,Critical"
bitfld.long 0x10 04. "  ,EXT_PCI_PERR (parity) Interrupt" "Negative,Positive"
bitfld.long 0x14 04. "  ,EXT_PCI_PERR (parity) Interrupt" "Level,Edge"
bitfld.long 0x18 04. "     ,EXT_PCI_PERR (parity) Interrupt" "-,Occurred"
textline "   EIR0      "
eventfld.long 0x00 03. " ,External IRQ 0 Interrupt" "-,Occurred"
bitfld.long 0x08 03. "  ,External IRQ 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 03. "   ,External IRQ 0 Interrupt" "-,Critical"
bitfld.long 0x10 03. "  ,External IRQ 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 03. "  ,External IRQ 0 Interrupt" "Level,Edge"
bitfld.long 0x18 03. "     ,External IRQ 0 Interrupt" "-,Occurred"
textline "   EWU0      "
eventfld.long 0x00 02. " ,Ethernet 0 Wake-up Interrupt" "-,Occurred"
bitfld.long 0x08 02. "  ,Ethernet 0 Wake-up Interrupt" "-,Enabled"
bitfld.long 0x0c 02. "   ,Ethernet 0 Wake-up Interrupt" "-,Critical"
bitfld.long 0x10 02. "  ,Ethernet 0 Wake-up Interrupt" "Negative,Positive"
bitfld.long 0x14 02. "  ,Ethernet 0 Wake-up Interrupt" "Level,Edge"
bitfld.long 0x18 02. "     ,Ethernet 0 Wake-up Interrupt" "-,Occurred"
textline "   EIR1      "
eventfld.long 0x00 01. " ,External IRQ 1 Interrupt" "-,Occurred"
bitfld.long 0x08 01. "  ,External IRQ 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 01. "   ,External IRQ 1 Interrupt" "-,Critical"
bitfld.long 0x10 01. "  ,External IRQ 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 01. "  ,External IRQ 1 Interrupt" "Level,Edge"
bitfld.long 0x18 01. "     ,External IRQ 1 Interrupt" "-,Occurred"
textline "   EWU1      "
eventfld.long 0x00 00. " ,Ethernet 1 Wake-up Interrupt" "-,Occurred"
bitfld.long 0x08 00. "  ,Ethernet 1 Wake-up Interrupt" "-,Enabled"
bitfld.long 0x0c 00. "   ,Ethernet 1 Wake-up Interrupt" "-,Critical"
bitfld.long 0x10 00. "  ,Ethernet 1 Wake-up Interrupt" "Negative,Positive"
bitfld.long 0x14 00. "  ,Ethernet 1 Wake-up Interrupt" "Level,Edge"
bitfld.long 0x18 00. "     ,Ethernet 1 Wake-up Interrupt" "-,Occurred"
textline "         "
wgroup.long dcr:0x0D8--0x0D8
line.long 0x00 "UIC1_VCR,UIC Vector Configuration Register 1"
hexmask.long 0x00 2.--31. 0x2 " VBA ,Vector Base Address"
bitfld.long 0x00 0. "  PRO ,Priority Ordering" "UIC0_SR[31] highest,UIC0_SR[0] highest"
rgroup.long dcr:0x0D7--0x0D7
line.long 0x00 "UIC1_VR,UIC Vector Register 1"
hexmask.long 0x00 0.--31. 1. " VR  ,Interrupt Vector"
tree.end
tree "UIC2"
group.long dcr:0x0E0--0x0E6
textline "              UIC2_SR   UIC2_ER   UIC2_CR   UIC2_PR   UIC2_TR   UIC2_MSR"
textline "         "
hexmask.long 0x00 00.--31. 1. "     ,UIC2 Status Register"
hexmask.long 0x08 00.--31. 1. "  ,UIC2 Enable Register"
hexmask.long 0x0c 00.--31. 1. "  ,UIC2 Critical Register"
hexmask.long 0x10 00.--31. 1. "  ,UIC2 Polarity Register"
hexmask.long 0x14 00.--31. 1. "  ,UIC2 Trigger Register"
hexmask.long 0x18 00.--31. 1. "  ,UIC2 Masked Status Register"
textline "   EIR5      "
eventfld.long 0x00 31. " ,External IRQ 5 Interrupt" "-,Occurred"
bitfld.long 0x08 31. "  ,External IRQ 5 Interrupt" "-,Enabled"
bitfld.long 0x0c 31. "   ,External IRQ 5 Interrupt" "-,Critical"
bitfld.long 0x10 31. "  ,External IRQ 5 Interrupt" "Negative,Positive"
bitfld.long 0x14 31. "  ,External IRQ 5 Interrupt" "Level,Edge"
bitfld.long 0x18 31. "     ,External IRQ 5 Interrupt" "-,Occurred"
textline "   EIR6      "
eventfld.long 0x00 30. " ,External IRQ 6 Interrupt" "-,Occurred"
bitfld.long 0x08 30. "  ,External IRQ 6 Interrupt" "-,Enabled"
bitfld.long 0x0c 30. "   ,External IRQ 6 Interrupt" "-,Critical"
bitfld.long 0x10 30. "  ,External IRQ 6 Interrupt" "Negative,Positive"
bitfld.long 0x14 30. "  ,External IRQ 6 Interrupt" "Level,Edge"
bitfld.long 0x18 30. "     ,External IRQ 6 Interrupt" "-,Occurred"
textline "   EIR2      "
eventfld.long 0x00 28. " ,External IRQ 2 Interrupt" "-,Occurred"
bitfld.long 0x08 28. "  ,External IRQ 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 28. "   ,External IRQ 2 Interrupt" "-,Critical"
bitfld.long 0x10 28. "  ,External IRQ 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 28. "  ,External IRQ 2 Interrupt" "Level,Edge"
bitfld.long 0x18 28. "     ,External IRQ 2 Interrupt" "-,Occurred"
textline "   EIR3      "
eventfld.long 0x00 27. " ,External IRQ 3 Interrupt" "-,Occurred"
bitfld.long 0x08 27. "  ,External IRQ 3 Interrupt" "-,Enabled"
bitfld.long 0x0c 27. "   ,External IRQ 3 Interrupt" "-,Critical"
bitfld.long 0x10 27. "  ,External IRQ 3 Interrupt" "Negative,Positive"
bitfld.long 0x14 27. "  ,External IRQ 3 Interrupt" "Level,Edge"
bitfld.long 0x18 27. "     ,External IRQ 3 Interrupt" "-,Occurred"
textline "   DDR2      "
eventfld.long 0x00 26. " ,DDR2 SDRAM Controller Interrupt" "-,Occurred"
bitfld.long 0x08 26. "  ,DDR2 SDRAM Controller Interrupt" "-,Enabled"
bitfld.long 0x0c 26. "   ,DDR2 SDRAM Controller Interrupt" "-,Critical"
bitfld.long 0x10 26. "  ,DDR2 SDRAM Controller Interrupt" "Negative,Positive"
bitfld.long 0x14 26. "  ,DDR2 SDRAM Controller Interrupt" "Level,Edge"
bitfld.long 0x18 26. "     ,DDR2 SDRAM Controller Interrupt" "-,Occurred"
textline "   MCT0      "
eventfld.long 0x00 25. " ,MAL Coalesence TX0 Interrupt" "-,Occurred"
bitfld.long 0x08 25. "  ,MAL Coalesence TX0 Interrupt" "-,Enabled"
bitfld.long 0x0c 25. "   ,MAL Coalesence TX0 Interrupt" "-,Critical"
bitfld.long 0x10 25. "  ,MAL Coalesence TX0 Interrupt" "Negative,Positive"
bitfld.long 0x14 25. "  ,MAL Coalesence TX0 Interrupt" "Level,Edge"
bitfld.long 0x18 25. "     ,MAL Coalesence TX0 Interrupt" "-,Occurred"
textline "   MCT1      "
eventfld.long 0x00 24. " ,MAL Coalesence TX1 Interrupt" "-,Occurred"
bitfld.long 0x08 24. "  ,MAL Coalesence TX1 Interrupt" "-,Enabled"
bitfld.long 0x0c 24. "   ,MAL Coalesence TX1 Interrupt" "-,Critical"
bitfld.long 0x10 24. "  ,MAL Coalesence TX1 Interrupt" "Negative,Positive"
bitfld.long 0x14 24. "  ,MAL Coalesence TX1 Interrupt" "Level,Edge"
bitfld.long 0x18 24. "     ,MAL Coalesence TX1 Interrupt" "-,Occurred"
textline "   MCR0      "
eventfld.long 0x00 23. " ,MAL Coalesence RX0 Interrupt" "-,Occurred"
bitfld.long 0x08 23. "  ,MAL Coalesence RX0 Interrupt" "-,Enabled"
bitfld.long 0x0c 23. "   ,MAL Coalesence RX0 Interrupt" "-,Critical"
bitfld.long 0x10 23. "  ,MAL Coalesence RX0 Interrupt" "Negative,Positive"
bitfld.long 0x14 23. "  ,MAL Coalesence RX0 Interrupt" "Level,Edge"
bitfld.long 0x18 23. "     ,MAL Coalesence RX0 Interrupt" "-,Occurred"
textline "   MCR1      "
eventfld.long 0x00 22. " ,MAL Coalesence RX1 Interrupt" "-,Occurred"
bitfld.long 0x08 22. "  ,MAL Coalesence RX1 Interrupt" "-,Enabled"
bitfld.long 0x0c 22. "   ,MAL Coalesence RX1 Interrupt" "-,Critical"
bitfld.long 0x10 22. "  ,MAL Coalesence RX1 Interrupt" "Negative,Positive"
bitfld.long 0x14 22. "  ,MAL Coalesence RX1 Interrupt" "Level,Edge"
bitfld.long 0x18 22. "     ,MAL Coalesence RX1 Interrupt" "-,Occurred"
tree.end
width 0x0B
elif (cpu()=="PPC440GX")
width 10.
tree "UIC0"
group.long dcr:0x0C0--0x0C6
textline "              UIC0_SR   UIC0_ER   UIC0_CR   UIC0_PR   UIC0_TR   UIC0_MSR"
textline "         "
hexmask.long 0x00 00.--31. 1. "     ,UIC0 Status Register"
hexmask.long 0x08 00.--31. 1. "  ,UIC0 Enable Register"
hexmask.long 0x0c 00.--31. 1. "  ,UIC0 Critical Register"
hexmask.long 0x10 00.--31. 1. "  ,UIC0 Polarity Register"
hexmask.long 0x14 00.--31. 1. "  ,UIC0 Trigger Register"
hexmask.long 0x18 00.--31. 1. "  ,UIC0 Masked Status Register"
textline "   U0        "
eventfld.long 0x00 31. " ,UART0 Interrupt" "-,Occurred"
bitfld.long 0x08 31. "  ,UART0 Interrupt" "-,Enabled"
bitfld.long 0x0c 31. "   ,UART0 Interrupt" "-,Critical"
bitfld.long 0x10 31. "  ,UART0 Interrupt" "Negative,Positive"
bitfld.long 0x14 31. "  ,UART0 Interrupt" "Level,Edge"
bitfld.long 0x18 31. "     ,UART0 Interrupt" "-,Occurred"
textline "   U1        "
eventfld.long 0x00 30. " ,UART1 Interrupt" "-,Occurred"
bitfld.long 0x08 30. "  ,UART1 Interrupt" "-,Enabled"
bitfld.long 0x0c 30. "   ,UART1 Interrupt" "-,Critical"
bitfld.long 0x10 30. "  ,UART1 Interrupt" "Negative,Positive"
bitfld.long 0x14 30. "  ,UART1 Interrupt" "Level,Edge"
bitfld.long 0x18 30. "     ,UART1 Interrupt" "-,Occurred"
textline "   IIC0      "
eventfld.long 0x00 29. " ,IIC0 Interrupt" "-,Occurred"
bitfld.long 0x08 29. "  ,IIC0 Interrupt" "-,Enabled"
bitfld.long 0x0c 29. "   ,IIC0 Interrupt" "-,Critical"
bitfld.long 0x10 29. "  ,IIC0 Interrupt" "Negative,Positive"
bitfld.long 0x14 29. "  ,IIC0 Interrupt" "Level,Edge"
bitfld.long 0x18 29. "     ,IIC0 Interrupt" "-,Occurred"
textline "   IIC1      "
eventfld.long 0x00 28. " ,IIC1 Interrupt" "-,Occurred"
bitfld.long 0x08 28. "  ,IIC1 Interrupt" "-,Enabled"
bitfld.long 0x0c 28. "   ,IIC1 Interrupt" "-,Critical"
bitfld.long 0x10 28. "  ,IIC1 Interrupt" "Negative,Positive"
bitfld.long 0x14 28. "  ,IIC1 Interrupt" "Level,Edge"
bitfld.long 0x18 28. "     ,IIC1 Interrupt" "-,Occurred"
textline "   PIM       "
eventfld.long 0x00 27. " ,PCI Inbound Message Interrupt" "-,Occurred"
bitfld.long 0x08 27. "  ,PCI Inbound Message Interrupt" "-,Enabled"
bitfld.long 0x0c 27. "   ,PCI Inbound Message Interrupt" "-,Critical"
bitfld.long 0x10 27. "  ,PCI Inbound Message Interrupt" "Negative,Positive"
bitfld.long 0x14 27. "  ,PCI Inbound Message Interrupt" "Level,Edge"
bitfld.long 0x18 27. "     ,PCI Inbound Message Interrupt" "-,Occurred"
textline "   PCRW      "
eventfld.long 0x00 26. " ,PCI Command Register Write Interrupt" "-,Occurred"
bitfld.long 0x08 26. "  ,PCI Command Register Write Interrupt" "-,Enabled"
bitfld.long 0x0c 26. "   ,PCI Command Register Write Interrupt" "-,Critical"
bitfld.long 0x10 26. "  ,PCI Command Register Write Interrupt" "Negative,Positive"
bitfld.long 0x14 26. "  ,PCI Command Register Write Interrupt" "Level,Edge"
bitfld.long 0x18 26. "     ,PCI Command Register Write Interrupt" "-,Occurred"
textline "   PPM       "
eventfld.long 0x00 25. " ,PCI Power Management Interrupt" "-,Occurred"
bitfld.long 0x08 25. "  ,PCI Power Management Interrupt" "-,Enabled"
bitfld.long 0x0c 25. "   ,PCI Power Management Interrupt" "-,Critical"
bitfld.long 0x10 25. "  ,PCI Power Management Interrupt" "Negative,Positive"
bitfld.long 0x14 25. "  ,PCI Power Management Interrupt" "Level,Edge"
bitfld.long 0x18 25. "     ,PCI Power Management Interrupt" "-,Occurred"
textline "   MSI0      "
eventfld.long 0x00 24. " ,PCI MSI Level 0 Interrupt" "-,Occurred"
bitfld.long 0x08 24. "  ,PCI MSI Level 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 24. "   ,PCI MSI Level 0 Interrupt" "-,Critical"
bitfld.long 0x10 24. "  ,PCI MSI Level 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 24. "  ,PCI MSI Level 0 Interrupt" "Level,Edge"
bitfld.long 0x18 24. "     ,PCI MSI Level 0 Interrupt" "-,Occurred"
textline "   MSI1      "
eventfld.long 0x00 23. " ,PCI MSI Level 1 Interrupt" "-,Occurred"
bitfld.long 0x08 23. "  ,PCI MSI Level 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 23. "   ,PCI MSI Level 1 Interrupt" "-,Critical"
bitfld.long 0x10 23. "  ,PCI MSI Level 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 23. "  ,PCI MSI Level 1 Interrupt" "Level,Edge"
bitfld.long 0x18 23. "     ,PCI MSI Level 1 Interrupt" "-,Occurred"
textline "   MSI2      "
eventfld.long 0x00 22. " ,PCI MSI Level 2 Interrupt" "-,Occurred"
bitfld.long 0x08 22. "  ,PCI MSI Level 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 22. "   ,PCI MSI Level 2 Interrupt" "-,Critical"
bitfld.long 0x10 22. "  ,PCI MSI Level 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 22. "  ,PCI MSI Level 2 Interrupt" "Level,Edge"
bitfld.long 0x18 22. "     ,PCI MSI Level 2 Interrupt" "-,Occurred"
textline "   MTE       "
eventfld.long 0x00 21. " ,MAL TX EOB Interrupt" "-,Occurred"
bitfld.long 0x08 21. "  ,MAL TX EOB Interrupt" "-,Enabled"
bitfld.long 0x0c 21. "   ,MAL TX EOB Interrupt" "-,Critical"
bitfld.long 0x10 21. "  ,MAL TX EOB Interrupt" "Negative,Positive"
bitfld.long 0x14 21. "  ,MAL TX EOB Interrupt" "Level,Edge"
bitfld.long 0x18 21. "     ,MAL TX EOB Interrupt" "-,Occurred"
textline "   MRE       "
eventfld.long 0x00 20. " ,MAL RX EOB Interrupt" "-,Occurred"
bitfld.long 0x08 20. "  ,MAL RX EOB Interrupt" "-,Enabled"
bitfld.long 0x0c 20. "   ,MAL RX EOB Interrupt" "-,Critical"
bitfld.long 0x10 20. "  ,MAL RX EOB Interrupt" "Negative,Positive"
bitfld.long 0x14 20. "  ,MAL RX EOB Interrupt" "Level,Edge"
bitfld.long 0x18 20. "     ,MAL RX EOB Interrupt" "-,Occurred"
textline "   D0        "
eventfld.long 0x00 19. " ,DMA Channel 0 Interrupt" "-,Occurred"
bitfld.long 0x08 19. "  ,DMA Channel 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 19. "   ,DMA Channel 0 Interrupt" "-,Critical"
bitfld.long 0x10 19. "  ,DMA Channel 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 19. "  ,DMA Channel 0 Interrupt" "Level,Edge"
bitfld.long 0x18 19. "     ,DMA Channel 0 Interrupt" "-,Occurred"
textline "   D1        "
eventfld.long 0x00 18. " ,DMA Channel 1 Interrupt" "-,Occurred"
bitfld.long 0x08 18. "  ,DMA Channel 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 18. "   ,DMA Channel 1 Interrupt" "-,Critical"
bitfld.long 0x10 18. "  ,DMA Channel 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 18. "  ,DMA Channel 1 Interrupt" "Level,Edge"
bitfld.long 0x18 18. "     ,DMA Channel 1 Interrupt" "-,Occurred"
textline "   D2        "
eventfld.long 0x00 17. " ,DMA Channel 2 Interrupt" "-,Occurred"
bitfld.long 0x08 17. "  ,DMA Channel 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 17. "   ,DMA Channel 2 Interrupt" "-,Critical"
bitfld.long 0x10 17. "  ,DMA Channel 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 17. "  ,DMA Channel 2 Interrupt" "Level,Edge"
bitfld.long 0x18 17. "     ,DMA Channel 2 Interrupt" "-,Occurred"
textline "   D3        "
eventfld.long 0x00 16. " ,DMA Channel 3 Interrupt" "-,Occurred"
bitfld.long 0x08 16. "  ,DMA Channel 3 Interrupt" "-,Enabled"
bitfld.long 0x0c 16. "   ,DMA Channel 3 Interrupt" "-,Critical"
bitfld.long 0x10 16. "  ,DMA Channel 3 Interrupt" "Negative,Positive"
bitfld.long 0x14 16. "  ,DMA Channel 3 Interrupt" "Level,Edge"
bitfld.long 0x18 16. "     ,DMA Channel 3 Interrupt" "-,Occurred"
textline "   CT5       "
eventfld.long 0x00 15. " ,GPT Compare Timer 5 Interrupt" "-,Occurred"
bitfld.long 0x08 15. "  ,GPT Compare Timer 5 Interrupt" "-,Enabled"
bitfld.long 0x0c 15. "   ,GPT Compare Timer 5 Interrupt" "-,Critical"
bitfld.long 0x10 15. "  ,GPT Compare Timer 5 Interrupt" "Negative,Positive"
bitfld.long 0x14 15. "  ,GPT Compare Timer 5 Interrupt" "Level,Edge"
bitfld.long 0x18 15. "     ,GPT Compare Timer 5 Interrupt" "-,Occurred"
textline "   CT6       "
eventfld.long 0x00 14. " ,GPT Compare Timer 6 Interrupt" "-,Occurred"
bitfld.long 0x08 14. "  ,GPT Compare Timer 6 Interrupt" "-,Enabled"
bitfld.long 0x0c 14. "   ,GPT Compare Timer 6 Interrupt" "-,Critical"
bitfld.long 0x10 14. "  ,GPT Compare Timer 6 Interrupt" "Negative,Positive"
bitfld.long 0x14 14. "  ,GPT Compare Timer 6 Interrupt" "Level,Edge"
bitfld.long 0x18 14. "     ,GPT Compare Timer 6 Interrupt" "-,Occurred"
textline "   CT0       "
eventfld.long 0x00 13. " ,GPT Compare Timer 0 Interrupt" "-,Occurred"
bitfld.long 0x08 13. "  ,GPT Compare Timer 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 13. "   ,GPT Compare Timer 0 Interrupt" "-,Critical"
bitfld.long 0x10 13. "  ,GPT Compare Timer 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 13. "  ,GPT Compare Timer 0 Interrupt" "Level,Edge"
bitfld.long 0x18 13. "     ,GPT Compare Timer 0 Interrupt" "-,Occurred"
textline "   CT1       "
eventfld.long 0x00 12. " ,GPT Compare Timer 1 Interrupt" "-,Occurred"
bitfld.long 0x08 12. "  ,GPT Compare Timer 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 12. "   ,GPT Compare Timer 1 Interrupt" "-,Critical"
bitfld.long 0x10 12. "  ,GPT Compare Timer 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 12. "  ,GPT Compare Timer 1 Interrupt" "Level,Edge"
bitfld.long 0x18 12. "     ,GPT Compare Timer 1 Interrupt" "-,Occurred"
textline "   CT2       "
eventfld.long 0x00 11. " ,GPT Compare Timer 2 Interrupt" "-,Occurred"
bitfld.long 0x08 11. "  ,GPT Compare Timer 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 11. "   ,GPT Compare Timer 2 Interrupt" "-,Critical"
bitfld.long 0x10 11. "  ,GPT Compare Timer 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 11. "  ,GPT Compare Timer 2 Interrupt" "Level,Edge"
bitfld.long 0x18 11. "     ,GPT Compare Timer 2 Interrupt" "-,Occurred"
textline "   CT3       "
eventfld.long 0x00 10. " ,GPT Compare Timer 3 Interrupt" "-,Occurred"
bitfld.long 0x08 10. "  ,GPT Compare Timer 3 Interrupt" "-,Enabled"
bitfld.long 0x0c 10. "   ,GPT Compare Timer 3 Interrupt" "-,Critical"
bitfld.long 0x10 10. "  ,GPT Compare Timer 3 Interrupt" "Negative,Positive"
bitfld.long 0x14 10. "  ,GPT Compare Timer 3 Interrupt" "Level,Edge"
bitfld.long 0x18 10. "     ,GPT Compare Timer 3 Interrupt" "-,Occurred"
textline "   CT4       "
eventfld.long 0x00 09. " ,GPT Compare Timer 4 Interrupt" "-,Occurred"
bitfld.long 0x08 09. "  ,GPT Compare Timer 4 Interrupt" "-,Enabled"
bitfld.long 0x0c 09. "   ,GPT Compare Timer 4 Interrupt" "-,Critical"
bitfld.long 0x10 09. "  ,GPT Compare Timer 4 Interrupt" "Negative,Positive"
bitfld.long 0x14 09. "  ,GPT Compare Timer 4 Interrupt" "Level,Edge"
bitfld.long 0x18 09. "     ,GPT Compare Timer 4 Interrupt" "-,Occurred"
textline "   EIR0      "
eventfld.long 0x00 08. " ,External IRQ 0 Interrupt" "-,Occurred"
bitfld.long 0x08 08. "  ,External IRQ 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 08. "   ,External IRQ 0 Interrupt" "-,Critical"
bitfld.long 0x10 08. "  ,External IRQ 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 08. "  ,External IRQ 0 Interrupt" "Level,Edge"
bitfld.long 0x18 08. "     ,External IRQ 0 Interrupt" "-,Occurred"
textline "   EIR1      "
eventfld.long 0x00 07. " ,External IRQ 1 Interrupt" "-,Occurred"
bitfld.long 0x08 07. "  ,External IRQ 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 07. "   ,External IRQ 1 Interrupt" "-,Critical"
bitfld.long 0x10 07. "  ,External IRQ 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 07. "  ,External IRQ 1 Interrupt" "Level,Edge"
bitfld.long 0x18 07. "     ,External IRQ 1 Interrupt" "-,Occurred"
textline "   EIR2      "
eventfld.long 0x00 06. " ,External IRQ 2 Interrupt" "-,Occurred"
bitfld.long 0x08 06. "  ,External IRQ 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 06. "   ,External IRQ 2 Interrupt" "-,Critical"
bitfld.long 0x10 06. "  ,External IRQ 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 06. "  ,External IRQ 2 Interrupt" "Level,Edge"
bitfld.long 0x18 06. "     ,External IRQ 2 Interrupt" "-,Occurred"
textline "   EIR3      "
eventfld.long 0x00 05. " ,External IRQ 3 Interrupt" "-,Occurred"
bitfld.long 0x08 05. "  ,External IRQ 3 Interrupt" "-,Enabled"
bitfld.long 0x0c 05. "   ,External IRQ 3 Interrupt" "-,Critical"
bitfld.long 0x10 05. "  ,External IRQ 3 Interrupt" "Negative,Positive"
bitfld.long 0x14 05. "  ,External IRQ 3 Interrupt" "Level,Edge"
bitfld.long 0x18 05. "     ,External IRQ 3 Interrupt" "-,Occurred"
textline "   EIR4      "
eventfld.long 0x00 04. " ,External IRQ 4 Interrupt" "-,Occurred"
bitfld.long 0x08 04. "  ,External IRQ 4 Interrupt" "-,Enabled"
bitfld.long 0x0c 04. "   ,External IRQ 4 Interrupt" "-,Critical"
bitfld.long 0x10 04. "  ,External IRQ 4 Interrupt" "Negative,Positive"
bitfld.long 0x14 04. "  ,External IRQ 4 Interrupt" "Level,Edge"
bitfld.long 0x18 04. "     ,External IRQ 4 Interrupt" "-,Occurred"
textline "   EIR5      "
eventfld.long 0x00 03. " ,External IRQ 5 Interrupt" "-,Occurred"
bitfld.long 0x08 03. "  ,External IRQ 5 Interrupt" "-,Enabled"
bitfld.long 0x0c 03. "   ,External IRQ 5 Interrupt" "-,Critical"
bitfld.long 0x10 03. "  ,External IRQ 5 Interrupt" "Negative,Positive"
bitfld.long 0x14 03. "  ,External IRQ 5 Interrupt" "Level,Edge"
bitfld.long 0x18 03. "     ,External IRQ 5 Interrupt" "-,Occurred"
textline "   EIR6      "
eventfld.long 0x00 02. " ,External IRQ 6 Interrupt" "-,Occurred"
bitfld.long 0x08 02. "  ,External IRQ 6 Interrupt" "-,Enabled"
bitfld.long 0x0c 02. "   ,External IRQ 6 Interrupt" "-,Critical"
bitfld.long 0x10 02. "  ,External IRQ 6 Interrupt" "Negative,Positive"
bitfld.long 0x14 02. "  ,External IRQ 6 Interrupt" "Level,Edge"
bitfld.long 0x18 02. "     ,External IRQ 6 Interrupt" "-,Occurred"
textline "         "
wgroup.long dcr:0x0C7++0x0
line.long 0x0 "UIC0_VCR,UIC0 Vector Configuration Register"
hexmask.long 0x0 2.--31. 4. " VBA   ,Vector Base Address"
bitfld.long 0x0 0. "      PRO   ,Priority Ordering" "UIC0_SR[31],UIC0_SR[0]"
rgroup.long dcr:0x0c8++0x0
line.long 0x00 "UIC0_VR,UIC0 Vector Register"
tree.end
tree "UIC1"
group.long dcr:0x0D0--0x0D6
textline "              UIC1_SR   UIC1_ER   UIC1_CR   UIC1_PR   UIC1_TR   UIC1_MSR"
textline "         "
hexmask.long 0x00 00.--31. 1. "     ,UIC1 Status Register"
hexmask.long 0x08 00.--31. 1. "  ,UIC1 Enable Register"
hexmask.long 0x0c 00.--31. 1. "  ,UIC1 Critical Register"
hexmask.long 0x10 00.--31. 1. "  ,UIC1 Polarity Register"
hexmask.long 0x14 00.--31. 1. "  ,UIC1 Trigger Register"
hexmask.long 0x18 00.--31. 1. "  ,UIC1 Masked Status Register"
textline "   MS        "
eventfld.long 0x00 31. " ,MAL SERR Interrupt" "-,Occurred"
bitfld.long 0x08 31. "  ,MAL SERR Interrupt" "-,Enabled"
bitfld.long 0x0c 31. "   ,MAL SERR Interrupt" "-,Critical"
bitfld.long 0x10 31. "  ,MAL SERR Interrupt" "Negative,Positive"
bitfld.long 0x14 31. "  ,MAL SERR Interrupt" "Level,Edge"
bitfld.long 0x18 31. "     ,MAL SERR Interrupt" "-,Occurred"
textline "   MTDE      "
eventfld.long 0x00 30. " ,MAL TXDE Interrupt" "-,Occurred"
bitfld.long 0x08 30. "  ,MAL TXDE Interrupt" "-,Enabled"
bitfld.long 0x0c 30. "   ,MAL TXDE Interrupt" "-,Critical"
bitfld.long 0x10 30. "  ,MAL TXDE Interrupt" "Negative,Positive"
bitfld.long 0x14 30. "  ,MAL TXDE Interrupt" "Level,Edge"
bitfld.long 0x18 30. "     ,MAL TXDE Interrupt" "-,Occurred"
textline "   MRDE      "
eventfld.long 0x00 29. " ,MAL RXDE Interrupt" "-,Occurred"
bitfld.long 0x08 29. "  ,MAL RXDE Interrupt" "-,Enabled"
bitfld.long 0x0c 29. "   ,MAL RXDE Interrupt" "-,Critical"
bitfld.long 0x10 29. "  ,MAL RXDE Interrupt" "Negative,Positive"
bitfld.long 0x14 29. "  ,MAL RXDE Interrupt" "Level,Edge"
bitfld.long 0x18 29. "     ,MAL RXDE Interrupt" "-,Occurred"
textline "   DEUE      "
eventfld.long 0x00 28. " ,DDRSDRAM ECC Uncorrectable Error Interrupt" "-,Occurred"
bitfld.long 0x08 28. "  ,DDRSDRAM ECC Uncorrectable Error Interrupt" "-,Enabled"
bitfld.long 0x0c 28. "   ,DDRSDRAM ECC Uncorrectable Error Interrupt" "-,Critical"
bitfld.long 0x10 28. "  ,DDRSDRAM ECC Uncorrectable Error Interrupt" "Negative,Positive"
bitfld.long 0x14 28. "  ,DDRSDRAM ECC Uncorrectable Error Interrupt" "Level,Edge"
bitfld.long 0x18 28. "     ,DDRSDRAM ECC Uncorrectable Error Interrupt" "-,Occurred"
textline "   DECE      "
eventfld.long 0x00 27. " ,DDRSDRAM ECC Correctable Error Interrupt" "-,Occurred"
bitfld.long 0x08 27. "  ,DDRSDRAM ECC Correctable Error Interrupt" "-,Enabled"
bitfld.long 0x0c 27. "   ,DDRSDRAM ECC Correctable Error Interrupt" "-,Critical"
bitfld.long 0x10 27. "  ,DDRSDRAM ECC Correctable Error Interrupt" "Negative,Positive"
bitfld.long 0x14 27. "  ,DDRSDRAM ECC Correctable Error Interrupt" "Level,Edge"
bitfld.long 0x18 27. "     ,DDRSDRAM ECC Correctable Error Interrupt" "-,Occurred"
textline "   EBCO      "
eventfld.long 0x00 26. " ,EBCO Interrupt" "-,Occurred"
bitfld.long 0x08 26. "  ,EBCO Interrupt" "-,Enabled"
bitfld.long 0x0c 26. "   ,EBCO Interrupt" "-,Critical"
bitfld.long 0x10 26. "  ,EBCO Interrupt" "Negative,Positive"
bitfld.long 0x14 26. "  ,EBCO Interrupt" "Level,Edge"
bitfld.long 0x18 26. "     ,EBCO Interrupt" "-,Occurred"
textline "   EBMI      "
eventfld.long 0x00 25. " ,EBMI Interrupt" "-,Occurred"
bitfld.long 0x08 25. "  ,EBMI Interrupt" "-,Enabled"
bitfld.long 0x0c 25. "   ,EBMI Interrupt" "-,Critical"
bitfld.long 0x10 25. "  ,EBMI Interrupt" "Negative,Positive"
bitfld.long 0x14 25. "  ,EBMI Interrupt" "Level,Edge"
bitfld.long 0x18 25. "     ,EBMI Interrupt" "-,Occurred"
textline "   OPB       "
eventfld.long 0x00 24. " ,OPB to PLB Bridge Interrupt" "-,Occurred"
bitfld.long 0x08 24. "  ,OPB to PLB Bridge Interrupt" "-,Enabled"
bitfld.long 0x0c 24. "   ,OPB to PLB Bridge Interrupt" "-,Critical"
bitfld.long 0x10 24. "  ,OPB to PLB Bridge Interrupt" "Negative,Positive"
bitfld.long 0x14 24. "  ,OPB to PLB Bridge Interrupt" "Level,Edge"
bitfld.long 0x18 24. "     ,OPB to PLB Bridge Interrupt" "-,Occurred"
textline "   MSI3      "
eventfld.long 0x00 23. " ,PCI MSI Level 3 Interrupt" "-,Occurred"
bitfld.long 0x08 23. "  ,PCI MSI Level 3 Interrupt" "-,Enabled"
bitfld.long 0x0c 23. "   ,PCI MSI Level 3 Interrupt" "-,Critical"
bitfld.long 0x10 23. "  ,PCI MSI Level 3 Interrupt" "Negative,Positive"
bitfld.long 0x14 23. "  ,PCI MSI Level 3 Interrupt" "Level,Edge"
bitfld.long 0x18 23. "     ,PCI MSI Level 3 Interrupt" "-,Occurred"
textline "   MSI4      "
eventfld.long 0x00 22. " ,PCI MSI Level 4 Interrupt" "-,Occurred"
bitfld.long 0x08 22. "  ,PCI MSI Level 4 Interrupt" "-,Enabled"
bitfld.long 0x0c 22. "   ,PCI MSI Level 4 Interrupt" "-,Critical"
bitfld.long 0x10 22. "  ,PCI MSI Level 4 Interrupt" "Negative,Positive"
bitfld.long 0x14 22. "  ,PCI MSI Level 4 Interrupt" "Level,Edge"
bitfld.long 0x18 22. "     ,PCI MSI Level 4 Interrupt" "-,Occurred"
textline "   MSI5      "
eventfld.long 0x00 21. " ,PCI MSI Level 5 Interrupt" "-,Occurred"
bitfld.long 0x08 21. "  ,PCI MSI Level 5 Interrupt" "-,Enabled"
bitfld.long 0x0c 21. "   ,PCI MSI Level 5 Interrupt" "-,Critical"
bitfld.long 0x10 21. "  ,PCI MSI Level 5 Interrupt" "Negative,Positive"
bitfld.long 0x14 21. "  ,PCI MSI Level 5 Interrupt" "Level,Edge"
bitfld.long 0x18 21. "     ,PCI MSI Level 5 Interrupt" "-,Occurred"
textline "   MSI6      "
eventfld.long 0x00 20. " ,PCI MSI Level 6 Interrupt" "-,Occurred"
bitfld.long 0x08 20. "  ,PCI MSI Level 6 Interrupt" "-,Enabled"
bitfld.long 0x0c 20. "   ,PCI MSI Level 6 Interrupt" "-,Critical"
bitfld.long 0x10 20. "  ,PCI MSI Level 6 Interrupt" "Negative,Positive"
bitfld.long 0x14 20. "  ,PCI MSI Level 6 Interrupt" "Level,Edge"
bitfld.long 0x18 20. "     ,PCI MSI Level 6 Interrupt" "-,Occurred"
textline "   MSI7      "
eventfld.long 0x00 19. " ,PCI MSI Level 7 Interrupt" "-,Occurred"
bitfld.long 0x08 19. "  ,PCI MSI Level 7 Interrupt" "-,Enabled"
bitfld.long 0x0c 19. "   ,PCI MSI Level 7 Interrupt" "-,Critical"
bitfld.long 0x10 19. "  ,PCI MSI Level 7 Interrupt" "Negative,Positive"
bitfld.long 0x14 19. "  ,PCI MSI Level 7 Interrupt" "Level,Edge"
bitfld.long 0x18 19. "     ,PCI MSI Level 7 Interrupt" "-,Occurred"
textline "   MSI8      "
eventfld.long 0x00 18. " ,PCI MSI Level 8 Interrupt" "-,Occurred"
bitfld.long 0x08 18. "  ,PCI MSI Level 8 Interrupt" "-,Enabled"
bitfld.long 0x0c 18. "   ,PCI MSI Level 8 Interrupt" "-,Critical"
bitfld.long 0x10 18. "  ,PCI MSI Level 8 Interrupt" "Negative,Positive"
bitfld.long 0x14 18. "  ,PCI MSI Level 8 Interrupt" "Level,Edge"
bitfld.long 0x18 18. "     ,PCI MSI Level 8 Interrupt" "-,Occurred"
textline "   MSI9      "
eventfld.long 0x00 17. " ,PCI MSI Level 9 Interrupt" "-,Occurred"
bitfld.long 0x08 17. "  ,PCI MSI Level 9 Interrupt" "-,Enabled"
bitfld.long 0x0c 17. "   ,PCI MSI Level 9 Interrupt" "-,Critical"
bitfld.long 0x10 17. "  ,PCI MSI Level 9 Interrupt" "Negative,Positive"
bitfld.long 0x14 17. "  ,PCI MSI Level 9 Interrupt" "Level,Edge"
bitfld.long 0x18 17. "     ,PCI MSI Level 9 Interrupt" "-,Occurred"
textline "   MSI10     "
eventfld.long 0x00 16. " ,PCI MSI Level 10 Interrupt" "-,Occurred"
bitfld.long 0x08 16. "  ,PCI MSI Level 10 Interrupt" "-,Enabled"
bitfld.long 0x0c 16. "   ,PCI MSI Level 10 Interrupt" "-,Critical"
bitfld.long 0x10 16. "  ,PCI MSI Level 10 Interrupt" "Negative,Positive"
bitfld.long 0x14 16. "  ,PCI MSI Level 10 Interrupt" "Level,Edge"
bitfld.long 0x18 16. "     ,PCI MSI Level 10 Interrupt" "-,Occurred"
textline "   MSI11     "
eventfld.long 0x00 15. " ,PCI MSI Level 11 Interrupt" "-,Occurred"
bitfld.long 0x08 15. "  ,PCI MSI Level 11 Interrupt" "-,Enabled"
bitfld.long 0x0c 15. "   ,PCI MSI Level 11 Interrupt" "-,Critical"
bitfld.long 0x10 15. "  ,PCI MSI Level 11 Interrupt" "Negative,Positive"
bitfld.long 0x14 15. "  ,PCI MSI Level 11 Interrupt" "Level,Edge"
bitfld.long 0x18 15. "     ,PCI MSI Level 11 Interrupt" "-,Occurred"
textline "   PPM       "
eventfld.long 0x00 14. " ,PPM Interrupt" "-,Occurred"
bitfld.long 0x08 14. "  ,PPM Interrupt" "-,Enabled"
bitfld.long 0x0c 14. "   ,PPM Interrupt" "-,Critical"
bitfld.long 0x10 14. "  ,PPM Interrupt" "Negative,Positive"
bitfld.long 0x14 14. "  ,PPM Interrupt" "Level,Edge"
bitfld.long 0x18 14. "     ,PPM Interrupt" "-,Occurred"
textline "   EIR7      "
eventfld.long 0x00 13. " ,External IRQ 7 Interrupt" "-,Occurred"
bitfld.long 0x08 13. "  ,External IRQ 7 Interrupt" "-,Enabled"
bitfld.long 0x0c 13. "   ,External IRQ 7 Interrupt" "-,Critical"
bitfld.long 0x10 13. "  ,External IRQ 7 Interrupt" "Negative,Positive"
bitfld.long 0x14 13. "  ,External IRQ 7 Interrupt" "Level,Edge"
bitfld.long 0x18 13. "     ,External IRQ 7 Interrupt" "-,Occurred"
textline "   EIR8      "
eventfld.long 0x00 12. " ,External IRQ 8 Interrupt" "-,Occurred"
bitfld.long 0x08 12. "  ,External IRQ 8 Interrupt" "-,Enabled"
bitfld.long 0x0c 12. "   ,External IRQ 8 Interrupt" "-,Critical"
bitfld.long 0x10 12. "  ,External IRQ 8 Interrupt" "Negative,Positive"
bitfld.long 0x14 12. "  ,External IRQ 8 Interrupt" "Level,Edge"
bitfld.long 0x18 12. "     ,External IRQ 8 Interrupt" "-,Occurred"
textline "   EIR9      "
eventfld.long 0x00 11. " ,External IRQ 9 Interrupt" "-,Occurred"
bitfld.long 0x08 11. "  ,External IRQ 9 Interrupt" "-,Enabled"
bitfld.long 0x0c 11. "   ,External IRQ 9 Interrupt" "-,Critical"
bitfld.long 0x10 11. "  ,External IRQ 9 Interrupt" "Negative,Positive"
bitfld.long 0x14 11. "  ,External IRQ 9 Interrupt" "Level,Edge"
bitfld.long 0x18 11. "     ,External IRQ 9 Interrupt" "-,Occurred"
textline "   EIR10     "
eventfld.long 0x00 10. " ,External IRQ 10 Interrupt" "-,Occurred"
bitfld.long 0x08 10. "  ,External IRQ 10 Interrupt" "-,Enabled"
bitfld.long 0x0c 10. "   ,External IRQ 10 Interrupt" "-,Critical"
bitfld.long 0x10 10. "  ,External IRQ 10 Interrupt" "Negative,Positive"
bitfld.long 0x14 10. "  ,External IRQ 10 Interrupt" "Level,Edge"
bitfld.long 0x18 10. "     ,External IRQ 10 Interrupt" "-,Occurred"
textline "   EIR11     "
eventfld.long 0x00 09. " ,External IRQ 11 Interrupt" "-,Occurred"
bitfld.long 0x08 09. "  ,External IRQ 11 Interrupt" "-,Enabled"
bitfld.long 0x0c 09. "   ,External IRQ 11 Interrupt" "-,Critical"
bitfld.long 0x10 09. "  ,External IRQ 11 Interrupt" "Negative,Positive"
bitfld.long 0x14 09. "  ,External IRQ 11 Interrupt" "Level,Edge"
bitfld.long 0x18 09. "     ,External IRQ 11 Interrupt" "-,Occurred"
textline "   EIR12     "
eventfld.long 0x00 08. " ,External IRQ 12 Interrupt" "-,Occurred"
bitfld.long 0x08 08. "  ,External IRQ 12 Interrupt" "-,Enabled"
bitfld.long 0x0c 08. "   ,External IRQ 12 Interrupt" "-,Critical"
bitfld.long 0x10 08. "  ,External IRQ 12 Interrupt" "Negative,Positive"
bitfld.long 0x14 08. "  ,External IRQ 12 Interrupt" "Level,Edge"
bitfld.long 0x18 08. "     ,External IRQ 12 Interrupt" "-,Occurred"
textline "   SRE       "
eventfld.long 0x00 07. " ,Serial ROM Error Interrupt" "-,Occurred"
bitfld.long 0x08 07. "  ,Serial ROM Error Interrupt" "-,Enabled"
bitfld.long 0x0c 07. "   ,Serial ROM Error Interrupt" "-,Critical"
bitfld.long 0x10 07. "  ,Serial ROM Error Interrupt" "Negative,Positive"
bitfld.long 0x14 07. "  ,Serial ROM Error Interrupt" "Level,Edge"
bitfld.long 0x18 07. "     ,Serial ROM Error Interrupt" "-,Occurred"
textline "   PAE       "
eventfld.long 0x00 04. " ,PCI Asynchronous Error Interrupt" "-,Occurred"
bitfld.long 0x08 04. "  ,PCI Asynchronous Error Interrupt" "-,Enabled"
bitfld.long 0x0c 04. "   ,PCI Asynchronous Error Interrupt" "-,Critical"
bitfld.long 0x10 04. "  ,PCI Asynchronous Error Interrupt" "Negative,Positive"
bitfld.long 0x14 04. "  ,PCI Asynchronous Error Interrupt" "Level,Edge"
bitfld.long 0x18 04. "     ,PCI Asynchronous Error Interrupt" "-,Occurred"
textline "   ETH0      "
eventfld.long 0x00 03. " ,Ethernet 0 Interrupt" "-,Occurred"
bitfld.long 0x08 03. "  ,Ethernet 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 03. "   ,Ethernet 0 Interrupt" "-,Critical"
bitfld.long 0x10 03. "  ,Ethernet 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 03. "  ,Ethernet 0 Interrupt" "Level,Edge"
bitfld.long 0x18 03. "     ,Ethernet 0 Interrupt" "-,Occurred"
textline "   EWU0      "
eventfld.long 0x00 02. " ,Ethernet 0 Wake-up Interrupt" "-,Occurred"
bitfld.long 0x08 02. "  ,Ethernet 0 Wake-up Interrupt" "-,Enabled"
bitfld.long 0x0c 02. "   ,Ethernet 0 Wake-up Interrupt" "-,Critical"
bitfld.long 0x10 02. "  ,Ethernet 0 Wake-up Interrupt" "Negative,Positive"
bitfld.long 0x14 02. "  ,Ethernet 0 Wake-up Interrupt" "Level,Edge"
bitfld.long 0x18 02. "     ,Ethernet 0 Wake-up Interrupt" "-,Occurred"
textline "   ETH1      "
eventfld.long 0x00 01. " ,Ethernet 1 Interrupt" "-,Occurred"
bitfld.long 0x08 01. "  ,Ethernet 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 01. "   ,Ethernet 1 Interrupt" "-,Critical"
bitfld.long 0x10 01. "  ,Ethernet 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 01. "  ,Ethernet 1 Interrupt" "Level,Edge"
bitfld.long 0x18 01. "     ,Ethernet 1 Interrupt" "-,Occurred"
textline "   EWU1      "
eventfld.long 0x00 00. " ,Ethernet 1 Wake-up Interrupt" "-,Occurred"
bitfld.long 0x08 00. "  ,Ethernet 1 Wake-up Interrupt" "-,Enabled"
bitfld.long 0x0c 00. "   ,Ethernet 1 Wake-up Interrupt" "-,Critical"
bitfld.long 0x10 00. "  ,Ethernet 1 Wake-up Interrupt" "Negative,Positive"
bitfld.long 0x14 00. "  ,Ethernet 1 Wake-up Interrupt" "Level,Edge"
bitfld.long 0x18 00. "     ,Ethernet 1 Wake-up Interrupt" "-,Occurred"
textline "         "
wgroup.long dcr:0x0d7++0x0
line.long 0x0 "UIC1_VCR,UIC1 Vector Configuration Register"
hexmask.long 0x0 2.--31. 4. " VBA   ,Vector Base Address"
bitfld.long 0x0 0. "      PRO   ,Priority Ordering" "UIC1_SR[31],UIC1_SR[0]"
rgroup.long dcr:0x0d8++0x0
line.long 0x00 "UIC1_VR,UIC1 Vector Register"
tree.end
tree "UIC2"
group.long dcr:0x210--0x216
textline "              UIC2_SR   UIC2_ER   UIC2_CR   UIC2_PR   UIC2_TR   UIC2_MSR"
textline "         "
hexmask.long 0x00 00.--31. 1. "     ,UIC2 Status Register"
hexmask.long 0x08 00.--31. 1. "  ,UIC2 Enable Register"
hexmask.long 0x0c 00.--31. 1. "  ,UIC2 Critical Register"
hexmask.long 0x10 00.--31. 1. "  ,UIC2 Polarity Register"
hexmask.long 0x14 00.--31. 1. "  ,UIC2 Trigger Register"
hexmask.long 0x18 00.--31. 1. "  ,UIC2 Masked Status Register"
textline "   ETH2      "
eventfld.long 0x00 31. " ,Ethernet 2 Interrupt" "-,Occurred"
bitfld.long 0x08 31. "  ,Ethernet 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 31. "   ,Ethernet 2 Interrupt" "-,Critical"
bitfld.long 0x10 31. "  ,Ethernet 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 31. "  ,Ethernet 2 Interrupt" "Level,Edge"
bitfld.long 0x18 31. "     ,Ethernet 2 Interrupt" "-,Occurred"
textline "   EWU2      "
eventfld.long 0x00 30. " ,Ethernet 2 Wake-up Interrupt" "-,Occurred"
bitfld.long 0x08 30. "  ,Ethernet 2 Wake-up Interrupt" "-,Enabled"
bitfld.long 0x0c 30. "   ,Ethernet 2 Wake-up Interrupt" "-,Critical"
bitfld.long 0x10 30. "  ,Ethernet 2 Wake-up Interrupt" "Negative,Positive"
bitfld.long 0x14 30. "  ,Ethernet 2 Wake-up Interrupt" "Level,Edge"
bitfld.long 0x18 30. "     ,Ethernet 2 Wake-up Interrupt" "-,Occurred"
textline "   ETH3      "
eventfld.long 0x00 29. " ,Ethernet 3 Interrupt" "-,Occurred"
bitfld.long 0x08 29. "  ,Ethernet 3 Interrupt" "-,Enabled"
bitfld.long 0x0c 29. "   ,Ethernet 3 Interrupt" "-,Critical"
bitfld.long 0x10 29. "  ,Ethernet 3 Interrupt" "Negative,Positive"
bitfld.long 0x14 29. "  ,Ethernet 3 Interrupt" "Level,Edge"
bitfld.long 0x18 29. "     ,Ethernet 3 Interrupt" "-,Occurred"
textline "   EWU3      "
eventfld.long 0x00 28. " ,Ethernet 3 Wake-up Interrupt" "-,Occurred"
bitfld.long 0x08 28. "  ,Ethernet 3 Wake-up Interrupt" "-,Enabled"
bitfld.long 0x0c 28. "   ,Ethernet 3 Wake-up Interrupt" "-,Critical"
bitfld.long 0x10 28. "  ,Ethernet 3 Wake-up Interrupt" "Negative,Positive"
bitfld.long 0x14 28. "  ,Ethernet 3 Wake-up Interrupt" "Level,Edge"
bitfld.long 0x18 28. "     ,Ethernet 3 Wake-up Interrupt" "-,Occurred"
textline "   TAH0      "
eventfld.long 0x00 27. " ,TAH 0 Interrupt" "-,Occurred"
bitfld.long 0x08 27. "  ,TAH 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 27. "   ,TAH 0 Interrupt" "-,Critical"
bitfld.long 0x10 27. "  ,TAH 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 27. "  ,TAH 0 Interrupt" "Level,Edge"
bitfld.long 0x18 27. "     ,TAH 0 Interrupt" "-,Occurred"
textline "   TAH1      "
eventfld.long 0x00 26. " ,TAH 1 Interrupt" "-,Occurred"
bitfld.long 0x08 26. "  ,TAH 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 26. "   ,TAH 1 Interrupt" "-,Critical"
bitfld.long 0x10 26. "  ,TAH 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 26. "  ,TAH 1 Interrupt" "Level,Edge"
bitfld.long 0x18 26. "     ,TAH 1 Interrupt" "-,Occurred"
textline "   IMU0      "
eventfld.long 0x00 25. " ,IMU Level 0 Interrupt" "-,Occurred"
bitfld.long 0x08 25. "  ,IMU Level 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 25. "   ,IMU Level 0 Interrupt" "-,Critical"
bitfld.long 0x10 25. "  ,IMU Level 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 25. "  ,IMU Level 0 Interrupt" "Level,Edge"
bitfld.long 0x18 25. "     ,IMU Level 0 Interrupt" "-,Occurred"
textline "   IMU1      "
eventfld.long 0x00 24. " ,IMU Level 1 Interrupt" "-,Occurred"
bitfld.long 0x08 24. "  ,IMU Level 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 24. "   ,IMU Level 1 Interrupt" "-,Critical"
bitfld.long 0x10 24. "  ,IMU Level 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 24. "  ,IMU Level 1 Interrupt" "Level,Edge"
bitfld.long 0x18 24. "     ,IMU Level 1 Interrupt" "-,Occurred"
textline "   IMU2      "
eventfld.long 0x00 23. " ,IMU Level 2 Interrupt" "-,Occurred"
bitfld.long 0x08 23. "  ,IMU Level 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 23. "   ,IMU Level 2 Interrupt" "-,Critical"
bitfld.long 0x10 23. "  ,IMU Level 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 23. "  ,IMU Level 2 Interrupt" "Level,Edge"
bitfld.long 0x18 23. "     ,IMU Level 2 Interrupt" "-,Occurred"
textline "   IMU3      "
eventfld.long 0x00 22. " ,IMU Level 3 Interrupt" "-,Occurred"
bitfld.long 0x08 22. "  ,IMU Level 3 Interrupt" "-,Enabled"
bitfld.long 0x0c 22. "   ,IMU Level 3 Interrupt" "-,Critical"
bitfld.long 0x10 22. "  ,IMU Level 3 Interrupt" "Negative,Positive"
bitfld.long 0x14 22. "  ,IMU Level 3 Interrupt" "Level,Edge"
bitfld.long 0x18 22. "     ,IMU Level 3 Interrupt" "-,Occurred"
textline "   IMU4      "
eventfld.long 0x00 21. " ,IMU Level 4 Interrupt" "-,Occurred"
bitfld.long 0x08 21. "  ,IMU Level 4 Interrupt" "-,Enabled"
bitfld.long 0x0c 21. "   ,IMU Level 4 Interrupt" "-,Critical"
bitfld.long 0x10 21. "  ,IMU Level 4 Interrupt" "Negative,Positive"
bitfld.long 0x14 21. "  ,IMU Level 4 Interrupt" "Level,Edge"
bitfld.long 0x18 21. "     ,IMU Level 4 Interrupt" "-,Occurred"
textline "   IMU5      "
eventfld.long 0x00 20. " ,IMU Level 5 Interrupt" "-,Occurred"
bitfld.long 0x08 20. "  ,IMU Level 5 Interrupt" "-,Enabled"
bitfld.long 0x0c 20. "   ,IMU Level 5 Interrupt" "-,Critical"
bitfld.long 0x10 20. "  ,IMU Level 5 Interrupt" "Negative,Positive"
bitfld.long 0x14 20. "  ,IMU Level 5 Interrupt" "Level,Edge"
bitfld.long 0x18 20. "     ,IMU Level 5 Interrupt" "-,Occurred"
textline "   IMU6      "
eventfld.long 0x00 19. " ,IMU Level 6 Interrupt" "-,Occurred"
bitfld.long 0x08 19. "  ,IMU Level 6 Interrupt" "-,Enabled"
bitfld.long 0x0c 19. "   ,IMU Level 6 Interrupt" "-,Critical"
bitfld.long 0x10 19. "  ,IMU Level 6 Interrupt" "Negative,Positive"
bitfld.long 0x14 19. "  ,IMU Level 6 Interrupt" "Level,Edge"
bitfld.long 0x18 19. "     ,IMU Level 6 Interrupt" "-,Occurred"
textline "   MSI12     "
eventfld.long 0x00 18. " ,PCI MSI Level 12 Interrupt" "-,Occurred"
bitfld.long 0x08 18. "  ,PCI MSI Level 12 Interrupt" "-,Enabled"
bitfld.long 0x0c 18. "   ,PCI MSI Level 12 Interrupt" "-,Critical"
bitfld.long 0x10 18. "  ,PCI MSI Level 12 Interrupt" "Negative,Positive"
bitfld.long 0x14 18. "  ,PCI MSI Level 12 Interrupt" "Level,Edge"
bitfld.long 0x18 18. "     ,PCI MSI Level 12 Interrupt" "-,Occurred"
textline "   MSI13     "
eventfld.long 0x00 17. " ,PCI MSI Level 13 Interrupt" "-,Occurred"
bitfld.long 0x08 17. "  ,PCI MSI Level 13 Interrupt" "-,Enabled"
bitfld.long 0x0c 17. "   ,PCI MSI Level 13 Interrupt" "-,Critical"
bitfld.long 0x10 17. "  ,PCI MSI Level 13 Interrupt" "Negative,Positive"
bitfld.long 0x14 17. "  ,PCI MSI Level 13 Interrupt" "Level,Edge"
bitfld.long 0x18 17. "     ,PCI MSI Level 13 Interrupt" "-,Occurred"
textline "   MSI14     "
eventfld.long 0x00 16. " ,PCI MSI Level 14 Interrupt" "-,Occurred"
bitfld.long 0x08 16. "  ,PCI MSI Level 14 Interrupt" "-,Enabled"
bitfld.long 0x0c 16. "   ,PCI MSI Level 14 Interrupt" "-,Critical"
bitfld.long 0x10 16. "  ,PCI MSI Level 14 Interrupt" "Negative,Positive"
bitfld.long 0x14 16. "  ,PCI MSI Level 14 Interrupt" "Level,Edge"
bitfld.long 0x18 16. "     ,PCI MSI Level 14 Interrupt" "-,Occurred"
textline "   MSI15     "
eventfld.long 0x00 15. " ,PCI MSI Level 15 Interrupt" "-,Occurred"
bitfld.long 0x08 15. "  ,PCI MSI Level 15 Interrupt" "-,Enabled"
bitfld.long 0x0c 15. "   ,PCI MSI Level 15 Interrupt" "-,Critical"
bitfld.long 0x10 15. "  ,PCI MSI Level 15 Interrupt" "Negative,Positive"
bitfld.long 0x14 15. "  ,PCI MSI Level 15 Interrupt" "Level,Edge"
bitfld.long 0x18 15. "     ,PCI MSI Level 15 Interrupt" "-,Occurred"
textline "   EIR13     "
eventfld.long 0x00 14. " ,External IRQ 13 Interrupt" "-,Occurred"
bitfld.long 0x08 14. "  ,External IRQ 13 Interrupt" "-,Enabled"
bitfld.long 0x0c 14. "   ,External IRQ 13 Interrupt" "-,Critical"
bitfld.long 0x10 14. "  ,External IRQ 13 Interrupt" "Negative,Positive"
bitfld.long 0x14 14. "  ,External IRQ 13 Interrupt" "Level,Edge"
bitfld.long 0x18 14. "     ,External IRQ 13 Interrupt" "-,Occurred"
textline "   EIR14     "
eventfld.long 0x00 13. " ,External IRQ 14 Interrupt" "-,Occurred"
bitfld.long 0x08 13. "  ,External IRQ 14 Interrupt" "-,Enabled"
bitfld.long 0x0c 13. "   ,External IRQ 14 Interrupt" "-,Critical"
bitfld.long 0x10 13. "  ,External IRQ 14 Interrupt" "Negative,Positive"
bitfld.long 0x14 13. "  ,External IRQ 14 Interrupt" "Level,Edge"
bitfld.long 0x18 13. "     ,External IRQ 14 Interrupt" "-,Occurred"
textline "   EIR15     "
eventfld.long 0x00 12. " ,External IRQ 15 Interrupt" "-,Occurred"
bitfld.long 0x08 12. "  ,External IRQ 15 Interrupt" "-,Enabled"
bitfld.long 0x0c 12. "   ,External IRQ 15 Interrupt" "-,Critical"
bitfld.long 0x10 12. "  ,External IRQ 15 Interrupt" "Negative,Positive"
bitfld.long 0x14 12. "  ,External IRQ 15 Interrupt" "Level,Edge"
bitfld.long 0x18 12. "     ,External IRQ 15 Interrupt" "-,Occurred"
textline "   EIR16     "
eventfld.long 0x00 11. " ,External IRQ 16 Interrupt" "-,Occurred"
bitfld.long 0x08 11. "  ,External IRQ 16 Interrupt" "-,Enabled"
bitfld.long 0x0c 11. "   ,External IRQ 16 Interrupt" "-,Critical"
bitfld.long 0x10 11. "  ,External IRQ 16 Interrupt" "Negative,Positive"
bitfld.long 0x14 11. "  ,External IRQ 16 Interrupt" "Level,Edge"
bitfld.long 0x18 11. "     ,External IRQ 16 Interrupt" "-,Occurred"
textline "   EIR17     "
eventfld.long 0x00 10. " ,External IRQ 17 Interrupt" "-,Occurred"
bitfld.long 0x08 10. "  ,External IRQ 17 Interrupt" "-,Enabled"
bitfld.long 0x0c 10. "   ,External IRQ 17 Interrupt" "-,Critical"
bitfld.long 0x10 10. "  ,External IRQ 17 Interrupt" "Negative,Positive"
bitfld.long 0x14 10. "  ,External IRQ 17 Interrupt" "Level,Edge"
bitfld.long 0x18 10. "     ,External IRQ 17 Interrupt" "-,Occurred"
textline "   PCIV      "
eventfld.long 0x00 09. " ,PCI VPD Interrupt" "-,Occurred"
bitfld.long 0x08 09. "  ,PCI VPD Interrupt" "-,Enabled"
bitfld.long 0x0c 09. "   ,PCI VPD Interrupt" "-,Critical"
bitfld.long 0x10 09. "  ,PCI VPD Interrupt" "Negative,Positive"
bitfld.long 0x14 09. "  ,PCI VPD Interrupt" "Level,Edge"
bitfld.long 0x18 09. "     ,PCI VPD Interrupt" "-,Occurred"
textline "   L2C       "
eventfld.long 0x00 08. " ,L2 Cache Interrupt" "-,Occurred"
bitfld.long 0x08 08. "  ,L2 Cache Interrupt" "-,Enabled"
bitfld.long 0x0c 08. "   ,L2 Cache Interrupt" "-,Critical"
bitfld.long 0x10 08. "  ,L2 Cache Interrupt" "Negative,Positive"
bitfld.long 0x14 08. "  ,L2 Cache Interrupt" "Level,Edge"
bitfld.long 0x18 08. "     ,L2 Cache Interrupt" "-,Occurred"
textline "   ETH2P     "
eventfld.long 0x00 07. " ,EMAC 2 PCS Interrupt" "-,Occurred"
bitfld.long 0x08 07. "  ,EMAC 2 PCS Interrupt" "-,Enabled"
bitfld.long 0x0c 07. "   ,EMAC 2 PCS Interrupt" "-,Critical"
bitfld.long 0x10 07. "  ,EMAC 2 PCS Interrupt" "Negative,Positive"
bitfld.long 0x14 07. "  ,EMAC 2 PCS Interrupt" "Level,Edge"
bitfld.long 0x18 07. "     ,EMAC 2 PCS Interrupt" "-,Occurred"
textline "   ETH3P     "
eventfld.long 0x00 06. " ,EMAC 3 PCS Interrupt" "-,Occurred"
bitfld.long 0x08 06. "  ,EMAC 3 PCS Interrupt" "-,Enabled"
bitfld.long 0x0c 06. "   ,EMAC 3 PCS Interrupt" "-,Critical"
bitfld.long 0x10 06. "  ,EMAC 3 PCS Interrupt" "Negative,Positive"
bitfld.long 0x14 06. "  ,EMAC 3 PCS Interrupt" "Level,Edge"
bitfld.long 0x18 06. "     ,EMAC 3 PCS Interrupt" "-,Occurred"
textline "         "
wgroup.long dcr:0x217++0x0
line.long 0x0 "UIC2_VCR,UIC2 Vector Configuration Register"
hexmask.long 0x0 2.--31. 4. " VBA   ,Vector Base Address"
bitfld.long 0x0 0. "      PRO   ,Priority Ordering" "UIC2_SR[31],UIC2_SR[0]"
rgroup.long dcr:0x218++0x0
line.long 0x00 "UIC2_VR,UIC2 Vector Register"
tree.end
tree "UICB0"
group.long dcr:0x200--0x206
textline "              UICB0_SR  UICB0_ER  UICB0_CR  UICB0_PR  UICB0_TR  UICB0_MSR"
textline "         "
hexmask.long 0x00 00.--31. 1. "     ,UIC2 Status Register"
hexmask.long 0x08 00.--31. 1. "  ,UIC2 Enable Register"
hexmask.long 0x0c 00.--31. 1. "  ,UIC2 Critical Register"
hexmask.long 0x10 00.--31. 1. "  ,UIC2 Polarity Register"
hexmask.long 0x14 00.--31. 1. "  ,UIC2 Trigger Register"
hexmask.long 0x18 00.--31. 1. "  ,UIC2 Masked Status Register"
textline "   UIC0C     "
eventfld.long 0x00 31. " ,UIC0 Critical Interrupt" "-,Occurred"
bitfld.long 0x08 31. "  ,UIC0 Critical Interrupt" "-,Enabled"
bitfld.long 0x0c 31. "   ,UIC0 Critical Interrupt" "-,Critical"
bitfld.long 0x10 31. "  ,UIC0 Critical Interrupt" "Negative,Positive"
bitfld.long 0x14 31. "  ,UIC0 Critical Interrupt" "Level,Edge"
bitfld.long 0x18 31. "     ,UIC0 Critical Interrupt" "-,Occurred"
textline "   UIC0NC    "
eventfld.long 0x00 30. " ,UIC0 Non-Critical Interrupt" "-,Occurred"
bitfld.long 0x08 30. "  ,UIC0 Non-Critical Interrupt" "-,Enabled"
bitfld.long 0x0c 30. "   ,UIC0 Non-Critical Interrupt" "-,Critical"
bitfld.long 0x10 30. "  ,UIC0 Non-Critical Interrupt" "Negative,Positive"
bitfld.long 0x14 30. "  ,UIC0 Non-Critical Interrupt" "Level,Edge"
bitfld.long 0x18 30. "     ,UIC0 Non-Critical Interrupt" "-,Occurred"
textline "   UIC1C     "
eventfld.long 0x00 29. " ,UIC1 Critical Interrupt" "-,Occurred"
bitfld.long 0x08 29. "  ,UIC1 Critical Interrupt" "-,Enabled"
bitfld.long 0x0c 29. "   ,UIC1 Critical Interrupt" "-,Critical"
bitfld.long 0x10 29. "  ,UIC1 Critical Interrupt" "Negative,Positive"
bitfld.long 0x14 29. "  ,UIC1 Critical Interrupt" "Level,Edge"
bitfld.long 0x18 29. "     ,UIC1 Critical Interrupt" "-,Occurred"
textline "   UIC1NC    "
eventfld.long 0x00 28. " ,UIC1 Non-Critical Interrupt" "-,Occurred"
bitfld.long 0x08 28. "  ,UIC1 Non-Critical Interrupt" "-,Enabled"
bitfld.long 0x0c 28. "   ,UIC1 Non-Critical Interrupt" "-,Critical"
bitfld.long 0x10 28. "  ,UIC1 Non-Critical Interrupt" "Negative,Positive"
bitfld.long 0x14 28. "  ,UIC1 Non-Critical Interrupt" "Level,Edge"
bitfld.long 0x18 28. "     ,UIC1 Non-Critical Interrupt" "-,Occurred"
textline "   UIC2C     "
eventfld.long 0x00 27. " ,UIC2 Critical Interrupt" "-,Occurred"
bitfld.long 0x08 27. "  ,UIC2 Critical Interrupt" "-,Enabled"
bitfld.long 0x0c 27. "   ,UIC2 Critical Interrupt" "-,Critical"
bitfld.long 0x10 27. "  ,UIC2 Critical Interrupt" "Negative,Positive"
bitfld.long 0x14 27. "  ,UIC2 Critical Interrupt" "Level,Edge"
bitfld.long 0x18 27. "     ,UIC2 Critical Interrupt" "-,Occurred"
textline "   UIC2NC    "
eventfld.long 0x00 26. " ,UIC2 Non-Critical Interrupt" "-,Occurred"
bitfld.long 0x08 26. "  ,UIC2 Non-Critical Interrupt" "-,Enabled"
bitfld.long 0x0c 26. "   ,UIC2 Non-Critical Interrupt" "-,Critical"
bitfld.long 0x10 26. "  ,UIC2 Non-Critical Interrupt" "Negative,Positive"
bitfld.long 0x14 26. "  ,UIC2 Non-Critical Interrupt" "Level,Edge"
bitfld.long 0x18 26. "     ,UIC2 Non-Critical Interrupt" "-,Occurred"
textline "         "
wgroup.long dcr:0x207++0x0
line.long 0x0 "UICB0_VCR,UIC Base Vector Configuration Register 0"
hexmask.long 0x0 2.--31. 4. " VBA ,Vector Base Address"
bitfld.long 0x0 0. "  PRO ,Priority Ordering" "UICB_SR[31],UICB_SR[0]"
rgroup.long dcr:0x208++0x0
line.long 0x00 "UICB0_VR,UIC Base Vector Register"
tree.end
width 0xb
elif (cpu()=="PPC440EP")
;Universal Interrupt Controller
width 9.
tree "UIC0"
group.long dcr:0x0C0--0x0C6
textline "              UIC0_SR   UIC0_ER   UIC0_CR   UIC0_PR   UIC0_TR   UIC0_MSR"
textline "         "
hexmask.long 0x00 00.--31. 1. "     ,UIC0 Status Register"
hexmask.long 0x08 00.--31. 1. "  ,UIC0 Enable Register"
hexmask.long 0x0c 00.--31. 1. "  ,UIC0 Critical Register"
hexmask.long 0x10 00.--31. 1. "  ,UIC0 Polarity Register"
hexmask.long 0x14 00.--31. 1. "  ,UIC0 Trigger Register"
hexmask.long 0x18 00.--31. 1. "  ,UIC0 Masked Status Register"
textline "   U0        "
eventfld.long 0x00 31. " ,UART0 Interrupt" "-,Occurred"
bitfld.long 0x08 31. "  ,UART0 Interrupt" "-,Enabled"
bitfld.long 0x0c 31. "   ,UART0 Interrupt" "-,Critical"
bitfld.long 0x10 31. "  ,UART0 Interrupt" "Negative,Positive"
bitfld.long 0x14 31. "  ,UART0 Interrupt" "Level,Edge"
bitfld.long 0x18 31. "     ,UART0 Interrupt" "-,Occurred"
textline "   U1        "
eventfld.long 0x00 30. " ,UART1 Interrupt" "-,Occurred"
bitfld.long 0x08 30. "  ,UART1 Interrupt" "-,Enabled"
bitfld.long 0x0c 30. "   ,UART1 Interrupt" "-,Critical"
bitfld.long 0x10 30. "  ,UART1 Interrupt" "Negative,Positive"
bitfld.long 0x14 30. "  ,UART1 Interrupt" "Level,Edge"
bitfld.long 0x18 30. "     ,UART1 Interrupt" "-,Occurred"
textline "   IIC0      "
eventfld.long 0x00 29. " ,IIC0 Interrupt" "-,Occurred"
bitfld.long 0x08 29. "  ,IIC0 Interrupt" "-,Enabled"
bitfld.long 0x0c 29. "   ,IIC0 Interrupt" "-,Critical"
bitfld.long 0x10 29. "  ,IIC0 Interrupt" "Negative,Positive"
bitfld.long 0x14 29. "  ,IIC0 Interrupt" "Level,Edge"
bitfld.long 0x18 29. "     ,IIC0 Interrupt" "-,Occurred"
textline "   U2        "
eventfld.long 0x00 28. " ,UART2 Interrupt" "-,Occurred"
bitfld.long 0x08 28. "  ,UART2 Interrupt" "-,Enabled"
bitfld.long 0x0c 28. "   ,UART2 Interrupt" "-,Critical"
bitfld.long 0x10 28. "  ,UART2 Interrupt" "Negative,Positive"
bitfld.long 0x14 28. "  ,UART2 Interrupt" "Level,Edge"
bitfld.long 0x18 28. "     ,UART2 Interrupt" "-,Occurred"
textline "   U3        "
eventfld.long 0x00 27. " ,UART3 Interrupt" "-,Occurred"
bitfld.long 0x08 27. "  ,UART3 Interrupt" "-,Enabled"
bitfld.long 0x0c 27. "   ,UART3 Interrupt" "-,Critical"
bitfld.long 0x10 27. "  ,UART3 Interrupt" "Negative,Positive"
bitfld.long 0x14 27. "  ,UART3 Interrupt" "Level,Edge"
bitfld.long 0x18 27. "     ,UART3 Interrupt" "-,Occurred"
textline "   PCRW      "
eventfld.long 0x00 26. " ,PCI Command Register Write Interrupt" "-,Occurred"
bitfld.long 0x08 26. "  ,PCI Command Register Write Interrupt" "-,Enabled"
bitfld.long 0x0c 26. "   ,PCI Command Register Write Interrupt" "-,Critical"
bitfld.long 0x10 26. "  ,PCI Command Register Write Interrupt" "Negative,Positive"
bitfld.long 0x14 26. "  ,PCI Command Register Write Interrupt" "Level,Edge"
bitfld.long 0x18 26. "     ,PCI Command Register Write Interrupt" "-,Occurred"
textline "   PPM       "
eventfld.long 0x00 25. " ,PCI Power Management Interrupt" "-,Occurred"
bitfld.long 0x08 25. "  ,PCI Power Management Interrupt" "-,Enabled"
bitfld.long 0x0c 25. "   ,PCI Power Management Interrupt" "-,Critical"
bitfld.long 0x10 25. "  ,PCI Power Management Interrupt" "Negative,Positive"
bitfld.long 0x14 25. "  ,PCI Power Management Interrupt" "Level,Edge"
bitfld.long 0x18 25. "     ,PCI Power Management Interrupt" "-,Occurred"
textline "   IIC1      "
eventfld.long 0x00 24. " ,IIC1 Interrupt" "-,Occurred"
bitfld.long 0x08 24. "  ,IIC1 Interrupt" "-,Enabled"
bitfld.long 0x0c 24. "   ,IIC1 Interrupt" "-,Critical"
bitfld.long 0x10 24. "  ,IIC1 Interrupt" "Negative,Positive"
bitfld.long 0x14 24. "  ,IIC1 Interrupt" "Level,Edge"
bitfld.long 0x18 24. "     ,IIC1 Interrupt" "-,Occurred"
textline "   SPI       "
eventfld.long 0x00 23. " ,SPI Interrupt" "-,Occurred"
bitfld.long 0x08 23. "  ,SPI Interrupt" "-,Enabled"
bitfld.long 0x0c 23. "   ,SPI Interrupt" "-,Critical"
bitfld.long 0x10 23. "  ,SPI Interrupt" "Negative,Positive"
bitfld.long 0x14 23. "  ,SPI Interrupt" "Level,Edge"
bitfld.long 0x18 23. "     ,SPI Interrupt" "-,Occurred"
textline "   EPS       "
eventfld.long 0x00 22. " ,Ext PCI SERR Interrupt" "-,Occurred"
bitfld.long 0x08 22. "  ,Ext PCI SERR Interrupt" "-,Enabled"
bitfld.long 0x0c 22. "   ,Ext PCI SERR Interrupt" "-,Critical"
bitfld.long 0x10 22. "  ,Ext PCI SERR Interrupt" "Negative,Positive"
bitfld.long 0x14 22. "  ,Ext PCI SERR Interrupt" "Level,Edge"
bitfld.long 0x18 22. "     ,Ext PCI SERR Interrupt" "-,Occurred"
textline "   MTE       "
eventfld.long 0x00 21. " ,MAL TX EOB Interrupt" "-,Occurred"
bitfld.long 0x08 21. "  ,MAL TX EOB Interrupt" "-,Enabled"
bitfld.long 0x0c 21. "   ,MAL TX EOB Interrupt" "-,Critical"
bitfld.long 0x10 21. "  ,MAL TX EOB Interrupt" "Negative,Positive"
bitfld.long 0x14 21. "  ,MAL TX EOB Interrupt" "Level,Edge"
bitfld.long 0x18 21. "     ,MAL TX EOB Interrupt" "-,Occurred"
textline "   MRE       "
eventfld.long 0x00 20. " ,MAL RX EOB Interrupt" "-,Occurred"
bitfld.long 0x08 20. "  ,MAL RX EOB Interrupt" "-,Enabled"
bitfld.long 0x0c 20. "   ,MAL RX EOB Interrupt" "-,Critical"
bitfld.long 0x10 20. "  ,MAL RX EOB Interrupt" "Negative,Positive"
bitfld.long 0x14 20. "  ,MAL RX EOB Interrupt" "Level,Edge"
bitfld.long 0x18 20. "     ,MAL RX EOB Interrupt" "-,Occurred"
textline "   D0        "
eventfld.long 0x00 19. " ,DMA Channel 0 Interrupt" "-,Occurred"
bitfld.long 0x08 19. "  ,DMA Channel 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 19. "   ,DMA Channel 0 Interrupt" "-,Critical"
bitfld.long 0x10 19. "  ,DMA Channel 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 19. "  ,DMA Channel 0 Interrupt" "Level,Edge"
bitfld.long 0x18 19. "     ,DMA Channel 0 Interrupt" "-,Occurred"
textline "   D1        "
eventfld.long 0x00 18. " ,DMA Channel 1 Interrupt" "-,Occurred"
bitfld.long 0x08 18. "  ,DMA Channel 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 18. "   ,DMA Channel 1 Interrupt" "-,Critical"
bitfld.long 0x10 18. "  ,DMA Channel 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 18. "  ,DMA Channel 1 Interrupt" "Level,Edge"
bitfld.long 0x18 18. "     ,DMA Channel 1 Interrupt" "-,Occurred"
textline "   D2        "
eventfld.long 0x00 17. " ,DMA Channel 2 Interrupt" "-,Occurred"
bitfld.long 0x08 17. "  ,DMA Channel 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 17. "   ,DMA Channel 2 Interrupt" "-,Critical"
bitfld.long 0x10 17. "  ,DMA Channel 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 17. "  ,DMA Channel 2 Interrupt" "Level,Edge"
bitfld.long 0x18 17. "     ,DMA Channel 2 Interrupt" "-,Occurred"
textline "   D3        "
eventfld.long 0x00 16. " ,DMA Channel 3 Interrupt" "-,Occurred"
bitfld.long 0x08 16. "  ,DMA Channel 3 Interrupt" "-,Enabled"
bitfld.long 0x0c 16. "   ,DMA Channel 3 Interrupt" "-,Critical"
bitfld.long 0x10 16. "  ,DMA Channel 3 Interrupt" "Negative,Positive"
bitfld.long 0x14 16. "  ,DMA Channel 3 Interrupt" "Level,Edge"
bitfld.long 0x18 16. "     ,DMA Channel 3 Interrupt" "-,Occurred"
textline "   CT5       "
eventfld.long 0x00 15. " ,GPT Compare Timer 5 Interrupt" "-,Occurred"
bitfld.long 0x08 15. "  ,GPT Compare Timer 5 Interrupt" "-,Enabled"
bitfld.long 0x0c 15. "   ,GPT Compare Timer 5 Interrupt" "-,Critical"
bitfld.long 0x10 15. "  ,GPT Compare Timer 5 Interrupt" "Negative,Positive"
bitfld.long 0x14 15. "  ,GPT Compare Timer 5 Interrupt" "Level,Edge"
bitfld.long 0x18 15. "     ,GPT Compare Timer 5 Interrupt" "-,Occurred"
textline "   CT6       "
eventfld.long 0x00 14. " ,GPT Compare Timer 6 Interrupt" "-,Occurred"
bitfld.long 0x08 14. "  ,GPT Compare Timer 6 Interrupt" "-,Enabled"
bitfld.long 0x0c 14. "   ,GPT Compare Timer 6 Interrupt" "-,Critical"
bitfld.long 0x10 14. "  ,GPT Compare Timer 6 Interrupt" "Negative,Positive"
bitfld.long 0x14 14. "  ,GPT Compare Timer 6 Interrupt" "Level,Edge"
bitfld.long 0x18 14. "     ,GPT Compare Timer 6 Interrupt" "-,Occurred"
textline "   CT0       "
eventfld.long 0x00 13. " ,GPT Compare Timer 0 Interrupt" "-,Occurred"
bitfld.long 0x08 13. "  ,GPT Compare Timer 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 13. "   ,GPT Compare Timer 0 Interrupt" "-,Critical"
bitfld.long 0x10 13. "  ,GPT Compare Timer 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 13. "  ,GPT Compare Timer 0 Interrupt" "Level,Edge"
bitfld.long 0x18 13. "     ,GPT Compare Timer 0 Interrupt" "-,Occurred"
textline "   CT1       "
eventfld.long 0x00 12. " ,GPT Compare Timer 1 Interrupt" "-,Occurred"
bitfld.long 0x08 12. "  ,GPT Compare Timer 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 12. "   ,GPT Compare Timer 1 Interrupt" "-,Critical"
bitfld.long 0x10 12. "  ,GPT Compare Timer 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 12. "  ,GPT Compare Timer 1 Interrupt" "Level,Edge"
bitfld.long 0x18 12. "     ,GPT Compare Timer 1 Interrupt" "-,Occurred"
textline "   CT2       "
eventfld.long 0x00 11. " ,GPT Compare Timer 2 Interrupt" "-,Occurred"
bitfld.long 0x08 11. "  ,GPT Compare Timer 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 11. "   ,GPT Compare Timer 2 Interrupt" "-,Critical"
bitfld.long 0x10 11. "  ,GPT Compare Timer 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 11. "  ,GPT Compare Timer 2 Interrupt" "Level,Edge"
bitfld.long 0x18 11. "     ,GPT Compare Timer 2 Interrupt" "-,Occurred"
textline "   CT3       "
eventfld.long 0x00 10. " ,GPT Compare Timer 3 Interrupt" "-,Occurred"
bitfld.long 0x08 10. "  ,GPT Compare Timer 3 Interrupt" "-,Enabled"
bitfld.long 0x0c 10. "   ,GPT Compare Timer 3 Interrupt" "-,Critical"
bitfld.long 0x10 10. "  ,GPT Compare Timer 3 Interrupt" "Negative,Positive"
bitfld.long 0x14 10. "  ,GPT Compare Timer 3 Interrupt" "Level,Edge"
bitfld.long 0x18 10. "     ,GPT Compare Timer 3 Interrupt" "-,Occurred"
textline "   CT4       "
eventfld.long 0x00 09. " ,GPT Compare Timer 4 Interrupt" "-,Occurred"
bitfld.long 0x08 09. "  ,GPT Compare Timer 4 Interrupt" "-,Enabled"
bitfld.long 0x0c 09. "   ,GPT Compare Timer 4 Interrupt" "-,Critical"
bitfld.long 0x10 09. "  ,GPT Compare Timer 4 Interrupt" "Negative,Positive"
bitfld.long 0x14 09. "  ,GPT Compare Timer 4 Interrupt" "Level,Edge"
bitfld.long 0x18 09. "     ,GPT Compare Timer 4 Interrupt" "-,Occurred"
textline "   EIR0      "
eventfld.long 0x00 08. " ,External IRQ 0 Interrupt" "-,Occurred"
bitfld.long 0x08 08. "  ,External IRQ 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 08. "   ,External IRQ 0 Interrupt" "-,Critical"
bitfld.long 0x10 08. "  ,External IRQ 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 08. "  ,External IRQ 0 Interrupt" "Level,Edge"
bitfld.long 0x18 08. "     ,External IRQ 0 Interrupt" "-,Occurred"
textline "   EIR1      "
eventfld.long 0x00 07. " ,External IRQ 1 Interrupt" "-,Occurred"
bitfld.long 0x08 07. "  ,External IRQ 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 07. "   ,External IRQ 1 Interrupt" "-,Critical"
bitfld.long 0x10 07. "  ,External IRQ 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 07. "  ,External IRQ 1 Interrupt" "Level,Edge"
bitfld.long 0x18 07. "     ,External IRQ 1 Interrupt" "-,Occurred"
textline "   EIR2      "
eventfld.long 0x00 06. " ,External IRQ 2 Interrupt" "-,Occurred"
bitfld.long 0x08 06. "  ,External IRQ 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 06. "   ,External IRQ 2 Interrupt" "-,Critical"
bitfld.long 0x10 06. "  ,External IRQ 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 06. "  ,External IRQ 2 Interrupt" "Level,Edge"
bitfld.long 0x18 06. "     ,External IRQ 2 Interrupt" "-,Occurred"
textline "   EIR3      "
eventfld.long 0x00 05. " ,External IRQ 3 Interrupt" "-,Occurred"
bitfld.long 0x08 05. "  ,External IRQ 3 Interrupt" "-,Enabled"
bitfld.long 0x0c 05. "   ,External IRQ 3 Interrupt" "-,Critical"
bitfld.long 0x10 05. "  ,External IRQ 3 Interrupt" "Negative,Positive"
bitfld.long 0x14 05. "  ,External IRQ 3 Interrupt" "Level,Edge"
bitfld.long 0x18 05. "     ,External IRQ 3 Interrupt" "-,Occurred"
textline "   EIR4      "
eventfld.long 0x00 04. " ,External IRQ 4 Interrupt" "-,Occurred"
bitfld.long 0x08 04. "  ,External IRQ 4 Interrupt" "-,Enabled"
bitfld.long 0x0c 04. "   ,External IRQ 4 Interrupt" "-,Critical"
bitfld.long 0x10 04. "  ,External IRQ 4 Interrupt" "Negative,Positive"
bitfld.long 0x14 04. "  ,External IRQ 4 Interrupt" "Level,Edge"
bitfld.long 0x18 04. "     ,External IRQ 4 Interrupt" "-,Occurred"
textline "   EIR5      "
eventfld.long 0x00 03. " ,External IRQ 5 Interrupt" "-,Occurred"
bitfld.long 0x08 03. "  ,External IRQ 5 Interrupt" "-,Enabled"
bitfld.long 0x0c 03. "   ,External IRQ 5 Interrupt" "-,Critical"
bitfld.long 0x10 03. "  ,External IRQ 5 Interrupt" "Negative,Positive"
bitfld.long 0x14 03. "  ,External IRQ 5 Interrupt" "Level,Edge"
bitfld.long 0x18 03. "     ,External IRQ 5 Interrupt" "-,Occurred"
textline "   EIR6      "
eventfld.long 0x00 02. " ,External IRQ 6 Interrupt" "-,Occurred"
bitfld.long 0x08 02. "  ,External IRQ 6 Interrupt" "-,Enabled"
bitfld.long 0x0c 02. "   ,External IRQ 6 Interrupt" "-,Critical"
bitfld.long 0x10 02. "  ,External IRQ 6 Interrupt" "Negative,Positive"
bitfld.long 0x14 02. "  ,External IRQ 6 Interrupt" "Level,Edge"
bitfld.long 0x18 02. "     ,External IRQ 6 Interrupt" "-,Occurred"
textline "   UIC1NC    "
eventfld.long 0x00 01. " ,UIC1 Non-Critical Interrupt" "-,Occurred"
bitfld.long 0x08 01. "  ,UIC1 Non-Critical Interrupt" "-,Enabled"
bitfld.long 0x0c 01. "   ,UIC1 Non-Critical Interrupt" "-,Critical"
bitfld.long 0x10 01. "  ,UIC1 Non-Critical Interrupt" "Negative,Positive"
bitfld.long 0x14 01. "  ,UIC1 Non-Critical Interrupt" "Level,Edge"
bitfld.long 0x18 01. "     ,UIC1 Non-Critical Interrupt" "-,Occurred"
textline "   UIC1C     "
eventfld.long 0x00 00. " ,UIC1 Critical Interrupt" "-,Occurred"
bitfld.long 0x08 00. "  ,UIC1 Critical Interrupt" "-,Enabled"
bitfld.long 0x0c 00. "   ,UIC1 Critical Interrupt" "-,Critical"
bitfld.long 0x10 00. "  ,UIC1 Critical Interrupt" "Negative,Positive"
bitfld.long 0x14 00. "  ,UIC1 Critical Interrupt" "Level,Edge"
bitfld.long 0x18 00. "     ,UIC1 Critical Interrupt" "-,Occurred"
textline "         "
wgroup.long dcr:0x0C8--0x0C8
line.long 0x00 "UIC0_VCR,UIC Vector Configuration Register 0"
hexmask.long 0x00 2.--31. 1. " VBA ,Vector Base Address"
bitfld.long 0x00 0. "  PRO ,Priority Ordering" "31 --> 0,0 --> 31"
rgroup.long dcr:0x0C7--0x0C7
line.long 0x00 "UIC0_VR,UIC Vector Register 0"
hexmask.long 0x00 0.--31. 1. " VR  ,Interrupt Vector"  
tree.end
tree "UIC1"
group.long dcr:0x0D0--0x0D6
textline "              UIC1_SR   UIC1_ER   UIC1_CR   UIC1_PR   UIC1_TR   UIC1_MSR"
textline "         "
hexmask.long 0x00 00.--31. 1. "     ,UIC1 Status Register"
hexmask.long 0x08 00.--31. 1. "  ,UIC1 Enable Register"
hexmask.long 0x0c 00.--31. 1. "  ,UIC1 Critical Register"
hexmask.long 0x10 00.--31. 1. "  ,UIC1 Polarity Register"
hexmask.long 0x14 00.--31. 1. "  ,UIC1 Trigger Register"
hexmask.long 0x18 00.--31. 1. "  ,UIC1 Masked Status Register"
textline "   MS        "
eventfld.long 0x00 31. " ,MAL SERR Interrupt" "-,Occurred"
bitfld.long 0x08 31. "  ,MAL SERR Interrupt" "-,Enabled"
bitfld.long 0x0c 31. "   ,MAL SERR Interrupt" "-,Critical"
bitfld.long 0x10 31. "  ,MAL SERR Interrupt" "Negative,Positive"
bitfld.long 0x14 31. "  ,MAL SERR Interrupt" "Level,Edge"
bitfld.long 0x18 31. "     ,MAL SERR Interrupt" "-,Occurred"
textline "   MTDE      "
eventfld.long 0x00 30. " ,MAL TXDE Interrupt" "-,Occurred"
bitfld.long 0x08 30. "  ,MAL TXDE Interrupt" "-,Enabled"
bitfld.long 0x0c 30. "   ,MAL TXDE Interrupt" "-,Critical"
bitfld.long 0x10 30. "  ,MAL TXDE Interrupt" "Negative,Positive"
bitfld.long 0x14 30. "  ,MAL TXDE Interrupt" "Level,Edge"
bitfld.long 0x18 30. "     ,MAL TXDE Interrupt" "-,Occurred"
textline "   MRDE      "
eventfld.long 0x00 29. " ,MAL RXDE Interrupt" "-,Occurred"
bitfld.long 0x08 29. "  ,MAL RXDE Interrupt" "-,Enabled"
bitfld.long 0x0c 29. "   ,MAL RXDE Interrupt" "-,Critical"
bitfld.long 0x10 29. "  ,MAL RXDE Interrupt" "Negative,Positive"
bitfld.long 0x14 29. "  ,MAL RXDE Interrupt" "Level,Edge"
bitfld.long 0x18 29. "     ,MAL RXDE Interrupt" "-,Occurred"
textline "   DEUE      "
eventfld.long 0x00 28. " ,DDRSDRAM ECC Uncorrectable Error Interrupt" "-,Occurred"
bitfld.long 0x08 28. "  ,DDRSDRAM ECC Uncorrectable Error Interrupt" "-,Enabled"
bitfld.long 0x0c 28. "   ,DDRSDRAM ECC Uncorrectable Error Interrupt" "-,Critical"
bitfld.long 0x10 28. "  ,DDRSDRAM ECC Uncorrectable Error Interrupt" "Negative,Positive"
bitfld.long 0x14 28. "  ,DDRSDRAM ECC Uncorrectable Error Interrupt" "Level,Edge"
bitfld.long 0x18 28. "     ,DDRSDRAM ECC Uncorrectable Error Interrupt" "-,Occurred"
textline "   DECE      "
eventfld.long 0x00 27. " ,DDRSDRAM ECC Correctable Error Interrupt" "-,Occurred"
bitfld.long 0x08 27. "  ,DDRSDRAM ECC Correctable Error Interrupt" "-,Enabled"
bitfld.long 0x0c 27. "   ,DDRSDRAM ECC Correctable Error Interrupt" "-,Critical"
bitfld.long 0x10 27. "  ,DDRSDRAM ECC Correctable Error Interrupt" "Negative,Positive"
bitfld.long 0x14 27. "  ,DDRSDRAM ECC Correctable Error Interrupt" "Level,Edge"
bitfld.long 0x18 27. "     ,DDRSDRAM ECC Correctable Error Interrupt" "-,Occurred"
textline "   EBC       "
eventfld.long 0x00 26. " ,EBC Interrupt" "-,Occurred"
bitfld.long 0x08 26. "  ,EBC Interrupt" "-,Enabled"
bitfld.long 0x0c 26. "   ,EBC Interrupt" "-,Critical"
bitfld.long 0x10 26. "  ,EBC Interrupt" "Negative,Positive"
bitfld.long 0x14 26. "  ,EBC Interrupt" "Level,Edge"
bitfld.long 0x18 26. "     ,EBC Interrupt" "-,Occurred"
textline "   NDFC      "
eventfld.long 0x00 25. " ,NDFC Interrupt" "-,Occurred"
bitfld.long 0x08 25. "  ,NDFC Interrupt" "-,Enabled"
bitfld.long 0x0c 25. "   ,NDFC Interrupt" "-,Critical"
bitfld.long 0x10 25. "  ,NDFC Interrupt" "Negative,Positive"
bitfld.long 0x14 25. "  ,NDFC Interrupt" "Level,Edge"
bitfld.long 0x18 25. "     ,NDFC Interrupt" "-,Occurred"
textline "   OPB       "
eventfld.long 0x00 24. " ,OPB to PLB Bridge Interrupt" "-,Occurred"
bitfld.long 0x08 24. "  ,OPB to PLB Bridge Interrupt" "-,Enabled"
bitfld.long 0x0c 24. "   ,OPB to PLB Bridge Interrupt" "-,Critical"
bitfld.long 0x10 24. "  ,OPB to PLB Bridge Interrupt" "Negative,Positive"
bitfld.long 0x14 24. "  ,OPB to PLB Bridge Interrupt" "Level,Edge"
bitfld.long 0x18 24. "     ,OPB to PLB Bridge Interrupt" "-,Occurred"
textline "   USB1H1    "
eventfld.long 0x00 23. " ,USB1.1 Host 1 Interrupt" "-,Occurred"
bitfld.long 0x08 23. "  ,USB1.1 Host 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 23. "   ,USB1.1 Host 1 Interrupt" "-,Critical"
bitfld.long 0x10 23. "  ,USB1.1 Host 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 23. "  ,USB1.1 Host 1 Interrupt" "Level,Edge"
bitfld.long 0x18 23. "     ,USB1.1 Host 1 Interrupt" "-,Occurred"
textline "   USB1H2    "
eventfld.long 0x00 22. " ,USB1.1 Host 2 Interrupt" "-,Occurred"
bitfld.long 0x08 22. "  ,USB1.1 Host 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 22. "   ,USB1.1 Host 2 Interrupt" "-,Critical"
bitfld.long 0x10 22. "  ,USB1.1 Host 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 22. "  ,USB1.1 Host 2 Interrupt" "Level,Edge"
bitfld.long 0x18 22. "     ,USB1.1 Host 2 Interrupt" "-,Occurred"
textline "   P2P0      "
eventfld.long 0x00 21. " ,PLB3 to PLB4 Bridge 0 Interrupt" "-,Occurred"
bitfld.long 0x08 21. "  ,PLB3 to PLB4 Bridge 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 21. "   ,PLB3 to PLB4 Bridge 0 Interrupt" "-,Critical"
bitfld.long 0x10 21. "  ,PLB3 to PLB4 Bridge 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 21. "  ,PLB3 to PLB4 Bridge 0 Interrupt" "Level,Edge"
bitfld.long 0x18 21. "     ,PLB3 to PLB4 Bridge 0 Interrupt" "-,Occurred"
textline "   P2P1      "
eventfld.long 0x00 20. " ,PLB3 to PLB4 Bridge 1 Interrupt" "-,Occurred"
bitfld.long 0x08 20. "  ,PLB3 to PLB4 Bridge 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 20. "   ,PLB3 to PLB4 Bridge 1 Interrupt" "-,Critical"
bitfld.long 0x10 20. "  ,PLB3 to PLB4 Bridge 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 20. "  ,PLB3 to PLB4 Bridge 1 Interrupt" "Level,Edge"
bitfld.long 0x18 20. "     ,PLB3 to PLB4 Bridge 1 Interrupt" "-,Occurred"
textline "   P2P2      "
eventfld.long 0x00 19. " ,PLB3 to PLB4 Bridge 2 Interrupt" "-,Occurred"
bitfld.long 0x08 19. "  ,PLB3 to PLB4 Bridge 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 19. "   ,PLB3 to PLB4 Bridge 2 Interrupt" "-,Critical"
bitfld.long 0x10 19. "  ,PLB3 to PLB4 Bridge 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 19. "  ,PLB3 to PLB4 Bridge 2 Interrupt" "Level,Edge"
bitfld.long 0x18 19. "     ,PLB3 to PLB4 Bridge 2 Interrupt" "-,Occurred"
textline "   P2P3      "
eventfld.long 0x00 18. " ,PLB3 to PLB4 Bridge 3 Interrupt" "-,Occurred"
bitfld.long 0x08 18. "  ,PLB3 to PLB4 Bridge 3 Interrupt" "-,Enabled"
bitfld.long 0x0c 18. "   ,PLB3 to PLB4 Bridge 3 Interrupt" "-,Critical"
bitfld.long 0x10 18. "  ,PLB3 to PLB4 Bridge 3 Interrupt" "Negative,Positive"
bitfld.long 0x14 18. "  ,PLB3 to PLB4 Bridge 3 Interrupt" "Level,Edge"
bitfld.long 0x18 18. "     ,PLB3 to PLB4 Bridge 3 Interrupt" "-,Occurred"
textline "   P2P4      "
eventfld.long 0x00 17. " ,PLB3 to PLB4 Bridge 4 Interrupt" "-,Occurred"
bitfld.long 0x08 17. "  ,PLB3 to PLB4 Bridge 4 Interrupt" "-,Enabled"
bitfld.long 0x0c 17. "   ,PLB3 to PLB4 Bridge 4 Interrupt" "-,Critical"
bitfld.long 0x10 17. "  ,PLB3 to PLB4 Bridge 4 Interrupt" "Negative,Positive"
bitfld.long 0x14 17. "  ,PLB3 to PLB4 Bridge 4 Interrupt" "Level,Edge"
bitfld.long 0x18 17. "     ,PLB3 to PLB4 Bridge 4 Interrupt" "-,Occurred"
textline "   P2P5      "
eventfld.long 0x00 16. " ,PLB3 to PLB4 Bridge 5 Interrupt" "-,Occurred"
bitfld.long 0x08 16. "  ,PLB3 to PLB4 Bridge 5 Interrupt" "-,Enabled"
bitfld.long 0x0c 16. "   ,PLB3 to PLB4 Bridge 5 Interrupt" "-,Critical"
bitfld.long 0x10 16. "  ,PLB3 to PLB4 Bridge 5 Interrupt" "Negative,Positive"
bitfld.long 0x14 16. "  ,PLB3 to PLB4 Bridge 5 Interrupt" "Level,Edge"
bitfld.long 0x18 16. "     ,PLB3 to PLB4 Bridge 5 Interrupt" "-,Occurred"
textline "   UDMA0     "
eventfld.long 0x00 15. " ,UDMA0 Interrupt" "-,Occurred"
bitfld.long 0x08 15. "  ,UDMA0 Interrupt" "-,Enabled"
bitfld.long 0x0c 15. "   ,UDMA0 Interrupt" "-,Critical"
bitfld.long 0x10 15. "  ,UDMA0 Interrupt" "Negative,Positive"
bitfld.long 0x14 15. "  ,UDMA0 Interrupt" "Level,Edge"
bitfld.long 0x18 15. "     ,UDMA0 Interrupt" "-,Occurred"
textline "   UDMA1     "
eventfld.long 0x00 14. " ,UDMA1 Interrupt" "-,Occurred"
bitfld.long 0x08 14. "  ,UDMA1 Interrupt" "-,Enabled"
bitfld.long 0x0c 14. "   ,UDMA1 Interrupt" "-,Critical"
bitfld.long 0x10 14. "  ,UDMA1 Interrupt" "Negative,Positive"
bitfld.long 0x14 14. "  ,UDMA1 Interrupt" "Level,Edge"
bitfld.long 0x18 14. "     ,UDMA1 Interrupt" "-,Occurred"
textline "   EIR7      "
eventfld.long 0x00 13. " ,External IRQ 7 Interrupt" "-,Occurred"
bitfld.long 0x08 13. "  ,External IRQ 7 Interrupt" "-,Enabled"
bitfld.long 0x0c 13. "   ,External IRQ 7 Interrupt" "-,Critical"
bitfld.long 0x10 13. "  ,External IRQ 7 Interrupt" "Negative,Positive"
bitfld.long 0x14 13. "  ,External IRQ 7 Interrupt" "Level,Edge"
bitfld.long 0x18 13. "     ,External IRQ 7 Interrupt" "-,Occurred"
textline "   EIR8      "
eventfld.long 0x00 12. " ,External IRQ 8 Interrupt" "-,Occurred"
bitfld.long 0x08 12. "  ,External IRQ 8 Interrupt" "-,Enabled"
bitfld.long 0x0c 12. "   ,External IRQ 8 Interrupt" "-,Critical"
bitfld.long 0x10 12. "  ,External IRQ 8 Interrupt" "Negative,Positive"
bitfld.long 0x14 12. "  ,External IRQ 8 Interrupt" "Level,Edge"
bitfld.long 0x18 12. "     ,External IRQ 8 Interrupt" "-,Occurred"
textline "   EIR9      "
eventfld.long 0x00 11. " ,External IRQ 9 Interrupt" "-,Occurred"
bitfld.long 0x08 11. "  ,External IRQ 9 Interrupt" "-,Enabled"
bitfld.long 0x0c 11. "   ,External IRQ 9 Interrupt" "-,Critical"
bitfld.long 0x10 11. "  ,External IRQ 9 Interrupt" "Negative,Positive"
bitfld.long 0x14 11. "  ,External IRQ 9 Interrupt" "Level,Edge"
bitfld.long 0x18 11. "     ,External IRQ 9 Interrupt" "-,Occurred"
textline "   UDMA2     "
eventfld.long 0x00 10. " ,UDMA2 Interrupt" "-,Occurred"
bitfld.long 0x08 10. "  ,UDMA2 Interrupt" "-,Enabled"
bitfld.long 0x0c 10. "   ,UDMA2 Interrupt" "-,Critical"
bitfld.long 0x10 10. "  ,UDMA2 Interrupt" "Negative,Positive"
bitfld.long 0x14 10. "  ,UDMA2 Interrupt" "Level,Edge"
bitfld.long 0x18 10. "     ,UDMA2 Interrupt" "-,Occurred"
textline "   UDMA3     "
eventfld.long 0x00 09. " ,UDMA3 Interrupt" "-,Occurred"
bitfld.long 0x08 09. "  ,UDMA3 Interrupt" "-,Enabled"
bitfld.long 0x0c 09. "   ,UDMA3 Interrupt" "-,Critical"
bitfld.long 0x10 09. "  ,UDMA3 Interrupt" "Negative,Positive"
bitfld.long 0x14 09. "  ,UDMA3 Interrupt" "Level,Edge"
bitfld.long 0x18 09. "     ,UDMA3 Interrupt" "-,Occurred"
textline "   USBD      "
eventfld.long 0x00 08. " ,USB1.1 USB2.0 Device Interrupt" "-,Occurred"
bitfld.long 0x08 08. "  ,USB1.1 USB2.0 Device Interrupt" "-,Enabled"
bitfld.long 0x0c 08. "   ,USB1.1 USB2.0 Device Interrupt" "-,Critical"
bitfld.long 0x10 08. "  ,USB1.1 USB2.0 Device Interrupt" "Negative,Positive"
bitfld.long 0x14 08. "  ,USB1.1 USB2.0 Device Interrupt" "Level,Edge"
bitfld.long 0x18 08. "     ,USB1.1 USB2.0 Device Interrupt" "-,Occurred"
textline "   SRE       "
eventfld.long 0x00 07. " ,Serial ROM Error Interrupt" "-,Occurred"
bitfld.long 0x08 07. "  ,Serial ROM Error Interrupt" "-,Enabled"
bitfld.long 0x0c 07. "   ,Serial ROM Error Interrupt" "-,Critical"
bitfld.long 0x10 07. "  ,Serial ROM Error Interrupt" "Negative,Positive"
bitfld.long 0x14 07. "  ,Serial ROM Error Interrupt" "Level,Edge"
bitfld.long 0x18 07. "     ,Serial ROM Error Interrupt" "-,Occurred"
textline "   GDP       "
eventfld.long 0x00 06. " ,GPT Decrement Pulse Interrupt" "-,Occurred"
bitfld.long 0x08 06. "  ,GPT Decrement Pulse Interrupt" "-,Enabled"
bitfld.long 0x0c 06. "   ,GPT Decrement Pulse Interrupt" "-,Critical"
bitfld.long 0x10 06. "  ,GPT Decrement Pulse Interrupt" "Negative,Positive"
bitfld.long 0x14 06. "  ,GPT Decrement Pulse Interrupt" "Level,Edge"
bitfld.long 0x18 06. "     ,GPT Decrement Pulse Interrupt" "-,Occurred"
textline "   PPM       "
eventfld.long 0x00 05. " ,PLB Performance Monitor Interrupt" "-,Occurred"
bitfld.long 0x08 05. "  ,PLB Performance Monitor Interrupt" "-,Enabled"
bitfld.long 0x0c 05. "   ,PLB Performance Monitor Interrupt" "-,Critical"
bitfld.long 0x10 05. "  ,PLB Performance Monitor Interrupt" "Negative,Positive"
bitfld.long 0x14 05. "  ,PLB Performance Monitor Interrupt" "Level,Edge"
bitfld.long 0x18 05. "     ,PLB Performance Monitor Interrupt" "-,Occurred"
textline "   EPP       "
eventfld.long 0x00 04. " ,EXT_PCI_PERR (parity) Interrupt" "-,Occurred"
bitfld.long 0x08 04. "  ,EXT_PCI_PERR (parity) Interrupt" "-,Enabled"
bitfld.long 0x0c 04. "   ,EXT_PCI_PERR (parity) Interrupt" "-,Critical"
bitfld.long 0x10 04. "  ,EXT_PCI_PERR (parity) Interrupt" "Negative,Positive"
bitfld.long 0x14 04. "  ,EXT_PCI_PERR (parity) Interrupt" "Level,Edge"
bitfld.long 0x18 04. "     ,EXT_PCI_PERR (parity) Interrupt" "-,Occurred"
textline "   ETH0      "
eventfld.long 0x00 03. " ,Ethernet 0 Interrupt" "-,Occurred"
bitfld.long 0x08 03. "  ,Ethernet 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 03. "   ,Ethernet 0 Interrupt" "-,Critical"
bitfld.long 0x10 03. "  ,Ethernet 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 03. "  ,Ethernet 0 Interrupt" "Level,Edge"
bitfld.long 0x18 03. "     ,Ethernet 0 Interrupt" "-,Occurred"
textline "   EWU0      "
eventfld.long 0x00 02. " ,Ethernet 0 Wake-up Interrupt" "-,Occurred"
bitfld.long 0x08 02. "  ,Ethernet 0 Wake-up Interrupt" "-,Enabled"
bitfld.long 0x0c 02. "   ,Ethernet 0 Wake-up Interrupt" "-,Critical"
bitfld.long 0x10 02. "  ,Ethernet 0 Wake-up Interrupt" "Negative,Positive"
bitfld.long 0x14 02. "  ,Ethernet 0 Wake-up Interrupt" "Level,Edge"
bitfld.long 0x18 02. "     ,Ethernet 0 Wake-up Interrupt" "-,Occurred"
textline "   ETH1      "
eventfld.long 0x00 01. " ,Ethernet 1 Interrupt" "-,Occurred"
bitfld.long 0x08 01. "  ,Ethernet 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 01. "   ,Ethernet 1 Interrupt" "-,Critical"
bitfld.long 0x10 01. "  ,Ethernet 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 01. "  ,Ethernet 1 Interrupt" "Level,Edge"
bitfld.long 0x18 01. "     ,Ethernet 1 Interrupt" "-,Occurred"
textline "   EWU1      "
eventfld.long 0x00 00. " ,Ethernet 1 Wake-up Interrupt" "-,Occurred"
bitfld.long 0x08 00. "  ,Ethernet 1 Wake-up Interrupt" "-,Enabled"
bitfld.long 0x0c 00. "   ,Ethernet 1 Wake-up Interrupt" "-,Critical"
bitfld.long 0x10 00. "  ,Ethernet 1 Wake-up Interrupt" "Negative,Positive"
bitfld.long 0x14 00. "  ,Ethernet 1 Wake-up Interrupt" "Level,Edge"
bitfld.long 0x18 00. "     ,Ethernet 1 Wake-up Interrupt" "-,Occurred"
textline "         "
wgroup.long dcr:0x0D8--0x0D8
line.long 0x00 "UIC1_VCR,UIC Vector Configuration Register 1"
hexmask.long 0x00 2.--31. 1. " VBA ,Vector Base Address"
bitfld.long 0x00 0. "  PRO ,Priority Ordering" "31 --> 0,0 --> 31"
rgroup.long dcr:0x0D7--0x0D7
line.long 0x00 "UIC1_VR,UIC Vector Register 1"
hexmask.long 0x00 0.--31. 1. " VR  ,Interrupt Vector"  
tree.end
width 0x0B
elif (cpu()=="PPC440SP")
;Universal Interrupt Controller
width 9.
tree "UIC0"
group.long dcr:0x0C0--0x0C6
textline "              UIC0_SR   UIC0_ER   UIC0_CR   UIC0_PR   UIC0_TR   UIC0_MSR"
textline "         "
hexmask.long 0x00 00.--31. 1. "     ,UIC0 Status Register"
hexmask.long 0x08 00.--31. 1. "  ,UIC0 Enable Register"
hexmask.long 0x0c 00.--31. 1. "  ,UIC0 Critical Register"
hexmask.long 0x10 00.--31. 1. "  ,UIC0 Polarity Register"
hexmask.long 0x14 00.--31. 1. "  ,UIC0 Trigger Register"
hexmask.long 0x18 00.--31. 1. "  ,UIC0 Masked Status Register"
textline "   U0        "
eventfld.long 0x00 31. " ,UART0 Interrupt" "-,Occurred"
bitfld.long 0x08 31. "  ,UART0 Interrupt" "-,Enabled"
bitfld.long 0x0c 31. "   ,UART0 Interrupt" "-,Critical"
bitfld.long 0x10 31. "  ,UART0 Interrupt" "Negative,Positive"
bitfld.long 0x14 31. "  ,UART0 Interrupt" "Level,Edge"
bitfld.long 0x18 31. "     ,UART0 Interrupt" "-,Occurred"
textline "   U1        "
eventfld.long 0x00 30. " ,UART1 Interrupt" "-,Occurred"
bitfld.long 0x08 30. "  ,UART1 Interrupt" "-,Enabled"
bitfld.long 0x0c 30. "   ,UART1 Interrupt" "-,Critical"
bitfld.long 0x10 30. "  ,UART1 Interrupt" "Negative,Positive"
bitfld.long 0x14 30. "  ,UART1 Interrupt" "Level,Edge"
bitfld.long 0x18 30. "     ,UART1 Interrupt" "-,Occurred"
textline "   IIC0      "
eventfld.long 0x00 29. " ,IIC0 Interrupt" "-,Occurred"
bitfld.long 0x08 29. "  ,IIC0 Interrupt" "-,Enabled"
bitfld.long 0x0c 29. "   ,IIC0 Interrupt" "-,Critical"
bitfld.long 0x10 29. "  ,IIC0 Interrupt" "Negative,Positive"
bitfld.long 0x14 29. "  ,IIC0 Interrupt" "Level,Edge"
bitfld.long 0x18 29. "     ,IIC0 Interrupt" "-,Occurred"
textline "   IIC1      "
eventfld.long 0x00 28. " ,IIC1 Interrupt" "-,Occurred"
bitfld.long 0x08 28. "  ,IIC1 Interrupt" "-,Enabled"
bitfld.long 0x0c 28. "   ,IIC1 Interrupt" "-,Critical"
bitfld.long 0x10 28. "  ,IIC1 Interrupt" "Negative,Positive"
bitfld.long 0x14 28. "  ,IIC1 Interrupt" "Level,Edge"
bitfld.long 0x18 28. "     ,IIC1 Interrupt" "-,Occurred"
textline "   P0IM      "
eventfld.long 0x00 27. " ,PCI0 Inbound Message Interrupt" "-,Occurred"
bitfld.long 0x08 27. "  ,PCI0 Inbound Message Interrupt" "-,Enabled"
bitfld.long 0x0c 27. "   ,PCI0 Inbound Message Interrupt" "-,Critical"
bitfld.long 0x10 27. "  ,PCI0 Inbound Message Interrupt" "Negative,Positive"
bitfld.long 0x14 27. "  ,PCI0 Inbound Message Interrupt" "Level,Edge"
bitfld.long 0x18 27. "     ,PCI0 Inbound Message Interrupt" "-,Occurred"
textline "   P0CRW     "
eventfld.long 0x00 26. " ,PCI0 Command Register Write Interrupt" "-,Occurred"
bitfld.long 0x08 26. "  ,PCI0 Command Register Write Interrupt" "-,Enabled"
bitfld.long 0x0c 26. "   ,PCI0 Command Register Write Interrupt" "-,Critical"
bitfld.long 0x10 26. "  ,PCI0 Command Register Write Interrupt" "Negative,Positive"
bitfld.long 0x14 26. "  ,PCI0 Command Register Write Interrupt" "Level,Edge"
bitfld.long 0x18 26. "     ,PCI0 Command Register Write Interrupt" "-,Occurred"
textline "   P0PM      "
eventfld.long 0x00 25. " ,PCI0 Power Management Interrupt" "-,Occurred"
bitfld.long 0x08 25. "  ,PCI0 Power Management Interrupt" "-,Enabled"
bitfld.long 0x0c 25. "   ,PCI0 Power Management Interrupt" "-,Critical"
bitfld.long 0x10 25. "  ,PCI0 Power Management Interrupt" "Negative,Positive"
bitfld.long 0x14 25. "  ,PCI0 Power Management Interrupt" "Level,Edge"
bitfld.long 0x18 25. "     ,PCI0 Power Management Interrupt" "-,Occurred"
textline "   P0VPD     "
eventfld.long 0x00 24. " ,PCI0 VPD Access Interrupt" "-,Occurred"
bitfld.long 0x08 24. "  ,PCI0 VPD Access Interrupt" "-,Enabled"
bitfld.long 0x0c 24. "   ,PCI0 VPD Access Interrupt" "-,Critical"
bitfld.long 0x10 24. "  ,PCI0 VPD Access Interrupt" "Negative,Positive"
bitfld.long 0x14 24. "  ,PCI0 VPD Access Interrupt" "Level,Edge"
bitfld.long 0x18 24. "     ,PCI0 VPD Access Interrupt" "-,Occurred"
textline "   P0MSI0    "
eventfld.long 0x00 23. " ,PCI0 MSI Level 0 Interrupt" "-,Occurred"
bitfld.long 0x08 23. "  ,PCI0 MSI Level 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 23. "   ,PCI0 MSI Level 0 Interrupt" "-,Critical"
bitfld.long 0x10 23. "  ,PCI0 MSI Level 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 23. "  ,PCI0 MSI Level 0 Interrupt" "Level,Edge"
bitfld.long 0x18 23. "     ,PCI0 MSI Level 0 Interrupt" "-,Occurred"
textline "   P1IM      "
eventfld.long 0x00 22. " ,PCI1 Inbound Message Interrupt" "-,Occurred"
bitfld.long 0x08 22. "  ,PCI1 Inbound Message Interrupt" "-,Enabled"
bitfld.long 0x0c 22. "   ,PCI1 Inbound Message Interrupt" "-,Critical"
bitfld.long 0x10 22. "  ,PCI1 Inbound Message Interrupt" "Negative,Positive"
bitfld.long 0x14 22. "  ,PCI1 Inbound Message Interrupt" "Level,Edge"
bitfld.long 0x18 22. "     ,PCI1 Inbound Message Interrupt" "-,Occurred"
textline "   P1CRW     "
eventfld.long 0x00 21. " ,PCI1 Command Register Write Interrupt" "-,Occurred"
bitfld.long 0x08 21. "  ,PCI1 Command Register Write Interrupt" "-,Enabled"
bitfld.long 0x0c 21. "   ,PCI1 Command Register Write Interrupt" "-,Critical"
bitfld.long 0x10 21. "  ,PCI1 Command Register Write Interrupt" "Negative,Positive"
bitfld.long 0x14 21. "  ,PCI1 Command Register Write Interrupt" "Level,Edge"
bitfld.long 0x18 21. "     ,PCI1 Command Register Write Interrupt" "-,Occurred"
textline "   P1PM      "
eventfld.long 0x00 20. " ,PCI1 Power Management Interrupt" "-,Occurred"
bitfld.long 0x08 20. "  ,PCI1 Power Management Interrupt" "-,Enabled"
bitfld.long 0x0c 20. "   ,PCI1 Power Management Interrupt" "-,Critical"
bitfld.long 0x10 20. "  ,PCI1 Power Management Interrupt" "Negative,Positive"
bitfld.long 0x14 20. "  ,PCI1 Power Management Interrupt" "Level,Edge"
bitfld.long 0x18 20. "     ,PCI1 Power Management Interrupt" "-,Occurred"
textline "   P0VPD     "
eventfld.long 0x00 19. " ,PCI0 VPD Access Interrupt" "-,Occurred"
bitfld.long 0x08 19. "  ,PCI0 VPD Access Interrupt" "-,Enabled"
bitfld.long 0x0c 19. "   ,PCI0 VPD Access Interrupt" "-,Critical"
bitfld.long 0x10 19. "  ,PCI0 VPD Access Interrupt" "Negative,Positive"
bitfld.long 0x14 19. "  ,PCI0 VPD Access Interrupt" "Level,Edge"
bitfld.long 0x18 19. "     ,PCI0 VPD Access Interrupt" "-,Occurred"
textline "   P0MSI0    "
eventfld.long 0x00 18. " ,PCI0 MSI Level 0 Interrupt" "-,Occurred"
bitfld.long 0x08 18. "  ,PCI0 MSI Level 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 18. "   ,PCI0 MSI Level 0 Interrupt" "-,Critical"
bitfld.long 0x10 18. "  ,PCI0 MSI Level 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 18. "  ,PCI0 MSI Level 0 Interrupt" "Level,Edge"
bitfld.long 0x18 18. "     ,PCI0 MSI Level 0 Interrupt" "-,Occurred"
textline "   P2IM      "
eventfld.long 0x00 17. " ,PCI2 Inbound Message Interrupt" "-,Occurred"
bitfld.long 0x08 17. "  ,PCI2 Inbound Message Interrupt" "-,Enabled"
bitfld.long 0x0c 17. "   ,PCI2 Inbound Message Interrupt" "-,Critical"
bitfld.long 0x10 17. "  ,PCI2 Inbound Message Interrupt" "Negative,Positive"
bitfld.long 0x14 17. "  ,PCI2 Inbound Message Interrupt" "Level,Edge"
bitfld.long 0x18 17. "     ,PCI2 Inbound Message Interrupt" "-,Occurred"
textline "   P2CRW     "
eventfld.long 0x00 16. " ,PCI2 Command Register Write Interrupt" "-,Occurred"
bitfld.long 0x08 16. "  ,PCI2 Command Register Write Interrupt" "-,Enabled"
bitfld.long 0x0c 16. "   ,PCI2 Command Register Write Interrupt" "-,Critical"
bitfld.long 0x10 16. "  ,PCI2 Command Register Write Interrupt" "Negative,Positive"
bitfld.long 0x14 16. "  ,PCI2 Command Register Write Interrupt" "Level,Edge"
bitfld.long 0x18 16. "     ,PCI2 Command Register Write Interrupt" "-,Occurred"
textline "   P2PM      "
eventfld.long 0x00 15. " ,PCI2 Power Management Interrupt" "-,Occurred"
bitfld.long 0x08 15. "  ,PCI2 Power Management Interrupt" "-,Enabled"
bitfld.long 0x0c 15. "   ,PCI2 Power Management Interrupt" "-,Critical"
bitfld.long 0x10 15. "  ,PCI2 Power Management Interrupt" "Negative,Positive"
bitfld.long 0x14 15. "  ,PCI2 Power Management Interrupt" "Level,Edge"
bitfld.long 0x18 15. "     ,PCI2 Power Management Interrupt" "-,Occurred"
textline "   P2VPD     "
eventfld.long 0x00 14. " ,PCI2 VPD Access Interrupt" "-,Occurred"
bitfld.long 0x08 14. "  ,PCI2 VPD Access Interrupt" "-,Enabled"
bitfld.long 0x0c 14. "   ,PCI2 VPD Access Interrupt" "-,Critical"
bitfld.long 0x10 14. "  ,PCI2 VPD Access Interrupt" "Negative,Positive"
bitfld.long 0x14 14. "  ,PCI2 VPD Access Interrupt" "Level,Edge"
bitfld.long 0x18 14. "     ,PCI2 VPD Access Interrupt" "-,Occurred"
textline "   P2MSI0    "
eventfld.long 0x00 13. " ,PCI2 MSI Level 0 Interrupt" "-,Occurred"
bitfld.long 0x08 13. "  ,PCI2 MSI Level 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 13. "   ,PCI2 MSI Level 0 Interrupt" "-,Critical"
bitfld.long 0x10 13. "  ,PCI2 MSI Level 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 13. "  ,PCI2 MSI Level 0 Interrupt" "Level,Edge"
bitfld.long 0x18 13. "     ,PCI2 MSI Level 0 Interrupt" "-,Occurred"
textline "   D0CPF     "
eventfld.long 0x00 12. " ,DMA0 Command Pointer FIFO Interrupt" "-,Occurred"
bitfld.long 0x08 12. "  ,DMA0 Command Pointer FIFO Interrupt" "-,Enabled"
bitfld.long 0x0c 12. "   ,DMA0 Command Pointer FIFO Interrupt" "-,Critical"
bitfld.long 0x10 12. "  ,DMA0 Command Pointer FIFO Interrupt" "Negative,Positive"
bitfld.long 0x14 12. "  ,DMA0 Command Pointer FIFO Interrupt" "Level,Edge"
bitfld.long 0x18 12. "     ,DMA0 Command Pointer FIFO Interrupt" "-,Occurred"
textline "   D0CSF     "
eventfld.long 0x00 11. " ,DMA0 Command Status FIFO Interrupt" "-,Occurred"
bitfld.long 0x08 11. "  ,DMA0 Command Status FIFO Interrupt" "-,Enabled"
bitfld.long 0x0c 11. "   ,DMA0 Command Status FIFO Interrupt" "-,Critical"
bitfld.long 0x10 11. "  ,DMA0 Command Status FIFO Interrupt" "Negative,Positive"
bitfld.long 0x14 11. "  ,DMA0 Command Status FIFO Interrupt" "Level,Edge"
bitfld.long 0x18 11. "     ,DMA0 Command Status FIFO Interrupt" "-,Occurred"
textline "   D1CPF     "
eventfld.long 0x00 10. " ,DMA1 Command Pointer FIFO Interrupt" "-,Occurred"
bitfld.long 0x08 10. "  ,DMA1 Command Pointer FIFO Interrupt" "-,Enabled"
bitfld.long 0x0c 10. "   ,DMA1 Command Pointer FIFO Interrupt" "-,Critical"
bitfld.long 0x10 10. "  ,DMA1 Command Pointer FIFO Interrupt" "Negative,Positive"
bitfld.long 0x14 10. "  ,DMA1 Command Pointer FIFO Interrupt" "Level,Edge"
bitfld.long 0x18 10. "     ,DMA1 Command Pointer FIFO Interrupt" "-,Occurred"
textline "   D1CSF     "
eventfld.long 0x00 09. " ,DMA1 Command Status FIFO Interrupt" "-,Occurred"
bitfld.long 0x08 09. "  ,DMA1 Command Status FIFO Interrupt" "-,Enabled"
bitfld.long 0x0c 09. "   ,DMA1 Command Status FIFO Interrupt" "-,Critical"
bitfld.long 0x10 09. "  ,DMA1 Command Status FIFO Interrupt" "Negative,Positive"
bitfld.long 0x14 09. "  ,DMA1 Command Status FIFO Interrupt" "Level,Edge"
bitfld.long 0x18 09. "     ,DMA1 Command Status FIFO Interrupt" "-,Occurred"
textline "   I2OID     "
eventfld.long 0x00 08. " ,I20 Inbound Doorbell Interrupt" "-,Occurred"
bitfld.long 0x08 08. "  ,I20 Inbound Doorbell Interrupt" "-,Enabled"
bitfld.long 0x0c 08. "   ,I20 Inbound Doorbell Interrupt" "-,Critical"
bitfld.long 0x10 08. "  ,I20 Inbound Doorbell Interrupt" "Negative,Positive"
bitfld.long 0x14 08. "  ,I20 Inbound Doorbell Interrupt" "Level,Edge"
bitfld.long 0x18 08. "     ,I20 Inbound Doorbell Interrupt" "-,Occurred"
textline "   I2OPLF    "
eventfld.long 0x00 07. " ,I2O Inbound Post List FIFO Interrupt" "-,Occurred"
bitfld.long 0x08 07. "  ,I2O Inbound Post List FIFO Interrupt" "-,Enabled"
bitfld.long 0x0c 07. "   ,I2O Inbound Post List FIFO Interrupt" "-,Critical"
bitfld.long 0x10 07. "  ,I2O Inbound Post List FIFO Interrupt" "Negative,Positive"
bitfld.long 0x14 07. "  ,I2O Inbound Post List FIFO Interrupt" "Level,Edge"
bitfld.long 0x18 07. "     ,I2O Inbound Post List FIFO Interrupt" "-,Occurred"
textline "   I2O0LL    "
eventfld.long 0x00 06. " ,I2O0 Low Latency PLB Write Interrupt" "-,Occurred"
bitfld.long 0x08 06. "  ,I2O0 Low Latency PLB Write Interrupt" "-,Enabled"
bitfld.long 0x0c 06. "   ,I2O0 Low Latency PLB Write Interrupt" "-,Critical"
bitfld.long 0x10 06. "  ,I2O0 Low Latency PLB Write Interrupt" "Negative,Positive"
bitfld.long 0x14 06. "  ,I2O0 Low Latency PLB Write Interrupt" "Level,Edge"
bitfld.long 0x18 06. "     ,I2O0 Low Latency PLB Write Interrupt" "-,Occurred"
textline "   I2O1LL    "
eventfld.long 0x00 05. " ,I2O1 Low Latency PLB Write Interrupt" "-,Occurred"
bitfld.long 0x08 05. "  ,I2O1 Low Latency PLB Write Interrupt" "-,Enabled"
bitfld.long 0x0c 05. "   ,I2O1 Low Latency PLB Write Interrupt" "-,Critical"
bitfld.long 0x10 05. "  ,I2O1 Low Latency PLB Write Interrupt" "Negative,Positive"
bitfld.long 0x14 05. "  ,I2O1 Low Latency PLB Write Interrupt" "Level,Edge"
bitfld.long 0x18 05. "     ,I2O1 Low Latency PLB Write Interrupt" "-,Occurred"
textline "   I2O0HB    "
eventfld.long 0x00 04. " ,I2O0 High Brandwidth PLB Write Interrupt" "-,Occurred"
bitfld.long 0x08 04. "  ,I2O0 High Brandwidth PLB Write Interrupt" "-,Enabled"
bitfld.long 0x0c 04. "   ,I2O0 High Brandwidth PLB Write Interrupt" "-,Critical"
bitfld.long 0x10 04. "  ,I2O0 High Brandwidth PLB Write Interrupt" "Negative,Positive"
bitfld.long 0x14 04. "  ,I2O0 High Brandwidth PLB Write Interrupt" "Level,Edge"
bitfld.long 0x18 04. "     ,I2O0 High Brandwidth PLB Write Interrupt" "-,Occurred"
textline "   I2O1HB    "
eventfld.long 0x00 03. " ,I2O1 High Brandwidth PLB Write Interrupt" "-,Occurred"
bitfld.long 0x08 03. "  ,I2O1 High Brandwidth PLB Write Interrupt" "-,Enabled"
bitfld.long 0x0c 03. "   ,I2O1 High Brandwidth PLB Write Interrupt" "-,Critical"
bitfld.long 0x10 03. "  ,I2O1 High Brandwidth PLB Write Interrupt" "Negative,Positive"
bitfld.long 0x14 03. "  ,I2O1 High Brandwidth PLB Write Interrupt" "Level,Edge"
bitfld.long 0x18 03. "     ,I2O1 High Brandwidth PLB Write Interrupt" "-,Occurred"
textline "   GPTCT     "
eventfld.long 0x00 02. " ,GPT Count Timer Interrupt" "-,Occurred"
bitfld.long 0x08 02. "  ,GPT Count Timer Interrupt" "-,Enabled"
bitfld.long 0x0c 02. "   ,GPT Count Timer Interrupt" "-,Critical"
bitfld.long 0x10 02. "  ,GPT Count Timer Interrupt" "Negative,Positive"
bitfld.long 0x14 02. "  ,GPT Count Timer Interrupt" "Level,Edge"
bitfld.long 0x18 02. "     ,GPT Count Timer Interrupt" "-,Occurred"
textline "   UIC1NC    "
eventfld.long 0x00 01. " ,UIC1 Non-Critical Interrupt" "-,Occurred"
bitfld.long 0x08 01. "  ,UIC1 Non-Critical Interrupt" "-,Enabled"
bitfld.long 0x0c 01. "   ,UIC1 Non-Critical Interrupt" "-,Critical"
bitfld.long 0x10 01. "  ,UIC1 Non-Critical Interrupt" "Negative,Positive"
bitfld.long 0x14 01. "  ,UIC1 Non-Critical Interrupt" "Level,Edge"
bitfld.long 0x18 01. "     ,UIC1 Non-Critical Interrupt" "-,Occurred"
textline "   UIC1C     "
eventfld.long 0x00 00. " ,UIC1 Critical Interrupt" "-,Occurred"
bitfld.long 0x08 00. "  ,UIC1 Critical Interrupt" "-,Enabled"
bitfld.long 0x0c 00. "   ,UIC1 Critical Interrupt" "-,Critical"
bitfld.long 0x10 00. "  ,UIC1 Critical Interrupt" "Negative,Positive"
bitfld.long 0x14 00. "  ,UIC1 Critical Interrupt" "Level,Edge"
bitfld.long 0x18 00. "     ,UIC1 Critical Interrupt" "-,Occurred"
textline "         "
wgroup.long dcr:0x0C8--0x0C8
line.long 0x00 "UIC0_VCR,UIC Vector Configuration Register 0"
hexmask.long 0x00 2.--31. 1. " VBA    ,Vector Base Address"
bitfld.long 0x00 0. "      PRO    ,Priority Ordering" "31 --> 0,0 --> 31"
rgroup.long dcr:0x0C7--0x0C7
line.long 0x00 "UIC0_VR,UIC Vector Register 0"
hexmask.long 0x00 0.--31. 1. " VR     ,Interrupt Vector"  
tree.end
tree "UIC1"
group.long dcr:0x0D0--0x0D6
textline "              UIC1_SR   UIC1_ER   UIC1_CR   UIC1_PR   UIC1_TR   UIC1_MSR"
textline "         "
hexmask.long 0x00 00.--31. 1. "     ,UIC1 Status Register"
hexmask.long 0x08 00.--31. 1. "  ,UIC1 Enable Register"
hexmask.long 0x0c 00.--31. 1. "  ,UIC1 Critical Register"
hexmask.long 0x10 00.--31. 1. "  ,UIC1 Polarity Register"
hexmask.long 0x14 00.--31. 1. "  ,UIC1 Trigger Register"
hexmask.long 0x18 00.--31. 1. "  ,UIC1 Masked Status Register"
textline "   EIR0      "
eventfld.long 0x00 31. " ,External IRQ 0 Interrupt" "-,Occurred"
bitfld.long 0x08 31. "  ,External IRQ 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 31. "   ,External IRQ 0 Interrupt" "-,Critical"
bitfld.long 0x10 31. "  ,External IRQ 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 31. "  ,External IRQ 0 Interrupt" "Level,Edge"
bitfld.long 0x18 31. "     ,External IRQ 0 Interrupt" "-,Occurred"
textline "   MS        "
eventfld.long 0x00 30. " ,MAL SERR Interrupt" "-,Occurred"
bitfld.long 0x08 30. "  ,MAL SERR Interrupt" "-,Enabled"
bitfld.long 0x0c 30. "   ,MAL SERR Interrupt" "-,Critical"
bitfld.long 0x10 30. "  ,MAL SERR Interrupt" "Negative,Positive"
bitfld.long 0x14 30. "  ,MAL SERR Interrupt" "Level,Edge"
bitfld.long 0x18 30. "     ,MAL SERR Interrupt" "-,Occurred"
textline "   MTxDE     "
eventfld.long 0x00 29. " ,MAL TXDE Interrupt" "-,Occurred"
bitfld.long 0x08 29. "  ,MAL TXDE Interrupt" "-,Enabled"
bitfld.long 0x0c 29. "   ,MAL TXDE Interrupt" "-,Critical"
bitfld.long 0x10 29. "  ,MAL TXDE Interrupt" "Negative,Positive"
bitfld.long 0x14 29. "  ,MAL TXDE Interrupt" "Level,Edge"
bitfld.long 0x18 29. "     ,MAL TXDE Interrupt" "-,Occurred"
textline "   MRxDE     "
eventfld.long 0x00 28. " ,MAL RXDE Interrupt" "-,Occurred"
bitfld.long 0x08 28. "  ,MAL RXDE Interrupt" "-,Enabled"
bitfld.long 0x0c 28. "   ,MAL RXDE Interrupt" "-,Critical"
bitfld.long 0x10 28. "  ,MAL RXDE Interrupt" "Negative,Positive"
bitfld.long 0x14 28. "  ,MAL RXDE Interrupt" "Level,Edge"
bitfld.long 0x18 28. "     ,MAL RXDE Interrupt" "-,Occurred"
textline "   DECE      "
eventfld.long 0x00 27. " ,DDRSDRAM ECC Correctable Error Interrupt" "-,Occurred"
bitfld.long 0x08 27. "  ,DDRSDRAM ECC Correctable Error Interrupt" "-,Enabled"
bitfld.long 0x0c 27. "   ,DDRSDRAM ECC Correctable Error Interrupt" "-,Critical"
bitfld.long 0x10 27. "  ,DDRSDRAM ECC Correctable Error Interrupt" "Negative,Positive"
bitfld.long 0x14 27. "  ,DDRSDRAM ECC Correctable Error Interrupt" "Level,Edge"
bitfld.long 0x18 27. "     ,DDRSDRAM ECC Correctable Error Interrupt" "-,Occurred"
textline "   EBC       "
eventfld.long 0x00 26. " ,EBC or UART Interrupt" "-,Occurred"
bitfld.long 0x08 26. "  ,EBC or UART Interrupt" "-,Enabled"
bitfld.long 0x0c 26. "   ,EBC or UART Interrupt" "-,Critical"
bitfld.long 0x10 26. "  ,EBC or UART Interrupt" "Negative,Positive"
bitfld.long 0x14 26. "  ,EBC or UART Interrupt" "Level,Edge"
bitfld.long 0x18 26. "     ,EBC or UART Interrupt" "-,Occurred"
textline "   MTxE      "
eventfld.long 0x00 25. " ,MAL TX EOB Interrupt" "-,Occurred"
bitfld.long 0x08 25. "  ,MAL TX EOB Interrupt" "-,Enabled"
bitfld.long 0x0c 25. "   ,MAL TX EOB Interrupt" "-,Critical"
bitfld.long 0x10 25. "  ,MAL TX EOB Interrupt" "Negative,Positive"
bitfld.long 0x14 25. "  ,MAL TX EOB Interrupt" "Level,Edge"
bitfld.long 0x18 25. "     ,MAL TX EOB Interrupt" "-,Occurred"
textline "   MRxE      "
eventfld.long 0x00 24. " ,MAL RX EOB Interrupt" "-,Occurred"
bitfld.long 0x08 24. "  ,MAL RX EOB Interrupt" "-,Enabled"
bitfld.long 0x0c 24. "   ,MAL RX EOB Interrupt" "-,Critical"
bitfld.long 0x10 24. "  ,MAL RX EOB Interrupt" "Negative,Positive"
bitfld.long 0x14 24. "  ,MAL RX EOB Interrupt" "Level,Edge"
bitfld.long 0x18 24. "     ,MAL RX EOB Interrupt" "-,Occurred"
textline "   P0MSI1    "
eventfld.long 0x00 23. " ,PCI0 MSI Level 1 Interrupt" "-,Occurred"
bitfld.long 0x08 23. "  ,PCI0 MSI Level 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 23. "   ,PCI0 MSI Level 1 Interrupt" "-,Critical"
bitfld.long 0x10 23. "  ,PCI0 MSI Level 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 23. "  ,PCI0 MSI Level 1 Interrupt" "Level,Edge"
bitfld.long 0x18 23. "     ,PCI0 MSI Level 1 Interrupt" "-,Occurred"
textline "   P1MSI1    "
eventfld.long 0x00 22. " ,PCI1 MSI Level 1 Interrupt" "-,Occurred"
bitfld.long 0x08 22. "  ,PCI1 MSI Level 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 22. "   ,PCI1 MSI Level 1 Interrupt" "-,Critical"
bitfld.long 0x10 22. "  ,PCI1 MSI Level 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 22. "  ,PCI1 MSI Level 1 Interrupt" "Level,Edge"
bitfld.long 0x18 22. "     ,PCI1 MSI Level 1 Interrupt" "-,Occurred"
textline "   P2MSI1    "
eventfld.long 0x00 21. " ,PCI2 MSI Level 1 Interrupt" "-,Occurred"
bitfld.long 0x08 21. "  ,PCI2 MSI Level 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 21. "   ,PCI2 MSI Level 1 Interrupt" "-,Critical"
bitfld.long 0x10 21. "  ,PCI2 MSI Level 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 21. "  ,PCI2 MSI Level 1 Interrupt" "Level,Edge"
bitfld.long 0x18 21. "     ,PCI2 MSI Level 1 Interrupt" "-,Occurred"
textline "   L2C       "
eventfld.long 0x00 20. " ,L2 Cache Interrupt" "-,Occurred"
bitfld.long 0x08 20. "  ,L2 Cache Interrupt" "-,Enabled"
bitfld.long 0x0c 20. "   ,L2 Cache Interrupt" "-,Critical"
bitfld.long 0x10 20. "  ,L2 Cache Interrupt" "Negative,Positive"
bitfld.long 0x14 20. "  ,L2 Cache Interrupt" "Level,Edge"
bitfld.long 0x18 20. "     ,L2 Cache Interrupt" "-,Occurred"
textline "   CT0       "
eventfld.long 0x00 19. " ,GPT Compare Timer 0 Interrupt" "-,Occurred"
bitfld.long 0x08 19. "  ,GPT Compare Timer 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 19. "   ,GPT Compare Timer 0 Interrupt" "-,Critical"
bitfld.long 0x10 19. "  ,GPT Compare Timer 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 19. "  ,GPT Compare Timer 0 Interrupt" "Level,Edge"
bitfld.long 0x18 19. "     ,GPT Compare Timer 0 Interrupt" "-,Occurred"
textline "   CT1       "
eventfld.long 0x00 18. " ,GPT Compare Timer 1 Interrupt" "-,Occurred"
bitfld.long 0x08 18. "  ,GPT Compare Timer 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 18. "   ,GPT Compare Timer 1 Interrupt" "-,Critical"
bitfld.long 0x10 18. "  ,GPT Compare Timer 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 18. "  ,GPT Compare Timer 1 Interrupt" "Level,Edge"
bitfld.long 0x18 18. "     ,GPT Compare Timer 1 Interrupt" "-,Occurred"
textline "   CT2       "
eventfld.long 0x00 17. " ,GPT Compare Timer 2 Interrupt" "-,Occurred"
bitfld.long 0x08 17. "  ,GPT Compare Timer 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 17. "   ,GPT Compare Timer 2 Interrupt" "-,Critical"
bitfld.long 0x10 17. "  ,GPT Compare Timer 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 17. "  ,GPT Compare Timer 2 Interrupt" "Level,Edge"
bitfld.long 0x18 17. "     ,GPT Compare Timer 2 Interrupt" "-,Occurred"
textline "   CT3       "
eventfld.long 0x00 16. " ,GPT Compare Timer 3 Interrupt" "-,Occurred"
bitfld.long 0x08 16. "  ,GPT Compare Timer 3 Interrupt" "-,Enabled"
bitfld.long 0x0c 16. "   ,GPT Compare Timer 3 Interrupt" "-,Critical"
bitfld.long 0x10 16. "  ,GPT Compare Timer 3 Interrupt" "Negative,Positive"
bitfld.long 0x14 16. "  ,GPT Compare Timer 3 Interrupt" "Level,Edge"
bitfld.long 0x18 16. "     ,GPT Compare Timer 3 Interrupt" "-,Occurred"
textline "   CT4       "
eventfld.long 0x00 15. " ,GPT Compare Timer 4 Interrupt" "-,Occurred"
bitfld.long 0x08 15. "  ,GPT Compare Timer 4 Interrupt" "-,Enabled"
bitfld.long 0x0c 15. "   ,GPT Compare Timer 4 Interrupt" "-,Critical"
bitfld.long 0x10 15. "  ,GPT Compare Timer 4 Interrupt" "Negative,Positive"
bitfld.long 0x14 15. "  ,GPT Compare Timer 4 Interrupt" "Level,Edge"
bitfld.long 0x18 15. "     ,GPT Compare Timer 4 Interrupt" "-,Occurred"
textline "   EIR1      "
eventfld.long 0x00 14. " ,External IRQ 1 Interrupt" "-,Occurred"
bitfld.long 0x08 14. "  ,External IRQ 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 14. "   ,External IRQ 1 Interrupt" "-,Critical"
bitfld.long 0x10 14. "  ,External IRQ 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 14. "  ,External IRQ 1 Interrupt" "Level,Edge"
bitfld.long 0x18 14. "     ,External IRQ 1 Interrupt" "-,Occurred"
textline "   EIR2      "
eventfld.long 0x00 13. " ,External IRQ 2 Interrupt" "-,Occurred"
bitfld.long 0x08 13. "  ,External IRQ 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 13. "   ,External IRQ 2 Interrupt" "-,Critical"
bitfld.long 0x10 13. "  ,External IRQ 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 13. "  ,External IRQ 2 Interrupt" "Level,Edge"
bitfld.long 0x18 13. "     ,External IRQ 2 Interrupt" "-,Occurred"
textline "   EIR3      "
eventfld.long 0x00 12. " ,External IRQ 3 Interrupt" "-,Occurred"
bitfld.long 0x08 12. "  ,External IRQ 3 Interrupt" "-,Enabled"
bitfld.long 0x0c 12. "   ,External IRQ 3 Interrupt" "-,Critical"
bitfld.long 0x10 12. "  ,External IRQ 3 Interrupt" "Negative,Positive"
bitfld.long 0x14 12. "  ,External IRQ 3 Interrupt" "Level,Edge"
bitfld.long 0x18 12. "     ,External IRQ 3 Interrupt" "-,Occurred"
textline "   EIR4      "
eventfld.long 0x00 11. " ,External IRQ 4 Interrupt" "-,Occurred"
bitfld.long 0x08 11. "  ,External IRQ 4 Interrupt" "-,Enabled"
bitfld.long 0x0c 11. "   ,External IRQ 4 Interrupt" "-,Critical"
bitfld.long 0x10 11. "  ,External IRQ 4 Interrupt" "Negative,Positive"
bitfld.long 0x14 11. "  ,External IRQ 4 Interrupt" "Level,Edge"
bitfld.long 0x18 11. "     ,External IRQ 4 Interrupt" "-,Occurred"
textline "   EIR5      "
eventfld.long 0x00 10. " ,External IRQ 5 Interrupt" "-,Occurred"
bitfld.long 0x08 10. "  ,External IRQ 5 Interrupt" "-,Enabled"
bitfld.long 0x0c 10. "   ,External IRQ 5 Interrupt" "-,Critical"
bitfld.long 0x10 10. "  ,External IRQ 5 Interrupt" "Negative,Positive"
bitfld.long 0x14 10. "  ,External IRQ 5 Interrupt" "Level,Edge"
bitfld.long 0x18 10. "     ,External IRQ 5 Interrupt" "-,Occurred"
textline "   DMAE      "
eventfld.long 0x00 09. " ,DMA Error Interrupt" "-,Occurred"
bitfld.long 0x08 09. "  ,DMA Error Interrupt" "-,Enabled"
bitfld.long 0x0c 09. "   ,DMA Error Interrupt" "-,Critical"
bitfld.long 0x10 09. "  ,DMA Error Interrupt" "Negative,Positive"
bitfld.long 0x14 09. "  ,DMA Error Interrupt" "Level,Edge"
bitfld.long 0x18 09. "     ,DMA Error Interrupt" "-,Occurred"
textline "   I2OE      "
eventfld.long 0x00 08. " ,I20 Error Interrupt" "-,Occurred"
bitfld.long 0x08 08. "  ,I20 Error Interrupt" "-,Enabled"
bitfld.long 0x0c 08. "   ,I20 Error Interrupt" "-,Critical"
bitfld.long 0x10 08. "  ,I20 Error Interrupt" "Negative,Positive"
bitfld.long 0x14 08. "  ,I20 Error Interrupt" "Level,Edge"
bitfld.long 0x18 08. "     ,I20 Error Interrupt" "-,Occurred"
textline "   SRE       "
eventfld.long 0x00 07. " ,Serial ROM Error Interrupt" "-,Occurred"
bitfld.long 0x08 07. "  ,Serial ROM Error Interrupt" "-,Enabled"
bitfld.long 0x0c 07. "   ,Serial ROM Error Interrupt" "-,Critical"
bitfld.long 0x10 07. "  ,Serial ROM Error Interrupt" "Negative,Positive"
bitfld.long 0x14 07. "  ,Serial ROM Error Interrupt" "Level,Edge"
bitfld.long 0x18 07. "     ,Serial ROM Error Interrupt" "-,Occurred"
textline "   P0AE      "
eventfld.long 0x00 06. " ,PCI0 Asynchronous Error Interrupt" "-,Occurred"
bitfld.long 0x08 06. "  ,PCI0 Asynchronous Error Interrupt" "-,Enabled"
bitfld.long 0x0c 06. "   ,PCI0 Asynchronous Error Interrupt" "-,Critical"
bitfld.long 0x10 06. "  ,PCI0 Asynchronous Error Interrupt" "Negative,Positive"
bitfld.long 0x14 06. "  ,PCI0 Asynchronous Error Interrupt" "Level,Edge"
bitfld.long 0x18 06. "     ,PCI0 Asynchronous Error Interrupt" "-,Occurred"
textline "   P1AE      "
eventfld.long 0x00 05. " ,PCI1 Asynchronous Error Interrupt" "-,Occurred"
bitfld.long 0x08 05. "  ,PCI1 Asynchronous Error Interrupt" "-,Enabled"
bitfld.long 0x0c 05. "   ,PCI1 Asynchronous Error Interrupt" "-,Critical"
bitfld.long 0x10 05. "  ,PCI1 Asynchronous Error Interrupt" "Negative,Positive"
bitfld.long 0x14 05. "  ,PCI1 Asynchronous Error Interrupt" "Level,Edge"
bitfld.long 0x18 05. "     ,PCI1 Asynchronous Error Interrupt" "-,Occurred"
textline "   P2AE      "
eventfld.long 0x00 04. " ,PCI2 Asynchronous Error Interrupt" "-,Occurred"
bitfld.long 0x08 04. "  ,PCI2 Asynchronous Error Interrupt" "-,Enabled"
bitfld.long 0x0c 04. "   ,PCI2 Asynchronous Error Interrupt" "-,Critical"
bitfld.long 0x10 04. "  ,PCI2 Asynchronous Error Interrupt" "Negative,Positive"
bitfld.long 0x14 04. "  ,PCI2 Asynchronous Error Interrupt" "Level,Edge"
bitfld.long 0x18 04. "     ,PCI2 Asynchronous Error Interrupt" "-,Occurred"
textline "   ETH       "
eventfld.long 0x00 03. " ,Ethernet Interrupt" "-,Occurred"
bitfld.long 0x08 03. "  ,Ethernet Interrupt" "-,Enabled"
bitfld.long 0x0c 03. "   ,Ethernet Interrupt" "-,Critical"
bitfld.long 0x10 03. "  ,Ethernet Interrupt" "Negative,Positive"
bitfld.long 0x14 03. "  ,Ethernet Interrupt" "Level,Edge"
bitfld.long 0x18 03. "     ,Ethernet Interrupt" "-,Occurred"
textline "   EWU       "
eventfld.long 0x00 02. " ,Ethernet Wake-up Interrupt" "-,Occurred"
bitfld.long 0x08 02. "  ,Ethernet Wake-up Interrupt" "-,Enabled"
bitfld.long 0x0c 02. "   ,Ethernet Wake-up Interrupt" "-,Critical"
bitfld.long 0x10 02. "  ,Ethernet Wake-up Interrupt" "Negative,Positive"
bitfld.long 0x14 02. "  ,Ethernet Wake-up Interrupt" "Level,Edge"
bitfld.long 0x18 02. "     ,Ethernet Wake-up Interrupt" "-,Occurred"
textline "   XOR       "
eventfld.long 0x00 00. " ,XOR Interrupt" "-,Occurred"
bitfld.long 0x08 00. "  ,XOR Interrupt" "-,Enabled"
bitfld.long 0x0c 00. "   ,XOR Interrupt" "-,Critical"
bitfld.long 0x10 00. "  ,XOR Interrupt" "Negative,Positive"
bitfld.long 0x14 00. "  ,XOR Interrupt" "Level,Edge"
bitfld.long 0x18 00. "     ,XOR Interrupt" "-,Occurred"
textline "         "
wgroup.long dcr:0x0D8--0x0D8
line.long 0x00 "UIC1_VCR,UIC Vector Configuration Register 1"
hexmask.long 0x00 2.--31. 1. " VBA    ,Vector Base Address"
bitfld.long 0x00 0. "      PRO    ,Priority Ordering" "31 --> 0,0 --> 31"
rgroup.long dcr:0x0D7--0x0D7
line.long 0x00 "UIC1_VR,UIC Vector Register 1"
hexmask.long 0x00 0.--31. 1. " VR     ,Interrupt Vector"
tree.end
width 0x0B
elif (cpu()=="PPC440SPE")
;Universal Interrupt Controller
width 10.
tree "UIC0"
group.long dcr:0x0C0--0x0C6
textline "              UIC0_SR   UIC0_SSR   UIC0_ER   UIC0_CR   UIC0_PR   UIC0_TR   UIC0_MSR"
textline "         "
hexmask.long 0x00 00.--31. 1. "     ,UIC0 Status Register"
hexmask.long 0x04 00.--31. 1. "  ,UIC0 Status Set Register"
hexmask.long 0x08 00.--31. 1. "   ,UIC0 Enable Register"
hexmask.long 0x0c 00.--31. 1. "  ,UIC0 Critical Register"
hexmask.long 0x10 00.--31. 1. "  ,UIC0 Polarity Register"
hexmask.long 0x14 00.--31. 1. "  ,UIC0 Trigger Register"
hexmask.long 0x18 00.--31. 1. "  ,UIC0 Masked Status Register"
textline "   U0        "
eventfld.long 0x00 31. " ,UART0 Interrupt" "-,Occurred"
bitfld.long 0x04 31. "  ,UART0 Interrupt" "-,Set"
bitfld.long 0x08 31. "        ,UART0 Interrupt" "-,Enabled"
bitfld.long 0x0c 31. "   ,UART0 Interrupt" "-,Critical"
bitfld.long 0x10 31. "  ,UART0 Interrupt" "Negative,Positive"
bitfld.long 0x14 31. "  ,UART0 Interrupt" "Level,Edge"
bitfld.long 0x18 31. "     ,UART0 Interrupt" "-,Occurred"
textline "   U1        "
eventfld.long 0x00 30. " ,UART1 Interrupt" "-,Occurred"
bitfld.long 0x04 30. "  ,UART1 Interrupt" "-,Set"
bitfld.long 0x08 30. "        ,UART1 Interrupt" "-,Enabled"
bitfld.long 0x0c 30. "   ,UART1 Interrupt" "-,Critical"
bitfld.long 0x10 30. "  ,UART1 Interrupt" "Negative,Positive"
bitfld.long 0x14 30. "  ,UART1 Interrupt" "Level,Edge"
bitfld.long 0x18 30. "     ,UART1 Interrupt" "-,Occurred"
textline "   IIC0      "
eventfld.long 0x00 29. " ,IIC0 Interrupt" "-,Occurred"
bitfld.long 0x04 29. "  ,IIC0 Interrupt" "-,Set"
bitfld.long 0x08 29. "        ,IIC0 Interrupt" "-,Enabled"
bitfld.long 0x0c 29. "   ,IIC0 Interrupt" "-,Critical"
bitfld.long 0x10 29. "  ,IIC0 Interrupt" "Negative,Positive"
bitfld.long 0x14 29. "  ,IIC0 Interrupt" "Level,Edge"
bitfld.long 0x18 29. "     ,IIC0 Interrupt" "-,Occurred"
textline "   IIC1      "
eventfld.long 0x00 28. " ,IIC1 Interrupt" "-,Occurred"
bitfld.long 0x04 28. "  ,IIC1 Interrupt" "-,Set"
bitfld.long 0x08 28. "        ,IIC1 Interrupt" "-,Enabled"
bitfld.long 0x0c 28. "   ,IIC1 Interrupt" "-,Critical"
bitfld.long 0x10 28. "  ,IIC1 Interrupt" "Negative,Positive"
bitfld.long 0x14 28. "  ,IIC1 Interrupt" "Level,Edge"
bitfld.long 0x18 28. "     ,IIC1 Interrupt" "-,Occurred"
textline "   P0IM      "
eventfld.long 0x00 27. " ,PCI0 Inbound Message Interrupt" "-,Occurred"
bitfld.long 0x04 27. "  ,PCI0 Inbound Message Interrupt" "-,Set"
bitfld.long 0x08 27. "        ,PCI0 Inbound Message Interrupt" "-,Enabled"
bitfld.long 0x0c 27. "   ,PCI0 Inbound Message Interrupt" "-,Critical"
bitfld.long 0x10 27. "  ,PCI0 Inbound Message Interrupt" "Negative,Positive"
bitfld.long 0x14 27. "  ,PCI0 Inbound Message Interrupt" "Level,Edge"
bitfld.long 0x18 27. "     ,PCI0 Inbound Message Interrupt" "-,Occurred"
textline "   P0CRW     "
eventfld.long 0x00 26. " ,PCI0 Command Register Write Interrupt" "-,Occurred"
bitfld.long 0x04 26. "  ,PCI0 Command Register Write Interrupt" "-,Set"
bitfld.long 0x08 26. "        ,PCI0 Command Register Write Interrupt" "-,Enabled"
bitfld.long 0x0c 26. "   ,PCI0 Command Register Write Interrupt" "-,Critical"
bitfld.long 0x10 26. "  ,PCI0 Command Register Write Interrupt" "Negative,Positive"
bitfld.long 0x14 26. "  ,PCI0 Command Register Write Interrupt" "Level,Edge"
bitfld.long 0x18 26. "     ,PCI0 Command Register Write Interrupt" "-,Occurred"
textline "   P0PM      "
eventfld.long 0x00 25. " ,PCI0 Power Management Interrupt" "-,Occurred"
bitfld.long 0x04 25. "  ,PCI0 Power Management Interrupt" "-,Set"
bitfld.long 0x08 25. "        ,PCI0 Power Management Interrupt" "-,Enabled"
bitfld.long 0x0c 25. "   ,PCI0 Power Management Interrupt" "-,Critical"
bitfld.long 0x10 25. "  ,PCI0 Power Management Interrupt" "Negative,Positive"
bitfld.long 0x14 25. "  ,PCI0 Power Management Interrupt" "Level,Edge"
bitfld.long 0x18 25. "     ,PCI0 Power Management Interrupt" "-,Occurred"
textline "   P0VPD     "
eventfld.long 0x00 24. " ,PCI0 VPD Access Interrupt" "-,Occurred"
bitfld.long 0x04 24. "  ,PCI0 VPD Access Interrupt" "-,Set"
bitfld.long 0x08 24. "        ,PCI0 VPD Access Interrupt" "-,Enabled"
bitfld.long 0x0c 24. "   ,PCI0 VPD Access Interrupt" "-,Critical"
bitfld.long 0x10 24. "  ,PCI0 VPD Access Interrupt" "Negative,Positive"
bitfld.long 0x14 24. "  ,PCI0 VPD Access Interrupt" "Level,Edge"
bitfld.long 0x18 24. "     ,PCI0 VPD Access Interrupt" "-,Occurred"
textline "   P0MSI0    "
eventfld.long 0x00 23. " ,PCI0 MSI Level 0 Interrupt" "-,Occurred"
bitfld.long 0x04 23. "  ,PCI0 MSI Level 0 Interrupt" "-,Set"
bitfld.long 0x08 23. "        ,PCI0 MSI Level 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 23. "   ,PCI0 MSI Level 0 Interrupt" "-,Critical"
bitfld.long 0x10 23. "  ,PCI0 MSI Level 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 23. "  ,PCI0 MSI Level 0 Interrupt" "Level,Edge"
bitfld.long 0x18 23. "     ,PCI0 MSI Level 0 Interrupt" "-,Occurred"
textline "   EIR15     "
eventfld.long 0x00 22. " ,External IRQ 15 Interrupt" "-,Occurred"
bitfld.long 0x04 22. "  ,External IRQ 15 Interrupt" "-,Set"
bitfld.long 0x08 22. "        ,External IRQ 15 Interrupt" "-,Enabled"
bitfld.long 0x0c 22. "   ,External IRQ 15 Interrupt" "-,Critical"
bitfld.long 0x10 22. "  ,External IRQ 15 Interrupt" "Negative,Positive"
bitfld.long 0x14 22. "  ,External IRQ 15 Interrupt" "Level,Edge"
bitfld.long 0x18 22. "     ,External IRQ 15 Interrupt" "-,Occurred"
textline "   UIC2NC    "
eventfld.long 0x00 21. " ,UIC2 Non-Critical Interrupt" "-,Occurred"
bitfld.long 0x04 21. "  ,UIC2 Non-Critical Interrupt" "-,Set"
bitfld.long 0x08 21. "        ,UIC2 Non-Critical Interrupt" "-,Enabled"
bitfld.long 0x0c 21. "   ,UIC2 Non-Critical Interrupt" "-,Critical"
bitfld.long 0x10 21. "  ,UIC2 Non-Critical Interrupt" "Negative,Positive"
bitfld.long 0x14 21. "  ,UIC2 Non-Critical Interrupt" "Level,Edge"
bitfld.long 0x18 21. "     ,UIC2 Non-Critical Interrupt" "-,Occurred"
textline "   UIC2C     "
eventfld.long 0x00 20. " ,UIC2 Critical Interrupt" "-,Occurred"
bitfld.long 0x04 20. "  ,UIC2 Critical Interrupt" "-,Set"
bitfld.long 0x08 20. "        ,UIC2 Critical Interrupt" "-,Enabled"
bitfld.long 0x0c 20. "   ,UIC2 Critical Interrupt" "-,Critical"
bitfld.long 0x10 20. "  ,UIC2 Critical Interrupt" "Negative,Positive"
bitfld.long 0x14 20. "  ,UIC2 Critical Interrupt" "Level,Edge"
bitfld.long 0x18 20. "     ,UIC2 Critical Interrupt" "-,Occurred"
textline "   PEMSI0    "
eventfld.long 0x00 19. " ,PCI Express MSI Level 0 Interrupt" "-,Occurred"
bitfld.long 0x04 19. "  ,PCI Express MSI Level 0 Interrupt" "-,Set"
bitfld.long 0x08 19. "        ,PCI Express MSI Level 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 19. "   ,PCI Express MSI Level 0 Interrupt" "-,Critical"
bitfld.long 0x10 19. "  ,PCI Express MSI Level 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 19. "  ,PCI Express MSI Level 0 Interrupt" "Level,Edge"
bitfld.long 0x18 19. "     ,PCI Express MSI Level 0 Interrupt" "-,Occurred"
textline "   PEMSI1    "
eventfld.long 0x00 18. " ,PCI Express MSI Level 1 Interrupt" "-,Occurred"
bitfld.long 0x04 18. "  ,PCI Express MSI Level 1 Interrupt" "-,Set"
bitfld.long 0x08 18. "        ,PCI Express MSI Level 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 18. "   ,PCI Express MSI Level 1 Interrupt" "-,Critical"
bitfld.long 0x10 18. "  ,PCI Express MSI Level 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 18. "  ,PCI Express MSI Level 1 Interrupt" "Level,Edge"
bitfld.long 0x18 18. "     ,PCI Express MSI Level 1 Interrupt" "-,Occurred"
textline "   PEMSI2    "
eventfld.long 0x00 17. " ,PCI Express MSI Level 2 Interrupt" "-,Occurred"
bitfld.long 0x04 17. "  ,PCI Express MSI Level 2 Interrupt" "-,Set"
bitfld.long 0x08 17. "        ,PCI Express MSI Level 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 17. "   ,PCI Express MSI Level 2 Interrupt" "-,Critical"
bitfld.long 0x10 17. "  ,PCI Express MSI Level 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 17. "  ,PCI Express MSI Level 2 Interrupt" "Level,Edge"
bitfld.long 0x18 17. "     ,PCI Express MSI Level 2 Interrupt" "-,Occurred"
textline "   PEMSI3    "
eventfld.long 0x00 16. " ,PCI Express MSI Level 3 Interrupt" "-,Occurred"
bitfld.long 0x04 16. "  ,PCI Express MSI Level 3 Interrupt" "-,Set"
bitfld.long 0x08 16. "        ,PCI Express MSI Level 3 Interrupt" "-,Enabled"
bitfld.long 0x0c 16. "   ,PCI Express MSI Level 3 Interrupt" "-,Critical"
bitfld.long 0x10 16. "  ,PCI Express MSI Level 3 Interrupt" "Negative,Positive"
bitfld.long 0x14 16. "  ,PCI Express MSI Level 3 Interrupt" "Level,Edge"
bitfld.long 0x18 16. "     ,PCI Express MSI Level 3 Interrupt" "-,Occurred"
textline "   UIC3NC    "
eventfld.long 0x00 15. " ,UIC3 Non-Critical Interrupt" "-,Occurred"
bitfld.long 0x04 15. "  ,UIC3 Non-Critical Interrupt" "-,Set"
bitfld.long 0x08 15. "        ,UIC3 Non-Critical Interrupt" "-,Enabled"
bitfld.long 0x0c 15. "   ,UIC3 Non-Critical Interrupt" "-,Critical"
bitfld.long 0x10 15. "  ,UIC3 Non-Critical Interrupt" "Negative,Positive"
bitfld.long 0x14 15. "  ,UIC3 Non-Critical Interrupt" "Level,Edge"
bitfld.long 0x18 15. "     ,UIC3 Non-Critical Interrupt" "-,Occurred"
textline "   UIC3C     "
eventfld.long 0x00 14. " ,UIC3 Critical Interrupt" "-,Occurred"
bitfld.long 0x04 14. "  ,UIC3 Critical Interrupt" "-,Set"
bitfld.long 0x08 14. "        ,UIC3 Critical Interrupt" "-,Enabled"
bitfld.long 0x0c 14. "   ,UIC3 Critical Interrupt" "-,Critical"
bitfld.long 0x10 14. "  ,UIC3 Critical Interrupt" "Negative,Positive"
bitfld.long 0x14 14. "  ,UIC3 Critical Interrupt" "Level,Edge"
bitfld.long 0x18 14. "     ,UIC3 Critical Interrupt" "-,Occurred"
textline "   EIR14     "
eventfld.long 0x00 13. " ,External IRQ 14 Interrupt" "-,Occurred"
bitfld.long 0x04 13. "  ,External IRQ 14 Interrupt" "-,Set"
bitfld.long 0x08 13. "        ,External IRQ 14 Interrupt" "-,Enabled"
bitfld.long 0x0c 13. "   ,External IRQ 14 Interrupt" "-,Critical"
bitfld.long 0x10 13. "  ,External IRQ 14 Interrupt" "Negative,Positive"
bitfld.long 0x14 13. "  ,External IRQ 14 Interrupt" "Level,Edge"
bitfld.long 0x18 13. "     ,External IRQ 14 Interrupt" "-,Occurred"
textline "   D0CPF     "
eventfld.long 0x00 12. " ,DMA0 Command Pointer FIFO Interrupt" "-,Occurred"
bitfld.long 0x04 12. "  ,DMA0 Command Pointer FIFO Interrupt" "-,Set"
bitfld.long 0x08 12. "        ,DMA0 Command Pointer FIFO Interrupt" "-,Enabled"
bitfld.long 0x0c 12. "   ,DMA0 Command Pointer FIFO Interrupt" "-,Critical"
bitfld.long 0x10 12. "  ,DMA0 Command Pointer FIFO Interrupt" "Negative,Positive"
bitfld.long 0x14 12. "  ,DMA0 Command Pointer FIFO Interrupt" "Level,Edge"
bitfld.long 0x18 12. "     ,DMA0 Command Pointer FIFO Interrupt" "-,Occurred"
textline "   D0CSF     "
eventfld.long 0x00 11. " ,DMA0 Command Status FIFO Interrupt" "-,Occurred"
bitfld.long 0x04 11. "  ,DMA0 Command Status FIFO Interrupt" "-,Set"
bitfld.long 0x08 11. "        ,DMA0 Command Status FIFO Interrupt" "-,Enabled"
bitfld.long 0x0c 11. "   ,DMA0 Command Status FIFO Interrupt" "-,Critical"
bitfld.long 0x10 11. "  ,DMA0 Command Status FIFO Interrupt" "Negative,Positive"
bitfld.long 0x14 11. "  ,DMA0 Command Status FIFO Interrupt" "Level,Edge"
bitfld.long 0x18 11. "     ,DMA0 Command Status FIFO Interrupt" "-,Occurred"
textline "   D1CPF     "
eventfld.long 0x00 10. " ,DMA1 Command Pointer FIFO Interrupt" "-,Occurred"
bitfld.long 0x04 10. "  ,DMA1 Command Pointer FIFO Interrupt" "-,Set"
bitfld.long 0x08 10. "        ,DMA1 Command Pointer FIFO Interrupt" "-,Enabled"
bitfld.long 0x0c 10. "   ,DMA1 Command Pointer FIFO Interrupt" "-,Critical"
bitfld.long 0x10 10. "  ,DMA1 Command Pointer FIFO Interrupt" "Negative,Positive"
bitfld.long 0x14 10. "  ,DMA1 Command Pointer FIFO Interrupt" "Level,Edge"
bitfld.long 0x18 10. "     ,DMA1 Command Pointer FIFO Interrupt" "-,Occurred"
textline "   D1CSF     "
eventfld.long 0x00 09. " ,DMA1 Command Status FIFO Interrupt" "-,Occurred"
bitfld.long 0x04 09. "  ,DMA1 Command Status FIFO Interrupt" "-,Set"
bitfld.long 0x08 09. "        ,DMA1 Command Status FIFO Interrupt" "-,Enabled"
bitfld.long 0x0c 09. "   ,DMA1 Command Status FIFO Interrupt" "-,Critical"
bitfld.long 0x10 09. "  ,DMA1 Command Status FIFO Interrupt" "Negative,Positive"
bitfld.long 0x14 09. "  ,DMA1 Command Status FIFO Interrupt" "Level,Edge"
bitfld.long 0x18 09. "     ,DMA1 Command Status FIFO Interrupt" "-,Occurred"
textline "   I2OID     "
eventfld.long 0x00 08. " ,I20 Inbound Doorbell Interrupt" "-,Occurred"
bitfld.long 0x04 08. "  ,I20 Inbound Doorbell Interrupt" "-,Set"
bitfld.long 0x08 08. "        ,I20 Inbound Doorbell Interrupt" "-,Enabled"
bitfld.long 0x0c 08. "   ,I20 Inbound Doorbell Interrupt" "-,Critical"
bitfld.long 0x10 08. "  ,I20 Inbound Doorbell Interrupt" "Negative,Positive"
bitfld.long 0x14 08. "  ,I20 Inbound Doorbell Interrupt" "Level,Edge"
bitfld.long 0x18 08. "     ,I20 Inbound Doorbell Interrupt" "-,Occurred"
textline "   I2OPLF    "
eventfld.long 0x00 07. " ,I2O Inbound Post List FIFO Interrupt" "-,Occurred"
bitfld.long 0x04 07. "  ,I2O Inbound Post List FIFO Interrupt" "-,Set"
bitfld.long 0x08 07. "        ,I2O Inbound Post List FIFO Interrupt" "-,Enabled"
bitfld.long 0x0c 07. "   ,I2O Inbound Post List FIFO Interrupt" "-,Critical"
bitfld.long 0x10 07. "  ,I2O Inbound Post List FIFO Interrupt" "Negative,Positive"
bitfld.long 0x14 07. "  ,I2O Inbound Post List FIFO Interrupt" "Level,Edge"
bitfld.long 0x18 07. "     ,I2O Inbound Post List FIFO Interrupt" "-,Occurred"
textline "   I2O0LL    "
eventfld.long 0x00 06. " ,I2O0 Low Latency PLB Write Interrupt" "-,Occurred"
bitfld.long 0x04 06. "  ,I2O0 Low Latency PLB Write Interrupt" "-,Set"
bitfld.long 0x08 06. "        ,I2O0 Low Latency PLB Write Interrupt" "-,Enabled"
bitfld.long 0x0c 06. "   ,I2O0 Low Latency PLB Write Interrupt" "-,Critical"
bitfld.long 0x10 06. "  ,I2O0 Low Latency PLB Write Interrupt" "Negative,Positive"
bitfld.long 0x14 06. "  ,I2O0 Low Latency PLB Write Interrupt" "Level,Edge"
bitfld.long 0x18 06. "     ,I2O0 Low Latency PLB Write Interrupt" "-,Occurred"
textline "   I2O1LL    "
eventfld.long 0x00 05. " ,I2O1 Low Latency PLB Write Interrupt" "-,Occurred"
bitfld.long 0x04 05. "  ,I2O1 Low Latency PLB Write Interrupt" "-,Set"
bitfld.long 0x08 05. "        ,I2O1 Low Latency PLB Write Interrupt" "-,Enabled"
bitfld.long 0x0c 05. "   ,I2O1 Low Latency PLB Write Interrupt" "-,Critical"
bitfld.long 0x10 05. "  ,I2O1 Low Latency PLB Write Interrupt" "Negative,Positive"
bitfld.long 0x14 05. "  ,I2O1 Low Latency PLB Write Interrupt" "Level,Edge"
bitfld.long 0x18 05. "     ,I2O1 Low Latency PLB Write Interrupt" "-,Occurred"
textline "   I2O0HB    "
eventfld.long 0x00 04. " ,I2O0 High Brandwidth PLB Write Interrupt" "-,Occurred"
bitfld.long 0x04 04. "  ,I2O0 High Brandwidth PLB Write Interrupt" "-,Set"
bitfld.long 0x08 04. "        ,I2O0 High Brandwidth PLB Write Interrupt" "-,Enabled"
bitfld.long 0x0c 04. "   ,I2O0 High Brandwidth PLB Write Interrupt" "-,Critical"
bitfld.long 0x10 04. "  ,I2O0 High Brandwidth PLB Write Interrupt" "Negative,Positive"
bitfld.long 0x14 04. "  ,I2O0 High Brandwidth PLB Write Interrupt" "Level,Edge"
bitfld.long 0x18 04. "     ,I2O0 High Brandwidth PLB Write Interrupt" "-,Occurred"
textline "   I2O1HB    "
eventfld.long 0x00 03. " ,I2O1 High Brandwidth PLB Write Interrupt" "-,Occurred"
bitfld.long 0x04 03. "  ,I2O1 High Brandwidth PLB Write Interrupt" "-,Set"
bitfld.long 0x08 03. "        ,I2O1 High Brandwidth PLB Write Interrupt" "-,Enabled"
bitfld.long 0x0c 03. "   ,I2O1 High Brandwidth PLB Write Interrupt" "-,Critical"
bitfld.long 0x10 03. "  ,I2O1 High Brandwidth PLB Write Interrupt" "Negative,Positive"
bitfld.long 0x14 03. "  ,I2O1 High Brandwidth PLB Write Interrupt" "Level,Edge"
bitfld.long 0x18 03. "     ,I2O1 High Brandwidth PLB Write Interrupt" "-,Occurred"
textline "   GPTCT     "
eventfld.long 0x00 02. " ,GPT Count Timer Interrupt" "-,Occurred"
bitfld.long 0x04 02. "  ,GPT Count Timer Interrupt" "-,Set"
bitfld.long 0x08 02. "        ,GPT Count Timer Interrupt" "-,Enabled"
bitfld.long 0x0c 02. "   ,GPT Count Timer Interrupt" "-,Critical"
bitfld.long 0x10 02. "  ,GPT Count Timer Interrupt" "Negative,Positive"
bitfld.long 0x14 02. "  ,GPT Count Timer Interrupt" "Level,Edge"
bitfld.long 0x18 02. "     ,GPT Count Timer Interrupt" "-,Occurred"
textline "   UIC1NC    "
eventfld.long 0x00 01. " ,UIC1 Non-Critical Interrupt" "-,Occurred"
bitfld.long 0x04 01. "  ,UIC1 Non-Critical Interrupt" "-,Set"
bitfld.long 0x08 01. "        ,UIC1 Non-Critical Interrupt" "-,Enabled"
bitfld.long 0x0c 01. "   ,UIC1 Non-Critical Interrupt" "-,Critical"
bitfld.long 0x10 01. "  ,UIC1 Non-Critical Interrupt" "Negative,Positive"
bitfld.long 0x14 01. "  ,UIC1 Non-Critical Interrupt" "Level,Edge"
bitfld.long 0x18 01. "     ,UIC1 Non-Critical Interrupt" "-,Occurred"
textline "   UIC1C     "
eventfld.long 0x00 00. " ,UIC1 Critical Interrupt" "-,Occurred"
bitfld.long 0x04 00. "  ,UIC1 Critical Interrupt" "-,Set"
bitfld.long 0x08 00. "        ,UIC1 Critical Interrupt" "-,Enabled"
bitfld.long 0x0c 00. "   ,UIC1 Critical Interrupt" "-,Critical"
bitfld.long 0x10 00. "  ,UIC1 Critical Interrupt" "Negative,Positive"
bitfld.long 0x14 00. "  ,UIC1 Critical Interrupt" "Level,Edge"
bitfld.long 0x18 00. "     ,UIC1 Critical Interrupt" "-,Occurred"
textline "         "
wgroup.long dcr:0x0C8--0x0C8
line.long 0x00 "UIC0_VCR,UIC Vector Configuration Register 0"
hexmask.long 0x00 2.--31. 1. " VBA ,Vector Base Address"
bitfld.long 0x00 0. "  PRO ,Priority Ordering" "UIC0_SR[31] highest,UIC0_SR[0] highest"
rgroup.long dcr:0x0C7--0x0C7
line.long 0x00 "UIC0_VR,UIC Vector Register 0"
hexmask.long 0x00 0.--31. 1. " VR  ,Interrupt Vector"  
tree.end
tree "UIC1"
group.long dcr:0x0D0--0x0D6
textline "              UIC1_SR   UIC1_SSR   UIC1_ER   UIC1_CR   UIC1_PR   UIC1_TR   UIC1_MSR"
textline "         "
hexmask.long 0x00 00.--31. 1. "     ,UIC1 Status Register"
hexmask.long 0x04 00.--31. 1. "  ,UIC1 Status Set Register"
hexmask.long 0x08 00.--31. 1. "   ,UIC1 Enable Register"
hexmask.long 0x0c 00.--31. 1. "  ,UIC1 Critical Register"
hexmask.long 0x10 00.--31. 1. "  ,UIC1 Polarity Register"
hexmask.long 0x14 00.--31. 1. "  ,UIC1 Trigger Register"
hexmask.long 0x18 00.--31. 1. "  ,UIC1 Masked Status Register"
textline "   EIR13     "
eventfld.long 0x00 31. " ,External IRQ 13 Interrupt" "-,Occurred"
bitfld.long 0x04 31. "  ,External IRQ 13 Interrupt" "-,Set"
bitfld.long 0x08 31. "        ,External IRQ 13 Interrupt" "-,Enabled"
bitfld.long 0x0c 31. "   ,External IRQ 13 Interrupt" "-,Critical"
bitfld.long 0x10 31. "  ,External IRQ 13 Interrupt" "Negative,Positive"
bitfld.long 0x14 31. "  ,External IRQ 13 Interrupt" "Level,Edge"
bitfld.long 0x18 31. "     ,External IRQ 13 Interrupt" "-,Occurred"
textline "   MS        "
eventfld.long 0x00 30. " ,MAL SERR Interrupt" "-,Occurred"
bitfld.long 0x04 30. "  ,MAL SERR Interrupt" "-,Set"
bitfld.long 0x08 30. "        ,MAL SERR Interrupt" "-,Enabled"
bitfld.long 0x0c 30. "   ,MAL SERR Interrupt" "-,Critical"
bitfld.long 0x10 30. "  ,MAL SERR Interrupt" "Negative,Positive"
bitfld.long 0x14 30. "  ,MAL SERR Interrupt" "Level,Edge"
bitfld.long 0x18 30. "     ,MAL SERR Interrupt" "-,Occurred"
textline "   MTXDE     "
eventfld.long 0x00 29. " ,MAL TxDE Interrupt" "-,Occurred"
bitfld.long 0x04 29. "  ,MAL TxDE Interrupt" "-,Set"
bitfld.long 0x08 29. "        ,MAL TxDE Interrupt" "-,Enabled"
bitfld.long 0x0c 29. "   ,MAL TxDE Interrupt" "-,Critical"
bitfld.long 0x10 29. "  ,MAL TxDE Interrupt" "Negative,Positive"
bitfld.long 0x14 29. "  ,MAL TxDE Interrupt" "Level,Edge"
bitfld.long 0x18 29. "     ,MAL TxDE Interrupt" "-,Occurred"
textline "   MRXDE     "
eventfld.long 0x00 28. " ,MAL RxDE Interrupt" "-,Occurred"
bitfld.long 0x04 28. "  ,MAL RxDE Interrupt" "-,Set"
bitfld.long 0x08 28. "        ,MAL RxDE Interrupt" "-,Enabled"
bitfld.long 0x0c 28. "   ,MAL RxDE Interrupt" "-,Critical"
bitfld.long 0x10 28. "  ,MAL RxDE Interrupt" "Negative,Positive"
bitfld.long 0x14 28. "  ,MAL RxDE Interrupt" "Level,Edge"
bitfld.long 0x18 28. "     ,MAL RxDE Interrupt" "-,Occurred"
textline "   DECE      "
eventfld.long 0x00 27. " ,Correctable or uncorrectable ECC DDR Error Interrupt" "-,Occurred"
bitfld.long 0x04 27. "  ,Correctable or uncorrectable ECC DDR Error Interrupt" "-,Set"
bitfld.long 0x08 27. "        ,Correctable or uncorrectable ECC DDR Error Interrupt" "-,Enabled"
bitfld.long 0x0c 27. "   ,Correctable or uncorrectable ECC DDR Error Interrupt" "-,Critical"
bitfld.long 0x10 27. "  ,Correctable or uncorrectable ECC DDR Error Interrupt" "Negative,Positive"
bitfld.long 0x14 27. "  ,Correctable or uncorrectable ECC DDR Error Interrupt" "Level,Edge"
bitfld.long 0x18 27. "     ,Correctable or uncorrectable ECC DDR Error Interrupt" "-,Occurred"
textline "   EBC       "
eventfld.long 0x00 26. " ,External Bus Controller or UART Interrupt" "-,Occurred"
bitfld.long 0x04 26. "  ,External Bus Controller or UART Interrupt" "-,Set"
bitfld.long 0x08 26. "        ,External Bus Controller or UART Interrupt" "-,Enabled"
bitfld.long 0x0c 26. "   ,External Bus Controller or UART Interrupt" "-,Critical"
bitfld.long 0x10 26. "  ,External Bus Controller or UART Interrupt" "Negative,Positive"
bitfld.long 0x14 26. "  ,External Bus Controller or UART Interrupt" "Level,Edge"
bitfld.long 0x18 26. "     ,External Bus Controller or UART Interrupt" "-,Occurred"
textline "   MTXE      "
eventfld.long 0x00 25. " ,MAL Tx EOB Interrupt" "-,Occurred"
bitfld.long 0x04 25. "  ,MAL Tx EOB Interrupt" "-,Set"
bitfld.long 0x08 25. "        ,MAL Tx EOB Interrupt" "-,Enabled"
bitfld.long 0x0c 25. "   ,MAL Tx EOB Interrupt" "-,Critical"
bitfld.long 0x10 25. "  ,MAL Tx EOB Interrupt" "Negative,Positive"
bitfld.long 0x14 25. "  ,MAL Tx EOB Interrupt" "Level,Edge"
bitfld.long 0x18 25. "     ,MAL Tx EOB Interrupt" "-,Occurred"
textline "   MRXE      "
eventfld.long 0x00 24. " ,MAL Rx EOB Interrupt" "-,Occurred"
bitfld.long 0x04 24. "  ,MAL Rx EOB Interrupt" "-,Set"
bitfld.long 0x08 24. "        ,MAL Rx EOB Interrupt" "-,Enabled"
bitfld.long 0x0c 24. "   ,MAL Rx EOB Interrupt" "-,Critical"
bitfld.long 0x10 24. "  ,MAL Rx EOB Interrupt" "Negative,Positive"
bitfld.long 0x14 24. "  ,MAL Rx EOB Interrupt" "Level,Edge"
bitfld.long 0x18 24. "     ,MAL Rx EOB Interrupt" "-,Occurred"
textline "   P0MSI1    "
eventfld.long 0x00 23. " ,PCIX0 MSI Level 1 Interrupt" "-,Occurred"
bitfld.long 0x04 23. "  ,PCIX0 MSI Level 1 Interrupt" "-,Set"
bitfld.long 0x08 23. "        ,PCIX0 MSI Level 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 23. "   ,PCIX0 MSI Level 1 Interrupt" "-,Critical"
bitfld.long 0x10 23. "  ,PCIX0 MSI Level 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 23. "  ,PCIX0 MSI Level 1 Interrupt" "Level,Edge"
bitfld.long 0x18 23. "     ,PCIX0 MSI Level 1 Interrupt" "-,Occurred"
textline "   P0MSI2    "
eventfld.long 0x00 22. " ,PCIX0 MSI Level 2 Interrupt" "-,Occurred"
bitfld.long 0x04 22. "  ,PCIX0 MSI Level 2 Interrupt" "-,Set"
bitfld.long 0x08 22. "        ,PCIX0 MSI Level 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 22. "   ,PCIX0 MSI Level 2 Interrupt" "-,Critical"
bitfld.long 0x10 22. "  ,PCIX0 MSI Level 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 22. "  ,PCIX0 MSI Level 2 Interrupt" "Level,Edge"
bitfld.long 0x18 22. "     ,PCIX0 MSI Level 2 Interrupt" "-,Occurred"
textline "   P0MSI3    "
eventfld.long 0x00 21. " ,PCIX0 MSI Level 3 Interrupt" "-,Occurred"
bitfld.long 0x04 21. "  ,PCIX0 MSI Level 3 Interrupt" "-,Set"
bitfld.long 0x08 21. "        ,PCIX0 MSI Level 3 Interrupt" "-,Enabled"
bitfld.long 0x0c 21. "   ,PCIX0 MSI Level 3 Interrupt" "-,Critical"
bitfld.long 0x10 21. "  ,PCIX0 MSI Level 3 Interrupt" "Negative,Positive"
bitfld.long 0x14 21. "  ,PCIX0 MSI Level 3 Interrupt" "Level,Edge"
bitfld.long 0x18 21. "     ,PCIX0 MSI Level 3 Interrupt" "-,Occurred"
textline "   L2C       "
eventfld.long 0x00 20. " ,L2 Cache Interrupt" "-,Occurred"
bitfld.long 0x04 20. "  ,L2 Cache Interrupt" "-,Set"
bitfld.long 0x08 20. "        ,L2 Cache Interrupt" "-,Enabled"
bitfld.long 0x0c 20. "   ,L2 Cache Interrupt" "-,Critical"
bitfld.long 0x10 20. "  ,L2 Cache Interrupt" "Negative,Positive"
bitfld.long 0x14 20. "  ,L2 Cache Interrupt" "Level,Edge"
bitfld.long 0x18 20. "     ,L2 Cache Interrupt" "-,Occurred"
textline "   CT0       "
eventfld.long 0x00 19. " ,GPT Compare Timer 0 Interrupt" "-,Occurred"
bitfld.long 0x04 19. "  ,GPT Compare Timer 0 Interrupt" "-,Set"
bitfld.long 0x08 19. "        ,GPT Compare Timer 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 19. "   ,GPT Compare Timer 0 Interrupt" "-,Critical"
bitfld.long 0x10 19. "  ,GPT Compare Timer 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 19. "  ,GPT Compare Timer 0 Interrupt" "Level,Edge"
bitfld.long 0x18 19. "     ,GPT Compare Timer 0 Interrupt" "-,Occurred"
textline "   CT1       "
eventfld.long 0x00 18. " ,GPT Compare Timer 1 Interrupt" "-,Occurred"
bitfld.long 0x04 18. "  ,GPT Compare Timer 1 Interrupt" "-,Set"
bitfld.long 0x08 18. "        ,GPT Compare Timer 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 18. "   ,GPT Compare Timer 1 Interrupt" "-,Critical"
bitfld.long 0x10 18. "  ,GPT Compare Timer 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 18. "  ,GPT Compare Timer 1 Interrupt" "Level,Edge"
bitfld.long 0x18 18. "     ,GPT Compare Timer 1 Interrupt" "-,Occurred"
textline "   CT2       "
eventfld.long 0x00 17. " ,GPT Compare Timer 2 Interrupt" "-,Occurred"
bitfld.long 0x04 17. "  ,GPT Compare Timer 2 Interrupt" "-,Set"
bitfld.long 0x08 17. "        ,GPT Compare Timer 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 17. "   ,GPT Compare Timer 2 Interrupt" "-,Critical"
bitfld.long 0x10 17. "  ,GPT Compare Timer 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 17. "  ,GPT Compare Timer 2 Interrupt" "Level,Edge"
bitfld.long 0x18 17. "     ,GPT Compare Timer 2 Interrupt" "-,Occurred"
textline "   CT3       "
eventfld.long 0x00 16. " ,GPT Compare Timer 3 Interrupt" "-,Occurred"
bitfld.long 0x04 16. "  ,GPT Compare Timer 3 Interrupt" "-,Set"
bitfld.long 0x08 16. "        ,GPT Compare Timer 3 Interrupt" "-,Enabled"
bitfld.long 0x0c 16. "   ,GPT Compare Timer 3 Interrupt" "-,Critical"
bitfld.long 0x10 16. "  ,GPT Compare Timer 3 Interrupt" "Negative,Positive"
bitfld.long 0x14 16. "  ,GPT Compare Timer 3 Interrupt" "Level,Edge"
bitfld.long 0x18 16. "     ,GPT Compare Timer 3 Interrupt" "-,Occurred"
textline "   CT4       "
eventfld.long 0x00 15. " ,GPT Compare Timer 4 Interrupt" "-,Occurred"
bitfld.long 0x04 15. "  ,GPT Compare Timer 4 Interrupt" "-,Set"
bitfld.long 0x08 15. "        ,GPT Compare Timer 4 Interrupt" "-,Enabled"
bitfld.long 0x0c 15. "   ,GPT Compare Timer 4 Interrupt" "-,Critical"
bitfld.long 0x10 15. "  ,GPT Compare Timer 4 Interrupt" "Negative,Positive"
bitfld.long 0x14 15. "  ,GPT Compare Timer 4 Interrupt" "Level,Edge"
bitfld.long 0x18 15. "     ,GPT Compare Timer 4 Interrupt" "-,Occurred"
textline "   EIR12     "
eventfld.long 0x00 14. " ,External IRQ 12 Interrupt" "-,Occurred"
bitfld.long 0x04 14. "  ,External IRQ 12 Interrupt" "-,Set"
bitfld.long 0x08 14. "        ,External IRQ 12 Interrupt" "-,Enabled"
bitfld.long 0x0c 14. "   ,External IRQ 12 Interrupt" "-,Critical"
bitfld.long 0x10 14. "  ,External IRQ 12 Interrupt" "Negative,Positive"
bitfld.long 0x14 14. "  ,External IRQ 12 Interrupt" "Level,Edge"
bitfld.long 0x18 14. "     ,External IRQ 12 Interrupt" "-,Occurred"
textline "   EIR11     "
eventfld.long 0x00 13. " ,External IRQ 11 Interrupt" "-,Occurred"
bitfld.long 0x04 13. "  ,External IRQ 11 Interrupt" "-,Set"
bitfld.long 0x08 13. "        ,External IRQ 11 Interrupt" "-,Enabled"
bitfld.long 0x0c 13. "   ,External IRQ 11 Interrupt" "-,Critical"
bitfld.long 0x10 13. "  ,External IRQ 11 Interrupt" "Negative,Positive"
bitfld.long 0x14 13. "  ,External IRQ 11 Interrupt" "Level,Edge"
bitfld.long 0x18 13. "     ,External IRQ 11 Interrupt" "-,Occurred"
textline "   EIR10     "
eventfld.long 0x00 12. " ,External IRQ 10 Interrupt" "-,Occurred"
bitfld.long 0x04 12. "  ,External IRQ 10 Interrupt" "-,Set"
bitfld.long 0x08 12. "        ,External IRQ 10 Interrupt" "-,Enabled"
bitfld.long 0x0c 12. "   ,External IRQ 10 Interrupt" "-,Critical"
bitfld.long 0x10 12. "  ,External IRQ 10 Interrupt" "Negative,Positive"
bitfld.long 0x14 12. "  ,External IRQ 10 Interrupt" "Level,Edge"
bitfld.long 0x18 12. "     ,External IRQ 10 Interrupt" "-,Occurred"
textline "   EIR9      "
eventfld.long 0x00 11. " ,External IRQ 9 Interrupt" "-,Occurred"
bitfld.long 0x04 11. "  ,External IRQ 9 Interrupt" "-,Set"
bitfld.long 0x08 11. "        ,External IRQ 9 Interrupt" "-,Enabled"
bitfld.long 0x0c 11. "   ,External IRQ 9 Interrupt" "-,Critical"
bitfld.long 0x10 11. "  ,External IRQ 9 Interrupt" "Negative,Positive"
bitfld.long 0x14 11. "  ,External IRQ 9 Interrupt" "Level,Edge"
bitfld.long 0x18 11. "     ,External IRQ 9 Interrupt" "-,Occurred"
textline "   EIR8      "
eventfld.long 0x00 10. " ,External IRQ 8 Interrupt" "-,Occurred"
bitfld.long 0x04 10. "  ,External IRQ 8 Interrupt" "-,Set"
bitfld.long 0x08 10. "        ,External IRQ 8 Interrupt" "-,Enabled"
bitfld.long 0x0c 10. "   ,External IRQ 8 Interrupt" "-,Critical"
bitfld.long 0x10 10. "  ,External IRQ 8 Interrupt" "Negative,Positive"
bitfld.long 0x14 10. "  ,External IRQ 8 Interrupt" "Level,Edge"
bitfld.long 0x18 10. "     ,External IRQ 8 Interrupt" "-,Occurred"
textline "   DMAE      "
eventfld.long 0x00 09. " ,DMA Error Interrupt" "-,Occurred"
bitfld.long 0x04 09. "  ,DMA Error Interrupt" "-,Set"
bitfld.long 0x08 09. "        ,DMA Error Interrupt" "-,Enabled"
bitfld.long 0x0c 09. "   ,DMA Error Interrupt" "-,Critical"
bitfld.long 0x10 09. "  ,DMA Error Interrupt" "Negative,Positive"
bitfld.long 0x14 09. "  ,DMA Error Interrupt" "Level,Edge"
bitfld.long 0x18 09. "     ,DMA Error Interrupt" "-,Occurred"
textline "   I2OE      "
eventfld.long 0x00 08. " ,I2O Error Interrupt" "-,Occurred"
bitfld.long 0x04 08. "  ,I2O Error Interrupt" "-,Set"
bitfld.long 0x08 08. "        ,I2O Error Interrupt" "-,Enabled"
bitfld.long 0x0c 08. "   ,I2O Error Interrupt" "-,Critical"
bitfld.long 0x10 08. "  ,I2O Error Interrupt" "Negative,Positive"
bitfld.long 0x14 08. "  ,I2O Error Interrupt" "Level,Edge"
bitfld.long 0x18 08. "     ,I2O Error Interrupt" "-,Occurred"
textline "   SRE       "
eventfld.long 0x00 07. " ,Serial ROM Error Interrupt" "-,Occurred"
bitfld.long 0x04 07. "  ,Serial ROM Error Interrupt" "-,Set"
bitfld.long 0x08 07. "        ,Serial ROM Error Interrupt" "-,Enabled"
bitfld.long 0x0c 07. "   ,Serial ROM Error Interrupt" "-,Critical"
bitfld.long 0x10 07. "  ,Serial ROM Error Interrupt" "Negative,Positive"
bitfld.long 0x14 07. "  ,Serial ROM Error Interrupt" "Level,Edge"
bitfld.long 0x18 07. "     ,Serial ROM Error Interrupt" "-,Occurred"
textline "   P0AE      "
eventfld.long 0x00 06. " ,PCIX0 Asynchronous Error Interrupt" "-,Occurred"
bitfld.long 0x04 06. "  ,PCIX0 Asynchronous Error Interrupt" "-,Set"
bitfld.long 0x08 06. "        ,PCIX0 Asynchronous Error Interrupt" "-,Enabled"
bitfld.long 0x0c 06. "   ,PCIX0 Asynchronous Error Interrupt" "-,Critical"
bitfld.long 0x10 06. "  ,PCIX0 Asynchronous Error Interrupt" "Negative,Positive"
bitfld.long 0x14 06. "  ,PCIX0 Asynchronous Error Interrupt" "Level,Edge"
bitfld.long 0x18 06. "     ,PCIX0 Asynchronous Error Interrupt" "-,Occurred"
textline "   EIR7      "
eventfld.long 0x00 05. " ,External IRQ 7 Interrupt" "-,Occurred"
bitfld.long 0x04 05. "  ,External IRQ 7 Interrupt" "-,Set"
bitfld.long 0x08 05. "        ,External IRQ 7 Interrupt" "-,Enabled"
bitfld.long 0x0c 05. "   ,External IRQ 7 Interrupt" "-,Critical"
bitfld.long 0x10 05. "  ,External IRQ 7 Interrupt" "Negative,Positive"
bitfld.long 0x14 05. "  ,External IRQ 7 Interrupt" "Level,Edge"
bitfld.long 0x18 05. "     ,External IRQ 7 Interrupt" "-,Occurred"
textline "   EIR6      "
eventfld.long 0x00 04. " ,External IRQ 6 Interrupt" "-,Occurred"
bitfld.long 0x04 04. "  ,External IRQ 6 Interrupt" "-,Set"
bitfld.long 0x08 04. "        ,External IRQ 6 Interrupt" "-,Enabled"
bitfld.long 0x0c 04. "   ,External IRQ 6 Interrupt" "-,Critical"
bitfld.long 0x10 04. "  ,External IRQ 6 Interrupt" "Negative,Positive"
bitfld.long 0x14 04. "  ,External IRQ 6 Interrupt" "Level,Edge"
bitfld.long 0x18 04. "     ,External IRQ 6 Interrupt" "-,Occurred"
textline "   ETH       "
eventfld.long 0x00 03. " ,Ethernet Interrupt" "-,Occurred"
bitfld.long 0x04 03. "  ,Ethernet Interrupt" "-,Set"
bitfld.long 0x08 03. "        ,Ethernet Interrupt" "-,Enabled"
bitfld.long 0x0c 03. "   ,Ethernet Interrupt" "-,Critical"
bitfld.long 0x10 03. "  ,Ethernet Interrupt" "Negative,Positive"
bitfld.long 0x14 03. "  ,Ethernet Interrupt" "Level,Edge"
bitfld.long 0x18 03. "     ,Ethernet Interrupt" "-,Occurred"
textline "   EWU       "
eventfld.long 0x00 02. " ,Ethernet Wake-up Interrupt" "-,Occurred"
bitfld.long 0x04 02. "  ,Ethernet Wake-up Interrupt" "-,Set"
bitfld.long 0x08 02. "        ,Ethernet Wake-up Interrupt" "-,Enabled"
bitfld.long 0x0c 02. "   ,Ethernet Wake-up Interrupt" "-,Critical"
bitfld.long 0x10 02. "  ,Ethernet Wake-up Interrupt" "Negative,Positive"
bitfld.long 0x14 02. "  ,Ethernet Wake-up Interrupt" "Level,Edge"
bitfld.long 0x18 02. "     ,Ethernet Wake-up Interrupt" "-,Occurred"
textline "   XOR       "
eventfld.long 0x00 00. " ,XOR Interrupt" "-,Occurred"
bitfld.long 0x04 00. "  ,XOR Interrupt" "-,Set"
bitfld.long 0x08 00. "        ,XOR Interrupt" "-,Enabled"
bitfld.long 0x0c 00. "   ,XOR Interrupt" "-,Critical"
bitfld.long 0x10 00. "  ,XOR Interrupt" "Negative,Positive"
bitfld.long 0x14 00. "  ,XOR Interrupt" "Level,Edge"
bitfld.long 0x18 00. "     ,XOR Interrupt" "-,Occurred"
textline "         "
wgroup.long dcr:0x0D8--0x0D8
line.long 0x00 "UIC1_VCR,UIC Vector Configuration Register 1"
hexmask.long 0x00 2.--31. 1. " VBA ,Vector Base Address"
bitfld.long 0x00 0. "  PRO ,Priority Ordering" "UIC0_SR[31] highest,UIC0_SR[0] highest"
rgroup.long dcr:0x0D7--0x0D7
line.long 0x00 "UIC1_VR,UIC Vector Register 1"
hexmask.long 0x00 0.--31. 1. " VR  ,Interrupt Vector"
tree.end
tree "UIC2"
group.long dcr:0x0E0--0x0E6
textline "              UIC2_SR   UIC2_SSR   UIC2_ER   UIC2_CR   UIC2_PR   UIC2_TR   UIC2_MSR"
textline "         "
hexmask.long 0x00 00.--31. 1. "     ,UIC2 Status Register"
hexmask.long 0x04 00.--31. 1. "  ,UIC2 Status Set Register"
hexmask.long 0x08 00.--31. 1. "   ,UIC2 Enable Register"
hexmask.long 0x0c 00.--31. 1. "  ,UIC2 Critical Register"
hexmask.long 0x10 00.--31. 1. "  ,UIC2 Polarity Register"
hexmask.long 0x14 00.--31. 1. "  ,UIC2 Trigger Register"
hexmask.long 0x18 00.--31. 1. "  ,UIC2 Masked Status Register"
textline "   PE0AL     "
eventfld.long 0x00 31. " ,PE0 AL Interrupt" "-,Occurred"
bitfld.long 0x04 31. "  ,PE0 AL Interrupt" "-,Set"
bitfld.long 0x08 31. "        ,PE0 AL Interrupt" "-,Enabled"
bitfld.long 0x0c 31. "   ,PE0 AL Interrupt" "-,Critical"
bitfld.long 0x10 31. "  ,PE0 AL Interrupt" "Negative,Positive"
bitfld.long 0x14 31. "  ,PE0 AL Interrupt" "Level,Edge"
bitfld.long 0x18 31. "     ,PE0 AL Interrupt" "-,Occurred"
textline "   PE0VPD     "
eventfld.long 0x00 30. " ,PE0 VPD Access Interrupt" "-,Occurred"
bitfld.long 0x04 30. "  ,PE0 VPD Access Interrupt" "-,Set"
bitfld.long 0x08 30. "        ,PE0 VPD Access Interrupt" "-,Enabled"
bitfld.long 0x0c 30. "   ,PE0 VPD Access Interrupt" "-,Critical"
bitfld.long 0x10 30. "  ,PE0 VPD Access Interrupt" "Negative,Positive"
bitfld.long 0x14 30. "  ,PE0 VPD Access Interrupt" "Level,Edge"
bitfld.long 0x18 30. "     ,PE0 VPD Access Interrupt" "-,Occurred"
textline "   PE0HRR     "
eventfld.long 0x00 29. " ,PE0 Hot Reset Rising Edge Interrupt" "-,Occurred"
bitfld.long 0x04 29. "  ,PE0 Hot Reset Rising Edge Interrupt" "-,Set"
bitfld.long 0x08 29. "        ,PE0 Hot Reset Rising Edge Interrupt" "-,Enabled"
bitfld.long 0x0c 29. "   ,PE0 Hot Reset Rising Edge Interrupt" "-,Critical"
bitfld.long 0x10 29. "  ,PE0 Hot Reset Rising Edge Interrupt" "Negative,Positive"
bitfld.long 0x14 29. "  ,PE0 Hot Reset Rising Edge Interrupt" "Level,Edge"
bitfld.long 0x18 29. "     ,PE0 Hot Reset Rising Edge Interrupt" "-,Occurred"
textline "   PE0HRF     "
eventfld.long 0x00 28. " ,PE0 Hot Reset Falling Edge Interrupt" "-,Occurred"
bitfld.long 0x04 28. "  ,PE0 Hot Reset Falling Edge Interrupt" "-,Set"
bitfld.long 0x08 28. "        ,PE0 Hot Reset Falling Edge Interrupt" "-,Enabled"
bitfld.long 0x0c 28. "   ,PE0 Hot Reset Falling Edge Interrupt" "-,Critical"
bitfld.long 0x10 28. "  ,PE0 Hot Reset Falling Edge Interrupt" "Negative,Positive"
bitfld.long 0x14 28. "  ,PE0 Hot Reset Falling Edge Interrupt" "Level,Edge"
bitfld.long 0x18 28. "     ,PE0 Hot Reset Falling Edge Interrupt" "-,Occurred"
textline "   PE0TCR     "
eventfld.long 0x00 27. " ,PE0 TCR Interrupt" "-,Occurred"
bitfld.long 0x04 27. "  ,PE0 TCR Interrupt" "-,Set"
bitfld.long 0x08 27. "        ,PE0 TCR Interrupt" "-,Enabled"
bitfld.long 0x0c 27. "   ,PE0 TCR Interrupt" "-,Critical"
bitfld.long 0x10 27. "  ,PE0 TCR Interrupt" "Negative,Positive"
bitfld.long 0x14 27. "  ,PE0 TCR Interrupt" "Level,Edge"
bitfld.long 0x18 27. "     ,PE0 TCR Interrupt" "-,Occurred"
textline "   PE0BMV     "
eventfld.long 0x00 26. " ,PE0 BUSMASTER_VCO Interrupt" "-,Occurred"
bitfld.long 0x04 26. "  ,PE0 BUSMASTER_VCO Interrupt" "-,Set"
bitfld.long 0x08 26. "        ,PE0 BUSMASTER_VCO Interrupt" "-,Enabled"
bitfld.long 0x0c 26. "   ,PE0 BUSMASTER_VCO Interrupt" "-,Critical"
bitfld.long 0x10 26. "  ,PE0 BUSMASTER_VCO Interrupt" "Negative,Positive"
bitfld.long 0x14 26. "  ,PE0 BUSMASTER_VCO Interrupt" "Level,Edge"
bitfld.long 0x18 26. "     ,PE0 BUSMASTER_VCO Interrupt" "-,Occurred"
textline "   PE0DCR     "
eventfld.long 0x00 25. " ,PE0 DCR interface Error Interrupt" "-,Occurred"
bitfld.long 0x04 25. "  ,PE0 DCR interface Error Interrupt" "-,Set"
bitfld.long 0x08 25. "        ,PE0 DCR interface Error Interrupt" "-,Enabled"
bitfld.long 0x0c 25. "   ,PE0 DCR interface Error Interrupt" "-,Critical"
bitfld.long 0x10 25. "  ,PE0 DCR interface Error Interrupt" "Negative,Positive"
bitfld.long 0x14 25. "  ,PE0 DCR interface Error Interrupt" "Level,Edge"
bitfld.long 0x18 25. "     ,PE0 DCR interface Error Interrupt" "-,Occurred"
textline "   PE1AL      "
eventfld.long 0x00 23. " ,PE1 AL Interrupt" "-,Occurred"
bitfld.long 0x04 23. "  ,PE1 AL Interrupt" "-,Set"
bitfld.long 0x08 23. "        ,PE1 AL Interrupt" "-,Enabled"
bitfld.long 0x0c 23. "   ,PE1 AL Interrupt" "-,Critical"
bitfld.long 0x10 23. "  ,PE1 AL Interrupt" "Negative,Positive"
bitfld.long 0x14 23. "  ,PE1 AL Interrupt" "Level,Edge"
bitfld.long 0x18 23. "     ,PE1 AL Interrupt" "-,Occurred"
textline "   PE1VPD     "
eventfld.long 0x00 22. " ,PE1 VPD Access Interrupt" "-,Occurred"
bitfld.long 0x04 22. "  ,PE1 VPD Access Interrupt" "-,Set"
bitfld.long 0x08 22. "        ,PE1 VPD Access Interrupt" "-,Enabled"
bitfld.long 0x0c 22. "   ,PE1 VPD Access Interrupt" "-,Critical"
bitfld.long 0x10 22. "  ,PE1 VPD Access Interrupt" "Negative,Positive"
bitfld.long 0x14 22. "  ,PE1 VPD Access Interrupt" "Level,Edge"
bitfld.long 0x18 22. "     ,PE1 VPD Access Interrupt" "-,Occurred"
textline "   PE1HRR     "
eventfld.long 0x00 21. " ,PE1 Hot Reset Rising Edge Interrupt" "-,Occurred"
bitfld.long 0x04 21. "  ,PE1 Hot Reset Rising Edge Interrupt" "-,Set"
bitfld.long 0x08 21. "        ,PE1 Hot Reset Rising Edge Interrupt" "-,Enabled"
bitfld.long 0x0c 21. "   ,PE1 Hot Reset Rising Edge Interrupt" "-,Critical"
bitfld.long 0x10 21. "  ,PE1 Hot Reset Rising Edge Interrupt" "Negative,Positive"
bitfld.long 0x14 21. "  ,PE1 Hot Reset Rising Edge Interrupt" "Level,Edge"
bitfld.long 0x18 21. "     ,PE1 Hot Reset Rising Edge Interrupt" "-,Occurred"
textline "   PE1HRF     "
eventfld.long 0x00 20. " ,PE1 Hot Reset Falling Edge Interrupt" "-,Occurred"
bitfld.long 0x04 20. "  ,PE1 Hot Reset Falling Edge Interrupt" "-,Set"
bitfld.long 0x08 20. "        ,PE1 Hot Reset Falling Edge Interrupt" "-,Enabled"
bitfld.long 0x0c 20. "   ,PE1 Hot Reset Falling Edge Interrupt" "-,Critical"
bitfld.long 0x10 20. "  ,PE1 Hot Reset Falling Edge Interrupt" "Negative,Positive"
bitfld.long 0x14 20. "  ,PE1 Hot Reset Falling Edge Interrupt" "Level,Edge"
bitfld.long 0x18 20. "     ,PE1 Hot Reset Falling Edge Interrupt" "-,Occurred"
textline "   PE1TCR     "
eventfld.long 0x00 19. " ,PE1 TCR Interrupt" "-,Occurred"
bitfld.long 0x04 19. "  ,PE1 TCR Interrupt" "-,Set"
bitfld.long 0x08 19. "        ,PE1 TCR Interrupt" "-,Enabled"
bitfld.long 0x0c 19. "   ,PE1 TCR Interrupt" "-,Critical"
bitfld.long 0x10 19. "  ,PE1 TCR Interrupt" "Negative,Positive"
bitfld.long 0x14 19. "  ,PE1 TCR Interrupt" "Level,Edge"
bitfld.long 0x18 19. "     ,PE1 TCR Interrupt" "-,Occurred"
textline "   PE1BMV     "
eventfld.long 0x00 18. " ,PE1 BUSMASTER_VCO Interrupt" "-,Occurred"
bitfld.long 0x04 18. "  ,PE1 BUSMASTER_VCO Interrupt" "-,Set"
bitfld.long 0x08 18. "        ,PE1 BUSMASTER_VCO Interrupt" "-,Enabled"
bitfld.long 0x0c 18. "   ,PE1 BUSMASTER_VCO Interrupt" "-,Critical"
bitfld.long 0x10 18. "  ,PE1 BUSMASTER_VCO Interrupt" "Negative,Positive"
bitfld.long 0x14 18. "  ,PE1 BUSMASTER_VCO Interrupt" "Level,Edge"
bitfld.long 0x18 18. "     ,PE1 BUSMASTER_VCO Interrupt" "-,Occurred"
textline "   PE1DCR     "
eventfld.long 0x00 17. " ,PE1 DCR interface Error Interrupt" "-,Occurred"
bitfld.long 0x04 17. "  ,PE1 DCR interface Error Interrupt" "-,Set"
bitfld.long 0x08 17. "        ,PE1 DCR interface Error Interrupt" "-,Enabled"
bitfld.long 0x0c 17. "   ,PE1 DCR interface Error Interrupt" "-,Critical"
bitfld.long 0x10 17. "  ,PE1 DCR interface Error Interrupt" "Negative,Positive"
bitfld.long 0x14 17. "  ,PE1 DCR interface Error Interrupt" "Level,Edge"
bitfld.long 0x18 17. "     ,PE1 DCR interface Error Interrupt" "-,Occurred"
textline "   PE2AL      "
eventfld.long 0x00 15. " ,PE2 AL Interrupt" "-,Occurred"
bitfld.long 0x04 15. "  ,PE2 AL Interrupt" "-,Set"
bitfld.long 0x08 15. "        ,PE2 AL Interrupt" "-,Enabled"
bitfld.long 0x0c 15. "   ,PE2 AL Interrupt" "-,Critical"
bitfld.long 0x10 15. "  ,PE2 AL Interrupt" "Negative,Positive"
bitfld.long 0x14 15. "  ,PE2 AL Interrupt" "Level,Edge"
bitfld.long 0x18 15. "     ,PE2 AL Interrupt" "-,Occurred"
textline "   PE2VPD     "
eventfld.long 0x00 14. " ,PE2 VPD Access Interrupt" "-,Occurred"
bitfld.long 0x04 14. "  ,PE2 VPD Access Interrupt" "-,Set"
bitfld.long 0x08 14. "        ,PE2 VPD Access Interrupt" "-,Enabled"
bitfld.long 0x0c 14. "   ,PE2 VPD Access Interrupt" "-,Critical"
bitfld.long 0x10 14. "  ,PE2 VPD Access Interrupt" "Negative,Positive"
bitfld.long 0x14 14. "  ,PE2 VPD Access Interrupt" "Level,Edge"
bitfld.long 0x18 14. "     ,PE2 VPD Access Interrupt" "-,Occurred"
textline "   PE2HRR     "
eventfld.long 0x00 13. " ,PE2 Hot Reset Rising Edge Interrupt" "-,Occurred"
bitfld.long 0x04 13. "  ,PE2 Hot Reset Rising Edge Interrupt" "-,Set"
bitfld.long 0x08 13. "        ,PE2 Hot Reset Rising Edge Interrupt" "-,Enabled"
bitfld.long 0x0c 13. "   ,PE2 Hot Reset Rising Edge Interrupt" "-,Critical"
bitfld.long 0x10 13. "  ,PE2 Hot Reset Rising Edge Interrupt" "Negative,Positive"
bitfld.long 0x14 13. "  ,PE2 Hot Reset Rising Edge Interrupt" "Level,Edge"
bitfld.long 0x18 13. "     ,PE2 Hot Reset Rising Edge Interrupt" "-,Occurred"
textline "   PE2HRF     "
eventfld.long 0x00 12. " ,PE2 Hot Reset Falling Edge Interrupt" "-,Occurred"
bitfld.long 0x04 12. "  ,PE2 Hot Reset Falling Edge Interrupt" "-,Set"
bitfld.long 0x08 12. "        ,PE2 Hot Reset Falling Edge Interrupt" "-,Enabled"
bitfld.long 0x0c 12. "   ,PE2 Hot Reset Falling Edge Interrupt" "-,Critical"
bitfld.long 0x10 12. "  ,PE2 Hot Reset Falling Edge Interrupt" "Negative,Positive"
bitfld.long 0x14 12. "  ,PE2 Hot Reset Falling Edge Interrupt" "Level,Edge"
bitfld.long 0x18 12. "     ,PE2 Hot Reset Falling Edge Interrupt" "-,Occurred"
textline "   PE2TCR     "
eventfld.long 0x00 11. " ,PE2 TCR Interrupt" "-,Occurred"
bitfld.long 0x04 11. "  ,PE2 TCR Interrupt" "-,Set"
bitfld.long 0x08 11. "        ,PE2 TCR Interrupt" "-,Enabled"
bitfld.long 0x0c 11. "   ,PE2 TCR Interrupt" "-,Critical"
bitfld.long 0x10 11. "  ,PE2 TCR Interrupt" "Negative,Positive"
bitfld.long 0x14 11. "  ,PE2 TCR Interrupt" "Level,Edge"
bitfld.long 0x18 11. "     ,PE2 TCR Interrupt" "-,Occurred"
textline "   PE2BMV     "
eventfld.long 0x00 10. " ,PE2 BUSMASTER_VCO Interrupt" "-,Occurred"
bitfld.long 0x04 10. "  ,PE2 BUSMASTER_VCO Interrupt" "-,Set"
bitfld.long 0x08 10. "        ,PE2 BUSMASTER_VCO Interrupt" "-,Enabled"
bitfld.long 0x0c 10. "   ,PE2 BUSMASTER_VCO Interrupt" "-,Critical"
bitfld.long 0x10 10. "  ,PE2 BUSMASTER_VCO Interrupt" "Negative,Positive"
bitfld.long 0x14 10. "  ,PE2 BUSMASTER_VCO Interrupt" "Level,Edge"
bitfld.long 0x18 10. "     ,PE2 BUSMASTER_VCO Interrupt" "-,Occurred"
textline "   PE2DCR     "
eventfld.long 0x00 09. " ,PE2 DCR interface Error Interrupt" "-,Occurred"
bitfld.long 0x04 09. "  ,PE2 DCR interface Error Interrupt" "-,Set"
bitfld.long 0x08 09. "        ,PE2 DCR interface Error Interrupt" "-,Enabled"
bitfld.long 0x0c 09. "   ,PE2 DCR interface Error Interrupt" "-,Critical"
bitfld.long 0x10 09. "  ,PE2 DCR interface Error Interrupt" "Negative,Positive"
bitfld.long 0x14 09. "  ,PE2 DCR interface Error Interrupt" "Level,Edge"
bitfld.long 0x18 09. "     ,PE2 DCR interface Error Interrupt" "-,Occurred"
textline "   EIR5       "
eventfld.long 0x00 07. " ,External IRQ 5 Interrupt" "-,Occurred"
bitfld.long 0x04 07. "  ,External IRQ 5 Interrupt" "-,Set"
bitfld.long 0x08 07. "        ,External IRQ 5 Interrupt" "-,Enabled"
bitfld.long 0x0c 07. "   ,External IRQ 5 Interrupt" "-,Critical"
bitfld.long 0x10 07. "  ,External IRQ 5 Interrupt" "Negative,Positive"
bitfld.long 0x14 07. "  ,External IRQ 5 Interrupt" "Level,Edge"
bitfld.long 0x18 07. "     ,External IRQ 5 Interrupt" "-,Occurred"
textline "   EIR4       "
eventfld.long 0x00 06. " ,External IRQ 4 Interrupt" "-,Occurred"
bitfld.long 0x04 06. "  ,External IRQ 4 Interrupt" "-,Set"
bitfld.long 0x08 06. "        ,External IRQ 4 Interrupt" "-,Enabled"
bitfld.long 0x0c 06. "   ,External IRQ 4 Interrupt" "-,Critical"
bitfld.long 0x10 06. "  ,External IRQ 4 Interrupt" "Negative,Positive"
bitfld.long 0x14 06. "  ,External IRQ 4 Interrupt" "Level,Edge"
bitfld.long 0x18 06. "     ,External IRQ 4 Interrupt" "-,Occurred"
textline "   EIR3       "
eventfld.long 0x00 05. " ,External IRQ 3 Interrupt" "-,Occurred"
bitfld.long 0x04 05. "  ,External IRQ 3 Interrupt" "-,Set"
bitfld.long 0x08 05. "        ,External IRQ 3 Interrupt" "-,Enabled"
bitfld.long 0x0c 05. "   ,External IRQ 3 Interrupt" "-,Critical"
bitfld.long 0x10 05. "  ,External IRQ 3 Interrupt" "Negative,Positive"
bitfld.long 0x14 05. "  ,External IRQ 3 Interrupt" "Level,Edge"
bitfld.long 0x18 05. "     ,External IRQ 3 Interrupt" "-,Occurred"
textline "   EIR2       "
eventfld.long 0x00 04. " ,External IRQ 2 Interrupt" "-,Occurred"
bitfld.long 0x04 04. "  ,External IRQ 2 Interrupt" "-,Set"
bitfld.long 0x08 04. "        ,External IRQ 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 04. "   ,External IRQ 2 Interrupt" "-,Critical"
bitfld.long 0x10 04. "  ,External IRQ 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 04. "  ,External IRQ 2 Interrupt" "Level,Edge"
bitfld.long 0x18 04. "     ,External IRQ 2 Interrupt" "-,Occurred"
textline "   EIR1       "
eventfld.long 0x00 03. " ,External IRQ 1 Interrupt" "-,Occurred"
bitfld.long 0x04 03. "  ,External IRQ 1 Interrupt" "-,Set"
bitfld.long 0x08 03. "        ,External IRQ 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 03. "   ,External IRQ 1 Interrupt" "-,Critical"
bitfld.long 0x10 03. "  ,External IRQ 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 03. "  ,External IRQ 1 Interrupt" "Level,Edge"
bitfld.long 0x18 03. "     ,External IRQ 1 Interrupt" "-,Occurred"
textline "   EIR0       "
eventfld.long 0x00 02. " ,External IRQ 0 Interrupt" "-,Occurred"
bitfld.long 0x04 02. "  ,External IRQ 0 Interrupt" "-,Set"
bitfld.long 0x08 02. "        ,External IRQ 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 02. "   ,External IRQ 0 Interrupt" "-,Critical"
bitfld.long 0x10 02. "  ,External IRQ 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 02. "  ,External IRQ 0 Interrupt" "Level,Edge"
bitfld.long 0x18 02. "     ,External IRQ 0 Interrupt" "-,Occurred"
textline "         "
wgroup.long dcr:0x0e8--0x0e8
line.long 0x00 "UIC2_VCR,UIC Vector Configuration Register 1"
hexmask.long 0x00 2.--31. 1. " VBA ,Vector Base Address"
bitfld.long 0x00 0. "  PRO ,Priority Ordering" "UIC0_SR[31] highest,UIC0_SR[0] highest"
rgroup.long dcr:0x0e7--0x0e7
line.long 0x00 "UIC2_VR,UIC Vector Register 0"
hexmask.long 0x00 0.--31. 1. " VR  ,Interrupt Vector"  
tree.end
tree "UIC3"
group.long dcr:0x0F0--0x0F6
textline "              UIC3_SR   UIC3_SSR   UIC3_ER   UIC3_CR   UIC3_PR   UIC3_TR   UIC3_MSR"
textline "         "
hexmask.long 0x00 00.--31. 1. "     ,UIC3 Status Register"
hexmask.long 0x04 00.--31. 1. "  ,UIC3 Status Set Register"
hexmask.long 0x08 00.--31. 1. "   ,UIC3 Enable Register"
hexmask.long 0x0c 00.--31. 1. "  ,UIC3 Critical Register"
hexmask.long 0x10 00.--31. 1. "  ,UIC3 Polarity Register"
hexmask.long 0x14 00.--31. 1. "  ,UIC3 Trigger Register"
hexmask.long 0x18 00.--31. 1. "  ,UIC3 Masked Status Register"
textline "   PE0IA     "
eventfld.long 0x00 31. " ,PE0 Interrupt A" "-,Occurred"
bitfld.long 0x04 31. "  ,PE0 Interrupt A" "-,Set"
bitfld.long 0x08 31. "        ,PE0 Interrupt A" "-,Enabled"
bitfld.long 0x0c 31. "   ,PE0 Interrupt A" "-,Critical"
bitfld.long 0x10 31. "  ,PE0 Interrupt A" "Negative,Positive"
bitfld.long 0x14 31. "  ,PE0 Interrupt A" "Level,Edge"
bitfld.long 0x18 31. "     ,PE0 Interrupt A" "-,Occurred"
textline "   PE0IB     "
eventfld.long 0x00 30. " ,PE0 Interrupt B" "-,Occurred"
bitfld.long 0x04 30. "  ,PE0 Interrupt B" "-,Set"
bitfld.long 0x08 30. "        ,PE0 Interrupt B" "-,Enabled"
bitfld.long 0x0c 30. "   ,PE0 Interrupt B" "-,Critical"
bitfld.long 0x10 30. "  ,PE0 Interrupt B" "Negative,Positive"
bitfld.long 0x14 30. "  ,PE0 Interrupt B" "Level,Edge"
bitfld.long 0x18 30. "     ,PE0 Interrupt B" "-,Occurred"
textline "   PE0IC     "
eventfld.long 0x00 29. " ,PE0 Interrupt C" "-,Occurred"
bitfld.long 0x04 29. "  ,PE0 Interrupt C" "-,Set"
bitfld.long 0x08 29. "        ,PE0 Interrupt C" "-,Enabled"
bitfld.long 0x0c 29. "   ,PE0 Interrupt C" "-,Critical"
bitfld.long 0x10 29. "  ,PE0 Interrupt C" "Negative,Positive"
bitfld.long 0x14 29. "  ,PE0 Interrupt C" "Level,Edge"
bitfld.long 0x18 29. "     ,PE0 Interrupt C" "-,Occurred"
textline "   PE0ID     "
eventfld.long 0x00 28. " ,PE0 Interrupt D" "-,Occurred"
bitfld.long 0x04 28. "  ,PE0 Interrupt D" "-,Set"
bitfld.long 0x08 28. "        ,PE0 Interrupt D" "-,Enabled"
bitfld.long 0x0c 28. "   ,PE0 Interrupt D" "-,Critical"
bitfld.long 0x10 28. "  ,PE0 Interrupt D" "Negative,Positive"
bitfld.long 0x14 28. "  ,PE0 Interrupt D" "Level,Edge"
bitfld.long 0x18 28. "     ,PE0 Interrupt D" "-,Occurred"
textline "   PE1IA     "
eventfld.long 0x00 27. " ,PE1 Interrupt A" "-,Occurred"
bitfld.long 0x04 27. "  ,PE1 Interrupt A" "-,Set"
bitfld.long 0x08 27. "        ,PE1 Interrupt A" "-,Enabled"
bitfld.long 0x0c 27. "   ,PE1 Interrupt A" "-,Critical"
bitfld.long 0x10 27. "  ,PE1 Interrupt A" "Negative,Positive"
bitfld.long 0x14 27. "  ,PE1 Interrupt A" "Level,Edge"
bitfld.long 0x18 27. "     ,PE1 Interrupt A" "-,Occurred"
textline "   PE1IB     "
eventfld.long 0x00 26. " ,PE1 Interrupt B" "-,Occurred"
bitfld.long 0x04 26. "  ,PE1 Interrupt B" "-,Set"
bitfld.long 0x08 26. "        ,PE1 Interrupt B" "-,Enabled"
bitfld.long 0x0c 26. "   ,PE1 Interrupt B" "-,Critical"
bitfld.long 0x10 26. "  ,PE1 Interrupt B" "Negative,Positive"
bitfld.long 0x14 26. "  ,PE1 Interrupt B" "Level,Edge"
bitfld.long 0x18 26. "     ,PE1 Interrupt B" "-,Occurred"
textline "   PE1IC     "
eventfld.long 0x00 25. " ,PE1 Interrupt C" "-,Occurred"
bitfld.long 0x04 25. "  ,PE1 Interrupt C" "-,Set"
bitfld.long 0x08 25. "        ,PE1 Interrupt C" "-,Enabled"
bitfld.long 0x0c 25. "   ,PE1 Interrupt C" "-,Critical"
bitfld.long 0x10 25. "  ,PE1 Interrupt C" "Negative,Positive"
bitfld.long 0x14 25. "  ,PE1 Interrupt C" "Level,Edge"
bitfld.long 0x18 25. "     ,PE1 Interrupt C" "-,Occurred"
textline "   PE1ID     "
eventfld.long 0x00 24. " ,PE1 Interrupt D" "-,Occurred"
bitfld.long 0x04 24. "  ,PE1 Interrupt D" "-,Set"
bitfld.long 0x08 24. "        ,PE1 Interrupt D" "-,Enabled"
bitfld.long 0x0c 24. "   ,PE1 Interrupt D" "-,Critical"
bitfld.long 0x10 24. "  ,PE1 Interrupt D" "Negative,Positive"
bitfld.long 0x14 24. "  ,PE1 Interrupt D" "Level,Edge"
bitfld.long 0x18 24. "     ,PE1 Interrupt D" "-,Occurred"
textline "   PE2IA     "
eventfld.long 0x00 23. " ,PE2 Interrupt A" "-,Occurred"
bitfld.long 0x04 23. "  ,PE2 Interrupt A" "-,Set"
bitfld.long 0x08 23. "        ,PE2 Interrupt A" "-,Enabled"
bitfld.long 0x0c 23. "   ,PE2 Interrupt A" "-,Critical"
bitfld.long 0x10 23. "  ,PE2 Interrupt A" "Negative,Positive"
bitfld.long 0x14 23. "  ,PE2 Interrupt A" "Level,Edge"
bitfld.long 0x18 23. "     ,PE2 Interrupt A" "-,Occurred"
textline "   PE2IB     "
eventfld.long 0x00 22. " ,PE2 Interrupt B" "-,Occurred"
bitfld.long 0x04 22. "  ,PE2 Interrupt B" "-,Set"
bitfld.long 0x08 22. "        ,PE2 Interrupt B" "-,Enabled"
bitfld.long 0x0c 22. "   ,PE2 Interrupt B" "-,Critical"
bitfld.long 0x10 22. "  ,PE2 Interrupt B" "Negative,Positive"
bitfld.long 0x14 22. "  ,PE2 Interrupt B" "Level,Edge"
bitfld.long 0x18 22. "     ,PE2 Interrupt B" "-,Occurred"
textline "   PE2IC     "
eventfld.long 0x00 21. " ,PE2 Interrupt C" "-,Occurred"
bitfld.long 0x04 21. "  ,PE2 Interrupt C" "-,Set"
bitfld.long 0x08 21. "        ,PE2 Interrupt C" "-,Enabled"
bitfld.long 0x0c 21. "   ,PE2 Interrupt C" "-,Critical"
bitfld.long 0x10 21. "  ,PE2 Interrupt C" "Negative,Positive"
bitfld.long 0x14 21. "  ,PE2 Interrupt C" "Level,Edge"
bitfld.long 0x18 21. "     ,PE2 Interrupt C" "-,Occurred"
textline "   PE2ID     "
eventfld.long 0x00 20. " ,PE2 Interrupt D" "-,Occurred"
bitfld.long 0x04 20. "  ,PE2 Interrupt D" "-,Set"
bitfld.long 0x08 20. "        ,PE2 Interrupt D" "-,Enabled"
bitfld.long 0x0c 20. "   ,PE2 Interrupt D" "-,Critical"
bitfld.long 0x10 20. "  ,PE2 Interrupt D" "Negative,Positive"
bitfld.long 0x14 20. "  ,PE2 Interrupt D" "Level,Edge"
bitfld.long 0x18 20. "     ,PE2 Interrupt D" "-,Occurred"
textline "   PEMSI4    "
eventfld.long 0x00 19. " ,PCI Express MSI Level 4 Interrupt" "-,Occurred"
bitfld.long 0x04 19. "  ,PCI Express MSI Level 4 Interrupt" "-,Set"
bitfld.long 0x08 19. "        ,PCI Express MSI Level 4 Interrupt" "-,Enabled"
bitfld.long 0x0c 19. "   ,PCI Express MSI Level 4 Interrupt" "-,Critical"
bitfld.long 0x10 19. "  ,PCI Express MSI Level 4 Interrupt" "Negative,Positive"
bitfld.long 0x14 19. "  ,PCI Express MSI Level 4 Interrupt" "Level,Edge"
bitfld.long 0x18 19. "     ,PCI Express MSI Level 4 Interrupt" "-,Occurred"
textline "   PEMSI5    "
eventfld.long 0x00 18. " ,PCI Express MSI Level 5 Interrupt" "-,Occurred"
bitfld.long 0x04 18. "  ,PCI Express MSI Level 5 Interrupt" "-,Set"
bitfld.long 0x08 18. "        ,PCI Express MSI Level 5 Interrupt" "-,Enabled"
bitfld.long 0x0c 18. "   ,PCI Express MSI Level 5 Interrupt" "-,Critical"
bitfld.long 0x10 18. "  ,PCI Express MSI Level 5 Interrupt" "Negative,Positive"
bitfld.long 0x14 18. "  ,PCI Express MSI Level 5 Interrupt" "Level,Edge"
bitfld.long 0x18 18. "     ,PCI Express MSI Level 5 Interrupt" "-,Occurred"
textline "   PEMSI6    "
eventfld.long 0x00 17. " ,PCI Express MSI Level 6 Interrupt" "-,Occurred"
bitfld.long 0x04 17. "  ,PCI Express MSI Level 6 Interrupt" "-,Set"
bitfld.long 0x08 17. "        ,PCI Express MSI Level 6 Interrupt" "-,Enabled"
bitfld.long 0x0c 17. "   ,PCI Express MSI Level 6 Interrupt" "-,Critical"
bitfld.long 0x10 17. "  ,PCI Express MSI Level 6 Interrupt" "Negative,Positive"
bitfld.long 0x14 17. "  ,PCI Express MSI Level 6 Interrupt" "Level,Edge"
bitfld.long 0x18 17. "     ,PCI Express MSI Level 6 Interrupt" "-,Occurred"
textline "   PEMSI7    "
eventfld.long 0x00 16. " ,PCI Express MSI Level 7 Interrupt" "-,Occurred"
bitfld.long 0x04 16. "  ,PCI Express MSI Level 7 Interrupt" "-,Set"
bitfld.long 0x08 16. "        ,PCI Express MSI Level 7 Interrupt" "-,Enabled"
bitfld.long 0x0c 16. "   ,PCI Express MSI Level 7 Interrupt" "-,Critical"
bitfld.long 0x10 16. "  ,PCI Express MSI Level 7 Interrupt" "Negative,Positive"
bitfld.long 0x14 16. "  ,PCI Express MSI Level 7 Interrupt" "Level,Edge"
bitfld.long 0x18 16. "     ,PCI Express MSI Level 7 Interrupt" "-,Occurred"
textline "   PEMSI8    "
eventfld.long 0x00 15. " ,PCI Express MSI Level 8 Interrupt" "-,Occurred"
bitfld.long 0x04 15. "  ,PCI Express MSI Level 8 Interrupt" "-,Set"
bitfld.long 0x08 15. "        ,PCI Express MSI Level 8 Interrupt" "-,Enabled"
bitfld.long 0x0c 15. "   ,PCI Express MSI Level 8 Interrupt" "-,Critical"
bitfld.long 0x10 15. "  ,PCI Express MSI Level 8 Interrupt" "Negative,Positive"
bitfld.long 0x14 15. "  ,PCI Express MSI Level 8 Interrupt" "Level,Edge"
bitfld.long 0x18 15. "     ,PCI Express MSI Level 8 Interrupt" "-,Occurred"
textline "   PEMSI9    "
eventfld.long 0x00 14. " ,PCI Express MSI Level 9 Interrupt" "-,Occurred"
bitfld.long 0x04 14. "  ,PCI Express MSI Level 9 Interrupt" "-,Set"
bitfld.long 0x08 14. "        ,PCI Express MSI Level 9 Interrupt" "-,Enabled"
bitfld.long 0x0c 14. "   ,PCI Express MSI Level 9 Interrupt" "-,Critical"
bitfld.long 0x10 14. "  ,PCI Express MSI Level 9 Interrupt" "Negative,Positive"
bitfld.long 0x14 14. "  ,PCI Express MSI Level 9 Interrupt" "Level,Edge"
bitfld.long 0x18 14. "     ,PCI Express MSI Level 9 Interrupt" "-,Occurred"
textline "   PEMSI10   "
eventfld.long 0x00 13. " ,PCI Express MSI Level 10 Interrupt" "-,Occurred"
bitfld.long 0x04 13. "  ,PCI Express MSI Level 10 Interrupt" "-,Set"
bitfld.long 0x08 13. "        ,PCI Express MSI Level 10 Interrupt" "-,Enabled"
bitfld.long 0x0c 13. "   ,PCI Express MSI Level 10 Interrupt" "-,Critical"
bitfld.long 0x10 13. "  ,PCI Express MSI Level 10 Interrupt" "Negative,Positive"
bitfld.long 0x14 13. "  ,PCI Express MSI Level 10 Interrupt" "Level,Edge"
bitfld.long 0x18 13. "     ,PCI Express MSI Level 10 Interrupt" "-,Occurred"
textline "   PEMSI11   "
eventfld.long 0x00 12. " ,PCI Express MSI Level 11 Interrupt" "-,Occurred"
bitfld.long 0x04 12. "  ,PCI Express MSI Level 11 Interrupt" "-,Set"
bitfld.long 0x08 12. "        ,PCI Express MSI Level 11 Interrupt" "-,Enabled"
bitfld.long 0x0c 12. "   ,PCI Express MSI Level 11 Interrupt" "-,Critical"
bitfld.long 0x10 12. "  ,PCI Express MSI Level 11 Interrupt" "Negative,Positive"
bitfld.long 0x14 12. "  ,PCI Express MSI Level 11 Interrupt" "Level,Edge"
bitfld.long 0x18 12. "     ,PCI Express MSI Level 11 Interrupt" "-,Occurred"
textline "   PEMSI12   "
eventfld.long 0x00 11. " ,PCI Express MSI Level 12 Interrupt" "-,Occurred"
bitfld.long 0x04 11. "  ,PCI Express MSI Level 12 Interrupt" "-,Set"
bitfld.long 0x08 11. "        ,PCI Express MSI Level 12 Interrupt" "-,Enabled"
bitfld.long 0x0c 11. "   ,PCI Express MSI Level 12 Interrupt" "-,Critical"
bitfld.long 0x10 11. "  ,PCI Express MSI Level 12 Interrupt" "Negative,Positive"
bitfld.long 0x14 11. "  ,PCI Express MSI Level 12 Interrupt" "Level,Edge"
bitfld.long 0x18 11. "     ,PCI Express MSI Level 12 Interrupt" "-,Occurred"
textline "   PEMSI13   "
eventfld.long 0x00 10. " ,PCI Express MSI Level 13 Interrupt" "-,Occurred"
bitfld.long 0x04 10. "  ,PCI Express MSI Level 13 Interrupt" "-,Set"
bitfld.long 0x08 10. "        ,PCI Express MSI Level 13 Interrupt" "-,Enabled"
bitfld.long 0x0c 10. "   ,PCI Express MSI Level 13 Interrupt" "-,Critical"
bitfld.long 0x10 10. "  ,PCI Express MSI Level 13 Interrupt" "Negative,Positive"
bitfld.long 0x14 10. "  ,PCI Express MSI Level 13 Interrupt" "Level,Edge"
bitfld.long 0x18 10. "     ,PCI Express MSI Level 13 Interrupt" "-,Occurred"
textline "   PEMSI14   "
eventfld.long 0x00 09. " ,PCI Express MSI Level 14 Interrupt" "-,Occurred"
bitfld.long 0x04 09. "  ,PCI Express MSI Level 14 Interrupt" "-,Set"
bitfld.long 0x08 09. "        ,PCI Express MSI Level 14 Interrupt" "-,Enabled"
bitfld.long 0x0c 09. "   ,PCI Express MSI Level 14 Interrupt" "-,Critical"
bitfld.long 0x10 09. "  ,PCI Express MSI Level 14 Interrupt" "Negative,Positive"
bitfld.long 0x14 09. "  ,PCI Express MSI Level 14 Interrupt" "Level,Edge"
bitfld.long 0x18 09. "     ,PCI Express MSI Level 14 Interrupt" "-,Occurred"
textline "   PEMSI15   "
eventfld.long 0x00 08. " ,PCI Express MSI Level 15 Interrupt" "-,Occurred"
bitfld.long 0x04 08. "  ,PCI Express MSI Level 15 Interrupt" "-,Set"
bitfld.long 0x08 08. "        ,PCI Express MSI Level 15 Interrupt" "-,Enabled"
bitfld.long 0x0c 08. "   ,PCI Express MSI Level 15 Interrupt" "-,Critical"
bitfld.long 0x10 08. "  ,PCI Express MSI Level 15 Interrupt" "Negative,Positive"
bitfld.long 0x14 08. "  ,PCI Express MSI Level 15 Interrupt" "Level,Edge"
bitfld.long 0x18 08. "     ,PCI Express MSI Level 15 Interrupt" "-,Occurred"
textline "   PEMSI16   "
eventfld.long 0x00 07. " ,PCI Express MSI Level 16 Interrupt" "-,Occurred"
bitfld.long 0x04 07. "  ,PCI Express MSI Level 16 Interrupt" "-,Set"
bitfld.long 0x08 07. "        ,PCI Express MSI Level 16 Interrupt" "-,Enabled"
bitfld.long 0x0c 07. "   ,PCI Express MSI Level 16 Interrupt" "-,Critical"
bitfld.long 0x10 07. "  ,PCI Express MSI Level 16 Interrupt" "Negative,Positive"
bitfld.long 0x14 07. "  ,PCI Express MSI Level 16 Interrupt" "Level,Edge"
bitfld.long 0x18 07. "     ,PCI Express MSI Level 16 Interrupt" "-,Occurred"
textline "   PEMSI17   "
eventfld.long 0x00 06. " ,PCI Express MSI Level 17 Interrupt" "-,Occurred"
bitfld.long 0x04 06. "  ,PCI Express MSI Level 17 Interrupt" "-,Set"
bitfld.long 0x08 06. "        ,PCI Express MSI Level 17 Interrupt" "-,Enabled"
bitfld.long 0x0c 06. "   ,PCI Express MSI Level 17 Interrupt" "-,Critical"
bitfld.long 0x10 06. "  ,PCI Express MSI Level 17 Interrupt" "Negative,Positive"
bitfld.long 0x14 06. "  ,PCI Express MSI Level 17 Interrupt" "Level,Edge"
bitfld.long 0x18 06. "     ,PCI Express MSI Level 17 Interrupt" "-,Occurred"
textline "   PEMSI18   "
eventfld.long 0x00 05. " ,PCI Express MSI Level 18 Interrupt" "-,Occurred"
bitfld.long 0x04 05. "  ,PCI Express MSI Level 18 Interrupt" "-,Set"
bitfld.long 0x08 05. "        ,PCI Express MSI Level 18 Interrupt" "-,Enabled"
bitfld.long 0x0c 05. "   ,PCI Express MSI Level 18 Interrupt" "-,Critical"
bitfld.long 0x10 05. "  ,PCI Express MSI Level 18 Interrupt" "Negative,Positive"
bitfld.long 0x14 05. "  ,PCI Express MSI Level 18 Interrupt" "Level,Edge"
bitfld.long 0x18 05. "     ,PCI Express MSI Level 18 Interrupt" "-,Occurred"
textline "   PEMSI19   "
eventfld.long 0x00 04. " ,PCI Express MSI Level 19 Interrupt" "-,Occurred"
bitfld.long 0x04 04. "  ,PCI Express MSI Level 19 Interrupt" "-,Set"
bitfld.long 0x08 04. "        ,PCI Express MSI Level 19 Interrupt" "-,Enabled"
bitfld.long 0x0c 04. "   ,PCI Express MSI Level 19 Interrupt" "-,Critical"
bitfld.long 0x10 04. "  ,PCI Express MSI Level 19 Interrupt" "Negative,Positive"
bitfld.long 0x14 04. "  ,PCI Express MSI Level 19 Interrupt" "Level,Edge"
bitfld.long 0x18 04. "     ,PCI Express MSI Level 19 Interrupt" "-,Occurred"
textline "   PEMSI20   "
eventfld.long 0x00 03. " ,PCI Express MSI Level 20 Interrupt" "-,Occurred"
bitfld.long 0x04 03. "  ,PCI Express MSI Level 20 Interrupt" "-,Set"
bitfld.long 0x08 03. "        ,PCI Express MSI Level 20 Interrupt" "-,Enabled"
bitfld.long 0x0c 03. "   ,PCI Express MSI Level 20 Interrupt" "-,Critical"
bitfld.long 0x10 03. "  ,PCI Express MSI Level 20 Interrupt" "Negative,Positive"
bitfld.long 0x14 03. "  ,PCI Express MSI Level 20 Interrupt" "Level,Edge"
bitfld.long 0x18 03. "     ,PCI Express MSI Level 20 Interrupt" "-,Occurred"
textline "   PEMSI21   "
eventfld.long 0x00 02. " ,PCI Express MSI Level 21 Interrupt" "-,Occurred"
bitfld.long 0x04 02. "  ,PCI Express MSI Level 21 Interrupt" "-,Set"
bitfld.long 0x08 02. "        ,PCI Express MSI Level 21 Interrupt" "-,Enabled"
bitfld.long 0x0c 02. "   ,PCI Express MSI Level 21 Interrupt" "-,Critical"
bitfld.long 0x10 02. "  ,PCI Express MSI Level 21 Interrupt" "Negative,Positive"
bitfld.long 0x14 02. "  ,PCI Express MSI Level 21 Interrupt" "Level,Edge"
bitfld.long 0x18 02. "     ,PCI Express MSI Level 21 Interrupt" "-,Occurred"
textline "   PEMSI22   "
eventfld.long 0x00 01. " ,PCI Express MSI Level 22 Interrupt" "-,Occurred"
bitfld.long 0x04 01. "  ,PCI Express MSI Level 22 Interrupt" "-,Set"
bitfld.long 0x08 01. "        ,PCI Express MSI Level 22 Interrupt" "-,Enabled"
bitfld.long 0x0c 01. "   ,PCI Express MSI Level 22 Interrupt" "-,Critical"
bitfld.long 0x10 01. "  ,PCI Express MSI Level 22 Interrupt" "Negative,Positive"
bitfld.long 0x14 01. "  ,PCI Express MSI Level 22 Interrupt" "Level,Edge"
bitfld.long 0x18 01. "     ,PCI Express MSI Level 22 Interrupt" "-,Occurred"
textline "   PEMSI23   "
eventfld.long 0x00 00. " ,PCI Express MSI Level 23 Interrupt" "-,Occurred"
bitfld.long 0x04 00. "  ,PCI Express MSI Level 23 Interrupt" "-,Set"
bitfld.long 0x08 00. "        ,PCI Express MSI Level 23 Interrupt" "-,Enabled"
bitfld.long 0x0c 00. "   ,PCI Express MSI Level 23 Interrupt" "-,Critical"
bitfld.long 0x10 00. "  ,PCI Express MSI Level 23 Interrupt" "Negative,Positive"
bitfld.long 0x14 00. "  ,PCI Express MSI Level 23 Interrupt" "Level,Edge"
bitfld.long 0x18 00. "     ,PCI Express MSI Level 23 Interrupt" "-,Occurred"
textline "         "
wgroup.long dcr:0x0f8--0x0f8
line.long 0x00 "UIC3_VCR,UIC Vector Configuration Register 1"
hexmask.long 0x00 2.--31. 1. " VBA ,Vector Base Address"
bitfld.long 0x00 0. "  PRO ,Priority Ordering" "UIC0_SR[31] highest,UIC0_SR[0] highest"
rgroup.long dcr:0x0f7--0x0f7
line.long 0x00 "UIC3_VR,UIC Vector Register 0"
hexmask.long 0x00 0.--31. 1. " VR  ,Interrupt Vector"  
tree.end
width 0x0B
elif (cpu()=="PPC440GP")
width 10.
tree "UIC0"
group.long dcr:0x0C0--0x0C6
textline "              UIC0_SR   UIC0_ER   UIC0_CR   UIC0_PR   UIC0_TR   UIC0_MSR"
textline "         "
hexmask.long 0x00 00.--31. 1. "     ,UIC0 Status Register"
hexmask.long 0x08 00.--31. 1. "  ,UIC0 Enable Register"
hexmask.long 0x0c 00.--31. 1. "  ,UIC0 Critical Register"
hexmask.long 0x10 00.--31. 1. "  ,UIC0 Polarity Register"
hexmask.long 0x14 00.--31. 1. "  ,UIC0 Trigger Register"
hexmask.long 0x18 00.--31. 1. "  ,UIC0 Masked Status Register"
textline "   U0        "
eventfld.long 0x00 31. " ,UART0 Interrupt" "-,Occurred"
bitfld.long 0x08 31. "  ,UART0 Interrupt" "-,Enabled"
bitfld.long 0x0c 31. "   ,UART0 Interrupt" "-,Critical"
bitfld.long 0x10 31. "  ,UART0 Interrupt" "Negative,Positive"
bitfld.long 0x14 31. "  ,UART0 Interrupt" "Level,Edge"
bitfld.long 0x18 31. "     ,UART0 Interrupt" "-,Occurred"
textline "   U1        "
eventfld.long 0x00 30. " ,UART1 Interrupt" "-,Occurred"
bitfld.long 0x08 30. "  ,UART1 Interrupt" "-,Enabled"
bitfld.long 0x0c 30. "   ,UART1 Interrupt" "-,Critical"
bitfld.long 0x10 30. "  ,UART1 Interrupt" "Negative,Positive"
bitfld.long 0x14 30. "  ,UART1 Interrupt" "Level,Edge"
bitfld.long 0x18 30. "     ,UART1 Interrupt" "-,Occurred"
textline "   IIC0      "
eventfld.long 0x00 29. " ,IIC0 Interrupt" "-,Occurred"
bitfld.long 0x08 29. "  ,IIC0 Interrupt" "-,Enabled"
bitfld.long 0x0c 29. "   ,IIC0 Interrupt" "-,Critical"
bitfld.long 0x10 29. "  ,IIC0 Interrupt" "Negative,Positive"
bitfld.long 0x14 29. "  ,IIC0 Interrupt" "Level,Edge"
bitfld.long 0x18 29. "     ,IIC0 Interrupt" "-,Occurred"
textline "   IIC1      "
eventfld.long 0x00 28. " ,IIC1 Interrupt" "-,Occurred"
bitfld.long 0x08 28. "  ,IIC1 Interrupt" "-,Enabled"
bitfld.long 0x0c 28. "   ,IIC1 Interrupt" "-,Critical"
bitfld.long 0x10 28. "  ,IIC1 Interrupt" "Negative,Positive"
bitfld.long 0x14 28. "  ,IIC1 Interrupt" "Level,Edge"
bitfld.long 0x18 28. "     ,IIC1 Interrupt" "-,Occurred"
textline "   PIM       "
eventfld.long 0x00 27. " ,PCI Inbound Message Interrupt" "-,Occurred"
bitfld.long 0x08 27. "  ,PCI Inbound Message Interrupt" "-,Enabled"
bitfld.long 0x0c 27. "   ,PCI Inbound Message Interrupt" "-,Critical"
bitfld.long 0x10 27. "  ,PCI Inbound Message Interrupt" "Negative,Positive"
bitfld.long 0x14 27. "  ,PCI Inbound Message Interrupt" "Level,Edge"
bitfld.long 0x18 27. "     ,PCI Inbound Message Interrupt" "-,Occurred"
textline "   PCRW      "
eventfld.long 0x00 26. " ,PCI Command Register Write Interrupt" "-,Occurred"
bitfld.long 0x08 26. "  ,PCI Command Register Write Interrupt" "-,Enabled"
bitfld.long 0x0c 26. "   ,PCI Command Register Write Interrupt" "-,Critical"
bitfld.long 0x10 26. "  ,PCI Command Register Write Interrupt" "Negative,Positive"
bitfld.long 0x14 26. "  ,PCI Command Register Write Interrupt" "Level,Edge"
bitfld.long 0x18 26. "     ,PCI Command Register Write Interrupt" "-,Occurred"
textline "   PPM       "
eventfld.long 0x00 25. " ,PCI Power Management Interrupt" "-,Occurred"
bitfld.long 0x08 25. "  ,PCI Power Management Interrupt" "-,Enabled"
bitfld.long 0x0c 25. "   ,PCI Power Management Interrupt" "-,Critical"
bitfld.long 0x10 25. "  ,PCI Power Management Interrupt" "Negative,Positive"
bitfld.long 0x14 25. "  ,PCI Power Management Interrupt" "Level,Edge"
bitfld.long 0x18 25. "     ,PCI Power Management Interrupt" "-,Occurred"
textline "   MSI0      "
eventfld.long 0x00 24. " ,PCI MSI Level 0 Interrupt" "-,Occurred"
bitfld.long 0x08 24. "  ,PCI MSI Level 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 24. "   ,PCI MSI Level 0 Interrupt" "-,Critical"
bitfld.long 0x10 24. "  ,PCI MSI Level 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 24. "  ,PCI MSI Level 0 Interrupt" "Level,Edge"
bitfld.long 0x18 24. "     ,PCI MSI Level 0 Interrupt" "-,Occurred"
textline "   MSI1      "
eventfld.long 0x00 23. " ,PCI MSI Level 1 Interrupt" "-,Occurred"
bitfld.long 0x08 23. "  ,PCI MSI Level 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 23. "   ,PCI MSI Level 1 Interrupt" "-,Critical"
bitfld.long 0x10 23. "  ,PCI MSI Level 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 23. "  ,PCI MSI Level 1 Interrupt" "Level,Edge"
bitfld.long 0x18 23. "     ,PCI MSI Level 1 Interrupt" "-,Occurred"
textline "   MSI2      "
eventfld.long 0x00 22. " ,PCI MSI Level 2 Interrupt" "-,Occurred"
bitfld.long 0x08 22. "  ,PCI MSI Level 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 22. "   ,PCI MSI Level 2 Interrupt" "-,Critical"
bitfld.long 0x10 22. "  ,PCI MSI Level 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 22. "  ,PCI MSI Level 2 Interrupt" "Level,Edge"
bitfld.long 0x18 22. "     ,PCI MSI Level 2 Interrupt" "-,Occurred"
textline "   MTE       "
eventfld.long 0x00 21. " ,MAL TX EOB Interrupt" "-,Occurred"
bitfld.long 0x08 21. "  ,MAL TX EOB Interrupt" "-,Enabled"
bitfld.long 0x0c 21. "   ,MAL TX EOB Interrupt" "-,Critical"
bitfld.long 0x10 21. "  ,MAL TX EOB Interrupt" "Negative,Positive"
bitfld.long 0x14 21. "  ,MAL TX EOB Interrupt" "Level,Edge"
bitfld.long 0x18 21. "     ,MAL TX EOB Interrupt" "-,Occurred"
textline "   MRE       "
eventfld.long 0x00 20. " ,MAL RX EOB Interrupt" "-,Occurred"
bitfld.long 0x08 20. "  ,MAL RX EOB Interrupt" "-,Enabled"
bitfld.long 0x0c 20. "   ,MAL RX EOB Interrupt" "-,Critical"
bitfld.long 0x10 20. "  ,MAL RX EOB Interrupt" "Negative,Positive"
bitfld.long 0x14 20. "  ,MAL RX EOB Interrupt" "Level,Edge"
bitfld.long 0x18 20. "     ,MAL RX EOB Interrupt" "-,Occurred"
textline "   D0        "
eventfld.long 0x00 19. " ,DMA Channel 0 Interrupt" "-,Occurred"
bitfld.long 0x08 19. "  ,DMA Channel 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 19. "   ,DMA Channel 0 Interrupt" "-,Critical"
bitfld.long 0x10 19. "  ,DMA Channel 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 19. "  ,DMA Channel 0 Interrupt" "Level,Edge"
bitfld.long 0x18 19. "     ,DMA Channel 0 Interrupt" "-,Occurred"
textline "   D1        "
eventfld.long 0x00 18. " ,DMA Channel 1 Interrupt" "-,Occurred"
bitfld.long 0x08 18. "  ,DMA Channel 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 18. "   ,DMA Channel 1 Interrupt" "-,Critical"
bitfld.long 0x10 18. "  ,DMA Channel 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 18. "  ,DMA Channel 1 Interrupt" "Level,Edge"
bitfld.long 0x18 18. "     ,DMA Channel 1 Interrupt" "-,Occurred"
textline "   D2        "
eventfld.long 0x00 17. " ,DMA Channel 2 Interrupt" "-,Occurred"
bitfld.long 0x08 17. "  ,DMA Channel 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 17. "   ,DMA Channel 2 Interrupt" "-,Critical"
bitfld.long 0x10 17. "  ,DMA Channel 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 17. "  ,DMA Channel 2 Interrupt" "Level,Edge"
bitfld.long 0x18 17. "     ,DMA Channel 2 Interrupt" "-,Occurred"
textline "   D3        "
eventfld.long 0x00 16. " ,DMA Channel 3 Interrupt" "-,Occurred"
bitfld.long 0x08 16. "  ,DMA Channel 3 Interrupt" "-,Enabled"
bitfld.long 0x0c 16. "   ,DMA Channel 3 Interrupt" "-,Critical"
bitfld.long 0x10 16. "  ,DMA Channel 3 Interrupt" "Negative,Positive"
bitfld.long 0x14 16. "  ,DMA Channel 3 Interrupt" "Level,Edge"
bitfld.long 0x18 16. "     ,DMA Channel 3 Interrupt" "-,Occurred"
textline "   CT0       "
eventfld.long 0x00 13. " ,GPT Compare Timer 0 Interrupt" "-,Occurred"
bitfld.long 0x08 13. "  ,GPT Compare Timer 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 13. "   ,GPT Compare Timer 0 Interrupt" "-,Critical"
bitfld.long 0x10 13. "  ,GPT Compare Timer 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 13. "  ,GPT Compare Timer 0 Interrupt" "Level,Edge"
bitfld.long 0x18 13. "     ,GPT Compare Timer 0 Interrupt" "-,Occurred"
textline "   CT1       "
eventfld.long 0x00 12. " ,GPT Compare Timer 1 Interrupt" "-,Occurred"
bitfld.long 0x08 12. "  ,GPT Compare Timer 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 12. "   ,GPT Compare Timer 1 Interrupt" "-,Critical"
bitfld.long 0x10 12. "  ,GPT Compare Timer 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 12. "  ,GPT Compare Timer 1 Interrupt" "Level,Edge"
bitfld.long 0x18 12. "     ,GPT Compare Timer 1 Interrupt" "-,Occurred"
textline "   CT2       "
eventfld.long 0x00 11. " ,GPT Compare Timer 2 Interrupt" "-,Occurred"
bitfld.long 0x08 11. "  ,GPT Compare Timer 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 11. "   ,GPT Compare Timer 2 Interrupt" "-,Critical"
bitfld.long 0x10 11. "  ,GPT Compare Timer 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 11. "  ,GPT Compare Timer 2 Interrupt" "Level,Edge"
bitfld.long 0x18 11. "     ,GPT Compare Timer 2 Interrupt" "-,Occurred"
textline "   CT3       "
eventfld.long 0x00 10. " ,GPT Compare Timer 3 Interrupt" "-,Occurred"
bitfld.long 0x08 10. "  ,GPT Compare Timer 3 Interrupt" "-,Enabled"
bitfld.long 0x0c 10. "   ,GPT Compare Timer 3 Interrupt" "-,Critical"
bitfld.long 0x10 10. "  ,GPT Compare Timer 3 Interrupt" "Negative,Positive"
bitfld.long 0x14 10. "  ,GPT Compare Timer 3 Interrupt" "Level,Edge"
bitfld.long 0x18 10. "     ,GPT Compare Timer 3 Interrupt" "-,Occurred"
textline "   CT4       "
eventfld.long 0x00 09. " ,GPT Compare Timer 4 Interrupt" "-,Occurred"
bitfld.long 0x08 09. "  ,GPT Compare Timer 4 Interrupt" "-,Enabled"
bitfld.long 0x0c 09. "   ,GPT Compare Timer 4 Interrupt" "-,Critical"
bitfld.long 0x10 09. "  ,GPT Compare Timer 4 Interrupt" "Negative,Positive"
bitfld.long 0x14 09. "  ,GPT Compare Timer 4 Interrupt" "Level,Edge"
bitfld.long 0x18 09. "     ,GPT Compare Timer 4 Interrupt" "-,Occurred"
textline "   EIR0      "
eventfld.long 0x00 08. " ,External IRQ 0 Interrupt" "-,Occurred"
bitfld.long 0x08 08. "  ,External IRQ 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 08. "   ,External IRQ 0 Interrupt" "-,Critical"
bitfld.long 0x10 08. "  ,External IRQ 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 08. "  ,External IRQ 0 Interrupt" "Level,Edge"
bitfld.long 0x18 08. "     ,External IRQ 0 Interrupt" "-,Occurred"
textline "   EIR1      "
eventfld.long 0x00 07. " ,External IRQ 1 Interrupt" "-,Occurred"
bitfld.long 0x08 07. "  ,External IRQ 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 07. "   ,External IRQ 1 Interrupt" "-,Critical"
bitfld.long 0x10 07. "  ,External IRQ 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 07. "  ,External IRQ 1 Interrupt" "Level,Edge"
bitfld.long 0x18 07. "     ,External IRQ 1 Interrupt" "-,Occurred"
textline "   EIR2      "
eventfld.long 0x00 06. " ,External IRQ 2 Interrupt" "-,Occurred"
bitfld.long 0x08 06. "  ,External IRQ 2 Interrupt" "-,Enabled"
bitfld.long 0x0c 06. "   ,External IRQ 2 Interrupt" "-,Critical"
bitfld.long 0x10 06. "  ,External IRQ 2 Interrupt" "Negative,Positive"
bitfld.long 0x14 06. "  ,External IRQ 2 Interrupt" "Level,Edge"
bitfld.long 0x18 06. "     ,External IRQ 2 Interrupt" "-,Occurred"
textline "   EIR3      "
eventfld.long 0x00 05. " ,External IRQ 3 Interrupt" "-,Occurred"
bitfld.long 0x08 05. "  ,External IRQ 3 Interrupt" "-,Enabled"
bitfld.long 0x0c 05. "   ,External IRQ 3 Interrupt" "-,Critical"
bitfld.long 0x10 05. "  ,External IRQ 3 Interrupt" "Negative,Positive"
bitfld.long 0x14 05. "  ,External IRQ 3 Interrupt" "Level,Edge"
bitfld.long 0x18 05. "     ,External IRQ 3 Interrupt" "-,Occurred"
textline "   EIR4      "
eventfld.long 0x00 04. " ,External IRQ 4 Interrupt" "-,Occurred"
bitfld.long 0x08 04. "  ,External IRQ 4 Interrupt" "-,Enabled"
bitfld.long 0x0c 04. "   ,External IRQ 4 Interrupt" "-,Critical"
bitfld.long 0x10 04. "  ,External IRQ 4 Interrupt" "Negative,Positive"
bitfld.long 0x14 04. "  ,External IRQ 4 Interrupt" "Level,Edge"
bitfld.long 0x18 04. "     ,External IRQ 4 Interrupt" "-,Occurred"
textline "   EIR5      "
eventfld.long 0x00 03. " ,External IRQ 5 Interrupt" "-,Occurred"
bitfld.long 0x08 03. "  ,External IRQ 5 Interrupt" "-,Enabled"
bitfld.long 0x0c 03. "   ,External IRQ 5 Interrupt" "-,Critical"
bitfld.long 0x10 03. "  ,External IRQ 5 Interrupt" "Negative,Positive"
bitfld.long 0x14 03. "  ,External IRQ 5 Interrupt" "Level,Edge"
bitfld.long 0x18 03. "     ,External IRQ 5 Interrupt" "-,Occurred"
textline "   EIR6      "
eventfld.long 0x00 02. " ,External IRQ 6 Interrupt" "-,Occurred"
bitfld.long 0x08 02. "  ,External IRQ 6 Interrupt" "-,Enabled"
bitfld.long 0x0c 02. "   ,External IRQ 6 Interrupt" "-,Critical"
bitfld.long 0x10 02. "  ,External IRQ 6 Interrupt" "Negative,Positive"
bitfld.long 0x14 02. "  ,External IRQ 6 Interrupt" "Level,Edge"
bitfld.long 0x18 02. "     ,External IRQ 6 Interrupt" "-,Occurred"
textline "   UIC1NC    "
eventfld.long 0x00 01. " ,UIC1 Non-Critical Interrupt" "-,Occurred"
bitfld.long 0x08 01. "  ,UIC1 Non-Critical Interrupt" "-,Enabled"
bitfld.long 0x0c 01. "   ,UIC1 Non-Critical Interrupt" "-,Critical"
bitfld.long 0x10 01. "  ,UIC1 Non-Critical Interrupt" "Negative,Positive"
bitfld.long 0x14 01. "  ,UIC1 Non-Critical Interrupt" "Level,Edge"
bitfld.long 0x18 01. "     ,UIC1 Non-Critical Interrupt" "-,Occurred"
textline "   UIC1C     "
eventfld.long 0x00 00. " ,UIC1 Critical Interrupt" "-,Occurred"
bitfld.long 0x08 00. "  ,UIC1 Critical Interrupt" "-,Enabled"
bitfld.long 0x0c 00. "   ,UIC1 Critical Interrupt" "-,Critical"
bitfld.long 0x10 00. "  ,UIC1 Critical Interrupt" "Negative,Positive"
bitfld.long 0x14 00. "  ,UIC1 Critical Interrupt" "Level,Edge"
bitfld.long 0x18 00. "     ,UIC1 Critical Interrupt" "-,Occurred"
textline "         "
wgroup.long dcr:0x0c7++0x0
line.long 0x00 "UIC0_VCR,UIC 0 Vector Configuration Register"
hexmask.long 0x00 2.--31. 0x4 " VBA    ,Vector Base Address"
bitfld.long 0x00 0. "      PRO   ,Priority Ordering" "UIC0_SR[31],UIC0_SR[0]"
rgroup.long dcr:0x0c8++0x0
line.long 0x00 "UIC0_VR,UIC 0 Vector Register"
tree.end
tree "UIC1"
group.long dcr:0x0D0--0x0D6
textline "              UIC1_SR   UIC1_ER   UIC1_CR   UIC1_PR   UIC1_TR   UIC1_MSR"
textline "         "
hexmask.long 0x00 00.--31. 1. "     ,UIC1 Status Register"
hexmask.long 0x08 00.--31. 1. "  ,UIC1 Enable Register"
hexmask.long 0x0c 00.--31. 1. "  ,UIC1 Critical Register"
hexmask.long 0x10 00.--31. 1. "  ,UIC1 Polarity Register"
hexmask.long 0x14 00.--31. 1. "  ,UIC1 Trigger Register"
hexmask.long 0x18 00.--31. 1. "  ,UIC1 Masked Status Register"
textline "   MS        "
eventfld.long 0x00 31. " ,MAL SERR Interrupt" "-,Occurred"
bitfld.long 0x08 31. "  ,MAL SERR Interrupt" "-,Enabled"
bitfld.long 0x0c 31. "   ,MAL SERR Interrupt" "-,Critical"
bitfld.long 0x10 31. "  ,MAL SERR Interrupt" "Negative,Positive"
bitfld.long 0x14 31. "  ,MAL SERR Interrupt" "Level,Edge"
bitfld.long 0x18 31. "     ,MAL SERR Interrupt" "-,Occurred"
textline "   MTDE      "
eventfld.long 0x00 30. " ,MAL TXDE Interrupt" "-,Occurred"
bitfld.long 0x08 30. "  ,MAL TXDE Interrupt" "-,Enabled"
bitfld.long 0x0c 30. "   ,MAL TXDE Interrupt" "-,Critical"
bitfld.long 0x10 30. "  ,MAL TXDE Interrupt" "Negative,Positive"
bitfld.long 0x14 30. "  ,MAL TXDE Interrupt" "Level,Edge"
bitfld.long 0x18 30. "     ,MAL TXDE Interrupt" "-,Occurred"
textline "   MRDE      "
eventfld.long 0x00 29. " ,MAL RXDE Interrupt" "-,Occurred"
bitfld.long 0x08 29. "  ,MAL RXDE Interrupt" "-,Enabled"
bitfld.long 0x0c 29. "   ,MAL RXDE Interrupt" "-,Critical"
bitfld.long 0x10 29. "  ,MAL RXDE Interrupt" "Negative,Positive"
bitfld.long 0x14 29. "  ,MAL RXDE Interrupt" "Level,Edge"
bitfld.long 0x18 29. "     ,MAL RXDE Interrupt" "-,Occurred"
textline "   DEUE      "
eventfld.long 0x00 28. " ,DDRSDRAM ECC Uncorrectable Error Interrupt" "-,Occurred"
bitfld.long 0x08 28. "  ,DDRSDRAM ECC Uncorrectable Error Interrupt" "-,Enabled"
bitfld.long 0x0c 28. "   ,DDRSDRAM ECC Uncorrectable Error Interrupt" "-,Critical"
bitfld.long 0x10 28. "  ,DDRSDRAM ECC Uncorrectable Error Interrupt" "Negative,Positive"
bitfld.long 0x14 28. "  ,DDRSDRAM ECC Uncorrectable Error Interrupt" "Level,Edge"
bitfld.long 0x18 28. "     ,DDRSDRAM ECC Uncorrectable Error Interrupt" "-,Occurred"
textline "   DECE      "
eventfld.long 0x00 27. " ,DDRSDRAM ECC Correctable Error Interrupt" "-,Occurred"
bitfld.long 0x08 27. "  ,DDRSDRAM ECC Correctable Error Interrupt" "-,Enabled"
bitfld.long 0x0c 27. "   ,DDRSDRAM ECC Correctable Error Interrupt" "-,Critical"
bitfld.long 0x10 27. "  ,DDRSDRAM ECC Correctable Error Interrupt" "Negative,Positive"
bitfld.long 0x14 27. "  ,DDRSDRAM ECC Correctable Error Interrupt" "Level,Edge"
bitfld.long 0x18 27. "     ,DDRSDRAM ECC Correctable Error Interrupt" "-,Occurred"
textline "   EBCO      "
eventfld.long 0x00 26. " ,EBCO Interrupt" "-,Occurred"
bitfld.long 0x08 26. "  ,EBCO Interrupt" "-,Enabled"
bitfld.long 0x0c 26. "   ,EBCO Interrupt" "-,Critical"
bitfld.long 0x10 26. "  ,EBCO Interrupt" "Negative,Positive"
bitfld.long 0x14 26. "  ,EBCO Interrupt" "Level,Edge"
bitfld.long 0x18 26. "     ,EBCO Interrupt" "-,Occurred"
textline "   EBMI      "
eventfld.long 0x00 25. " ,EBMI Interrupt" "-,Occurred"
bitfld.long 0x08 25. "  ,EBMI Interrupt" "-,Enabled"
bitfld.long 0x0c 25. "   ,EBMI Interrupt" "-,Critical"
bitfld.long 0x10 25. "  ,EBMI Interrupt" "Negative,Positive"
bitfld.long 0x14 25. "  ,EBMI Interrupt" "Level,Edge"
bitfld.long 0x18 25. "     ,EBMI Interrupt" "-,Occurred"
textline "   OPB       "
eventfld.long 0x00 24. " ,OPB to PLB Bridge Interrupt" "-,Occurred"
bitfld.long 0x08 24. "  ,OPB to PLB Bridge Interrupt" "-,Enabled"
bitfld.long 0x0c 24. "   ,OPB to PLB Bridge Interrupt" "-,Critical"
bitfld.long 0x10 24. "  ,OPB to PLB Bridge Interrupt" "Negative,Positive"
bitfld.long 0x14 24. "  ,OPB to PLB Bridge Interrupt" "Level,Edge"
bitfld.long 0x18 24. "     ,OPB to PLB Bridge Interrupt" "-,Occurred"
textline "   MSI3      "
eventfld.long 0x00 23. " ,PCI MSI Level 3 Interrupt" "-,Occurred"
bitfld.long 0x08 23. "  ,PCI MSI Level 3 Interrupt" "-,Enabled"
bitfld.long 0x0c 23. "   ,PCI MSI Level 3 Interrupt" "-,Critical"
bitfld.long 0x10 23. "  ,PCI MSI Level 3 Interrupt" "Negative,Positive"
bitfld.long 0x14 23. "  ,PCI MSI Level 3 Interrupt" "Level,Edge"
bitfld.long 0x18 23. "     ,PCI MSI Level 3 Interrupt" "-,Occurred"
textline "   MSI4      "
eventfld.long 0x00 22. " ,PCI MSI Level 4 Interrupt" "-,Occurred"
bitfld.long 0x08 22. "  ,PCI MSI Level 4 Interrupt" "-,Enabled"
bitfld.long 0x0c 22. "   ,PCI MSI Level 4 Interrupt" "-,Critical"
bitfld.long 0x10 22. "  ,PCI MSI Level 4 Interrupt" "Negative,Positive"
bitfld.long 0x14 22. "  ,PCI MSI Level 4 Interrupt" "Level,Edge"
bitfld.long 0x18 22. "     ,PCI MSI Level 4 Interrupt" "-,Occurred"
textline "   MSI5      "
eventfld.long 0x00 21. " ,PCI MSI Level 5 Interrupt" "-,Occurred"
bitfld.long 0x08 21. "  ,PCI MSI Level 5 Interrupt" "-,Enabled"
bitfld.long 0x0c 21. "   ,PCI MSI Level 5 Interrupt" "-,Critical"
bitfld.long 0x10 21. "  ,PCI MSI Level 5 Interrupt" "Negative,Positive"
bitfld.long 0x14 21. "  ,PCI MSI Level 5 Interrupt" "Level,Edge"
bitfld.long 0x18 21. "     ,PCI MSI Level 5 Interrupt" "-,Occurred"
textline "   MSI6      "
eventfld.long 0x00 20. " ,PCI MSI Level 6 Interrupt" "-,Occurred"
bitfld.long 0x08 20. "  ,PCI MSI Level 6 Interrupt" "-,Enabled"
bitfld.long 0x0c 20. "   ,PCI MSI Level 6 Interrupt" "-,Critical"
bitfld.long 0x10 20. "  ,PCI MSI Level 6 Interrupt" "Negative,Positive"
bitfld.long 0x14 20. "  ,PCI MSI Level 6 Interrupt" "Level,Edge"
bitfld.long 0x18 20. "     ,PCI MSI Level 6 Interrupt" "-,Occurred"
textline "   MSI7      "
eventfld.long 0x00 19. " ,PCI MSI Level 7 Interrupt" "-,Occurred"
bitfld.long 0x08 19. "  ,PCI MSI Level 7 Interrupt" "-,Enabled"
bitfld.long 0x0c 19. "   ,PCI MSI Level 7 Interrupt" "-,Critical"
bitfld.long 0x10 19. "  ,PCI MSI Level 7 Interrupt" "Negative,Positive"
bitfld.long 0x14 19. "  ,PCI MSI Level 7 Interrupt" "Level,Edge"
bitfld.long 0x18 19. "     ,PCI MSI Level 7 Interrupt" "-,Occurred"
textline "   MSI8      "
eventfld.long 0x00 18. " ,PCI MSI Level 8 Interrupt" "-,Occurred"
bitfld.long 0x08 18. "  ,PCI MSI Level 8 Interrupt" "-,Enabled"
bitfld.long 0x0c 18. "   ,PCI MSI Level 8 Interrupt" "-,Critical"
bitfld.long 0x10 18. "  ,PCI MSI Level 8 Interrupt" "Negative,Positive"
bitfld.long 0x14 18. "  ,PCI MSI Level 8 Interrupt" "Level,Edge"
bitfld.long 0x18 18. "     ,PCI MSI Level 8 Interrupt" "-,Occurred"
textline "   MSI9      "
eventfld.long 0x00 17. " ,PCI MSI Level 9 Interrupt" "-,Occurred"
bitfld.long 0x08 17. "  ,PCI MSI Level 9 Interrupt" "-,Enabled"
bitfld.long 0x0c 17. "   ,PCI MSI Level 9 Interrupt" "-,Critical"
bitfld.long 0x10 17. "  ,PCI MSI Level 9 Interrupt" "Negative,Positive"
bitfld.long 0x14 17. "  ,PCI MSI Level 9 Interrupt" "Level,Edge"
bitfld.long 0x18 17. "     ,PCI MSI Level 9 Interrupt" "-,Occurred"
textline "   MSI10     "
eventfld.long 0x00 16. " ,PCI MSI Level 10 Interrupt" "-,Occurred"
bitfld.long 0x08 16. "  ,PCI MSI Level 10 Interrupt" "-,Enabled"
bitfld.long 0x0c 16. "   ,PCI MSI Level 10 Interrupt" "-,Critical"
bitfld.long 0x10 16. "  ,PCI MSI Level 10 Interrupt" "Negative,Positive"
bitfld.long 0x14 16. "  ,PCI MSI Level 10 Interrupt" "Level,Edge"
bitfld.long 0x18 16. "     ,PCI MSI Level 10 Interrupt" "-,Occurred"
textline "   MSI11     "
eventfld.long 0x00 15. " ,PCI MSI Level 11 Interrupt" "-,Occurred"
bitfld.long 0x08 15. "  ,PCI MSI Level 11 Interrupt" "-,Enabled"
bitfld.long 0x0c 15. "   ,PCI MSI Level 11 Interrupt" "-,Critical"
bitfld.long 0x10 15. "  ,PCI MSI Level 11 Interrupt" "Negative,Positive"
bitfld.long 0x14 15. "  ,PCI MSI Level 11 Interrupt" "Level,Edge"
bitfld.long 0x18 15. "     ,PCI MSI Level 11 Interrupt" "-,Occurred"
textline "   PPM       "
eventfld.long 0x00 14. " ,PPM Interrupt" "-,Occurred"
bitfld.long 0x08 14. "  ,PPM Interrupt" "-,Enabled"
bitfld.long 0x0c 14. "   ,PPM Interrupt" "-,Critical"
bitfld.long 0x10 14. "  ,PPM Interrupt" "Negative,Positive"
bitfld.long 0x14 14. "  ,PPM Interrupt" "Level,Edge"
bitfld.long 0x18 14. "     ,PPM Interrupt" "-,Occurred"
textline "   EIR7      "
eventfld.long 0x00 13. " ,External IRQ 7 Interrupt" "-,Occurred"
bitfld.long 0x08 13. "  ,External IRQ 7 Interrupt" "-,Enabled"
bitfld.long 0x0c 13. "   ,External IRQ 7 Interrupt" "-,Critical"
bitfld.long 0x10 13. "  ,External IRQ 7 Interrupt" "Negative,Positive"
bitfld.long 0x14 13. "  ,External IRQ 7 Interrupt" "Level,Edge"
bitfld.long 0x18 13. "     ,External IRQ 7 Interrupt" "-,Occurred"
textline "   EIR8      "
eventfld.long 0x00 12. " ,External IRQ 8 Interrupt" "-,Occurred"
bitfld.long 0x08 12. "  ,External IRQ 8 Interrupt" "-,Enabled"
bitfld.long 0x0c 12. "   ,External IRQ 8 Interrupt" "-,Critical"
bitfld.long 0x10 12. "  ,External IRQ 8 Interrupt" "Negative,Positive"
bitfld.long 0x14 12. "  ,External IRQ 8 Interrupt" "Level,Edge"
bitfld.long 0x18 12. "     ,External IRQ 8 Interrupt" "-,Occurred"
textline "   EIR9      "
eventfld.long 0x00 11. " ,External IRQ 9 Interrupt" "-,Occurred"
bitfld.long 0x08 11. "  ,External IRQ 9 Interrupt" "-,Enabled"
bitfld.long 0x0c 11. "   ,External IRQ 9 Interrupt" "-,Critical"
bitfld.long 0x10 11. "  ,External IRQ 9 Interrupt" "Negative,Positive"
bitfld.long 0x14 11. "  ,External IRQ 9 Interrupt" "Level,Edge"
bitfld.long 0x18 11. "     ,External IRQ 9 Interrupt" "-,Occurred"
textline "   EIR10     "
eventfld.long 0x00 10. " ,External IRQ 10 Interrupt" "-,Occurred"
bitfld.long 0x08 10. "  ,External IRQ 10 Interrupt" "-,Enabled"
bitfld.long 0x0c 10. "   ,External IRQ 10 Interrupt" "-,Critical"
bitfld.long 0x10 10. "  ,External IRQ 10 Interrupt" "Negative,Positive"
bitfld.long 0x14 10. "  ,External IRQ 10 Interrupt" "Level,Edge"
bitfld.long 0x18 10. "     ,External IRQ 10 Interrupt" "-,Occurred"
textline "   EIR11     "
eventfld.long 0x00 09. " ,External IRQ 11 Interrupt" "-,Occurred"
bitfld.long 0x08 09. "  ,External IRQ 11 Interrupt" "-,Enabled"
bitfld.long 0x0c 09. "   ,External IRQ 11 Interrupt" "-,Critical"
bitfld.long 0x10 09. "  ,External IRQ 11 Interrupt" "Negative,Positive"
bitfld.long 0x14 09. "  ,External IRQ 11 Interrupt" "Level,Edge"
bitfld.long 0x18 09. "     ,External IRQ 11 Interrupt" "-,Occurred"
textline "   EIR12     "
eventfld.long 0x00 08. " ,External IRQ 12 Interrupt" "-,Occurred"
bitfld.long 0x08 08. "  ,External IRQ 12 Interrupt" "-,Enabled"
bitfld.long 0x0c 08. "   ,External IRQ 12 Interrupt" "-,Critical"
bitfld.long 0x10 08. "  ,External IRQ 12 Interrupt" "Negative,Positive"
bitfld.long 0x14 08. "  ,External IRQ 12 Interrupt" "Level,Edge"
bitfld.long 0x18 08. "     ,External IRQ 12 Interrupt" "-,Occurred"
textline "   SRE       "
eventfld.long 0x00 07. " ,Serial ROM Error Interrupt" "-,Occurred"
bitfld.long 0x08 07. "  ,Serial ROM Error Interrupt" "-,Enabled"
bitfld.long 0x0c 07. "   ,Serial ROM Error Interrupt" "-,Critical"
bitfld.long 0x10 07. "  ,Serial ROM Error Interrupt" "Negative,Positive"
bitfld.long 0x14 07. "  ,Serial ROM Error Interrupt" "Level,Edge"
bitfld.long 0x18 07. "     ,Serial ROM Error Interrupt" "-,Occurred"
textline "   PAE       "
eventfld.long 0x00 04. " ,PCI Asynchronous Error Interrupt" "-,Occurred"
bitfld.long 0x08 04. "  ,PCI Asynchronous Error Interrupt" "-,Enabled"
bitfld.long 0x0c 04. "   ,PCI Asynchronous Error Interrupt" "-,Critical"
bitfld.long 0x10 04. "  ,PCI Asynchronous Error Interrupt" "Negative,Positive"
bitfld.long 0x14 04. "  ,PCI Asynchronous Error Interrupt" "Level,Edge"
bitfld.long 0x18 04. "     ,PCI Asynchronous Error Interrupt" "-,Occurred"
textline "   ETH0      "
eventfld.long 0x00 03. " ,Ethernet 0 Interrupt" "-,Occurred"
bitfld.long 0x08 03. "  ,Ethernet 0 Interrupt" "-,Enabled"
bitfld.long 0x0c 03. "   ,Ethernet 0 Interrupt" "-,Critical"
bitfld.long 0x10 03. "  ,Ethernet 0 Interrupt" "Negative,Positive"
bitfld.long 0x14 03. "  ,Ethernet 0 Interrupt" "Level,Edge"
bitfld.long 0x18 03. "     ,Ethernet 0 Interrupt" "-,Occurred"
textline "   EWU0      "
eventfld.long 0x00 02. " ,Ethernet 0 Wake-up Interrupt" "-,Occurred"
bitfld.long 0x08 02. "  ,Ethernet 0 Wake-up Interrupt" "-,Enabled"
bitfld.long 0x0c 02. "   ,Ethernet 0 Wake-up Interrupt" "-,Critical"
bitfld.long 0x10 02. "  ,Ethernet 0 Wake-up Interrupt" "Negative,Positive"
bitfld.long 0x14 02. "  ,Ethernet 0 Wake-up Interrupt" "Level,Edge"
bitfld.long 0x18 02. "     ,Ethernet 0 Wake-up Interrupt" "-,Occurred"
textline "   ETH1      "
eventfld.long 0x00 01. " ,Ethernet 1 Interrupt" "-,Occurred"
bitfld.long 0x08 01. "  ,Ethernet 1 Interrupt" "-,Enabled"
bitfld.long 0x0c 01. "   ,Ethernet 1 Interrupt" "-,Critical"
bitfld.long 0x10 01. "  ,Ethernet 1 Interrupt" "Negative,Positive"
bitfld.long 0x14 01. "  ,Ethernet 1 Interrupt" "Level,Edge"
bitfld.long 0x18 01. "     ,Ethernet 1 Interrupt" "-,Occurred"
textline "   EWU1      "
eventfld.long 0x00 00. " ,Ethernet 1 Wake-up Interrupt" "-,Occurred"
bitfld.long 0x08 00. "  ,Ethernet 1 Wake-up Interrupt" "-,Enabled"
bitfld.long 0x0c 00. "   ,Ethernet 1 Wake-up Interrupt" "-,Critical"
bitfld.long 0x10 00. "  ,Ethernet 1 Wake-up Interrupt" "Negative,Positive"
bitfld.long 0x14 00. "  ,Ethernet 1 Wake-up Interrupt" "Level,Edge"
bitfld.long 0x18 00. "     ,Ethernet 1 Wake-up Interrupt" "-,Occurred"
textline "         "
wgroup.long dcr:0x0D7++0x0
line.long 0x00 "UIC1_VCR,UIC 1 Vector Configuration Register"
hexmask.long.long 0x00 2.--31. 0x04 " VBA    ,Vector Base Address"
bitfld.long 0x00 0. "      PRO   ,Priority Ordering" "UIC0_SR[31],UIC0_SR[0]"
rgroup.long dcr:0x0d8++0x0
line.long 0x00 "UIC1_VR,UIC 1 Vector Register"
tree.end
width 0xb
endif
tree.end
tree "Interrupts and Exceptions"
sif ((cpu()=="PPC440EPX")||(cpu()=="PPC440EP"))
;including floating point bits
;Interrupts and Exceptions
width 7.
group spr:0x03F--0x03F
line.long 0x00 "IVPR,Interrupt Vector Prefix Register"
hexmask.long.word 0x00 16.--31. 1. " IVP   ,Interrupt Vector Prefix"
textfld "0000"
;group spr:0x190--0x19F
;%for (16)(0x00,0x04)(00,01)
; line.long $1 "IVOR$2,Interrupt Vector Offset Register $2"
;  hexmask.long.word $1 0.--15. 1. " IVO$2  ,IVO$2 Vector Offset Register"
;  textfld "  "
;  button "List Source" "d.l ANC:0x0:(((d.l(spr:0x3f))&0xffff0000)|((d.l(spr:(0x190+$2.)))&0x0000fff0))"
;%endfor
group spr:0x190--0x19F
line.long 0x0 "IVOR0,Interrupt Vector Offset Register 0"
hexmask.long.word 0x0 0.--15. 1. " IVO0      ,IVO0 Vector Offset Register"
textfld "  "
button "List Source" "d.l ANC:0x0:(((d.l(spr:0x3f))&0xffff0000)|((d.l(spr:(0x190+0.)))&0x0000fff0))"
textfld " Critical Input"
line.long 0x4 "IVOR1,Interrupt Vector Offset Register 1"
hexmask.long.word 0x4 0.--15. 1. " IVO1      ,IVO1 Vector Offset Register"
textfld "  "
button "List Source" "d.l ANC:0x0:(((d.l(spr:0x3f))&0xffff0000)|((d.l(spr:(0x190+1.)))&0x0000fff0))"
textfld " Machine Check"
line.long 0x8 "IVOR2,Interrupt Vector Offset Register 2"
hexmask.long.word 0x8 0.--15. 1. " IVO2      ,IVO2 Vector Offset Register"
textfld "  "
button "List Source" "d.l ANC:0x0:(((d.l(spr:0x3f))&0xffff0000)|((d.l(spr:(0x190+2.)))&0x0000fff0))"
textfld " Data Storage"
line.long 0xC "IVOR3,Interrupt Vector Offset Register 3"
hexmask.long.word 0xC 0.--15. 1. " IVO3      ,IVO3 Vector Offset Register"
textfld "  "
button "List Source" "d.l ANC:0x0:(((d.l(spr:0x3f))&0xffff0000)|((d.l(spr:(0x190+3.)))&0x0000fff0))"
textfld " Instruction Storage"
line.long 0x10 "IVOR4,Interrupt Vector Offset Register 4"
hexmask.long.word 0x10 0.--15. 1. " IVO4      ,IVO4 Vector Offset Register"
textfld "  "
button "List Source" "d.l ANC:0x0:(((d.l(spr:0x3f))&0xffff0000)|((d.l(spr:(0x190+4.)))&0x0000fff0))"
textfld " External Input"
line.long 0x14 "IVOR5,Interrupt Vector Offset Register 5"
hexmask.long.word 0x14 0.--15. 1. " IVO5      ,IVO5 Vector Offset Register"
textfld "  "
button "List Source" "d.l ANC:0x0:(((d.l(spr:0x3f))&0xffff0000)|((d.l(spr:(0x190+5.)))&0x0000fff0))"
textfld " Alignment"
line.long 0x18 "IVOR6,Interrupt Vector Offset Register 6"
hexmask.long.word 0x18 0.--15. 1. " IVO6      ,IVO6 Vector Offset Register"
textfld "  "
button "List Source" "d.l ANC:0x0:(((d.l(spr:0x3f))&0xffff0000)|((d.l(spr:(0x190+6.)))&0x0000fff0))"
textfld " Program"
line.long 0x1C "IVOR7,Interrupt Vector Offset Register 7"
hexmask.long.word 0x1C 0.--15. 1. " IVO7      ,IVO7 Vector Offset Register"
textfld "  "
button "List Source" "d.l ANC:0x0:(((d.l(spr:0x3f))&0xffff0000)|((d.l(spr:(0x190+7.)))&0x0000fff0))"
textfld " Floating Point Unavailable"
line.long 0x20 "IVOR8,Interrupt Vector Offset Register 8"
hexmask.long.word 0x20 0.--15. 1. " IVO8      ,IVO8 Vector Offset Register"
textfld "  "
button "List Source" "d.l ANC:0x0:(((d.l(spr:0x3f))&0xffff0000)|((d.l(spr:(0x190+8.)))&0x0000fff0))"
textfld " System Call"
line.long 0x24 "IVOR9,Interrupt Vector Offset Register 9"
hexmask.long.word 0x24 0.--15. 1. " IVO9      ,IVO9 Vector Offset Register"
textfld "  "
button "List Source" "d.l ANC:0x0:(((d.l(spr:0x3f))&0xffff0000)|((d.l(spr:(0x190+9.)))&0x0000fff0))"
textfld " Auxiliary Processor Unavailable"
line.long 0x28 "IVOR10,Interrupt Vector Offset Register 10"
hexmask.long.word 0x28 0.--15. 1. " IVO10     ,IVO10 Vector Offset Register"
textfld "  "
button "List Source" "d.l ANC:0x0:(((d.l(spr:0x3f))&0xffff0000)|((d.l(spr:(0x190+10.)))&0x0000fff0))"
textfld " Decrementer"
line.long 0x2C "IVOR11,Interrupt Vector Offset Register 11"
hexmask.long.word 0x2C 0.--15. 1. " IVO11     ,IVO11 Vector Offset Register"
textfld "  "
button "List Source" "d.l ANC:0x0:(((d.l(spr:0x3f))&0xffff0000)|((d.l(spr:(0x190+11.)))&0x0000fff0))"
textfld " Fixed Interval Timer"
line.long 0x30 "IVOR12,Interrupt Vector Offset Register 12"
hexmask.long.word 0x30 0.--15. 1. " IVO12     ,IVO12 Vector Offset Register"
textfld "  "
button "List Source" "d.l ANC:0x0:(((d.l(spr:0x3f))&0xffff0000)|((d.l(spr:(0x190+12.)))&0x0000fff0))"
textfld " Watchdog Timer"
line.long 0x34 "IVOR13,Interrupt Vector Offset Register 13"
hexmask.long.word 0x34 0.--15. 1. " IVO13     ,IVO13 Vector Offset Register"
textfld "  "
button "List Source" "d.l ANC:0x0:(((d.l(spr:0x3f))&0xffff0000)|((d.l(spr:(0x190+13.)))&0x0000fff0))"
textfld " Data TLB Error"
line.long 0x38 "IVOR14,Interrupt Vector Offset Register 14"
hexmask.long.word 0x38 0.--15. 1. " IVO14     ,IVO14 Vector Offset Register"
textfld "  "
button "List Source" "d.l ANC:0x0:(((d.l(spr:0x3f))&0xffff0000)|((d.l(spr:(0x190+14.)))&0x0000fff0))"
textfld " Instruction TLB Error"
line.long 0x3C "IVOR15,Interrupt Vector Offset Register 15"
hexmask.long.word 0x3C 0.--15. 1. " IVO15     ,IVO15 Vector Offset Register"
textfld "  "
button "List Source" "d.l ANC:0x0:(((d.l(spr:0x3f))&0xffff0000)|((d.l(spr:(0x190+15.)))&0x0000fff0))"
textfld " Debug"
group spr:0x03D--0x03D
line.long 0x00 "DEAR,Data Exception Address Register"
group spr:0x03E--0x03E
line.long 0x00 "ESR,Exception Syndrome Register"
bitfld.long 0x00 31. " MCI   ,Machine Check Instruction Fetch Exception" "-,Occured"
bitfld.long 0x00 27. "                   PIL  ,Program Interrupt Illegal Instruction Exception" "-,Occured"
bitfld.long 0x00 26. "        PPR  ,Program Interrupt Privileged Instruction Exception" "-,Occured"
textline "                "
bitfld.long 0x00 25. " PTR   ,Program Interrupt Trap Exception" "-,Occured"
bitfld.long 0x00 24. "                   FP   ,Floating Point Operation" "-,Caused"
bitfld.long 0x00 23. "         ST   ,Store Operation" "-,Caused"
textline "                "
bitfld.long 0x00 20.--21. " DLK   ,Data Storage Interrupt Locking Exception" "-,Caused by dcbf,Caused by icbi,Reserved"
bitfld.long 0x00 19. "            AP   ,AP Operation" "-,Auxiliary"
bitfld.long 0x00 18. "      PUO  ,Program Interrupt Unimplemented Operation Exception" "-,Occured"
textline "                "
bitfld.long 0x00 17. " BO    ,Byte Ordering Exception" "-,Occured"
bitfld.long 0x00 16. "                   PIE  ,Program Interrupt Imprecise Exception" "Precisely,Imprecisely"
bitfld.long 0x00 4. "    PCRE ,Program Interrupt Condition Register Enable" "-,FP CR-updating"
textline "                "
bitfld.long 0x00 3. " PCMP  ,Program Interrupt Compare" "-,FP compare"
bitfld.long 0x00 0.--2. "                PCRF ,Program Interrupt Condition Register Field" "0,1,2,3,4,5,6,7"
group spr:0x23C--0x23C
line.long 0x00 "MCSR,Machine Check Status Register"
bitfld.long 0x00 31. " MCS   ,Machine Check Summary" "-,Pending"
bitfld.long 0x00 30. "                   IB   ,Instruction PLB Error" "-,Exception"
bitfld.long 0x00 29. "      DRB  ,Data Read PLB Error" "-,Exception"
textline "                "
bitfld.long 0x00 28. " DWB   ,Data Write PLB Error" "-,Exception"
bitfld.long 0x00 27. "                 TLBP ,Translation Lookaside Buffer Parity Error" "-,Exception"
bitfld.long 0x00 26. "      ICP  ,Instruction Cache Parity Error" "-,Exception"
textline "                "
bitfld.long 0x00 25. " DCSP  ,Data Cache Search Parity Error" "-,Exception"
bitfld.long 0x00 24. "                 DCFP ,Data Cache Flush Parity Error" "-,Exception"
bitfld.long 0x00 23. "      IMPE ,Imprecise Machine Check Exception" "-,Exception"
group spr:0x01A--0x01A
line.long 0x00 "SRR0,Save/Restore Register 0"
hexmask.long 0x00 0.--31. 1. " SRR0  ,Return address for non-critical interrupts"
if (d.l(spr:0x01b)&0x0900)==0x0000
group spr:0x01B--0x01B
line.long 0x00 "SRR1,Save/Restore Register 1"
bitfld.long 0x00 18. " WE    ,Wait State Enable" "-,Enabled"
bitfld.long 0x00 17. "                   CE   ,Critical Interrupt Enable" "-,Enabled"
bitfld.long 0x00 15. "        EE   ,External Interrupt Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 14. " PR    ,Problem State" "Supervisor,Problem"
bitfld.long 0x00 13. "                FP   ,Floating Point Available" "Not available,Available"
bitfld.long 0x00 12. "  ME   ,Machine Check Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 11. " FE0   ,Floating-point exception mode 0" "Ignore exceptions,Imprecise recoverable"
bitfld.long 0x00 10. "     DWE  ,Debug Wait Enable" "-,Enabled"
bitfld.long 0x00 9. "        DE   ,Debug interrupt Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 8. " FE1   ,Floating-point exception mode 1" "Ignore exceptions,Imprecise nonrecoverable"
bitfld.long 0x00 5. "  IS   ,Instruction Address Space" "Space 0,Space 1"
bitfld.long 0x00 4. "        DS   ,Data Address Space" "Space 0,Space 1"
elif (d.l(spr:0x01b)&0x0900)==0x0100
group spr:0x01B--0x01B
line.long 0x00 "SRR1,Save/Restore Register 1"
bitfld.long 0x00 18. " WE    ,Wait State Enable" "-,Enabled"
bitfld.long 0x00 17. "                   CE   ,Critical Interrupt Enable" "-,Enabled"
bitfld.long 0x00 15. "        EE   ,External Interrupt Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 14. " PR    ,Problem State" "Supervisor,Problem"
bitfld.long 0x00 13. "                FP   ,Floating Point Available" "Not available,Available"
bitfld.long 0x00 12. "  ME   ,Machine Check Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 11. " FE0   ,Floating-point exception mode 0" "Imprecise nonrecoverable,Precise"
bitfld.long 0x00 10. "  DWE  ,Debug Wait Enable" "-,Enabled"
bitfld.long 0x00 9. "        DE   ,Debug interrupt Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 8. " FE1   ,Floating-point exception mode 1" "Ignore exceptions,Imprecise nonrecoverable"
bitfld.long 0x00 5. "  IS   ,Instruction Address Space" "Space 0,Space 1"
bitfld.long 0x00 4. "        DS   ,Data Address Space" "Space 0,Space 1"
elif (d.l(spr:0x01b)&0x0900)==0x0800
group spr:0x01B--0x01B
line.long 0x00 "SRR1,Save/Restore Register 1"
bitfld.long 0x00 18. " WE    ,Wait State Enable" "-,Enabled"
bitfld.long 0x00 17. "                   CE   ,Critical Interrupt Enable" "-,Enabled"
bitfld.long 0x00 15. "        EE   ,External Interrupt Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 14. " PR    ,Problem State" "Supervisor,Problem"
bitfld.long 0x00 13. "                FP   ,Floating Point Available" "Not available,Available"
bitfld.long 0x00 12. "  ME   ,Machine Check Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 11. " FE0   ,Floating-point exception mode 0" "Ignore exceptions,Imprecise recoverable"
bitfld.long 0x00 10. "     DWE  ,Debug Wait Enable" "-,Enabled"
bitfld.long 0x00 9. "        DE   ,Debug interrupt Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 8. " FE1   ,Floating-point exception mode 1" "Imprecise recoverable,Precise"
bitfld.long 0x00 5. "     IS   ,Instruction Address Space" "Space 0,Space 1"
bitfld.long 0x00 4. "        DS   ,Data Address Space" "Space 0,Space 1"
elif (d.l(spr:0x01b)&0x0900)==0x0900
group spr:0x01B--0x01B
line.long 0x00 "SRR1,Save/Restore Register 1"
bitfld.long 0x00 18. " WE    ,Wait State Enable" "-,Enabled"
bitfld.long 0x00 17. "                   CE   ,Critical Interrupt Enable" "-,Enabled"
bitfld.long 0x00 15. "        EE   ,External Interrupt Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 14. " PR    ,Problem State" "Supervisor,Problem"
bitfld.long 0x00 13. "                FP   ,Floating Point Available" "Not available,Available"
bitfld.long 0x00 12. "  ME   ,Machine Check Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 11. " FE0   ,Floating-point exception mode 0" "Imprecise nonrecoverable,Precise"
bitfld.long 0x00 10. "  DWE  ,Debug Wait Enable" "-,Enabled"
bitfld.long 0x00 9. "        DE   ,Debug interrupt Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 8. " FE1   ,Floating-point exception mode 1" "Imprecise recoverable,Precise"
bitfld.long 0x00 5. "     IS   ,Instruction Address Space" "Space 0,Space 1"
bitfld.long 0x00 4. "        DS   ,Data Address Space" "Space 0,Space 1"
endif
group spr:0x03A--0x03A
line.long 0x00 "CSRR0,Critical Save/Restore Register 0 0"
hexmask.long 0x00 0.--31. 1. " CSRR0 ,Return address for critical interrupts"
if (d.l(spr:0x03b)&0x0900)==0x0000
group spr:0x03B--0x03B
line.long 0x00 "CSRR1,Critical Save/Restore Register 1"
bitfld.long 0x00 18. " WE    ,Wait State Enable" "-,Enabled"
bitfld.long 0x00 17. "                   CE   ,Critical Interrupt Enable" "-,Enabled"
bitfld.long 0x00 15. "        EE   ,External Interrupt Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 14. " PR    ,Problem State" "Supervisor,Problem"
bitfld.long 0x00 13. "                FP   ,Floating Point Available" "Not available,Available"
bitfld.long 0x00 12. "  ME   ,Machine Check Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 11. " FE0   ,Floating-point exception mode 0" "Ignore exceptions,Imprecise recoverable"
bitfld.long 0x00 10. "     DWE  ,Debug Wait Enable" "-,Enabled"
bitfld.long 0x00 9. "        DE   ,Debug interrupt Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 8. " FE1   ,Floating-point exception mode 1" "Ignore exceptions,Imprecise nonrecoverable"
bitfld.long 0x00 5. "  IS   ,Instruction Address Space" "Space 0,Space 1"
bitfld.long 0x00 4. "        DS   ,Data Address Space" "Space 0,Space 1"
elif (d.l(spr:0x03b)&0x0900)==0x0100
group spr:0x03B--0x03B
line.long 0x00 "CSRR1,Critical Save/Restore Register 1"
bitfld.long 0x00 18. " WE    ,Wait State Enable" "-,Enabled"
bitfld.long 0x00 17. "                   CE   ,Critical Interrupt Enable" "-,Enabled"
bitfld.long 0x00 15. "        EE   ,External Interrupt Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 14. " PR    ,Problem State" "Supervisor,Problem"
bitfld.long 0x00 13. "                FP   ,Floating Point Available" "Not available,Available"
bitfld.long 0x00 12. "  ME   ,Machine Check Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 11. " FE0   ,Floating-point exception mode 0" "Imprecise nonrecoverable,Precise"
bitfld.long 0x00 10. "  DWE  ,Debug Wait Enable" "-,Enabled"
bitfld.long 0x00 9. "        DE   ,Debug interrupt Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 8. " FE1   ,Floating-point exception mode 1" "Ignore exceptions,Imprecise nonrecoverable"
bitfld.long 0x00 5. "  IS   ,Instruction Address Space" "Space 0,Space 1"
bitfld.long 0x00 4. "        DS   ,Data Address Space" "Space 0,Space 1"
elif (d.l(spr:0x03b)&0x0900)==0x0800
group spr:0x03B--0x03B
line.long 0x00 "CSRR1,Critical Save/Restore Register 1"
bitfld.long 0x00 18. " WE    ,Wait State Enable" "-,Enabled"
bitfld.long 0x00 17. "                   CE   ,Critical Interrupt Enable" "-,Enabled"
bitfld.long 0x00 15. "        EE   ,External Interrupt Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 14. " PR    ,Problem State" "Supervisor,Problem"
bitfld.long 0x00 13. "                FP   ,Floating Point Available" "Not available,Available"
bitfld.long 0x00 12. "  ME   ,Machine Check Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 11. " FE0   ,Floating-point exception mode 0" "Ignore exceptions,Imprecise recoverable"
bitfld.long 0x00 10. "     DWE  ,Debug Wait Enable" "-,Enabled"
bitfld.long 0x00 9. "        DE   ,Debug interrupt Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 8. " FE1   ,Floating-point exception mode 1" "Imprecise recoverable,Precise"
bitfld.long 0x00 5. "     IS   ,Instruction Address Space" "Space 0,Space 1"
bitfld.long 0x00 4. "        DS   ,Data Address Space" "Space 0,Space 1"
elif (d.l(spr:0x03b)&0x0900)==0x0900
group spr:0x03B--0x03B
line.long 0x00 "CSRR1,Critical Save/Restore Register 1"
bitfld.long 0x00 18. " WE    ,Wait State Enable" "-,Enabled"
bitfld.long 0x00 17. "                   CE   ,Critical Interrupt Enable" "-,Enabled"
bitfld.long 0x00 15. "        EE   ,External Interrupt Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 14. " PR    ,Problem State" "Supervisor,Problem"
bitfld.long 0x00 13. "                FP   ,Floating Point Available" "Not available,Available"
bitfld.long 0x00 12. "  ME   ,Machine Check Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 11. " FE0   ,Floating-point exception mode 0" "Imprecise nonrecoverable,Precise"
bitfld.long 0x00 10. "  DWE  ,Debug Wait Enable" "-,Enabled"
bitfld.long 0x00 9. "        DE   ,Debug interrupt Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 8. " FE1   ,Floating-point exception mode 1" "Imprecise recoverable,Precise"
bitfld.long 0x00 5. "     IS   ,Instruction Address Space" "Space 0,Space 1"
bitfld.long 0x00 4. "        DS   ,Data Address Space" "Space 0,Space 1"
endif
group spr:0x23A--0x23A
line.long 0x00 "MCSRR0,Machine Check Save/Restore Register 0"
hexmask.long 0x00 0.--31. 1. " CSRR0 ,Return address for machine check interrupts"
if (d.l(spr:0x23b)&0x0900)==0x0000
group spr:0x23B--0x23B
line.long 0x00 "MCSRR1,Machine Check Save/Restore Register 1"
bitfld.long 0x00 18. " WE    ,Wait State Enable" "-,Enabled"
bitfld.long 0x00 17. "                   CE   ,Critical Interrupt Enable" "-,Enabled"
bitfld.long 0x00 15. "        EE   ,External Interrupt Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 14. " PR    ,Problem State" "Supervisor,Problem"
bitfld.long 0x00 13. "                FP   ,Floating Point Available" "Not available,Available"
bitfld.long 0x00 12. "  ME   ,Machine Check Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 11. " FE0   ,Floating-point exception mode 0" "Ignore exceptions,Imprecise recoverable"
bitfld.long 0x00 10. "     DWE  ,Debug Wait Enable" "-,Enabled"
bitfld.long 0x00 9. "        DE   ,Debug interrupt Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 8. " FE1   ,Floating-point exception mode 1" "Ignore exceptions,Imprecise nonrecoverable"
bitfld.long 0x00 5. "  IS   ,Instruction Address Space" "Space 0,Space 1"
bitfld.long 0x00 4. "        DS   ,Data Address Space" "Space 0,Space 1"
elif (d.l(spr:0x23b)&0x0900)==0x0100
group spr:0x23B--0x23B
line.long 0x00 "MCSRR1,Machine Check Save/Restore Register 1"
bitfld.long 0x00 18. " WE    ,Wait State Enable" "-,Enabled"
bitfld.long 0x00 17. "                   CE   ,Critical Interrupt Enable" "-,Enabled"
bitfld.long 0x00 15. "        EE   ,External Interrupt Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 14. " PR    ,Problem State" "Supervisor,Problem"
bitfld.long 0x00 13. "                FP   ,Floating Point Available" "Not available,Available"
bitfld.long 0x00 12. "  ME   ,Machine Check Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 11. " FE0   ,Floating-point exception mode 0" "Imprecise nonrecoverable,Precise"
bitfld.long 0x00 10. "  DWE  ,Debug Wait Enable" "-,Enabled"
bitfld.long 0x00 9. "        DE   ,Debug interrupt Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 8. " FE1   ,Floating-point exception mode 1" "Ignore exceptions,Imprecise nonrecoverable"
bitfld.long 0x00 5. "  IS   ,Instruction Address Space" "Space 0,Space 1"
bitfld.long 0x00 4. "        DS   ,Data Address Space" "Space 0,Space 1"
elif (d.l(spr:0x23b)&0x0900)==0x0800
group spr:0x23B--0x23B
line.long 0x00 "MCSRR1,Machine Check Save/Restore Register 1"
bitfld.long 0x00 18. " WE    ,Wait State Enable" "-,Enabled"
bitfld.long 0x00 17. "                   CE   ,Critical Interrupt Enable" "-,Enabled"
bitfld.long 0x00 15. "        EE   ,External Interrupt Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 14. " PR    ,Problem State" "Supervisor,Problem"
bitfld.long 0x00 13. "                FP   ,Floating Point Available" "Not available,Available"
bitfld.long 0x00 12. "  ME   ,Machine Check Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 11. " FE0   ,Floating-point exception mode 0" "Ignore exceptions,Imprecise recoverable"
bitfld.long 0x00 10. "     DWE  ,Debug Wait Enable" "-,Enabled"
bitfld.long 0x00 9. "        DE   ,Debug interrupt Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 8. " FE1   ,Floating-point exception mode 1" "Imprecise recoverable,Precise"
bitfld.long 0x00 5. "     IS   ,Instruction Address Space" "Space 0,Space 1"
bitfld.long 0x00 4. "        DS   ,Data Address Space" "Space 0,Space 1"
elif (d.l(spr:0x23b)&0x0900)==0x0900
group spr:0x23B--0x23B
line.long 0x00 "MCSRR1,Machine Check Save/Restore Register 1"
bitfld.long 0x00 18. " WE    ,Wait State Enable" "-,Enabled"
bitfld.long 0x00 17. "                   CE   ,Critical Interrupt Enable" "-,Enabled"
bitfld.long 0x00 15. "        EE   ,External Interrupt Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 14. " PR    ,Problem State" "Supervisor,Problem"
bitfld.long 0x00 13. "                FP   ,Floating Point Available" "Not available,Available"
bitfld.long 0x00 12. "  ME   ,Machine Check Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 11. " FE0   ,Floating-point exception mode 0" "Imprecise nonrecoverable,Precise"
bitfld.long 0x00 10. "  DWE  ,Debug Wait Enable" "-,Enabled"
bitfld.long 0x00 9. "        DE   ,Debug interrupt Enable" "-,Enabled"
textline "                "
bitfld.long 0x00 8. " FE1   ,Floating-point exception mode 1" "Imprecise recoverable,Precise"
bitfld.long 0x00 5. "     IS   ,Instruction Address Space" "Space 0,Space 1"
bitfld.long 0x00 4. "        DS   ,Data Address Space" "Space 0,Space 1"
endif
width 0x0B
else 
;Interrupts and Exceptions
width 7.
group spr:0x03F--0x03F
line.long 0x00 "IVPR,Interrupt Vector Prefix Register"
hexmask.long.word 0x00 16.--31. 1. " IVP   ,Interrupt Vector Prefix"
textfld "0000"
;group spr:0x190--0x19F
;%for (16)(0x00,0x04)(00,01)
; line.long $1 "IVOR$2,Interrupt Vector Offset Register $2"
;  hexmask.long.word $1 0.--15. 1. " IVO$2  ,IVO$2 Vector Offset Register"
;  textfld "  "
;  button "List Source" "d.l ANC:0x0:(((d.l(spr:0x3f))&0xffff0000)|((d.l(spr:(0x190+$2.)))&0x0000fff0))"
;%endfor
group spr:0x190--0x19F
line.long 0x0 "IVOR0,Interrupt Vector Offset Register 0"
hexmask.long.word 0x0 0.--15. 1. " IVO0      ,IVO0 Vector Offset Register"
textfld "  "
button "List Source" "d.l ANC:0x0:(((d.l(spr:0x3f))&0xffff0000)|((d.l(spr:(0x190+0.)))&0x0000fff0))"
textfld " Critical Input"
line.long 0x4 "IVOR1,Interrupt Vector Offset Register 1"
hexmask.long.word 0x4 0.--15. 1. " IVO1      ,IVO1 Vector Offset Register"
textfld "  "
button "List Source" "d.l ANC:0x0:(((d.l(spr:0x3f))&0xffff0000)|((d.l(spr:(0x190+1.)))&0x0000fff0))"
textfld " Machine Check"
line.long 0x8 "IVOR2,Interrupt Vector Offset Register 2"
hexmask.long.word 0x8 0.--15. 1. " IVO2      ,IVO2 Vector Offset Register"
textfld "  "
button "List Source" "d.l ANC:0x0:(((d.l(spr:0x3f))&0xffff0000)|((d.l(spr:(0x190+2.)))&0x0000fff0))"
textfld " Data Storage"
line.long 0xC "IVOR3,Interrupt Vector Offset Register 3"
hexmask.long.word 0xC 0.--15. 1. " IVO3      ,IVO3 Vector Offset Register"
textfld "  "
button "List Source" "d.l ANC:0x0:(((d.l(spr:0x3f))&0xffff0000)|((d.l(spr:(0x190+3.)))&0x0000fff0))"
textfld " Instruction Storage"
line.long 0x10 "IVOR4,Interrupt Vector Offset Register 4"
hexmask.long.word 0x10 0.--15. 1. " IVO4      ,IVO4 Vector Offset Register"
textfld "  "
button "List Source" "d.l ANC:0x0:(((d.l(spr:0x3f))&0xffff0000)|((d.l(spr:(0x190+4.)))&0x0000fff0))"
textfld " External Input"
line.long 0x14 "IVOR5,Interrupt Vector Offset Register 5"
hexmask.long.word 0x14 0.--15. 1. " IVO5      ,IVO5 Vector Offset Register"
textfld "  "
button "List Source" "d.l ANC:0x0:(((d.l(spr:0x3f))&0xffff0000)|((d.l(spr:(0x190+5.)))&0x0000fff0))"
textfld " Alignment"
line.long 0x18 "IVOR6,Interrupt Vector Offset Register 6"
hexmask.long.word 0x18 0.--15. 1. " IVO6      ,IVO6 Vector Offset Register"
textfld "  "
button "List Source" "d.l ANC:0x0:(((d.l(spr:0x3f))&0xffff0000)|((d.l(spr:(0x190+6.)))&0x0000fff0))"
textfld " Program"
line.long 0x1C "IVOR7,Interrupt Vector Offset Register 7"
hexmask.long.word 0x1C 0.--15. 1. " IVO7      ,IVO7 Vector Offset Register"
textfld "  "
button "List Source" "d.l ANC:0x0:(((d.l(spr:0x3f))&0xffff0000)|((d.l(spr:(0x190+7.)))&0x0000fff0))"
textfld " Floating Point Unavailable"
line.long 0x20 "IVOR8,Interrupt Vector Offset Register 8"
hexmask.long.word 0x20 0.--15. 1. " IVO8      ,IVO8 Vector Offset Register"
textfld "  "
button "List Source" "d.l ANC:0x0:(((d.l(spr:0x3f))&0xffff0000)|((d.l(spr:(0x190+8.)))&0x0000fff0))"
textfld " System Call"
line.long 0x24 "IVOR9,Interrupt Vector Offset Register 9"
hexmask.long.word 0x24 0.--15. 1. " IVO9      ,IVO9 Vector Offset Register"
textfld "  "
button "List Source" "d.l ANC:0x0:(((d.l(spr:0x3f))&0xffff0000)|((d.l(spr:(0x190+9.)))&0x0000fff0))"
textfld " Auxiliary Processor Unavailable"
line.long 0x28 "IVOR10,Interrupt Vector Offset Register 10"
hexmask.long.word 0x28 0.--15. 1. " IVO10     ,IVO10 Vector Offset Register"
textfld "  "
button "List Source" "d.l ANC:0x0:(((d.l(spr:0x3f))&0xffff0000)|((d.l(spr:(0x190+10.)))&0x0000fff0))"
textfld " Decrementer"
line.long 0x2C "IVOR11,Interrupt Vector Offset Register 11"
hexmask.long.word 0x2C 0.--15. 1. " IVO11     ,IVO11 Vector Offset Register"
textfld "  "
button "List Source" "d.l ANC:0x0:(((d.l(spr:0x3f))&0xffff0000)|((d.l(spr:(0x190+11.)))&0x0000fff0))"
textfld " Fixed Interval Timer"
line.long 0x30 "IVOR12,Interrupt Vector Offset Register 12"
hexmask.long.word 0x30 0.--15. 1. " IVO12     ,IVO12 Vector Offset Register"
textfld "  "
button "List Source" "d.l ANC:0x0:(((d.l(spr:0x3f))&0xffff0000)|((d.l(spr:(0x190+12.)))&0x0000fff0))"
textfld " Watchdog Timer"
line.long 0x34 "IVOR13,Interrupt Vector Offset Register 13"
hexmask.long.word 0x34 0.--15. 1. " IVO13     ,IVO13 Vector Offset Register"
textfld "  "
button "List Source" "d.l ANC:0x0:(((d.l(spr:0x3f))&0xffff0000)|((d.l(spr:(0x190+13.)))&0x0000fff0))"
textfld " Data TLB Error"
line.long 0x38 "IVOR14,Interrupt Vector Offset Register 14"
hexmask.long.word 0x38 0.--15. 1. " IVO14     ,IVO14 Vector Offset Register"
textfld "  "
button "List Source" "d.l ANC:0x0:(((d.l(spr:0x3f))&0xffff0000)|((d.l(spr:(0x190+14.)))&0x0000fff0))"
textfld " Instruction TLB Error"
line.long 0x3C "IVOR15,Interrupt Vector Offset Register 15"
hexmask.long.word 0x3C 0.--15. 1. " IVO15     ,IVO15 Vector Offset Register"
textfld "  "
button "List Source" "d.l ANC:0x0:(((d.l(spr:0x3f))&0xffff0000)|((d.l(spr:(0x190+15.)))&0x0000fff0))"
textfld " Debug"
group spr:0x03D--0x03D
line.long 0x00 "DEAR,Data Exception Address Register"
group spr:0x03E--0x03E
line.long 0x00 "ESR,Exception Syndrome Register"
bitfld.long 0x00 31. " MCI   ,Machine Check Instruction Fetch Exception" "-,Occured"
bitfld.long 0x00 27. "      PIL ,Program Interrupt Illegal Instruction Exception" "-,Occured"
bitfld.long 0x00 26. "         PPR  ,Program Interrupt Privileged Instruction Exception" "-,Occured"
bitfld.long 0x00 25. "      PTR  ,Program Interrupt Trap Exception" "-,Occured"
textline "                "
bitfld.long 0x00 23. " ST    ,Store Operation" "-,Caused"
bitfld.long 0x00 20.--21. "       DLK ,Data Storage Interrupt Locking Exception" "-,Caused by dcbf,Caused by icbi,Reserved"
bitfld.long 0x00 19. "  AP   ,AP Operation" "-,Auxiliary"
bitfld.long 0x00 18. "    PUO  ,Program Interrupt Unimplemented Operation Exception" "-,Occured"
textline "                "
bitfld.long 0x00 17. " BO    ,Byte Ordering Exception" "-,Occured"
group spr:0x23C--0x23C
line.long 0x00 "MCSR,Machine Check Status Register"
bitfld.long 0x00 31. " MCS   ,Machine Check Summary" "-,Pending"
bitfld.long 0x00 30. "      IB  ,Instruction PLB Error" "-,Exception"
bitfld.long 0x00 29. "       DRB  ,Data Read PLB Error" "-,Exception"
bitfld.long 0x00 28. "    DWB  ,Data Write PLB Error" "-,Exception"
textline "                "
bitfld.long 0x00 27. " TLBP  ,Translation Lookaside Buffer Parity Error" "-,Exception"
bitfld.long 0x00 26. "    ICP ,Instruction Cache Parity Error" "-,Exception"
bitfld.long 0x00 25. "       DCSP ,Data Cache Search Parity Error" "-,Exception"
bitfld.long 0x00 24. "    DCFP ,Data Cache Flush Parity Error" "-,Exception"
textline "                "
bitfld.long 0x00 23. " IMPE  ,Imprecise Machine Check Exception" "-,Exception"
group spr:0x01A--0x01A
line.long 0x00 "SRR0,Save/Restore Register 0"
hexmask.long 0x00 0.--31. 1. " RA    ,Return address for non-critical interrupts"
group spr:0x01B--0x01B
line.long 0x00 "SRR1,Save/Restore Register 1"
bitfld.long 0x00 18. " WE    ,Wait State Enable" "-,Enabled"
bitfld.long 0x00 17. "      CE  ,Critical Interrupt Enable" "-,Enabled"
bitfld.long 0x00 15. "         EE   ,External Interrupt Enable" "-,Enabled"
bitfld.long 0x00 14. "      PR   ,Problem State" "Supervisor,Problem"
textline "                "
bitfld.long 0x00 12. " ME    ,Machine Check Enable" "-,Enabled"
bitfld.long 0x00 10. "      DWE ,Debug Wait Enable" "-,Enabled"
bitfld.long 0x00 9. "         DE   ,Debug interrupt Enable" "-,Enabled"
bitfld.long 0x00 5. "      IS   ,Instruction Address Space" "Space 0,Space 1"
textline "                "
bitfld.long 0x00 4. " DS    ,Data Address Space" "Space 0,Space 1"
group spr:0x03A--0x03A
line.long 0x00 "CSRR0,Critical Save/Restore Register 0"
hexmask.long 0x00 0.--31. 1. " RA    ,Return address for critical interrupts"
group spr:0x03B--0x03B
line.long 0x00 "CSRR1,Critical Save/Restore Register 1"
bitfld.long 0x00 18. " WE    ,Wait State Enable" "-,Enabled"
bitfld.long 0x00 17. "      CE  ,Critical Interrupt Enable" "-,Enabled"
bitfld.long 0x00 15. "         EE   ,External Interrupt Enable" "-,Enabled"
bitfld.long 0x00 14. "      PR   ,Problem State" "Supervisor,Problem"
textline "                "
bitfld.long 0x00 12. " ME    ,Machine Check Enable" "-,Enabled"
bitfld.long 0x00 10. "      DWE ,Debug Wait Enable" "-,Enabled"
bitfld.long 0x00 9. "         DE   ,Debug interrupt Enable" "-,Enabled"
bitfld.long 0x00 5. "      IS   ,Instruction Address Space" "Space 0,Space 1"
textline "                "
bitfld.long 0x00 4. " DS    ,Data Address Space" "Space 0,Space 1"
group spr:0x23A--0x23A
line.long 0x00 "MCSRR0,Machine Check Save/Restore Register 0"
hexmask.long 0x00 0.--31. 1. " RAMCI ,Return address for machine check interrupts"
group spr:0x23B--0x23B
line.long 0x00 "MCSRR1,Machine Check Save/Restore Register 1"
bitfld.long 0x00 18. " WE    ,Wait State Enable" "-,Enabled"
bitfld.long 0x00 17. "      CE  ,Critical Interrupt Enable" "-,Enabled"
bitfld.long 0x00 15. "         EE   ,External Interrupt Enable" "-,Enabled"
bitfld.long 0x00 14. "      PR   ,Problem State" "Supervisor,Problem"
textline "                "
bitfld.long 0x00 12. " ME    ,Machine Check Enable" "-,Enabled"
bitfld.long 0x00 10. "      DWE ,Debug Wait Enable" "-,Enabled"
bitfld.long 0x00 9. "         DE   ,Debug interrupt Enable" "-,Enabled"
bitfld.long 0x00 5. "      IS   ,Instruction Address Space" "Space 0,Space 1"
textline "                "
bitfld.long 0x00 4. " DS    ,Data Address Space" "Space 0,Space 1"
width 0x0B
endif
tree.end
tree "Timer Facilities"
;Timer Facilities
width 6.
group spr:0x154++0
line.long 0x00 "TCR,Timer Control Register"
sif (cpu()=="PPC440GX")||(cpu()=="PPC440GP")
bitfld.long 0x0 30.--31. "WP  ,Watchdog Period" "2^21,2^25,2^29,2^33"
else    
bitfld.long 0x0 30.--31. "WP  ,Watchdog Period" "2^17,2^21,2^25,2^29"
endif    
bitfld.long 0x0 28.--29. "  WRC ,Watchdog Reset Control" "off,core,chip,system"
bitfld.long 0x0 27. "  WIE ,Watchdog Interrupt Enable" "-,enable"
bitfld.long 0x0 26. "   DIE ,Decrementer Interrupt Enable" "-,enable"
bitfld.long 0x0 23. "   FIE ,FIT Interrupt Enable" "-,enable"
sif (cpu()=="PPC440GX")||(cpu()=="PPC440GP")    
bitfld.long 0x0 24.--25. "  FP ,FIT Period" "2^13,2^17,2^21,2^25"
else
bitfld.long 0x0 24.--25. "  FP ,FIT Period" "2^9,2^13,2^17,2^21"
endif    
bitfld.long 0x0 22. "  ARE ,Auto Reload Enable" "-,enable"
group spr:0x150++0
line.long 0x00 "TSR,Timer Status Register"
sif (cpu()=="PPC440GX")||(cpu()=="PPC440GP")
eventfld.long  0. 31.--31. "ENW ,Enable Next Watchdog" "-,on"
else
BITFLD.LONG  0. 31.--31. "ENW ,Enable Next Watchdog" "-,on"
endif    
;clear bits by overwriting with 1
eventfld.long 0x0 28.--29. "    WRS ,Watchdog Reset Status" "-,core,chip,system"
eventfld.long 0x0 30. "  WIS ,Watchdog Interrupt Status" "-,pending"
eventfld.long 0x0 27. "  DIS ,Decrementer Interrupt Status" "-,pending"
eventfld.long 0x0 26. "  FIS ,Fixed Interval Timer Interrupt Status" "-,pending"
sif (version.build()>11326.)
;on newer version write-only TB register will be redirected to TB read on read
group spr:0x11C++0x0
line.long 0x0 "TBL,Time Base Lower"
group spr:0x11D++0x0
line.long 0x0 "TBU,Time Base Upper"
else
rgroup spr:0x10C++0x0
line.long 0x0 "TBLr,Time Base Lower(Read)"
wgroup spr:0x11C++0x0
line.long 0x0 "TBLw,Time Base Lower(Write)"
rgroup spr:0x10D++0x0
line.long 0x0 "TBUr,Time Base Upper(Read)"
wgroup spr:0x11D++0x0
line.long 0x0 "TBUw,Time Base Upper(Write)"
endif
group spr:0x016--0x016
line.long 0x00 "DEC,Decrementer"
wgroup spr:0x036--0x036
line.long 0x00 "DECAR,Decrementer Auto-Reload"
width 0x0B
tree.end
tree "GPT (General Purpose Timers)"
sif (cpu()=="PPC440GR")
base ANC:0x0:0xef600000
;General Purpose Timers
width 13.
group 0x00++0x3
line.long 0x00 "GPT0_TBC,Time Base Counter Register"
hexmask.long 0x00 0.--31. 1. " TB     ,Time Base"
group 0x18++0x03
line.long 0x00 "GPT0_IM,GPT Interrupt Mask Register"
bitfld.long 0x00 15. " CT0M   ,Compare Timer 0 Interrupt Mask" "-,Enabled"
bitfld.long 0x00 14. "   CT1M   ,Compare Timer 1 Interrupt Mask" "-,Enabled"
bitfld.long 0x00 13. "  CT2M   ,Compare Timer 2 Interrupt Mask" "-,Enabled"
textline "                      "
bitfld.long 0x00 12. " CT3M   ,Compare Timer 3 Interrupt Mask" "-,Enabled"
bitfld.long 0x00 11. "   CT4M   ,Compare Timer 4 Interrupt Mask" "-,Enabled"
bitfld.long 0x00 10. "  CT5M   ,Compare Timer 5 Interrupt Mask" "-,Enabled"
textline "                      "
bitfld.long 0x00 9. " CT6M   ,Compare Timer 6 Interrupt Mask" "-,Enabled"
group 0x1c++0x03
line.long 0x00 "GPT0_ISS,GPT Interrupt Status Register"
bitfld.long 0x00 15. " CT0S   ,Compare Timer 0 Interrupt Status" "-,Enabled"
bitfld.long 0x00 14. "   CT1S   ,Compare Timer 1 Interrupt Status" "-,Enabled"
bitfld.long 0x00 13. "  CT2S   ,Compare Timer 2 Interrupt Status" "-,Enabled"
textline "                      "
bitfld.long 0x00 12. " CT3S   ,Compare Timer 3 Interrupt Status" "-,Enabled"
bitfld.long 0x00 11. "   CT4S   ,Compare Timer 4 Interrupt Status" "-,Enabled"
bitfld.long 0x00 10. "  CT5S   ,Compare Timer 5 Interrupt Status" "-,Enabled"
textline "                      "
bitfld.long 0x00 9. " CT6S   ,Compare Timer 6 Interrupt Status" "-,Enabled"
group 0x20++0x03
line.long 0x00 "GPT0_ISC,GPT Interrupt Status Register"
eventfld.long 0x00 15. " CT0S   ,Compare Timer 0 Interrupt Status" "-,Enabled"
eventfld.long 0x00 14. "   CT1S   ,Compare Timer 1 Interrupt Status" "-,Enabled"
eventfld.long 0x00 13. "  CT2S   ,Compare Timer 2 Interrupt Status" "-,Enabled"
textline "                      "
eventfld.long 0x00 12. " CT3S   ,Compare Timer 3 Interrupt Status" "-,Enabled"
eventfld.long 0x00 11. "   CT4S   ,Compare Timer 4 Interrupt Status" "-,Enabled"
eventfld.long 0x00 10. "  CT5S   ,Compare Timer 5 Interrupt Status" "-,Enabled"
textline "                      "
eventfld.long 0x00 9. " CT6S   ,Compare Timer 6 Interrupt Status" "-,Enabled"
group 0x24++0x03
line.long 0x00 "GPT0_IE,GPT Interrupt Enable Register"
bitfld.long 0x00 15. " CT0I   ,Compare Timer 0 Interrupt Enable" "-,Enabled"
bitfld.long 0x00 14. "   CT1I   ,Compare Timer 1 Interrupt Enable" "-,Enabled"
bitfld.long 0x00 13. "  CT2I   ,Compare Timer 2 Interrupt Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 12. " CT3I   ,Compare Timer 3 Interrupt Enable" "-,Enabled"
bitfld.long 0x00 11. "   CT4I   ,Compare Timer 4 Interrupt Enable" "-,Enabled"
bitfld.long 0x00 10. "  CT5I   ,Compare Timer 5 Interrupt Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00  9. " CT6I   ,Compare Timer 6 Interrupt Enable" "-,Enabled"
group 0x80++0x1b
line.long 0x00 "GPT0_COMP0,Compare Timer 0 Register"
hexmask.long 0x00 0.--31. 1. " COMP   ,Compare Timer 0"
line.long 0x04 "GPT0_COMP1,Compare Timer 1 Register"
hexmask.long 0x04 0.--31. 1. " COMP   ,Compare Timer 1"
line.long 0x08 "GPT0_COMP2,Compare Timer 2 Register"
hexmask.long 0x08 0.--31. 1. " COMP   ,Compare Timer 2"
line.long 0x0C "GPT0_COMP3,Compare Timer 3 Register"
hexmask.long 0x0C 0.--31. 1. " COMP   ,Compare Timer 3"
line.long 0x10 "GPT0_COMP4,Compare Timer 4 Register"
hexmask.long 0x10 0.--31. 1. " COMP   ,Compare Timer 4"
line.long 0x14 "GPT0_COMP5,Compare Timer 5 Register"
hexmask.long 0x14 0.--31. 1. " COMP   ,Compare Timer 5"
line.long 0x18 "GPT0_COMP6,Compare Timer 6 Register"
hexmask.long 0x18 0.--31. 1. " COMP   ,Compare Timer 6"
group 0xC0++0x1b
line.long 0x0 "GPT0_MASK0,Compare Mask Register (Compare Timer 0)"
bitfld.long 0x0 31. " MASK   ,Comparison Function Bit 31" "0,1"
bitfld.long 0x0 30. ",Comparison Function Bit 30" "0,1"
bitfld.long 0x0 29. ",Comparison Function Bit 29" "0,1"
bitfld.long 0x0 28. ",Comparison Function Bit 28" "0,1"
bitfld.long 0x0 27. ",Comparison Function Bit 27" "0,1"
bitfld.long 0x0 26. ",Comparison Function Bit 26" "0,1"
bitfld.long 0x0 25. ",Comparison Function Bit 25" "0,1"
bitfld.long 0x0 24. ",Comparison Function Bit 24" "0,1"
bitfld.long 0x0 23. ",Comparison Function Bit 23" "0,1"
bitfld.long 0x0 22. ",Comparison Function Bit 22" "0,1"
bitfld.long 0x0 21. ",Comparison Function Bit 21" "0,1"
bitfld.long 0x0 20. ",Comparison Function Bit 20" "0,1"
bitfld.long 0x0 19. ",Comparison Function Bit 19" "0,1"
bitfld.long 0x0 18. ",Comparison Function Bit 18" "0,1"
bitfld.long 0x0 17. ",Comparison Function Bit 17" "0,1"
bitfld.long 0x0 16. ",Comparison Function Bit 16" "0,1"
bitfld.long 0x0 15. ",Comparison Function Bit 15" "0,1"
bitfld.long 0x0 14. ",Comparison Function Bit 14" "0,1"
bitfld.long 0x0 13. ",Comparison Function Bit 13" "0,1"
bitfld.long 0x0 12. ",Comparison Function Bit 12" "0,1"
bitfld.long 0x0 11. ",Comparison Function Bit 11" "0,1"
bitfld.long 0x0 10. ",Comparison Function Bit 10" "0,1"
bitfld.long 0x0 9. ",Comparison Function Bit 9" "0,1"
bitfld.long 0x0 8. ",Comparison Function Bit 8" "0,1"
bitfld.long 0x0 7. ",Comparison Function Bit 7" "0,1"
bitfld.long 0x0 6. ",Comparison Function Bit 6" "0,1"
bitfld.long 0x0 5. ",Comparison Function Bit 5" "0,1"
bitfld.long 0x0 4. ",Comparison Function Bit 4" "0,1"
bitfld.long 0x0 3. ",Comparison Function Bit 3" "0,1"
bitfld.long 0x0 2. ",Comparison Function Bit 2" "0,1"
bitfld.long 0x0 1. ",Comparison Function Bit 1" "0,1"
bitfld.long 0x0 0. ",Comparison Function Bit 0" "0,1"
line.long 0x4 "GPT0_MASK1,Compare Mask Register (Compare Timer 1)"
bitfld.long 0x4 31. " MASK   ,Comparison Function Bit 31" "0,1"
bitfld.long 0x4 30. ",Comparison Function Bit 30" "0,1"
bitfld.long 0x4 29. ",Comparison Function Bit 29" "0,1"
bitfld.long 0x4 28. ",Comparison Function Bit 28" "0,1"
bitfld.long 0x4 27. ",Comparison Function Bit 27" "0,1"
bitfld.long 0x4 26. ",Comparison Function Bit 26" "0,1"
bitfld.long 0x4 25. ",Comparison Function Bit 25" "0,1"
bitfld.long 0x4 24. ",Comparison Function Bit 24" "0,1"
bitfld.long 0x4 23. ",Comparison Function Bit 23" "0,1"
bitfld.long 0x4 22. ",Comparison Function Bit 22" "0,1"
bitfld.long 0x4 21. ",Comparison Function Bit 21" "0,1"
bitfld.long 0x4 20. ",Comparison Function Bit 20" "0,1"
bitfld.long 0x4 19. ",Comparison Function Bit 19" "0,1"
bitfld.long 0x4 18. ",Comparison Function Bit 18" "0,1"
bitfld.long 0x4 17. ",Comparison Function Bit 17" "0,1"
bitfld.long 0x4 16. ",Comparison Function Bit 16" "0,1"
bitfld.long 0x4 15. ",Comparison Function Bit 15" "0,1"
bitfld.long 0x4 14. ",Comparison Function Bit 14" "0,1"
bitfld.long 0x4 13. ",Comparison Function Bit 13" "0,1"
bitfld.long 0x4 12. ",Comparison Function Bit 12" "0,1"
bitfld.long 0x4 11. ",Comparison Function Bit 11" "0,1"
bitfld.long 0x4 10. ",Comparison Function Bit 10" "0,1"
bitfld.long 0x4 9. ",Comparison Function Bit 9" "0,1"
bitfld.long 0x4 8. ",Comparison Function Bit 8" "0,1"
bitfld.long 0x4 7. ",Comparison Function Bit 7" "0,1"
bitfld.long 0x4 6. ",Comparison Function Bit 6" "0,1"
bitfld.long 0x4 5. ",Comparison Function Bit 5" "0,1"
bitfld.long 0x4 4. ",Comparison Function Bit 4" "0,1"
bitfld.long 0x4 3. ",Comparison Function Bit 3" "0,1"
bitfld.long 0x4 2. ",Comparison Function Bit 2" "0,1"
bitfld.long 0x4 1. ",Comparison Function Bit 1" "0,1"
bitfld.long 0x4 0. ",Comparison Function Bit 0" "0,1"
line.long 0x8 "GPT0_MASK2,Compare Mask Register (Compare Timer 2)"
bitfld.long 0x8 31. " MASK   ,Comparison Function Bit 31" "0,1"
bitfld.long 0x8 30. ",Comparison Function Bit 30" "0,1"
bitfld.long 0x8 29. ",Comparison Function Bit 29" "0,1"
bitfld.long 0x8 28. ",Comparison Function Bit 28" "0,1"
bitfld.long 0x8 27. ",Comparison Function Bit 27" "0,1"
bitfld.long 0x8 26. ",Comparison Function Bit 26" "0,1"
bitfld.long 0x8 25. ",Comparison Function Bit 25" "0,1"
bitfld.long 0x8 24. ",Comparison Function Bit 24" "0,1"
bitfld.long 0x8 23. ",Comparison Function Bit 23" "0,1"
bitfld.long 0x8 22. ",Comparison Function Bit 22" "0,1"
bitfld.long 0x8 21. ",Comparison Function Bit 21" "0,1"
bitfld.long 0x8 20. ",Comparison Function Bit 20" "0,1"
bitfld.long 0x8 19. ",Comparison Function Bit 19" "0,1"
bitfld.long 0x8 18. ",Comparison Function Bit 18" "0,1"
bitfld.long 0x8 17. ",Comparison Function Bit 17" "0,1"
bitfld.long 0x8 16. ",Comparison Function Bit 16" "0,1"
bitfld.long 0x8 15. ",Comparison Function Bit 15" "0,1"
bitfld.long 0x8 14. ",Comparison Function Bit 14" "0,1"
bitfld.long 0x8 13. ",Comparison Function Bit 13" "0,1"
bitfld.long 0x8 12. ",Comparison Function Bit 12" "0,1"
bitfld.long 0x8 11. ",Comparison Function Bit 11" "0,1"
bitfld.long 0x8 10. ",Comparison Function Bit 10" "0,1"
bitfld.long 0x8 9. ",Comparison Function Bit 9" "0,1"
bitfld.long 0x8 8. ",Comparison Function Bit 8" "0,1"
bitfld.long 0x8 7. ",Comparison Function Bit 7" "0,1"
bitfld.long 0x8 6. ",Comparison Function Bit 6" "0,1"
bitfld.long 0x8 5. ",Comparison Function Bit 5" "0,1"
bitfld.long 0x8 4. ",Comparison Function Bit 4" "0,1"
bitfld.long 0x8 3. ",Comparison Function Bit 3" "0,1"
bitfld.long 0x8 2. ",Comparison Function Bit 2" "0,1"
bitfld.long 0x8 1. ",Comparison Function Bit 1" "0,1"
bitfld.long 0x8 0. ",Comparison Function Bit 0" "0,1"
line.long 0xC "GPT0_MASK3,Compare Mask Register (Compare Timer 3)"
bitfld.long 0xC 31. " MASK   ,Comparison Function Bit 31" "0,1"
bitfld.long 0xC 30. ",Comparison Function Bit 30" "0,1"
bitfld.long 0xC 29. ",Comparison Function Bit 29" "0,1"
bitfld.long 0xC 28. ",Comparison Function Bit 28" "0,1"
bitfld.long 0xC 27. ",Comparison Function Bit 27" "0,1"
bitfld.long 0xC 26. ",Comparison Function Bit 26" "0,1"
bitfld.long 0xC 25. ",Comparison Function Bit 25" "0,1"
bitfld.long 0xC 24. ",Comparison Function Bit 24" "0,1"
bitfld.long 0xC 23. ",Comparison Function Bit 23" "0,1"
bitfld.long 0xC 22. ",Comparison Function Bit 22" "0,1"
bitfld.long 0xC 21. ",Comparison Function Bit 21" "0,1"
bitfld.long 0xC 20. ",Comparison Function Bit 20" "0,1"
bitfld.long 0xC 19. ",Comparison Function Bit 19" "0,1"
bitfld.long 0xC 18. ",Comparison Function Bit 18" "0,1"
bitfld.long 0xC 17. ",Comparison Function Bit 17" "0,1"
bitfld.long 0xC 16. ",Comparison Function Bit 16" "0,1"
bitfld.long 0xC 15. ",Comparison Function Bit 15" "0,1"
bitfld.long 0xC 14. ",Comparison Function Bit 14" "0,1"
bitfld.long 0xC 13. ",Comparison Function Bit 13" "0,1"
bitfld.long 0xC 12. ",Comparison Function Bit 12" "0,1"
bitfld.long 0xC 11. ",Comparison Function Bit 11" "0,1"
bitfld.long 0xC 10. ",Comparison Function Bit 10" "0,1"
bitfld.long 0xC 9. ",Comparison Function Bit 9" "0,1"
bitfld.long 0xC 8. ",Comparison Function Bit 8" "0,1"
bitfld.long 0xC 7. ",Comparison Function Bit 7" "0,1"
bitfld.long 0xC 6. ",Comparison Function Bit 6" "0,1"
bitfld.long 0xC 5. ",Comparison Function Bit 5" "0,1"
bitfld.long 0xC 4. ",Comparison Function Bit 4" "0,1"
bitfld.long 0xC 3. ",Comparison Function Bit 3" "0,1"
bitfld.long 0xC 2. ",Comparison Function Bit 2" "0,1"
bitfld.long 0xC 1. ",Comparison Function Bit 1" "0,1"
bitfld.long 0xC 0. ",Comparison Function Bit 0" "0,1"
line.long 0x10 "GPT0_MASK4,Compare Mask Register (Compare Timer 4)"
bitfld.long 0x10 31. " MASK   ,Comparison Function Bit 31" "0,1"
bitfld.long 0x10 30. ",Comparison Function Bit 30" "0,1"
bitfld.long 0x10 29. ",Comparison Function Bit 29" "0,1"
bitfld.long 0x10 28. ",Comparison Function Bit 28" "0,1"
bitfld.long 0x10 27. ",Comparison Function Bit 27" "0,1"
bitfld.long 0x10 26. ",Comparison Function Bit 26" "0,1"
bitfld.long 0x10 25. ",Comparison Function Bit 25" "0,1"
bitfld.long 0x10 24. ",Comparison Function Bit 24" "0,1"
bitfld.long 0x10 23. ",Comparison Function Bit 23" "0,1"
bitfld.long 0x10 22. ",Comparison Function Bit 22" "0,1"
bitfld.long 0x10 21. ",Comparison Function Bit 21" "0,1"
bitfld.long 0x10 20. ",Comparison Function Bit 20" "0,1"
bitfld.long 0x10 19. ",Comparison Function Bit 19" "0,1"
bitfld.long 0x10 18. ",Comparison Function Bit 18" "0,1"
bitfld.long 0x10 17. ",Comparison Function Bit 17" "0,1"
bitfld.long 0x10 16. ",Comparison Function Bit 16" "0,1"
bitfld.long 0x10 15. ",Comparison Function Bit 15" "0,1"
bitfld.long 0x10 14. ",Comparison Function Bit 14" "0,1"
bitfld.long 0x10 13. ",Comparison Function Bit 13" "0,1"
bitfld.long 0x10 12. ",Comparison Function Bit 12" "0,1"
bitfld.long 0x10 11. ",Comparison Function Bit 11" "0,1"
bitfld.long 0x10 10. ",Comparison Function Bit 10" "0,1"
bitfld.long 0x10 9. ",Comparison Function Bit 9" "0,1"
bitfld.long 0x10 8. ",Comparison Function Bit 8" "0,1"
bitfld.long 0x10 7. ",Comparison Function Bit 7" "0,1"
bitfld.long 0x10 6. ",Comparison Function Bit 6" "0,1"
bitfld.long 0x10 5. ",Comparison Function Bit 5" "0,1"
bitfld.long 0x10 4. ",Comparison Function Bit 4" "0,1"
bitfld.long 0x10 3. ",Comparison Function Bit 3" "0,1"
bitfld.long 0x10 2. ",Comparison Function Bit 2" "0,1"
bitfld.long 0x10 1. ",Comparison Function Bit 1" "0,1"
bitfld.long 0x10 0. ",Comparison Function Bit 0" "0,1"
line.long 0x14 "GPT0_MASK5,Compare Mask Register (Compare Timer 5)"
bitfld.long 0x14 31. " MASK   ,Comparison Function Bit 31" "0,1"
bitfld.long 0x14 30. ",Comparison Function Bit 30" "0,1"
bitfld.long 0x14 29. ",Comparison Function Bit 29" "0,1"
bitfld.long 0x14 28. ",Comparison Function Bit 28" "0,1"
bitfld.long 0x14 27. ",Comparison Function Bit 27" "0,1"
bitfld.long 0x14 26. ",Comparison Function Bit 26" "0,1"
bitfld.long 0x14 25. ",Comparison Function Bit 25" "0,1"
bitfld.long 0x14 24. ",Comparison Function Bit 24" "0,1"
bitfld.long 0x14 23. ",Comparison Function Bit 23" "0,1"
bitfld.long 0x14 22. ",Comparison Function Bit 22" "0,1"
bitfld.long 0x14 21. ",Comparison Function Bit 21" "0,1"
bitfld.long 0x14 20. ",Comparison Function Bit 20" "0,1"
bitfld.long 0x14 19. ",Comparison Function Bit 19" "0,1"
bitfld.long 0x14 18. ",Comparison Function Bit 18" "0,1"
bitfld.long 0x14 17. ",Comparison Function Bit 17" "0,1"
bitfld.long 0x14 16. ",Comparison Function Bit 16" "0,1"
bitfld.long 0x14 15. ",Comparison Function Bit 15" "0,1"
bitfld.long 0x14 14. ",Comparison Function Bit 14" "0,1"
bitfld.long 0x14 13. ",Comparison Function Bit 13" "0,1"
bitfld.long 0x14 12. ",Comparison Function Bit 12" "0,1"
bitfld.long 0x14 11. ",Comparison Function Bit 11" "0,1"
bitfld.long 0x14 10. ",Comparison Function Bit 10" "0,1"
bitfld.long 0x14 9. ",Comparison Function Bit 9" "0,1"
bitfld.long 0x14 8. ",Comparison Function Bit 8" "0,1"
bitfld.long 0x14 7. ",Comparison Function Bit 7" "0,1"
bitfld.long 0x14 6. ",Comparison Function Bit 6" "0,1"
bitfld.long 0x14 5. ",Comparison Function Bit 5" "0,1"
bitfld.long 0x14 4. ",Comparison Function Bit 4" "0,1"
bitfld.long 0x14 3. ",Comparison Function Bit 3" "0,1"
bitfld.long 0x14 2. ",Comparison Function Bit 2" "0,1"
bitfld.long 0x14 1. ",Comparison Function Bit 1" "0,1"
bitfld.long 0x14 0. ",Comparison Function Bit 0" "0,1"
line.long 0x18 "GPT0_MASK6,Compare Mask Register (Compare Timer 6)"
bitfld.long 0x18 31. " MASK   ,Comparison Function Bit 31" "0,1"
bitfld.long 0x18 30. ",Comparison Function Bit 30" "0,1"
bitfld.long 0x18 29. ",Comparison Function Bit 29" "0,1"
bitfld.long 0x18 28. ",Comparison Function Bit 28" "0,1"
bitfld.long 0x18 27. ",Comparison Function Bit 27" "0,1"
bitfld.long 0x18 26. ",Comparison Function Bit 26" "0,1"
bitfld.long 0x18 25. ",Comparison Function Bit 25" "0,1"
bitfld.long 0x18 24. ",Comparison Function Bit 24" "0,1"
bitfld.long 0x18 23. ",Comparison Function Bit 23" "0,1"
bitfld.long 0x18 22. ",Comparison Function Bit 22" "0,1"
bitfld.long 0x18 21. ",Comparison Function Bit 21" "0,1"
bitfld.long 0x18 20. ",Comparison Function Bit 20" "0,1"
bitfld.long 0x18 19. ",Comparison Function Bit 19" "0,1"
bitfld.long 0x18 18. ",Comparison Function Bit 18" "0,1"
bitfld.long 0x18 17. ",Comparison Function Bit 17" "0,1"
bitfld.long 0x18 16. ",Comparison Function Bit 16" "0,1"
bitfld.long 0x18 15. ",Comparison Function Bit 15" "0,1"
bitfld.long 0x18 14. ",Comparison Function Bit 14" "0,1"
bitfld.long 0x18 13. ",Comparison Function Bit 13" "0,1"
bitfld.long 0x18 12. ",Comparison Function Bit 12" "0,1"
bitfld.long 0x18 11. ",Comparison Function Bit 11" "0,1"
bitfld.long 0x18 10. ",Comparison Function Bit 10" "0,1"
bitfld.long 0x18 9. ",Comparison Function Bit 9" "0,1"
bitfld.long 0x18 8. ",Comparison Function Bit 8" "0,1"
bitfld.long 0x18 7. ",Comparison Function Bit 7" "0,1"
bitfld.long 0x18 6. ",Comparison Function Bit 6" "0,1"
bitfld.long 0x18 5. ",Comparison Function Bit 5" "0,1"
bitfld.long 0x18 4. ",Comparison Function Bit 4" "0,1"
bitfld.long 0x18 3. ",Comparison Function Bit 3" "0,1"
bitfld.long 0x18 2. ",Comparison Function Bit 2" "0,1"
bitfld.long 0x18 1. ",Comparison Function Bit 1" "0,1"
bitfld.long 0x18 0. ",Comparison Function Bit 0" "0,1"
group 0x110++0x03
line.long 0x00 "GPT0_DCT0,Down Count Timer Register"
hexmask.long 0x00 0.--31. 1. " DCT    ,Time Value"
group 0x11c++0x03
line.long 0x00 "GPT0_DCIS,GPT Interrupt Enable Register"
eventfld.long 0x00 31. " DCIS   ,Down Counter Interrupt Status" "-,Expired"
width 0x0B
elif ((cpu()=="PPC440GRX")||(cpu()=="PPC440EPX"))
base ANC:0x1:0xEF600000
;General Purpose Timers
width 13.
group 0x00++0x3
line.long 0x00 "GPT0_TBC,Time Base Counter Register"
hexmask.long 0x00 0.--31. 1. " TB     ,Time Base"
group 0x18++0x03
line.long 0x00 "GPT0_IM,GPT Interrupt Mask Register"
bitfld.long 0x00 15. " CT0M   ,Compare Timer 0 Interrupt Mask" "-,Enabled"
bitfld.long 0x00 14. "   CT1M   ,Compare Timer 1 Interrupt Mask" "-,Enabled"
bitfld.long 0x00 13. "  CT2M   ,Compare Timer 2 Interrupt Mask" "-,Enabled"
textline "                      "
bitfld.long 0x00 12. " CT3M   ,Compare Timer 3 Interrupt Mask" "-,Enabled"
bitfld.long 0x00 11. "   CT4M   ,Compare Timer 4 Interrupt Mask" "-,Enabled"
bitfld.long 0x00 10. "  CT5M   ,Compare Timer 5 Interrupt Mask" "-,Enabled"
textline "                      "
bitfld.long 0x00 9. " CT6M   ,Compare Timer 6 Interrupt Mask" "-,Enabled"
group 0x1c++0x03
line.long 0x00 "GPT0_ISS,GPT Interrupt Status Register"
bitfld.long 0x00 15. " CT0S   ,Compare Timer 0 Interrupt Status" "-,Enabled"
bitfld.long 0x00 14. "   CT1S   ,Compare Timer 1 Interrupt Status" "-,Enabled"
bitfld.long 0x00 13. "  CT2S   ,Compare Timer 2 Interrupt Status" "-,Enabled"
textline "                      "
bitfld.long 0x00 12. " CT3S   ,Compare Timer 3 Interrupt Status" "-,Enabled"
bitfld.long 0x00 11. "   CT4S   ,Compare Timer 4 Interrupt Status" "-,Enabled"
bitfld.long 0x00 10. "  CT5S   ,Compare Timer 5 Interrupt Status" "-,Enabled"
textline "                      "
bitfld.long 0x00 9. " CT6S   ,Compare Timer 6 Interrupt Status" "-,Enabled"
group 0x20++0x03
line.long 0x00 "GPT0_ISC,GPT Interrupt Status Register"
eventfld.long 0x00 15. " CT0S   ,Compare Timer 0 Interrupt Status" "-,Enabled"
eventfld.long 0x00 14. "   CT1S   ,Compare Timer 1 Interrupt Status" "-,Enabled"
eventfld.long 0x00 13. "  CT2S   ,Compare Timer 2 Interrupt Status" "-,Enabled"
textline "                      "
eventfld.long 0x00 12. " CT3S   ,Compare Timer 3 Interrupt Status" "-,Enabled"
eventfld.long 0x00 11. "   CT4S   ,Compare Timer 4 Interrupt Status" "-,Enabled"
eventfld.long 0x00 10. "  CT5S   ,Compare Timer 5 Interrupt Status" "-,Enabled"
textline "                      "
eventfld.long 0x00 9. " CT6S   ,Compare Timer 6 Interrupt Status" "-,Enabled"
group 0x24++0x03
line.long 0x00 "GPT0_IE,GPT Interrupt Enable Register"
bitfld.long 0x00 15. " CT0I   ,Compare Timer 0 Interrupt Enable" "-,Enabled"
bitfld.long 0x00 14. "   CT1I   ,Compare Timer 1 Interrupt Enable" "-,Enabled"
bitfld.long 0x00 13. "  CT2I   ,Compare Timer 2 Interrupt Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 12. " CT3I   ,Compare Timer 3 Interrupt Enable" "-,Enabled"
bitfld.long 0x00 11. "   CT4I   ,Compare Timer 4 Interrupt Enable" "-,Enabled"
bitfld.long 0x00 10. "  CT5I   ,Compare Timer 5 Interrupt Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00  9. " CT6I   ,Compare Timer 6 Interrupt Enable" "-,Enabled"
group 0x80++0x1b
line.long 0x00 "GPT0_COMP0,Compare Timer 0 Register"
hexmask.long 0x00 0.--31. 1. " COMP   ,Compare Timer 0"
line.long 0x04 "GPT0_COMP1,Compare Timer 1 Register"
hexmask.long 0x04 0.--31. 1. " COMP   ,Compare Timer 1"
line.long 0x08 "GPT0_COMP2,Compare Timer 2 Register"
hexmask.long 0x08 0.--31. 1. " COMP   ,Compare Timer 2"
line.long 0x0C "GPT0_COMP3,Compare Timer 3 Register"
hexmask.long 0x0C 0.--31. 1. " COMP   ,Compare Timer 3"
line.long 0x10 "GPT0_COMP4,Compare Timer 4 Register"
hexmask.long 0x10 0.--31. 1. " COMP   ,Compare Timer 4"
line.long 0x14 "GPT0_COMP5,Compare Timer 5 Register"
hexmask.long 0x14 0.--31. 1. " COMP   ,Compare Timer 5"
line.long 0x18 "GPT0_COMP6,Compare Timer 6 Register"
hexmask.long 0x18 0.--31. 1. " COMP   ,Compare Timer 6"
group 0xC0++0x1b
line.long 0x0 "GPT0_MASK0,Compare Mask Register (Compare Timer 0)"
bitfld.long 0x0 31. " MASK   ,Comparison Function Bit 31" "0,1"
bitfld.long 0x0 30. ",Comparison Function Bit 30" "0,1"
bitfld.long 0x0 29. ",Comparison Function Bit 29" "0,1"
bitfld.long 0x0 28. ",Comparison Function Bit 28" "0,1"
bitfld.long 0x0 27. ",Comparison Function Bit 27" "0,1"
bitfld.long 0x0 26. ",Comparison Function Bit 26" "0,1"
bitfld.long 0x0 25. ",Comparison Function Bit 25" "0,1"
bitfld.long 0x0 24. ",Comparison Function Bit 24" "0,1"
bitfld.long 0x0 23. ",Comparison Function Bit 23" "0,1"
bitfld.long 0x0 22. ",Comparison Function Bit 22" "0,1"
bitfld.long 0x0 21. ",Comparison Function Bit 21" "0,1"
bitfld.long 0x0 20. ",Comparison Function Bit 20" "0,1"
bitfld.long 0x0 19. ",Comparison Function Bit 19" "0,1"
bitfld.long 0x0 18. ",Comparison Function Bit 18" "0,1"
bitfld.long 0x0 17. ",Comparison Function Bit 17" "0,1"
bitfld.long 0x0 16. ",Comparison Function Bit 16" "0,1"
bitfld.long 0x0 15. ",Comparison Function Bit 15" "0,1"
bitfld.long 0x0 14. ",Comparison Function Bit 14" "0,1"
bitfld.long 0x0 13. ",Comparison Function Bit 13" "0,1"
bitfld.long 0x0 12. ",Comparison Function Bit 12" "0,1"
bitfld.long 0x0 11. ",Comparison Function Bit 11" "0,1"
bitfld.long 0x0 10. ",Comparison Function Bit 10" "0,1"
bitfld.long 0x0 9. ",Comparison Function Bit 9" "0,1"
bitfld.long 0x0 8. ",Comparison Function Bit 8" "0,1"
bitfld.long 0x0 7. ",Comparison Function Bit 7" "0,1"
bitfld.long 0x0 6. ",Comparison Function Bit 6" "0,1"
bitfld.long 0x0 5. ",Comparison Function Bit 5" "0,1"
bitfld.long 0x0 4. ",Comparison Function Bit 4" "0,1"
bitfld.long 0x0 3. ",Comparison Function Bit 3" "0,1"
bitfld.long 0x0 2. ",Comparison Function Bit 2" "0,1"
bitfld.long 0x0 1. ",Comparison Function Bit 1" "0,1"
bitfld.long 0x0 0. ",Comparison Function Bit 0" "0,1"
line.long 0x4 "GPT0_MASK1,Compare Mask Register (Compare Timer 1)"
bitfld.long 0x4 31. " MASK   ,Comparison Function Bit 31" "0,1"
bitfld.long 0x4 30. ",Comparison Function Bit 30" "0,1"
bitfld.long 0x4 29. ",Comparison Function Bit 29" "0,1"
bitfld.long 0x4 28. ",Comparison Function Bit 28" "0,1"
bitfld.long 0x4 27. ",Comparison Function Bit 27" "0,1"
bitfld.long 0x4 26. ",Comparison Function Bit 26" "0,1"
bitfld.long 0x4 25. ",Comparison Function Bit 25" "0,1"
bitfld.long 0x4 24. ",Comparison Function Bit 24" "0,1"
bitfld.long 0x4 23. ",Comparison Function Bit 23" "0,1"
bitfld.long 0x4 22. ",Comparison Function Bit 22" "0,1"
bitfld.long 0x4 21. ",Comparison Function Bit 21" "0,1"
bitfld.long 0x4 20. ",Comparison Function Bit 20" "0,1"
bitfld.long 0x4 19. ",Comparison Function Bit 19" "0,1"
bitfld.long 0x4 18. ",Comparison Function Bit 18" "0,1"
bitfld.long 0x4 17. ",Comparison Function Bit 17" "0,1"
bitfld.long 0x4 16. ",Comparison Function Bit 16" "0,1"
bitfld.long 0x4 15. ",Comparison Function Bit 15" "0,1"
bitfld.long 0x4 14. ",Comparison Function Bit 14" "0,1"
bitfld.long 0x4 13. ",Comparison Function Bit 13" "0,1"
bitfld.long 0x4 12. ",Comparison Function Bit 12" "0,1"
bitfld.long 0x4 11. ",Comparison Function Bit 11" "0,1"
bitfld.long 0x4 10. ",Comparison Function Bit 10" "0,1"
bitfld.long 0x4 9. ",Comparison Function Bit 9" "0,1"
bitfld.long 0x4 8. ",Comparison Function Bit 8" "0,1"
bitfld.long 0x4 7. ",Comparison Function Bit 7" "0,1"
bitfld.long 0x4 6. ",Comparison Function Bit 6" "0,1"
bitfld.long 0x4 5. ",Comparison Function Bit 5" "0,1"
bitfld.long 0x4 4. ",Comparison Function Bit 4" "0,1"
bitfld.long 0x4 3. ",Comparison Function Bit 3" "0,1"
bitfld.long 0x4 2. ",Comparison Function Bit 2" "0,1"
bitfld.long 0x4 1. ",Comparison Function Bit 1" "0,1"
bitfld.long 0x4 0. ",Comparison Function Bit 0" "0,1"
line.long 0x8 "GPT0_MASK2,Compare Mask Register (Compare Timer 2)"
bitfld.long 0x8 31. " MASK   ,Comparison Function Bit 31" "0,1"
bitfld.long 0x8 30. ",Comparison Function Bit 30" "0,1"
bitfld.long 0x8 29. ",Comparison Function Bit 29" "0,1"
bitfld.long 0x8 28. ",Comparison Function Bit 28" "0,1"
bitfld.long 0x8 27. ",Comparison Function Bit 27" "0,1"
bitfld.long 0x8 26. ",Comparison Function Bit 26" "0,1"
bitfld.long 0x8 25. ",Comparison Function Bit 25" "0,1"
bitfld.long 0x8 24. ",Comparison Function Bit 24" "0,1"
bitfld.long 0x8 23. ",Comparison Function Bit 23" "0,1"
bitfld.long 0x8 22. ",Comparison Function Bit 22" "0,1"
bitfld.long 0x8 21. ",Comparison Function Bit 21" "0,1"
bitfld.long 0x8 20. ",Comparison Function Bit 20" "0,1"
bitfld.long 0x8 19. ",Comparison Function Bit 19" "0,1"
bitfld.long 0x8 18. ",Comparison Function Bit 18" "0,1"
bitfld.long 0x8 17. ",Comparison Function Bit 17" "0,1"
bitfld.long 0x8 16. ",Comparison Function Bit 16" "0,1"
bitfld.long 0x8 15. ",Comparison Function Bit 15" "0,1"
bitfld.long 0x8 14. ",Comparison Function Bit 14" "0,1"
bitfld.long 0x8 13. ",Comparison Function Bit 13" "0,1"
bitfld.long 0x8 12. ",Comparison Function Bit 12" "0,1"
bitfld.long 0x8 11. ",Comparison Function Bit 11" "0,1"
bitfld.long 0x8 10. ",Comparison Function Bit 10" "0,1"
bitfld.long 0x8 9. ",Comparison Function Bit 9" "0,1"
bitfld.long 0x8 8. ",Comparison Function Bit 8" "0,1"
bitfld.long 0x8 7. ",Comparison Function Bit 7" "0,1"
bitfld.long 0x8 6. ",Comparison Function Bit 6" "0,1"
bitfld.long 0x8 5. ",Comparison Function Bit 5" "0,1"
bitfld.long 0x8 4. ",Comparison Function Bit 4" "0,1"
bitfld.long 0x8 3. ",Comparison Function Bit 3" "0,1"
bitfld.long 0x8 2. ",Comparison Function Bit 2" "0,1"
bitfld.long 0x8 1. ",Comparison Function Bit 1" "0,1"
bitfld.long 0x8 0. ",Comparison Function Bit 0" "0,1"
line.long 0xC "GPT0_MASK3,Compare Mask Register (Compare Timer 3)"
bitfld.long 0xC 31. " MASK   ,Comparison Function Bit 31" "0,1"
bitfld.long 0xC 30. ",Comparison Function Bit 30" "0,1"
bitfld.long 0xC 29. ",Comparison Function Bit 29" "0,1"
bitfld.long 0xC 28. ",Comparison Function Bit 28" "0,1"
bitfld.long 0xC 27. ",Comparison Function Bit 27" "0,1"
bitfld.long 0xC 26. ",Comparison Function Bit 26" "0,1"
bitfld.long 0xC 25. ",Comparison Function Bit 25" "0,1"
bitfld.long 0xC 24. ",Comparison Function Bit 24" "0,1"
bitfld.long 0xC 23. ",Comparison Function Bit 23" "0,1"
bitfld.long 0xC 22. ",Comparison Function Bit 22" "0,1"
bitfld.long 0xC 21. ",Comparison Function Bit 21" "0,1"
bitfld.long 0xC 20. ",Comparison Function Bit 20" "0,1"
bitfld.long 0xC 19. ",Comparison Function Bit 19" "0,1"
bitfld.long 0xC 18. ",Comparison Function Bit 18" "0,1"
bitfld.long 0xC 17. ",Comparison Function Bit 17" "0,1"
bitfld.long 0xC 16. ",Comparison Function Bit 16" "0,1"
bitfld.long 0xC 15. ",Comparison Function Bit 15" "0,1"
bitfld.long 0xC 14. ",Comparison Function Bit 14" "0,1"
bitfld.long 0xC 13. ",Comparison Function Bit 13" "0,1"
bitfld.long 0xC 12. ",Comparison Function Bit 12" "0,1"
bitfld.long 0xC 11. ",Comparison Function Bit 11" "0,1"
bitfld.long 0xC 10. ",Comparison Function Bit 10" "0,1"
bitfld.long 0xC 9. ",Comparison Function Bit 9" "0,1"
bitfld.long 0xC 8. ",Comparison Function Bit 8" "0,1"
bitfld.long 0xC 7. ",Comparison Function Bit 7" "0,1"
bitfld.long 0xC 6. ",Comparison Function Bit 6" "0,1"
bitfld.long 0xC 5. ",Comparison Function Bit 5" "0,1"
bitfld.long 0xC 4. ",Comparison Function Bit 4" "0,1"
bitfld.long 0xC 3. ",Comparison Function Bit 3" "0,1"
bitfld.long 0xC 2. ",Comparison Function Bit 2" "0,1"
bitfld.long 0xC 1. ",Comparison Function Bit 1" "0,1"
bitfld.long 0xC 0. ",Comparison Function Bit 0" "0,1"
line.long 0x10 "GPT0_MASK4,Compare Mask Register (Compare Timer 4)"
bitfld.long 0x10 31. " MASK   ,Comparison Function Bit 31" "0,1"
bitfld.long 0x10 30. ",Comparison Function Bit 30" "0,1"
bitfld.long 0x10 29. ",Comparison Function Bit 29" "0,1"
bitfld.long 0x10 28. ",Comparison Function Bit 28" "0,1"
bitfld.long 0x10 27. ",Comparison Function Bit 27" "0,1"
bitfld.long 0x10 26. ",Comparison Function Bit 26" "0,1"
bitfld.long 0x10 25. ",Comparison Function Bit 25" "0,1"
bitfld.long 0x10 24. ",Comparison Function Bit 24" "0,1"
bitfld.long 0x10 23. ",Comparison Function Bit 23" "0,1"
bitfld.long 0x10 22. ",Comparison Function Bit 22" "0,1"
bitfld.long 0x10 21. ",Comparison Function Bit 21" "0,1"
bitfld.long 0x10 20. ",Comparison Function Bit 20" "0,1"
bitfld.long 0x10 19. ",Comparison Function Bit 19" "0,1"
bitfld.long 0x10 18. ",Comparison Function Bit 18" "0,1"
bitfld.long 0x10 17. ",Comparison Function Bit 17" "0,1"
bitfld.long 0x10 16. ",Comparison Function Bit 16" "0,1"
bitfld.long 0x10 15. ",Comparison Function Bit 15" "0,1"
bitfld.long 0x10 14. ",Comparison Function Bit 14" "0,1"
bitfld.long 0x10 13. ",Comparison Function Bit 13" "0,1"
bitfld.long 0x10 12. ",Comparison Function Bit 12" "0,1"
bitfld.long 0x10 11. ",Comparison Function Bit 11" "0,1"
bitfld.long 0x10 10. ",Comparison Function Bit 10" "0,1"
bitfld.long 0x10 9. ",Comparison Function Bit 9" "0,1"
bitfld.long 0x10 8. ",Comparison Function Bit 8" "0,1"
bitfld.long 0x10 7. ",Comparison Function Bit 7" "0,1"
bitfld.long 0x10 6. ",Comparison Function Bit 6" "0,1"
bitfld.long 0x10 5. ",Comparison Function Bit 5" "0,1"
bitfld.long 0x10 4. ",Comparison Function Bit 4" "0,1"
bitfld.long 0x10 3. ",Comparison Function Bit 3" "0,1"
bitfld.long 0x10 2. ",Comparison Function Bit 2" "0,1"
bitfld.long 0x10 1. ",Comparison Function Bit 1" "0,1"
bitfld.long 0x10 0. ",Comparison Function Bit 0" "0,1"
line.long 0x14 "GPT0_MASK5,Compare Mask Register (Compare Timer 5)"
bitfld.long 0x14 31. " MASK   ,Comparison Function Bit 31" "0,1"
bitfld.long 0x14 30. ",Comparison Function Bit 30" "0,1"
bitfld.long 0x14 29. ",Comparison Function Bit 29" "0,1"
bitfld.long 0x14 28. ",Comparison Function Bit 28" "0,1"
bitfld.long 0x14 27. ",Comparison Function Bit 27" "0,1"
bitfld.long 0x14 26. ",Comparison Function Bit 26" "0,1"
bitfld.long 0x14 25. ",Comparison Function Bit 25" "0,1"
bitfld.long 0x14 24. ",Comparison Function Bit 24" "0,1"
bitfld.long 0x14 23. ",Comparison Function Bit 23" "0,1"
bitfld.long 0x14 22. ",Comparison Function Bit 22" "0,1"
bitfld.long 0x14 21. ",Comparison Function Bit 21" "0,1"
bitfld.long 0x14 20. ",Comparison Function Bit 20" "0,1"
bitfld.long 0x14 19. ",Comparison Function Bit 19" "0,1"
bitfld.long 0x14 18. ",Comparison Function Bit 18" "0,1"
bitfld.long 0x14 17. ",Comparison Function Bit 17" "0,1"
bitfld.long 0x14 16. ",Comparison Function Bit 16" "0,1"
bitfld.long 0x14 15. ",Comparison Function Bit 15" "0,1"
bitfld.long 0x14 14. ",Comparison Function Bit 14" "0,1"
bitfld.long 0x14 13. ",Comparison Function Bit 13" "0,1"
bitfld.long 0x14 12. ",Comparison Function Bit 12" "0,1"
bitfld.long 0x14 11. ",Comparison Function Bit 11" "0,1"
bitfld.long 0x14 10. ",Comparison Function Bit 10" "0,1"
bitfld.long 0x14 9. ",Comparison Function Bit 9" "0,1"
bitfld.long 0x14 8. ",Comparison Function Bit 8" "0,1"
bitfld.long 0x14 7. ",Comparison Function Bit 7" "0,1"
bitfld.long 0x14 6. ",Comparison Function Bit 6" "0,1"
bitfld.long 0x14 5. ",Comparison Function Bit 5" "0,1"
bitfld.long 0x14 4. ",Comparison Function Bit 4" "0,1"
bitfld.long 0x14 3. ",Comparison Function Bit 3" "0,1"
bitfld.long 0x14 2. ",Comparison Function Bit 2" "0,1"
bitfld.long 0x14 1. ",Comparison Function Bit 1" "0,1"
bitfld.long 0x14 0. ",Comparison Function Bit 0" "0,1"
line.long 0x18 "GPT0_MASK6,Compare Mask Register (Compare Timer 6)"
bitfld.long 0x18 31. " MASK   ,Comparison Function Bit 31" "0,1"
bitfld.long 0x18 30. ",Comparison Function Bit 30" "0,1"
bitfld.long 0x18 29. ",Comparison Function Bit 29" "0,1"
bitfld.long 0x18 28. ",Comparison Function Bit 28" "0,1"
bitfld.long 0x18 27. ",Comparison Function Bit 27" "0,1"
bitfld.long 0x18 26. ",Comparison Function Bit 26" "0,1"
bitfld.long 0x18 25. ",Comparison Function Bit 25" "0,1"
bitfld.long 0x18 24. ",Comparison Function Bit 24" "0,1"
bitfld.long 0x18 23. ",Comparison Function Bit 23" "0,1"
bitfld.long 0x18 22. ",Comparison Function Bit 22" "0,1"
bitfld.long 0x18 21. ",Comparison Function Bit 21" "0,1"
bitfld.long 0x18 20. ",Comparison Function Bit 20" "0,1"
bitfld.long 0x18 19. ",Comparison Function Bit 19" "0,1"
bitfld.long 0x18 18. ",Comparison Function Bit 18" "0,1"
bitfld.long 0x18 17. ",Comparison Function Bit 17" "0,1"
bitfld.long 0x18 16. ",Comparison Function Bit 16" "0,1"
bitfld.long 0x18 15. ",Comparison Function Bit 15" "0,1"
bitfld.long 0x18 14. ",Comparison Function Bit 14" "0,1"
bitfld.long 0x18 13. ",Comparison Function Bit 13" "0,1"
bitfld.long 0x18 12. ",Comparison Function Bit 12" "0,1"
bitfld.long 0x18 11. ",Comparison Function Bit 11" "0,1"
bitfld.long 0x18 10. ",Comparison Function Bit 10" "0,1"
bitfld.long 0x18 9. ",Comparison Function Bit 9" "0,1"
bitfld.long 0x18 8. ",Comparison Function Bit 8" "0,1"
bitfld.long 0x18 7. ",Comparison Function Bit 7" "0,1"
bitfld.long 0x18 6. ",Comparison Function Bit 6" "0,1"
bitfld.long 0x18 5. ",Comparison Function Bit 5" "0,1"
bitfld.long 0x18 4. ",Comparison Function Bit 4" "0,1"
bitfld.long 0x18 3. ",Comparison Function Bit 3" "0,1"
bitfld.long 0x18 2. ",Comparison Function Bit 2" "0,1"
bitfld.long 0x18 1. ",Comparison Function Bit 1" "0,1"
bitfld.long 0x18 0. ",Comparison Function Bit 0" "0,1"
group 0x110++0x03
line.long 0x00 "GPT0_DCT0,Down Count Timer Register"
hexmask.long 0x00 0.--31. 1. " DCT    ,Time Value"
group 0x11c++0x03
line.long 0x00 "GPT0_DCIS,GPT Interrupt Enable Register"
eventfld.long 0x00 31. " DCIS   ,Down Counter Interrupt Status" "-,Expired"
width 0x0B
elif (cpu()=="PPC440GX")
base ANC:0x1:0x40000000
width 0xC
group.long 0xa00++0x3
line.long 0x0 "GPT0_TBC,GPT Time Base Counter 0"
group.long 0xA18++0xF
line.long 0x0 "GPT0_IM,GPT Interrupt Mask Register 0"
bitfld.long 0x00 15. " CT0M           ,Compare Timer 0 Interrupt Mask" "-,Enabled"
bitfld.long 0x00 14. "  CT1M           ,Compare Timer 1 Interrupt Mask" "-,Enabled"
bitfld.long 0x00 13. "  CT2M           ,Compare Timer 2 Interrupt Mask" "-,Enabled"
textline "                     "
bitfld.long 0x00 12. " CT3M           ,Compare Timer 3 Interrupt Mask" "-,Enabled"
bitfld.long 0x00 11. "  CT4M           ,Compare Timer 4 Interrupt Mask" "-,Enabled"
bitfld.long 0x00 10. "  CT5M           ,Compare Timer 5 Interrupt Mask" "-,Enabled"
textline "                     "
bitfld.long 0x00 9. " CT6M           ,Compare Timer 6 Interrupt Mask" "-,Enabled"
line.long 0x4 "GPT0_ISS,GPT Interrupt Status Register 0"
setclrfld.long 0x4 15. 0x4 15. 0x8 15. " CT0S_Clear/Set ,Compare Timer 0 Interrupt Status" "-,Enabled"
setclrfld.long 0x4 14. 0x4 14. 0x8 14. "  CT1S_Clear/Set ,Compare Timer 1 Interrupt Status" "-,Enabled"
setclrfld.long 0x4 13. 0x4 13. 0x8 13. "  CT2S_Clear/Set ,Compare Timer 2 Interrupt Status" "-,Enabled"
textline "                     "
setclrfld.long 0x4 12. 0x4 12. 0x8 12. " CT3S_Clear/Set ,Compare Timer 3 Interrupt Status" "-,Enabled"
setclrfld.long 0x4 11. 0x4 11. 0x8 11. "  CT4S_Clear/Set ,Compare Timer 4 Interrupt Status" "-,Enabled"
setclrfld.long 0x4 10. 0x4 10. 0x8 10. "  CT5S_Clear/Set ,Compare Timer 5 Interrupt Status" "-,Enabled"
textline "                     "
setclrfld.long 0x4 9. 0x4 9. 0x8 9. " CT6S_Clear/Set ,Compare Timer 6 Interrupt Status" "-,Enabled"
line.long 0xC "GPT0_IE,GPT Interrupt Enable Register 0"
bitfld.long 0xC 15. " CT0I           ,Compare Timer 0 Interrupt Enable" "-,Enabled"
bitfld.long 0xC 14. "  CT1I           ,Compare Timer 1 Interrupt Enable" "-,Enabled"
bitfld.long 0xC 13. "  CT2I           ,Compare Timer 2 Interrupt Enable" "-,Enabled"
textline "                     "
bitfld.long 0xC 12. " CT3I           ,Compare Timer 3 Interrupt Enable" "-,Enabled"
bitfld.long 0xC 11. "  CT4I           ,Compare Timer 4 Interrupt Enable" "-,Enabled"
bitfld.long 0xC 10. "  CT5I           ,Compare Timer 5 Interrupt Enable" "-,Enabled"
textline "                     "
bitfld.long 0xC 9. " CT6I           ,Compare Timer 6 Interrupt Enable" "-,Enabled"
group.long 0xA80++0x1B
line.long 0x0 "GPT0_COMP0,Compare Timer Register 0"
line.long 0x4 "GPT0_COMP1,Compare Timer Register 1"
line.long 0x8 "GPT0_COMP2,Compare Timer Register 2"
line.long 0xC "GPT0_COMP3,Compare Timer Register 3"
line.long 0x10 "GPT0_COMP4,Compare Timer Register 4"
line.long 0x14 "GPT0_COMP5,Compare Timer Register 5"
line.long 0x18 "GPT0_COMP6,Compare Timer Register 6"
group 0xAC0++0x1B
line.long 0x0 "GPT0_MASK0,GPT Compare Mask Register 0"
bitfld.long 0x00 31. " MASK0  ,Comparison Function 0" "-,Disabled"
bitfld.long 0x00 30. "  MASK1  ,Comparison Function 1" "-,Disabled"
bitfld.long 0x00 29. "  MASK2  ,Comparison Function 2" "-,Disabled"
textline "                     "
bitfld.long 0x00 28. " MASK3  ,Comparison Function 3" "-,Disabled"
bitfld.long 0x00 27. "  MASK4  ,Comparison Function 4" "-,Disabled"
bitfld.long 0x00 26. "  MASK5  ,Comparison Function 5" "-,Disabled"
textline "                     "
bitfld.long 0x00 25. " MASK6  ,Comparison Function 6" "-,Disabled"
bitfld.long 0x00 24. "  MASK7  ,Comparison Function 7" "-,Disabled"
bitfld.long 0x00 23. "  MASK8  ,Comparison Function 8" "-,Disabled"
textline "                     "
bitfld.long 0x00 22. " MASK9  ,Comparison Function 9" "-,Disabled"
bitfld.long 0x00 21. "  MASK10 ,Comparison Function 10" "-,Disabled"
bitfld.long 0x00 20. "  MASK11 ,Comparison Function 11" "-,Disabled"
textline "                     "
bitfld.long 0x00 19. " MASK12 ,Comparison Function 12" "-,Disabled"
bitfld.long 0x00 18. "  MASK13 ,Comparison Function 13" "-,Disabled"
bitfld.long 0x00 17. "  MASK14 ,Comparison Function 14" "-,Disabled"
textline "                     "
bitfld.long 0x00 16. " MASK15 ,Comparison Function 15" "-,Disabled"
bitfld.long 0x00 15. "  MASK16 ,Comparison Function 16" "-,Disabled"
bitfld.long 0x00 14. "  MASK17 ,Comparison Function 17" "-,Disabled"
textline "                     "
bitfld.long 0x00 13. " MASK18 ,Comparison Function 18" "-,Disabled"
bitfld.long 0x00 12. "  MASK19 ,Comparison Function 19" "-,Disabled"
bitfld.long 0x00 11. "  MASK20 ,Comparison Function 20" "-,Disabled"
textline "                     "
bitfld.long 0x00 10. " MASK21 ,Comparison Function 21" "-,Disabled"
bitfld.long 0x00 9. "  MASK22 ,Comparison Function 22" "-,Disabled"
bitfld.long 0x00 8. "  MASK23 ,Comparison Function 23" "-,Disabled"
textline "                     "
bitfld.long 0x00 7. " MASK24 ,Comparison Function 24" "-,Disabled"
bitfld.long 0x00 6. "  MASK25 ,Comparison Function 25" "-,Disabled"
bitfld.long 0x00 5. "  MASK26 ,Comparison Function 26" "-,Disabled"
textline "                     "
bitfld.long 0x00 4. " MASK27 ,Comparison Function 27" "-,Disabled"
bitfld.long 0x00 3. "  MASK28 ,Comparison Function 28" "-,Disabled"
bitfld.long 0x00 2. "  MASK29 ,Comparison Function 29" "-,Disabled"
textline "                     "
bitfld.long 0x00 1. " MASK30 ,Comparison Function 30" "-,Disabled"
bitfld.long 0x00 0. "  MASK31 ,Comparison Function 31" "-,Disabled"
line.long 0x4 "GPT0_MASK1,GPT Compare Mask Register 1"
bitfld.long 0x4 31. " MASK0  ,Comparison Function 0" "-,Disabled"
bitfld.long 0x4 30. "  MASK1  ,Comparison Function 1" "-,Disabled"
bitfld.long 0x4 29. "  MASK2  ,Comparison Function 2" "-,Disabled"
textline "                     "
bitfld.long 0x4 28. " MASK3  ,Comparison Function 3" "-,Disabled"
bitfld.long 0x4 27. "  MASK4  ,Comparison Function 4" "-,Disabled"
bitfld.long 0x4 26. "  MASK5  ,Comparison Function 5" "-,Disabled"
textline "                     "
bitfld.long 0x4 25. " MASK6  ,Comparison Function 6" "-,Disabled"
bitfld.long 0x4 24. "  MASK7  ,Comparison Function 7" "-,Disabled"
bitfld.long 0x4 23. "  MASK8  ,Comparison Function 8" "-,Disabled"
textline "                     "
bitfld.long 0x4 22. " MASK9  ,Comparison Function 9" "-,Disabled"
bitfld.long 0x4 21. "  MASK10 ,Comparison Function 10" "-,Disabled"
bitfld.long 0x4 20. "  MASK11 ,Comparison Function 11" "-,Disabled"
textline "                     "
bitfld.long 0x4 19. " MASK12 ,Comparison Function 12" "-,Disabled"
bitfld.long 0x4 18. "  MASK13 ,Comparison Function 13" "-,Disabled"
bitfld.long 0x4 17. "  MASK14 ,Comparison Function 14" "-,Disabled"
textline "                     "
bitfld.long 0x4 16. " MASK15 ,Comparison Function 15" "-,Disabled"
bitfld.long 0x4 15. "  MASK16 ,Comparison Function 16" "-,Disabled"
bitfld.long 0x4 14. "  MASK17 ,Comparison Function 17" "-,Disabled"
textline "                     "
bitfld.long 0x4 13. " MASK18 ,Comparison Function 18" "-,Disabled"
bitfld.long 0x4 12. "  MASK19 ,Comparison Function 19" "-,Disabled"
bitfld.long 0x4 11. "  MASK20 ,Comparison Function 20" "-,Disabled"
textline "                     "
bitfld.long 0x4 10. " MASK21 ,Comparison Function 21" "-,Disabled"
bitfld.long 0x4 9. "  MASK22 ,Comparison Function 22" "-,Disabled"
bitfld.long 0x4 8. "  MASK23 ,Comparison Function 23" "-,Disabled"
textline "                     "
bitfld.long 0x4 7. " MASK24 ,Comparison Function 24" "-,Disabled"
bitfld.long 0x4 6. "  MASK25 ,Comparison Function 25" "-,Disabled"
bitfld.long 0x4 5. "  MASK26 ,Comparison Function 26" "-,Disabled"
textline "                     "
bitfld.long 0x4 4. " MASK27 ,Comparison Function 27" "-,Disabled"
bitfld.long 0x4 3. "  MASK28 ,Comparison Function 28" "-,Disabled"
bitfld.long 0x4 2. "  MASK29 ,Comparison Function 29" "-,Disabled"
textline "                     "
bitfld.long 0x4 1. " MASK30 ,Comparison Function 30" "-,Disabled"
bitfld.long 0x4 0. "  MASK31 ,Comparison Function 31" "-,Disabled"
line.long 0x8 "GPT0_MASK2,GPT Compare Mask Register 2"
bitfld.long 0x8 31. " MASK0  ,Comparison Function 0" "-,Disabled"
bitfld.long 0x8 30. "  MASK1  ,Comparison Function 1" "-,Disabled"
bitfld.long 0x8 29. "  MASK2  ,Comparison Function 2" "-,Disabled"
textline "                     "
bitfld.long 0x8 28. " MASK3  ,Comparison Function 3" "-,Disabled"
bitfld.long 0x8 27. "  MASK4  ,Comparison Function 4" "-,Disabled"
bitfld.long 0x8 26. "  MASK5  ,Comparison Function 5" "-,Disabled"
textline "                     "
bitfld.long 0x8 25. " MASK6  ,Comparison Function 6" "-,Disabled"
bitfld.long 0x8 24. "  MASK7  ,Comparison Function 7" "-,Disabled"
bitfld.long 0x8 23. "  MASK8  ,Comparison Function 8" "-,Disabled"
textline "                     "
bitfld.long 0x8 22. " MASK9  ,Comparison Function 9" "-,Disabled"
bitfld.long 0x8 21. "  MASK10 ,Comparison Function 10" "-,Disabled"
bitfld.long 0x8 20. "  MASK11 ,Comparison Function 11" "-,Disabled"
textline "                     "
bitfld.long 0x8 19. " MASK12 ,Comparison Function 12" "-,Disabled"
bitfld.long 0x8 18. "  MASK13 ,Comparison Function 13" "-,Disabled"
bitfld.long 0x8 17. "  MASK14 ,Comparison Function 14" "-,Disabled"
textline "                     "
bitfld.long 0x8 16. " MASK15 ,Comparison Function 15" "-,Disabled"
bitfld.long 0x8 15. "  MASK16 ,Comparison Function 16" "-,Disabled"
bitfld.long 0x8 14. "  MASK17 ,Comparison Function 17" "-,Disabled"
textline "                     "
bitfld.long 0x8 13. " MASK18 ,Comparison Function 18" "-,Disabled"
bitfld.long 0x8 12. "  MASK19 ,Comparison Function 19" "-,Disabled"
bitfld.long 0x8 11. "  MASK20 ,Comparison Function 20" "-,Disabled"
textline "                     "
bitfld.long 0x8 10. " MASK21 ,Comparison Function 21" "-,Disabled"
bitfld.long 0x8 9. "  MASK22 ,Comparison Function 22" "-,Disabled"
bitfld.long 0x8 8. "  MASK23 ,Comparison Function 23" "-,Disabled"
textline "                     "
bitfld.long 0x8 7. " MASK24 ,Comparison Function 24" "-,Disabled"
bitfld.long 0x8 6. "  MASK25 ,Comparison Function 25" "-,Disabled"
bitfld.long 0x8 5. "  MASK26 ,Comparison Function 26" "-,Disabled"
textline "                     "
bitfld.long 0x8 4. " MASK27 ,Comparison Function 27" "-,Disabled"
bitfld.long 0x8 3. "  MASK28 ,Comparison Function 28" "-,Disabled"
bitfld.long 0x8 2. "  MASK29 ,Comparison Function 29" "-,Disabled"
textline "                     "
bitfld.long 0x8 1. " MASK30 ,Comparison Function 30" "-,Disabled"
bitfld.long 0x8 0. "  MASK31 ,Comparison Function 31" "-,Disabled"
line.long 0xC "GPT0_MASK3,GPT Compare Mask Register 3"
bitfld.long 0xC 31. " MASK0  ,Comparison Function 0" "-,Disabled"
bitfld.long 0xC 30. "  MASK1  ,Comparison Function 1" "-,Disabled"
bitfld.long 0xC 29. "  MASK2  ,Comparison Function 2" "-,Disabled"
textline "                     "
bitfld.long 0xC 28. " MASK3  ,Comparison Function 3" "-,Disabled"
bitfld.long 0xC 27. "  MASK4  ,Comparison Function 4" "-,Disabled"
bitfld.long 0xC 26. "  MASK5  ,Comparison Function 5" "-,Disabled"
textline "                     "
bitfld.long 0xC 25. " MASK6  ,Comparison Function 6" "-,Disabled"
bitfld.long 0xC 24. "  MASK7  ,Comparison Function 7" "-,Disabled"
bitfld.long 0xC 23. "  MASK8  ,Comparison Function 8" "-,Disabled"
textline "                     "
bitfld.long 0xC 22. " MASK9  ,Comparison Function 9" "-,Disabled"
bitfld.long 0xC 21. "  MASK10 ,Comparison Function 10" "-,Disabled"
bitfld.long 0xC 20. "  MASK11 ,Comparison Function 11" "-,Disabled"
textline "                     "
bitfld.long 0xC 19. " MASK12 ,Comparison Function 12" "-,Disabled"
bitfld.long 0xC 18. "  MASK13 ,Comparison Function 13" "-,Disabled"
bitfld.long 0xC 17. "  MASK14 ,Comparison Function 14" "-,Disabled"
textline "                     "
bitfld.long 0xC 16. " MASK15 ,Comparison Function 15" "-,Disabled"
bitfld.long 0xC 15. "  MASK16 ,Comparison Function 16" "-,Disabled"
bitfld.long 0xC 14. "  MASK17 ,Comparison Function 17" "-,Disabled"
textline "                     "
bitfld.long 0xC 13. " MASK18 ,Comparison Function 18" "-,Disabled"
bitfld.long 0xC 12. "  MASK19 ,Comparison Function 19" "-,Disabled"
bitfld.long 0xC 11. "  MASK20 ,Comparison Function 20" "-,Disabled"
textline "                     "
bitfld.long 0xC 10. " MASK21 ,Comparison Function 21" "-,Disabled"
bitfld.long 0xC 9. "  MASK22 ,Comparison Function 22" "-,Disabled"
bitfld.long 0xC 8. "  MASK23 ,Comparison Function 23" "-,Disabled"
textline "                     "
bitfld.long 0xC 7. " MASK24 ,Comparison Function 24" "-,Disabled"
bitfld.long 0xC 6. "  MASK25 ,Comparison Function 25" "-,Disabled"
bitfld.long 0xC 5. "  MASK26 ,Comparison Function 26" "-,Disabled"
textline "                     "
bitfld.long 0xC 4. " MASK27 ,Comparison Function 27" "-,Disabled"
bitfld.long 0xC 3. "  MASK28 ,Comparison Function 28" "-,Disabled"
bitfld.long 0xC 2. "  MASK29 ,Comparison Function 29" "-,Disabled"
textline "                     "
bitfld.long 0xC 1. " MASK30 ,Comparison Function 30" "-,Disabled"
bitfld.long 0xC 0. "  MASK31 ,Comparison Function 31" "-,Disabled"
line.long 0x10 "GPT0_MASK4,GPT Compare Mask Register 4"
bitfld.long 0x10 31. " MASK0  ,Comparison Function 0" "-,Disabled"
bitfld.long 0x10 30. "  MASK1  ,Comparison Function 1" "-,Disabled"
bitfld.long 0x10 29. "  MASK2  ,Comparison Function 2" "-,Disabled"
textline "                     "
bitfld.long 0x10 28. " MASK3  ,Comparison Function 3" "-,Disabled"
bitfld.long 0x10 27. "  MASK4  ,Comparison Function 4" "-,Disabled"
bitfld.long 0x10 26. "  MASK5  ,Comparison Function 5" "-,Disabled"
textline "                     "
bitfld.long 0x10 25. " MASK6  ,Comparison Function 6" "-,Disabled"
bitfld.long 0x10 24. "  MASK7  ,Comparison Function 7" "-,Disabled"
bitfld.long 0x10 23. "  MASK8  ,Comparison Function 8" "-,Disabled"
textline "                     "
bitfld.long 0x10 22. " MASK9  ,Comparison Function 9" "-,Disabled"
bitfld.long 0x10 21. "  MASK10 ,Comparison Function 10" "-,Disabled"
bitfld.long 0x10 20. "  MASK11 ,Comparison Function 11" "-,Disabled"
textline "                     "
bitfld.long 0x10 19. " MASK12 ,Comparison Function 12" "-,Disabled"
bitfld.long 0x10 18. "  MASK13 ,Comparison Function 13" "-,Disabled"
bitfld.long 0x10 17. "  MASK14 ,Comparison Function 14" "-,Disabled"
textline "                     "
bitfld.long 0x10 16. " MASK15 ,Comparison Function 15" "-,Disabled"
bitfld.long 0x10 15. "  MASK16 ,Comparison Function 16" "-,Disabled"
bitfld.long 0x10 14. "  MASK17 ,Comparison Function 17" "-,Disabled"
textline "                     "
bitfld.long 0x10 13. " MASK18 ,Comparison Function 18" "-,Disabled"
bitfld.long 0x10 12. "  MASK19 ,Comparison Function 19" "-,Disabled"
bitfld.long 0x10 11. "  MASK20 ,Comparison Function 20" "-,Disabled"
textline "                     "
bitfld.long 0x10 10. " MASK21 ,Comparison Function 21" "-,Disabled"
bitfld.long 0x10 9. "  MASK22 ,Comparison Function 22" "-,Disabled"
bitfld.long 0x10 8. "  MASK23 ,Comparison Function 23" "-,Disabled"
textline "                     "
bitfld.long 0x10 7. " MASK24 ,Comparison Function 24" "-,Disabled"
bitfld.long 0x10 6. "  MASK25 ,Comparison Function 25" "-,Disabled"
bitfld.long 0x10 5. "  MASK26 ,Comparison Function 26" "-,Disabled"
textline "                     "
bitfld.long 0x10 4. " MASK27 ,Comparison Function 27" "-,Disabled"
bitfld.long 0x10 3. "  MASK28 ,Comparison Function 28" "-,Disabled"
bitfld.long 0x10 2. "  MASK29 ,Comparison Function 29" "-,Disabled"
textline "                     "
bitfld.long 0x10 1. " MASK30 ,Comparison Function 30" "-,Disabled"
bitfld.long 0x10 0. "  MASK31 ,Comparison Function 31" "-,Disabled"
line.long 0x14 "GPT0_MASK5,GPT Compare Mask Register 5"
bitfld.long 0x14 31. " MASK0  ,Comparison Function 0" "-,Disabled"
bitfld.long 0x14 30. "  MASK1  ,Comparison Function 1" "-,Disabled"
bitfld.long 0x14 29. "  MASK2  ,Comparison Function 2" "-,Disabled"
textline "                     "
bitfld.long 0x14 28. " MASK3  ,Comparison Function 3" "-,Disabled"
bitfld.long 0x14 27. "  MASK4  ,Comparison Function 4" "-,Disabled"
bitfld.long 0x14 26. "  MASK5  ,Comparison Function 5" "-,Disabled"
textline "                     "
bitfld.long 0x14 25. " MASK6  ,Comparison Function 6" "-,Disabled"
bitfld.long 0x14 24. "  MASK7  ,Comparison Function 7" "-,Disabled"
bitfld.long 0x14 23. "  MASK8  ,Comparison Function 8" "-,Disabled"
textline "                     "
bitfld.long 0x14 22. " MASK9  ,Comparison Function 9" "-,Disabled"
bitfld.long 0x14 21. "  MASK10 ,Comparison Function 10" "-,Disabled"
bitfld.long 0x14 20. "  MASK11 ,Comparison Function 11" "-,Disabled"
textline "                     "
bitfld.long 0x14 19. " MASK12 ,Comparison Function 12" "-,Disabled"
bitfld.long 0x14 18. "  MASK13 ,Comparison Function 13" "-,Disabled"
bitfld.long 0x14 17. "  MASK14 ,Comparison Function 14" "-,Disabled"
textline "                     "
bitfld.long 0x14 16. " MASK15 ,Comparison Function 15" "-,Disabled"
bitfld.long 0x14 15. "  MASK16 ,Comparison Function 16" "-,Disabled"
bitfld.long 0x14 14. "  MASK17 ,Comparison Function 17" "-,Disabled"
textline "                     "
bitfld.long 0x14 13. " MASK18 ,Comparison Function 18" "-,Disabled"
bitfld.long 0x14 12. "  MASK19 ,Comparison Function 19" "-,Disabled"
bitfld.long 0x14 11. "  MASK20 ,Comparison Function 20" "-,Disabled"
textline "                     "
bitfld.long 0x14 10. " MASK21 ,Comparison Function 21" "-,Disabled"
bitfld.long 0x14 9. "  MASK22 ,Comparison Function 22" "-,Disabled"
bitfld.long 0x14 8. "  MASK23 ,Comparison Function 23" "-,Disabled"
textline "                     "
bitfld.long 0x14 7. " MASK24 ,Comparison Function 24" "-,Disabled"
bitfld.long 0x14 6. "  MASK25 ,Comparison Function 25" "-,Disabled"
bitfld.long 0x14 5. "  MASK26 ,Comparison Function 26" "-,Disabled"
textline "                     "
bitfld.long 0x14 4. " MASK27 ,Comparison Function 27" "-,Disabled"
bitfld.long 0x14 3. "  MASK28 ,Comparison Function 28" "-,Disabled"
bitfld.long 0x14 2. "  MASK29 ,Comparison Function 29" "-,Disabled"
textline "                     "
bitfld.long 0x14 1. " MASK30 ,Comparison Function 30" "-,Disabled"
bitfld.long 0x14 0. "  MASK31 ,Comparison Function 31" "-,Disabled"
line.long 0x18 "GPT0_MASK6,GPT Compare Mask Register 6"
bitfld.long 0x18 31. " MASK0  ,Comparison Function 0" "-,Disabled"
bitfld.long 0x18 30. "  MASK1  ,Comparison Function 1" "-,Disabled"
bitfld.long 0x18 29. "  MASK2  ,Comparison Function 2" "-,Disabled"
textline "                     "
bitfld.long 0x18 28. " MASK3  ,Comparison Function 3" "-,Disabled"
bitfld.long 0x18 27. "  MASK4  ,Comparison Function 4" "-,Disabled"
bitfld.long 0x18 26. "  MASK5  ,Comparison Function 5" "-,Disabled"
textline "                     "
bitfld.long 0x18 25. " MASK6  ,Comparison Function 6" "-,Disabled"
bitfld.long 0x18 24. "  MASK7  ,Comparison Function 7" "-,Disabled"
bitfld.long 0x18 23. "  MASK8  ,Comparison Function 8" "-,Disabled"
textline "                     "
bitfld.long 0x18 22. " MASK9  ,Comparison Function 9" "-,Disabled"
bitfld.long 0x18 21. "  MASK10 ,Comparison Function 10" "-,Disabled"
bitfld.long 0x18 20. "  MASK11 ,Comparison Function 11" "-,Disabled"
textline "                     "
bitfld.long 0x18 19. " MASK12 ,Comparison Function 12" "-,Disabled"
bitfld.long 0x18 18. "  MASK13 ,Comparison Function 13" "-,Disabled"
bitfld.long 0x18 17. "  MASK14 ,Comparison Function 14" "-,Disabled"
textline "                     "
bitfld.long 0x18 16. " MASK15 ,Comparison Function 15" "-,Disabled"
bitfld.long 0x18 15. "  MASK16 ,Comparison Function 16" "-,Disabled"
bitfld.long 0x18 14. "  MASK17 ,Comparison Function 17" "-,Disabled"
textline "                     "
bitfld.long 0x18 13. " MASK18 ,Comparison Function 18" "-,Disabled"
bitfld.long 0x18 12. "  MASK19 ,Comparison Function 19" "-,Disabled"
bitfld.long 0x18 11. "  MASK20 ,Comparison Function 20" "-,Disabled"
textline "                     "
bitfld.long 0x18 10. " MASK21 ,Comparison Function 21" "-,Disabled"
bitfld.long 0x18 9. "  MASK22 ,Comparison Function 22" "-,Disabled"
bitfld.long 0x18 8. "  MASK23 ,Comparison Function 23" "-,Disabled"
textline "                     "
bitfld.long 0x18 7. " MASK24 ,Comparison Function 24" "-,Disabled"
bitfld.long 0x18 6. "  MASK25 ,Comparison Function 25" "-,Disabled"
bitfld.long 0x18 5. "  MASK26 ,Comparison Function 26" "-,Disabled"
textline "                     "
bitfld.long 0x18 4. " MASK27 ,Comparison Function 27" "-,Disabled"
bitfld.long 0x18 3. "  MASK28 ,Comparison Function 28" "-,Disabled"
bitfld.long 0x18 2. "  MASK29 ,Comparison Function 29" "-,Disabled"
textline "                     "
bitfld.long 0x18 1. " MASK30 ,Comparison Function 30" "-,Disabled"
bitfld.long 0x18 0. "  MASK31 ,Comparison Function 31" "-,Disabled"
width 0xB
elif (cpu()=="PPC440SP")
;General Purpose Timers
width 11.
base ad:0x1:0xF0000A00
group 0x00++0x3
line.long 0x00 "GPT0_TBC,Time Base Counter"
hexmask.long 0x00 0.--31. 1. " TB   ,Time Base"
group 0x10++0x17
line.long 0x08 "GPT0_IM,GPT Interrupt Mask"
bitfld.long 0x08 15. " CT0M ,Compare Timer 0 Interrupt Mask" "-,Enabled"
bitfld.long 0x08 14. "   CT1M ,Compare Timer 1 Interrupt Mask" "-,Enabled"
bitfld.long 0x08 13. "  CT2M ,Compare Timer 2 Interrupt Mask" "-,Enabled"
bitfld.long 0x08 12. "  CT3M ,Compare Timer 3 Interrupt Mask" "-,Enabled"
textline "                    "
bitfld.long 0x08 11. " CT4M ,Compare Timer 4 Interrupt Mask" "-,Enabled"
line.long 0x0C "GPT0_ISS,GPT Interrupt Status (Set bits if write 1)"
bitfld.long 0x0C 15. " CT0S ,Compare Timer 0 Interrupt Status" "-,Enabled"
bitfld.long 0x0C 14. "   CT1S ,Compare Timer 1 Interrupt Status" "-,Enabled"
bitfld.long 0x0C 13. "  CT2S ,Compare Timer 2 Interrupt Status" "-,Enabled"
bitfld.long 0x0C 12. "  CT3S ,Compare Timer 3 Interrupt Status" "-,Enabled"
textline "                    "
bitfld.long 0x0C 11. " CT4S ,Compare Timer 4 Interrupt Status" "-,Enabled"
line.long 0x10 "GPT0_ISC,GPT Interrupt Status (Clear bits if write 1)"
bitfld.long 0x10 15. " CT0S ,Compare Timer 0 Interrupt Status" "-,Enabled"
bitfld.long 0x10 14. "   CT1S ,Compare Timer 1 Interrupt Status" "-,Enabled"
bitfld.long 0x10 13. "  CT2S ,Compare Timer 2 Interrupt Status" "-,Enabled"
bitfld.long 0x10 12. "  CT3S ,Compare Timer 3 Interrupt Status" "-,Enabled"
textline "                    "
bitfld.long 0x10 11. " CT4S ,Compare Timer 4 Interrupt Status" "-,Enabled"
line.long 0x14 "GPT0_IE,GPT Interrupt Enable"
bitfld.long 0x14 15. " CT0I ,Compare Timer 0 Interrupt Enable" "-,Enabled"
bitfld.long 0x14 14. "   CT1I ,Compare Timer 1 Interrupt Enable" "-,Enabled"
bitfld.long 0x14 13. "  CT2I ,Compare Timer 2 Interrupt Enable" "-,Enabled"
bitfld.long 0x14 12. "  CT3I ,Compare Timer 3 Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.long 0x14 11. " CT4I ,Compare Timer 4 Interrupt Enable" "-,Enabled"
group 0x80++0x1b
line.long 0x00 "GPT0_COMP0,Compare Timer 0"
hexmask.long 0x00 0.--31. 1. " COMP ,Compare Timer 0"
line.long 0x04 "GPT0_COMP1,Compare Timer 1"
hexmask.long 0x04 0.--31. 1. " COMP ,Compare Timer 1"
line.long 0x08 "GPT0_COMP2,Compare Timer 2"
hexmask.long 0x08 0.--31. 1. " COMP ,Compare Timer 2"
line.long 0x0C "GPT0_COMP3,Compare Timer 3"
hexmask.long 0x0C 0.--31. 1. " COMP ,Compare Timer 3"
line.long 0x10 "GPT0_COMP4,Compare Timer 4"
hexmask.long 0x10 0.--31. 1. " COMP ,Compare Timer 4"
line.long 0x14 "GPT0_COMP5,Compare Timer 5"
hexmask.long 0x14 0.--31. 1. " COMP ,Compare Timer 5"
line.long 0x18 "GPT0_COMP6,Compare Timer 6"
hexmask.long 0x18 0.--31. 1. " COMP ,Compare Timer 6"
SIF (CPU()=="PPC440SP")
group 0xC0++0x1b
line.long 0x0 "GPT0_MASK0,Compare Mask (Compare Timer 0)"
bitfld.long 0x0 31. " CM   ,Compare Mask (Compare Timer 0) bit 0" "0,1"
bitfld.long 0x0 30. ",Compare Mask (Compare Timer 0) bit 1" "0,1"
bitfld.long 0x0 29. ",Compare Mask (Compare Timer 0) bit 2" "0,1"
bitfld.long 0x0 28. ",Compare Mask (Compare Timer 0) bit 3" "0,1"
bitfld.long 0x0 27. " ,Compare Mask (Compare Timer 0) bit 4" "0,1"
bitfld.long 0x0 26. ",Compare Mask (Compare Timer 0) bit 5" "0,1"
bitfld.long 0x0 25. ",Compare Mask (Compare Timer 0) bit 6" "0,1"
bitfld.long 0x0 24. ",Compare Mask (Compare Timer 0) bit 7" "0,1"
bitfld.long 0x0 23. " ,Compare Mask (Compare Timer 0) bit 8" "0,1"
bitfld.long 0x0 22. ",Compare Mask (Compare Timer 0) bit 9" "0,1"
bitfld.long 0x0 21. ",Compare Mask (Compare Timer 0) bit 10" "0,1"
bitfld.long 0x0 20. ",Compare Mask (Compare Timer 0) bit 11" "0,1"
bitfld.long 0x0 19. " ,Compare Mask (Compare Timer 0) bit 12" "0,1"
bitfld.long 0x0 18. ",Compare Mask (Compare Timer 0) bit 13" "0,1"
bitfld.long 0x0 17. ",Compare Mask (Compare Timer 0) bit 14" "0,1"
bitfld.long 0x0 16. ",Compare Mask (Compare Timer 0) bit 15" "0,1"
bitfld.long 0x0 15. " ,Compare Mask (Compare Timer 0) bit 16" "0,1"
bitfld.long 0x0 14. ",Compare Mask (Compare Timer 0) bit 17" "0,1"
bitfld.long 0x0 13. ",Compare Mask (Compare Timer 0) bit 18" "0,1"
bitfld.long 0x0 12. ",Compare Mask (Compare Timer 0) bit 19" "0,1"
bitfld.long 0x0 11. " ,Compare Mask (Compare Timer 0) bit 20" "0,1"
bitfld.long 0x0 10. ",Compare Mask (Compare Timer 0) bit 21" "0,1"
bitfld.long 0x0 09. ",Compare Mask (Compare Timer 0) bit 22" "0,1"
bitfld.long 0x0 08. ",Compare Mask (Compare Timer 0) bit 23" "0,1"
bitfld.long 0x0 07. " ,Compare Mask (Compare Timer 0) bit 24" "0,1"
bitfld.long 0x0 06. ",Compare Mask (Compare Timer 0) bit 25" "0,1"
bitfld.long 0x0 05. ",Compare Mask (Compare Timer 0) bit 26" "0,1"
bitfld.long 0x0 04. ",Compare Mask (Compare Timer 0) bit 27" "0,1"
bitfld.long 0x0 03. " ,Compare Mask (Compare Timer 0) bit 28" "0,1"
bitfld.long 0x0 02. ",Compare Mask (Compare Timer 0) bit 29" "0,1"
bitfld.long 0x0 01. ",Compare Mask (Compare Timer 0) bit 30" "0,1"
bitfld.long 0x0 00. ",Compare Mask (Compare Timer 0) bit 31" "0,1"
line.long 0x4 "GPT0_MASK1,Compare Mask (Compare Timer 1)"
bitfld.long 0x4 31. " CM   ,Compare Mask (Compare Timer 1) bit 0" "0,1"
bitfld.long 0x4 30. ",Compare Mask (Compare Timer 1) bit 1" "0,1"
bitfld.long 0x4 29. ",Compare Mask (Compare Timer 1) bit 2" "0,1"
bitfld.long 0x4 28. ",Compare Mask (Compare Timer 1) bit 3" "0,1"
bitfld.long 0x4 27. " ,Compare Mask (Compare Timer 1) bit 4" "0,1"
bitfld.long 0x4 26. ",Compare Mask (Compare Timer 1) bit 5" "0,1"
bitfld.long 0x4 25. ",Compare Mask (Compare Timer 1) bit 6" "0,1"
bitfld.long 0x4 24. ",Compare Mask (Compare Timer 1) bit 7" "0,1"
bitfld.long 0x4 23. " ,Compare Mask (Compare Timer 1) bit 8" "0,1"
bitfld.long 0x4 22. ",Compare Mask (Compare Timer 1) bit 9" "0,1"
bitfld.long 0x4 21. ",Compare Mask (Compare Timer 1) bit 10" "0,1"
bitfld.long 0x4 20. ",Compare Mask (Compare Timer 1) bit 11" "0,1"
bitfld.long 0x4 19. " ,Compare Mask (Compare Timer 1) bit 12" "0,1"
bitfld.long 0x4 18. ",Compare Mask (Compare Timer 1) bit 13" "0,1"
bitfld.long 0x4 17. ",Compare Mask (Compare Timer 1) bit 14" "0,1"
bitfld.long 0x4 16. ",Compare Mask (Compare Timer 1) bit 15" "0,1"
bitfld.long 0x4 15. " ,Compare Mask (Compare Timer 1) bit 16" "0,1"
bitfld.long 0x4 14. ",Compare Mask (Compare Timer 1) bit 17" "0,1"
bitfld.long 0x4 13. ",Compare Mask (Compare Timer 1) bit 18" "0,1"
bitfld.long 0x4 12. ",Compare Mask (Compare Timer 1) bit 19" "0,1"
bitfld.long 0x4 11. " ,Compare Mask (Compare Timer 1) bit 20" "0,1"
bitfld.long 0x4 10. ",Compare Mask (Compare Timer 1) bit 21" "0,1"
bitfld.long 0x4 09. ",Compare Mask (Compare Timer 1) bit 22" "0,1"
bitfld.long 0x4 08. ",Compare Mask (Compare Timer 1) bit 23" "0,1"
bitfld.long 0x4 07. " ,Compare Mask (Compare Timer 1) bit 24" "0,1"
bitfld.long 0x4 06. ",Compare Mask (Compare Timer 1) bit 25" "0,1"
bitfld.long 0x4 05. ",Compare Mask (Compare Timer 1) bit 26" "0,1"
bitfld.long 0x4 04. ",Compare Mask (Compare Timer 1) bit 27" "0,1"
bitfld.long 0x4 03. " ,Compare Mask (Compare Timer 1) bit 28" "0,1"
bitfld.long 0x4 02. ",Compare Mask (Compare Timer 1) bit 29" "0,1"
bitfld.long 0x4 01. ",Compare Mask (Compare Timer 1) bit 30" "0,1"
bitfld.long 0x4 00. ",Compare Mask (Compare Timer 1) bit 31" "0,1"
line.long 0x8 "GPT0_MASK2,Compare Mask (Compare Timer 2)"
bitfld.long 0x8 31. " CM   ,Compare Mask (Compare Timer 2) bit 0" "0,1"
bitfld.long 0x8 30. ",Compare Mask (Compare Timer 2) bit 1" "0,1"
bitfld.long 0x8 29. ",Compare Mask (Compare Timer 2) bit 2" "0,1"
bitfld.long 0x8 28. ",Compare Mask (Compare Timer 2) bit 3" "0,1"
bitfld.long 0x8 27. " ,Compare Mask (Compare Timer 2) bit 4" "0,1"
bitfld.long 0x8 26. ",Compare Mask (Compare Timer 2) bit 5" "0,1"
bitfld.long 0x8 25. ",Compare Mask (Compare Timer 2) bit 6" "0,1"
bitfld.long 0x8 24. ",Compare Mask (Compare Timer 2) bit 7" "0,1"
bitfld.long 0x8 23. " ,Compare Mask (Compare Timer 2) bit 8" "0,1"
bitfld.long 0x8 22. ",Compare Mask (Compare Timer 2) bit 9" "0,1"
bitfld.long 0x8 21. ",Compare Mask (Compare Timer 2) bit 10" "0,1"
bitfld.long 0x8 20. ",Compare Mask (Compare Timer 2) bit 11" "0,1"
bitfld.long 0x8 19. " ,Compare Mask (Compare Timer 2) bit 12" "0,1"
bitfld.long 0x8 18. ",Compare Mask (Compare Timer 2) bit 13" "0,1"
bitfld.long 0x8 17. ",Compare Mask (Compare Timer 2) bit 14" "0,1"
bitfld.long 0x8 16. ",Compare Mask (Compare Timer 2) bit 15" "0,1"
bitfld.long 0x8 15. " ,Compare Mask (Compare Timer 2) bit 16" "0,1"
bitfld.long 0x8 14. ",Compare Mask (Compare Timer 2) bit 17" "0,1"
bitfld.long 0x8 13. ",Compare Mask (Compare Timer 2) bit 18" "0,1"
bitfld.long 0x8 12. ",Compare Mask (Compare Timer 2) bit 19" "0,1"
bitfld.long 0x8 11. " ,Compare Mask (Compare Timer 2) bit 20" "0,1"
bitfld.long 0x8 10. ",Compare Mask (Compare Timer 2) bit 21" "0,1"
bitfld.long 0x8 09. ",Compare Mask (Compare Timer 2) bit 22" "0,1"
bitfld.long 0x8 08. ",Compare Mask (Compare Timer 2) bit 23" "0,1"
bitfld.long 0x8 07. " ,Compare Mask (Compare Timer 2) bit 24" "0,1"
bitfld.long 0x8 06. ",Compare Mask (Compare Timer 2) bit 25" "0,1"
bitfld.long 0x8 05. ",Compare Mask (Compare Timer 2) bit 26" "0,1"
bitfld.long 0x8 04. ",Compare Mask (Compare Timer 2) bit 27" "0,1"
bitfld.long 0x8 03. " ,Compare Mask (Compare Timer 2) bit 28" "0,1"
bitfld.long 0x8 02. ",Compare Mask (Compare Timer 2) bit 29" "0,1"
bitfld.long 0x8 01. ",Compare Mask (Compare Timer 2) bit 30" "0,1"
bitfld.long 0x8 00. ",Compare Mask (Compare Timer 2) bit 31" "0,1"
line.long 0xC "GPT0_MASK3,Compare Mask (Compare Timer 3)"
bitfld.long 0xC 31. " CM   ,Compare Mask (Compare Timer 3) bit 0" "0,1"
bitfld.long 0xC 30. ",Compare Mask (Compare Timer 3) bit 1" "0,1"
bitfld.long 0xC 29. ",Compare Mask (Compare Timer 3) bit 2" "0,1"
bitfld.long 0xC 28. ",Compare Mask (Compare Timer 3) bit 3" "0,1"
bitfld.long 0xC 27. " ,Compare Mask (Compare Timer 3) bit 4" "0,1"
bitfld.long 0xC 26. ",Compare Mask (Compare Timer 3) bit 5" "0,1"
bitfld.long 0xC 25. ",Compare Mask (Compare Timer 3) bit 6" "0,1"
bitfld.long 0xC 24. ",Compare Mask (Compare Timer 3) bit 7" "0,1"
bitfld.long 0xC 23. " ,Compare Mask (Compare Timer 3) bit 8" "0,1"
bitfld.long 0xC 22. ",Compare Mask (Compare Timer 3) bit 9" "0,1"
bitfld.long 0xC 21. ",Compare Mask (Compare Timer 3) bit 10" "0,1"
bitfld.long 0xC 20. ",Compare Mask (Compare Timer 3) bit 11" "0,1"
bitfld.long 0xC 19. " ,Compare Mask (Compare Timer 3) bit 12" "0,1"
bitfld.long 0xC 18. ",Compare Mask (Compare Timer 3) bit 13" "0,1"
bitfld.long 0xC 17. ",Compare Mask (Compare Timer 3) bit 14" "0,1"
bitfld.long 0xC 16. ",Compare Mask (Compare Timer 3) bit 15" "0,1"
bitfld.long 0xC 15. " ,Compare Mask (Compare Timer 3) bit 16" "0,1"
bitfld.long 0xC 14. ",Compare Mask (Compare Timer 3) bit 17" "0,1"
bitfld.long 0xC 13. ",Compare Mask (Compare Timer 3) bit 18" "0,1"
bitfld.long 0xC 12. ",Compare Mask (Compare Timer 3) bit 19" "0,1"
bitfld.long 0xC 11. " ,Compare Mask (Compare Timer 3) bit 20" "0,1"
bitfld.long 0xC 10. ",Compare Mask (Compare Timer 3) bit 21" "0,1"
bitfld.long 0xC 09. ",Compare Mask (Compare Timer 3) bit 22" "0,1"
bitfld.long 0xC 08. ",Compare Mask (Compare Timer 3) bit 23" "0,1"
bitfld.long 0xC 07. " ,Compare Mask (Compare Timer 3) bit 24" "0,1"
bitfld.long 0xC 06. ",Compare Mask (Compare Timer 3) bit 25" "0,1"
bitfld.long 0xC 05. ",Compare Mask (Compare Timer 3) bit 26" "0,1"
bitfld.long 0xC 04. ",Compare Mask (Compare Timer 3) bit 27" "0,1"
bitfld.long 0xC 03. " ,Compare Mask (Compare Timer 3) bit 28" "0,1"
bitfld.long 0xC 02. ",Compare Mask (Compare Timer 3) bit 29" "0,1"
bitfld.long 0xC 01. ",Compare Mask (Compare Timer 3) bit 30" "0,1"
bitfld.long 0xC 00. ",Compare Mask (Compare Timer 3) bit 31" "0,1"
line.long 0x10 "GPT0_MASK4,Compare Mask (Compare Timer 4)"
bitfld.long 0x10 31. " CM   ,Compare Mask (Compare Timer 4) bit 0" "0,1"
bitfld.long 0x10 30. ",Compare Mask (Compare Timer 4) bit 1" "0,1"
bitfld.long 0x10 29. ",Compare Mask (Compare Timer 4) bit 2" "0,1"
bitfld.long 0x10 28. ",Compare Mask (Compare Timer 4) bit 3" "0,1"
bitfld.long 0x10 27. " ,Compare Mask (Compare Timer 4) bit 4" "0,1"
bitfld.long 0x10 26. ",Compare Mask (Compare Timer 4) bit 5" "0,1"
bitfld.long 0x10 25. ",Compare Mask (Compare Timer 4) bit 6" "0,1"
bitfld.long 0x10 24. ",Compare Mask (Compare Timer 4) bit 7" "0,1"
bitfld.long 0x10 23. " ,Compare Mask (Compare Timer 4) bit 8" "0,1"
bitfld.long 0x10 22. ",Compare Mask (Compare Timer 4) bit 9" "0,1"
bitfld.long 0x10 21. ",Compare Mask (Compare Timer 4) bit 10" "0,1"
bitfld.long 0x10 20. ",Compare Mask (Compare Timer 4) bit 11" "0,1"
bitfld.long 0x10 19. " ,Compare Mask (Compare Timer 4) bit 12" "0,1"
bitfld.long 0x10 18. ",Compare Mask (Compare Timer 4) bit 13" "0,1"
bitfld.long 0x10 17. ",Compare Mask (Compare Timer 4) bit 14" "0,1"
bitfld.long 0x10 16. ",Compare Mask (Compare Timer 4) bit 15" "0,1"
bitfld.long 0x10 15. " ,Compare Mask (Compare Timer 4) bit 16" "0,1"
bitfld.long 0x10 14. ",Compare Mask (Compare Timer 4) bit 17" "0,1"
bitfld.long 0x10 13. ",Compare Mask (Compare Timer 4) bit 18" "0,1"
bitfld.long 0x10 12. ",Compare Mask (Compare Timer 4) bit 19" "0,1"
bitfld.long 0x10 11. " ,Compare Mask (Compare Timer 4) bit 20" "0,1"
bitfld.long 0x10 10. ",Compare Mask (Compare Timer 4) bit 21" "0,1"
bitfld.long 0x10 09. ",Compare Mask (Compare Timer 4) bit 22" "0,1"
bitfld.long 0x10 08. ",Compare Mask (Compare Timer 4) bit 23" "0,1"
bitfld.long 0x10 07. " ,Compare Mask (Compare Timer 4) bit 24" "0,1"
bitfld.long 0x10 06. ",Compare Mask (Compare Timer 4) bit 25" "0,1"
bitfld.long 0x10 05. ",Compare Mask (Compare Timer 4) bit 26" "0,1"
bitfld.long 0x10 04. ",Compare Mask (Compare Timer 4) bit 27" "0,1"
bitfld.long 0x10 03. " ,Compare Mask (Compare Timer 4) bit 28" "0,1"
bitfld.long 0x10 02. ",Compare Mask (Compare Timer 4) bit 29" "0,1"
bitfld.long 0x10 01. ",Compare Mask (Compare Timer 4) bit 30" "0,1"
bitfld.long 0x10 00. ",Compare Mask (Compare Timer 4) bit 31" "0,1"
line.long 0x14 "GPT0_MASK5,Compare Mask (Compare Timer 5)"
bitfld.long 0x14 31. " CM   ,Compare Mask (Compare Timer 5) bit 0" "0,1"
bitfld.long 0x14 30. ",Compare Mask (Compare Timer 5) bit 1" "0,1"
bitfld.long 0x14 29. ",Compare Mask (Compare Timer 5) bit 2" "0,1"
bitfld.long 0x14 28. ",Compare Mask (Compare Timer 5) bit 3" "0,1"
bitfld.long 0x14 27. " ,Compare Mask (Compare Timer 5) bit 4" "0,1"
bitfld.long 0x14 26. ",Compare Mask (Compare Timer 5) bit 5" "0,1"
bitfld.long 0x14 25. ",Compare Mask (Compare Timer 5) bit 6" "0,1"
bitfld.long 0x14 24. ",Compare Mask (Compare Timer 5) bit 7" "0,1"
bitfld.long 0x14 23. " ,Compare Mask (Compare Timer 5) bit 8" "0,1"
bitfld.long 0x14 22. ",Compare Mask (Compare Timer 5) bit 9" "0,1"
bitfld.long 0x14 21. ",Compare Mask (Compare Timer 5) bit 10" "0,1"
bitfld.long 0x14 20. ",Compare Mask (Compare Timer 5) bit 11" "0,1"
bitfld.long 0x14 19. " ,Compare Mask (Compare Timer 5) bit 12" "0,1"
bitfld.long 0x14 18. ",Compare Mask (Compare Timer 5) bit 13" "0,1"
bitfld.long 0x14 17. ",Compare Mask (Compare Timer 5) bit 14" "0,1"
bitfld.long 0x14 16. ",Compare Mask (Compare Timer 5) bit 15" "0,1"
bitfld.long 0x14 15. " ,Compare Mask (Compare Timer 5) bit 16" "0,1"
bitfld.long 0x14 14. ",Compare Mask (Compare Timer 5) bit 17" "0,1"
bitfld.long 0x14 13. ",Compare Mask (Compare Timer 5) bit 18" "0,1"
bitfld.long 0x14 12. ",Compare Mask (Compare Timer 5) bit 19" "0,1"
bitfld.long 0x14 11. " ,Compare Mask (Compare Timer 5) bit 20" "0,1"
bitfld.long 0x14 10. ",Compare Mask (Compare Timer 5) bit 21" "0,1"
bitfld.long 0x14 09. ",Compare Mask (Compare Timer 5) bit 22" "0,1"
bitfld.long 0x14 08. ",Compare Mask (Compare Timer 5) bit 23" "0,1"
bitfld.long 0x14 07. " ,Compare Mask (Compare Timer 5) bit 24" "0,1"
bitfld.long 0x14 06. ",Compare Mask (Compare Timer 5) bit 25" "0,1"
bitfld.long 0x14 05. ",Compare Mask (Compare Timer 5) bit 26" "0,1"
bitfld.long 0x14 04. ",Compare Mask (Compare Timer 5) bit 27" "0,1"
bitfld.long 0x14 03. " ,Compare Mask (Compare Timer 5) bit 28" "0,1"
bitfld.long 0x14 02. ",Compare Mask (Compare Timer 5) bit 29" "0,1"
bitfld.long 0x14 01. ",Compare Mask (Compare Timer 5) bit 30" "0,1"
bitfld.long 0x14 00. ",Compare Mask (Compare Timer 5) bit 31" "0,1"
line.long 0x18 "GPT0_MASK6,Compare Mask (Compare Timer 6)"
bitfld.long 0x18 31. " CM   ,Compare Mask (Compare Timer 6) bit 0" "0,1"
bitfld.long 0x18 30. ",Compare Mask (Compare Timer 6) bit 1" "0,1"
bitfld.long 0x18 29. ",Compare Mask (Compare Timer 6) bit 2" "0,1"
bitfld.long 0x18 28. ",Compare Mask (Compare Timer 6) bit 3" "0,1"
bitfld.long 0x18 27. " ,Compare Mask (Compare Timer 6) bit 4" "0,1"
bitfld.long 0x18 26. ",Compare Mask (Compare Timer 6) bit 5" "0,1"
bitfld.long 0x18 25. ",Compare Mask (Compare Timer 6) bit 6" "0,1"
bitfld.long 0x18 24. ",Compare Mask (Compare Timer 6) bit 7" "0,1"
bitfld.long 0x18 23. " ,Compare Mask (Compare Timer 6) bit 8" "0,1"
bitfld.long 0x18 22. ",Compare Mask (Compare Timer 6) bit 9" "0,1"
bitfld.long 0x18 21. ",Compare Mask (Compare Timer 6) bit 10" "0,1"
bitfld.long 0x18 20. ",Compare Mask (Compare Timer 6) bit 11" "0,1"
bitfld.long 0x18 19. " ,Compare Mask (Compare Timer 6) bit 12" "0,1"
bitfld.long 0x18 18. ",Compare Mask (Compare Timer 6) bit 13" "0,1"
bitfld.long 0x18 17. ",Compare Mask (Compare Timer 6) bit 14" "0,1"
bitfld.long 0x18 16. ",Compare Mask (Compare Timer 6) bit 15" "0,1"
bitfld.long 0x18 15. " ,Compare Mask (Compare Timer 6) bit 16" "0,1"
bitfld.long 0x18 14. ",Compare Mask (Compare Timer 6) bit 17" "0,1"
bitfld.long 0x18 13. ",Compare Mask (Compare Timer 6) bit 18" "0,1"
bitfld.long 0x18 12. ",Compare Mask (Compare Timer 6) bit 19" "0,1"
bitfld.long 0x18 11. " ,Compare Mask (Compare Timer 6) bit 20" "0,1"
bitfld.long 0x18 10. ",Compare Mask (Compare Timer 6) bit 21" "0,1"
bitfld.long 0x18 09. ",Compare Mask (Compare Timer 6) bit 22" "0,1"
bitfld.long 0x18 08. ",Compare Mask (Compare Timer 6) bit 23" "0,1"
bitfld.long 0x18 07. " ,Compare Mask (Compare Timer 6) bit 24" "0,1"
bitfld.long 0x18 06. ",Compare Mask (Compare Timer 6) bit 25" "0,1"
bitfld.long 0x18 05. ",Compare Mask (Compare Timer 6) bit 26" "0,1"
bitfld.long 0x18 04. ",Compare Mask (Compare Timer 6) bit 27" "0,1"
bitfld.long 0x18 03. " ,Compare Mask (Compare Timer 6) bit 28" "0,1"
bitfld.long 0x18 02. ",Compare Mask (Compare Timer 6) bit 29" "0,1"
bitfld.long 0x18 01. ",Compare Mask (Compare Timer 6) bit 30" "0,1"
bitfld.long 0x18 00. ",Compare Mask (Compare Timer 6) bit 31" "0,1"
ENDIF
SIF (CPU()=="PPC440SPE")
line.long 0x0 "GPT0_MASK0,Compare Mask Register 0"
bitfld.long 0x0 31. " MASK31 ,Comparison Function 31" "Enabled,-"
bitfld.long 0x0 30. "  MASK30 ,Comparison Function 30" "Enabled,-"
bitfld.long 0x0 29. "  MASK29 ,Comparison Function 29" "Enabled,-"
bitfld.long 0x0 28. "  MASK28 ,Comparison Function 28" "Enabled,-"
textline ""
bitfld.long 0x0 27. " MASK27 ,Comparison Function 27" "Enabled,-"
bitfld.long 0x0 26. "  MASK26 ,Comparison Function 26" "Enabled,-"
bitfld.long 0x0 25. "  MASK25 ,Comparison Function 25" "Enabled,-"
bitfld.long 0x0 24. "  MASK24 ,Comparison Function 24" "Enabled,-"
textline ""
bitfld.long 0x0 23. " MASK23 ,Comparison Function 23" "Enabled,-"
bitfld.long 0x0 22. "  MASK22 ,Comparison Function 22" "Enabled,-"
bitfld.long 0x0 21. "  MASK21 ,Comparison Function 21" "Enabled,-"
bitfld.long 0x0 20. "  MASK20 ,Comparison Function 20" "Enabled,-"
textline ""
bitfld.long 0x0 19. " MASK19 ,Comparison Function 19" "Enabled,-"
bitfld.long 0x0 18. "  MASK18 ,Comparison Function 18" "Enabled,-"
bitfld.long 0x0 17. "  MASK17 ,Comparison Function 17" "Enabled,-"
bitfld.long 0x0 16. "  MASK16 ,Comparison Function 16" "Enabled,-"
textline ""
bitfld.long 0x0 15. " MASK15 ,Comparison Function 15" "Enabled,-"
bitfld.long 0x0 14. "  MASK14 ,Comparison Function 14" "Enabled,-"
bitfld.long 0x0 13. "  MASK13 ,Comparison Function 13" "Enabled,-"
bitfld.long 0x0 12. "  MASK12 ,Comparison Function 12" "Enabled,-"
textline ""
bitfld.long 0x0 11. " MASK11 ,Comparison Function 11" "Enabled,-"
bitfld.long 0x0 10. "  MASK10 ,Comparison Function 10" "Enabled,-"
bitfld.long 0x0 9. "  MASK9 ,Comparison Function 9" "Enabled,-"
bitfld.long 0x0 8. "  MASK8 ,Comparison Function 8" "Enabled,-"
textline ""
bitfld.long 0x0 7. " MASK7 ,Comparison Function 7" "Enabled,-"
bitfld.long 0x0 6. "  MASK6 ,Comparison Function 6" "Enabled,-"
bitfld.long 0x0 5. "  MASK5 ,Comparison Function 5" "Enabled,-"
bitfld.long 0x0 4. "  MASK4 ,Comparison Function 4" "Enabled,-"
textline ""
bitfld.long 0x0 3. " MASK3 ,Comparison Function 3" "Enabled,-"
bitfld.long 0x0 2. "  MASK2 ,Comparison Function 2" "Enabled,-"
bitfld.long 0x0 1. "  MASK1 ,Comparison Function 1" "Enabled,-"
bitfld.long 0x0 0. "  MASK0 ,Comparison Function 0" "Enabled,-"
line.long 0x4 "GPT0_MASK1,Compare Mask Register 1"
bitfld.long 0x4 31. " MASK31 ,Comparison Function 31" "Enabled,-"
bitfld.long 0x4 30. "  MASK30 ,Comparison Function 30" "Enabled,-"
bitfld.long 0x4 29. "  MASK29 ,Comparison Function 29" "Enabled,-"
bitfld.long 0x4 28. "  MASK28 ,Comparison Function 28" "Enabled,-"
textline ""
bitfld.long 0x4 27. " MASK27 ,Comparison Function 27" "Enabled,-"
bitfld.long 0x4 26. "  MASK26 ,Comparison Function 26" "Enabled,-"
bitfld.long 0x4 25. "  MASK25 ,Comparison Function 25" "Enabled,-"
bitfld.long 0x4 24. "  MASK24 ,Comparison Function 24" "Enabled,-"
textline ""
bitfld.long 0x4 23. " MASK23 ,Comparison Function 23" "Enabled,-"
bitfld.long 0x4 22. "  MASK22 ,Comparison Function 22" "Enabled,-"
bitfld.long 0x4 21. "  MASK21 ,Comparison Function 21" "Enabled,-"
bitfld.long 0x4 20. "  MASK20 ,Comparison Function 20" "Enabled,-"
textline ""
bitfld.long 0x4 19. " MASK19 ,Comparison Function 19" "Enabled,-"
bitfld.long 0x4 18. "  MASK18 ,Comparison Function 18" "Enabled,-"
bitfld.long 0x4 17. "  MASK17 ,Comparison Function 17" "Enabled,-"
bitfld.long 0x4 16. "  MASK16 ,Comparison Function 16" "Enabled,-"
textline ""
bitfld.long 0x4 15. " MASK15 ,Comparison Function 15" "Enabled,-"
bitfld.long 0x4 14. "  MASK14 ,Comparison Function 14" "Enabled,-"
bitfld.long 0x4 13. "  MASK13 ,Comparison Function 13" "Enabled,-"
bitfld.long 0x4 12. "  MASK12 ,Comparison Function 12" "Enabled,-"
textline ""
bitfld.long 0x4 11. " MASK11 ,Comparison Function 11" "Enabled,-"
bitfld.long 0x4 10. "  MASK10 ,Comparison Function 10" "Enabled,-"
bitfld.long 0x4 9. "  MASK9 ,Comparison Function 9" "Enabled,-"
bitfld.long 0x4 8. "  MASK8 ,Comparison Function 8" "Enabled,-"
textline ""
bitfld.long 0x4 7. " MASK7 ,Comparison Function 7" "Enabled,-"
bitfld.long 0x4 6. "  MASK6 ,Comparison Function 6" "Enabled,-"
bitfld.long 0x4 5. "  MASK5 ,Comparison Function 5" "Enabled,-"
bitfld.long 0x4 4. "  MASK4 ,Comparison Function 4" "Enabled,-"
textline ""
bitfld.long 0x4 3. " MASK3 ,Comparison Function 3" "Enabled,-"
bitfld.long 0x4 2. "  MASK2 ,Comparison Function 2" "Enabled,-"
bitfld.long 0x4 1. "  MASK1 ,Comparison Function 1" "Enabled,-"
bitfld.long 0x4 0. "  MASK0 ,Comparison Function 0" "Enabled,-"
line.long 0x8 "GPT0_MASK2,Compare Mask Register 2"
bitfld.long 0x8 31. " MASK31 ,Comparison Function 31" "Enabled,-"
bitfld.long 0x8 30. "  MASK30 ,Comparison Function 30" "Enabled,-"
bitfld.long 0x8 29. "  MASK29 ,Comparison Function 29" "Enabled,-"
bitfld.long 0x8 28. "  MASK28 ,Comparison Function 28" "Enabled,-"
textline ""
bitfld.long 0x8 27. " MASK27 ,Comparison Function 27" "Enabled,-"
bitfld.long 0x8 26. "  MASK26 ,Comparison Function 26" "Enabled,-"
bitfld.long 0x8 25. "  MASK25 ,Comparison Function 25" "Enabled,-"
bitfld.long 0x8 24. "  MASK24 ,Comparison Function 24" "Enabled,-"
textline ""
bitfld.long 0x8 23. " MASK23 ,Comparison Function 23" "Enabled,-"
bitfld.long 0x8 22. "  MASK22 ,Comparison Function 22" "Enabled,-"
bitfld.long 0x8 21. "  MASK21 ,Comparison Function 21" "Enabled,-"
bitfld.long 0x8 20. "  MASK20 ,Comparison Function 20" "Enabled,-"
textline ""
bitfld.long 0x8 19. " MASK19 ,Comparison Function 19" "Enabled,-"
bitfld.long 0x8 18. "  MASK18 ,Comparison Function 18" "Enabled,-"
bitfld.long 0x8 17. "  MASK17 ,Comparison Function 17" "Enabled,-"
bitfld.long 0x8 16. "  MASK16 ,Comparison Function 16" "Enabled,-"
textline ""
bitfld.long 0x8 15. " MASK15 ,Comparison Function 15" "Enabled,-"
bitfld.long 0x8 14. "  MASK14 ,Comparison Function 14" "Enabled,-"
bitfld.long 0x8 13. "  MASK13 ,Comparison Function 13" "Enabled,-"
bitfld.long 0x8 12. "  MASK12 ,Comparison Function 12" "Enabled,-"
textline ""
bitfld.long 0x8 11. " MASK11 ,Comparison Function 11" "Enabled,-"
bitfld.long 0x8 10. "  MASK10 ,Comparison Function 10" "Enabled,-"
bitfld.long 0x8 9. "  MASK9 ,Comparison Function 9" "Enabled,-"
bitfld.long 0x8 8. "  MASK8 ,Comparison Function 8" "Enabled,-"
textline ""
bitfld.long 0x8 7. " MASK7 ,Comparison Function 7" "Enabled,-"
bitfld.long 0x8 6. "  MASK6 ,Comparison Function 6" "Enabled,-"
bitfld.long 0x8 5. "  MASK5 ,Comparison Function 5" "Enabled,-"
bitfld.long 0x8 4. "  MASK4 ,Comparison Function 4" "Enabled,-"
textline ""
bitfld.long 0x8 3. " MASK3 ,Comparison Function 3" "Enabled,-"
bitfld.long 0x8 2. "  MASK2 ,Comparison Function 2" "Enabled,-"
bitfld.long 0x8 1. "  MASK1 ,Comparison Function 1" "Enabled,-"
bitfld.long 0x8 0. "  MASK0 ,Comparison Function 0" "Enabled,-"
line.long 0xC "GPT0_MASK3,Compare Mask Register 3"
bitfld.long 0xC 31. " MASK31 ,Comparison Function 31" "Enabled,-"
bitfld.long 0xC 30. "  MASK30 ,Comparison Function 30" "Enabled,-"
bitfld.long 0xC 29. "  MASK29 ,Comparison Function 29" "Enabled,-"
bitfld.long 0xC 28. "  MASK28 ,Comparison Function 28" "Enabled,-"
textline ""
bitfld.long 0xC 27. " MASK27 ,Comparison Function 27" "Enabled,-"
bitfld.long 0xC 26. "  MASK26 ,Comparison Function 26" "Enabled,-"
bitfld.long 0xC 25. "  MASK25 ,Comparison Function 25" "Enabled,-"
bitfld.long 0xC 24. "  MASK24 ,Comparison Function 24" "Enabled,-"
textline ""
bitfld.long 0xC 23. " MASK23 ,Comparison Function 23" "Enabled,-"
bitfld.long 0xC 22. "  MASK22 ,Comparison Function 22" "Enabled,-"
bitfld.long 0xC 21. "  MASK21 ,Comparison Function 21" "Enabled,-"
bitfld.long 0xC 20. "  MASK20 ,Comparison Function 20" "Enabled,-"
textline ""
bitfld.long 0xC 19. " MASK19 ,Comparison Function 19" "Enabled,-"
bitfld.long 0xC 18. "  MASK18 ,Comparison Function 18" "Enabled,-"
bitfld.long 0xC 17. "  MASK17 ,Comparison Function 17" "Enabled,-"
bitfld.long 0xC 16. "  MASK16 ,Comparison Function 16" "Enabled,-"
textline ""
bitfld.long 0xC 15. " MASK15 ,Comparison Function 15" "Enabled,-"
bitfld.long 0xC 14. "  MASK14 ,Comparison Function 14" "Enabled,-"
bitfld.long 0xC 13. "  MASK13 ,Comparison Function 13" "Enabled,-"
bitfld.long 0xC 12. "  MASK12 ,Comparison Function 12" "Enabled,-"
textline ""
bitfld.long 0xC 11. " MASK11 ,Comparison Function 11" "Enabled,-"
bitfld.long 0xC 10. "  MASK10 ,Comparison Function 10" "Enabled,-"
bitfld.long 0xC 9. "  MASK9 ,Comparison Function 9" "Enabled,-"
bitfld.long 0xC 8. "  MASK8 ,Comparison Function 8" "Enabled,-"
textline ""
bitfld.long 0xC 7. " MASK7 ,Comparison Function 7" "Enabled,-"
bitfld.long 0xC 6. "  MASK6 ,Comparison Function 6" "Enabled,-"
bitfld.long 0xC 5. "  MASK5 ,Comparison Function 5" "Enabled,-"
bitfld.long 0xC 4. "  MASK4 ,Comparison Function 4" "Enabled,-"
textline ""
bitfld.long 0xC 3. " MASK3 ,Comparison Function 3" "Enabled,-"
bitfld.long 0xC 2. "  MASK2 ,Comparison Function 2" "Enabled,-"
bitfld.long 0xC 1. "  MASK1 ,Comparison Function 1" "Enabled,-"
bitfld.long 0xC 0. "  MASK0 ,Comparison Function 0" "Enabled,-"
line.long 0x10 "GPT0_MASK4,Compare Mask Register 4"
bitfld.long 0x10 31. " MASK31 ,Comparison Function 31" "Enabled,-"
bitfld.long 0x10 30. "  MASK30 ,Comparison Function 30" "Enabled,-"
bitfld.long 0x10 29. "  MASK29 ,Comparison Function 29" "Enabled,-"
bitfld.long 0x10 28. "  MASK28 ,Comparison Function 28" "Enabled,-"
textline ""
bitfld.long 0x10 27. " MASK27 ,Comparison Function 27" "Enabled,-"
bitfld.long 0x10 26. "  MASK26 ,Comparison Function 26" "Enabled,-"
bitfld.long 0x10 25. "  MASK25 ,Comparison Function 25" "Enabled,-"
bitfld.long 0x10 24. "  MASK24 ,Comparison Function 24" "Enabled,-"
textline ""
bitfld.long 0x10 23. " MASK23 ,Comparison Function 23" "Enabled,-"
bitfld.long 0x10 22. "  MASK22 ,Comparison Function 22" "Enabled,-"
bitfld.long 0x10 21. "  MASK21 ,Comparison Function 21" "Enabled,-"
bitfld.long 0x10 20. "  MASK20 ,Comparison Function 20" "Enabled,-"
textline ""
bitfld.long 0x10 19. " MASK19 ,Comparison Function 19" "Enabled,-"
bitfld.long 0x10 18. "  MASK18 ,Comparison Function 18" "Enabled,-"
bitfld.long 0x10 17. "  MASK17 ,Comparison Function 17" "Enabled,-"
bitfld.long 0x10 16. "  MASK16 ,Comparison Function 16" "Enabled,-"
textline ""
bitfld.long 0x10 15. " MASK15 ,Comparison Function 15" "Enabled,-"
bitfld.long 0x10 14. "  MASK14 ,Comparison Function 14" "Enabled,-"
bitfld.long 0x10 13. "  MASK13 ,Comparison Function 13" "Enabled,-"
bitfld.long 0x10 12. "  MASK12 ,Comparison Function 12" "Enabled,-"
textline ""
bitfld.long 0x10 11. " MASK11 ,Comparison Function 11" "Enabled,-"
bitfld.long 0x10 10. "  MASK10 ,Comparison Function 10" "Enabled,-"
bitfld.long 0x10 9. "  MASK9 ,Comparison Function 9" "Enabled,-"
bitfld.long 0x10 8. "  MASK8 ,Comparison Function 8" "Enabled,-"
textline ""
bitfld.long 0x10 7. " MASK7 ,Comparison Function 7" "Enabled,-"
bitfld.long 0x10 6. "  MASK6 ,Comparison Function 6" "Enabled,-"
bitfld.long 0x10 5. "  MASK5 ,Comparison Function 5" "Enabled,-"
bitfld.long 0x10 4. "  MASK4 ,Comparison Function 4" "Enabled,-"
textline ""
bitfld.long 0x10 3. " MASK3 ,Comparison Function 3" "Enabled,-"
bitfld.long 0x10 2. "  MASK2 ,Comparison Function 2" "Enabled,-"
bitfld.long 0x10 1. "  MASK1 ,Comparison Function 1" "Enabled,-"
bitfld.long 0x10 0. "  MASK0 ,Comparison Function 0" "Enabled,-"
ENDIF
width 0x0B
elif (cpu()=="PPC440SPE")
;General Purpose Timers
width 11.
base ad:0x4:0xF0000A00
group 0x00++0x3
line.long 0x00 "GPT0_TBC,Time Base Counter"
hexmask.long 0x00 0.--31. 1. " TB   ,Time Base"
group 0x10++0x17
line.long 0x08 "GPT0_IM,GPT Interrupt Mask"
bitfld.long 0x08 15. " CT0M ,Compare Timer 0 Interrupt Mask" "-,Enabled"
bitfld.long 0x08 14. "   CT1M ,Compare Timer 1 Interrupt Mask" "-,Enabled"
bitfld.long 0x08 13. "  CT2M ,Compare Timer 2 Interrupt Mask" "-,Enabled"
bitfld.long 0x08 12. "  CT3M ,Compare Timer 3 Interrupt Mask" "-,Enabled"
textline "                    "
bitfld.long 0x08 11. " CT4M ,Compare Timer 4 Interrupt Mask" "-,Enabled"
line.long 0x0C "GPT0_ISS,GPT Interrupt Status (Set bits if write 1)"
bitfld.long 0x0C 15. " CT0S ,Compare Timer 0 Interrupt Status" "-,Enabled"
bitfld.long 0x0C 14. "   CT1S ,Compare Timer 1 Interrupt Status" "-,Enabled"
bitfld.long 0x0C 13. "  CT2S ,Compare Timer 2 Interrupt Status" "-,Enabled"
bitfld.long 0x0C 12. "  CT3S ,Compare Timer 3 Interrupt Status" "-,Enabled"
textline "                    "
bitfld.long 0x0C 11. " CT4S ,Compare Timer 4 Interrupt Status" "-,Enabled"
line.long 0x10 "GPT0_ISC,GPT Interrupt Status (Clear bits if write 1)"
bitfld.long 0x10 15. " CT0S ,Compare Timer 0 Interrupt Status" "-,Enabled"
bitfld.long 0x10 14. "   CT1S ,Compare Timer 1 Interrupt Status" "-,Enabled"
bitfld.long 0x10 13. "  CT2S ,Compare Timer 2 Interrupt Status" "-,Enabled"
bitfld.long 0x10 12. "  CT3S ,Compare Timer 3 Interrupt Status" "-,Enabled"
textline "                    "
bitfld.long 0x10 11. " CT4S ,Compare Timer 4 Interrupt Status" "-,Enabled"
line.long 0x14 "GPT0_IE,GPT Interrupt Enable"
bitfld.long 0x14 15. " CT0I ,Compare Timer 0 Interrupt Enable" "-,Enabled"
bitfld.long 0x14 14. "   CT1I ,Compare Timer 1 Interrupt Enable" "-,Enabled"
bitfld.long 0x14 13. "  CT2I ,Compare Timer 2 Interrupt Enable" "-,Enabled"
bitfld.long 0x14 12. "  CT3I ,Compare Timer 3 Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.long 0x14 11. " CT4I ,Compare Timer 4 Interrupt Enable" "-,Enabled"
group 0x80++0x1b
line.long 0x00 "GPT0_COMP0,Compare Timer 0"
hexmask.long 0x00 0.--31. 1. " COMP ,Compare Timer 0"
line.long 0x04 "GPT0_COMP1,Compare Timer 1"
hexmask.long 0x04 0.--31. 1. " COMP ,Compare Timer 1"
line.long 0x08 "GPT0_COMP2,Compare Timer 2"
hexmask.long 0x08 0.--31. 1. " COMP ,Compare Timer 2"
line.long 0x0C "GPT0_COMP3,Compare Timer 3"
hexmask.long 0x0C 0.--31. 1. " COMP ,Compare Timer 3"
line.long 0x10 "GPT0_COMP4,Compare Timer 4"
hexmask.long 0x10 0.--31. 1. " COMP ,Compare Timer 4"
group 0xC0++0x1b
line.long 0x0 "GPT0_MASK0,Compare Mask (Compare Timer 0)"
bitfld.long 0x0 31. " MASK31 ,Comparison Function 31" "Enabled,-"
bitfld.long 0x0 30. "   MASK30 ,Comparison Function 30" "Enabled,-"
bitfld.long 0x0 29. "  MASK29 ,Comparison Function 29" "Enabled,-"
bitfld.long 0x0 28. "  MASK28 ,Comparison Function 28" "Enabled,-"
textline "                    "
bitfld.long 0x0 27. " MASK27 ,Comparison Function 27" "Enabled,-"
bitfld.long 0x0 26. "   MASK26 ,Comparison Function 26" "Enabled,-"
bitfld.long 0x0 25. "  MASK25 ,Comparison Function 25" "Enabled,-"
bitfld.long 0x0 24. "  MASK24 ,Comparison Function 24" "Enabled,-"
textline "                    "
bitfld.long 0x0 23. " MASK23 ,Comparison Function 23" "Enabled,-"
bitfld.long 0x0 22. "   MASK22 ,Comparison Function 22" "Enabled,-"
bitfld.long 0x0 21. "  MASK21 ,Comparison Function 21" "Enabled,-"
bitfld.long 0x0 20. "  MASK20 ,Comparison Function 20" "Enabled,-"
textline "                    "
bitfld.long 0x0 19. " MASK19 ,Comparison Function 19" "Enabled,-"
bitfld.long 0x0 18. "   MASK18 ,Comparison Function 18" "Enabled,-"
bitfld.long 0x0 17. "  MASK17 ,Comparison Function 17" "Enabled,-"
bitfld.long 0x0 16. "  MASK16 ,Comparison Function 16" "Enabled,-"
textline "                    "
bitfld.long 0x0 15. " MASK15 ,Comparison Function 15" "Enabled,-"
bitfld.long 0x0 14. "   MASK14 ,Comparison Function 14" "Enabled,-"
bitfld.long 0x0 13. "  MASK13 ,Comparison Function 13" "Enabled,-"
bitfld.long 0x0 12. "  MASK12 ,Comparison Function 12" "Enabled,-"
textline "                    "
bitfld.long 0x0 11. " MASK11 ,Comparison Function 11" "Enabled,-"
bitfld.long 0x0 10. "   MASK10 ,Comparison Function 10" "Enabled,-"
bitfld.long 0x0 9. "  MASK9  ,Comparison Function 9" "Enabled,-"
bitfld.long 0x0 8. "  MASK8  ,Comparison Function 8" "Enabled,-"
textline "                    "
bitfld.long 0x0 7. " MASK7  ,Comparison Function 7" "Enabled,-"
bitfld.long 0x0 6. "   MASK6  ,Comparison Function 6" "Enabled,-"
bitfld.long 0x0 5. "  MASK5  ,Comparison Function 5" "Enabled,-"
bitfld.long 0x0 4. "  MASK4  ,Comparison Function 4" "Enabled,-"
textline "                    "
bitfld.long 0x0 3. " MASK3  ,Comparison Function 3" "Enabled,-"
bitfld.long 0x0 2. "   MASK2  ,Comparison Function 2" "Enabled,-"
bitfld.long 0x0 1. "  MASK1  ,Comparison Function 1" "Enabled,-"
bitfld.long 0x0 0. "  MASK0  ,Comparison Function 0" "Enabled,-"
line.long 0x4 "GPT0_MASK1,Compare Mask (Compare Timer 1)"
bitfld.long 0x4 31. " MASK31 ,Comparison Function 31" "Enabled,-"
bitfld.long 0x4 30. "   MASK30 ,Comparison Function 30" "Enabled,-"
bitfld.long 0x4 29. "  MASK29 ,Comparison Function 29" "Enabled,-"
bitfld.long 0x4 28. "  MASK28 ,Comparison Function 28" "Enabled,-"
textline "                    "
bitfld.long 0x4 27. " MASK27 ,Comparison Function 27" "Enabled,-"
bitfld.long 0x4 26. "   MASK26 ,Comparison Function 26" "Enabled,-"
bitfld.long 0x4 25. "  MASK25 ,Comparison Function 25" "Enabled,-"
bitfld.long 0x4 24. "  MASK24 ,Comparison Function 24" "Enabled,-"
textline "                    "
bitfld.long 0x4 23. " MASK23 ,Comparison Function 23" "Enabled,-"
bitfld.long 0x4 22. "   MASK22 ,Comparison Function 22" "Enabled,-"
bitfld.long 0x4 21. "  MASK21 ,Comparison Function 21" "Enabled,-"
bitfld.long 0x4 20. "  MASK20 ,Comparison Function 20" "Enabled,-"
textline "                    "
bitfld.long 0x4 19. " MASK19 ,Comparison Function 19" "Enabled,-"
bitfld.long 0x4 18. "   MASK18 ,Comparison Function 18" "Enabled,-"
bitfld.long 0x4 17. "  MASK17 ,Comparison Function 17" "Enabled,-"
bitfld.long 0x4 16. "  MASK16 ,Comparison Function 16" "Enabled,-"
textline "                    "
bitfld.long 0x4 15. " MASK15 ,Comparison Function 15" "Enabled,-"
bitfld.long 0x4 14. "   MASK14 ,Comparison Function 14" "Enabled,-"
bitfld.long 0x4 13. "  MASK13 ,Comparison Function 13" "Enabled,-"
bitfld.long 0x4 12. "  MASK12 ,Comparison Function 12" "Enabled,-"
textline "                    "
bitfld.long 0x4 11. " MASK11 ,Comparison Function 11" "Enabled,-"
bitfld.long 0x4 10. "   MASK10 ,Comparison Function 10" "Enabled,-"
bitfld.long 0x4 9. "  MASK9  ,Comparison Function 9" "Enabled,-"
bitfld.long 0x4 8. "  MASK8  ,Comparison Function 8" "Enabled,-"
textline "                    "
bitfld.long 0x4 7. " MASK7  ,Comparison Function 7" "Enabled,-"
bitfld.long 0x4 6. "   MASK6  ,Comparison Function 6" "Enabled,-"
bitfld.long 0x4 5. "  MASK5  ,Comparison Function 5" "Enabled,-"
bitfld.long 0x4 4. "  MASK4  ,Comparison Function 4" "Enabled,-"
textline "                    "
bitfld.long 0x4 3. " MASK3  ,Comparison Function 3" "Enabled,-"
bitfld.long 0x4 2. "   MASK2  ,Comparison Function 2" "Enabled,-"
bitfld.long 0x4 1. "  MASK1  ,Comparison Function 1" "Enabled,-"
bitfld.long 0x4 0. "  MASK0  ,Comparison Function 0" "Enabled,-"
line.long 0x8 "GPT0_MASK2,Compare Mask (Compare Timer 2)"
bitfld.long 0x8 31. " MASK31 ,Comparison Function 31" "Enabled,-"
bitfld.long 0x8 30. "   MASK30 ,Comparison Function 30" "Enabled,-"
bitfld.long 0x8 29. "  MASK29 ,Comparison Function 29" "Enabled,-"
bitfld.long 0x8 28. "  MASK28 ,Comparison Function 28" "Enabled,-"
textline "                    "
bitfld.long 0x8 27. " MASK27 ,Comparison Function 27" "Enabled,-"
bitfld.long 0x8 26. "   MASK26 ,Comparison Function 26" "Enabled,-"
bitfld.long 0x8 25. "  MASK25 ,Comparison Function 25" "Enabled,-"
bitfld.long 0x8 24. "  MASK24 ,Comparison Function 24" "Enabled,-"
textline "                    "
bitfld.long 0x8 23. " MASK23 ,Comparison Function 23" "Enabled,-"
bitfld.long 0x8 22. "   MASK22 ,Comparison Function 22" "Enabled,-"
bitfld.long 0x8 21. "  MASK21 ,Comparison Function 21" "Enabled,-"
bitfld.long 0x8 20. "  MASK20 ,Comparison Function 20" "Enabled,-"
textline "                    "
bitfld.long 0x8 19. " MASK19 ,Comparison Function 19" "Enabled,-"
bitfld.long 0x8 18. "   MASK18 ,Comparison Function 18" "Enabled,-"
bitfld.long 0x8 17. "  MASK17 ,Comparison Function 17" "Enabled,-"
bitfld.long 0x8 16. "  MASK16 ,Comparison Function 16" "Enabled,-"
textline "                    "
bitfld.long 0x8 15. " MASK15 ,Comparison Function 15" "Enabled,-"
bitfld.long 0x8 14. "   MASK14 ,Comparison Function 14" "Enabled,-"
bitfld.long 0x8 13. "  MASK13 ,Comparison Function 13" "Enabled,-"
bitfld.long 0x8 12. "  MASK12 ,Comparison Function 12" "Enabled,-"
textline "                    "
bitfld.long 0x8 11. " MASK11 ,Comparison Function 11" "Enabled,-"
bitfld.long 0x8 10. "   MASK10 ,Comparison Function 10" "Enabled,-"
bitfld.long 0x8 9. "  MASK9  ,Comparison Function 9" "Enabled,-"
bitfld.long 0x8 8. "  MASK8  ,Comparison Function 8" "Enabled,-"
textline "                    "
bitfld.long 0x8 7. " MASK7  ,Comparison Function 7" "Enabled,-"
bitfld.long 0x8 6. "   MASK6  ,Comparison Function 6" "Enabled,-"
bitfld.long 0x8 5. "  MASK5  ,Comparison Function 5" "Enabled,-"
bitfld.long 0x8 4. "  MASK4  ,Comparison Function 4" "Enabled,-"
textline "                    "
bitfld.long 0x8 3. " MASK3  ,Comparison Function 3" "Enabled,-"
bitfld.long 0x8 2. "   MASK2  ,Comparison Function 2" "Enabled,-"
bitfld.long 0x8 1. "  MASK1  ,Comparison Function 1" "Enabled,-"
bitfld.long 0x8 0. "  MASK0  ,Comparison Function 0" "Enabled,-"
line.long 0xC "GPT0_MASK3,Compare Mask (Compare Timer 3)"
bitfld.long 0xC 31. " MASK31 ,Comparison Function 31" "Enabled,-"
bitfld.long 0xC 30. "   MASK30 ,Comparison Function 30" "Enabled,-"
bitfld.long 0xC 29. "  MASK29 ,Comparison Function 29" "Enabled,-"
bitfld.long 0xC 28. "  MASK28 ,Comparison Function 28" "Enabled,-"
textline "                    "
bitfld.long 0xC 27. " MASK27 ,Comparison Function 27" "Enabled,-"
bitfld.long 0xC 26. "   MASK26 ,Comparison Function 26" "Enabled,-"
bitfld.long 0xC 25. "  MASK25 ,Comparison Function 25" "Enabled,-"
bitfld.long 0xC 24. "  MASK24 ,Comparison Function 24" "Enabled,-"
textline "                    "
bitfld.long 0xC 23. " MASK23 ,Comparison Function 23" "Enabled,-"
bitfld.long 0xC 22. "   MASK22 ,Comparison Function 22" "Enabled,-"
bitfld.long 0xC 21. "  MASK21 ,Comparison Function 21" "Enabled,-"
bitfld.long 0xC 20. "  MASK20 ,Comparison Function 20" "Enabled,-"
textline "                    "
bitfld.long 0xC 19. " MASK19 ,Comparison Function 19" "Enabled,-"
bitfld.long 0xC 18. "   MASK18 ,Comparison Function 18" "Enabled,-"
bitfld.long 0xC 17. "  MASK17 ,Comparison Function 17" "Enabled,-"
bitfld.long 0xC 16. "  MASK16 ,Comparison Function 16" "Enabled,-"
textline "                    "
bitfld.long 0xC 15. " MASK15 ,Comparison Function 15" "Enabled,-"
bitfld.long 0xC 14. "   MASK14 ,Comparison Function 14" "Enabled,-"
bitfld.long 0xC 13. "  MASK13 ,Comparison Function 13" "Enabled,-"
bitfld.long 0xC 12. "  MASK12 ,Comparison Function 12" "Enabled,-"
textline "                    "
bitfld.long 0xC 11. " MASK11 ,Comparison Function 11" "Enabled,-"
bitfld.long 0xC 10. "   MASK10 ,Comparison Function 10" "Enabled,-"
bitfld.long 0xC 9. "  MASK9  ,Comparison Function 9" "Enabled,-"
bitfld.long 0xC 8. "  MASK8  ,Comparison Function 8" "Enabled,-"
textline "                    "
bitfld.long 0xC 7. " MASK7  ,Comparison Function 7" "Enabled,-"
bitfld.long 0xC 6. "   MASK6  ,Comparison Function 6" "Enabled,-"
bitfld.long 0xC 5. "  MASK5  ,Comparison Function 5" "Enabled,-"
bitfld.long 0xC 4. "  MASK4  ,Comparison Function 4" "Enabled,-"
textline "                    "
bitfld.long 0xC 3. " MASK3  ,Comparison Function 3" "Enabled,-"
bitfld.long 0xC 2. "   MASK2  ,Comparison Function 2" "Enabled,-"
bitfld.long 0xC 1. "  MASK1  ,Comparison Function 1" "Enabled,-"
bitfld.long 0xC 0. "  MASK0  ,Comparison Function 0" "Enabled,-"
line.long 0x10 "GPT0_MASK4,Compare Mask (Compare Timer 4)"
bitfld.long 0x10 31. " MASK31 ,Comparison Function 31" "Enabled,-"
bitfld.long 0x10 30. "   MASK30 ,Comparison Function 30" "Enabled,-"
bitfld.long 0x10 29. "  MASK29 ,Comparison Function 29" "Enabled,-"
bitfld.long 0x10 28. "  MASK28 ,Comparison Function 28" "Enabled,-"
textline "                    "
bitfld.long 0x10 27. " MASK27 ,Comparison Function 27" "Enabled,-"
bitfld.long 0x10 26. "   MASK26 ,Comparison Function 26" "Enabled,-"
bitfld.long 0x10 25. "  MASK25 ,Comparison Function 25" "Enabled,-"
bitfld.long 0x10 24. "  MASK24 ,Comparison Function 24" "Enabled,-"
textline "                    "
bitfld.long 0x10 23. " MASK23 ,Comparison Function 23" "Enabled,-"
bitfld.long 0x10 22. "   MASK22 ,Comparison Function 22" "Enabled,-"
bitfld.long 0x10 21. "  MASK21 ,Comparison Function 21" "Enabled,-"
bitfld.long 0x10 20. "  MASK20 ,Comparison Function 20" "Enabled,-"
textline "                    "
bitfld.long 0x10 19. " MASK19 ,Comparison Function 19" "Enabled,-"
bitfld.long 0x10 18. "   MASK18 ,Comparison Function 18" "Enabled,-"
bitfld.long 0x10 17. "  MASK17 ,Comparison Function 17" "Enabled,-"
bitfld.long 0x10 16. "  MASK16 ,Comparison Function 16" "Enabled,-"
textline "                    "
bitfld.long 0x10 15. " MASK15 ,Comparison Function 15" "Enabled,-"
bitfld.long 0x10 14. "   MASK14 ,Comparison Function 14" "Enabled,-"
bitfld.long 0x10 13. "  MASK13 ,Comparison Function 13" "Enabled,-"
bitfld.long 0x10 12. "  MASK12 ,Comparison Function 12" "Enabled,-"
textline "                    "
bitfld.long 0x10 11. " MASK11 ,Comparison Function 11" "Enabled,-"
bitfld.long 0x10 10. "   MASK10 ,Comparison Function 10" "Enabled,-"
bitfld.long 0x10 9. "  MASK9  ,Comparison Function 9" "Enabled,-"
bitfld.long 0x10 8. "  MASK8  ,Comparison Function 8" "Enabled,-"
textline "                    "
bitfld.long 0x10 7. " MASK7  ,Comparison Function 7" "Enabled,-"
bitfld.long 0x10 6. "   MASK6  ,Comparison Function 6" "Enabled,-"
bitfld.long 0x10 5. "  MASK5  ,Comparison Function 5" "Enabled,-"
bitfld.long 0x10 4. "  MASK4  ,Comparison Function 4" "Enabled,-"
textline "                    "
bitfld.long 0x10 3. " MASK3  ,Comparison Function 3" "Enabled,-"
bitfld.long 0x10 2. "   MASK2  ,Comparison Function 2" "Enabled,-"
bitfld.long 0x10 1. "  MASK1  ,Comparison Function 1" "Enabled,-"
bitfld.long 0x10 0. "  MASK0  ,Comparison Function 0" "Enabled,-"
group 0x110++0x03
line.long 0x00 "GPT0_DCT,Compare Mask Register"
hexmask.long 0x00 0.--31. 1. " DCT    ,Down Count Timer"
group 0x11c++0x03
line.long 0x00 "GPT0_DCIS,GPT Interrupt Enable Register"
bitfld.long 0x00 31. " DCIS   ,Down Counter Interrupt Status" "-,Expired"
width 0x0B
elif (cpu()=="PPC440EP")
;General Purpose Timers
;includes: gpt_cm_x.ph
width 11.
group ANC:0x0:0xEF600000++0x3
line.long 0x00 "GPT0_TBC,Time Base Counter"
hexfld.long 0x00 " TB   ,Time Base"
group ANC:0x0:0xEF600010++0x17
line.long 0x00 "GPT0_OE,GPT Output Enable"
bitfld.long 0x00 31. " CT0O ,Compare Timer 0 Output" "-,Enabled"
bitfld.long 0x00 30. "      CT1O ,Compare Timer 1 Output" "-,Enabled"
bitfld.long 0x00 29. "  CT2O ,Compare Timer 2 Output" "-,Enabled"
bitfld.long 0x00 28. "  CT3O ,Compare Timer 3 Output" "-,Enabled"
textline "                    "
bitfld.long 0x00 27. " CT4O ,Compare Timer 4 Output" "-,Enabled"
bitfld.long 0x00 26. "      CT5O ,Compare Timer 5 Output" "-,Enabled"
bitfld.long 0x00 25. "  CT6O ,Compare Timer 6 Output" "-,Enabled"
line.long 0x04 "GPT0_OL,GPT Output Level"
bitfld.long 0x04 31. " CT0L ,Compare Timer 0 Output Level" "-,Enabled"
bitfld.long 0x04 30. "      CT1L ,Compare Timer 1 Output Level" "-,Enabled"
bitfld.long 0x04 29. "  CT2L ,Compare Timer 2 Output Level" "-,Enabled"
bitfld.long 0x04 28. "  CT3L ,Compare Timer 3 Output Level" "-,Enabled"
textline "                    "
bitfld.long 0x04 27. " CT4L ,Compare Timer 4 Output Level" "-,Enabled"
bitfld.long 0x04 26. "      CT5L ,Compare Timer 5 Output Level" "-,Enabled"
bitfld.long 0x04 25. "  CT6L ,Compare Timer 6 Output Level" "-,Enabled"  
line.long 0x08 "GPT0_IM,GPT Interrupt Mask"
bitfld.long 0x08 15. " CT0M ,Compare Timer 0 Interrupt Mask" "-,Enabled"
bitfld.long 0x08 14. "      CT1M ,Compare Timer 1 Interrupt Mask" "-,Enabled"
bitfld.long 0x08 13. "  CT2M ,Compare Timer 2 Interrupt Mask" "-,Enabled"
bitfld.long 0x08 12. "  CT3M ,Compare Timer 3 Interrupt Mask" "-,Enabled"
textline "                    "
bitfld.long 0x08 11. " CT4M ,Compare Timer 4 Interrupt Mask" "-,Enabled"
bitfld.long 0x08 10. "      CT5M ,Compare Timer 5 Interrupt Mask" "-,Enabled"
bitfld.long 0x08 9. "  CT6M ,Compare Timer 6 Interrupt Mask" "-,Enabled"   
line.long 0x0C "GPT0_ISS,GPT Interrupt Status (Set bits if write 1)"
bitfld.long 0x0C 15. " CT0S ,Compare Timer 0 Interrupt Status" "-,Enabled"
bitfld.long 0x0C 14. "      CT1S ,Compare Timer 1 Interrupt Status" "-,Enabled"
bitfld.long 0x0C 13. "  CT2S ,Compare Timer 2 Interrupt Status" "-,Enabled"
bitfld.long 0x0C 12. "  CT3S ,Compare Timer 3 Interrupt Status" "-,Enabled"
textline "                    "
bitfld.long 0x0C 11. " CT4S ,Compare Timer 4 Interrupt Status" "-,Enabled"
bitfld.long 0x0C 10. "      CT5S ,Compare Timer 5 Interrupt Status" "-,Enabled"
bitfld.long 0x0C 9. "  CT6S ,Compare Timer 6 Interrupt Status" "-,Enabled"    
line.long 0x10 "GPT0_ISC,GPT Interrupt Status (Clear bits if write 1)"
bitfld.long 0x10 15. " CT0S ,Compare Timer 0 Interrupt Status" "-,Enabled"
bitfld.long 0x10 14. "      CT1S ,Compare Timer 1 Interrupt Status" "-,Enabled"
bitfld.long 0x10 13. "  CT2S ,Compare Timer 2 Interrupt Status" "-,Enabled"
bitfld.long 0x10 12. "  CT3S ,Compare Timer 3 Interrupt Status" "-,Enabled"
textline "                    "
bitfld.long 0x10 11. " CT4S ,Compare Timer 4 Interrupt Status" "-,Enabled"
bitfld.long 0x10 10. "      CT5S ,Compare Timer 5 Interrupt Status" "-,Enabled"
bitfld.long 0x10 9. "  CT6S ,Compare Timer 6 Interrupt Status" "-,Enabled"    
line.long 0x14 "GPT0_IE,GPT Interrupt Enable"
bitfld.long 0x14 15. " CT0I ,Compare Timer 0 Interrupt Enable" "-,Enabled"
bitfld.long 0x14 14. "      CT1I ,Compare Timer 1 Interrupt Enable" "-,Enabled"
bitfld.long 0x14 13. "  CT2I ,Compare Timer 2 Interrupt Enable" "-,Enabled"
bitfld.long 0x14 12. "  CT3I ,Compare Timer 3 Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.long 0x14 11. " CT4I ,Compare Timer 4 Interrupt Enable" "-,Enabled"
bitfld.long 0x14 10. "      CT5I ,Compare Timer 5 Interrupt Enable" "-,Enabled"
bitfld.long 0x14 9. "  CT6I ,Compare Timer 6 Interrupt Enable" "-,Enabled"    
group ANC:0x0:0xEF600080++0x1b
line.long 0x00 "GPT0_COMP0,Compare Timer 0"
hexfld.long 0x00 " COMP ,Compare Timer 0"
line.long 0x04 "GPT0_COMP1,Compare Timer 1"
hexfld.long 0x04 " COMP ,Compare Timer 1"
line.long 0x08 "GPT0_COMP2,Compare Timer 2"
hexfld.long 0x08 " COMP ,Compare Timer 2"
line.long 0x0C "GPT0_COMP3,Compare Timer 3"
hexfld.long 0x0C " COMP ,Compare Timer 3"
line.long 0x10 "GPT0_COMP4,Compare Timer 4"
hexfld.long 0x10 " COMP ,Compare Timer 4"
line.long 0x14 "GPT0_COMP5,Compare Timer 5"
hexfld.long 0x14 " COMP ,Compare Timer 5"
line.long 0x18 "GPT0_COMP6,Compare Timer 6"
hexfld.long 0x18 " COMP ,Compare Timer 6"
group ANC:0x0:0xEF6000C0++0x1b
line.long 0x0 "GPT0_MASK0,Compare Mask (Compare Timer 0)"
bitfld.long 0x0 31. " CM   ,Compare Mask (Compare Timer 0) bit 0" "0,1"
bitfld.long 0x0 30. ",Compare Mask (Compare Timer 0) bit 1" "0,1"
bitfld.long 0x0 29. ",Compare Mask (Compare Timer 0) bit 2" "0,1"
bitfld.long 0x0 28. ",Compare Mask (Compare Timer 0) bit 3" "0,1"
bitfld.long 0x0 27. " ,Compare Mask (Compare Timer 0) bit 4" "0,1"
bitfld.long 0x0 26. ",Compare Mask (Compare Timer 0) bit 5" "0,1"
bitfld.long 0x0 25. ",Compare Mask (Compare Timer 0) bit 6" "0,1"
bitfld.long 0x0 24. ",Compare Mask (Compare Timer 0) bit 7" "0,1"
bitfld.long 0x0 23. " ,Compare Mask (Compare Timer 0) bit 8" "0,1"
bitfld.long 0x0 22. ",Compare Mask (Compare Timer 0) bit 9" "0,1"
bitfld.long 0x0 21. ",Compare Mask (Compare Timer 0) bit 10" "0,1"
bitfld.long 0x0 20. ",Compare Mask (Compare Timer 0) bit 11" "0,1"
bitfld.long 0x0 19. " ,Compare Mask (Compare Timer 0) bit 12" "0,1"
bitfld.long 0x0 18. ",Compare Mask (Compare Timer 0) bit 13" "0,1"
bitfld.long 0x0 17. ",Compare Mask (Compare Timer 0) bit 14" "0,1"
bitfld.long 0x0 16. ",Compare Mask (Compare Timer 0) bit 15" "0,1"
bitfld.long 0x0 15. " ,Compare Mask (Compare Timer 0) bit 16" "0,1"
bitfld.long 0x0 14. ",Compare Mask (Compare Timer 0) bit 17" "0,1"
bitfld.long 0x0 13. ",Compare Mask (Compare Timer 0) bit 18" "0,1"
bitfld.long 0x0 12. ",Compare Mask (Compare Timer 0) bit 19" "0,1"
bitfld.long 0x0 11. " ,Compare Mask (Compare Timer 0) bit 20" "0,1"
bitfld.long 0x0 10. ",Compare Mask (Compare Timer 0) bit 21" "0,1"
bitfld.long 0x0 09. ",Compare Mask (Compare Timer 0) bit 22" "0,1"
bitfld.long 0x0 08. ",Compare Mask (Compare Timer 0) bit 23" "0,1"
bitfld.long 0x0 07. " ,Compare Mask (Compare Timer 0) bit 24" "0,1"
bitfld.long 0x0 06. ",Compare Mask (Compare Timer 0) bit 25" "0,1"
bitfld.long 0x0 05. ",Compare Mask (Compare Timer 0) bit 26" "0,1"
bitfld.long 0x0 04. ",Compare Mask (Compare Timer 0) bit 27" "0,1"
bitfld.long 0x0 03. " ,Compare Mask (Compare Timer 0) bit 28" "0,1"
bitfld.long 0x0 02. ",Compare Mask (Compare Timer 0) bit 29" "0,1"
bitfld.long 0x0 01. ",Compare Mask (Compare Timer 0) bit 30" "0,1"
bitfld.long 0x0 00. ",Compare Mask (Compare Timer 0) bit 31" "0,1"
line.long 0x4 "GPT0_MASK1,Compare Mask (Compare Timer 1)"
bitfld.long 0x4 31. " CM   ,Compare Mask (Compare Timer 1) bit 0" "0,1"
bitfld.long 0x4 30. ",Compare Mask (Compare Timer 1) bit 1" "0,1"
bitfld.long 0x4 29. ",Compare Mask (Compare Timer 1) bit 2" "0,1"
bitfld.long 0x4 28. ",Compare Mask (Compare Timer 1) bit 3" "0,1"
bitfld.long 0x4 27. " ,Compare Mask (Compare Timer 1) bit 4" "0,1"
bitfld.long 0x4 26. ",Compare Mask (Compare Timer 1) bit 5" "0,1"
bitfld.long 0x4 25. ",Compare Mask (Compare Timer 1) bit 6" "0,1"
bitfld.long 0x4 24. ",Compare Mask (Compare Timer 1) bit 7" "0,1"
bitfld.long 0x4 23. " ,Compare Mask (Compare Timer 1) bit 8" "0,1"
bitfld.long 0x4 22. ",Compare Mask (Compare Timer 1) bit 9" "0,1"
bitfld.long 0x4 21. ",Compare Mask (Compare Timer 1) bit 10" "0,1"
bitfld.long 0x4 20. ",Compare Mask (Compare Timer 1) bit 11" "0,1"
bitfld.long 0x4 19. " ,Compare Mask (Compare Timer 1) bit 12" "0,1"
bitfld.long 0x4 18. ",Compare Mask (Compare Timer 1) bit 13" "0,1"
bitfld.long 0x4 17. ",Compare Mask (Compare Timer 1) bit 14" "0,1"
bitfld.long 0x4 16. ",Compare Mask (Compare Timer 1) bit 15" "0,1"
bitfld.long 0x4 15. " ,Compare Mask (Compare Timer 1) bit 16" "0,1"
bitfld.long 0x4 14. ",Compare Mask (Compare Timer 1) bit 17" "0,1"
bitfld.long 0x4 13. ",Compare Mask (Compare Timer 1) bit 18" "0,1"
bitfld.long 0x4 12. ",Compare Mask (Compare Timer 1) bit 19" "0,1"
bitfld.long 0x4 11. " ,Compare Mask (Compare Timer 1) bit 20" "0,1"
bitfld.long 0x4 10. ",Compare Mask (Compare Timer 1) bit 21" "0,1"
bitfld.long 0x4 09. ",Compare Mask (Compare Timer 1) bit 22" "0,1"
bitfld.long 0x4 08. ",Compare Mask (Compare Timer 1) bit 23" "0,1"
bitfld.long 0x4 07. " ,Compare Mask (Compare Timer 1) bit 24" "0,1"
bitfld.long 0x4 06. ",Compare Mask (Compare Timer 1) bit 25" "0,1"
bitfld.long 0x4 05. ",Compare Mask (Compare Timer 1) bit 26" "0,1"
bitfld.long 0x4 04. ",Compare Mask (Compare Timer 1) bit 27" "0,1"
bitfld.long 0x4 03. " ,Compare Mask (Compare Timer 1) bit 28" "0,1"
bitfld.long 0x4 02. ",Compare Mask (Compare Timer 1) bit 29" "0,1"
bitfld.long 0x4 01. ",Compare Mask (Compare Timer 1) bit 30" "0,1"
bitfld.long 0x4 00. ",Compare Mask (Compare Timer 1) bit 31" "0,1"
line.long 0x8 "GPT0_MASK2,Compare Mask (Compare Timer 2)"
bitfld.long 0x8 31. " CM   ,Compare Mask (Compare Timer 2) bit 0" "0,1"
bitfld.long 0x8 30. ",Compare Mask (Compare Timer 2) bit 1" "0,1"
bitfld.long 0x8 29. ",Compare Mask (Compare Timer 2) bit 2" "0,1"
bitfld.long 0x8 28. ",Compare Mask (Compare Timer 2) bit 3" "0,1"
bitfld.long 0x8 27. " ,Compare Mask (Compare Timer 2) bit 4" "0,1"
bitfld.long 0x8 26. ",Compare Mask (Compare Timer 2) bit 5" "0,1"
bitfld.long 0x8 25. ",Compare Mask (Compare Timer 2) bit 6" "0,1"
bitfld.long 0x8 24. ",Compare Mask (Compare Timer 2) bit 7" "0,1"
bitfld.long 0x8 23. " ,Compare Mask (Compare Timer 2) bit 8" "0,1"
bitfld.long 0x8 22. ",Compare Mask (Compare Timer 2) bit 9" "0,1"
bitfld.long 0x8 21. ",Compare Mask (Compare Timer 2) bit 10" "0,1"
bitfld.long 0x8 20. ",Compare Mask (Compare Timer 2) bit 11" "0,1"
bitfld.long 0x8 19. " ,Compare Mask (Compare Timer 2) bit 12" "0,1"
bitfld.long 0x8 18. ",Compare Mask (Compare Timer 2) bit 13" "0,1"
bitfld.long 0x8 17. ",Compare Mask (Compare Timer 2) bit 14" "0,1"
bitfld.long 0x8 16. ",Compare Mask (Compare Timer 2) bit 15" "0,1"
bitfld.long 0x8 15. " ,Compare Mask (Compare Timer 2) bit 16" "0,1"
bitfld.long 0x8 14. ",Compare Mask (Compare Timer 2) bit 17" "0,1"
bitfld.long 0x8 13. ",Compare Mask (Compare Timer 2) bit 18" "0,1"
bitfld.long 0x8 12. ",Compare Mask (Compare Timer 2) bit 19" "0,1"
bitfld.long 0x8 11. " ,Compare Mask (Compare Timer 2) bit 20" "0,1"
bitfld.long 0x8 10. ",Compare Mask (Compare Timer 2) bit 21" "0,1"
bitfld.long 0x8 09. ",Compare Mask (Compare Timer 2) bit 22" "0,1"
bitfld.long 0x8 08. ",Compare Mask (Compare Timer 2) bit 23" "0,1"
bitfld.long 0x8 07. " ,Compare Mask (Compare Timer 2) bit 24" "0,1"
bitfld.long 0x8 06. ",Compare Mask (Compare Timer 2) bit 25" "0,1"
bitfld.long 0x8 05. ",Compare Mask (Compare Timer 2) bit 26" "0,1"
bitfld.long 0x8 04. ",Compare Mask (Compare Timer 2) bit 27" "0,1"
bitfld.long 0x8 03. " ,Compare Mask (Compare Timer 2) bit 28" "0,1"
bitfld.long 0x8 02. ",Compare Mask (Compare Timer 2) bit 29" "0,1"
bitfld.long 0x8 01. ",Compare Mask (Compare Timer 2) bit 30" "0,1"
bitfld.long 0x8 00. ",Compare Mask (Compare Timer 2) bit 31" "0,1"
line.long 0xC "GPT0_MASK3,Compare Mask (Compare Timer 3)"
bitfld.long 0xC 31. " CM   ,Compare Mask (Compare Timer 3) bit 0" "0,1"
bitfld.long 0xC 30. ",Compare Mask (Compare Timer 3) bit 1" "0,1"
bitfld.long 0xC 29. ",Compare Mask (Compare Timer 3) bit 2" "0,1"
bitfld.long 0xC 28. ",Compare Mask (Compare Timer 3) bit 3" "0,1"
bitfld.long 0xC 27. " ,Compare Mask (Compare Timer 3) bit 4" "0,1"
bitfld.long 0xC 26. ",Compare Mask (Compare Timer 3) bit 5" "0,1"
bitfld.long 0xC 25. ",Compare Mask (Compare Timer 3) bit 6" "0,1"
bitfld.long 0xC 24. ",Compare Mask (Compare Timer 3) bit 7" "0,1"
bitfld.long 0xC 23. " ,Compare Mask (Compare Timer 3) bit 8" "0,1"
bitfld.long 0xC 22. ",Compare Mask (Compare Timer 3) bit 9" "0,1"
bitfld.long 0xC 21. ",Compare Mask (Compare Timer 3) bit 10" "0,1"
bitfld.long 0xC 20. ",Compare Mask (Compare Timer 3) bit 11" "0,1"
bitfld.long 0xC 19. " ,Compare Mask (Compare Timer 3) bit 12" "0,1"
bitfld.long 0xC 18. ",Compare Mask (Compare Timer 3) bit 13" "0,1"
bitfld.long 0xC 17. ",Compare Mask (Compare Timer 3) bit 14" "0,1"
bitfld.long 0xC 16. ",Compare Mask (Compare Timer 3) bit 15" "0,1"
bitfld.long 0xC 15. " ,Compare Mask (Compare Timer 3) bit 16" "0,1"
bitfld.long 0xC 14. ",Compare Mask (Compare Timer 3) bit 17" "0,1"
bitfld.long 0xC 13. ",Compare Mask (Compare Timer 3) bit 18" "0,1"
bitfld.long 0xC 12. ",Compare Mask (Compare Timer 3) bit 19" "0,1"
bitfld.long 0xC 11. " ,Compare Mask (Compare Timer 3) bit 20" "0,1"
bitfld.long 0xC 10. ",Compare Mask (Compare Timer 3) bit 21" "0,1"
bitfld.long 0xC 09. ",Compare Mask (Compare Timer 3) bit 22" "0,1"
bitfld.long 0xC 08. ",Compare Mask (Compare Timer 3) bit 23" "0,1"
bitfld.long 0xC 07. " ,Compare Mask (Compare Timer 3) bit 24" "0,1"
bitfld.long 0xC 06. ",Compare Mask (Compare Timer 3) bit 25" "0,1"
bitfld.long 0xC 05. ",Compare Mask (Compare Timer 3) bit 26" "0,1"
bitfld.long 0xC 04. ",Compare Mask (Compare Timer 3) bit 27" "0,1"
bitfld.long 0xC 03. " ,Compare Mask (Compare Timer 3) bit 28" "0,1"
bitfld.long 0xC 02. ",Compare Mask (Compare Timer 3) bit 29" "0,1"
bitfld.long 0xC 01. ",Compare Mask (Compare Timer 3) bit 30" "0,1"
bitfld.long 0xC 00. ",Compare Mask (Compare Timer 3) bit 31" "0,1"
line.long 0x10 "GPT0_MASK4,Compare Mask (Compare Timer 4)"
bitfld.long 0x10 31. " CM   ,Compare Mask (Compare Timer 4) bit 0" "0,1"
bitfld.long 0x10 30. ",Compare Mask (Compare Timer 4) bit 1" "0,1"
bitfld.long 0x10 29. ",Compare Mask (Compare Timer 4) bit 2" "0,1"
bitfld.long 0x10 28. ",Compare Mask (Compare Timer 4) bit 3" "0,1"
bitfld.long 0x10 27. " ,Compare Mask (Compare Timer 4) bit 4" "0,1"
bitfld.long 0x10 26. ",Compare Mask (Compare Timer 4) bit 5" "0,1"
bitfld.long 0x10 25. ",Compare Mask (Compare Timer 4) bit 6" "0,1"
bitfld.long 0x10 24. ",Compare Mask (Compare Timer 4) bit 7" "0,1"
bitfld.long 0x10 23. " ,Compare Mask (Compare Timer 4) bit 8" "0,1"
bitfld.long 0x10 22. ",Compare Mask (Compare Timer 4) bit 9" "0,1"
bitfld.long 0x10 21. ",Compare Mask (Compare Timer 4) bit 10" "0,1"
bitfld.long 0x10 20. ",Compare Mask (Compare Timer 4) bit 11" "0,1"
bitfld.long 0x10 19. " ,Compare Mask (Compare Timer 4) bit 12" "0,1"
bitfld.long 0x10 18. ",Compare Mask (Compare Timer 4) bit 13" "0,1"
bitfld.long 0x10 17. ",Compare Mask (Compare Timer 4) bit 14" "0,1"
bitfld.long 0x10 16. ",Compare Mask (Compare Timer 4) bit 15" "0,1"
bitfld.long 0x10 15. " ,Compare Mask (Compare Timer 4) bit 16" "0,1"
bitfld.long 0x10 14. ",Compare Mask (Compare Timer 4) bit 17" "0,1"
bitfld.long 0x10 13. ",Compare Mask (Compare Timer 4) bit 18" "0,1"
bitfld.long 0x10 12. ",Compare Mask (Compare Timer 4) bit 19" "0,1"
bitfld.long 0x10 11. " ,Compare Mask (Compare Timer 4) bit 20" "0,1"
bitfld.long 0x10 10. ",Compare Mask (Compare Timer 4) bit 21" "0,1"
bitfld.long 0x10 09. ",Compare Mask (Compare Timer 4) bit 22" "0,1"
bitfld.long 0x10 08. ",Compare Mask (Compare Timer 4) bit 23" "0,1"
bitfld.long 0x10 07. " ,Compare Mask (Compare Timer 4) bit 24" "0,1"
bitfld.long 0x10 06. ",Compare Mask (Compare Timer 4) bit 25" "0,1"
bitfld.long 0x10 05. ",Compare Mask (Compare Timer 4) bit 26" "0,1"
bitfld.long 0x10 04. ",Compare Mask (Compare Timer 4) bit 27" "0,1"
bitfld.long 0x10 03. " ,Compare Mask (Compare Timer 4) bit 28" "0,1"
bitfld.long 0x10 02. ",Compare Mask (Compare Timer 4) bit 29" "0,1"
bitfld.long 0x10 01. ",Compare Mask (Compare Timer 4) bit 30" "0,1"
bitfld.long 0x10 00. ",Compare Mask (Compare Timer 4) bit 31" "0,1"
line.long 0x14 "GPT0_MASK5,Compare Mask (Compare Timer 5)"
bitfld.long 0x14 31. " CM   ,Compare Mask (Compare Timer 5) bit 0" "0,1"
bitfld.long 0x14 30. ",Compare Mask (Compare Timer 5) bit 1" "0,1"
bitfld.long 0x14 29. ",Compare Mask (Compare Timer 5) bit 2" "0,1"
bitfld.long 0x14 28. ",Compare Mask (Compare Timer 5) bit 3" "0,1"
bitfld.long 0x14 27. " ,Compare Mask (Compare Timer 5) bit 4" "0,1"
bitfld.long 0x14 26. ",Compare Mask (Compare Timer 5) bit 5" "0,1"
bitfld.long 0x14 25. ",Compare Mask (Compare Timer 5) bit 6" "0,1"
bitfld.long 0x14 24. ",Compare Mask (Compare Timer 5) bit 7" "0,1"
bitfld.long 0x14 23. " ,Compare Mask (Compare Timer 5) bit 8" "0,1"
bitfld.long 0x14 22. ",Compare Mask (Compare Timer 5) bit 9" "0,1"
bitfld.long 0x14 21. ",Compare Mask (Compare Timer 5) bit 10" "0,1"
bitfld.long 0x14 20. ",Compare Mask (Compare Timer 5) bit 11" "0,1"
bitfld.long 0x14 19. " ,Compare Mask (Compare Timer 5) bit 12" "0,1"
bitfld.long 0x14 18. ",Compare Mask (Compare Timer 5) bit 13" "0,1"
bitfld.long 0x14 17. ",Compare Mask (Compare Timer 5) bit 14" "0,1"
bitfld.long 0x14 16. ",Compare Mask (Compare Timer 5) bit 15" "0,1"
bitfld.long 0x14 15. " ,Compare Mask (Compare Timer 5) bit 16" "0,1"
bitfld.long 0x14 14. ",Compare Mask (Compare Timer 5) bit 17" "0,1"
bitfld.long 0x14 13. ",Compare Mask (Compare Timer 5) bit 18" "0,1"
bitfld.long 0x14 12. ",Compare Mask (Compare Timer 5) bit 19" "0,1"
bitfld.long 0x14 11. " ,Compare Mask (Compare Timer 5) bit 20" "0,1"
bitfld.long 0x14 10. ",Compare Mask (Compare Timer 5) bit 21" "0,1"
bitfld.long 0x14 09. ",Compare Mask (Compare Timer 5) bit 22" "0,1"
bitfld.long 0x14 08. ",Compare Mask (Compare Timer 5) bit 23" "0,1"
bitfld.long 0x14 07. " ,Compare Mask (Compare Timer 5) bit 24" "0,1"
bitfld.long 0x14 06. ",Compare Mask (Compare Timer 5) bit 25" "0,1"
bitfld.long 0x14 05. ",Compare Mask (Compare Timer 5) bit 26" "0,1"
bitfld.long 0x14 04. ",Compare Mask (Compare Timer 5) bit 27" "0,1"
bitfld.long 0x14 03. " ,Compare Mask (Compare Timer 5) bit 28" "0,1"
bitfld.long 0x14 02. ",Compare Mask (Compare Timer 5) bit 29" "0,1"
bitfld.long 0x14 01. ",Compare Mask (Compare Timer 5) bit 30" "0,1"
bitfld.long 0x14 00. ",Compare Mask (Compare Timer 5) bit 31" "0,1"
line.long 0x18 "GPT0_MASK6,Compare Mask (Compare Timer 6)"
bitfld.long 0x18 31. " CM   ,Compare Mask (Compare Timer 6) bit 0" "0,1"
bitfld.long 0x18 30. ",Compare Mask (Compare Timer 6) bit 1" "0,1"
bitfld.long 0x18 29. ",Compare Mask (Compare Timer 6) bit 2" "0,1"
bitfld.long 0x18 28. ",Compare Mask (Compare Timer 6) bit 3" "0,1"
bitfld.long 0x18 27. " ,Compare Mask (Compare Timer 6) bit 4" "0,1"
bitfld.long 0x18 26. ",Compare Mask (Compare Timer 6) bit 5" "0,1"
bitfld.long 0x18 25. ",Compare Mask (Compare Timer 6) bit 6" "0,1"
bitfld.long 0x18 24. ",Compare Mask (Compare Timer 6) bit 7" "0,1"
bitfld.long 0x18 23. " ,Compare Mask (Compare Timer 6) bit 8" "0,1"
bitfld.long 0x18 22. ",Compare Mask (Compare Timer 6) bit 9" "0,1"
bitfld.long 0x18 21. ",Compare Mask (Compare Timer 6) bit 10" "0,1"
bitfld.long 0x18 20. ",Compare Mask (Compare Timer 6) bit 11" "0,1"
bitfld.long 0x18 19. " ,Compare Mask (Compare Timer 6) bit 12" "0,1"
bitfld.long 0x18 18. ",Compare Mask (Compare Timer 6) bit 13" "0,1"
bitfld.long 0x18 17. ",Compare Mask (Compare Timer 6) bit 14" "0,1"
bitfld.long 0x18 16. ",Compare Mask (Compare Timer 6) bit 15" "0,1"
bitfld.long 0x18 15. " ,Compare Mask (Compare Timer 6) bit 16" "0,1"
bitfld.long 0x18 14. ",Compare Mask (Compare Timer 6) bit 17" "0,1"
bitfld.long 0x18 13. ",Compare Mask (Compare Timer 6) bit 18" "0,1"
bitfld.long 0x18 12. ",Compare Mask (Compare Timer 6) bit 19" "0,1"
bitfld.long 0x18 11. " ,Compare Mask (Compare Timer 6) bit 20" "0,1"
bitfld.long 0x18 10. ",Compare Mask (Compare Timer 6) bit 21" "0,1"
bitfld.long 0x18 09. ",Compare Mask (Compare Timer 6) bit 22" "0,1"
bitfld.long 0x18 08. ",Compare Mask (Compare Timer 6) bit 23" "0,1"
bitfld.long 0x18 07. " ,Compare Mask (Compare Timer 6) bit 24" "0,1"
bitfld.long 0x18 06. ",Compare Mask (Compare Timer 6) bit 25" "0,1"
bitfld.long 0x18 05. ",Compare Mask (Compare Timer 6) bit 26" "0,1"
bitfld.long 0x18 04. ",Compare Mask (Compare Timer 6) bit 27" "0,1"
bitfld.long 0x18 03. " ,Compare Mask (Compare Timer 6) bit 28" "0,1"
bitfld.long 0x18 02. ",Compare Mask (Compare Timer 6) bit 29" "0,1"
bitfld.long 0x18 01. ",Compare Mask (Compare Timer 6) bit 30" "0,1"
bitfld.long 0x18 00. ",Compare Mask (Compare Timer 6) bit 31" "0,1"
group ANC:0x0:0xEF600110++0x3
line.long 0x00 "GPT0_DCT0,Down Count Timer"
group ANC:0x0:0xEF60011C++0x3
line.long 0x00 "GPT0_DCIS,Down Count Timer Interrupt Status"
eventfld.long 0x0 31. " DCIS ,Down Count Interrupt Status" "Not expired,Expired"
width 0x0B
elif (cpu()=="PPC440GP")
width 11.
group ANC:0x1:0x40000a00++0x3
line.long 0x0 "GPT0_TBC,GPT Time Base Counter"
hexmask.long 0x00 0.--31. 1. " TB   ,Time Base"
group ANC:0x1:0x40000a10++0x3
line.long 0x0 "GPT0_OE,GPT Output Enable Register"
bitfld.long 0x00 31. " CT0O ,Compare Timer 0 Output" "-,Enabled"
bitfld.long 0x00 30. "   CT1O ,Compare Timer 1 Output" "-,Enabled"
bitfld.long 0x00 29. "  CT2O ,Compare Timer 2 Output" "-,Enabled"
bitfld.long 0x00 28. "  CT3O ,Compare Timer 3 Output" "-,Enabled"
group ANC:0x1:0x40000a14++0x3
line.long 0x0 "GPT0_OL,GPT Output Level Register"
bitfld.long 0x00 31. " CT0O ,Compare Timer 0 Output Level" "-,Enabled"
bitfld.long 0x00 30. "   CT1O ,Compare Timer 1 Output Level" "-,Enabled"
bitfld.long 0x00 29. "  CT2O ,Compare Timer 2 Output Level" "-,Enabled"
bitfld.long 0x00 28. "  CT3O ,Compare Timer 3 Output Level" "-,Enabled"
group ANC:0x1:0x40000A18++0x3
line.long 0x0 "GPT0_IM,GPT Interrupt Mask"
bitfld.long 0x00 15. " CT0M ,Compare Timer 0 Interrupt Mask" "-,Enabled"
bitfld.long 0x00 14. "   CT1M ,Compare Timer 1 Interrupt Mask" "-,Enabled"
bitfld.long 0x00 13. "  CT2M ,Compare Timer 2 Interrupt Mask" "-,Enabled"
bitfld.long 0x00 12. "  CT3M ,Compare Timer 3 Interrupt Mask" "-,Enabled"
textline "                    "
bitfld.long 0x00 11. " CT4M ,Compare Timer 4 Interrupt Mask" "-,Enabled"
group ANC:0x1:0x40000A1C++0x7
line.long 0x0 "GPT0_ISS,GPT Interrupt Status"
setclrfld.long 0x00 15. 0x00 15. 0x04 15. " CT0S ,Compare Timer 0 Interrupt " "-,Enabled"
setclrfld.long 0x00 14. 0x00 14. 0x04 14. "   CT1S ,Compare Timer 1 Interrupt " "-,Enabled"
setclrfld.long 0x00 13. 0x00 13. 0x04 13. "  CT2S ,Compare Timer 2 Interrupt " "-,Enabled"
setclrfld.long 0x00 12. 0x00 12. 0x04 12. "  CT3S ,Compare Timer 3 Interrupt " "-,Enabled"
textline "                    "
setclrfld.long 0x00 11. 0x00 11. 0x04 11. " CT4S ,Compare Timer 4 Interrupt " "-,Enabled"
setclrfld.long 0x00 10. 0x00 10. 0x04 10. "   CT5S ,Compare Timer 5 Interrupt " "-,Enabled"
setclrfld.long 0x00 9. 0x00 9. 0x04 9. "  CT6S ,Compare Timer 6 Interrupt " "-,Enabled"
group ANC:0x1:0x40000A24++0x3
line.long 0x0 "GPT0_IE,GPT Interrupt Enable"
bitfld.long 0x00 15. " CT0I ,Compare Timer 0 Interrupt Enable" "-,Enabled"
bitfld.long 0x00 14. "   CT1I ,Compare Timer 1 Interrupt Enable" "-,Enabled"
bitfld.long 0x00 13. "  CT2I ,Compare Timer 2 Interrupt Enable" "-,Enabled"
bitfld.long 0x00 12. "  CT3I ,Compare Timer 3 Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 11. " CT4I ,Compare Timer 4 Interrupt Enable" "-,Enabled"
group ANC:0x1:0x40000A80++0x3
line.long 0x0 "GPT0_COMP0,Compare Timer 0"
hexmask.long 0x00 0.--31. 1. " COMP ,Compare Timer"
group ANC:0x1:0x40000A84++0x3
line.long 0x0 "GPT0_COMP1,Compare Timer 1"
hexmask.long 0x00 0.--31. 1. " COMP ,Compare Timer"
group ANC:0x1:0x40000A88++0x3
line.long 0x0 "GPT0_COMP2,Compare Timer 2"
hexmask.long 0x00 0.--31. 1. " COMP ,Compare Timer"
group ANC:0x1:0x40000A8c++0x3
line.long 0x0 "GPT0_COMP3,Compare Timer 3"
hexmask.long 0x00 0.--31. 1. " COMP ,Compare Timer"
group ANC:0x1:0x40000A90++0x3
line.long 0x0 "GPT0_COMP4,Compare Timer 4"
hexmask.long 0x00 0.--31. 1. " COMP ,Compare Timer"
group ANC:0x1:0x40000AC0++0x3
line.long 0x0 "GPT0_MASK0,Compare Mask (Compare Timer 0)"
hexmask.long 0x00 0.--31. 1. " MASK ,Comparison Function"
group ANC:0x1:0x40000AC4++0x3
line.long 0x0 "GPT0_MASK1,Compare Mask (Compare Timer 1)"
hexmask.long 0x00 0.--31. 1. " MASK ,Comparison Function"
group ANC:0x1:0x40000AC8++0x3
line.long 0x0 "GPT0_MASK2,Compare Mask (Compare Timer 2)"
hexmask.long 0x00 0.--31. 1. " MASK ,Comparison Function"    
group ANC:0x1:0x40000ACc++0x3
line.long 0x0 "GPT0_MASK3,Compare Mask (Compare Timer 3)"
hexmask.long 0x00 0.--31. 1. " MASK ,Comparison Function"    
group ANC:0x1:0x40000Ad0++0x3
line.long 0x0 "GPT0_MASK4,Compare Mask (Compare Timer 4)"
hexmask.long 0x00 0.--31. 1. " MASK ,Comparison Function"    
width 0x0B

endif
tree.end
base ANC:0x0:0x00000000
tree "Clocking"
sif (cpu()=="PPC440GX")||(cpu()=="PPC440EP")||(cpu()=="PPC440SP")||(cpu()=="PPC440SPE")||(cpu()=="PPC440GR")||(cpu()=="PPC440EPX")||(cpu()=="PPC440GRX")
;Chip Clocking
width 14.
rgroup.long dcr:0x000D--0x000D
out dcr:0x000C %l 0x0020
line.long 0x00 "CPR0_CLKUPD,Clocking Update Register"
bitfld.long 0x00 31. " BSY    ,Clocking Subsystem Busy" "-,Busy"
wgroup.long dcr:0x000D--0x000D
out dcr:0x000C %l 0x0020
line.long 0x00 "CPR0_CLKUPD,Clocking Update Register"
bitfld.long 0x00 31. " CUD    ,Clocking Update Delay" "-,Enabled"
bitfld.long 0x00 30. "   CUI   ,Clocking Update Immediate" "-,Enabled"
group.long dcr:0x000D--0x000D
out dcr:0x000C %l 0x0040
line.long 0x00 "CPR0_PLLC0,PLL Control Register"
bitfld.long 0x00 31. " RST    ,Reset" "Lock,Reset"
bitfld.long 0x00 30. "     ENG   ,Engage" "SysClk,PLL's VCO"
hexmask.long.word 0x00 0.--9. 1. "  TUNE   ,TUNE bits"
textline "                       "
bitfld.long 0x00 29. " SRC    ,PLL Feedback Source" "PLLOUTA,PLLOUTB"
bitfld.long 0x00 24.--26. "   SEL   ,Feedback Selection" "PLL output (A or B),CPU,Reserved,Reserved,Reserved,PERClk,Reserved,Reserved"
group.long dcr:0x000D--0x000D
out dcr:0x000C %l 0x0060
line.long 0x00 "CPR0_PLLD0,PLL Divisor Register"
bitfld.long 0x00 24.--28. " FBDV   ,PLL Feedback Divisor" "32,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x00 16.--19. "        FWDVA ,PLL Forward Divisor A" "16,1,2,3,4,5,6,7,8,Reserved,10,Reserved,12,Reserved,14,Reserved"
bitfld.long 0x00 08.--10. "   FWDVB  ,PLL Forward Divisor B" "8,1,2,3,4,5,6,7"
bitfld.long 0x00 00.--05. "         LFBDV ,PLL Local Feedback Divisor" "64,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
group.long dcr:0x000D--0x000D
out dcr:0x000C %l 0x0080
line.long 0x00 "CPR0_PRIMAD0,Primary A Divisor Register"
bitfld.long 0x00 24.--26. " PRADV0 ,PLL Primary Divisor A" "8,1,2,3,4,5,6,7"
group.long dcr:0x000D--0x000D
out dcr:0x000C %l 0x00A0
line.long 0x00 "CPR0_PRIMBD0,Primary B Divisor Register"
bitfld.long 0x00 24.--26. " PRBDV0 ,PLL Primary Divisor B" "8,1,2,3,4,5,6,7"
group.long dcr:0x000D--0x000D
out dcr:0x000C %l 0x00C0
line.long 0x00 "CPR0_OPBD0,OPB Clock Divisor Register"
bitfld.long 0x00 24.--25. " OPBDV0 ,OPB Clock Divisor 0" "4,1,2,3"
SIF (CPU()=="PPC440EP"||CPU()=="PPC440GR"||CPU()=="PPC440EPX"||CPU()=="PPC440GRX")
group.long dcr:0x000D--0x000D
out dcr:0x000C %l 0x00E0
line.long 0x00 "CPR0_PERD0,Peripheral Clock Divisor Register"
bitfld.long 0x00 24.--26. " PERDV0 ,Peripheral Clock Divisor 0" "8,1,2,3,4,5,6,7"
ENDIF
SIF (CPU()=="PPC440SP")||(cpu()=="PPC440SPE")||(cpu()=="PPC440GX")
group.long dcr:0x000D--0x000D
out dcr:0x000C %l 0x00E0
line.long 0x00 "CPR0_PERD0,Peripheral Clock Divisor Register"
bitfld.long 0x00 24.--25. " PERDV0 ,Peripheral Clock Divisor 0" "4,1,2,3"
ENDIF
group.long dcr:0x000D--0x000D
out dcr:0x000C %l 0x0100
line.long 0x00 "CPR0_MALD,MAL Clock Divisor Register"
bitfld.long 0x00 24.--25. " MALDV0 ,MAL Clock Divisor 0" "4,1,2,3"
SIF (CPU()=="PPC440EP"||CPU()=="PPC440GR"||CPU()=="PPC440EPX"||CPU()=="PPC440GRX")
group.long dcr:0x000D--0x000D
out dcr:0x000C %l 0x0120
line.long 0x00 "CPR0_SPCID,Sync PCI Clock Divisor Register"
bitfld.long 0x00 24.--25. " SPCID0 ,PCI Clock Divisor 0" "4,1,2,3"
ENDIF
SIF (cpu()=="PPC440EP")||(cpu()=="PPC440EPX")||(cpu()=="PPC440SP")||(cpu()=="PPC440SPE")||(cpu()=="PPC440GR")||(cpu()=="PPC440GRX")
group.long dcr:0x000D--0x000D
out dcr:0x000C %l 0x0140
line.long 0x00 "CPR0_ICFG,Clock/Power Configuration Register"
bitfld.long 0x00 31. " RLI ,Reload Inhibit" "Reset,Preserved"
bitfld.long 0x00 2. "  ICS_UART0_DCD ,Initial value of the strap pin UART0_DCD" "Low,High"
bitfld.long 0x00 1. "  ICS_UART0_DSR ,Initial value of the strap pin UART0_DSR" "Low,High"
bitfld.long 0x00 0. "  ICS_UART0_CTS ,Initial value of the strap pin UART0_CTS" "Low,High"
ELIF (cpu()=="PPC440GX")
group.long dcr:0x000D--0x000D
out dcr:0x000C %l 0x0140
line.long 0x00 "CPR0_ICFG,Clock/Power Configuration Register"
bitfld.long 0x00 31. " RLI  ,Reload Inhibit" "Reset,Preserved"
bitfld.long 0x00 02. "  UDCD ,Initial value of the strap pin UART0_DCD" "Low,High"
bitfld.long 0x00 01. "  UDSR ,Initial value of the strap pin UART0_DSR" "Low,High"
bitfld.long 0x00 00. "  GTCL ,Initial value of the strap pin GMC1TxCtl" "Low,High"
ENDIF
width 0x0B
elif (cpu()=="PPC440GP")
;Clocking
width 11.
group dcr:0x0e0++0x3
line.long 0x00 "CPC0_SYS0,System Configuration Register 0"
hexmask.long.word 0x00 22.--31. 1. " TUNE ,System PLL TUNE bits"
bitfld.long 0x00 18.--21. "        FBDV   ,PLL Feedback Divisor" "16,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 15.--17. "          FWDVA  ,PLL Forward Divisor A" "8,7,6,5,4,3,2,1"
bitfld.long 0x00 12.--14. "             FWDVB ,PLL Forward Divisor B" "8,7,6,5,4,3,2,1"
textline "                    "
bitfld.long 0x00 10.--11. " OPDV ,PLB to OPB Clock Divisor Ratio" "1,2,3,4"
bitfld.long 0x00  8.--9.  "           EPDV   ,EBCO to OPB Clock Divisor Ratio" "1,2,3,4"
bitfld.long 0x00  7.      "           EXTSL  ,EBC0 clock (PerClk) Feedback Path Selection" "CPU clock,EBC0 clock"
bitfld.long 0x00  5.--6.  "    RW    ,ROM Width" "8-bit,16-bit,Reserved,32-bit"
textline "                    "
bitfld.long 0x00  4.      " RL   ,ROM Location" "EBCO,PCI"
bitfld.long 0x00  2.--3.  "        ZMIISL ,ZMII Selection" "MII,SMII,RMII 10Mb,RMII 100Mb"
bitfld.long 0x00  1.      "  BYPASS ,Bypass System PLL" "-,Bypassed"
bitfld.long 0x00  0.      "      NTO1  ,CPU:PLB N to 1 clock ratio" "N:(>1),N:1"
group dcr:0x0e1++0x3
line.long 0x00 "CPC0_SYS1,System Configuration register 1"
hexmask.long.word 0x00 22.--31. 1. " TUNE ,System PLL TUNE bits"
bitfld.long 0x00 21.      "        BYPASS ,Bypass PCI PLL" "-,Bypassed"
bitfld.long 0x00 20.      "    PAE    ,PCI arbiter enable" "-,Enabled"
bitfld.long 0x00 19.      "       PHCE  ,PCI host configuration enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 18.      " PISE ,PCI initial sequence enable" "-,Enabled"
bitfld.long 0x00 17.      "     PCWE   ,PCI local CPU wait enable" "-,Enabled"
bitfld.long 0x00 13.--16. "     PPIM   ,PCI Inbound Map (PIM0/PIM1/PIM2) Settings" "off/off/off,4k/off/off,1M/off/off,64M/off/off,4kp/off/off,1Mp/off/off,64Mp/off/off,64k/off/16k,1M/off/64k,64kp/off/16k,1Mp/off/64k,64k/off/64Kp,1M/off/1Mp,1Mp/off/1Mp,1M/on/off,1M/on/16k"
bitfld.long 0x00 12.      "  PR64E ,PCI initialize Req64 Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 10.--11. " PXFS ,PCIX Frequency Selection" "100-133MHz,66-100MHz,50-66MHz,Reserved"
bitfld.long 0x00  9.      "  PQXDE  ,Quick PCIX capable detect enable" "-,Enabled"
bitfld.long 0x00  6.      "     TUNEEN ,Custom PCI Tune Bit Enable" "-,Enabled"
endif
tree.end
tree "CPM (Clock and Power Management)"
sif (cpu()=="PPC440GX")
width 0x9
group dcr:0x0B0++0x1
line.long 0x0 "CPM0_ER,CPM Enable Register 0"
bitfld.long 0x00 31. " IIC0      ,Inter-Integrated Circuit 0 (Class 3)" "-,Asserted if CPM_SleepInit/Sleep_Req=1"
textline "                  "
bitfld.long 0x00 30. " IIC1      ,Inter-Integrated Circuit 1 (Class 3)" "-,Asserted if CPM_SleepInit/Sleep_Req=1"
textline "                  "
bitfld.long 0x00 29. " PCIX      ,Peripheral Component Interconnect (Class 1)" "-,Asserted"
bitfld.long 0x00 27. "                               TAH0      ,TCP/IP Accelerator on Hardware 0 (Class 1)" "-,Asserted"
textline "                  "
bitfld.long 0x00 26. " TAH1      ,TCP/IP Accelerator on Hardware 1 (Class 1)" "-,Asserted"
textline "                  "
bitfld.long 0x00 25. " CPU       ,PPC440GX Processor Core (Class 2)" "-,Asserted if Sleep_Req=1"
textline "                  "
bitfld.long 0x00 24. " DMA       ,Direct Memory Access Controller (Class 2)" "-,Asserted if Sleep_Req=1"
textline "                  "
bitfld.long 0x00 23. " BGO       ,PLB to OPB Bridge (Class 2)" "-,Asserted if Sleep_Req=1"
textline "                  "
bitfld.long 0x00 22. " BGI       ,OPB to PLB Bridge (Class 2)" "-,Asserted if Sleep_Req=1"
textline "                  "
bitfld.long 0x00 21. " EBC       ,External Bus Controller (Class 2)" "-,Asserted if Sleep_Req=1"
textline "                  "
bitfld.long 0x00 20. " EBM       ,External Bus Master Interface (Class 2)" "-,Asserted if Sleep_Req=1"
textline "                  "
bitfld.long 0x00 19. " DMC       ,DDR SDRAM Controller (Class 2)" "-,Asserted if Sleep_Req=1"
textline "                  "
bitfld.long 0x00 18. " PLB       ,PLB Arbiter (Class 2)" "-,Asserted if Sleep_Req=1"
textline "                  "
bitfld.long 0x00 17. " SRAM      ,Internal SRAM Controller (Class 2)" "-,Asserted if Sleep_Req=1"
textline "                  "
bitfld.long 0x00 16. " IMU       ,I2O Messaging Unit (Class 2)" "-,Asserted if Sleep_Req=1"
bitfld.long 0x00 13. "                PPM       ,PLB Performance Monitor (Class 1)" "-,Asserted"
textline "                  "
bitfld.long 0x00 12. " UICB/UIC2 ,Base Universal Interrupt Controller/Universal Interrupt Controller 2 (Class 1)" "-,Asserted"
bitfld.long 0x00 11. "                               GPIO      ,General Purpose IO (Class 1)" "-,Asserted"
textline "                  "
bitfld.long 0x00 10. " GPT       ,General Purpose Timer (Class 1)" "-,Asserted"
bitfld.long 0x00 9. "                               UART0     ,Universal Asynchronous Receiver/Transmitter 0 (Class 1)" "-,Asserted"
textline "                  "
bitfld.long 0x00 8. " UART1     ,Universal Asynchronous Receiver/Transmitter 1 (Class 1)" "-,Asserted"
bitfld.long 0x00 7. "                               UIC0/UIC1 ,Universal Interrupt Controller 0 and 1 (Class 1)" "-,Asserted"
textline "                  "
bitfld.long 0x00 6. " TMRCLK    ,CPU Timer (Class 1)" "-,Asserted"
bitfld.long 0x00 5. "                               EMC0      ,Ethernet 0 (Class 1)" "-,Asserted"
textline "                  "
bitfld.long 0x00 4. " EMC1      ,Ethernet 1 (Class 1)" "-,Asserted"
bitfld.long 0x00 3. "                               EMC2      ,Ethernet 2 (Class 1)" "-,Asserted"
textline "                  "
bitfld.long 0x00 2. " EMC3      ,Ethernet 3 (Class 1)" "-,Asserted"
line.long 0x4 "CPM0_FR,CPM Force Register 0"
bitfld.long 0x4 31. " IIC0      ,Inter-Integrated Circuit 0 (Class 3)" "-,Forced"
bitfld.long 0x4 30. "    IIC1      ,Inter-Integrated Circuit 1 (Class 3)" "-,Forced"
textline "                  "
bitfld.long 0x4 29. " PCIX      ,Peripheral Component Interconnect (Class 1)" "-,Forced"
bitfld.long 0x4 27. "    TAH0      ,TCP/IP Accelerator on Hardware 0 (Class 1)" "-,Forced"
textline "                  "
bitfld.long 0x4 26. " TAH1      ,TCP/IP Accelerator on Hardware 1 (Class 1)" "-,Forced"
bitfld.long 0x4 25. "    CPU       ,PPC440GX Processor Core (Class 2)" "-,Forced"
textline "                  "
bitfld.long 0x4 24. " DMA       ,Direct Memory Access Controller (Class 2)" "-,Forced"
bitfld.long 0x4 23. "    BGO       ,PLB to OPB Bridge (Class 2)" "-,Forced"
textline "                  "
bitfld.long 0x4 22. " BGI       ,OPB to PLB Bridge (Class 2)" "-,Forced"
bitfld.long 0x4 21. "    EBC       ,External Bus Controller (Class 2)" "-,Forced"
textline "                  "
bitfld.long 0x4 20. " EBM       ,External Bus Master Interface (Class 2)" "-,Forced"
bitfld.long 0x4 19. "    DMC       ,DDR SDRAM Controller (Class 2)" "-,Forced"
textline "                  "
bitfld.long 0x4 18. " PLB       ,PLB Arbiter (Class 2)" "-,Forced"
bitfld.long 0x4 17. "    SRAM      ,Internal SRAM Controller (Class 2)" "-,Forced"
textline "                  "
bitfld.long 0x4 16. " IMU       ,I2O Messaging Unit (Class 2)" "-,Forced"
bitfld.long 0x4 13. "    PPM       ,PLB Performance Monitor (Class 1)" "-,Forced"
textline "                  "
bitfld.long 0x4 12. " UICB/UIC2 ,Base Universal Interrupt Controller/Universal Interrupt Controller 2 (Class 1)" "-,Forced"
bitfld.long 0x4 11. "    GPIO      ,General Purpose IO (Class 1)" "-,Forced"
textline "                  "
bitfld.long 0x4 10. " GPT       ,General Purpose Timer (Class 1)" "-,Forced"
bitfld.long 0x4 9. "    UART0     ,Universal Asynchronous Receiver/Transmitter 0 (Class 1)" "-,Forced"
textline "                  "
bitfld.long 0x4 8. " UART1     ,Universal Asynchronous Receiver/Transmitter 1 (Class 1)" "-,Forced"
bitfld.long 0x4 7. "    UIC0/UIC1 ,Universal Interrupt Controller 0 and 1 (Class 1)" "-,Forced"
textline "                  "
bitfld.long 0x4 6. " TMRCLK    ,CPU Timer (Class 1)" "-,Forced"
bitfld.long 0x4 5. "    EMC0      ,Ethernet 0 (Class 1)" "-,Forced"
textline "                  "
bitfld.long 0x4 4. " EMC1      ,Ethernet 1 (Class 1)" "-,Forced"
bitfld.long 0x4 3. "    EMC2      ,Ethernet 2 (Class 1)" "-,Forced"
textline "                  "
bitfld.long 0x4 2. " EMC3      ,Ethernet 3 (Class 1)" "-,Forced"
rgroup dcr:0x0B2++0x0
line.long 0x0 "CPM0_SR,CPM Status Register 0"
bitfld.long 0x0 31. " IIC0      ,Inter-Integrated Circuit 0 (Class 3)" "-,Asserted"
bitfld.long 0x0 30. "  IIC1      ,Inter-Integrated Circuit 1 (Class 3)" "-,Asserted"
textline "                  "
bitfld.long 0x0 29. " PCIX      ,Peripheral Component Interconnect (Class 1)" "-,Asserted"
bitfld.long 0x0 27. "  TAH0      ,TCP/IP Accelerator on Hardware 0 (Class 1)" "-,Asserted"
textline "                  "
bitfld.long 0x0 26. " TAH1      ,TCP/IP Accelerator on Hardware 1 (Class 1)" "-,Asserted"
bitfld.long 0x0 25. "  CPU       ,PPC440GX Processor Core (Class 2)" "-,Asserted"
textline "                  "
bitfld.long 0x0 24. " DMA       ,Direct Memory Access Controller (Class 2)" "-,Asserted"
bitfld.long 0x0 23. "  BGO       ,PLB to OPB Bridge (Class 2)" "-,Asserted"
textline "                  "
bitfld.long 0x0 22. " BGI       ,OPB to PLB Bridge (Class 2)" "-,Asserted"
bitfld.long 0x0 21. "  EBC       ,External Bus Controller (Class 2)" "-,Asserted"
textline "                  "
bitfld.long 0x0 20. " EBM       ,External Bus Master Interface (Class 2)" "-,Asserted"
bitfld.long 0x0 19. "  DMC       ,DDR SDRAM Controller (Class 2)" "-,Asserted"
textline "                  "
bitfld.long 0x0 18. " PLB       ,PLB Arbiter (Class 2)" "-,Asserted"
bitfld.long 0x0 17. "  SRAM      ,Internal SRAM Controller (Class 2)" "-,Asserted"
textline "                  "
bitfld.long 0x0 16. " IMU       ,I2O Messaging Unit (Class 2)" "-,Asserted"
bitfld.long 0x0 13. "  PPM       ,PLB Performance Monitor (Class 1)" "-,Asserted"
textline "                  "
bitfld.long 0x0 12. " UICB/UIC2 ,Base Universal Interrupt Controller/Universal Interrupt Controller 2 (Class 1)" "-,Asserted"
bitfld.long 0x0 11. "  GPIO      ,General Purpose IO (Class 1)" "-,Asserted"
textline "                  "
bitfld.long 0x0 10. " GPT       ,General Purpose Timer (Class 1)" "-,Asserted"
bitfld.long 0x0 9. "  UART0     ,Universal Asynchronous Receiver/Transmitter 0 (Class 1)" "-,Asserted"
textline "                  "
bitfld.long 0x0 8. " UART1     ,Universal Asynchronous Receiver/Transmitter 1 (Class 1)" "-,Asserted"
bitfld.long 0x0 7. "  UIC0/UIC1 ,Universal Interrupt Controller 0 and 1 (Class 1)" "-,Asserted"
textline "                  "
bitfld.long 0x0 6. " TMRCLK    ,CPU Timer (Class 1)" "-,Asserted"
bitfld.long 0x0 5. "  EMC0      ,Ethernet 0 (Class 1)" "-,Asserted"
textline "                  "
bitfld.long 0x0 4. " EMC1      ,Ethernet 1 (Class 1)" "-,Asserted"
bitfld.long 0x0 3. "  EMC2      ,Ethernet 2 (Class 1)" "-,Asserted"
textline "                  "
bitfld.long 0x0 2. " EMC3      ,Ethernet 3 (Class 1)" "-,Asserted"
width 0xB
elif (cpu()=="PPC440SPE")
;Clock and Power Management
width 9.
group dcr:0x160++0x0
line.long 0x00 "CPM0_ER,CPM Enable Register"
bitfld.long 0x00 31. " IIC0   ,Inter-Integrated Circuit 0" "-,Enabled"
bitfld.long 0x00 30. "       IIC1 ,Inter-Integrated Circuit 1" "-,Enabled"
bitfld.long 0x00 29. "       PCIX0 ,Peripheral Component Interconnect 0" "-,Enabled"
bitfld.long 0x00 25. "       CPU   ,PPC440 Processor" "-,Enabled"
textline "                  "
bitfld.long 0x00 23. " BGO    ,PLB to OPB Bridge" "-,Enabled"
bitfld.long 0x00 21. "       EBC  ,External Bus Controller" "-,Enabled"
bitfld.long 0x00 18. "       PLB   ,PLB Arbiter" "-,Enabled"
bitfld.long 0x00 17. "       SRAM  ,Internal SRAM Controller" "-,Enabled"
textline "                  "
bitfld.long 0x00 15. " UIC0   ,Universal Interrupt Controller 0" "-,Enabled"
bitfld.long 0x00 14. "       UIC1 ,Universal Interrupt Controller 1" "-,Enabled"
bitfld.long 0x00 13. "       UIC2  ,Universal Interrupt Controller 2" "-,Enabled"
bitfld.long 0x00 12. "       UIC3  ,Universal Interrupt Controller 3" "-,Enabled"
textline "                  "
bitfld.long 0x00 11. " GPIO   ,General Purpose IO" "-,Enabled"
bitfld.long 0x00 10. "       GPT  ,General Purpose Timer" "-,Enabled"
bitfld.long 0x00 9. "       UART0 ,Universal Asynchronous Receiver/Transmitter 0" "-,Enabled"
bitfld.long 0x00 8. "       UART1 ,Universal Asynchronous Receiver/Transmitter 1" "-,Enabled"
textline "                  "
bitfld.long 0x00 6. " TMRCLK ,CPU Timer" "-,Enabled"
bitfld.long 0x00 5. "       EMC  ,Ethernet" "-,Enabled"
bitfld.long 0x00 4. "       UART2 ,Universal Asynchronous Receiver/Transmitter 2" "-,Enabled"
group dcr:0x161++0x0
line.long 0x00 "CPM0_FR,CPM Force Register"
bitfld.long 0x00 31. " IIC0   ,Inter-Integrated Circuit 0" "-,Forced"
bitfld.long 0x00 30. "        IIC1 ,Inter-Integrated Circuit 1" "-,Forced"
bitfld.long 0x00 29. "        PCIX0 ,Peripheral Component Interconnect 0" "-,Forced"
bitfld.long 0x00 25. "        CPU   ,PPC440 Processor" "-,Forced"
textline "                  "
bitfld.long 0x00 23. " BGO    ,PLB to OPB Bridge" "-,Forced"
bitfld.long 0x00 21. "        EBC  ,External Bus Controller" "-,Forced"
bitfld.long 0x00 18. "        PLB   ,PLB Arbiter" "-,Forced"
bitfld.long 0x00 17. "        SRAM  ,Internal SRAM Controller" "-,Forced"
textline "                  "
bitfld.long 0x00 15. " UIC0   ,Universal Interrupt Controller 0" "-,Forced"
bitfld.long 0x00 14. "        UIC1 ,Universal Interrupt Controller 1" "-,Forced"
bitfld.long 0x00 13. "        UIC2  ,Universal Interrupt Controller 2" "-,Forced"
bitfld.long 0x00 12. "        UIC3  ,Universal Interrupt Controller 3" "-,Forced"
textline "                  "
bitfld.long 0x00 11. " GPIO   ,General Purpose IO" "-,Forced"
bitfld.long 0x00 10. "        GPT  ,General Purpose Timer" "-,Forced"
bitfld.long 0x00 9. "        UART0 ,Universal Asynchronous Receiver/Transmitter 0" "-,Forced"
bitfld.long 0x00 8. "        UART1 ,Universal Asynchronous Receiver/Transmitter 1" "-,Forced"
textline "                  "
bitfld.long 0x00 6. " TMRCLK ,CPU Timer" "-,Forced"
bitfld.long 0x00 5. "        EMC  ,Ethernet" "-,Forced"
bitfld.long 0x00 4. "        UART2 ,Universal Asynchronous Receiver/Transmitter 2" "-,Forced"
rgroup dcr:0x162--0x162
line.long 0x00 "CPM0_SR,CPM Status Register"
bitfld.long 0x00 31. " IIC0   ,Inter-Integrated Circuit 0" "Not asserted,Asserted"
bitfld.long 0x00 30. "  IIC1 ,Inter-Integrated Circuit 1" "Not asserted,Asserted"
bitfld.long 0x00 29. "  PCIX0 ,Peripheral Component Interconnect 0" "Not asserted,Asserted"
bitfld.long 0x00 25. "  CPU   ,PPC440 Processor" "Not asserted,Asserted"
textline "                  "
bitfld.long 0x00 23. " BGO    ,PLB to OPB Bridge" "Not asserted,Asserted"
bitfld.long 0x00 21. "  EBC  ,External Bus Controller" "Not asserted,Asserted"
bitfld.long 0x00 18. "  PLB   ,PLB Arbiter" "Not asserted,Asserted"
bitfld.long 0x00 17. "  SRAM  ,Internal SRAM Controller" "Not asserted,Asserted"
textline "                  "
bitfld.long 0x00 15. " UIC0   ,Universal Interrupt Controller 0" "Not asserted,Asserted"
bitfld.long 0x00 14. "  UIC1 ,Universal Interrupt Controller 1" "Not asserted,Asserted"
bitfld.long 0x00 13. "  UIC2  ,Universal Interrupt Controller 2" "Not asserted,Asserted"
bitfld.long 0x00 12. "  UIC3  ,Universal Interrupt Controller 3" "Not asserted,Asserted"
textline "                  "
bitfld.long 0x00 11. " GPIO   ,General Purpose IO" "Not asserted,Asserted"
bitfld.long 0x00 10. "  GPT  ,General Purpose Timer" "Not asserted,Asserted"
bitfld.long 0x00 9. "  UART0 ,Universal Asynchronous Receiver/Transmitter 0" "Not asserted,Asserted"
bitfld.long 0x00 8. "  UART1 ,Universal Asynchronous Receiver/Transmitter 1" "Not asserted,Asserted"
textline "                  "
bitfld.long 0x00 6. " TMRCLK ,CPU Timer" "Not asserted,Asserted"
bitfld.long 0x00 5. "  EMC  ,Ethernet" "Not asserted,Asserted"
bitfld.long 0x00 4. "  UART2 ,Universal Asynchronous Receiver/Transmitter 2" "Not asserted,Asserted"
width 0x0B
elif (cpu()=="PPC440EP")
;Clock and Power Management
width 8.
group dcr:0x00B0++0xb2
textline "           CPM0_ER   CPM0_FR   CPM0_SR"
textline "         "
hexmask.long 0x00 00.--31. 1. "  ,CPM Enable Register"
hexmask.long 0x04 00.--31. 1. "  ,CPM Force Register"
hexmask.long 0x08 00.--31. 1. "  ,CPM Status Register"
textline "   IIC0   "
bitfld.long 0x00 31. " ,Inter-Integrated Circuit 0" "-,Enabled"
bitfld.long 0x04 31. "   ,Inter-Integrated Circuit 0" "-,Forced"
bitfld.long 0x08 31. "    ,Inter-Integrated Circuit 0" "-,Asserted"
textline "   IIC1   "
bitfld.long 0x00 30. " ,Inter-Integrated Circuit 1" "-,Enabled"
bitfld.long 0x04 30. "   ,Inter-Integrated Circuit 1" "-,Forced"
bitfld.long 0x08 30. "    ,Inter-Integrated Circuit 1" "-,Asserted"
textline "   PCI    "
bitfld.long 0x00 29. " ,Peripheral Component Interconnect" "-,Enabled"
bitfld.long 0x04 29. "   ,Peripheral Component Interconnect" "-,Forced"
bitfld.long 0x08 29. "    ,Peripheral Component Interconnect" "-,Asserted"
textline "   P42OPB "
bitfld.long 0x00 28. " ,PLB4 to OPB Bridge" "-,Enabled"
bitfld.long 0x04 28. "   ,PLB4 to OPB Bridge" "-,Forced"
bitfld.long 0x08 28. "    ,PLB4 to OPB Bridge" "-,Asserted"
textline "   UDMA   "
bitfld.long 0x00 27. " ,DMA2PLB4 dma for USB2.0 Device" "-,Enabled"
bitfld.long 0x04 27. "   ,DMA2PLB4 dma for USB2.0 Device" "-,Forced"
bitfld.long 0x08 27. "    ,DMA2PLB4 dma for USB2.0 Device" "-,Asserted"
textline "   FPU    "
bitfld.long 0x00 26. " ,PPC440 Floating Point Unit" "-,Enabled"
bitfld.long 0x04 26. "   ,PPC440 Floating Point Unit" "-,Forced"
bitfld.long 0x08 26. "    ,PPC440 Floating Point Unit" "-,Asserted"
textline "   CPU    "
bitfld.long 0x00 25. " ,PPC440 Processor Core" "-,Enabled"
bitfld.long 0x04 25. "   ,PPC440 Processor Core" "-,Forced"
bitfld.long 0x08 25. "    ,PPC440 Processor Core" "-,Asserted"
textline "   DMA    "
bitfld.long 0x00 24. " ,irect Memory Access Controller" "-,Enabled"
bitfld.long 0x04 24. "   ,irect Memory Access Controller" "-,Forced"
bitfld.long 0x08 24. "    ,irect Memory Access Controller" "-,Asserted"
textline "   P32OPB "
bitfld.long 0x00 23. " ,PLB3 to OPB Bridge" "-,Enabled"
bitfld.long 0x04 23. "   ,PLB3 to OPB Bridge" "-,Forced"
bitfld.long 0x08 23. "    ,PLB3 to OPB Bridge" "-,Asserted"
textline "   OPB2P3 "
bitfld.long 0x00 22. " ,OPB to PLB3 Bridge" "-,Enabled"
bitfld.long 0x04 22. "   ,OPB to PLB3 Bridge" "-,Forced"
bitfld.long 0x08 22. "    ,OPB to PLB3 Bridge" "-,Asserted"
textline "   EBC    "
bitfld.long 0x00 21. " ,External Bus Controller" "-,Enabled"
bitfld.long 0x04 21. "   ,External Bus Controller" "-,Forced"
bitfld.long 0x08 21. "    ,External Bus Controller" "-,Asserted"
textline "   DMC    "
bitfld.long 0x00 19. " ,DDR SDRAM Controller" "-,Enabled"
bitfld.long 0x04 19. "   ,DDR SDRAM Controller" "-,Forced"
bitfld.long 0x08 19. "    ,DDR SDRAM Controller" "-,Asserted"
textline "   PLB4   "
bitfld.long 0x00 18. " ,PLB4 Arbiter" "-,Enabled"
bitfld.long 0x04 18. "   ,PLB4 Arbiter" "-,Forced"
bitfld.long 0x08 18. "    ,PLB4 Arbiter" "-,Asserted"
textline "   PLB4x3 "
bitfld.long 0x00 17. " ,PLB4 to PLB3 Bridge Controller" "-,Enabled"
bitfld.long 0x04 17. "   ,PLB4 to PLB3 Bridge Controller" "-,Forced"
bitfld.long 0x08 17. "    ,PLB4 to PLB3 Bridge Controller" "-,Asserted"
textline "   PLB3x4 "
bitfld.long 0x00 16. " ,PLB3 to PLB4 Bridge Controller" "-,Enabled"
bitfld.long 0x04 16. "   ,PLB3 to PLB4 Bridge Controller" "-,Forced"
bitfld.long 0x08 16. "    ,PLB3 to PLB4 Bridge Controller" "-,Asserted"
textline "   PLB3   "
bitfld.long 0x00 15. " ,PLB3 Arbiter" "-,Enabled"
bitfld.long 0x04 15. "   ,PLB3 Arbiter" "-,Forced"
bitfld.long 0x08 15. "    ,PLB3 Arbiter" "-,Asserted"
textline "   NDFC   "
bitfld.long 0x00 14. " ,NAND Flash Controller" "-,Enabled"
bitfld.long 0x04 14. "   ,NAND Flash Controller" "-,Forced"
bitfld.long 0x08 14. "    ,NAND Flash Controller" "-,Asserted"
textline "   PPM    "
bitfld.long 0x00 13. " ,PLB Performance Monitor" "-,Enabled"
bitfld.long 0x04 13. "   ,PLB Performance Monitor" "-,Forced"
bitfld.long 0x08 13. "    ,PLB Performance Monitor" "-,Asserted"
textline "   UIC1   "
bitfld.long 0x00 12. " ,Universal Interrupt Controller 1" "-,Enabled"
bitfld.long 0x04 12. "   ,Universal Interrupt Controller 1" "-,Forced"
bitfld.long 0x08 12. "    ,Universal Interrupt Controller 1" "-,Asserted"
textline "   GPIO   "
bitfld.long 0x00 11. " ,General Purpose IO" "-,Enabled"
bitfld.long 0x04 11. "   ,General Purpose IO" "-,Forced"
bitfld.long 0x08 11. "    ,General Purpose IO" "-,Asserted"
textline "   GPT    "
bitfld.long 0x00 10. " ,General Purpose Timer" "-,Enabled"
bitfld.long 0x04 10. "   ,General Purpose Timer" "-,Forced"
bitfld.long 0x08 10. "    ,General Purpose Timer" "-,Asserted"
textline "   UART0  "
bitfld.long 0x00 09. " ,Universal Asynchronous Receiver/Transmitter 0" "-,Enabled"
bitfld.long 0x04 09. "   ,Universal Asynchronous Receiver/Transmitter 0" "-,Forced"
bitfld.long 0x08 09. "    ,Universal Asynchronous Receiver/Transmitter 0" "-,Asserted"
textline "   UART1  "
bitfld.long 0x00 08. " ,Universal Asynchronous Receiver/Transmitter 1" "-,Enabled"
bitfld.long 0x04 08. "   ,Universal Asynchronous Receiver/Transmitter 1" "-,Forced"
bitfld.long 0x08 08. "    ,Universal Asynchronous Receiver/Transmitter 1" "-,Asserted"
textline "   UIC0   "
bitfld.long 0x00 07. " ,Universal Interrupt Controller 0" "-,Enabled"
bitfld.long 0x04 07. "   ,Universal Interrupt Controller 0" "-,Forced"
bitfld.long 0x08 07. "    ,Universal Interrupt Controller 0" "-,Asserted"
textline "   TMRCLK "
bitfld.long 0x00 06. " ,CPU Timer" "-,Enabled"
bitfld.long 0x04 06. "   ,CPU Timer" "-,Forced"
bitfld.long 0x08 06. "    ,CPU Timer" "-,Asserted"
textline "   EMC0   "
bitfld.long 0x00 05. " ,Ethernet 0" "-,Enabled"
bitfld.long 0x04 05. "   ,Ethernet 0" "-,Forced"
bitfld.long 0x08 05. "    ,Ethernet 0" "-,Asserted"
textline "   UART2  "
bitfld.long 0x00 04. " ,Universal Asynchronous Receiver/Transmitter 2" "-,Enabled"
bitfld.long 0x04 04. "   ,Universal Asynchronous Receiver/Transmitter 2" "-,Forced"
bitfld.long 0x08 04. "    ,Universal Asynchronous Receiver/Transmitter 2" "-,Asserted"
textline "   UART3  "
bitfld.long 0x00 03. " ,Universal Asynchronous Receiver/Transmitter 3" "-,Enabled"
bitfld.long 0x04 03. "   ,Universal Asynchronous Receiver/Transmitter 3" "-,Forced"
bitfld.long 0x08 03. "    ,Universal Asynchronous Receiver/Transmitter 3" "-,Asserted"
textline "   EMC1   "
bitfld.long 0x00 02. " ,Ethernet 1" "-,Enabled"
bitfld.long 0x04 02. "   ,Ethernet 1" "-,Forced"
bitfld.long 0x08 02. "    ,Ethernet 1" "-,Asserted"
width 0x0B
elif (cpu()=="PPC440EPX")
width 9.
group dcr:0x0B0++0x0
line.long 0x00 "CPM0_ER,CPM Enable Register"
bitfld.long 0x00 31. " IIC0    ,Inter-Integrated Circuit 0" "Class 3 off,Class3 on"
bitfld.long 0x00 30. "  IIC1   ,Inter-Integrated Circuit 1" "Class 3 off,Class 3 on"
bitfld.long 0x00 29. "  PCI    ,Peripheral Component Interconnect" "Class 1 off,Class 1 on"
textline "                  "
bitfld.long 0x00 28. " P42OPB0 ,PLB4 to OPB Bridge 0 (USB 2.0 Device)" "Class 2 off,Class 2 on"
bitfld.long 0x00 27. "  UDMA   ,DMA2PLB4 DMA for USB2.0 Device" "Class 2 off,Class 2 on"
bitfld.long 0x00 26. "  FPU    ,PPC440 Floating Point Unit" "Class 1 off,Class 1 on"
textline "                  "
bitfld.long 0x00 25. " CPU     ,440EPx Processor Core" "Class 2 off,Class 2 on"
bitfld.long 0x00 24. "  DMA    ,Direct Memory Access Controller" "Class 2 off,Class 2 on"
bitfld.long 0x00 23. "  P32OPB ,PLB3 to OPB Bridge" "Class 2 off,Class 2 on"
textline "                  "
bitfld.long 0x00 21. " EBC     ,External Bus Controller" "Class 2 off,Class 2 on"
bitfld.long 0x00 20. "  RGMII  ,Reduced Gigabit MII Bridge" "Class 1 off,Class 1 on"
bitfld.long 0x00 18. "  PLB4   ,PLB4 Arbiter" "Class 2 off,Class 2 on"
textline "                  "
bitfld.long 0x00 17. " PLB4X3  ,PLB4 to PLB3 Bridge Controller" "Class 2 off,Class 2 on"
bitfld.long 0x00 16. "  PLB3X4 ,PLB3 to PLB4 Bridge Controller" "Class 2 off,Class 2 on"
bitfld.long 0x00 15. "  PLB3   ,PLB3 Arbiter" "Class 2 off,Class 2 on"
textline "                  "
bitfld.long 0x00 14. " NDFC    ,NAND Flash Controller" "Class 2 off,Class 2 on"
bitfld.long 0x00 12. "  UIC1   ,Universal Interrupt Controller 1" "Class 1 off,Class 1 on"
bitfld.long 0x00 11. "  GPIO   ,General Purpose IO" "Class 1 off,Class 1 on"
textline "                  "
bitfld.long 0x00 10. " GPT     ,General Purpose Timer" "Class 1 off,Class 1 on"
bitfld.long 0x00 9. "  UART0  ,Universal Asynchronous Receiver/Transmitter 0" "Class 1 off,Class 1 on"
bitfld.long 0x00 8. "  UART1  ,Universal Asynchronous Receiver/Transmitter 1" "Class 1 off,Class 1 on"
textline "                  "
bitfld.long 0x00 7. " UIC0    ,Universal Interrupt Controller 0" "Class 1 off,Class 1 on"
bitfld.long 0x00 6. "  TMRCLK ,CPU Timer" "Class 1 off,Class 1 on"
bitfld.long 0x00 5. "  EMC0   ,Ethernet 0" "Class 1 off,Class 1 on"
textline "                  "
bitfld.long 0x00 4. " UART2   ,Universal Asynchronous Receiver/Transmitter 2" "Class 1 off,Class 1 on"
bitfld.long 0x00 3. "  UART3  ,Universal Asynchronous Receiver/Transmitter 3" "Class 1 off,Class 1 on"
bitfld.long 0x00 2. "  EMC1   ,Ethernet 1" "Class 1 off,Class 1 on"
textline "                  "
bitfld.long 0x00 1. " P42OPB1 ,PLB4 to OPB 1 Bridge (USB 2.0 Host)" "Class 2 off,Class 2 on"
bitfld.long 0x00 0. "  OPB2P4 ,OPB to PLB4 Bridge (USB 2.0 Host)" "Class 2 off,Class 2 on"
group dcr:0x0B1++0x0
line.long 0x0 "CPM0_FR,CPM Force Register"
bitfld.long 0x00 31. " IIC0    ,Inter-Integrated Circuit 0" "-,Forced"
bitfld.long 0x00 30. "       IIC1   ,Inter-Integrated Circuit 1" "-,Forced"
bitfld.long 0x00 29. "       PCI    ,Peripheral Component Interconnect" "-,Forced"
textline "                  "
bitfld.long 0x00 28. " P42OPB0 ,PLB4 to OPB Bridge 0 (USB 2.0 Device)" "-,Forced"
bitfld.long 0x00 27. "       UDMA   ,DMA2PLB4 DMA for USB2.0 Device" "-,Forced"
bitfld.long 0x00 26. "       FPU    ,PPC440 Floating Point Unit" "-,Forced"
textline "                  "
bitfld.long 0x00 25. " CPU     ,440EPx Processor Core" "-,Forced"
bitfld.long 0x00 24. "       DMA    ,Direct Memory Access Controller" "-,Forced"
bitfld.long 0x00 23. "       P32OPB ,PLB3 to OPB Bridge" "-,Forced"
textline "                  "
bitfld.long 0x00 21. " EBC     ,External Bus Controller" "-,Forced"
bitfld.long 0x00 20. "       RGMII  ,Reduced Gigabit MII Bridge" "-,Forced"
bitfld.long 0x00 18. "       PLB4   ,PLB4 Arbiter" "-,Forced"
textline "                  "
bitfld.long 0x00 17. " PLB4X3  ,PLB4 to PLB3 Bridge Controller" "-,Forced"
bitfld.long 0x00 16. "       PLB3X4 ,PLB3 to PLB4 Bridge Controller" "-,Forced"
bitfld.long 0x00 15. "       PLB3   ,PLB3 Arbiter" "-,Forced"
textline "                  "
bitfld.long 0x00 14. " NDFC    ,NAND Flash Controller" "-,Forced"
bitfld.long 0x00 12. "       UIC1   ,Universal Interrupt Controller 1" "-,Forced"
bitfld.long 0x00 11. "       GPIO   ,General Purpose IO" "-,Forced"
textline "                  "
bitfld.long 0x00 10. " GPT     ,General Purpose Timer" "-,Forced"
bitfld.long 0x00 9. "       UART0  ,Universal Asynchronous Receiver/Transmitter 0" "-,Forced"
bitfld.long 0x00 8. "       UART1  ,Universal Asynchronous Receiver/Transmitter 1" "-,Forced"
textline "                  "
bitfld.long 0x00 7. " UIC0    ,Universal Interrupt Controller 0" "-,Forced"
bitfld.long 0x00 6. "       TMRCLK ,CPU Timer" "-,Forced"
bitfld.long 0x00 5. "       EMC0   ,Ethernet 0" "-,Forced"
textline "                  "
bitfld.long 0x00 4. " UART2   ,Universal Asynchronous Receiver/Transmitter 2" "-,Forced"
bitfld.long 0x00 3. "       UART3  ,Universal Asynchronous Receiver/Transmitter 3" "-,Forced"
bitfld.long 0x00 2. "       EMC1   ,Ethernet 1" "-,Forced"
textline "                  "
bitfld.long 0x00 1. " P42OPB1 ,PLB4 to OPB 1 Bridge (USB 2.0 Host)" "-,Forced"
bitfld.long 0x00 0. "       OPB2P4 ,OPB to PLB4 Bridge (USB 2.0 Host)" "-,Forced"
rgroup dcr:0x0B2++0x0
line.long 0x0 "CPM0_SR,CPM Status Register"
bitfld.long 0x00 31. " IIC0    ,Inter-Integrated Circuit 0" "Class 3 off,Class3 on"
bitfld.long 0x00 30. "  IIC1   ,Inter-Integrated Circuit 1" "Class 3 off,Class 3 on"
bitfld.long 0x00 29. "  PCI    ,Peripheral Component Interconnect" "Class 1 off,Class 1 on"
textline "                  "
bitfld.long 0x00 28. " P42OPB0 ,PLB4 to OPB Bridge 0 (USB 2.0 Device)" "Class 2 off,Class 2 on"
bitfld.long 0x00 27. "  UDMA   ,DMA2PLB4 DMA for USB2.0 Device" "Class 2 off,Class 2 on"
bitfld.long 0x00 26. "  FPU    ,PPC440 Floating Point Unit" "Class 1 off,Class 1 on"
textline "                  "
bitfld.long 0x00 25. " CPU     ,440EPx Processor Core" "Class 2 off,Class 2 on"
bitfld.long 0x00 24. "  DMA    ,Direct Memory Access Controller" "Class 2 off,Class 2 on"
bitfld.long 0x00 23. "  P32OPB ,PLB3 to OPB Bridge" "Class 2 off,Class 2 on"
textline "                  "
bitfld.long 0x00 21. " EBC     ,External Bus Controller" "Class 2 off,Class 2 on"
bitfld.long 0x00 20. "  RGMII  ,Reduced Gigabit MII Bridge" "Class 1 off,Class 1 on"
bitfld.long 0x00 18. "  PLB4   ,PLB4 Arbiter" "Class 2 off,Class 2 on"
textline "                  "
bitfld.long 0x00 17. " PLB4X3  ,PLB4 to PLB3 Bridge Controller" "Class 2 off,Class 2 on"
bitfld.long 0x00 16. "  PLB3X4 ,PLB3 to PLB4 Bridge Controller" "Class 2 off,Class 2 on"
bitfld.long 0x00 15. "  PLB3   ,PLB3 Arbiter" "Class 2 off,Class 2 on"
textline "                  "
bitfld.long 0x00 14. " NDFC    ,NAND Flash Controller" "Class 2 off,Class 2 on"
bitfld.long 0x00 12. "  UIC1   ,Universal Interrupt Controller 1" "Class 1 off,Class 1 on"
bitfld.long 0x00 11. "  GPIO   ,General Purpose IO" "Class 1 off,Class 1 on"
textline "                  "
bitfld.long 0x00 10. " GPT     ,General Purpose Timer" "Class 1 off,Class 1 on"
bitfld.long 0x00 9. "  UART0  ,Universal Asynchronous Receiver/Transmitter 0" "Class 1 off,Class 1 on"
bitfld.long 0x00 8. "  UART1  ,Universal Asynchronous Receiver/Transmitter 1" "Class 1 off,Class 1 on"
textline "                  "
bitfld.long 0x00 7. " UIC0    ,Universal Interrupt Controller 0" "Class 1 off,Class 1 on"
bitfld.long 0x00 6. "  TMRCLK ,CPU Timer" "Class 1 off,Class 1 on"
bitfld.long 0x00 5. "  EMC0   ,Ethernet 0" "Class 1 off,Class 1 on"
textline "                  "
bitfld.long 0x00 4. " UART2   ,Universal Asynchronous Receiver/Transmitter 2" "Class 1 off,Class 1 on"
bitfld.long 0x00 3. "  UART3  ,Universal Asynchronous Receiver/Transmitter 3" "Class 1 off,Class 1 on"
bitfld.long 0x00 2. "  EMC1   ,Ethernet 1" "Class 1 off,Class 1 on"
textline "                  "
bitfld.long 0x00 1. " P42OPB1 ,PLB4 to OPB 1 Bridge (USB 2.0 Host)" "Class 2 off,Class 2 on"
bitfld.long 0x00 0. "  OPB2P4 ,OPB to PLB4 Bridge (USB 2.0 Host)" "Class 2 off,Class 2 on"
group dcr:0x00f0++0x00
line.long 0x00 "CPM1_ER,CPM1 Enable Register"
bitfld.long 0x00 31. " UIC2    ,Universal Interrupt Controller 2" "Class 1 off,Class 1 on"
bitfld.long 0x00 30. "  SRAM0  ,Internal SRAM Controller 0" "Class 2 off,Classs 2 on"
bitfld.long 0x00 29. "  MAL0   ,Memory Access Layer" "Class 1 off,Class 1 on"
textline "                  "
bitfld.long 0x00 28. " USB2D0  ,USB 2.0 Device" "Class 1 off,Class 1 on"
bitfld.long 0x00 27. "  USB2H0 ,USB 2.0 Host" "Class 1 off,Class 1 on"
bitfld.long 0x00 26. "  CRYP0  ,Security Engine" "Class 1 off,Class 1 on"
textline "                  "
bitfld.long 0x00 25. " KASU0   ,Kasumi Engine" "Class 1 off,Class 1 on"
group dcr:0x00f1++0x00
line.long 0x00 "CPM1_FR,CPM1 Force Register"
bitfld.long 0x00 31. " UIC2    ,Universal Interrupt Controller 2" "-,Forced"
bitfld.long 0x00 30. "       SRAM0  ,Internal SRAM Controller 0" "-,Forced"
bitfld.long 0x00 29. "       MAL0   ,Memory Access Layer" "-,Forced"
textline "                  "
bitfld.long 0x00 28. " USB2D0  ,USB 2.0 Device" "-,Forced"
bitfld.long 0x00 27. "       USB2H0 ,USB 2.0 Host" "-,Forced"
bitfld.long 0x00 26. "       CRYP0  ,Security Engine" "-,Forced"
textline "                  "
bitfld.long 0x00 25. " KASU0   ,Kasumi Engine" "-,Forced"
rgroup dcr:0x00f2++0x00
line.long 0x00 "CPM1_SR,CPM Status Register"
bitfld.long 0x00 31. " UIC2    ,Universal Interrupt Controller 2" "Class 1 off,Class 1 on"
bitfld.long 0x00 30. "  SRAM0  ,Internal SRAM Controller 0" "Class 2 off,Classs 2 on"
bitfld.long 0x00 29. "  MAL0   ,Memory Access Layer" "Class 1 off,Class 1 on"
textline "                  "
bitfld.long 0x00 28. " USB2D0  ,USB 2.0 Device" "Class 1 off,Class 1 on"
bitfld.long 0x00 27. "  USB2H0 ,USB 2.0 Host" "Class 1 off,Class 1 on"
bitfld.long 0x00 26. "  CRYP0  ,Security Engine" "Class 1 off,Class 1 on"
textline "                  "
bitfld.long 0x00 25. " KASU0   ,Kasumi Engine" "Class 1 off,Class 1 on"

elif (cpu()=="PPC440SP")
;Clock and Power Management
width 8.
group dcr:0x00E0++0x0
line.long 0x00 "CPM0_ER,CPM Enable Register"
bitfld.long 0x00 31. " IIC0   ,Inter-Integrated Circuit 0" "-,Enabled"
bitfld.long 0x00 30. "       IIC1  ,Inter-Integrated Circuit 1" "-,Enabled"
bitfld.long 0x00 29. "       PCIX0 ,Peripheral Component Interconnect 0" "-,Enabled"
bitfld.long 0x00 28. "       PCIX1 ,Peripheral Component Interconnect 1" "-,Enabled"
textline "                 "
bitfld.long 0x00 27. " PCIX2  ,Peripheral Component Interconnect 2" "-,Enabled"
bitfld.long 0x00 25. "       CPU   ,PPC440EP Processor Core" "-,Enabled"
bitfld.long 0x00 23. "       BGO   ,PLB to OPB Bridge" "-,Enabled"
bitfld.long 0x00 21. "       EBC   ,External Bus Controller" "-,Enabled"
textline "                 "
bitfld.long 0x00 18. " PLB    ,PLB Arbiter" "-,Enabled"
bitfld.long 0x00 17. "       SRAM  ,Internal SRAM Controller" "-,Enabled"
bitfld.long 0x00 12. "       UIC1  ,Universal Interrupt Controller 1" "-,Enabled"
bitfld.long 0x00 11. "       GPIO  ,General Purpose IO" "-,Enabled"
textline "                 "
bitfld.long 0x00 10. " GPT    ,General Purpose Timer" "-,Enabled"
bitfld.long 0x00 9. "       UART0 ,Universal Asynchronous Receiver/Transmitter 0" "-,Enabled"
bitfld.long 0x00 8. "       UART1 ,Universal Asynchronous Receiver/Transmitter 1" "-,Enabled"
bitfld.long 0x00 7. "       UIC0  ,Universal Interrupt Controller 0" "-,Enabled"
textline "                 "
bitfld.long 0x00 6. " TMRCLK ,CPU Timer" "-,Enabled"
bitfld.long 0x00 5. "       EMC   ,Ethernet" "-,Enabled"
bitfld.long 0x00 4. "       UART2 ,Universal Asynchronous Receiver/Transmitter 2" "-,Enabled"
group dcr:0x00E1++0x0
line.long 0x00 "CPM0_FR,CPM Force Register"
bitfld.long 0x00 31. " IIC0   ,Inter-Integrated Circuit 0" "-,Forced"
bitfld.long 0x00 30. "        IIC1  ,Inter-Integrated Circuit 1" "-,Forced"
bitfld.long 0x00 29. "        PCIX0 ,Peripheral Component Interconnect 0" "-,Forced"
bitfld.long 0x00 28. "        PCIX1 ,Peripheral Component Interconnect 1" "-,Forced"
textline "                 "
bitfld.long 0x00 27. " PCIX2  ,Peripheral Component Interconnect 2" "-,Forced"
bitfld.long 0x00 25. "        CPU   ,PPC440EP Processor Core" "-,Forced"
bitfld.long 0x00 23. "        BGO   ,PLB to OPB Bridge" "-,Forced"
bitfld.long 0x00 21. "        EBC   ,External Bus Controller" "-,Forced"
textline "                 "
bitfld.long 0x00 18. " PLB    ,PLB Arbiter" "-,Forced"
bitfld.long 0x00 17. "        SRAM  ,Internal SRAM Controller" "-,Forced"
bitfld.long 0x00 12. "        UIC1  ,Universal Interrupt Controller 1" "-,Forced"
bitfld.long 0x00 11. "        GPIO  ,General Purpose IO" "-,Forced"
textline "                 "
bitfld.long 0x00 10. " GPT    ,General Purpose Timer" "-,Forced"
bitfld.long 0x00 9. "        UART0 ,Universal Asynchronous Receiver/Transmitter 0" "-,Forced"
bitfld.long 0x00 8. "        UART1 ,Universal Asynchronous Receiver/Transmitter 1" "-,Forced"
bitfld.long 0x00 7. "        UIC0  ,Universal Interrupt Controller 0" "-,Forced"
textline "                 "
bitfld.long 0x00 6. " TMRCLK ,CPU Timer" "-,Forced"
bitfld.long 0x00 5. "        EMC   ,Ethernet" "-,Forced"
bitfld.long 0x00 4. "        UART2 ,Universal Asynchronous Receiver/Transmitter 2" "-,Forced"
rgroup dcr:0x00E2--0x00E2
line.long 0x00 "CPM0_SR,CPM Status Register"
bitfld.long 0x00 31. " IIC0   ,Inter-Integrated Circuit 0" "Not asserted,Asserted"
bitfld.long 0x00 30. "  IIC1  ,Inter-Integrated Circuit 1" "Not asserted,Asserted"
bitfld.long 0x00 29. "  PCIX0 ,Peripheral Component Interconnect 0" "Not asserted,Asserted"
bitfld.long 0x00 28. "  PCIX1 ,Peripheral Component Interconnect 1" "Not asserted,Asserted"
textline "                 "
bitfld.long 0x00 27. " PCIX2  ,Peripheral Component Interconnect 2" "Not asserted,Asserted"
bitfld.long 0x00 25. "  CPU   ,PPC440EP Processor Core" "Not asserted,Asserted"
bitfld.long 0x00 23. "  BGO   ,PLB to OPB Bridge" "Not asserted,Asserted"
bitfld.long 0x00 21. "  EBC   ,External Bus Controller" "Not asserted,Asserted"
textline "                 "
bitfld.long 0x00 18. " PLB    ,PLB Arbiter" "Not asserted,Asserted"
bitfld.long 0x00 17. "  SRAM  ,Internal SRAM Controller" "Not asserted,Asserted"
bitfld.long 0x00 12. "  UIC1  ,Universal Interrupt Controller 1" "Not asserted,Asserted"
bitfld.long 0x00 11. "  GPIO  ,General Purpose IO" "Not asserted,Asserted"
textline "                 "
bitfld.long 0x00 10. " GPT    ,General Purpose Timer" "Not asserted,Asserted"
bitfld.long 0x00 9. "  UART0 ,Universal Asynchronous Receiver/Transmitter 0" "Not asserted,Asserted"
bitfld.long 0x00 8. "  UART1 ,Universal Asynchronous Receiver/Transmitter 1" "Not asserted,Asserted"
bitfld.long 0x00 7. "  UIC0  ,Universal Interrupt Controller 0" "Not asserted,Asserted"
textline "                 "
bitfld.long 0x00 6. " TMRCLK ,CPU Timer" "Not asserted,Asserted"
bitfld.long 0x00 5. "  EMC   ,Ethernet" "Not asserted,Asserted"
bitfld.long 0x00 4. "  UART2 ,Universal Asynchronous Receiver/Transmitter 2" "Not asserted,Asserted"
width 0x0B
elif (cpu()=="PPC440GR")
;Clock and Power Management
width 8.
group dcr:0x00B0++0x0
line.long 0x00 "CPM0_ER,CPM Enable Register"
bitfld.long 0x00 31. " IIC0   ,Inter-Integrated Circuit 0" "-,Enabled"
bitfld.long 0x00 30. "  IIC1   ,Inter-Integrated Circuit 1" "-,Enabled"
bitfld.long 0x00 29. "  PCI    ,Peripheral Component Interconnect" "-,Enabled"
textline "                 "
bitfld.long 0x00 27. " UDMA   ,DMA2PLB4 DMA for USB2.0 Device" "-,Enabled"
bitfld.long 0x00 25. "  CPU    ,PPC440EP Processor Core" "-,Enabled"
bitfld.long 0x00 24. "  DMA    ,Direct Memory Access Controller" "-,Enabled"
textline "                 "
bitfld.long 0x00 23. " P32OPB ,PLB3 to OPB Bridge" "-,Enabled"
bitfld.long 0x00 22. "  OPB2P3 ,OPB to PLB3 Bridge" "-,Enabled"
bitfld.long 0x00 21. "  EBC    ,External Bus Controller" "-,Enabled"
textline "                 "
bitfld.long 0x00 19. " DMC    ,DDR SDRAM Controller" "-,Enabled"
bitfld.long 0x00 18. "  PLB4   ,PLB4 Arbiter" "-,Enabled"
bitfld.long 0x00 17. "  PLB4x3 ,PLB4 to PLB3 Bridge Controller" "-,Enabled"
textline "                 "
bitfld.long 0x00 16. " PLB3x4 ,PLB3 to PLB4 Bridge Controller" "-,Enabled"
bitfld.long 0x00 15. "  PLB3   ,PLB3 Arbiter" "-,Enabled"
bitfld.long 0x00 14. "  NDFC   ,NAND Flash Controller" "-,Enabled"
textline "                 "
bitfld.long 0x00 13. " PPM    ,PLB Performance Monitor" "-,Enabled"
bitfld.long 0x00 12. "  UIC1   ,Universal Interrupt Controller 1" "-,Enabled"
bitfld.long 0x00 11. "  GPIO   ,General Purpose IO" "-,Enabled"
textline "                 "
bitfld.long 0x00 10. " GPT    ,General Purpose Timer" "-,Enabled"
bitfld.long 0x00 9. "  UART0  ,Universal Asynchronous Receiver/Transmitter 0" "-,Enabled"
bitfld.long 0x00 8. "  UART1  ,Universal Asynchronous Receiver/Transmitter 1" "-,Enabled"
textline "                 "
bitfld.long 0x00 7. " UIC0   ,Universal Interrupt Controller 0" "-,Enabled"
bitfld.long 0x00 6. "  TMRCLK ,CPU Timer" "-,Enabled"
bitfld.long 0x00 5. "  EMC0   ,Ethernet 0" "-,Enabled"
textline "                 "
bitfld.long 0x00 4. " UART2  ,Universal Asynchronous Receiver/Transmitter 2" "-,Enabled"
bitfld.long 0x00 3. "  UART3  ,Universal Asynchronous Receiver/Transmitter 3" "-,Enabled"
bitfld.long 0x00 2. "  EMC1   ,Ethernet 1" "-,Enabled"
group dcr:0x00B1++0x0
line.long 0x00 "CPM0_FR,CPM Force Register"
bitfld.long 0x00 31. " IIC0   ,Inter-Integrated Circuit 0" "-,Forced"
bitfld.long 0x00 30. "   IIC1   ,Inter-Integrated Circuit 1" "-,Forced"
bitfld.long 0x00 29. "   PCI    ,Peripheral Component Interconnect" "-,Forced"
textline "                 "
bitfld.long 0x00 27. " UDMA   ,DMA2PLB4 DMA" "-,Forced"
bitfld.long 0x00 25. "   CPU    ,PPC440EP Processor Core" "-,Forced"
bitfld.long 0x00 24. "   DMA    ,Direct Memory Access Controller" "-,Forced"
textline "                 "
bitfld.long 0x00 23. " P32OPB ,PLB3 to OPB Bridge" "-,Forced"
bitfld.long 0x00 22. "   OPB2P3 ,OPB to PLB3 Bridge" "-,Forced"
bitfld.long 0x00 21. "   EBC    ,External Bus Controller" "-,Forced"
textline "                 "
bitfld.long 0x00 19. " DMC    ,DDR SDRAM Controller" "-,Forced"
bitfld.long 0x00 18. "   PLB4   ,PLB4 Arbiter" "-,Forced"
bitfld.long 0x00 17. "   PLB4x3 ,PLB4 to PLB3 Bridge Controller" "-,Forced"
textline "                 "
bitfld.long 0x00 16. " PLB3x4 ,PLB3 to PLB4 Bridge Controller" "-,Forced"
bitfld.long 0x00 15. "   PLB3   ,PLB3 Arbiter" "-,Forced"
bitfld.long 0x00 14. "   NDFC   ,NAND Flash Controller" "-,Forced"
textline "                 "
bitfld.long 0x00 13. " PPM    ,PLB Performance Monitor" "-,Forced"
bitfld.long 0x00 12. "   UIC1   ,Universal Interrupt Controller 1" "-,Forced"
bitfld.long 0x00 11. "   GPIO   ,General Purpose IO" "-,Forced"
textline "                 "
bitfld.long 0x00 10. " GPT    ,General Purpose Timer" "-,Forced"
bitfld.long 0x00 9. "   UART0  ,Universal Asynchronous Receiver/Transmitter 0" "-,Forced"
bitfld.long 0x00 8. "   UART1  ,Universal Asynchronous Receiver/Transmitter 1" "-,Forced"
textline "                 "
bitfld.long 0x00 7. " UIC0   ,Universal Interrupt Controller 0" "-,Forced"
bitfld.long 0x00 6. "   TMRCLK ,CPU Timer" "-,Forced"
bitfld.long 0x00 5. "   EMC0   ,Ethernet 0" "-,Forced"
textline "                 "
bitfld.long 0x00 4. " UART2  ,Universal Asynchronous Receiver/Transmitter 2" "-,Forced"
bitfld.long 0x00 3. "   UART3  ,Universal Asynchronous Receiver/Transmitter 3" "-,Forced"
bitfld.long 0x00 2. "   EMC1   ,Ethernet 1" "-,Forced"
rgroup dcr:0x00B2--0x00B2
line.long 0x00 "CPM0_SR,CPM Status Register"
bitfld.long 0x00 31. " IIC0   ,Inter-Integrated Circuit 0" "-,Asserted"
bitfld.long 0x00 30. " IIC1   ,Inter-Integrated Circuit 1" "-,Asserted"
bitfld.long 0x00 29. " PCI    ,Peripheral Component Interconnect" "-,Asserted"
textline "                 "
bitfld.long 0x00 27. " UDMA   ,DMA2PLB4 DMA" "-,Asserted"
bitfld.long 0x00 25. " CPU    ,PPC440EP Processor Core" "-,Asserted"
bitfld.long 0x00 24. " DMA    ,Direct Memory Access Controller" "-,Asserted"
textline "                 "
bitfld.long 0x00 23. " P32OPB ,PLB3 to OPB Bridge" "-,Asserted"
bitfld.long 0x00 22. " OPB2P3 ,OPB to PLB3 Bridge" "-,Asserted"
bitfld.long 0x00 21. " EBC    ,External Bus Controller" "-,Asserted"
textline "                 "
bitfld.long 0x00 19. " DMC    ,DDR SDRAM Controller" "-,Asserted"
bitfld.long 0x00 18. " PLB4   ,PLB4 Arbiter" "-,Asserted"
bitfld.long 0x00 17. " PLB4x3 ,PLB4 to PLB3 Bridge Controller" "-,Asserted"
textline "                 "
bitfld.long 0x00 16. " PLB3x4 ,PLB3 to PLB4 Bridge Controller" "-,Asserted"
bitfld.long 0x00 15. " PLB3   ,PLB3 Arbiter" "-,Asserted"
bitfld.long 0x00 14. " NDFC   ,NAND Flash Controller" "-,Asserted"
textline "                 "
bitfld.long 0x00 13. " PPM    ,PLB Performance Monitor" "-,Asserted"
bitfld.long 0x00 12. " UIC1   ,Universal Interrupt Controller 1" "-,Asserted"
bitfld.long 0x00 11. " GPIO   ,General Purpose IO" "-,Asserted"
textline "                 "
bitfld.long 0x00 10. " GPT    ,General Purpose Timer" "-,Asserted"
bitfld.long 0x00 9. " UART0  ,Universal Asynchronous Receiver/Transmitter 0" "-,Asserted"
bitfld.long 0x00 8. " UART1  ,Universal Asynchronous Receiver/Transmitter 1" "-,Asserted"
textline "                 "
bitfld.long 0x00 7. " UIC0   ,Universal Interrupt Controller 0" "-,Asserted"
bitfld.long 0x00 6. " TMRCLK ,CPU Timer" "-,Asserted"
bitfld.long 0x00 5. " EMC0   ,Ethernet 0" "-,Asserted"
textline "                 "
bitfld.long 0x00 4. " UART2  ,Universal Asynchronous Receiver/Transmitter 2" "-,Asserted"
bitfld.long 0x00 3. " UART3  ,Universal Asynchronous Receiver/Transmitter 3" "-,Asserted"
bitfld.long 0x00 2. " EMC1   ,Ethernet 1" "-,Asserted"
width 0x0B
elif (cpu()=="PPC440GRX")
;Clock and Power Management
width 9.
group dcr:0x00B0++0x0
line.long 0x00 "CPM0_ER,CPM0 Enable Register"
bitfld.long 0x00 31. " IIC0   ,Inter-Integrated Circuit 0" "-,Enabled"
bitfld.long 0x00 30. "   IIC1  ,Inter-Integrated Circuit 1" "-,Enabled"
bitfld.long 0x00 29. "   PCI    ,Peripheral Component Interconnect" "-,Enabled"
textline "                  "
bitfld.long 0x00 27. " UDMA   ,DMA2PLB4 DMA" "-,Enabled"
bitfld.long 0x00 25. "   CPU   ,440GRx Processor Core" "-,Enabled"
bitfld.long 0x00 24. "   DMA    ,Direct Memory Access Controller" "-,Enabled"
textline "                  "
bitfld.long 0x00 23. " P32OPB ,PLB3 to OPB Bridge" "-,Enabled"
bitfld.long 0x00 21. "   EBC   ,External Bus Controller" "-,Enabled"
bitfld.long 0x00 20. "   RGMII  ,Reduced Gigabit MII Bridge" "-,Enabled"
textline "                  "
bitfld.long 0x00 19. " DMC    ,DDR SDRAM Controller" "-,Enabled"
bitfld.long 0x00 18. "   PLB4  ,PLB4 Arbiter" "-,Enabled"
bitfld.long 0x00 17. "   PLB4X3 ,PLB4 to PLB3 Bridge Controller" "-,Enabled"
textline "                  "
bitfld.long 0x00 16. " PLB3X4 ,PLB3 to PLB4 Bridge Controller" "-,Enabled"
bitfld.long 0x00 15. "   PLB3  ,PLB3 Arbiter" "-,Enabled"
bitfld.long 0x00 14. "   NDFC   ,NAND Flash Controller" "-,Enabled"
textline "                  "
bitfld.long 0x00 12. " UIC1   ,Universal Interrupt Controller 1" "-,Enabled"
bitfld.long 0x00 11. "   GPIO  ,General Purpose IO" "-,Enabled"
bitfld.long 0x00 10. "   GPT    ,General Purpose Timer" "-,Enabled"
textline "                  "
bitfld.long 0x00 9. " UART0  ,Universal Asynchronous Receiver/Transmitter 0" "-,Enabled"
bitfld.long 0x00 8. "   UART1 ,Universal Asynchronous Receiver/Transmitter 1" "-,Enabled"
bitfld.long 0x00 7. "   UIC0   ,Universal Interrupt Controller 0" "-,Enabled"
textline "                  "
bitfld.long 0x00 6. " TMRCLK ,CPU Timer" "-,Enabled"
bitfld.long 0x00 5. "   EMC0  ,Ethernet 0" "-,Enabled"
bitfld.long 0x00 4. "   UART2  ,Universal Asynchronous Receiver/Transmitter 2" "-,Enabled"
textline "                  "
bitfld.long 0x00 3. " UART3  ,Universal Asynchronous Receiver/Transmitter 3" "-,Enabled"
bitfld.long 0x00 2. "   EMC1  ,Ethernet 1" "-,Enabled"
group dcr:0x00F0++0x00
line.long 0x00 "CPM1_ER,CPM1 Enable Register"
bitfld.long 0x00 31. " UIC2   ,Universal Interrupt Controller 2" "-,Enabled"
bitfld.long 0x00 30. "   SRAM0 ,Internal SRAM Controller 0" "-,Enabled"
bitfld.long 0x00 29. "   MAL0   ,Memory Access Layer" "-,Enabled"
textline "                  "
bitfld.long 0x00 26. " CRYP0  ,Security Engine" "-,Enabled"
bitfld.long 0x00 25. "   KASU0 ,Kasumi Engine" "-,Enabled"
group dcr:0x00B1++0x0
line.long 0x00 "CPM0_FR,CPM Force Register"
bitfld.long 0x00 31. " IIC0   ,Inter-Integrated Circuit 0" "-,Forced"
bitfld.long 0x00 30. "    IIC1  ,Inter-Integrated Circuit 1" "-,Forced"
bitfld.long 0x00 29. "    PCI    ,Peripheral Component Interconnect" "-,Forced"
textline "                  "
bitfld.long 0x00 27. " UDMA   ,DMA2PLB4 DMA" "-,Forced"
bitfld.long 0x00 25. "    CPU   ,440GRx Processor Core" "-,Forced"
bitfld.long 0x00 24. "    DMA    ,Direct Memory Access Controller" "-,Forced"
textline "                  "
bitfld.long 0x00 23. " P32OPB ,PLB3 to OPB Bridge" "-,Forced"
bitfld.long 0x00 21. "    EBC   ,External Bus Controller" "-,Forced"
bitfld.long 0x00 20. "    RGMII  ,Reduced Gigabit MII Bridge" "-,Forced"
textline "                  "
bitfld.long 0x00 19. " DMC    ,DDR SDRAM Controller" "-,Forced"
bitfld.long 0x00 18. "    PLB4  ,PLB4 Arbiter" "-,Forced"
bitfld.long 0x00 17. "    PLB4X3 ,PLB4 to PLB3 Bridge Controller" "-,Forced"
textline "                  "
bitfld.long 0x00 16. " PLB3X4 ,PLB3 to PLB4 Bridge Controller" "-,Forced"
bitfld.long 0x00 15. "    PLB3  ,PLB3 Arbiter" "-,Forced"
bitfld.long 0x00 14. "    NDFC   ,NAND Flash Controller" "-,Forced"
textline "                  "
bitfld.long 0x00 12. " UIC1   ,Universal Interrupt Controller 1" "-,Forced"
bitfld.long 0x00 11. "    GPIO  ,General Purpose IO" "-,Forced"
bitfld.long 0x00 10. "    GPT    ,General Purpose Timer" "-,Forced"
textline "                  "
bitfld.long 0x00 9. " UART0  ,Universal Asynchronous Receiver/Transmitter 0" "-,Forced"
bitfld.long 0x00 8. "    UART1 ,Universal Asynchronous Receiver/Transmitter 1" "-,Forced"
bitfld.long 0x00 7. "    UIC0   ,Universal Interrupt Controller 0" "-,Forced"
textline "                  "
bitfld.long 0x00 6. " TMRCLK ,CPU Timer" "-,Forced"
bitfld.long 0x00 5. "    EMC0  ,Ethernet 0" "-,Forced"
bitfld.long 0x00 4. "    UART2  ,Universal Asynchronous Receiver/Transmitter 2" "-,Forced"
textline "                  "
bitfld.long 0x00 3. " UART3  ,Universal Asynchronous Receiver/Transmitter 3" "-,Forced"
bitfld.long 0x00 2. "    EMC1  ,Ethernet 1" "-,Forced"
group dcr:0x00F1++0x00
line.long 0x00 "CPM1_FR,CPM1 Force Register"
bitfld.long 0x00 31. " UIC2   ,Universal Interrupt Controller 2" "-,Forced"
bitfld.long 0x00 30. "    SRAM0 ,Internal SRAM Controller 0" "-,Forced"
bitfld.long 0x00 29. "    MAL0   ,Memory Access Layer" "-,Forced"
textline "                  "
bitfld.long 0x00 26. " CRYP0  ,Security Engine" "-,Forced"
bitfld.long 0x00 25. "    KASU0 ,Kasumi Engine" "-,Forced"
rgroup dcr:0x00B2--0x00B2
line.long 0x00 "CPM0_SR,CPM Status Register"
bitfld.long 0x00 31. " IIC0   ,Inter-Integrated Circuit 0" "-,Asserted"
bitfld.long 0x00 30. "  IIC1  ,Inter-Integrated Circuit 1" "-,Asserted"
bitfld.long 0x00 29. "  PCI    ,Peripheral Component Interconnect" "-,Asserted"
textline "                  "
bitfld.long 0x00 27. " UDMA   ,DMA2PLB4 DMA" "-,Asserted"
bitfld.long 0x00 25. "  CPU   ,440GRx Processor Core" "-,Asserted"
bitfld.long 0x00 24. "  DMA    ,Direct Memory Access Controller" "-,Asserted"
textline "                  "
bitfld.long 0x00 23. " P32OPB ,PLB3 to OPB Bridge" "-,Asserted"
bitfld.long 0x00 21. "  EBC   ,External Bus Controller" "-,Asserted"
bitfld.long 0x00 20. "  RGMII  ,Reduced Gigabit MII Bridge" "-,Asserted"
textline "                  "
bitfld.long 0x00 19. " DMC    ,DDR SDRAM Controller" "-,Asserted"
bitfld.long 0x00 18. "  PLB4  ,PLB4 Arbiter" "-,Asserted"
bitfld.long 0x00 17. "  PLB4X3 ,PLB4 to PLB3 Bridge Controller" "-,Asserted"
textline "                  "
bitfld.long 0x00 16. " PLB3X4 ,PLB3 to PLB4 Bridge Controller" "-,Asserted"
bitfld.long 0x00 15. "  PLB3  ,PLB3 Arbiter" "-,Asserted"
bitfld.long 0x00 14. "  NDFC   ,NAND Flash Controller" "-,Asserted"
textline "                  "
bitfld.long 0x00 12. " UIC1   ,Universal Interrupt Controller 1" "-,Asserted"
bitfld.long 0x00 11. "  GPIO  ,General Purpose IO" "-,Asserted"
bitfld.long 0x00 10. "  GPT    ,General Purpose Timer" "-,Asserted"
textline "                  "
bitfld.long 0x00 9. " UART0  ,Universal Asynchronous Receiver/Transmitter 0" "-,Asserted"
bitfld.long 0x00 8. "  UART1 ,Universal Asynchronous Receiver/Transmitter 1" "-,Asserted"
bitfld.long 0x00 7. "  UIC0   ,Universal Interrupt Controller 0" "-,Asserted"
textline "                  "
bitfld.long 0x00 6. " TMRCLK ,CPU Timer" "-,Asserted"
bitfld.long 0x00 5. "  EMC0  ,Ethernet 0" "-,Asserted"
bitfld.long 0x00 4. "  UART2  ,Universal Asynchronous Receiver/Transmitter 2" "-,Asserted"
textline "                  "
bitfld.long 0x00 3. " UART3  ,Universal Asynchronous Receiver/Transmitter 3" "-,Asserted"
bitfld.long 0x00 2. "  EMC1  ,Ethernet 1" "-,Asserted"
rgroup dcr:0x00F2++0x00
line.long 0x00 "CPM1_SR,CPM1 Status Register"
bitfld.long 0x00 31. " UIC2   ,Universal Interrupt Controller 2" "-,Asserted"
bitfld.long 0x00 30. "  SRAM0 ,Internal SRAM Controller 0" "-,Asserted"
bitfld.long 0x00 29. "  MAL0   ,Memory Access Layer" "-,Asserted"
textline "                  "
bitfld.long 0x00 26. " CRYP0  ,Security Engine" "-,Asserted"
bitfld.long 0x00 25. "  KASU0 ,Kasumi Engine" "-,Asserted"
width 0x0B    
elif (cpu()=="PPC440GP")
;Clock and Power Management
width 9.
group dcr:0x00B0++0x0
line.long 0x00 "CPM0_ER,CPM Enable Register"
bitfld.long 0x00 31. " IIC0   ,Inter-Integrated Circuit 0" "-,Enabled"
bitfld.long 0x00 30. "   IIC1  ,Inter-Integrated Circuit 1" "-,Enabled"
bitfld.long 0x00 29. "   PCI  ,Peripheral Component Interconnect" "-,Enabled"
textline "                  "
bitfld.long 0x00 25. " CPU    ,PPC440GP Processor Core" "-,Enabled"
bitfld.long 0x00 24. "   DMA   ,Direct Memory Access Controller" "-,Enabled"
bitfld.long 0x00 23. "   BGO  ,PLB3 to OPB Bridge" "-,Enabled"
textline "                  "
bitfld.long 0x00 22. " BGI    ,OPB to PLB3 Bridge" "-,Enabled"
bitfld.long 0x00 21. "   EBC   ,External Bus Controller" "-,Enabled"
bitfld.long 0x00 20. "   EBM  ,External Bus Master Interface" "-,Enabled"
bitfld.long 0x00 19. "   DMC ,DDR SDRAM Controller" "-,Enabled"
textline "                  "
bitfld.long 0x00 18. " PLB    ,PLB Arbiter" "-,Enabled"
bitfld.long 0x00 17. "   SRAM  ,Internal SRAM Controller" "-,Enabled"
bitfld.long 0x00 13. "   PPM  ,PLB Performance Monitor" "-,Enabled"
textline "                  "
bitfld.long 0x00 12. " UIC1   ,Universal Interrupt Controller 1" "-,Enabled"
bitfld.long 0x00 11. "   GPIO  ,General Purpose IO" "-,Enabled"
bitfld.long 0x00 10. "   GPT  ,General Purpose Timer" "-,Enabled"
textline "                  "
bitfld.long 0x00 9. " UART0  ,Universal Asynchronous Receiver/Transmitter 0" "-,Enabled"
bitfld.long 0x00 8. "   UART1 ,Universal Asynchronous Receiver/Transmitter 1" "-,Enabled"
bitfld.long 0x00 7. "   UIC0 ,Universal Interrupt Controller 0" "-,Enabled"
textline "                  "
bitfld.long 0x00 6. " TMRCLK ,CPU Timer" "-,Enabled"
group dcr:0x00B1++0x0
line.long 0x00 "CPM0_FR,CPM Force Register"
bitfld.long 0x00 31. " IIC0   ,Inter-Integrated Circuit 0" "-,Forced"
bitfld.long 0x00 30. "    IIC1  ,Inter-Integrated Circuit 1" "-,Forced"
bitfld.long 0x00 29. "    PCI  ,Peripheral Component Interconnect" "-,Forced"
textline "                  "
bitfld.long 0x00 25. " CPU    ,PPC440GP Processor Core" "-,Forced"
bitfld.long 0x00 24. "    DMA   ,Direct Memory Access Controller" "-,Forced"
bitfld.long 0x00 23. "    BGO  ,PLB3 to OPB Bridge" "-,Forced"
textline "                  "
bitfld.long 0x00 22. " BGI    ,OPB to PLB3 Bridge" "-,Enabled"
bitfld.long 0x00 21. "   EBC   ,External Bus Controller" "-,Forced"
bitfld.long 0x00 20. "    EBM  ,External Bus Master Interface" "-,Forced"
bitfld.long 0x00 19. "    DMC ,DDR SDRAM Controller" "-,Forced"
textline "                  "
bitfld.long 0x00 18. " PLB    ,PLB Arbiter" "-,Forced"
bitfld.long 0x00 17. "    SRAM  ,Internal SRAM Controller" "-,Forced"
bitfld.long 0x00 13. "    PPM  ,PLB Performance Monitor" "-,Forced"
textline "                  "
bitfld.long 0x00 12. " UIC1   ,Universal Interrupt Controller 1" "-,Forced"
bitfld.long 0x00 11. "    GPIO  ,General Purpose IO" "-,Forced"
bitfld.long 0x00 10. "    GPT  ,General Purpose Timer" "-,Forced"
textline "                  "
bitfld.long 0x00 9. " UART0  ,Universal Asynchronous Receiver/Transmitter 0" "-,Forced"
bitfld.long 0x00 8. "    UART1 ,Universal Asynchronous Receiver/Transmitter 1" "-,Forced"
bitfld.long 0x00 7. "    UIC0 ,Universal Interrupt Controller 0" "-,Forced"
textline "                  "
bitfld.long 0x00 6. " TMRCLK ,CPU Timer" "-,Forced"
rgroup dcr:0x00B2--0x00B2
line.long 0x00 "CPM0_SR,CPM Status Register"
bitfld.long 0x00 31. " IIC0   ,Inter-Integrated Circuit 0" "-,Asserted"
bitfld.long 0x00 30. "  IIC1  ,Inter-Integrated Circuit 1" "-,Asserted"
bitfld.long 0x00 29. "  PCI  ,Peripheral Component Interconnect" "-,Asserted"
textline "                  "
bitfld.long 0x00 25. " CPU    ,PPC440GP Processor Core" "-,Asserted"
bitfld.long 0x00 24. "  DMA   ,Direct Memory Access Controller" "-,Asserted"
bitfld.long 0x00 23. "  BGO  ,PLB3 to OPB Bridge" "-,Asserted"
textline "                  "
bitfld.long 0x00 22. " BGI    ,OPB to PLB3 Bridge" "-,Asserted"
bitfld.long 0x00 21. "  EBC   ,External Bus Controller" "-,Asserted"
bitfld.long 0x00 20. "  EBM  ,External Bus Master Interface" "-,Asserted"
bitfld.long 0x00 19. "  DMC ,DDR SDRAM Controller" "-,Asserted"
textline "                  "
bitfld.long 0x00 18. " PLB    ,PLB Arbiter" "-,Asserted"
bitfld.long 0x00 17. "  SRAM  ,Internal SRAM Controller" "-,Asserted"
bitfld.long 0x00 13. "  PPM  ,PLB Performance Monitor" "-,Asserted"
textline "                  "
bitfld.long 0x00 12. " UIC1   ,Universal Interrupt Controller 1" "-,Asserted"
bitfld.long 0x00 11. "  GPIO  ,General Purpose IO" "-,Asserted"
bitfld.long 0x00 10. "  GPT  ,General Purpose Timer" "-,Asserted"
textline "                  "
bitfld.long 0x00 9. " UART0  ,Universal Asynchronous Receiver/Transmitter 0" "-,Asserted"
bitfld.long 0x00 8. "  UART1 ,Universal Asynchronous Receiver/Transmitter 1" "-,Asserted"
bitfld.long 0x00 7. "  UIC0 ,Universal Interrupt Controller 0" "-,Asserted"
textline "                  "
bitfld.long 0x00 6. " TMRCLK ,CPU Timer" "-,Asserted"
width 0x0B
endif
tree.end
tree "L2 Cache Controller"
sif ((cpu()=="PPC440SP")||(cpu()=="PPC440SPE"))
;L2 Cache Controller
width 12.
group dcr:0x0030++0x00
line.long 0x00 "L2C0_CFG,L2 Cache Configuration Register"
bitfld.long 0x00 31. " L2M  ,L2 Mode" "Core,L2"
bitfld.long 0x00 30. "                   ICU   ,Instruction Cache Unit Enabled" "-,Enabled"
bitfld.long 0x00 29. "      DCU    ,Data Cache Unit Enabled" "-,Enabled"
textline "                     "
bitfld.long 0x00 25.--28. " DCW  ,Disable Cache Way" "0 1 2 3 enabled,0 1 2 enabled,Reserved,0 1 enabled,Reserved,Reserved,Reserved,0 enabled,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        TPC   ,Tag Parity Check Enable" "-,Enabled"
bitfld.long 0x00 23. "      CPC    ,Cache Parity Check Enable" "-,Enabled"
textline "                     "
bitfld.long 0x00 22. " DOI  ,Allocation of Data Over Instruction" "Instruction over data,Data over instruction"
bitfld.long 0x00 21. "  FRAN  ,Fast Read Acknowledge Enable" "-,Enabled"
bitfld.long 0x00 19.--20. "      SS     ,SRAM Size" "256KB,Reserved,Reserved,Reserved"
textline "                     "
bitfld.long 0x00 18. " CPIM ,Cache Parity Error Interrupt Mask" "-,Enabled"
bitfld.long 0x00 17. "                TPIM  ,Tag Parity Error Interrupt Mask" "-,Enabled"
bitfld.long 0x00 16. "      LIM    ,LRU Code Point Error Interrupt Mask" "-,Enabled"
textline "                     "
bitfld.long 0x00 12.--14. " PMUX ,Performance Monitoring Mask Control" "Snooping,I-fetching,D-fetching,D-storing,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 11. "             PMIM  ,Performance Monitor Interrupt Mask" "-,Enabled"
bitfld.long 0x00 10. "      TPEI   ,Tag Parity Error Inject" "-,Enabled"
textline "                     "
bitfld.long 0x00 9. " CPEI ,Cache Parity Error Inject" "-,Enabled"
bitfld.long 0x00 8. "                NAM   ,No Abort Mode" "-,Enabled"
bitfld.long 0x00 7. "      SMCM   ,Self Modifying Code Mode" "-,Enabled"
textline "                     "
bitfld.long 0x00 6. " NBRM ,No Block Request Mode" "-,Enabled"
bitfld.long 0x00 5. "                SNPCI ,Snoop Cache Inhibit Request Mode" "-,Enabled"
bitfld.long 0x00 4. "      SNP440 ,Snoop PPC440SP Write Request Mode" "-,Enabled"
group dcr:0x0031++0x00
line.long 0x00 "L2C0_CMD,L2 Cache Command Register"
bitfld.long 0x00 31. " CLR  ,Clear Command" "-,Enabled"
bitfld.long 0x00 30. "                DIAG  ,Diagnostic Class of Commands" "-,Enabled"
bitfld.long 0x00 29. "      INV    ,Invalidate Command" "-,Enabled"
textline "                     "
bitfld.long 0x00 28. " CCP  ,Clear Cache Parity Error" "-,Enabled"
bitfld.long 0x00 27. "                CTE   ,Clear Tag Error" "-,Enabled"
bitfld.long 0x00 26. "      STRC   ,Start Performance Monitor Counters" "-,Enabled"
textline "                     "
bitfld.long 0x00 25. " STPC ,Stop Performance Monitor Counters" "-,Enabled"
bitfld.long 0x00 24. "                RPMC  ,Reset Performance Monitor Counters" "-,Enabled"
bitfld.long 0x00 23. "      HCC    ,Hardware Clear Command" "-,Enabled"
group dcr:0x0032++0x00
line.long 0x00 "L2C0_ADDR,L2 Cache Address Register"
rgroup dcr:0x0033++0x00
line.long 0x00 "L2C0_DATA,L2 Cache Data Register"
rgroup dcr:0x0034++0x00
line.long 0x00 "L2C0_SR,L2 Cache Status Register"
bitfld.long 0x00 31. " CC   ,Command Complete" "Not completed,Completed"
bitfld.long 0x00 30. "          CPE   ,Cache Parity Error" "-,Error"
bitfld.long 0x00 29. "        TPE    ,Tag Parity Error" "-,Error"
textline "                     "
bitfld.long 0x00 28. " LRU  ,LRU Code Point Error" "-,Error"
bitfld.long 0x00 27. "                  PCS   ,Performance Counter Stopped" "Not stopped,Stopped"
rgroup dcr:0x0035++0x00
line.long 0x00 "L2C0_REVID,L2 Cache Revision ID Register"
group dcr:0x36++0x00
line.long 0x00 "L2C0_SNP0,L2 Cache Snoop Register 0"
hexmask.long.word 0x00 16.--31. 1. " BA   ,Base Address"
bitfld.long 0x00 12.--15. "                   SSR   ,Size of Snooping Region" "1MB,2MB,4MB,8MB,16MB,32MB,64MB,128MB,256MB,512MB,1GB,2GB,4GB,8GB,16GB,32GB"
bitfld.long 0x00 11. "        ESR    ,Enable Snoop Region" "-,Enabled"
group dcr:0x37++0x00
line.long 0x00 "L2C0_SNP1,L2 Cache Snoop Register 1"
hexmask.long.word 0x00 16.--31. 1. " BA   ,Base Address"
bitfld.long 0x00 12.--15. "                   SSR   ,Size of Snooping Region" "1MB,2MB,4MB,8MB,16MB,32MB,64MB,128MB,256MB,512MB,1GB,2GB,4GB,8GB,16GB,32GB"
bitfld.long 0x00 11. "        ESR    ,Enable Snoop Region" "-,Enabled"
width 0xB
elif (cpu()=="PPC440GX")
width 12.
group dcr:0x0030++0x2
line.long 0x00 "L2C0_CFG,L2 Cache Configuration Register"
bitfld.long 0x00 31. " L2M  ,L2 Mode" "SRAM core,L2"
bitfld.long 0x00 30. "        ICU  ,Instruction Cache Unit Enabled" "-,Enabled"
bitfld.long 0x00 29. "   DCU  ,Data Cache Unit Enabled" "-,Enabled"
textline "                     "
bitfld.long 0x00 25.--28. " DCW  ,Disable Cache Way" "0/1/2/3 enabled,0/1/2 enabled,Reserved,0/1 enabled,Reserved,Reserved,Reserved,0 enabled,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "  TPC  ,Tag Parity Check Enable" "-,Enabled"
bitfld.long 0x00 23. "   CPC  ,Cache Parity Check Enable" "-,Enabled"
textline "                     "
bitfld.long 0x00 21. " FRAN ,Fast Read Acknowledge Enable" "-,Enabled"
bitfld.long 0x00 19.--20. "          SS   ,SRAM Size" "256 KB,Reserved,Reserved,Reserved"
bitfld.long 0x00 18. "  CPIM ,Cache Parity Error Interrupt Mask" "-,Enabled"
textline "                     "
bitfld.long 0x00 17. " TPIM ,Tag Parity Error Interrupt Mask" "-,Enabled"
bitfld.long 0x00 16. "          LIM  ,LRU Code Point Error Interrupt Mask" "-,Enabled"
bitfld.long 0x00 12.--14. "   PMUX ,Performance Monitoring Mask Control" "Snooping,I-fetching,D-fetching,D-storing,Reserved,Reserved,Reserved,Reserved"
textline "                     "
bitfld.long 0x00 11. " PMIM ,Performance Monitor Interrupt Mask" "-,Enabled"
bitfld.long 0x00 10. "          TPEI ,Tag Parity Error Inject" "-,Enabled"
bitfld.long 0x00 9. "   CPEI ,Cache Parity Error Inject" "-,Enabled"
textline "                     "
bitfld.long 0x00 8. " NAM  ,No Abort Mode" "-,Enabled"
bitfld.long 0x00 7. "          SMCM ,Self Modifying Code Mode" "-,Enabled"
bitfld.long 0x00 6. "   NBRM ,No Block Request Mode" "-,Enabled"
line.long 0x4 "L2C0_CMD,L2 Cache Command Register"
bitfld.long 0x4 31. " CLR  ,Clear Command" "-,Enabled"
bitfld.long 0x4 30. "    DIAG ,Diagnostic Class of Commands" "-,Enabled"
bitfld.long 0x4 29. "  INV  ,Invalidate Command" "-,Enabled"
textline "                     "
bitfld.long 0x4 28. " CCP  ,Clear Cache Parity Error" "-,Enabled"
bitfld.long 0x4 27. "    CTE  ,Clear Tag Error" "-,Enabled"
bitfld.long 0x4 26. "  STRC ,Start Performance Monitor Counters" "-,Enabled"
textline "                     "
bitfld.long 0x4 25. " STPC ,Stop Performance Monitor Counters" "-,Enabled"
bitfld.long 0x4 24. "    RPMC ,Reset Performance Monitor Counters" "-,Enabled"
bitfld.long 0x4 23. "  HCC  ,Hardware Clear Command" "-,Enabled"
line.long 0x8 "L2C0_ADDR,L2 Cache Address Register 0"
rgroup dcr:0x0033++0x2
line.long 0x00 "L2C0_DATA,L2 Cache Data Register 0"
line.long 0x4 "L2C0_SR,L2 Cache Status Register 0"
bitfld.long 0x4 31. " CC   ,Command Complete" "-,Completed"
bitfld.long 0x4 30. "  CPE  ,Cache Parity Error" "-,Error"
bitfld.long 0x4 29. "    TPE  ,Tag Parity Error" "-,Error"
textline "                     "
bitfld.long 0x4 28. " LRU  ,LRU Code Point Error" "-,Error"
bitfld.long 0x4 27. "      PCS  ,Performance Counter Stopped" "Running,Stopped"
line.long 0x8 "L2C0_REVID,L2 Cache Revision ID Register 0"
group dcr:0x36++0x1
line.long 0x0 "L2C0_SNP0,L2 Cache Snoop Register 0 0"
hexmask.long.word 0x0 16.--31. 1. " BA   ,Base Address"
bitfld.long 0x0 12.--15. "       SSR  ,Size of Snooping Region" "1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB,1 GB,2 GB,4 GB,8 GB,16 GB,32 GB"
bitfld.long 0x0 11. "   ESR  ,Enable Snoop Region" "-,Enabled"
line.long 0x4 "L2C0_SNP1,L2 Cache Snoop Register 0 1"
hexmask.long.word 0x4 16.--31. 1. " BA   ,Base Address"
bitfld.long 0x4 12.--15. "       SSR  ,Size of Snooping Region" "1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB,1 GB,2 GB,4 GB,8 GB,16 GB,32 GB"
bitfld.long 0x4 11. "   ESR  ,Enable Snoop Region" "-,Enabled"
width 0xB
endif
tree.end
tree "PCI Express Clocking Registers"
sif (cpu()=="PPC440SPE")
;PCI Express Clocking
width 16.
group.long dcr:0x000F--0x000F
out dcr:0x000E %l 0x03A0
line.long 0x00 "PESDR0_PLLLCT1,PCI Express PLL LC Tank Setting Register 1"
bitfld.long 0x00 28. " MCENT  ,PCI Express PLL Clock Receiver type Selection" "CMOS or LVDS,LVPECL"
bitfld.long 0x00 24. "     RESET ,PCI-Express PLL LC Tank Reset" "-,Reset"
bitfld.long 0x00 20.--23. "  N1  ,Divide Ratio for the N1 Divider" "8,10,4,-,6,-,-,-,7,9,3,-,5,-,-,-"
textline "                         "
bitfld.long 0x00 16.--19. " N2     ,Divide Ratio for the N2 Divider" "8,10,4,-,6,-,-,-,7,9,3,-,5,-,-,-"
hexmask.long.byte 0x00 8.--13. 1. "               M     ,Multiply Factor for the M Multiplier"
bitfld.long 0x00 4.--6. "     P   ,Divide Factor for the P Divider" "2,3,7,4,8,6,5,1"
textline "                         "
bitfld.long 0x00 0.--2. " V      ,VCO Selector Bits for a [2.3 - 2.6 (GHz)] VCO Frequency Range" "-,-,-,-,-,-,-,2.3 - 2.6 (GHz)"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l 0x03A1
line.long 0x00 "PESDR0_PLLLCT2,PCI Express PLL LC Tank Setting Register 2"
bitfld.long 0x00 28.--31. " C      ,PLL Control Bits" "-,-,-,-,-,-,-,-,-,-,-,2.3-2.6 GHz,-,-,-,-"
bitfld.long 0x00 24. "      OSEL  ,PLL Output Select Bit" "N1,N2"
bitfld.long 0x00 20. "     BYP ,PLL LC Tank Bypass" "-,Enabled"
textline "                         "
bitfld.long 0x00 16. " CALRST ,PCI-Express Driver / Receiver Calibration" "-,Enabled"
rgroup.long dcr:0x000F--0x000F
out dcr:0x000E %l 0x03A2
line.long 0x00 "PESDR0_PLLLCTS,PCI Express PLL LC Tank Status Register"
bitfld.long 0x00 28. " PLLLK  ,PCI-Express VCO Lock Indication" "-,Locked"
width 0x0B
endif
tree.end
tree "Debug Facilities (! USED by T32-ICD !)"
;Debug Facilities
width 13.
group.long dcr:0x000F++0x00
out dcr:0x000E %l 0x00C0
SIF ((cpu()=="PPC440SPE")||(cpu()=="PPC440GX")||(cpu()=="PPC440GR")||(cpu()=="PPC460SX"))
line.long 0x00 "SDR0_JTAGID,JTAG ID Register"
else
line.long 0x00 "SDR0_JTAG,JTAG ID Register"
endif
sif (cpu()!="PPC460EX")&&(cpu()!="PPC460GT")
hexmask.long.byte 0x00 28.--31. 1. " VERS ,Version"
hexmask.long.byte 0x00 24.--27. 1. "  LOC ,Developer Location"
hexmask.long.word 0x00 12.--23. 1. "  PART ,Part Number"
hexmask.long.word 0x00 0.--11. 1. "  MANF ,Manufacturer Identifier"
endif
group.long spr:0x130++0x0
line.long 0x00 "DBSR,Debug Status Register"
eventfld.long 0x00 31. " IDE ,Imprecise Debug Event" "While MSR[DE]=1,While MSR[DE]=0"
eventfld.long 0x00 30. " UDE  ,Unconditional Debug Event" "-,1"
eventfld.long 0x00 28.--29. "  MRR ,Most Recent Reset" "-,Core,Chip,System"
textline "                      "
eventfld.long 0x00 27. " ICMP ,Instruction Completion Debug Event" "-,1"
eventfld.long 0x00 26. "  BRT  ,Branch Taken Debug Event" "-,1"
eventfld.long 0x00 25. "  IRPT ,Interrupt Debug Event" "-,1"
eventfld.long 0x00 24. "  TRAP ,Trap Debug Event" "-,1"
eventfld.long 0x00 15. "  RET   ,Return Debug Event" "-,1"
textline "                      "
eventfld.long 0x00 23. " IAC1 ,IAC 1 Debug Event" "-,1"
eventfld.long 0x00 22. "  IAC2 ,IAC 2 Debug Event" "-,1"
eventfld.long 0x00 21. "  IAC3 ,IAC 3 Debug Event" "-,1"
eventfld.long 0x00 20. "  IAC4 ,IAC 4 Debug Event" "-,1"
eventfld.long 0x00 19. "  DAC1R ,DAC 1 Read Debug Event" "-,1"
eventfld.long 0x00 18. "  DAC1W ,DAC 1 Write Debug Event" "-,1"
eventfld.long 0x00 17. "  DAC2R ,DAC 2 Read Debug Event" "-,1"
eventfld.long 0x00 16. "  DAC2W ,DAC 2 Write Debug Event" "-,1"
eventfld.long 0x00 15. "  RET ,Return debug event" "-,1"
textline "                      "
eventfld.long 0x00 01. " IAC12ATS ,IAC 1/2 Auto-Toggle Status" "Not reversed,Reversed"
eventfld.long 0x00 00. "  IAC34ATS ,IAC 3/4 Auto-Toggle Status" "Not reversed,Reversed"
group.long spr:0x134++0x2
line.long 0x00 "DBCR0,Debug Control Register 0"
bitfld.long 0x00 31. " EDM   ,External Debug Mode" "-,Ena"
bitfld.long 0x00 30. "  IDM   ,Internal Debug Mode" "-,Ena"
bitfld.long 0x00 28.--29. "  RST   ,Reset" "-,Core reset,Chip reset,System reset"
textline "                      "
bitfld.long 0x00 27. " ICMP  ,Instruction Completion Debug Event" "-,Ena"
bitfld.long 0x00 26. "  BRT   ,Branch Taken Debug Event" "-,Ena"
bitfld.long 0x00 25. "  IRPT  ,Interrupt Debug Event" "-,Ena"
bitfld.long 0x00 24. "  TRAP ,Trap Debug Event" "-,Ena"
bitfld.long 0x00 15. "  RET ,Return Debug Event" "-,Ena"
bitfld.long 0x00 0. "  FT ,Freeze timers on debug event" "Not frozen,Frozen"
textline "                      "
bitfld.long 0x00 23. " IAC1  ,Instruction Address Compare (IAC) 1 Debug Event" "-,Ena"
bitfld.long 0x00 22. "  IAC2  ,Instruction Address Compare (IAC) 2 Debug Event" "-,Ena"
bitfld.long 0x00 21. "  IAC3  ,Instruction Address Compare (IAC) 3 Debug Event" "-,Ena"
bitfld.long 0x00 20. "  IAC4  ,Instruction Address Compare (IAC) 4 Debug Event" "-,Ena"
textline "                      "
bitfld.long 0x00 19. " DAC1R ,Data Address Compare (DAC) 1 Read Debug Event" "-,Ena"
bitfld.long 0x00 18. "  DAC1W ,DAC 1 Write Debug Even" "-,Ena"
bitfld.long 0x00 17. "  DAC2R ,Data Address Compare (DAC) 2 Read Debug Event" "-,Ena"
bitfld.long 0x00 16. "  DAC2W ,DAC 2 Write Debug Event" "-,Ena"
sif (cpu()=="ACP3448")
textline "                      "
bitfld.long 0x00 15. "  RET ,Return debug event" "-,Ena"
bitfld.long 0x00 0. "  FT ,Freeze timers" "-,Ena"
endif
line.long 0x04 "DBCR1,Debug Control Register 1"
bitfld.long 0x04 30.--31. " IAC1US ,Instruction Address Compare (IAC) 1 User/Supervisor" "Both,Reserved,Supervisor,User"
bitfld.long 0x04 28.--29. "  IAC1ER ,Instruction Address Compare (IAC) 1 Effective/Real" "Effective,Reserved,Virtual(MSR[IS]=0),Virtual(MSR[IS]=1)"
bitfld.long 0x04 22.--23. "  IAC12M  ,Instruction Address Compare (IAC) 1/2 Mode" "Exact match,Reserved,Range inclusive,Range exclusive"
textline "                      "
bitfld.long 0x04 26.--27. " IAC2US ,Instruction Address Compare (IAC) 2 User/Supervisor" "Both,Reserved,Supervisor,User"
bitfld.long 0x04 24.--25. "  IAC2ER ,Instruction Address Compare (IAC) 2 Effective/Real" "Effective,Reserved,Virtual(MSR[IS]=0),Virtual(MSR[IS]=1)"
bitfld.long 0x04 16. "  IAC12AT ,Instruction Address Compare (IAC) 1/2 Auto-Toggle Enable" "-,Enabled"
textline "                      "
bitfld.long 0x04 14.--15. " IAC3US ,Instruction Address Compare (IAC) 3 User/Supervisor" "Both,Reserved,Supervisor,User"
bitfld.long 0x04 12.--13. "  IAC3ER ,Instruction Address Compare (IAC) 3 Effective/Real" "Effective,Reserved,Virtual(MSR[IS]=0),Virtual(MSR[IS]=1)"
bitfld.long 0x04 6.--7. "  IAC34M  ,Instruction Address Compare (IAC) 3/4 Mode" "Exact match,Reserved,Range inclusive,Range exclusive"
textline "                      "
bitfld.long 0x04 10.--11. " IAC4US ,Instruction Address Compare (IAC) 4 User/Supervisor" "Both,Reserved,Supervisor,User"
bitfld.long 0x04 8.--9. "  IAC4ER ,Instruction Address Compare (IAC) 4 Effective/Real" "Effective,Reserved,Virtual(MSR[IS]=0),Virtual(MSR[IS]=1)"
sif (cpu()=="ACP3448")
bitfld.long 0x04 6.--7. " IAC34M ,Instruction address comparison 3/4 mode. See IAC12M for field values" "Exact match,Reserved,Range inclusive,Range exclusive"
endif
bitfld.long 0x04 0. "  IAC34AT ,IAC3/4 Auto-Toggle Enable" "-,Enabled"
line.long 0x08 "DBCR2,Debug Control Register 2"
bitfld.long 0x08 30.--31. " DAC1US ,Data Address Compare (DAC) 1 User/Supervisor" "Both,Reserved,Supervisor,User"
bitfld.long 0x08 28.--29. "  DAC1ER ,DAC 1 Effective/Real" "Effective,Reserved,Virtual(MSR[DS]=0),Virtual(MSR[DS]=1)"
textline "                      "
bitfld.long 0x08 26.--27. " DAC2US ,Data Address Compare (DAC) 2 User/Supervisor" "Both,Reserved,Supervisor,User"
bitfld.long 0x08 24.--25. "  DAC2ER ,DAC 2 Effective/Real" "Effective,Reserved,Virtual(MSR[DS]=0),Virtual(MSR[DS]=1)"
textline "                      "
bitfld.long 0x08 22.--23. " DAC12M ,DAC 1/2 Mode" "Exact match,Address bit mask,Range inclusive,Range exclusive"
textline "                      "
bitfld.long 0x08 18.--19. " DVC1M  ,Data Value Compare (DVC) 1 Mode" "Reserved,AND,OR,AND-OR"
textline "                      "
bitfld.long 0x08 16.--17. " DVC2M  ,Data Value Compare (DVC) 2 Mode" "Reserved,AND,OR,AND-OR"
sif (cpu()!="ACP3448")
bitfld.long 0x08 21. "    DAC12A ,DAC 1/2 Asynchronous" "Synchronous,Asynchronous"
endif
textline "                      "
bitfld.long 0x08 11. " DVC1BE[0] ,Data Value Compare (DVC) 1 Byte Enable 0" "-,Ena"
bitfld.long 0x08 10. "  DVC1BE[1] ,Data Value Compare (DVC) 1 Byte Enable 1" "-,Ena"
bitfld.long 0x08 09. "  DVC1BE[2] ,Data Value Compare (DVC) 1 Byte Enable 2" "-,Ena"
bitfld.long 0x08 08. "  DVC1BE[3] ,Data Value Compare (DVC) 1 Byte Enable 3" "-,Ena"
textline "                      "
bitfld.long 0x08 03. " DVC2BE[0] ,Data Value Compare (DVC) 2 Byte Enable 0" "-,Ena"
bitfld.long 0x08 02. "  DVC2BE[1] ,Data Value Compare (DVC) 2 Byte Enable 1" "-,Ena"
bitfld.long 0x08 01. "  DVC2BE[2] ,Data Value Compare (DVC) 2 Byte Enable 2" "-,Ena"
bitfld.long 0x08 00. "  DVC2BE[3] ,Data Value Compare (DVC) 2 Byte Enable 3" "-,Ena"
sif (cpu()=="PPC440GX")
group.long spr:0x138++0x7
line.long 0x0 "IAC1,Instruction Address Compare Register 1"
hexmask.long 0x00 2.--31. 4. " IACWA ,Instruction Address Compare (IAC) word address" 
line.long 0x4 "IAC2,Instruction Address Compare Register 2"
hexmask.long 0x4 2.--31. 4. " IACWA ,Instruction Address Compare (IAC) word address" 
line.long 0x8 "IAC3,Instruction Address Compare Register 3"
hexmask.long 0x8 2.--31. 4. " IACWA ,Instruction Address Compare (IAC) word address" 
line.long 0xC "IAC4,Instruction Address Compare Register 4"
hexmask.long 0xC 2.--31. 4. " IACWA ,Instruction Address Compare (IAC) word address" 
elif (cpu()=="PPC460EX")||(cpu()=="PPC460GT")
group.long spr:0x138++0x7
line.long 0x00 "IAC1,Instruction Address Compare Register 1"
line.long 0x04 "IAC2,Instruction Address Compare Register 2"
line.long 0x08 "IAC3,Instruction Address Compare Register 3"
line.long 0x0C "IAC4,Instruction Address Compare Register 4"
else 
group.long spr:0x138++0x7
line.long 0x00 "IAC1,Instruction Address Compare Register 1"
hexmask.long 0x00 2.--31. 0x4 " IAC1      ,Instruction Address Compare 1 (IAC1) word address"
line.long 0x04 "IAC2,Instruction Address Compare Register 2"
hexmask.long 0x04 2.--31. 0x4 " IAC2      ,Instruction Address Compare 2 (IAC2) word address"
line.long 0x08 "IAC3,Instruction Address Compare Register 3"
hexmask.long 0x08 2.--31. 0x4 " IAC3      ,Instruction Address Compare 3 (IAC3) word address"
line.long 0x0C "IAC4,Instruction Address Compare Register 4"
hexmask.long 0x0C 2.--31. 0x4 " IAC4      ,Instruction Address Compare 4 (IAC4) word address"
endif
line.long 0x10 "DAC1,Data Address Compare Register 1"
line.long 0x14 "DAC2,Data Address Compare Register 2"
line.long 0x18 "DVC1,Data Value Compare Register 1"
line.long 0x1C "DVC2,Data Value Compare Register 2"
group.long spr:0x3F3++0x0
line.long 0x00 "DBDR,Debug Data Register"
sif (cpu()=="PPC460SX")
group.long dcr:0x4302++0x00
line.long 0x00 "SDR0_TRCSEL,Hardware Trace Select Register"
hexmask.long.byte 0x00 25.--31. 1. " TRCSEL ,Trace Port Select: Selects which module's trace to output"
hexmask.long.byte 0x00 16.--23. 1. "  TRCGRP ,Trace Group"
endif
width 0x0B
tree.end
tree.end
;tree.open "System Operations"
tree.open "Peripheral Functions and Interfaces"
tree "SRAM (Internal SRAM Controller)"
sif (cpu()=="PPC440EPX")
width 13.
group dcr:0x380++0x00
line.long 0x00 "SRAM0_SB0CR,Memory Configuration Register"
hexmask.long 0x00 12.--31. 0x1000 " BAS   ,Base Address Select"
bitfld.long 0x00 09.--11. "  BS ,Bank Size" "4 KB,8 KB,16 KB,res,res,res,res,res"
bitfld.long 0x00 07.--08. "  BU ,Bank Usage" "-,RO,res,R/W"
bitfld.long 0x00 00.--03. "  UA ,Four Least Significant Bits of the Upper 32-bit Address" "0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F"
group dcr:0x384++0x00
line.long 0x00 "SRAM0_BEAR,Bus Error Address Register"
hexmask.long 0x00 0.--31. 1. " ABE   ,Address of Bus Error"
group dcr:0x385++0x00
line.long 0x00 "SRAM0_BESR0,Bus Error Status Register 0"
bitfld.long 0x00 29.--31. " ET0 ,Error type for Master 0" "-,res,Parity,res,Protection,res,res,res"
bitfld.long 0x00 28. "  RWS0 ,Read/Write Status for Master 0" "wr,rd"
bitfld.long 0x00 27. "  FL0 ,Field Lock for Master 0" "-,Locked"
bitfld.long 0x00 26. "  AL0 ,BEAR Address Lock for Master 0" "-,Locked"
textline "                     "
bitfld.long 0x00 23.--25. "  ET1 ,Error Type for Master 1" "-,res,Parity,res,Protection,res,res,res"
bitfld.long 0x00 22. "  RWS1 ,Read/Write Status for Master 1" "wr,rd"
bitfld.long 0x00 21. "  FL1 ,Field Lock for Master 1" "-,Locked"
bitfld.long 0x00 20. "  AL1 ,BEAR Address Lock for Master 1" "-,Locked"
textline "                     "
bitfld.long 0x00 17.--19. "  ET2 ,Error Type for Master 2" "-,res,Parity,res,Protection,res,res,res"
bitfld.long 0x00 16. "  RWS2 ,Read/write Status for Master 2" "wr,rd"
bitfld.long 0x00 15. "  FL2 ,Field Lock for Master 2" "-,Locked"
bitfld.long 0x00 14. "  AL2 ,BEAR Address Lock for Master 2" "-,Locked"
textline "                     "
bitfld.long 0x00 11.--13. "  ET3 ,Error Type for Master 3" "-,res,Parity,res,Protection,res,res,res"
bitfld.long 0x00 10. "  RWS3 ,Read/Write Status for Master 3" "wr,rd"
bitfld.long 0x00 09. "  FL3 ,Field Lock for Master 3" "-,Locked"
bitfld.long 0x00 08. "  AL3 ,BEAR Address Lock for Master 3" "-,Locked"
group dcr:0x386++0x00
line.long 0x00 "SRAM0_BESR1,Bus Error Status Register 1"
bitfld.long 0x00 29.--31. " ET4 ,Error Type for Master 4" "-,res,Parity,res,Protection,res,res,res"
bitfld.long 0x00 28. "  RWS4 ,Read/Write Status for Master 4" "wr,rd"
bitfld.long 0x00 27. "  FL4 ,Field Lock for Master 4" "-,Locked"
bitfld.long 0x00 26. "  AL4 ,BEAR Address Lock for Master 4" "-,Locked"
textline "                     "
bitfld.long 0x00 23.--25. "  ET5 ,Error Type for Master 5" "-,res,Parity,res,Protection,res,res,res"
bitfld.long 0x00 22. "  RWS5 ,Read/Write Status for Master 5" "wr,rd"
bitfld.long 0x00 21. "  FL5 ,Field Lock for Master 5" "-,Locked"
bitfld.long 0x00 20. "  AL5 ,BEAR Address Lock for Master 5" "-,Locked"
textline "                     "
bitfld.long 0x00 17.--19. "  ET6 ,Error Type for Master 6" "-,res,Parity,res,Protection,res,res,res"
bitfld.long 0x00 16. "  RWS6 ,Read/Write Status for Master 6" "wr,rd"
bitfld.long 0x00 15. "  FL6 ,Field Lock for Master 6" "-,Locked"
bitfld.long 0x00 14. "  AL6 ,BEAR Address Lock for Master 6" "-,Locked"
textline "                     "
bitfld.long 0x00 11.--13. "  ET7 ,Error Type for Master 7" "-,res,Parity,res,Protection,res,res,res"
bitfld.long 0x00 10. "  RWS7 ,Read/Write Status for Master 7" "wr,rd"
bitfld.long 0x00 09. "  FL7 ,Field Lock for Master 7" "-,Locked"
bitfld.long 0x00 08. "  AL7 ,BEAR Address Lock for Master 7" "-,Locked"
group dcr:0x387++0x00
line.long 0x00 "SRAM0_PMEG,Power Management Register"
bitfld.long 0x00 31. " PMEN  ,Power Management Enable" "-,Enabled"
hexmask.long.byte 0x00 25.--30. 1. "     PMCNT  ,Power Management Counter"
bitfld.long 0x00 21.--24. "          PMDFLT  ,Power Management Default Wait Interval" "0000,0001,0010,0011,0100,0101,0110,0111,1000,1001,1010,1011,1100,1101,1110,1111"
rgroup dcr:0x388++0x00
line.long 0x00 "SRAM0_CID,Core ID Register"
rgroup dcr:0x389++0x00
line.long 0x00 "SRAM0_REVID,SRAM Revision ID Register"
hexmask.long.byte 0x00 24.--31. 1. " PROJ  ,Project Number"
hexmask.long.word 0x00  8.--23. 1. "          SCCS   ,SCCS Version"
hexmask.long.byte 0x00  0.--7.  1. "        NLST    ,Netlist Number"
group dcr:0x38A++0x03
line.long 0x00 "SRAM0_DPC,Data Parity Checking Register"
bitfld.long 0x00 31. " DPC   ,Data Parity Check" "-,Enabled"
;            %include 440epx/sram1.ph 0x380
elif (cpu()=="PPC440GRX")
width 13.
group dcr:0x380++0x00
line.long 0x00 "SRAM0_SB0CR,Memory Configuration Register"
hexmask.long 0x00 12.--31. 0x1000 " BAS   ,Base Address Select"
bitfld.long 0x00 9.--11. "    BS     ,Bank Size" "4 KB,8 KB,16 KB,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 7.--8. "    BU      ,Bank Usage" "-,RO,Reserved,R/W"
textline "                      "
bitfld.long 0x00 0.--3. " UA    ,Four Least Significant Bits of the Upper 32-bit Address" "0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F"
group dcr:0x384++0x00
line.long 0x00 "SRAM0_BEAR,Bus Error Address Register"
hexmask.long 0x00 0.--31. 1. " ABE   ,Address of Bus Error"
group dcr:0x385++0x00
line.long 0x00 "SRAM0_BESR0,Bus Error Status Register 0"
bitfld.long 0x00 29.--31. " ET0   ,Error type for Master 0" "-,Reserved,Parity,Reserved,Protection,Reserved,Reserved,Reserved"
bitfld.long 0x00 28. "  RWS0   ,Read/Write Status for Master 0" "Write,Read"
bitfld.long 0x00 27. "       FL0     ,Field Lock for Master 0" "-,Locked"
textline "                      "
bitfld.long 0x00 26. " AL0   ,BEAR Address Lock for Master 0" "-,Locked"
bitfld.long 0x00 23.--25. "      ET1    ,Error Type for Master 1" "-,Reserved,Parity,Reserved,Protection,Reserved,Reserved,Reserved"
bitfld.long 0x00 22. "  RWS1    ,Read/Write Status for Master 1" "Write,Read"
textline "                      "
bitfld.long 0x00 21. " FL1   ,Field Lock for Master 1" "-,Locked"
bitfld.long 0x00 20. "      AL1    ,BEAR Address Lock for Master 1" "-,Locked"
bitfld.long 0x00 17.--19. "      ET2     ,Error Type for Master 2" "-,Reserved,Parity,Reserved,Protection,Reserved,Reserved,Reserved"
textline "                      "
bitfld.long 0x00 16. " RWS2  ,Read/write Status for Master 2" "Write,Read"
bitfld.long 0x00 15. "       FL2    ,Field Lock for Master 2" "-,Locked"
bitfld.long 0x00 14. "      AL2     ,BEAR Address Lock for Master 2" "-,Locked"
textline "                      "
bitfld.long 0x00 11.--13. " ET3   ,Error Type for Master 3" "-,Reserved,Parity,Reserved,Protection,Reserved,Reserved,Reserved"
bitfld.long 0x00 10. "  RWS3   ,Read/Write Status for Master 3" "Write,Read"
bitfld.long 0x00 9. "       FL3     ,Field Lock for Master 3" "-,Locked"
textline "                      "
bitfld.long 0x00 8. " AL3   ,BEAR Address Lock for Master 3" "-,Locked"
group dcr:0x386++0x00
line.long 0x00 "SRAM0_BESR1,Bus Error Status Register 1"
bitfld.long 0x00 29.--31. " ET4   ,Error Type for Master 4" "-,Reserved,Parity,Reserved,Protection,Reserved,Reserved,Reserved"
bitfld.long 0x00 28. "  RWS4   ,Read/Write Status for Master 4" "Write,Read"
bitfld.long 0x00 27. "       FL4     ,Field Lock for Master 4" "-,Locked"
textline "                      "
bitfld.long 0x00 26. " AL4   ,BEAR Address Lock for Master 4" "-,Locked"
bitfld.long 0x00 17.--19. "      ET6    ,Error Type for Master 6" "-,Reserved,Parity,Reserved,Protection,Reserved,Reserved,Reserved"
bitfld.long 0x00 16. "  RWS6    ,Read/Write Status for Master 6" "Write,Read"
textline "                      "
bitfld.long 0x00 15. " FL6   ,Field Lock for Master 6" "-,Locked"
bitfld.long 0x00 14. "      AL6    ,BEAR Address Lock for Master 6" "-,Locked"
bitfld.long 0x00 11.--13. "      ET7     ,Error Type for Master 7" "-,Reserved,Parity,Reserved,Protection,Reserved,Reserved,Reserved"
textline "                      "
bitfld.long 0x00 10. " RWS7  ,Read/Write Status for Master 7" "Write,Read"
bitfld.long 0x00 9. "       FL7    ,Field Lock for Master 7" "-,Locked"
bitfld.long 0x00 8. "      AL7     ,BEAR Address Lock for Master 7" "-,Locked"
group dcr:0x387++0x00
line.long 0x00 "SRAM0_PMEG,Power Management Register"
bitfld.long 0x00 31. " PM_EN ,Power Management Enable" "-,Enabled"
hexmask.long.byte 0x00 25.--30. 1. "     PM_CNT ,Power Management Counter"
bitfld.long 0x00 21.--24. "          PM_DFLT ,Power Management Default Wait Interval" "0000,0001,0010,0011,0100,0101,0110,0111,1000,1001,1010,1011,1100,1101,1110,1111"
rgroup dcr:0x388++0x00
line.long 0x00 "SRAM0_CID,Core ID Register"
rgroup dcr:0x389++0x00
line.long 0x00 "SRAM0_REVID,SRAM Revision ID Register"
hexmask.long.byte 0x00 24.--31. 1. " PROJ  ,Project Number"
hexmask.long.word 0x00  8.--23. 1. "          SCCS   ,SCCS Version"
hexmask.long.byte 0x00  0.--7.  1. "        NLST    ,Netlist Number"
group dcr:0x38A++0x03
line.long 0x00 "SRAM0_DPC,Data Parity Checking Register"
bitfld.long 0x00 31. " DPC   ,Data Parity Check" "-,Enabled"
elif (cpu()=="PPC440GX")
width 0xD
group dcr:0x020++0x7
line.long 0x0 "SRAM0_SB0CR,SRAM Bank 0 Configuration Register 0"
hexmask.long 0x00 12.--31. 0x1000 " BAS ,Base Address Select"
bitfld.long 0x00 9.--11. "  BS ,Bank Size" "Reserved,Reserved,Reserved,Reserved,64 KB,Reserved,Reserved,Reserved"
bitfld.long 0x00 7.--8. "  BU ,Bank Usage" "-,Read,Reserved,Read/write"
bitfld.long 0x00 0.--3. "  UA ,Four least significant bits of the upper 32-bit address" "0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F"
line.long 0x4 "SRAM0_SB1CR,SRAM Bank 1 Configuration Register 0"
hexmask.long 0x4 12.--31. 0x1000 " BAS ,Base Address Select"
bitfld.long 0x4 9.--11. "  BS ,Bank Size" "Reserved,Reserved,Reserved,Reserved,64 KB,Reserved,Reserved,Reserved"
bitfld.long 0x4 7.--8. "  BU ,Bank Usage" "-,Read,Reserved,Read/write"
bitfld.long 0x4 0.--3. "  UA ,Four least significant bits of the upper 32-bit address" "0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F"
line.long 0x8 "SRAM0_SB2CR,SRAM Bank 2 Configuration Register 0"
hexmask.long 0x8 12.--31. 0x1000 " BAS ,Base Address Select"
bitfld.long 0x8 9.--11. "  BS ,Bank Size" "Reserved,Reserved,Reserved,Reserved,64 KB,Reserved,Reserved,Reserved"
bitfld.long 0x8 7.--8. "  BU ,Bank Usage" "-,Read,Reserved,Read/write"
bitfld.long 0x8 0.--3. "  UA ,Four least significant bits of the upper 32-bit address" "0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F"
line.long 0xC "SRAM0_SB3CR,SRAM Bank 3 Configuration Register 0"
hexmask.long 0xC 12.--31. 0x1000 " BAS ,Base Address Select"
bitfld.long 0xC 9.--11. "  BS ,Bank Size" "Reserved,Reserved,Reserved,Reserved,64 KB,Reserved,Reserved,Reserved"
bitfld.long 0xC 7.--8. "  BU ,Bank Usage" "-,Read,Reserved,Read/write"
bitfld.long 0xC 0.--3. "  UA ,Four least significant bits of the upper 32-bit address" "0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F"
line.long 0x10 "SRAM0_BEAR,Bus Error Address Register 0"
line.long 0x14 "SRAM0_BESR0,Bus Error Status Register 0 0"
bitfld.long 0x14 29.--31. " ET0 ,Error type for master 0 (processor core instruction cache unit)" "-,Reserved,Parity,Reserved,Protection,Reserved,Reserved,Reserved"
bitfld.long 0x14 28. "  RWS0 ,Read/write status for master 0 (processor core instruction cache unit)" "Write,Read"
bitfld.long 0x14 27. "  FL0 ,Field lock for master 0 (processor core instruction cache unit)" "-,Locked"
bitfld.long 0x14 26. "  AL0 ,BEAR address lock for master 0 (processor core instruction cache unit)" "-,Locked"
textline "                      "
bitfld.long 0x14 23.--25. " ET1 ,Error type for master 1 (processor core data cache read unit)" "-,Reserved,Parity,Reserved,Protection,Reserved,Reserved,Reserved"
bitfld.long 0x14 22. "  RWS1 ,Read/write status for master 1 (processor core data cache read unit)" "Write,Read"
bitfld.long 0x14 21. "  FL1 ,Field lock for master 1 (processor core data cache read unit)" "-,Locked"
bitfld.long 0x14 20. "  AL1 ,BEAR address lock for master 1 (processor core data cache read unit)" "-,Locked"
textline "                      "
bitfld.long 0x14 17.--19. " ET2 ,Error type for master 2 (processor core data cache write unit)" "-,Reserved,Parity,Reserved,Protection,Reserved,Reserved,Reserved"
bitfld.long 0x14 16. "  RWS2 ,Read/write status for master 2 (processor core data cache write unit)" "Write,Read"
bitfld.long 0x14 15. "  FL2 ,Field lock for master 2 (processor core data cache write unit)" "-,Locked"
bitfld.long 0x14 14. "  AL2 ,BEAR address lock for master 2 (processor core data cache write unit)" "-,Locked"
textline "                      "
bitfld.long 0x14 11.--13. " ET3 ,Error type for master 3 (PCI-X)" "-,Reserved,Parity,Reserved,Protection,Reserved,Reserved,Reserved"
bitfld.long 0x14 10. "  RWS3 ,Read/write status for master 3 (PCIX controller)" "Write,Read"
bitfld.long 0x14 9. "  FL3 ,Field lock for master 3 (PCIX controller)" "-,Locked"
bitfld.long 0x14 8. "  AL3 ,BEAR address lock for master 3 (PCIX controller)" "-,Locked"
line.long 0x18 "SRAM0_BESR1,Bus Error Status Register 1"
bitfld.long 0x18 29.--31. " ET4 ,Error type for master 4 (I2O messaging unit)" "-,Reserved,Parity,Reserved,Protection,Reserved,Reserved,Reserved"
bitfld.long 0x18 28. "  RWS4 ,Read/write status for master 4 (I2O messaging unit)" "Write,Read"
bitfld.long 0x18 27. "  FL4 ,Field lock for master 4 (I2O messaging unit)" "-,Locked"
bitfld.long 0x18 26. "  AL4 ,BEAR address lock for master 4 (I2O messaging unit)" "-,Locked"
textline "                      "
bitfld.long 0x18 23.--25. " ET5 ,Error type for master 5 (media access layer)" "-,Reserved,Parity,Reserved,Protection,Reserved,Reserved,Reserved"
bitfld.long 0x18 22. "  RWS5 ,Read/write status for master 5 (media access layer)" "Write,Read"
bitfld.long 0x18 21. "  FL5 ,Field lock for master 5 (media access layer)" "-,Locked"
bitfld.long 0x18 20. "  AL5 ,BEAR address lock for master 5 (media access layer)" "-,Locked"
textline "                      "
bitfld.long 0x18 17.--19. " ET6 ,Error type for master 6 (direct memory access (DMA) controller)" "-,Reserved,Parity,Reserved,Protection,Reserved,Reserved,Reserved"
bitfld.long 0x18 16. "  RWS6 ,Read/write status for master 6 (direct memory access (DMA) controller)" "Write,Read"
bitfld.long 0x18 15. "  FL6 ,Field lock for master 6 (direct memory access (DMA) controller)" "-,Locked"
bitfld.long 0x18 14. "  AL6 ,BEAR address lock for master 6 (direct memory access (DMA) controller)" "-,Locked"
textline "                      "
bitfld.long 0x18 11.--13. " ET7 ,Error type for master 7 (OPB to PLB bridge)" "-,Reserved,Parity,Reserved,Protection,Reserved,Reserved,Reserved"
bitfld.long 0x18 10. "  RWS7 ,Read/write status for master 7 (OPB to PLB bridge)" "Write,Read"
bitfld.long 0x18 9. "  FL7 ,Field lock for master 7 (OPB to PLB bridge)" "-,Locked"
bitfld.long 0x18 8. "  AL7 ,BEAR address lock for master 7 (OPB to PLB bridge)" "-,Locked"
line.long 0x1C "SRAM0_PMEG,Power Management Register"
bitfld.long 0x1C 31. " PM_EN ,Power Management enable" "-,Enabled"
bitfld.long 0x1C 25.--30. "  PM_CNT ,Power Management Counter" "-,16 cycles,32 cycles,48 cycles,64 cycles,80 cycles,96 cycles,112 cycles,128 cycles,144 cycles,160 cycles,176 cycles,192 cycles,208 cycles,224 cycles,240 cycles,256 cycles,272 cycles,288 cycles,304 cycles,320 cycles,336 cycles,352 cycles,368 cycles,384 cycles,400 cycles,416 cycles,432 cycles,448 cycles,464 cycles,480 cycles,496 cycles,512 cycles,528 cycles,544 cycles,560 cycles,576 cycles,592 cycles,608 cycles,624 cycles,640 cycles,656 cycles,672 cycles,688 cycles,704 cycles,720 cycles,736 cycles,752 cycles,768 cycles,784 cycles,800 cycles,816 cycles,832 cycles,848 cycles,864 cycles,880 cycles,896 cycles,912 cycles,928 cycles,944 cycles,960 cycles,976 cycles,992 cycles,1008 cycles"
bitfld.long 0x1C 21.--24. "  PM_DFLT ,Power Management Default Wait Interval" "1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles,8 cycles,9 cycles,10 cycles,11 cycles,12 cycles,13 cycles,14 cycles,15 cycles,16 cycles"
rgroup dcr:0x028++0x1
line.long 0x0 "SRAM0_CID,Core 0 ID Register"
line.long 0x4 "SRAM0_REVID,Revision ID Register 0"
hexmask.long.byte 0x4 24.--31. 1. " PROJ  ,Project Number"
hexmask.long.word 0x4 8.--23. 1. "       SCCS   ,SCCS Version"
hexmask.long.byte 0x4 0.--7. 1. "         NLST    ,Netlist Number"
group dcr:0x02A++0x0
line.long 0x0 "SRAM0_DPC,Data Parity Checking Register"
bitfld.long 0x0 31. " DPC   , Data Parity Check" "-,Enabled"
width 0xB
elif (cpu()=="PPC440GP")
width 0x0b
group dcr:0x020++0x0
line.long 0x0 "SRAM0_SB0CR,SRAM Bank 0 Configuration Register"
hexmask.long 0x00 12.--31. 0x1000 " BAS   ,Base Address Select"
bitfld.long 0x00 9.--11. "    BS     ,Bank Size" "4-KB,8KB,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 7.--8. "     BU      ,Bank Usage" "-,Read Only,Reserved,Read/Write"
hexmask.long.byte 0x00 0.--3. 1. "  UA  ,Four least significant bits of the upper 32-bit address" 
group dcr:0x21++0x0
line.long 0x0 "SRAM0_SB1CR,SRAM Bank 1 Configuration Register"
hexmask.long 0x00 12.--31. 0x1000 " BAS   ,Base Address Select"
bitfld.long 0x00 9.--11. "    BS     ,Bank Size" "4-KB,8KB,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 7.--8. "     BU      ,Bank Usage" "-,Read Only,Reserved,Read/Write"
hexmask.long.byte 0x00 0.--3. 1. "  UA  ,Four least significant bits of the upper 32-bit address" 
group dcr:0x22++0x0
line.long 0x0 "SRAM0_SB2CR,SRAM Bank 2 Configuration Register"
hexmask.long 0x00 12.--31. 0x1000 " BAS   ,Base Address Select"
bitfld.long 0x00 9.--11. "    BS     ,Bank Size" "4-KB,8KB,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 7.--8. "     BU      ,Bank Usage" "-,Read Only,Reserved,Read/Write"
hexmask.long.byte 0x00 0.--3. 1. "  UA  ,Four least significant bits of the upper 32-bit address" 
group dcr:0x23++0x0
line.long 0x0 "SRAM0_SB3CR,SRAM Bank 3 Configuration Register"
hexmask.long 0x00 12.--31. 0x1000 " BAS   ,Base Address Select"
bitfld.long 0x00 9.--11. "    BS     ,Bank Size" "4-KB,8KB,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 7.--8. "     BU      ,Bank Usage" "-,Read Only,Reserved,Read/Write"
hexmask.long.byte 0x00 0.--3. 1. "  UA  ,Four least significant bits of the upper 32-bit address" 
group dcr:0x24++0x0
line.long 0x0 "SRAM0_BEAR,SRAM Bus Error Address Register"
hexmask.long.long 0x00 0.--31. 1. " ABE   ,Address of Bus Error (asynchronous)" 
group dcr:0x25++0x0
line.long 0x0 "SRAM0_BESR0,Bus Error Status Register 0"
bitfld.long 0x00 29.--31. " ET0   ,Error type for master 0" "-,Reserved,Parity,Reserved,Protection,Reserved,Reserved,Reserved"
bitfld.long 0x00 28. "  RWS0   ,Read/write status for master 0" "Write Error,Read Error"
bitfld.long 0x00 27. "  FL0     ,Field lock for master 0" "Unlocked,Locked"
bitfld.long 0x00 26. "    AL0 ,BEAR address lock for master 0" "Unlocked,Locked"
textline "                    "
bitfld.long 0x00 23.--25. " ET1   ,Error type for master 1" "-,Reserved,Parity,Reserved,Protection,Reserved,Reserved,Reserved"
bitfld.long 0x00 22. "  RWS1   ,Read/write status for master 1" "Write Error,Read Error"
bitfld.long 0x00 21. "  FL1     ,Field lock for master 1" "Unlocked,Locked"
bitfld.long 0x00 20. "    AL1 ,BEAR address lock for master 1" "Unlocked,Locked"
textline "                    "
bitfld.long 0x00 17.--19. " ET2   ,Error type for master 2" "-,Reserved,Parity,Reserved,Protection,Reserved,Reserved,Reserved"
bitfld.long 0x00 16. "  RWS2   ,Read/write status for master 2" "Write Error,Read Error"
bitfld.long 0x00 15. "  FL2     ,Field lock for master 2" "Unlocked,Locked"
bitfld.long 0x00 14. "    AL2 ,BEAR address lock for master 2" "Unlocked,Locked"
textline "                    "
bitfld.long 0x00 11.--13. " ET3   ,Error type for master 3" "-,Reserved,Parity,Reserved,Protection,Reserved,Reserved,Reserved"
bitfld.long 0x00 10. "  RWS3   ,Read/write status for master 3" "Write Error,Read Error"
bitfld.long 0x00 9. "  FL3     ,Field lock for master 3" "Unlocked,Locked"
bitfld.long 0x00 8. "    AL3 ,BEAR address lock for master 3" "Unlocked,Locked"
group dcr:0x26++0x0
line.long 0x0 "SRAM0_BESR1,Bus Error Status Register 1"
bitfld.long 0x00 23.--25. " ET5   ,Error type for master 5" "-,Reserved,Parity,Reserved,Protection,Reserved,Reserved,Reserved"
bitfld.long 0x00 22. "  RWS5   ,Read/write status for master 5" "Write Error,Read Error"
bitfld.long 0x00 21. "  FL5     ,Field lock for master 5" "Unlocked,Locked"
bitfld.long 0x00 20. "    AL5 ,BEAR address lock for master 5" "Unlocked,Locked"
textline "                    "
bitfld.long 0x00 17.--19. " ET6   ,Error type for master 6" "-,Reserved,Parity,Reserved,Protection,Reserved,Reserved,Reserved"
bitfld.long 0x00 16. "  RWS6   ,Read/write status for master 6" "Write Error,Read Error"
bitfld.long 0x00 15. "  FL6     ,Field lock for master 6" "Unlocked,Locked"
bitfld.long 0x00 14. "    AL6 ,BEAR address lock for master 6" "Unlocked,Locked"
textline "                    "
bitfld.long 0x00 11.--13. " ET7   ,Error type for master 7" "-,Reserved,Parity,Reserved,Protection,Reserved,Reserved,Reserved"
bitfld.long 0x00 10. "  RWS7   ,Read/write status for master 7" "Write Error,Read Error"
bitfld.long 0x00 9. "  FL7     ,Field lock for master 7" "Unlocked,Locked"
bitfld.long 0x00 8. "    AL7 ,BEAR address lock for master 7" "Unlocked,Locked"
group dcr:0x27++0x0
line.long 0x0 "SRAM0_PMEG,Power Management"
bitfld.long 0x00 31. " PM_EN ,Power Management enable" "-,Enabled"
hexmask.long.byte 0x00 25.--30. 1. "     PM_CNT ,Power Management Counter"
hexmask.long.byte 0x00 21.--24. 1. "           PM_DFLT ,Power Management Default Wait Interval"
rgroup dcr:0x28++0x0
line.long 0x0 "SRAM0_CID,Core 0 ID"
hexmask.long.long 0x00 0.--31. 1. " CID   ,Internal Core Device ID"
rgroup dcr:0x29++0x0
line.long 0x0 "SRAM0_REVID,Core 0 Revision ID"
hexmask.long.byte 0x00 24.--31. 1. " PROJ  ,Project Number"
hexmask.long.word 0x00 8.--23. 1. "          SCCS   ,SCCS Version"
hexmask.long.byte 0x00 0.--7. 1. "         NLST    ,Netlist Number"
group dcr:0x2A++0x0
line.long 0x0 "SRAM0_DPC,Data Parity Check Register"
bitfld.long 0x0 31. " DPC   , Data Parity Check" "-,Enabled"
elif (cpu()=="PPC440SP")
;Internal SDRAM Controller
width 13.
group dcr:0x20++0x00
line.long 0x00 "SRAM0_SBOCR,SRAM Bank 0 Configuration Register"
hexmask.long 0x00 12.--31. 0x1000 " BAS   ,Base Address Select"
bitfld.long 0x00 9.--11. "          BS     ,Bank Size" "Reserved,Reserved,Reserved,Reserved,64KB,Reserved,Reserved,Reserved"
bitfld.long 0x00 7.--8. "     BU      ,Bank Usage" "-,RO,Reserved,R/W"
hexmask.long.byte 0x00 0.--3. 1. "  UA  ,LSB of Upper 32bit Address"
group dcr:0x21++0x00
line.long 0x00 "SRAM1_SBOCR,SRAM Bank 1 Configuration Register"
hexmask.long 0x00 12.--31. 0x1000 " BAS   ,Base Address Select"
bitfld.long 0x00 9.--11. "          BS     ,Bank Size" "Reserved,Reserved,Reserved,Reserved,64KB,Reserved,Reserved,Reserved"
bitfld.long 0x00 7.--8. "     BU      ,Bank Usage" "-,RO,Reserved,R/W"
hexmask.long.byte 0x00 0.--3. 1. "  UA  ,LSB of Upper 32bit Address"
group dcr:0x22++0x00
line.long 0x00 "SRAM2_SBOCR,SRAM Bank 2 Configuration Register"
hexmask.long 0x00 12.--31. 0x1000 " BAS   ,Base Address Select"
bitfld.long 0x00 9.--11. "          BS     ,Bank Size" "Reserved,Reserved,Reserved,Reserved,64KB,Reserved,Reserved,Reserved"
bitfld.long 0x00 7.--8. "     BU      ,Bank Usage" "-,RO,Reserved,R/W"
hexmask.long.byte 0x00 0.--3. 1. "  UA  ,LSB of Upper 32bit Address"
group dcr:0x23++0x00
line.long 0x00 "SRAM3_SBOCR,SRAM Bank 3 Configuration Register"
hexmask.long 0x00 12.--31. 0x1000 " BAS   ,Base Address Select"
bitfld.long 0x00 9.--11. "          BS     ,Bank Size" "Reserved,Reserved,Reserved,Reserved,64KB,Reserved,Reserved,Reserved"
bitfld.long 0x00 7.--8. "     BU      ,Bank Usage" "-,RO,Reserved,R/W"
hexmask.long.byte 0x00 0.--3. 1. "  UA  ,LSB of Upper 32bit Address"
group dcr:0x24++0x00
line.long 0x00 "SRAM0_BEAR,SRAM Bus Error Address Register"
hexfld.long 0x00 " BEAR  ,Address of Bus Error"
group dcr:0x25++0x00
line.long 0x00 "SRAM0_BESR0,Bus Error Status Register 0"
bitfld.long 0x00 29.--31. " ET0   ,Error Type for Master 0" "-,Reserved,Parity error,Reserved,Protection error,Reserved,Reserved,Reserved"
bitfld.long 0x00 28. "  RWS0   ,Read/Write Status for Master 0" "Write error,Read error"
bitfld.long 0x00 27. "  FL0     ,Field Lock for Master 0" "Unlocked,Locked"
bitfld.long 0x00 26. "  AL0 ,BEAR Address Lock for Master 0" "Unlocked,Locked"
textline "                      "
bitfld.long 0x00 23.--25. " ET1   ,Error Type for Master 1" "-,Reserved,Parity error,Reserved,Protection error,Reserved,Reserved,Reserved"
bitfld.long 0x00 22. "  RWS1   ,Read/Write Status for Master 1" "Write error,Read error"
bitfld.long 0x00 21. "  FL1     ,Field Lock for Master 1" "Unlocked,Locked"
bitfld.long 0x00 20. "  AL1 ,BEAR Address Lock for Master 1" "Unlocked,Locked"
textline "                      "
bitfld.long 0x00 17.--19. " ET2   ,Error Type for Master 2" "-,Reserved,Parity error,Reserved,Protection error,Reserved,Reserved,Reserved"
bitfld.long 0x00 16. "  RWS2   ,Read/Write Status for Master 2" "Write error,Read error"
bitfld.long 0x00 15. "  FL2     ,Field Lock for Master 2" "Unlocked,Locked"
bitfld.long 0x00 14. "  AL2 ,BEAR Address Lock for Master 2" "Unlocked,Locked"
textline "                      "
bitfld.long 0x00 11.--13. " ET3   ,Error Type for Master 3" "-,Reserved,Parity error,Reserved,Protection error,Reserved,Reserved,Reserved"
bitfld.long 0x00 10. "  RWS3   ,Read/Write Status for Master 3" "Write error,Read error"
bitfld.long 0x00 9. "  FL3     ,Field Lock for Master 3" "Unlocked,Locked"
bitfld.long 0x00 8. "  AL3 ,BEAR Address Lock for Master 3" "Unlocked,Locked"
group dcr:0x26++0x00
line.long 0x00 "SRAM0_BESR1,Bus Error Status Register 1"
bitfld.long 0x00 29.--31. " ET4   ,Error Type for Master 4" "-,Reserved,Parity error,Reserved,Protection error,Reserved,Reserved,Reserved"
bitfld.long 0x00 28. "  RWS4   ,Read/Write Status for Master 4" "Write error,Read error"
bitfld.long 0x00 27. "  FL4     ,Field Lock for Master 4" "Unlocked,Locked"
bitfld.long 0x00 26. "  AL4 ,BEAR Address Lock for Master 4" "Unlocked,Locked"
textline "                      "
bitfld.long 0x00 23.--25. " ET5   ,Error Type for Master 5" "-,Reserved,Parity error,Reserved,Protection error,Reserved,Reserved,Reserved"
bitfld.long 0x00 22. "  RWS5   ,Read/Write Status for Master 5" "Write error,Read error"
bitfld.long 0x00 21. "  FL5     ,Field Lock for Master 5" "Unlocked,Locked"
bitfld.long 0x00 20. "  AL5 ,BEAR Address Lock for Master 5" "Unlocked,Locked"
textline "                      "
bitfld.long 0x00 17.--19. " ET6   ,Error Type for Master 6" "-,Reserved,Parity error,Reserved,Protection error,Reserved,Reserved,Reserved"
bitfld.long 0x00 16. "  RWS6   ,Read/Write Status for Master 6" "Write error,Read error"
bitfld.long 0x00 15. "  FL6     ,Field Lock for Master 6" "Unlocked,Locked"
bitfld.long 0x00 14. "  AL6 ,BEAR Address Lock for Master 6" "Unlocked,Locked"
textline "                      "
bitfld.long 0x00 11.--13. " ET7   ,Error Type for Master 7" "-,Reserved,Parity error,Reserved,Protection error,Reserved,Reserved,Reserved"
bitfld.long 0x00 10. "  RWS7   ,Read/Write Status for Master 7" "Write error,Read error"
bitfld.long 0x00 9. "  FL7     ,Field Lock for Master 7" "Unlocked,Locked"
bitfld.long 0x00 8. "  AL7 ,BEAR Address Lock for Master 7" "Unlocked,Locked"
group dcr:0x27++0x00
line.long 0x00 "SRAM0_PMEG,Power Management"
bitfld.long 0x00 31. " PM_EN ,Power Managemet Enable" "-,Enabled"
hexmask.long.byte 0x00 25.--30. 1. "           PM_CNT ,Power Management Counter"
hexmask.long.byte 0x00 21.--24. 1. "           PM_DFLT ,Power Management Default Wait Interval"
rgroup dcr:0x28++0x00
line.long 0x00 "SRAM0_CID,SRAM Internal Core ID Device Register"
rgroup dcr:0x29++0x00
line.long 0x00 "SRAM0_REVID,SRAM Internal Core Revision ID Register"
hexmask.long.byte 0x00 24.--31. 1. " PROJ  ,Project Number"
hexmask.long.word 0x00 8.--23. 1. "                SCCS   ,SCCS Version"
hexmask.long.byte 0x00 0.--7. 1. "         NLST    ,Netlist Number"
group dcr:0x2A++0x00
line.long 0x00 "SRAM0_DPC,Data Partity Check Register"
bitfld.long 0x00 31. " DPC   ,Data Partity Check" "-,Enabled"
width 0x0B
elif (cpu()=="PPC440SPE")
;Internal SRAM Controller
width 13.
group dcr:0x20++0x00
line.long 0x00 "SRAM_SB0CR,Memory Configuration Register"
hexmask.long 0x00 12.--31. 0x1000 " BAS   ,Base Address Select"
bitfld.long 0x00 9.--11. "          BS     ,Bank Size" "-,-,-,-,64KB,-,-,-"
bitfld.long 0x00 7.--8. "              BU      ,Bank Usage" "-,RO,-,R/W"
textline "                      "
hexmask.long.byte 0x00 0.--3. 1. " UA    ,LSB of Upper 32bit Address"
group dcr:0x21++0x00
line.long 0x00 "SRAM_SB1CR,Memory Configuration Register"
hexmask.long 0x00 12.--31. 0x1000 " BAS   ,Base Address Select"
bitfld.long 0x00 9.--11. "          BS     ,Bank Size" "-,-,-,-,64KB,-,-,-"
bitfld.long 0x00 7.--8. "              BU      ,Bank Usage" "-,RO,-,R/W"
textline "                      "
hexmask.long.byte 0x00 0.--3. 1. " UA    ,LSB of Upper 32bit Address"
group dcr:0x22++0x00
line.long 0x00 "SRAM_SB2CR,Memory Configuration Register"
hexmask.long 0x00 12.--31. 0x1000 " BAS   ,Base Address Select"
bitfld.long 0x00 9.--11. "          BS     ,Bank Size" "-,-,-,-,64KB,-,-,-"
bitfld.long 0x00 7.--8. "              BU      ,Bank Usage" "-,RO,-,R/W"
textline "                      "
hexmask.long.byte 0x00 0.--3. 1. " UA    ,LSB of Upper 32bit Address"
group dcr:0x23++0x00
line.long 0x00 "SRAM_SB3CR,Memory Configuration Register"
hexmask.long 0x00 12.--31. 0x1000 " BAS   ,Base Address Select"
bitfld.long 0x00 9.--11. "          BS     ,Bank Size" "-,-,-,-,64KB,-,-,-"
bitfld.long 0x00 7.--8. "              BU      ,Bank Usage" "-,RO,-,R/W"
textline "                      "
hexmask.long.byte 0x00 0.--3. 1. " UA    ,LSB of Upper 32bit Address"
group dcr:0x24++0x00
line.long 0x00 "SRAM0_BEAR,SRAM Bus Error Address Register"
hexmask.long 0x00 0.--31. 1. " ABE   ,Address of Bus Error"
group dcr:0x25++0x00
line.long 0x00 "SRAM0_BESR0,Bus Error Status Register 0"
bitfld.long 0x00 29.--31. " ET0   ,Error Type for Master 0" "-,Reserved,Parity error,Reserved,Protection error,Reserved,Reserved,Reserved"
bitfld.long 0x00 28. "  RWS0   ,Read/Write Status for Master 0" "Write error,Read error"
bitfld.long 0x00 27. "       FL0     ,Field Lock for Master 0" "Unlocked,Locked"
textline "                      "
bitfld.long 0x00 26. " AL0   ,BEAR Address Lock for Master 0" "Unlocked,Locked"
bitfld.long 0x00 23.--25. "          ET1    ,Error Type for Master 1" "-,Reserved,Parity error,Reserved,Protection error,Reserved,Reserved,Reserved"
bitfld.long 0x00 22. "  RWS1    ,Read/Write Status for Master 1" "Write error,Read error"
textline "                      "
bitfld.long 0x00 21. " FL1   ,Field Lock for Master 1" "Unlocked,Locked"
bitfld.long 0x00 20. "          AL1    ,BEAR Address Lock for Master 1" "Unlocked,Locked"
bitfld.long 0x00 17.--19. "          ET2     ,Error Type for Master 2" "-,Reserved,Parity error,Reserved,Protection error,Reserved,Reserved,Reserved"
textline "                      "
bitfld.long 0x00 16. " RWS2  ,Read/Write Status for Master 2" "Write error,Read error"
bitfld.long 0x00 15. "       FL2    ,Field Lock for Master 2" "Unlocked,Locked"
bitfld.long 0x00 14. "          AL2     ,BEAR Address Lock for Master 2" "Unlocked,Locked"
textline "                      "
bitfld.long 0x00 11.--13. " ET3   ,Error Type for Master 3" "-,Reserved,Parity error,Reserved,Protection error,Reserved,Reserved,Reserved"
bitfld.long 0x00 10. "  RWS3   ,Read/Write Status for Master 3" "Write error,Read error"
bitfld.long 0x00 9. "       FL3     ,Field Lock for Master 3" "Unlocked,Locked"
textline "                      "
bitfld.long 0x00 8. " AL3   ,BEAR Address Lock for Master 3" "Unlocked,Locked"
group dcr:0x26++0x00
line.long 0x00 "SRAM0_BESR1,Bus Error Status Register 1"
bitfld.long 0x00 29.--31. " ET4   ,Error Type for Master 4" "-,Reserved,Parity error,Reserved,Protection error,Reserved,Reserved,Reserved"
bitfld.long 0x00 28. "  RWS4   ,Read/Write Status for Master 4" "Write error,Read error"
bitfld.long 0x00 27. "       FL4     ,Field Lock for Master 4" "Unlocked,Locked"
textline "                      "
bitfld.long 0x00 26. " AL4   ,BEAR Address Lock for Master 4" "Unlocked,Locked"
bitfld.long 0x00 23.--25. "          ET5    ,Error Type for Master 5" "-,Reserved,Parity error,Reserved,Protection error,Reserved,Reserved,Reserved"
bitfld.long 0x00 22. "  RWS5    ,Read/Write Status for Master 5" "Write error,Read error"
textline "                      "
bitfld.long 0x00 21. " FL5   ,Field Lock for Master 5" "Unlocked,Locked"
bitfld.long 0x00 20. "          AL5    ,BEAR Address Lock for Master 5" "Unlocked,Locked"
bitfld.long 0x00 17.--19. "          ET6     ,Error Type for Master 6" "-,Reserved,Parity error,Reserved,Protection error,Reserved,Reserved,Reserved"
textline "                      "
bitfld.long 0x00 16. " RWS6  ,Read/Write Status for Master 6" "Write error,Read error"
bitfld.long 0x00 15. "       FL6    ,Field Lock for Master 6" "Unlocked,Locked"
bitfld.long 0x00 14. "          AL6     ,BEAR Address Lock for Master 6" "Unlocked,Locked"
textline "                      "
bitfld.long 0x00 11.--13. " ET7   ,Error Type for Master 7" "-,Reserved,Parity error,Reserved,Protection error,Reserved,Reserved,Reserved"
bitfld.long 0x00 10. "  RWS7   ,Read/Write Status for Master 7" "Write error,Read error"
bitfld.long 0x00 9. "       FL7     ,Field Lock for Master 7" "Unlocked,Locked"
textline "                      "
bitfld.long 0x00 8. " AL7   ,BEAR Address Lock for Master 7" "Unlocked,Locked"
group dcr:0x27++0x00
line.long 0x00 "SRAM0_PMEG,Power Management Register"
bitfld.long 0x00 31. " PM_EN ,Power Managemet Enable" "-,Enabled"
hexmask.long.byte 0x00 25.--30. 1. "           PM_CNT ,Power Management Counter"
hexmask.long.byte 0x00 21.--24. 1. "                PM_DFLT ,Power Management Default Wait Interval"
rgroup dcr:0x28++0x00
line.long 0x00 "SRAM0_CID,Core ID Register"
hexmask.long 0x00 0.--31. 1. " CID   ,Internal Core Device ID"
rgroup dcr:0x29++0x00
line.long 0x00 "SRAM0_REVID,Revision ID Register"
hexmask.long.byte 0x00 24.--31. 1. " PROJ  ,Project Number"
hexmask.long.word 0x00 8.--23. 1. "                SCCS   ,SCCS Version"
hexmask.long.byte 0x00 0.--7. 1. "              NLST    ,Netlist Number"
group dcr:0x2A++0x00
line.long 0x00 "SRAM0_DPC,Data Partity Check Register"
bitfld.long 0x00 31. " DPC   ,Data Partity Check" "-,Enabled"
width 0x0B
endif
tree.end
tree "MQ (Memory Queue Module)"
sif (cpu()=="PPC440SP")
;Memory Subsystem
width 11.
group dcr:0x0040++0x03
line.long 0x00 "MQ0_B0BAS,Bank 0 Base Address and Size Register"
hexmask.long.word 0x00 23.--31. 1. " BA   ,Base Address"
hexmask.long.word 0x00 4.--15. 1. "        SIZE ,Bank 0 (CS) Size"
group dcr:0x0041++0x03
line.long 0x00 "MQ0_B1BAS,Bank 1 Base Address and Size Register"
hexmask.long.word 0x00 23.--31. 1. " BA   ,Base Address"
hexmask.long.word 0x00 4.--15. 1. "        SIZE ,Bank 0 (CS) Size"
group dcr:0x0043++0x03
line.long 0x00 "MQ0_BAUH,PLB Base Address Register Upper 32 Bits (HB)"
hexmask.long 0x00 0.--31. 1. " BA   ,Base Address"
group dcr:0x0045++0x03
line.long 0x00 "MQ0_CF1H,Configuration 1 Register (HB)"
bitfld.long 0x00 31. " AAFR ,AddrAck First Request" "No request,Request"
bitfld.long 0x00 19. "  PRPD ,PLB Read Pipelining Disable" "-,Disabled"
bitfld.long 0x00 18. "  PWPD ,PLB Wrire Pipelining Disable" "-,Disabled"
bitfld.long 0x00 17. "     PRW   ,PLB Read Wait" "No wait,Wait"
textline "                    "
bitfld.long 0x00 12.--15. " RPLM ,Read Passing Limit" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 11. "          RPEN ,Read Passing Enable" "-,Enabled"
bitfld.long 0x00 10. "   RFTE ,Read Flow Through Enable" "-,Enabled"
group dcr:0x0047++0x03
line.long 0x00 "MQ0_ESH,Error Status Register (HB)"
hexmask.long.word 0x00 20.--31. 1. " EMID ,Error Master ID"
bitfld.long 0x00 19. "        UEER ,Uncorrectable ECC Error" "-,Error"
bitfld.long 0x00 18. "     WTER ,Write Transaction Error" "-,Error"
bitfld.long 0x00 17. "        RTER  ,Read Transaction Error" "-,Error"
rgroup dcr:0x0048++0x03
line.long 0x00 "MQ0_EAUH,Error Address Register Upper 32 Bits (HB)"
hexmask.long 0x00 0.--31. 1. " EA   ,Error Address"
rgroup dcr:0x0049++0x03
line.long 0x00 "MQ0_EALH,Error Address Register Lower 32 Bits (HB)"
hexmask.long 0x00 0.--31. 1. " EA   ,Error Address"
group dcr:0x004A++0x03
line.long 0x00 "MQ0_BAUL,PLB Base Address Register Upper 32 Bits (LL)"
hexmask.long 0x00 0.--31. 1. " BA   ,Base Address"
group dcr:0x004B++0x03
line.long 0x00 "MQ0_CF1L,Configuration 1 Register (LL)"
bitfld.long 0x00 31. " AAFR ,AddrAck First Request" "No request,Request"
bitfld.long 0x00 19. "  PRPD ,PLB Read Pipelining Disable" "-,Disabled"
bitfld.long 0x00 18. "  PWPD ,PLB Wrire Pipelining Disable" "-,Disabled"
bitfld.long 0x00 17. "     PRW   ,PLB Read Wait" "No wait,Wait"
textline "                    "
bitfld.long 0x00 12.--15. " RPLM ,Read Passing Limit" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 11. "          RPEN ,Read Passing Enable" "-,Enabled"
bitfld.long 0x00 10. "   RFTE ,Read Flow Through Enable" "-,Enabled"
group dcr:0x004C++0x03
line.long 0x00 "MQ0_ESL,Error Status Register (LL)"
hexmask.long.word 0x00 20.--31. 1. " EMID ,Error Master ID"
bitfld.long 0x00 19. "        UEER ,Uncorrectable ECC Error" "-,Error"
bitfld.long 0x00 18. "     WTER ,Write Transaction Error" "-,Error"
bitfld.long 0x00 17. "        RTER  ,Read Transaction Error" "-,Error"
rgroup dcr:0x004D++0x03
line.long 0x00 "MQ0_EAUL,Error Address Register Upper 32 Bits (LL)"
hexmask.long 0x00 0.--31. 1. " EA   ,Error Address"
rgroup dcr:0x004E++0x03
line.long 0x00 "MQ0_EALL,Error Address Register Lower 32 Bits (LL)"
hexmask.long 0x00 0.--31. 1. " EA   ,Error Address"
group dcr:0x004F++0x03
line.long 0x00 "MQ0_CFBHL,Configuration Between HB and LL Paths Register"
bitfld.long 0x00 28.--31. " TPLM ,Transaction Passing Limit" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 27. "          TPEN ,Transaction Passing Enable" "-,Enabled"
bitfld.long 0x00 26. "   MQST ,MQ Stop" "Not stopped,Stopped"
bitfld.long 0x00 0. "  H2OMW ,H2O MQ Watermark" "No,Yes"
width 0x0B
elif (cpu()=="PPC440SPE")
;Memory Subsystem
width 11.
group dcr:0x40++0x03
line.long 0x00 "MQ0_B0BAS,Bank 0 Base Address and Size Register"
hexmask.long 0x00 21.--31. 0x200000 " BA   ,Base Address"
hexmask.long.word 0x00 4.--15. 1. "  SIZE ,Bank 0 (CS) Size"
group dcr:0x41++0x03
line.long 0x00 "MQ0_B1BAS,Bank 1 Base Address and Size Register"
hexmask.long 0x00 21.--31. 0x200000 " BA   ,Base Address"
hexmask.long.word 0x00 4.--15. 1. "  SIZE ,Bank 1 (CS) Size"
group dcr:0x42++0x03
line.long 0x00 "MQ0_B2BAS,Bank 2 Base Address and Size Register"
hexmask.long 0x00 21.--31. 0x200000 " BA   ,Base Address"
hexmask.long.word 0x00 4.--15. 1. "  SIZE ,Bank 2 (CS) Size"
group dcr:0x43++0x03
line.long 0x00 "MQ0_B3BAS,Bank 3 Base Address and Size Register"
hexmask.long 0x00 21.--31. 0x200000 " BA   ,Base Address"
hexmask.long.word 0x00 4.--15. 1. "  SIZE ,Bank 3 (CS) Size"
group dcr:0x0050++0x03
line.long 0x00 "MQ0_BAUH,PLB Base Address Register Upper 32 Bits (HB)"
hexmask.long 0x00 0.--31. 1. " BA   ,Upper 32 bits of PLB Base Address"
group dcr:0x0045++0x03
line.long 0x00 "MQ0_CF1H,Configuration Register 1 (HB)"
bitfld.long 0x00 31. " AAFR ,AddrAck First Request" "-,Requested"
bitfld.long 0x00 19. "  PRPD  ,PLB Read Pipelining Disable" "-,Disabled"
bitfld.long 0x00 18. "  PWPD ,PLB Wrire Pipelining Disable" "-,Disabled"
textline "                    "
bitfld.long 0x00 17. " PRW  ,PLB Read Wait" "No wait,Wait"
bitfld.long 0x00 12.--15. "    RPLM  ,Read Passing Limit" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 11. "        RPEN ,Read Passing Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 10. " RFTE ,Read Flow Through Enable" "-,Enabled"
bitfld.long 0x00 7.--9. "    WRCL  ,MCIF Cycle Limit" "0,1,2,3,4,5,6,7"
group dcr:0x0047++0x03
line.long 0x00 "MQ0_ESH,Error Status Register (HB)"
hexmask.long.word 0x00 20.--31. 1. " EMID ,Error PLB Master ID"
bitfld.long 0x00 19. "       UEER  ,Uncorrectable ECC Error" "-,Error"
bitfld.long 0x00 18. "     WTER ,Write Transaction Error" "-,Error"
textline "                    "
bitfld.long 0x00 17. " RTER ,Read Transaction Error" "-,Error"
rgroup dcr:0x0048++0x03
line.long 0x00 "MQ0_EAUH,Error Address Register Upper 32 Bits (HB)"
hexmask.long 0x00 0.--31. 1. " EA   ,Error Address"
rgroup dcr:0x0049++0x03
line.long 0x00 "MQ0_EALH,Error Address Register Lower 32 Bits (HB)"
hexmask.long 0x00 0.--31. 1. " EA   ,Error Address"
group dcr:0x004A++0x03
line.long 0x00 "MQ0_BAUL,PLB Base Address Register Upper 32 Bits (LL)"
hexmask.long 0x00 0.--31. 1. " BA   ,Upper 32-bits of PLB Base Address"
group dcr:0x004B++0x03
line.long 0x00 "MQ0_CF1L,Configuration Register 1 (LL)"
bitfld.long 0x00 31. " AAFR ,AddrAck First Request" "-,Requested"
bitfld.long 0x00 19. "  PRPD  ,PLB Read Pipelining Disable" "-,Disabled"
bitfld.long 0x00 18. "  PWPD ,PLB Wrire Pipelining Disable" "-,Disabled"
textline "                    "
bitfld.long 0x00 17. " PRW  ,PLB Read Wait" "No wait,Wait"
bitfld.long 0x00 12.--15. "    RPLM  ,Read Passing Limit" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 11. "        RPEN ,Read Passing Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 10. " RFTE ,Read Flow Through Enable" "-,Enabled"
group dcr:0x004C++0x03
line.long 0x00 "MQ0_ESL,Error Status Register (LL)"
hexmask.long.word 0x00 20.--31. 1. " EMID ,Error Master ID"
bitfld.long 0x00 19. "       UEER  ,Uncorrectable ECC Error" "-,Error"
bitfld.long 0x00 18. "     WTER ,Write Transaction Error" "-,Error"
textline "                    "
bitfld.long 0x00 17. " RTER ,Read Transaction Error" "-,Error"
rgroup dcr:0x004D++0x03
line.long 0x00 "MQ0_EAUL,Error Address Register Upper 32 Bits (HB)"
hexmask.long 0x00 0.--31. 1. " EA   ,Error Address"
rgroup dcr:0x004E++0x03
line.long 0x00 "MQ0_EALL,Error Address Register Lower 32 Bits (LL)"
hexmask.long 0x00 0.--31. 1. " EA   ,Error Address"
group dcr:0x004F++0x03
line.long 0x00 "MQ0_CFBHL,Configuration Between HB and LL Paths Register"
bitfld.long 0x00 28.--31. " TPLM ,Transaction Passing Limit" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 27. "         TPEN  ,Transaction Passing Enable" "-,Enabled"
bitfld.long 0x00 26. "   MQST ,MQ Stop " "-,Halted"
textline "                    "
bitfld.long 0x00 23.--25. " HBCL ,MCIF Cycle Limit" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 0. "          H2OMW ,H2O MQ Watermark" "No,Yes"
width 0x0B
endif
tree.end
;tree "MQ (Memory Queue Module)"
tree "DDR SDRAM Controller"
sif ((cpu()=="PPC440GRX")||(cpu()=="PPC440EPX"))
width 9.
group dcr:0x011++0x00
out dcr:0x010 %l 0x00
line.long 0x00 "DDR0_00,DDR-SDRAM Register 0"
bitfld.long 0x00 30. "  INTACK0 ,Clear Mask of the INT_STATUS 0 Parameter" "-,Cleared"
bitfld.long 0x00 29. "    INTACK1 ,Clear Mask of the INT_STATUS 1 Parameter" "-,Cleared"
bitfld.long 0x00 28. "    INTACK2 ,Clear Mask of the INT_STATUS 2 Parameter" "-,Cleared"
bitfld.long 0x00 27. "    INTACK3 ,Clear Mask of the INT_STATUS 3 Parameter" "-,Cleared"
bitfld.long 0x00 26. "    INTACK4 ,Clear Mask of the INT_STATUS 4 Parameter" "-,Cleared"
textline "                  "
bitfld.long 0x00 25. "  INTACK5 ,Clear Mask of the INT_STATUS 5 Parameter" "-,Cleared"
bitfld.long 0x00 24. "    INTACK6 ,Clear Mask of the INT_STATUS 6 Parameter" "-,Cleared"
textline "                  "
bitfld.long 0x00 23. " INT_STA0 ,Logical OR of 9:15 Bits" "-,Detected"
bitfld.long 0x00 22. "  INT_STA1 ,DRAM Initialization Complete" "-,Completed"
bitfld.long 0x00 21. " INT_STA2 ,Multiple Uncorrectable ECC Events Detected" "-,Detected"
bitfld.long 0x00 20. "  INT_STA3 ,Single Uncorrectable ECC Event Detected" "-,Detected"
bitfld.long 0x00 19. "  INT_STA4 ,Multiple Correctable ECC Events Detected" "-,Detected"
textline "                  "
bitfld.long 0x00 18. " INT_STA5 ,Single Correctable ECC Event Detected" "-,Detected"
bitfld.long 0x00 17. "  INT_STA6 ,Multiple Accesses Outside Event Detected" "-,Detected"
bitfld.long 0x00 16. "  INT_STA7 ,Single Access Outside Event Detected" "-,Detected"
textline "                  "
hexmask.long.byte 0x00 8.--14. 1. " DLLINC      ,Number of Elements to Add to DLL_START_POINT"
hexmask.long.byte 0x00 0.--6. 1. "         DLLSP       ,Initial Delay Count when Searching for Lock in Master DLL"
group dcr:0x011++0x00
out dcr:0x010 %l 0x01
line.long 0x00 "DDR0_01,DDR-SDRAM Register 1"
bitfld.long 0x00 24.--28. " CSLO        ,PLB DATABAHN CS Lower Address" "00000,00001,00010,00011,00100,00101,00110,00111,01000,01001,01010,01011,01100,01101,01110,01111,10000,10001,10010,10011,10100,10101,10110,10111,11000,11001,11010,11011,11100,11101,11110,11111"
bitfld.long 0x00 16.--20. "      CSUP        ,PLB DATABAHN CS Upper Address" "00000,00001,00010,00011,00100,00101,00110,00111,01000,01001,01010,01011,01100,01101,01110,01111,10000,10001,10010,10011,10100,10101,10110,10111,11000,11001,11010,11011,11100,11101,11110,11111"
bitfld.long 0x00 8.--10. "      OORTYP      ,Type of Command that Caused an Out-of-Range Interrupt" "Write,Read,Masked write,Illegal,Wrap write,Wrap read,Illegal,Illegal"
hexmask.long.byte 0x00 0.--7. 1. " INTMSK      ,Mask for Controller Interrupt Signals from the INT_STATUS Parameter"
group dcr:0x011++0x00
out dcr:0x010 %l 0x02
line.long 0x00 "DDR0_02,DDR-SDRAM Register 2"
bitfld.long 0x00 24.--25. " MAXCS       ,Maximum Number of Chip Selects Available" "0,1,2,3"
bitfld.long 0x00 16.--19. "          MAXCOL      ,Maximum Width of Column Address in DRAMs" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00  8.--11. "         MAXROW      ,Maximum Width of Memory Address Bus" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00  0.      " START       ,Initiate Command Processing in the Controller" "-,Active"
group dcr:0x011++0x00
out dcr:0x010 %l 0x03
line.long 0x00 "DDR0_03,DDR-SDRAM Register 3"
bitfld.long 0x00 24.--26. " BSTLEN      ,Encoded Burst Length Sent to DRAMs During Initialization" "Reserved,2 words,4 words,8 words,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 16.--18. "   CAS         ,Encoded CAS Latency Sent to DRAMs During Initialization" "000,001,010,011,100,101,110,111"
bitfld.long 0x00 8.--11. "        CLATLN      ,Sets Latency from Read Command Send to Data Receive from/to Controller" "Reserved,Reserved,Reserved,1.5 cycles,2 cycles,2.5 cycles,3 cycles,3.5 cycles,4 cycles,Reserved,5 cycles,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 0.--3. " INAREF      ,Number of Auto-refresh Commands to Execute During DRAM Initialization" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
group dcr:0x011++0x00
out dcr:0x010 %l 0x04
line.long 0x00 "DDR0_04,DDR-SDRAM Register 4"
bitfld.long 0x00 24.--28. " TRC         ,DRAM TRC Parameter in Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x00 16.--18. "         TRRD        ,DRAM TRRD Parameter in Cycles" "0,1,2,3,4,5,6,7"
bitfld.long 0x00  8.--10. "          TRTP        ,DRAM TRTP Parameter in Cycles" "0,1,2,3,4,5,6,7"
group dcr:0x011++0x00
out dcr:0x010 %l 0x05
line.long 0x00 "DDR0_05,DDR-SDRAM Register 5"
bitfld.long 0x00 24.--28. " TMRD        ,DRAM TMRD Parameter in Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x00 16.--18. "         TEMRS       ,DRAM TEMRS Parameter in Cycles" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 8.--11. "          TRP         ,DRAM TRP Parameter in Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
hexmask.long.byte 0x00 0.--7. 1. " TRASMN      ,DRAM TRAS_MIN Parameter in Cycles"
group dcr:0x011++0x00
out dcr:0x010 %l 0x06
line.long 0x00 "DDR0_06,DDR-SDRAM Register 6"
bitfld.long 0x00 24. " WINTRP      ,Allow Controller to Interrupt write Bursts to the DRAMs with a Read Command" "-,Supported"
bitfld.long 0x00 16.--18. "  TWTR        ,DRAM TWTR Parameter in Cycles" "0,1,2,3,4,5,6,7"
hexmask.long.byte 0x00 8.--15. 1. "          TDLL        ,DRAM TDLL Parameter in Cycles"
hexmask.long.byte 0x00 0.--6. 1. " TRFC        ,DRAM TRFC Parameter in Cycles"
group dcr:0x011++0x00
out dcr:0x010 %l 0x07
line.long 0x00 "DDR0_07,DDR-SDRAM Register 7"
bitfld.long 0x00 24. " NCI         ,Disable DRAM Commands until TDLL has Expired During Initialization" "-,Disabled"
bitfld.long 0x00 16.--20. "   TFAW        ,DRAM TFAW Parameter in Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x00 8. "         ARM         ,Automatic refresh at Next Burst / Next Command Boundary" "Burst,Command"
bitfld.long 0x00 0. " AREFR       ,Initiate Auto-refresh" "-,Initiated"
group dcr:0x011++0x00
out dcr:0x010 %l 0x08
line.long 0x00 "DDR0_08,DDR-SDRAM Register 8"
bitfld.long 0x00 24.--26. " WRLAT       ,DRAM WRLAT Parameter in Cycles" "0,1,2,3,4,5,6,7"
hexmask.long.byte 0x00 16.--23. 1. "          TCPD        ,DRAM TCPD Parameter in Cycles"
bitfld.long 0x00 8. "         DQSNEN      ,Single-ended or Differential DQS Pins" "Single-ended,Reserved"
bitfld.long 0x00 0. " DDR2        ,Select DDR1 or DDR2 mode" "DDR1,DDR2"
group dcr:0x011++0x00
out dcr:0x010 %l 0x09
line.long 0x00 "DDR0_09,DDR-SDRAM Register 9"
bitfld.long 0x00 31. " OAPDC031 ,OCD Setting" "Decrement,Increment"
bitfld.long 0x00 30. "  OAPDC030    ,OCD Setting" "Decrement,Increment"
bitfld.long 0x00 29. "  OAPDC029  ,OCD Setting" "Decrement,Increment"
textline "                  "
bitfld.long 0x00 28. " OAPDC028 ,OCD Setting" "Decrement,Increment"
bitfld.long 0x00 24.--27. "  OAPDC027_24 ,Number of OCD Adjust Commands to Issue" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 16.--17. "         RTT0        ,On-Die Termination Resistance Setting for Chip Select 0" "-,75 ohm,150 ohm,Reserved"
textline "                  "        
hexmask.long.byte 0x00 8.--14. 1. " WDSB        ,Fraction of a Cycle of Delay in the Write Data Path"
hexmask.long.byte 0x00 0.--6. 1. "         WDS         ,Fraction of a Cycle of Delay in the Write Data Path in the Controller"
group dcr:0x011++0x00
out dcr:0x010 %l 0x0a
line.long 0x00 "DDR0_10,DDR-SDRAM Register 10"
bitfld.long 0x00 16. " WMDREG ,Write EMRS data to the DRAMs" "-,Written"
bitfld.long 0x00 8.--9. "  CSMAP  ,Number of Active Chip Selects used in Address Decoding" "-,Rank 0 installed,Rank 1 installed,Rank 0/1 installed"
bitfld.long 0x00 4. "  OAPUC04 ,OCD Setting" "Decrement,Increment"
bitfld.long 0x00 0.--3. " OAPUC0 ,Number of OCD Adjust Commands to Issue" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
group dcr:0x011++0x00
out dcr:0x010 %l 0x0b
line.long 0x00 "DDR0_11,DDR-SDRAM Register 11"
bitfld.long 0x00 24. " SREFR  ,Place DRAMs in Self-refresh Mode" "-,Enabled"
hexmask.long.byte 0x00 16.--23. 1. "  TXSNR  ,DRAM TXSNR Parameter in Cycles"
hexmask.long.byte 0x00 8.--15. 1. "                  TXSR    ,DRAM TXSR Parameter in Cycles"
group dcr:0x011++0x00
out dcr:0x010 %l 0x0c
line.long 0x00 "DDR0_12,DDR-SDRAM Register 12"
bitfld.long 0x00 0.--2. " TCKE   ,Minimum CKE Pulse Width in Cycles" "0,1,2,3,4,5,6,7"
group dcr:0x011++0x00
out dcr:0x010 %l 0x0e
line.long 0x00 "DDR0_14,DDR-SDRAM Register 14"
bitfld.long 0x00 24. " DLLBYP ,Enable the DLL Bypass Feature of the Controller" "-,Bypassed"
bitfld.long 0x00 16. " REDUC  ,Enable the Half Data Path Feature of the Controller" "64/72 bits,32/40 bits"
bitfld.long 0x00 8. "          RDIM    ,Enable Registered DIMM Operation of the Controller" "-,Enabled"
group dcr:0x011++0x00
out dcr:0x010 %l 0x11
line.long 0x00 "DDR0_17,DDR-SDRAM Register 17"
hexmask.long.byte 0x00 24.--30. 1. " DDQSD0 ,Fraction of a Cycle to Delay the DQS Signal"
bitfld.long 0x00 16. "  DLKREG ,DLL lock/unlock" "-,Locked"
hexmask.long.byte 0x00  8.--14. 1. "  DLLLOK ,Number of Delay Elements in Master DLL Lock"
group dcr:0x011++0x00
out dcr:0x010 %l 0x12
line.long 0x00 "DDR0_18,DDR-SDRAM Register 18"
hexmask.long.byte 0x00 24.--30. 1. " DDQSD4 ,Fraction of a Cycle to Delay the DQS Signal from the RAMs for Slice 4 During Reads"
hexmask.long.byte 0x00 16.--22. 1. "  DDQSD3 ,Fraction of a Cycle to Delay the DQS Signal from the DRAMs for Slice 3 During Reads"
hexmask.long.byte 0x00  8.--14. 1. "  DDQSD2 ,Fraction of a Cycle to Delay the DQS Signal From the DRAMs for Slice 2 During Reads"
hexmask.long.byte 0x00  0.--6.  1. "  DDQSD1 ,Fraction of a Cycle to Delay the DQS Signal From the DRAMs for Slice 1 During Reads"
group dcr:0x011++0x00
out dcr:0x010 %l 0x13
line.long 0x00 "DDR0_19,DDR-SDRAM Register 19"
hexmask.long.byte 0x00 24.--30. 1. " DDQSD8 ,Fraction of a Cycle to Delay the DQS Signal from the DRAMs for Slice 8 During Reads"
hexmask.long.byte 0x00 16.--22. 1. "  DDQSD7 ,Fraction of a Cycle to Delay the DQS Signal from the DRAMs for Slice 7 During Reads"
hexmask.long.byte 0x00  8.--14. 1. "  DDQSD6 ,Fraction of a Cycle to Delay the DQS Signal from the DRAMs for Slice 6 During Reads"
hexmask.long.byte 0x00  0.--6.  1. "  DDQSD5 ,Fraction of a Cycle to Delay the DQS Signal from the DRAMs for Slice 5 During Reads"
group dcr:0x011++0x00
out dcr:0x010 %l 0x14
line.long 0x00 "DDR0_20,DDR-SDRAM Register 20"
hexmask.long.byte 0x00 24.--30. 1. "  DDDB3 ,Fraction of a Cycle to Delay the DQS Signal from the DRAMs for Slice 3"
hexmask.long.byte 0x00 16.--22. 1. "   DDDB2 ,Fraction of a Cycle to Delay the DQS Signal from the DRAMs for Slice 2"
hexmask.long.byte 0x00  8.--14. 1. "   DDDB1 ,Fraction of a Cycle to Delay the DQS Signal from the DRAMs for Slice 1"
hexmask.long.byte 0x00  0.--6.  1. "   DDDB0 ,Fraction of a Cycle to Delay the DQS Signal from the DRAMs for Slice 0"
group dcr:0x011++0x00
out dcr:0x010 %l 0x15
line.long 0x00 "DDR0_21,DDR-SDRAM Register 21"
hexmask.long.byte 0x00 24.--30. 1. "  DDDB7 ,Fraction of a Cycle to Delay the DQS Signal from the DRAMs for Slice 7"
hexmask.long.byte 0x00 16.--22. 1. "   DDDB6 ,Fraction of a Cycle to Delay the DQS Signal from the DRAMs for Slice 6"
hexmask.long.byte 0x00  8.--14. 1. "   DDDB5 ,Fraction of a Cycle to Delay the DQS Signal from the DRAMs for Slice 5"
hexmask.long.byte 0x00  0.--6.  1. "   DDDB4 ,Fraction of a Cycle to Delay the DQS Signal from the DRAMs for Slice 4"
group dcr:0x011++0x00
out dcr:0x010 %l 0x16
line.long 0x00 "DDR0_22,DDR-SDRAM Register 22"
bitfld.long 0x00 24.--25. " CTLRAW ,ECC Error Checking and Correcting Control" "-,ECC,No storage,ECC/Correction"
hexmask.long.byte 0x00 16.--22. 1. "  DQSOSB ,Fraction of a Cycle to Delay the Write DQS Signal to the DRAMs During Write"
hexmask.long.byte 0x00  8.--14. 1. "      DQSOSH ,Fraction of a Cycle to Delay the Write DQS Signal to the DRAMs During Write"
hexmask.long.byte 0x00  0.--6.  1. " DDDB8  ,Fraction of a Cycle to Delay the DQS Signal from the DRAMs for Slice 8"
group dcr:0x011++0x00
out dcr:0x010 %l 0x17
line.long 0x00 "DDR0_23,DDR-SDRAM Register 23"
bitfld.long 0x00 25. " ORMC01 ,ODT Chip Select 0" "-,Active"
bitfld.long 0x00 24. "          ORMC01 ,ODT Chip Select 1" "-,Active"
hexmask.long.byte 0x00 16.--23. 1. "  ECSYN  ,Syndrome for Correctable ECC Event"
hexmask.long.byte 0x00  8.--15. 1. " EUSYN  ,Syndrome for Uncorrectable ECC Event"
bitfld.long 0x00  0. "              FWC    ,Force a Write Check XOR XOR_CHECK_BITS" "-,Forced"
group dcr:0x011++0x00
out dcr:0x010 %l 0x18
line.long 0x00 "DDR0_24,DDR-SDRAM Register 24"
bitfld.long 0x00 24.--25. " RTTPT  ,Set Termination Resistance in Controller Pads" "-,75 ohm,Reserved,Reserved"
bitfld.long 0x00 16.--17. "        OWMC1  ,ODT Chip Select 1 Map for Writes" "0,1,2,3"
bitfld.long 0x00 8.--9. "       ORMC1  ,ODT Chip Select 1 Map for Writes" "0,1,2,3"
bitfld.long 0x00 0.--1. " OWMC0  ,ODT Chip Select 0 map for writes" "Reserved,CS0,CS1,Reserved"
rgroup dcr:0x011++0x00
out dcr:0x010 %l 0x19
line.long 0x00 "DDR0_25,DDR-SDRAM Register 25"
hexmask.long 0x00 15.--31. 1. " VER      ,Controller Version Number"
hexmask.long.word  0x00  0.--9.  1. "    OORLEN  ,Length of Command that Caused an Out-of-Range Interrupt"
group dcr:0x011++0x00
out dcr:0x010 %l 0x1a
line.long 0x00 "DDR0_26,DDR-SDRAM Register 26"
hexmask.long.word 0x00 16.--31. 1. " TRAS_MAX ,DRAM TRAS_MAX Parameter in Cycles"
hexmask.long.word 0x00  0.--13. 1. "      TREF    ,DRAM TREF Parameter in Cycles"
group dcr:0x011++0x00
out dcr:0x010 %l 0x1b
line.long 0x00 "DDR0_27,DDR-SDRAM Register 27"
hexmask.long.word 0x00 16.--29. 1. " EMRSDT   ,Extended Mode Register"
hexmask.long.word 0x00  0.--15. 1. "      TINIT   ,DRAM TINIT Parameter in Cycles"
group dcr:0x011++0x00
out dcr:0x010 %l 0x1c
line.long 0x00 "DDR0_28,DDR-SDRAM Register 28"
hexmask.long.word 0x00 16.--29. 1. " EMRS3D   ,EMRS3 Data Written During DDRII Initialization"
hexmask.long.word 0x00  0.--13. 1. "      EMRS2D  ,EMRS2 Data Written During DDRII Initialization"
group dcr:0x011++0x00
out dcr:0x010 %l 0x1f
line.long 0x00 "DDR0_31,DDR-SDRAM Register 31"
hexmask.long.word 0x00 0.--15. 1. " XORCB    ,Value to XOR with Generated ECC Codes for Forced Write Check"
rgroup dcr:0x011++0x00
out dcr:0x010 %l 0x20
line.long 0x00 "DDR0_32,DDR-SDRAM Register 32"
hexmask.long 0x00 0.--31. 1. " OORALO   ,Address of Command that Caused an Out-of-Range Interrupt"
rgroup dcr:0x011++0x00
out dcr:0x010 %l 0x21
line.long 0x00 "DDR0_33,DDR-SDRAM Register 33"
bitfld.long 0x00 0. " OORAUP   ,Address of Command that Caused an Out-of-Range Interrupt" "0,1"
rgroup dcr:0x011++0x00
out dcr:0x010 %l 0x22
line.long 0x00 "DDR0_34,DDR-SDRAM Register 34"
hexmask.long 0x00 0.--31. 1. " EUALO    ,Address of Uncorrectable ECC Event"
rgroup dcr:0x011++0x00
out dcr:0x010 %l 0x23
line.long 0x00 "DDR0_35,DDR-SDRAM Register 35"
bitfld.long 0x00 0. " EUAUP    ,Address of Uncorrectable ECC Event" "0,1"
rgroup dcr:0x011++0x00
out dcr:0x010 %l 0x24
line.long 0x00 "DDR0_36,DDR-SDRAM Register 36"
hexmask.long 0x00 0.--31. 1. " EUDLO    ,Data Associated with Uncorrectable ECC Event"
rgroup dcr:0x011++0x00
out dcr:0x010 %l 0x25
line.long 0x00 "DDR0_37,DDR-SDRAM Register 37"
hexmask.long 0x00 0.--31. 1. " EUDUP    ,Data Associated with Uncorrectable ECC Event"
rgroup dcr:0x011++0x00
out dcr:0x010 %l 0x26
line.long 0x00 "DDR0_38,DDR-SDRAM Register 38"
hexmask.long 0x00 0.--31. 1. " ECALO    ,Address of Correctable ECC Event"
rgroup dcr:0x011++0x00
out dcr:0x010 %l 0x27
line.long 0x00 "DDR0_39,DDR-SDRAM Register 39"
bitfld.long 0x00 0. " ECAUP    ,Address of Correctable ECC Event" "0,1"
rgroup dcr:0x011++0x00
out dcr:0x010 %l 0x28
line.long 0x00 "DDR0_40,DDR-SDRAM Register 40"
hexmask.long 0x00 0.--31. 1. " ECDLO    ,Data Associated with Correctable ECC Event"
rgroup dcr:0x011++0x00
out dcr:0x010 %l 0x29
line.long 0x00 "DDR0_41,DDR-SDRAM Register 41"
hexmask.long 0x00 0.--31. 1. " ECDUP    ,Data Associated with Correctable ECC Event"
group dcr:0x011++0x00
out dcr:0x010 %l 0x2a
line.long 0x00 "DDR0_42,DDR-SDRAM Register 42"
bitfld.long 0x00 24.--26. " APIN     ,Difference Between the Maximum Number of Address Pins Available (14) and the Number being Used" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 0.--3. "         CLGATE  ,Adjusts Data Capture Gate Open by Half-Cycles" "Reserved,Reserved,Reserved,1.5 cycles,2 cycles,2.5 cycles,3 cycles,3.5 cycles,4 cycles,Reserved,5 cycles,Reserved,Reserved,Reserved,Reserved,Reserved"
group dcr:0x011++0x00
out dcr:0x010 %l 0x2b
line.long 0x00 "DDR0_43,DDR-SDRAM Register 43"
bitfld.long 0x00 24.--26. " TWR      ,DRAM TWR Parameter in Cycles" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 16.--19. "         APREBIT ,Location of the Automatic Precharge bit in the DRAM Address" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 8.--10. "          COLSIZ ,Difference Between Maximum Number of Column Pins Available(12) and Number Being Used" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 0. " BNK8     ,Number of Banks on the DRAM" "4 banks,8 banks"
group dcr:0x011++0x00
out dcr:0x010 %l 0x2c
line.long 0x00 "DDR0_44,DDR-SDRAM Register 44"
hexmask.long.byte 0x00 0.--7. 1. " TRCD     ,DRAM TRCD Parameter in Cycles"

elif (cpu()=="PPC440GR")
width 18.
sif (cpu()=="PPC440GR")||(cpu()=="PPC440GP")
group dcr:0x011++0x0
out dcr:0x010 %l 0x00
line.long 0x0 "SDRAM0_BESR0,Bus Error Syndrome Register 0"
sif (cpu()=="PPC440GR")    
bitfld.long 0x00 29.--31. " M0ET ,Master 0 Error Type" "-,Reserved,ECC error,Reserved,Reserved,Reserved,Reserved,Reserved"    
else
eventfld.long 0x00 29.--31. " M0ET ,Master 0 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
endif        
eventfld.long 0x00 28. "   M0RW ,Master 0 Read/Write Status" "Write error,Read error"
eventfld.long 0x00 27. " M0FL ,Master 0 Field Lock" "-,Locked"
eventfld.long 0x00 26. "      M0AL ,Master 0 Address Lock" "-,Locked"
textline "                           "       
sif (cpu()=="PPC440GR")
bitfld.long 0x00 23.--25. " M1ET ,Master 1 Error Type" "-,Reserved,ECC error,Reserved,Reserved,Reserved,Reserved,Reserved"
else
eventfld.long 0x00 23.--25. " M1ET ,Master 1 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
endif                
eventfld.long 0x00 22. "   M1RW ,Master 1 Read/Write Status" "Reserved,Read error"
eventfld.long 0x00 21. "  M1FL ,Master 1 Field Lock" "-,Locked"
eventfld.long 0x00 20. "      M1AL ,Master 1 Address Lock" "-,Locked"
textline "                           "
sif (cpu()=="PPC440GR")    
bitfld.long 0x00 17.--19. " M2ET ,Master 2 Error Type" "-,Reserved,ECC error,Reserved,Reserved,Reserved,Reserved,Reserved"
else
eventfld.long 0x00 17.--19. " M2ET ,Master 2 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
endif                
eventfld.long 0x00 16. "   M2RW ,Master 2 Read/Write Status" "Write error,Read error"
eventfld.long 0x00 15. " M2FL ,Master 2 Field Lock" "-,Locked"
eventfld.long 0x00 14. "      M2AL ,Master 2 Address Lock" "-,Locked"
textline "                           "
sif (cpu()=="PPC440GR")    
bitfld.long 0x00 11.--13. " M3ET ,Master 3 Error Type" "-,Reserved,ECC error,Reserved,Reserved,Reserved,Reserved,Reserved"
else
eventfld.long 0x00 11.--13. " M3ET ,Master 3 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
endif                
eventfld.long 0x00 10. "   M3RW ,Master 3 Read/Write Status" "Write error,Read error"
eventfld.long 0x00 9. " M3FL ,Master 3 Field Lock" "-,Locked"
eventfld.long 0x00 8. "      M3AL ,Master 3 Address Lock" "-,Locked"
wgroup dcr:0x011++0x0
out dcr:0x010 %l 0x04
line.long 0x0 "SDRAM0_BESR0_SET,Bus Error Syndrome Register 0 Set"
bitfld.long  0x00 31. " M0ET_SET[2] ,Master 0 Error Type Set" "-,Set"
bitfld.long  0x00 30. "  M0ET_SET[1] ,Master 0 Error Type Set" "-,Set"
bitfld.long  0x00 29. "  M0ET_SET[0] ,Master 0 Error Type Set" "-,Set"
bitfld.long  0x00 28. "  M0RW_SET    ,Master 0 Read/Write Status Set" "-,Set"
textline "                           "
bitfld.long  0x00 27. " M0FL_SET    ,Master 0 Field Lock Set" "-,Set"
bitfld.long  0x00 26. "  M0AL_SET    ,Master 0 Address Lock Set" "-,Set"
bitfld.long  0x00 25. "  M1ET_SET[2] ,Master 1 Error Type Set" "-,Set"
bitfld.long  0x00 24. "  M1ET_SET[1] ,Master 1 Error Type Set" "-,Set"
textline "                           "
bitfld.long  0x00 23. " M1ET_SET[0] ,Master 1 Error Type Set" "-,Set"
bitfld.long  0x00 22. "  M1RW_SET    ,Master 1 Read/Write Status Set" "-,Set"
bitfld.long  0x00 21. "  M1FL_SET    ,Master 1 Field Lock Set" "-,Set"
bitfld.long  0x00 20. "  M1AL_SET    ,Master 1 Address Lock Set" "-,Set"
textline "                           "
bitfld.long  0x00 19. " M2ET_SET[2] ,Master 2 Error Type Set" "-,Set"
bitfld.long  0x00 18. "  M2ET_SET[1] ,Master 2 Error Type Set" "-,Set"
bitfld.long  0x00 17. "  M2ET_SET[0] ,Master 2 Error Type Set" "-,Set"
bitfld.long  0x00 16. "  M2RW_SET    ,Master 2 Read/Write Status Set" "-,Set"
textline "                           "
bitfld.long  0x00 15. " M2FL_SET    ,Master 2 Field Lock Set" "-,Set"
bitfld.long  0x00 14. "  M2AL_SET    ,Master 2 Address Lock Set" "-,Set"
bitfld.long  0x00 13. "  M3ET_SET[2] ,Master 3 Error Type Set" "-,Set"
bitfld.long  0x00 12. "  M3ET_SET[1] ,Master 3 Error Type Set" "-,Set"
textline "                           "
bitfld.long  0x00 11. " M3ET_SET[0] ,Master 3 Error Type Set" "-,Set"
bitfld.long  0x00 10. "  M3RW_SET    ,Master 3 Read/Write Status Set" "-,Set"
bitfld.long  0x00 9.  "  M3FL_SET    ,Master 3 Field Lock Set" "-,Set"
bitfld.long  0x00 8.  "  M3AL_SET    ,Master 3 Address Lock Set" "-,Set"    
group dcr:0x011++0x00
out dcr:0x010 %l 0x08
line.long 0x0 "SDRAM0_BESR1,Bus Error Syndrome Register 1"
sif (cpu()=="PPC440GR")    
bitfld.long 0x00 29.--31. " M4ET ,Master 4 Error Type" "-,Reserved,ECC error,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 28. "   M4RW ,Master 4 Read/Write" "Write error,Read error"
eventfld.long 0x00 27. " M4FL ,Master 4 Field Lock" "-,Locked"
eventfld.long 0x00 26. "      M4AL ,Master 4 Address Lock" "-,Locked"
textline "                           "
bitfld.long 0x00 23.--25. " M5ET ,Master 5 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 22. "   M5RW ,Master 5 Read/Write" "Write error,Read error"
textline "                           "
eventfld.long 0x00 21. " M5FL ,Master 5 Field Lock" "-,Locked"    
else
eventfld.long 0x00 23.--25. " M5ET ,Master 5 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 22. "   M5RW ,Master 5 Read/Write" "Reserved,Read error"    
eventfld.long 0x00 21. "  M5FL ,Master 5 Field Lock" "-,Locked"    
endif    
eventfld.long 0x00 20. "      M5AL ,Master 5 Address Lock" "-,Locked"
textline "                           "
eventfld.long 0x00 17.--19. " M6ET ,Master 6 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 16. "   M6RW ,Master 6 Read/Write" "Write error,Read error"
eventfld.long 0x00 15. " M6FL ,Master 6 Field Lock" "-,Locked"
eventfld.long 0x00 14. "      M6AL ,Master 6 Address Lock" "-,Locked"
textline "                           "
eventfld.long 0x00 11.--13. " M7ET ,Master 7 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 10. "   M7RW ,Master 7 Read/Write" "Write error,Read error"
eventfld.long 0x00 9. " M7FL ,Master 7 Field Lock" "-,Locked"
eventfld.long 0x00 8. "      M7AL ,Master 7 Address Lock" "-,Locked"
wgroup dcr:0x011++0x00
out dcr:0x010 %l 0x0c
line.long 0x0 "SDRAM0_BESR1_SET,Bus Error Syndrome Register 1 Set"
bitfld.long 0x00 31. " M4ET_SET[2] ,Master 4 Error Type Set" "-,Set"
bitfld.long 0x00 30. "  M4ET_SET[1] ,Master 4 Error Type Set" "-,Set"
bitfld.long 0x00 29. "  M4ET_SET[0] ,Master 4 Error Type Set" "-,Set"
bitfld.long 0x00 28. "  M4RW_SET    ,Master 4 Read/Write Status Set" "-,Set"
textline "                           "
bitfld.long 0x00 27. " M4FL_SET    ,Master 4 Field Lock Set" "-,Set"
bitfld.long 0x00 26. "  M4AL_SET    ,Master 4 Address Lock Set" "-,Set"
bitfld.long 0x00 25. "  M5ET_SET[2] ,Master 5 Error Type Set" "-,Set"
bitfld.long 0x00 24. "  M5ET_SET[1] ,Master 5 Error Type Set" "-,Set"
textline "                           "
bitfld.long 0x00 23. " M5ET_SET[0] ,Master 5 Error Type Set" "-,Set"
bitfld.long 0x00 22. "  M5RW_SET    ,Master 5 Read/Write Status Set" "-,Set"
bitfld.long 0x00 21. "  M5FL_SET    ,Master 5 Field Lock Set" "-,Set"
bitfld.long 0x00 20. "  M5AL_SET    ,Master 5 Address Lock Set" "-,Set"
textline "                           "
bitfld.long 0x00 19. " M6ET_SET[2] ,Master 6 Error Type Set" "-,Set"
bitfld.long 0x00 18. "  M6ET_SET[1] ,Master 6 Error Type Set" "-,Set"
bitfld.long 0x00 17. "  M6ET_SET[0] ,Master 6 Error Type Set" "-,Set"
bitfld.long 0x00 16. "  M6RW_SET    ,Master 6 Read/Write Status Set" "-,Set"
textline "                           "
bitfld.long 0x00 15. " M6FL_SET    ,Master 6 Field Lock Set" "-,Set"
bitfld.long 0x00 14. "  M6AL_SET    ,Master 6 Address Lock Set" "-,Set"
bitfld.long 0x00 13. "  M7ET_SET[2] ,Master 7 Error Type Set" "-,Set"
bitfld.long 0x00 12. "  M7ET_SET[1] ,Master 7 Error Type Set" "-,Set"
textline "                           "
bitfld.long 0x00 11. " M7ET_SET[0] ,Master 7 Error Type Set" "-,Set"
bitfld.long 0x00 10. "  M7RW_SET    ,Master 7 Read/Write Status Set" "-,Set"
bitfld.long 0x00  9. "  M7FL_SET    ,Master 7 Field Lock Set" "-,Set"
bitfld.long 0x00  8. "  M7AL_SET    ,Master 7 Address Lock Set" "-,Set"
elif (cpu()=="PPC440GX")
group dcr:0x011++0x0
out dcr:0x010 %l 0x00
line.long 0x0 "SDRAM0_BESR0,Bus Error Syndrome Register 0 0"
eventfld.long 0x00 29.--31. " M0ET ,Master 0 Error Type (read-only instruction cache unit (ICU))" "-,Reserved,ECC,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 28. "  M0RW ,Master 0 Read/Write Status (read-only instruction cache unit (ICU))" "Write,Read"
eventfld.long 0x00 27. "     M0FL ,Master 0 Field Lock (read-only instruction cache unit (ICU))" "-,Locked"
eventfld.long 0x00 26. "  M0AL ,Master 0 Address Lock (read-only instruction cache unit (ICU))" "-,Locked"
textline "                           "
eventfld.long 0x00 23.--25. " M1ET ,Master 1 Error Type (read-only data cache unit (DCU))" "-,Reserved,ECC,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 22. "  M1RW ,Master 1 Read/Write Status (read-only data cache unit (DCU))" "Reserved,Read"
eventfld.long 0x00 21. "  M1FL ,Master 1 Field Lock (read-only data cache unit (DCU))" "-,Locked"
eventfld.long 0x00 20. "  M1AL ,Master 1 Address Lock (read-only data cache unit (DCU))" "-,Locked"
textline "                           "
eventfld.long 0x00 17.--19. " M2ET ,Master 2 Error Type (write-only data cache unit (DCU))" "-,Reserved,ECC,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 16. "  M2RW ,Master 2 Read/Write Status (write-only data cache unit (DCU))" "Write,Reserved"
eventfld.long 0x00 15. "  M2FL ,Master 2 Field Lock (write-only data cache unit (DCU))" "-,Locked"
eventfld.long 0x00 14. "  M2AL ,Master 2 Address Lock (write-only data cache unit (DCU))" "-,Locked"
textline "                           "
eventfld.long 0x00 11.--13. " M3ET ,Master 3 Error Type (PCIX bridge controller)" "-,Reserved,ECC,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 10. "  M3RW ,Master 3 Read/Write Status (PCIX bridge controller)" "Write,Read"
eventfld.long 0x00 9. "     M3FL ,Master 3 Field Lock (PCIX bridge controller)" "-,Locked"
eventfld.long 0x00 8. "  M3AL ,Master 3 Address Lock (PCIX bridge controller)" "-,Locked"
group dcr:0x011++0x0
out dcr:0x010 %l 0x04
line.long 0x0 "SDRAM0_BESR0S,Bus Error Syndrome Register 0 0 Set"
bitfld.long 0x00 31. " M0ET0S ,Master 0 Error Type 0 (read-only instruction cache unit (ICU)) Set" "-,Set"
bitfld.long 0x00 30. "  M0ET1S ,Master 0 Error Type 1 (read-only instruction cache unit (ICU)) Set" "-,Set"
bitfld.long 0x00 29. "  M0ET2S ,Master 0 Error Type  2(read-only instruction cache unit (ICU)) Set" "-,Set"
bitfld.long 0x00 28. "  M0RWS  ,Master 0 Read/Write Status (read-only instruction cache unit (ICU)) Set" "-,Set"
bitfld.long 0x00 27. "  M0FLS ,Master 0 Field Lock (read-only instruction cache unit (ICU)) Set" "-,Set"
bitfld.long 0x00 26. "  M0ALS ,Master 0 Address Lock (read-only instruction cache unit (ICU)) Set" "-,Set"
textline "                           "
bitfld.long 0x00 25. " M1ET0S ,Master 1 Error Type 0 (read-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 24. "  M1ET1S ,Master 1 Error Type 1 (read-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 23. "  M1ET2S ,Master 1 Error Type 2 (read-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 22. "  M1RWS  ,Master 1 Read/Write Status (read-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 21. "  M1FLS ,Master 1 Field Lock (read-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 20. "  M1ALS ,Master 1 Address Lock (read-only data cache unit (DCU)) Set" "-,Set"
textline "                           "
bitfld.long 0x00 19. " M2ET0S ,Master 2 Error Type 0 (write-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 18. "  M2ET1S ,Master 2 Error Type 1 (write-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 17. "  M2ET2S ,Master 2 Error Type 2 (write-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 16. "  M2RWS  ,Master 2 Read/Write Status (write-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 15. "  M2FLS ,Master 2 Field Lock (write-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 14. "  M2ALS ,Master 2 Address Lock (write-only data cache unit (DCU)) Set" "-,Set"
textline "                           "
bitfld.long 0x00 13. " M3ET0S ,Master 3 Error Type 0 (PCIX bridge controller) Set" "-,Set"
bitfld.long 0x00 12. "  M3ET1S ,Master 3 Error Type 1 (PCIX bridge controller) Set" "-,Set"
bitfld.long 0x00 11. "  M3ET2S ,Master 3 Error Type 2 (PCIX bridge controller) Set" "-,Set"
bitfld.long 0x00 10. "  M3RWS  ,Master 3 Read/Write Status (PCIX bridge controller) Set" "-,Set"
bitfld.long 0x00 9. "  M3FLS ,Master 3 Field Lock (PCIX bridge controller) Set" "-,Set"
bitfld.long 0x00 8. "  M3ALS ,Master 3 Address Lock (PCIX bridge controller) Set" "-,Set"            
group dcr:0x011++0x00
out dcr:0x010 %l 0x08
line.long 0x0 "SDRAM0_BESR1,Bus Error Syndrome Register 0 1"
eventfld.long 0x00 29.--31. " M4ET ,Master 4 Error Type (I2O messaging unit (IMU))" "-,Reserved,ECC,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 28. "  M4RW ,Master 4 Read/Write (I2O messaging unit (IMU))" "Write,Read"
eventfld.long 0x00 27. "  M4FL ,Master 4 Field Lock (I2O messaging unit (IMU))" "-,Locked"
eventfld.long 0x00 26. "  M4AL ,Master 4 Address Lock (I2O messaging unit (IMU))" "-,Locked"
textline "                           "
eventfld.long 0x00 23.--25. " M5ET ,Master 5 Error Type (media access layer (MAL))" "-,Reserved,ECC,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 22. "  M5RW ,Master 5 Read/Write (media access layer (MAL))" "Write,Read"
eventfld.long 0x00 21. "  M5FL ,Master 5 Field Lock (media access layer (MAL))" "-,Locked"
eventfld.long 0x00 20. "  M5AL ,Master 5 Address Lock (media access layer (MAL))" "-,Locked"
textline "                           "
eventfld.long 0x00 17.--19. " M6ET ,Master 6 Error Type (direct memory access controller (DMA))" "-,Reserved,ECC,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 16. "  M6RW ,Master 6 Read/Write (direct memory access controller (DMA))" "Write,Read"
eventfld.long 0x00 15. "  M6FL ,Master 6 Field Lock (direct memory access controller (DMA))" "-,Locked"
eventfld.long 0x00 14. "  M6AL ,Master 6 Address Lock (direct memory access controller (DMA))" "-,Locked"
textline "                           "
eventfld.long 0x00 11.--13. " M7ET ,Master 7 Error Type (OPB to PLB bridge controller)" "-,Reserved,ECC,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 10. "  M7RW ,Master 7 Read/Write (OPB to PLB bridge controller)" "Write,Read"
eventfld.long 0x00 9. "  M7FL ,Master 7 Field Lock (OPB to PLB bridge controller)" "-,Locked"
eventfld.long 0x00 8. "  M7AL ,Master 7 Address Lock (OPB to PLB bridge controller)" "-,Locked"
group dcr:0x011++0x00
out dcr:0x010 %l 0x0c
line.long 0x0 "SDRAM0_BESR1S,Bus Error Syndrome Register 0 1 Set"
bitfld.long 0x00 31. " M4ET0S ,Master 4 Error Type 0 (I2O messaging unit (IMU)) Set" "-,Set"
bitfld.long 0x00 30. "  M4ET1S ,Master 4 Error Type 1 (I2O messaging unit (IMU)) Set" "-,Set"
bitfld.long 0x00 29. "  M4ET2S ,Master 4 Error Type 2 (I2O messaging unit (IMU)) Set" "-,Set"
bitfld.long 0x00 28. "  M4RWS ,Master 4 Read/Write (I2O messaging unit (IMU)) Set" "-,Set"
bitfld.long 0x00 27. "  M4FLS ,Master 4 Field Lock (I2O messaging unit (IMU)) Set" "-,Set"
bitfld.long 0x00 26. "  M4ALS ,Master 4 Address Lock (I2O messaging unit (IMU)) Set" "-,Set"
textline "                           "
bitfld.long 0x00 25. " M5ET0S ,Master 5 Error Type 0 (media access layer (MAL)) Set" "-,Set"
bitfld.long 0x00 24. "  M5ET1S ,Master 5 Error Type 1 (media access layer (MAL)) Set" "-,Set"
bitfld.long 0x00 23. "  M5ET2S ,Master 5 Error Type 2 (media access layer (MAL)) Set" "-,Set"
bitfld.long 0x00 22. "  M5RWS ,Master 5 Read/Write (media access layer (MAL)) Set" "-,Set"
bitfld.long 0x00 21. "  M5FLS ,Master 5 Field Lock (media access layer (MAL)) Set" "-,Set"
bitfld.long 0x00 20. "  M5ALS ,Master 5 Address Lock (media access layer (MAL)) Set" "-,Set"
textline "                           "
bitfld.long 0x00 19. " M6ET0S ,Master 6 Error Type 0 (direct memory access controller (DMA)) Set" "-,Set"
bitfld.long 0x00 18. "  M6ET1S ,Master 6 Error Type 1 (direct memory access controller (DMA)) Set" "-,Set"
bitfld.long 0x00 17. "  M6ET2S ,Master 6 Error Type 2 (direct memory access controller (DMA)) Set" "-,Set"
bitfld.long 0x00 16. "  M6RWS ,Master 6 Read/Write (direct memory access controller (DMA)) Set" "-,Set"
bitfld.long 0x00 15. "  M6FLS ,Master 6 Field Lock (direct memory access controller (DMA)) Set" "-,Set"
bitfld.long 0x00 14. "  M6ALS ,Master 6 Address Lock (direct memory access controller (DMA)) Set" "-,Set"
textline "                           "
bitfld.long 0x00 13. " M7ET0S ,Master 7 Error Type 0 (OPB to PLB bridge controller) Set" "-,Set"
bitfld.long 0x00 12. "  M7ET1S ,Master 7 Error Type 1 (OPB to PLB bridge controller) Set" "-,Set"
bitfld.long 0x00 11. "  M7ET2S ,Master 7 Error Type 2 (OPB to PLB bridge controller) Set" "-,Set"
bitfld.long 0x00 10. "  M7RWS ,Master 7 Read/Write (OPB to PLB bridge controller) Set" "-,Set"
bitfld.long 0x00 9. "  M7FLS ,Master 7 Field Lock (OPB to PLB bridge controller) Set" "-,Set"
bitfld.long 0x00 8. "  M7ALS ,Master 7 Address Lock (OPB to PLB bridge controller) Set" "-,Set"
else
;ppc440ep
group dcr:0x0011++0x0
out dcr:0x0010 %l 0x00000000
line.long 0x00 "SDRAM0_BESR0,Bus Error Status Register 0"
bitfld.long 0x00 29.--31. " M0ET ,Master 0 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 28. "  M0RW ,Master 0 Read/Write Status" "Write Error,Read Error"
bitfld.long 0x00 27. "  M0FL ,Master 0 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 26. "  M0AL ,Master 0 Address Lock" "Not locked,Locked"
textline "                           "
bitfld.long 0x00 23.--25. " M1ET ,Master 1 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 22. "  M1RW ,Master 1 Read/Write Status" "Write Error,Read Error"
bitfld.long 0x00 21. "  M1FL ,Master 1 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 20. "  M1AL ,Master 1 Address Lock" "Not locked,Locked"
textline "                           "
bitfld.long 0x00 17.--19. " M2ET ,Master 2 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 16. "  M2RW ,Master 2 Read/Write Status" "Write Error,Reserved"
bitfld.long 0x00 15. "  M2FL ,Master 2 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 14. "  M2AL ,Master 2 Address Lock" "Not locked,Locked"
textline "                           "
bitfld.long 0x00 11.--13. " M3ET ,Master 3 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 10. "  M3RW ,Master 3 Read/Write Status" "Write Error,Read Error"
bitfld.long 0x00 9. "  M3FL ,Master 3 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 8. "  M3AL ,Master 3 Address Lock" "Not locked,Locked"
group dcr:0x0011++0x0
out dcr:0x0010 %l 0x00000008
line.long 0x00 "SDRAM0_BESR1,Bus Error Status Register 1"
bitfld.long 0x00 29.--31. " M4ET ,Master 4 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 28. "  M4RW ,Master 4 Read/Write Status" "Write Error,Read Error"
bitfld.long 0x00 27. "  M4FL ,Master 4 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 26. "  M4AL ,Master 4 Address Lock" "Not locked,Locked"
textline "                           "
bitfld.long 0x00 23.--25. " M5ET ,Master 5 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 22. "  M5RW ,Master 5 Read/Write Status" "Write Error,Read Error"
bitfld.long 0x00 21. "  M5FL ,Master 5 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 20. "  M5AL ,Master 5 Address Lock" "Not locked,Locked"
textline "                           "
bitfld.long 0x00 17.--19. " M6ET ,Master 6 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 16. "  M6RW ,Master 6 Read/Write Status" "Write Error,Reserved"
bitfld.long 0x00 15. "  M6FL ,Master 6 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 14. "  M6AL ,Master 6 Address Lock" "Not locked,Locked"
textline "                           "
bitfld.long 0x00 11.--13. " M7ET ,Master 7 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 10. "  M7RW ,Master 7 Read/Write Status" "Write Error,Read Error"
bitfld.long 0x00 9. "  M7FL ,Master 7 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 8. "  M7AL ,Master 7 Address Lock" "Not locked,Locked"    
endif    
rgroup dcr:0x011++0x0
out dcr:0x010 %l 0x10
line.long 0x0 "SDRAM0_BEAR,Bus Error Address Register"
hexmask.long 0x00 0.--31. 1. " BEAR     ,Address of Bus Error"
sif (cpu()=="PPC440GR")||(cpu()=="PPC440GP")
group dcr:0x011++0x0
out dcr:0x010 %l 0x11
line.long 0x0 "SDRAM0_MIRQ,Master Write Interrupt"
eventfld.long 0x00 31. " M0IR     ,Master 0 Write Interrupt" "-,Error"
eventfld.long 0x00 30. "   M1IR     ,Master 1 Write Interrupt" "-,Error"
eventfld.long 0x00 29. "   M2IR     ,Master 2 Write Interrupt" "-,Error"
eventfld.long 0x00 28. "  M3IR     ,Master 3 Write Interrupt" "-,Error"
textline "                           "    
sif (cpu()=="PPC440GR")
eventfld.long 0x00 27. " M4IR     ,Master 4 Write Interrupt" "-,Error"    
eventfld.long 0x00 26. "   M5IR     ,Master 5 Write Interrupt" "-,Error"    
else
; 440gp
eventfld.long 0x00 26. " M5IR     ,Master 5 Write Interrupt" "-,Error"
endif
eventfld.long 0x00 25. "   M6IR     ,Master 6 Write Interrupt" "-,Error"
sif (cpu()=="PPC440GR")        
eventfld.long 0x00 24. "  M7IR     ,Master 7 Write Interrupt" "-,Error"
else        
eventfld.long 0x00 24. "   M7IR     ,Master 7 Write Interrupt" "-,Error"
endif
wgroup dcr:0x011++0x0
out dcr:0x010 %l 0x12
line.long 0x0 "SDRAM0_MIRQ_SET,Master Write Interrupt Set"
bitfld.long 0x00 31. " M0IR_SET ,Master 0 Write Interrupt Set" "-,Set"
bitfld.long 0x00 30. "     M1IR_SET ,Master 1 Write Interrupt Set" "-,Set"
bitfld.long 0x00 29. "     M2IR_SET ,Master 2 Write Interrupt Set" "-,Set"
bitfld.long 0x00 28. "    M3IR_SET ,Master 3 Write Interrupt Set" "-,Set"
textline "                           "
bitfld.long 0x00 27. " M4IR_SET ,Master 4 Write Interrupt Set" "-,Set"
bitfld.long 0x00 26. "     M5IR_SET ,Master 5 Write Interrupt Set" "-,Set"
bitfld.long 0x00 25. "     M6IR_SET ,Master 6 Write Interrupt Set" "-,Set"
bitfld.long 0x00 24. "    M7IR_SET ,Master 7 Write Interrupt Set" "-,Set"
elif (cpu()=="PPC440GX")
group dcr:0x011++0x0
out dcr:0x010 %l 0x11
line.long 0x0 "SDRAM0_MIRQ,Master Write Interrupt 0"
eventfld.long 0x00 31. " M0IR     ,Master 0 Write Interrupt (processor core instruction cache unit (ICU))" "-,Error"
eventfld.long 0x00 30. "   M1IR     ,Master 1 Write Interrupt (processor core data cache read unit (DCU))" "-,Error"
eventfld.long 0x00 29. "   M2IR     ,Master 2 Write Interrupt (processor core data cache write unit (DCU))" "-,Error"
eventfld.long 0x00 28. "  M3IR  ,Master 3 Write Interrupt (PCIX bridge controller (PCIX))" "-,Error"
textline "                           "
eventfld.long 0x00 27. " M4IR     ,Master 4 Write Interrupt (I20 messaging unit (IMU))" "-,Error"
eventfld.long 0x00 26. "   M5IR     ,Master 5 Write Interrupt (media access layer (MAL))" "-,Error"
eventfld.long 0x00 25. "   M6IR     ,Master 6 Write Interrupt (direct memory access controller (DMA))" "-,Error"
eventfld.long 0x00 24. "  M7IR  ,Master 7 Write Interrupt (OPB to PLB bridge controller)" "-,Error"
wgroup dcr:0x011++0x0
out dcr:0x010 %l 0x12
line.long 0x0 "SDRAM0_MIRQS,Master Write Interrupt Set 0"
bitfld.long 0x00 31. " M0IRS    ,Master 0 Write Interrupt (processor core instruction cache unit (ICU)) Set" "-,Set"
bitfld.long 0x00 30. "     M1IRS    ,Master 1 Write Interrupt (processor core data cache read unit (DCU)) Set" "-,Set"
bitfld.long 0x00 29. "     M2IRS    ,Master 2 Write Interrupt (processor core data cache write unit (DCU)) Set" "-,Set"
bitfld.long 0x00 28. "    M3IRS ,Master 3 Write Interrupt (PCIX bridge controller (PCIX)) Set" "-,Set"
textline "                           "
bitfld.long 0x00 27. " M4IRS    ,Master 4 Write Interrupt (I20 messaging unit (IMU)) Set" "-,Set"
bitfld.long 0x00 26. "     M5IRS    ,Master 5 Write Interrupt (media access layer (MAL)) Set" "-,Set"
bitfld.long 0x00 25. "     M6IRS    ,Master 6 Write Interrupt (direct memory access controller (DMA)) Set" "-,Set"
bitfld.long 0x00 24. "    M7IRS ,Master 7 Write Interrupt (OPB to PLB bridge controller) Set" "-,Set"
else
;440ep
group dcr:0x0011++0x00
out dcr:0x0010 %l 0x00000011
line.long 0x00 "SDRAM0_MIRQ,Master Write Interrupt"
bitfld.long 0x00 31. " M0IR     ,Master 0 Write Interrupt" "-,Error"
bitfld.long 0x00 30. "   M1IR     ,Master 1 Write Interrupt" "-,Error"
bitfld.long 0x00 29. "   M2IR     ,Master 2 Write Interrupt" "-,Error"
bitfld.long 0x00 28. "  M3IR ,Master 3 Write Interrupt" "-,Error"
textline "                           "
bitfld.long 0x00 27. " M4IR     ,Master 4 Write Interrupt" "-,Error"
bitfld.long 0x00 26. "   M5IR     ,Master 5 Write Interrupt" "-,Error"
bitfld.long 0x00 25. "   M6IR     ,Master 6 Write Interrupt" "-,Error"
bitfld.long 0x00 24. "  M7IR ,Master 7 Write Interrupt" "-,Error"
endif    
group dcr:0x011++0x0
out dcr:0x010 %l 0x18
line.long 0x0 "SDRAM0_SLI0,PLB Slave Interface Options Register"
bitfld.long 0x00 31. " RDRE     ,PLB Slave Read Rearbitrate Enable" "-,Enabled"
bitfld.long 0x00 30. " WRRE     ,PLB Slave Write Rearbitrate Enable" "-,Enabled"
bitfld.long 0x00 29. " RARW     ,PLB Read Around Write Enable" "-,Enabled"
group dcr:0x011++0x0
out dcr:0x010 %l 0x20
line.long 0x0 "SDRAM0_CFG0,Memory Controller Options 0 0"
bitfld.long 0x00 31. " DCEN  ,DDR SDRAM Controller Enable" "-,Enabled"
bitfld.long 0x00 28.--29. "               MCHK  ,Memory Data Error Checking" "-,Reserved,Generation,Checking/correction"
textline "                         "
bitfld.long 0x00 27. "   RDEN  ,Registered DIMM Enable" "-,Enabled"
sif (cpu()=="PPC440EP")            
bitfld.long 0x00 26. "               PMUD  ,Page Management Unit" "-,Disabled"
else            
bitfld.long 0x00 26. "               PMU   ,Page Management Unit" "-,Disabled"
endif    
textline "                         "
bitfld.long 0x00 25. "   DMWD  ,DDR SDRAM Width" "32-bit,64-bit"
bitfld.long 0x00 22.--23. "                UIOS  ,Unused I/O State" "Active-switching DQS,Active-static values,Static-static values,High-Z"
textline "                         "
bitfld.long 0x00 21. "   PDP   ,Page Deallocation Policy" "Pseudo Allocated,Used"
group dcr:0x011++0x0
out dcr:0x010 %l 0x21
line.long 0x0 "SDRAM0_CFG1,Memory Controller Options 0 1"
bitfld.long 0x00 31. " SRE   ,Self-Refresh Entry" "Exited,Entered"
bitfld.long 0x00 30. "               PMEN  ,Power Management Enable" "-,Enabled"
group dcr:0x011++0x0
out dcr:0x010 %l 0x22
line.long 0x0 "SDRAM0_DEVOPT,DDR SDRAM Device Options 0"
bitfld.long 0x00 31. " DLL   ,DDR_SDRAM Device DLL Disable" "-,Disabled"
bitfld.long 0x00 30. "              DS    ,DDR_SDRAM Device I/O Drive Strength" "Normal,Weak"
rgroup dcr:0x011++0x0
out dcr:0x010 %l 0x24
line.long 0x0 "SDRAM0_MCSTS,Memory Controller Status 0"
bitfld.long 0x00 31. " MRSC  ,MRS Command Complete" "-,Completed"
bitfld.long 0x00 30. "             SRMS  ,Self-Refresh Mode Status" "-,Self-Refresh"
textline "                         "
bitfld.long 0x00 29. "   CIS   ,Core Idle Status" "Busy,Idle"
group dcr:0x011++0x0
out dcr:0x010 %l 0x30
line.long 0x0 "SDRAM0_RTR,Refresh Timer Register"
hexmask.long.word 0x0 19.--29. 1. " RINT  ,Refresh Interval"
group dcr:0x011++0x0
out dcr:0x010 %l 0x34
line.long 0x0 "SDRAM0_PMIT,Power Management Idle Timer"
hexmask.long.byte 0x0 27.--31. 1. " PMC   ,Power Management Count"
group dcr:0x011++0x0
out dcr:0x010 %l 0x38
line.long 0x0 "SDRAM0_UABBA,PLB UA Bus Base Address"
hexmask.long.byte 0x0 0.--3. 1. " UBBA  ,PLB UABus Base Address"
group dcr:0x011++0x0
out dcr:0x010 %l 0x40
line.long 0x0 "SDRAM0_B0CR,Memory 0 Configuration 0"
hexmask.long 0x00 23.--31. 0x800000 " SDBA ,Base Address"
sif (cpu()=="PPC440EP")
bitfld.long 0x00 17.--19. "  SDSZ ,Size" "Reserved,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,Reserved"
else
bitfld.long 0x00 17.--19. "  SDSZ ,Size" "Reserved,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB"
endif
bitfld.long 0x00 13.--15. "  SDAM ,Addressing Mode" "[13:11]x8-4 Bank,[13:11]x9-4 Bank,[13:11]x10-4 Bank,[13:11]x11-4 Bank,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 0. "   SDBE ,Memory Bank Enable" "-,Enabled"
group dcr:0x011++0x0
out dcr:0x010 %l 0x44
line.long 0x0 "SDRAM0_B1CR,Memory 1 Configuration 0"
hexmask.long 0x00 23.--31. 0x800000 " SDBA ,Base Address"
sif (cpu()=="PPC440EP")
bitfld.long 0x00 17.--19. "  SDSZ ,Size" "Reserved,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,Reserved"
else
bitfld.long 0x00 17.--19. "  SDSZ ,Size" "Reserved,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB"
endif
bitfld.long 0x00 13.--15. "  SDAM ,Addressing Mode" "[13:11]x8-4 Bank,[13:11]x9-4 Bank,[13:11]x10-4 Bank,[13:11]x11-4 Bank,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 0. "   SDBE ,Memory Bank Enable" "-,Enabled"
group dcr:0x011++0x0
out dcr:0x010 %l 0x48
line.long 0x0 "SDRAM0_B2CR,Memory 2 Configuration 0"
hexmask.long 0x00 23.--31. 0x800000 " SDBA ,Base Address"
sif (cpu()=="PPC440EP")
bitfld.long 0x00 17.--19. "  SDSZ ,Size" "Reserved,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,Reserved"
else
bitfld.long 0x00 17.--19. "  SDSZ ,Size" "Reserved,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB"
endif
bitfld.long 0x00 13.--15. "  SDAM ,Addressing Mode" "[13:11]x8-4 Bank,[13:11]x9-4 Bank,[13:11]x10-4 Bank,[13:11]x11-4 Bank,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 0. "   SDBE ,Memory Bank Enable" "-,Enabled"
group dcr:0x011++0x0
out dcr:0x010 %l 0x4C
line.long 0x0 "SDRAM0_B3CR,Memory 3 Configuration 0"
hexmask.long 0x00 23.--31. 0x800000 " SDBA ,Base Address"
sif (cpu()=="PPC440EP")
bitfld.long 0x00 17.--19. "  SDSZ ,Size" "Reserved,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,Reserved"
else
bitfld.long 0x00 17.--19. "  SDSZ ,Size" "Reserved,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB"
endif
bitfld.long 0x00 13.--15. "  SDAM ,Addressing Mode" "[13:11]x8-4 Bank,[13:11]x9-4 Bank,[13:11]x10-4 Bank,[13:11]x11-4 Bank,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 0. "   SDBE ,Memory Bank Enable" "-,Enabled"
group dcr:0x011++0x0
out dcr:0x010 %l 0x80
line.long 0x0 "SDRAM0_TR0,SDRAM Timing Register 0"
bitfld.long 0x00 31. " SDWR ,DDR SDRAM Write Recovery" "2 CLK,3 CLK"
bitfld.long 0x00 30. "     SDWD ,DDR SDRAM Write to Write Delay when Crossing a Chip Select Boundary" "0 CLK,1 CLK"
bitfld.long 0x00 23.--24. "     SDCL ,DDR SDRAM CAS_Latency" "Reserved,2 CLK,2.5 CLK,3 CLK"
bitfld.long 0x00 18.--19. "   SDPA ,DDR SDRAM CBR Precharge Command to Next Activate Command Minimum" "Reserved,2 CLK,3 CLK,4 CLK"
textline "                           "
sif (cpu()=="PPC440GR")||(cpu()=="PPC440GX")||(cpu()=="PPC440EP")        
bitfld.long 0x00 16.--17. " SDCP ,DDR SDRAM Read/Write Command to Precharge Command" "2 CLK,3 CLK,4 CLK,Reserved"
bitfld.long 0x00 14.--15. "  SDLD ,DDR SDRAM Command Leadoff" "1 CLK,2 CLK,Reserved,Reserved"        
else
bitfld.long 0x00 16.--17. " SDCP ,DDR SDRAM Read/Write Command to Precharge Command" "2 CLK,3 CLK,4 CLK,5 CLK"
bitfld.long 0x00 14.--15. "     SDLD ,DDR SDRAM Command Leadoff" "1 CLK,2 CLK,Reserved,Reserved"        
endif    
sif (cpu()=="PPC440GR")||(cpu()=="PPC440GX")||(cpu()=="PPC440EP")    
bitfld.long 0x00 7. "  TWTR ,DDR SDRAM Write-To-Read Command" "1 CLK,2 CLK"
bitfld.long 0x00 5.--6. "      RFTA ,DDR SDRAM Refresh-To-Activate Command" "0 CLK,1 CLK,2 CLK,Reserved"
textline "                           "
bitfld.long 0x00 2.--4. " SDRA ,DDR SDRAM CBR Refresh Command to Next Activate Command Minimum" "6 CLK,7 CLK,8 CLK,9 CLK,10 CLK,11 CLK,12 CLK,13 CLK"    
bitfld.long 0x00 0.--1. "    SDRD ,DDR SDRAM RAS to CAS Delay" "Reserved,2 CLK,3 CLK,4 CLK"        
else    
bitfld.long 0x00 2.--4. "  SDRA ,DDR SDRAM CBR Refresh Command to Next Activate Command Minimum" "6 CLK,7 CLK,8 CLK,9 CLK,10 CLK,11 CLK,12 CLK,13 CLK"
bitfld.long 0x00 0.--1. "     SDRD ,DDR SDRAM RAS to CAS Delay" "Reserved,2 CLK,3 CLK,4 CLK"        
endif        
group dcr:0x011++0x0
out dcr:0x010 %l 0x81
line.long 0x0 "SDRAM0_TR1,SDRAM Timing Register 1"
bitfld.long 0x00 30.--31. " RDSS ,Read Sample Cycle Select" "T0,T1,T2,T3"
bitfld.long 0x00 22.--23. "        RDSL ,Read Sample Stage Select" "Stage 1,Stage 2,Stage 3,Reserved"
bitfld.long 0x00 11. "  RDCD ,Read Clock Delay - Stage 2" "0 clock,1/2 clock"
hexmask.long.word 0x00 0.--8. 1. "  RDCT ,Read Clock Delay Tuning Bits"
group dcr:0x011++0x0
out dcr:0x010 %l 0x82
line.long 0x0 "SDRAM0_CLKTR,DDR SDRAM Clock Timing Register"
bitfld.long 0x00 30.--31. " CLKP  ,Write Clock Phase" "0 degrees,90 degrees,180 degrees,Reserved"
hexmask.long.word 0x00 0.--8. 1. "    DCDT  ,DDR Clock Delay Tuning"
sif (cpu()=="PPC440GR")        
group dcr:0x011++0x0
out dcr:0x010 %l 0xe0
line.long 0x0 "SDR0_DDRDL0,DDR Delay Line Register"
hexmask.long.byte 0x00 0.--5. 1. " TUNE  ,DDR Delay Line TUNE"
elif (cpu()=="PPC440GX")||(cpu()=="PPC440EP")    
group dcr:0xF++0x0
out dcr:0xE %l 0xE0
line.long 0x0 "SDR0_DDRDL,DDR Delay Line Register 0"
hexmask.long.byte 0x0 0.--5. 1. " TUNE  ,DDR Delay Line PLL TUNE"
endif
group dcr:0x011++0x0
out dcr:0x010 %l 0x83
line.long 0x0 "SDRAM0_WDDCTR,Write Data/DM/DQS Clock Timing Register"
bitfld.long 0x00 30.--31. " WRCP  ,Write Clock Phase" "0 degrees,90 degrees,180 degrees,Reserved"
hexmask.long.word 0x00 0.--8. 1. "    DCD   ,DDR Write Data/DM/DQS Clock Delay Tuning Bits"
group dcr:0x011++0x0
out dcr:0x010 %l 0x84
line.long 0x0 "SDRAM0_DLYCAL,Delay Line Calibration Register"
bitfld.long 0x00 31. " DLCR  ,Delay Line Calibration Request" "-,Requested"
bitfld.long 0x00 28.--30. "      DLCS  ,Delay Line Calibration Status" "Not running,In progress,Completed,Reserved,Error,Reserved,Reserved,Reserved"
textline "                           "
hexmask.long.byte 0x00 2.--9. 1. " DLCV  ,Delay Line Calibration Value"
sif (cpu()=="PPC440GR")||(cpu()=="PPC440GX")
group dcr:0x011++0x0
out dcr:0x010 %l 0x98
line.long 0x0 "SDRAM0_ECCESR,ECC Error Status"
eventfld.long 0x00 31. " B0CE  ,Byte Lane 0 Corrected Error" "-,Error"
eventfld.long 0x00 30. "  B1CE  ,Byte Lane 1 Corrected Error" "-,Error"
eventfld.long 0x00 29. "  B2CE  ,Byte Lane 2 Corrected Error" "-,Error"
eventfld.long 0x00 28. "  B3CE  ,Byte Lane 3 Corrected Error" "-,Error"
eventfld.long 0x00 27. "   B4CE  ,Byte Lane 4 Corrected Error" "-,Error"
textline "                           "
eventfld.long 0x00 26. " B5CE  ,Byte Lane 5 Corrected Error" "-,Error"
eventfld.long 0x00 25. "  B6CE  ,Byte Lane 6 Corrected Error" "-,Error"
eventfld.long 0x00 24. "  B7CE  ,Byte Lane 7 Corrected Error" "-,Error"
eventfld.long 0x00 23. "  B8CE  ,Byte Lane 8 Corrected Error" "-,Error"
eventfld.long 0x00 22. "   B9CE  ,Byte Lane 9 Corrected Error" "-,Error"
textline "                           "
eventfld.long 0x00 21. " B10CE ,Byte Lane 10 Corrected Error" "-,Error"
eventfld.long 0x00 20. "  B11CE ,Byte Lane 11 Corrected Error" "-,Error"
eventfld.long 0x00 19. "  B12CE ,Byte Lane 12 Corrected Error" "-,Error"
eventfld.long 0x00 18. "  B13CE ,Byte Lane 13 Corrected Error" "-,Error"
eventfld.long 0x00 17. "   B14CE ,Byte Lane 14 Corrected Error" "-,Error"
textline "                           "
eventfld.long 0x00 16. " B15CE ,Byte Lane 15 Corrected Error" "-,Error"
eventfld.long 0x00 13. "  CE    ,Correctable Error" "-,Error"                
eventfld.long 0x00 12. "  UE    ,Uncorrectable Error" "-,Error"
eventfld.long 0x00 11. "  BK0E  ,Bank 0 Error" "-,Error"
eventfld.long 0x00 10. "   BK1E  ,Bank 1 Error" "-,Error"
textline "                           "
eventfld.long 0x00 9. " BK2E  ,Bank 2 Error" "-,Error"
eventfld.long 0x00 8. "  BK3E  ,Bank 3 Error" "-,Error"
sif (cpu()=="PPC440GR")            
bitfld.long 0x00 14.--15. "  CKBE  ,Error Detected in Checkbits" "-,32bit-Lower,64bit-Error/32bit-Upper,32bit-Upper and Lower"    
else
eventfld.long 0x00 14.--15. "  CKBE  ,Error Detected in Checkbits (64|32-bit Mode)" "-,Reserved|Lower,Error|Upper,Reserved|Upper/Lower"    
endif        
elif (cpu()=="PPC440GP")
;440gp
group dcr:0x011++0x0
out dcr:0x010 %l 0x98
line.long 0x0 "SDRAM0_ECCESR,ECC Error Status"
bitfld.long 0x00 31. " B0CE  ,Byte Lane 0 Corrected Error" "-,Error"
bitfld.long 0x00 30. "  B1CE  ,Byte Lane 1 Corrected Error" "-,Error"
bitfld.long 0x00 29. "  B2CE  ,Byte Lane 2 Corrected Error" "-,Error"
bitfld.long 0x00 28. "  B3CE  ,Byte Lane 3 Corrected Error" "-,Error"
bitfld.long 0x00 27. "  B4CE  ,Byte Lane 4 Corrected Error" "-,Error"
textline "                           "
bitfld.long 0x00 26. " B5CE  ,Byte Lane 5 Corrected Error" "-,Error"
bitfld.long 0x00 25. "  B6CE  ,Byte Lane 6 Corrected Error" "-,Error"
bitfld.long 0x00 24. "  B7CE  ,Byte Lane 7 Corrected Error" "-,Error"
bitfld.long 0x00 23. "  B8CE  ,Byte Lane 8 Corrected Error" "-,Error"    
bitfld.long 0x00 22. "  B9CE  ,Byte Lane 9 Corrected Error" "-,Error"
textline "                           "
bitfld.long 0x00 21. " B10CE ,Byte Lane 10 Corrected Error" "-,Error"
bitfld.long 0x00 20. "  B11CE ,Byte Lane 11 Corrected Error" "-,Error"
bitfld.long 0x00 19. "  B12CE ,Byte Lane 12 Corrected Error" "-,Error"
bitfld.long 0x00 18. "  B13CE ,Byte Lane 13 Corrected Error" "-,Error"
bitfld.long 0x00 17. "  B14CE ,Byte Lane 14 Corrected Error" "-,Error"
textline "                           "
bitfld.long 0x00 16. " B15CE ,Byte Lane 15 Corrected Error" "-,Error"
bitfld.long 0x00 13. "  CE    ,Correctable Error" "-,Error"
bitfld.long 0x00 12. "  UE    ,Uncorrectable Error" "-,Error"
bitfld.long 0x00 11. "  BK0E  ,Bank 0 Error" "-,Error"
bitfld.long 0x00 10. "  BK1E  ,Bank 1 Error" "-,Error"
textline "                           "
bitfld.long 0x00 9. " BK2E  ,Bank 2 Error" "-,Error"
bitfld.long 0x00 8. "  BK3E  ,Bank 3 Error" "-,Error"
bitfld.long 0x00 14.--15. "  CKBE  ,Error Detected in Checkbits" "-,32bit-Lower,64bit-Error/32bit-Upper,32bit-Upper and Lower"
else
;440ep
group dcr:0x0011++0x00
out dcr:0x0010 %l 0x00000098
line.long 0x00 "SDRAM0_ECCESR,ECC Error Status"
Textfld " BnCE:0   1   2   3   4   5   6   7   8   9   10  11  12  13  14  15"
Textline "                             "
bitfld.long 0x00 31. "    ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 30. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 29. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 28. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 27. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 26. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 25. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 24. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 23. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 22. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 21. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 20. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 19. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 18. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 17. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 16. " ,Byte Lane n Corrected Error" "-,Err"
textline "                           "
bitfld.long 0x00 14.--15. " CKBE(64) ,Error Detected in Checkbits. Mode depend on SDRAM_CFG0[DMWD]" "-,res,Error in Checkbits,res"
bitfld.long 0x00 13. "  CE       ,Correctable Error" "No,Yes"
textline "                           "
bitfld.long 0x00 13. " UE       ,Uncorrectable Error" "No,Yes"
bitfld.long 0x00 11. "                 BK0E     , Bank 0 Error" "-,Err"
textline "                           "
bitfld.long 0x00 10. " BK1E     , Bank 1 Error" "-,Err"
bitfld.long 0x00 09. "                 BK2E     , Bank 2 Error" "-,Err"
textline "                           "
bitfld.long 0x00 08. " BK3E     , Bank 3 Error" "-,Err"
bitfld.long 0x00 14.--15. "                 CKBE(32) ,Error Detected in Checkbits. Mode depend on SDRAM_CFG0[DMWD]" "-,Error in Lower Checkbits,Error in Upper Checkbits,Error in Upper and Lower Checkbits"
endif    
sif (cpu()=="PPC440EP")
group dcr:0x0011++0x00
out dcr:0x0010 %l 0x000000A4
line.long 0x00 "SDRAM0_CID,Controller ID Register"
hexmask.long.word 0x00 20.--31. 1. " CID   ,Core ID"
hexmask.long.byte 0x00 16.--19. 1. " CDC   ,Core Derivative Code"
hexmask.long.word 0x00 0.--15. 1. "         BRID  ,Controller Branch Revision Control ID"
else
rgroup dcr:0x011++0x0
out dcr:0x010 %l 0xA4
line.long 0x0 "SDRAM0_CID,Controller ID Register"
hexmask.long.word 0x00 20.--31. 1. " CID   ,Core ID Identifies the IBM Specific Core Number Associated with the DDR SDRAM"
sif (cpu()=="PPC440GR")            
bitfld.long 0x00 16.--19. " CDC   ,Core Derivative Code" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
hexmask.long.word 0x00 0.--15. 1. "         BRID  ,Controller Branch Revision Control ID"
else        
bitfld.long 0x00 16.--19. " CDC   ,Core Derivative Code" "Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Base,Reserved,Derivative,Reserved,Reserved"
endif
endif
rgroup dcr:0x011++0x0
out dcr:0x010 %l 0xA8
line.long 0x0 "SDRAM0_RID,Revision ID Register"
hexmask.long.byte 0x00 24.--31. 1. " CDID  ,Controller Derivative ID"
hexmask.long.word 0x00  8.--23. 1. "   RCID  ,Controller Revision Control ID"
hexmask.long.byte 0x00  0.--7.  1. "       BRID  ,Controller Branch Revision Control ID"

elif (cpu()=="PPC440GX")
width 18.
sif (cpu()=="PPC440GR")||(cpu()=="PPC440GP")
group dcr:0x011++0x0
out dcr:0x010 %l 0x00
line.long 0x0 "SDRAM0_BESR0,Bus Error Syndrome Register 0"
sif (cpu()=="PPC440GR")    
bitfld.long 0x00 29.--31. " M0ET ,Master 0 Error Type" "-,Reserved,ECC error,Reserved,Reserved,Reserved,Reserved,Reserved"    
else
eventfld.long 0x00 29.--31. " M0ET ,Master 0 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
endif        
eventfld.long 0x00 28. "   M0RW ,Master 0 Read/Write Status" "Write error,Read error"
eventfld.long 0x00 27. " M0FL ,Master 0 Field Lock" "-,Locked"
eventfld.long 0x00 26. "      M0AL ,Master 0 Address Lock" "-,Locked"
textline "                           "       
sif (cpu()=="PPC440GR")
bitfld.long 0x00 23.--25. " M1ET ,Master 1 Error Type" "-,Reserved,ECC error,Reserved,Reserved,Reserved,Reserved,Reserved"
else
eventfld.long 0x00 23.--25. " M1ET ,Master 1 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
endif                
eventfld.long 0x00 22. "   M1RW ,Master 1 Read/Write Status" "Reserved,Read error"
eventfld.long 0x00 21. "  M1FL ,Master 1 Field Lock" "-,Locked"
eventfld.long 0x00 20. "      M1AL ,Master 1 Address Lock" "-,Locked"
textline "                           "
sif (cpu()=="PPC440GR")    
bitfld.long 0x00 17.--19. " M2ET ,Master 2 Error Type" "-,Reserved,ECC error,Reserved,Reserved,Reserved,Reserved,Reserved"
else
eventfld.long 0x00 17.--19. " M2ET ,Master 2 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
endif                
eventfld.long 0x00 16. "   M2RW ,Master 2 Read/Write Status" "Write error,Read error"
eventfld.long 0x00 15. " M2FL ,Master 2 Field Lock" "-,Locked"
eventfld.long 0x00 14. "      M2AL ,Master 2 Address Lock" "-,Locked"
textline "                           "
sif (cpu()=="PPC440GR")    
bitfld.long 0x00 11.--13. " M3ET ,Master 3 Error Type" "-,Reserved,ECC error,Reserved,Reserved,Reserved,Reserved,Reserved"
else
eventfld.long 0x00 11.--13. " M3ET ,Master 3 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
endif                
eventfld.long 0x00 10. "   M3RW ,Master 3 Read/Write Status" "Write error,Read error"
eventfld.long 0x00 9. " M3FL ,Master 3 Field Lock" "-,Locked"
eventfld.long 0x00 8. "      M3AL ,Master 3 Address Lock" "-,Locked"
wgroup dcr:0x011++0x0
out dcr:0x010 %l 0x04
line.long 0x0 "SDRAM0_BESR0_SET,Bus Error Syndrome Register 0 Set"
bitfld.long  0x00 31. " M0ET_SET[2] ,Master 0 Error Type Set" "-,Set"
bitfld.long  0x00 30. "  M0ET_SET[1] ,Master 0 Error Type Set" "-,Set"
bitfld.long  0x00 29. "  M0ET_SET[0] ,Master 0 Error Type Set" "-,Set"
bitfld.long  0x00 28. "  M0RW_SET    ,Master 0 Read/Write Status Set" "-,Set"
textline "                           "
bitfld.long  0x00 27. " M0FL_SET    ,Master 0 Field Lock Set" "-,Set"
bitfld.long  0x00 26. "  M0AL_SET    ,Master 0 Address Lock Set" "-,Set"
bitfld.long  0x00 25. "  M1ET_SET[2] ,Master 1 Error Type Set" "-,Set"
bitfld.long  0x00 24. "  M1ET_SET[1] ,Master 1 Error Type Set" "-,Set"
textline "                           "
bitfld.long  0x00 23. " M1ET_SET[0] ,Master 1 Error Type Set" "-,Set"
bitfld.long  0x00 22. "  M1RW_SET    ,Master 1 Read/Write Status Set" "-,Set"
bitfld.long  0x00 21. "  M1FL_SET    ,Master 1 Field Lock Set" "-,Set"
bitfld.long  0x00 20. "  M1AL_SET    ,Master 1 Address Lock Set" "-,Set"
textline "                           "
bitfld.long  0x00 19. " M2ET_SET[2] ,Master 2 Error Type Set" "-,Set"
bitfld.long  0x00 18. "  M2ET_SET[1] ,Master 2 Error Type Set" "-,Set"
bitfld.long  0x00 17. "  M2ET_SET[0] ,Master 2 Error Type Set" "-,Set"
bitfld.long  0x00 16. "  M2RW_SET    ,Master 2 Read/Write Status Set" "-,Set"
textline "                           "
bitfld.long  0x00 15. " M2FL_SET    ,Master 2 Field Lock Set" "-,Set"
bitfld.long  0x00 14. "  M2AL_SET    ,Master 2 Address Lock Set" "-,Set"
bitfld.long  0x00 13. "  M3ET_SET[2] ,Master 3 Error Type Set" "-,Set"
bitfld.long  0x00 12. "  M3ET_SET[1] ,Master 3 Error Type Set" "-,Set"
textline "                           "
bitfld.long  0x00 11. " M3ET_SET[0] ,Master 3 Error Type Set" "-,Set"
bitfld.long  0x00 10. "  M3RW_SET    ,Master 3 Read/Write Status Set" "-,Set"
bitfld.long  0x00 9.  "  M3FL_SET    ,Master 3 Field Lock Set" "-,Set"
bitfld.long  0x00 8.  "  M3AL_SET    ,Master 3 Address Lock Set" "-,Set"    
group dcr:0x011++0x00
out dcr:0x010 %l 0x08
line.long 0x0 "SDRAM0_BESR1,Bus Error Syndrome Register 1"
sif (cpu()=="PPC440GR")    
bitfld.long 0x00 29.--31. " M4ET ,Master 4 Error Type" "-,Reserved,ECC error,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 28. "   M4RW ,Master 4 Read/Write" "Write error,Read error"
eventfld.long 0x00 27. " M4FL ,Master 4 Field Lock" "-,Locked"
eventfld.long 0x00 26. "      M4AL ,Master 4 Address Lock" "-,Locked"
textline "                           "
bitfld.long 0x00 23.--25. " M5ET ,Master 5 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 22. "   M5RW ,Master 5 Read/Write" "Write error,Read error"
textline "                           "
eventfld.long 0x00 21. " M5FL ,Master 5 Field Lock" "-,Locked"    
else
eventfld.long 0x00 23.--25. " M5ET ,Master 5 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 22. "   M5RW ,Master 5 Read/Write" "Reserved,Read error"    
eventfld.long 0x00 21. "  M5FL ,Master 5 Field Lock" "-,Locked"    
endif    
eventfld.long 0x00 20. "      M5AL ,Master 5 Address Lock" "-,Locked"
textline "                           "
eventfld.long 0x00 17.--19. " M6ET ,Master 6 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 16. "   M6RW ,Master 6 Read/Write" "Write error,Read error"
eventfld.long 0x00 15. " M6FL ,Master 6 Field Lock" "-,Locked"
eventfld.long 0x00 14. "      M6AL ,Master 6 Address Lock" "-,Locked"
textline "                           "
eventfld.long 0x00 11.--13. " M7ET ,Master 7 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 10. "   M7RW ,Master 7 Read/Write" "Write error,Read error"
eventfld.long 0x00 9. " M7FL ,Master 7 Field Lock" "-,Locked"
eventfld.long 0x00 8. "      M7AL ,Master 7 Address Lock" "-,Locked"
wgroup dcr:0x011++0x00
out dcr:0x010 %l 0x0c
line.long 0x0 "SDRAM0_BESR1_SET,Bus Error Syndrome Register 1 Set"
bitfld.long 0x00 31. " M4ET_SET[2] ,Master 4 Error Type Set" "-,Set"
bitfld.long 0x00 30. "  M4ET_SET[1] ,Master 4 Error Type Set" "-,Set"
bitfld.long 0x00 29. "  M4ET_SET[0] ,Master 4 Error Type Set" "-,Set"
bitfld.long 0x00 28. "  M4RW_SET    ,Master 4 Read/Write Status Set" "-,Set"
textline "                           "
bitfld.long 0x00 27. " M4FL_SET    ,Master 4 Field Lock Set" "-,Set"
bitfld.long 0x00 26. "  M4AL_SET    ,Master 4 Address Lock Set" "-,Set"
bitfld.long 0x00 25. "  M5ET_SET[2] ,Master 5 Error Type Set" "-,Set"
bitfld.long 0x00 24. "  M5ET_SET[1] ,Master 5 Error Type Set" "-,Set"
textline "                           "
bitfld.long 0x00 23. " M5ET_SET[0] ,Master 5 Error Type Set" "-,Set"
bitfld.long 0x00 22. "  M5RW_SET    ,Master 5 Read/Write Status Set" "-,Set"
bitfld.long 0x00 21. "  M5FL_SET    ,Master 5 Field Lock Set" "-,Set"
bitfld.long 0x00 20. "  M5AL_SET    ,Master 5 Address Lock Set" "-,Set"
textline "                           "
bitfld.long 0x00 19. " M6ET_SET[2] ,Master 6 Error Type Set" "-,Set"
bitfld.long 0x00 18. "  M6ET_SET[1] ,Master 6 Error Type Set" "-,Set"
bitfld.long 0x00 17. "  M6ET_SET[0] ,Master 6 Error Type Set" "-,Set"
bitfld.long 0x00 16. "  M6RW_SET    ,Master 6 Read/Write Status Set" "-,Set"
textline "                           "
bitfld.long 0x00 15. " M6FL_SET    ,Master 6 Field Lock Set" "-,Set"
bitfld.long 0x00 14. "  M6AL_SET    ,Master 6 Address Lock Set" "-,Set"
bitfld.long 0x00 13. "  M7ET_SET[2] ,Master 7 Error Type Set" "-,Set"
bitfld.long 0x00 12. "  M7ET_SET[1] ,Master 7 Error Type Set" "-,Set"
textline "                           "
bitfld.long 0x00 11. " M7ET_SET[0] ,Master 7 Error Type Set" "-,Set"
bitfld.long 0x00 10. "  M7RW_SET    ,Master 7 Read/Write Status Set" "-,Set"
bitfld.long 0x00  9. "  M7FL_SET    ,Master 7 Field Lock Set" "-,Set"
bitfld.long 0x00  8. "  M7AL_SET    ,Master 7 Address Lock Set" "-,Set"
elif (cpu()=="PPC440GX")
group dcr:0x011++0x0
out dcr:0x010 %l 0x00
line.long 0x0 "SDRAM0_BESR0,Bus Error Syndrome Register 0 0"
eventfld.long 0x00 29.--31. " M0ET ,Master 0 Error Type (read-only instruction cache unit (ICU))" "-,Reserved,ECC,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 28. "  M0RW ,Master 0 Read/Write Status (read-only instruction cache unit (ICU))" "Write,Read"
eventfld.long 0x00 27. "     M0FL ,Master 0 Field Lock (read-only instruction cache unit (ICU))" "-,Locked"
eventfld.long 0x00 26. "  M0AL ,Master 0 Address Lock (read-only instruction cache unit (ICU))" "-,Locked"
textline "                           "
eventfld.long 0x00 23.--25. " M1ET ,Master 1 Error Type (read-only data cache unit (DCU))" "-,Reserved,ECC,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 22. "  M1RW ,Master 1 Read/Write Status (read-only data cache unit (DCU))" "Reserved,Read"
eventfld.long 0x00 21. "  M1FL ,Master 1 Field Lock (read-only data cache unit (DCU))" "-,Locked"
eventfld.long 0x00 20. "  M1AL ,Master 1 Address Lock (read-only data cache unit (DCU))" "-,Locked"
textline "                           "
eventfld.long 0x00 17.--19. " M2ET ,Master 2 Error Type (write-only data cache unit (DCU))" "-,Reserved,ECC,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 16. "  M2RW ,Master 2 Read/Write Status (write-only data cache unit (DCU))" "Write,Reserved"
eventfld.long 0x00 15. "  M2FL ,Master 2 Field Lock (write-only data cache unit (DCU))" "-,Locked"
eventfld.long 0x00 14. "  M2AL ,Master 2 Address Lock (write-only data cache unit (DCU))" "-,Locked"
textline "                           "
eventfld.long 0x00 11.--13. " M3ET ,Master 3 Error Type (PCIX bridge controller)" "-,Reserved,ECC,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 10. "  M3RW ,Master 3 Read/Write Status (PCIX bridge controller)" "Write,Read"
eventfld.long 0x00 9. "     M3FL ,Master 3 Field Lock (PCIX bridge controller)" "-,Locked"
eventfld.long 0x00 8. "  M3AL ,Master 3 Address Lock (PCIX bridge controller)" "-,Locked"
group dcr:0x011++0x0
out dcr:0x010 %l 0x04
line.long 0x0 "SDRAM0_BESR0S,Bus Error Syndrome Register 0 0 Set"
bitfld.long 0x00 31. " M0ET0S ,Master 0 Error Type 0 (read-only instruction cache unit (ICU)) Set" "-,Set"
bitfld.long 0x00 30. "  M0ET1S ,Master 0 Error Type 1 (read-only instruction cache unit (ICU)) Set" "-,Set"
bitfld.long 0x00 29. "  M0ET2S ,Master 0 Error Type  2(read-only instruction cache unit (ICU)) Set" "-,Set"
bitfld.long 0x00 28. "  M0RWS  ,Master 0 Read/Write Status (read-only instruction cache unit (ICU)) Set" "-,Set"
bitfld.long 0x00 27. "  M0FLS ,Master 0 Field Lock (read-only instruction cache unit (ICU)) Set" "-,Set"
bitfld.long 0x00 26. "  M0ALS ,Master 0 Address Lock (read-only instruction cache unit (ICU)) Set" "-,Set"
textline "                           "
bitfld.long 0x00 25. " M1ET0S ,Master 1 Error Type 0 (read-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 24. "  M1ET1S ,Master 1 Error Type 1 (read-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 23. "  M1ET2S ,Master 1 Error Type 2 (read-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 22. "  M1RWS  ,Master 1 Read/Write Status (read-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 21. "  M1FLS ,Master 1 Field Lock (read-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 20. "  M1ALS ,Master 1 Address Lock (read-only data cache unit (DCU)) Set" "-,Set"
textline "                           "
bitfld.long 0x00 19. " M2ET0S ,Master 2 Error Type 0 (write-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 18. "  M2ET1S ,Master 2 Error Type 1 (write-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 17. "  M2ET2S ,Master 2 Error Type 2 (write-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 16. "  M2RWS  ,Master 2 Read/Write Status (write-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 15. "  M2FLS ,Master 2 Field Lock (write-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 14. "  M2ALS ,Master 2 Address Lock (write-only data cache unit (DCU)) Set" "-,Set"
textline "                           "
bitfld.long 0x00 13. " M3ET0S ,Master 3 Error Type 0 (PCIX bridge controller) Set" "-,Set"
bitfld.long 0x00 12. "  M3ET1S ,Master 3 Error Type 1 (PCIX bridge controller) Set" "-,Set"
bitfld.long 0x00 11. "  M3ET2S ,Master 3 Error Type 2 (PCIX bridge controller) Set" "-,Set"
bitfld.long 0x00 10. "  M3RWS  ,Master 3 Read/Write Status (PCIX bridge controller) Set" "-,Set"
bitfld.long 0x00 9. "  M3FLS ,Master 3 Field Lock (PCIX bridge controller) Set" "-,Set"
bitfld.long 0x00 8. "  M3ALS ,Master 3 Address Lock (PCIX bridge controller) Set" "-,Set"            
group dcr:0x011++0x00
out dcr:0x010 %l 0x08
line.long 0x0 "SDRAM0_BESR1,Bus Error Syndrome Register 0 1"
eventfld.long 0x00 29.--31. " M4ET ,Master 4 Error Type (I2O messaging unit (IMU))" "-,Reserved,ECC,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 28. "  M4RW ,Master 4 Read/Write (I2O messaging unit (IMU))" "Write,Read"
eventfld.long 0x00 27. "  M4FL ,Master 4 Field Lock (I2O messaging unit (IMU))" "-,Locked"
eventfld.long 0x00 26. "  M4AL ,Master 4 Address Lock (I2O messaging unit (IMU))" "-,Locked"
textline "                           "
eventfld.long 0x00 23.--25. " M5ET ,Master 5 Error Type (media access layer (MAL))" "-,Reserved,ECC,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 22. "  M5RW ,Master 5 Read/Write (media access layer (MAL))" "Write,Read"
eventfld.long 0x00 21. "  M5FL ,Master 5 Field Lock (media access layer (MAL))" "-,Locked"
eventfld.long 0x00 20. "  M5AL ,Master 5 Address Lock (media access layer (MAL))" "-,Locked"
textline "                           "
eventfld.long 0x00 17.--19. " M6ET ,Master 6 Error Type (direct memory access controller (DMA))" "-,Reserved,ECC,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 16. "  M6RW ,Master 6 Read/Write (direct memory access controller (DMA))" "Write,Read"
eventfld.long 0x00 15. "  M6FL ,Master 6 Field Lock (direct memory access controller (DMA))" "-,Locked"
eventfld.long 0x00 14. "  M6AL ,Master 6 Address Lock (direct memory access controller (DMA))" "-,Locked"
textline "                           "
eventfld.long 0x00 11.--13. " M7ET ,Master 7 Error Type (OPB to PLB bridge controller)" "-,Reserved,ECC,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 10. "  M7RW ,Master 7 Read/Write (OPB to PLB bridge controller)" "Write,Read"
eventfld.long 0x00 9. "  M7FL ,Master 7 Field Lock (OPB to PLB bridge controller)" "-,Locked"
eventfld.long 0x00 8. "  M7AL ,Master 7 Address Lock (OPB to PLB bridge controller)" "-,Locked"
group dcr:0x011++0x00
out dcr:0x010 %l 0x0c
line.long 0x0 "SDRAM0_BESR1S,Bus Error Syndrome Register 0 1 Set"
bitfld.long 0x00 31. " M4ET0S ,Master 4 Error Type 0 (I2O messaging unit (IMU)) Set" "-,Set"
bitfld.long 0x00 30. "  M4ET1S ,Master 4 Error Type 1 (I2O messaging unit (IMU)) Set" "-,Set"
bitfld.long 0x00 29. "  M4ET2S ,Master 4 Error Type 2 (I2O messaging unit (IMU)) Set" "-,Set"
bitfld.long 0x00 28. "  M4RWS ,Master 4 Read/Write (I2O messaging unit (IMU)) Set" "-,Set"
bitfld.long 0x00 27. "  M4FLS ,Master 4 Field Lock (I2O messaging unit (IMU)) Set" "-,Set"
bitfld.long 0x00 26. "  M4ALS ,Master 4 Address Lock (I2O messaging unit (IMU)) Set" "-,Set"
textline "                           "
bitfld.long 0x00 25. " M5ET0S ,Master 5 Error Type 0 (media access layer (MAL)) Set" "-,Set"
bitfld.long 0x00 24. "  M5ET1S ,Master 5 Error Type 1 (media access layer (MAL)) Set" "-,Set"
bitfld.long 0x00 23. "  M5ET2S ,Master 5 Error Type 2 (media access layer (MAL)) Set" "-,Set"
bitfld.long 0x00 22. "  M5RWS ,Master 5 Read/Write (media access layer (MAL)) Set" "-,Set"
bitfld.long 0x00 21. "  M5FLS ,Master 5 Field Lock (media access layer (MAL)) Set" "-,Set"
bitfld.long 0x00 20. "  M5ALS ,Master 5 Address Lock (media access layer (MAL)) Set" "-,Set"
textline "                           "
bitfld.long 0x00 19. " M6ET0S ,Master 6 Error Type 0 (direct memory access controller (DMA)) Set" "-,Set"
bitfld.long 0x00 18. "  M6ET1S ,Master 6 Error Type 1 (direct memory access controller (DMA)) Set" "-,Set"
bitfld.long 0x00 17. "  M6ET2S ,Master 6 Error Type 2 (direct memory access controller (DMA)) Set" "-,Set"
bitfld.long 0x00 16. "  M6RWS ,Master 6 Read/Write (direct memory access controller (DMA)) Set" "-,Set"
bitfld.long 0x00 15. "  M6FLS ,Master 6 Field Lock (direct memory access controller (DMA)) Set" "-,Set"
bitfld.long 0x00 14. "  M6ALS ,Master 6 Address Lock (direct memory access controller (DMA)) Set" "-,Set"
textline "                           "
bitfld.long 0x00 13. " M7ET0S ,Master 7 Error Type 0 (OPB to PLB bridge controller) Set" "-,Set"
bitfld.long 0x00 12. "  M7ET1S ,Master 7 Error Type 1 (OPB to PLB bridge controller) Set" "-,Set"
bitfld.long 0x00 11. "  M7ET2S ,Master 7 Error Type 2 (OPB to PLB bridge controller) Set" "-,Set"
bitfld.long 0x00 10. "  M7RWS ,Master 7 Read/Write (OPB to PLB bridge controller) Set" "-,Set"
bitfld.long 0x00 9. "  M7FLS ,Master 7 Field Lock (OPB to PLB bridge controller) Set" "-,Set"
bitfld.long 0x00 8. "  M7ALS ,Master 7 Address Lock (OPB to PLB bridge controller) Set" "-,Set"
else
;ppc440ep
group dcr:0x0011++0x0
out dcr:0x0010 %l 0x00000000
line.long 0x00 "SDRAM0_BESR0,Bus Error Status Register 0"
bitfld.long 0x00 29.--31. " M0ET ,Master 0 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 28. "  M0RW ,Master 0 Read/Write Status" "Write Error,Read Error"
bitfld.long 0x00 27. "  M0FL ,Master 0 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 26. "  M0AL ,Master 0 Address Lock" "Not locked,Locked"
textline "                           "
bitfld.long 0x00 23.--25. " M1ET ,Master 1 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 22. "  M1RW ,Master 1 Read/Write Status" "Write Error,Read Error"
bitfld.long 0x00 21. "  M1FL ,Master 1 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 20. "  M1AL ,Master 1 Address Lock" "Not locked,Locked"
textline "                           "
bitfld.long 0x00 17.--19. " M2ET ,Master 2 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 16. "  M2RW ,Master 2 Read/Write Status" "Write Error,Reserved"
bitfld.long 0x00 15. "  M2FL ,Master 2 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 14. "  M2AL ,Master 2 Address Lock" "Not locked,Locked"
textline "                           "
bitfld.long 0x00 11.--13. " M3ET ,Master 3 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 10. "  M3RW ,Master 3 Read/Write Status" "Write Error,Read Error"
bitfld.long 0x00 9. "  M3FL ,Master 3 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 8. "  M3AL ,Master 3 Address Lock" "Not locked,Locked"
group dcr:0x0011++0x0
out dcr:0x0010 %l 0x00000008
line.long 0x00 "SDRAM0_BESR1,Bus Error Status Register 1"
bitfld.long 0x00 29.--31. " M4ET ,Master 4 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 28. "  M4RW ,Master 4 Read/Write Status" "Write Error,Read Error"
bitfld.long 0x00 27. "  M4FL ,Master 4 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 26. "  M4AL ,Master 4 Address Lock" "Not locked,Locked"
textline "                           "
bitfld.long 0x00 23.--25. " M5ET ,Master 5 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 22. "  M5RW ,Master 5 Read/Write Status" "Write Error,Read Error"
bitfld.long 0x00 21. "  M5FL ,Master 5 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 20. "  M5AL ,Master 5 Address Lock" "Not locked,Locked"
textline "                           "
bitfld.long 0x00 17.--19. " M6ET ,Master 6 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 16. "  M6RW ,Master 6 Read/Write Status" "Write Error,Reserved"
bitfld.long 0x00 15. "  M6FL ,Master 6 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 14. "  M6AL ,Master 6 Address Lock" "Not locked,Locked"
textline "                           "
bitfld.long 0x00 11.--13. " M7ET ,Master 7 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 10. "  M7RW ,Master 7 Read/Write Status" "Write Error,Read Error"
bitfld.long 0x00 9. "  M7FL ,Master 7 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 8. "  M7AL ,Master 7 Address Lock" "Not locked,Locked"    
endif    
rgroup dcr:0x011++0x0
out dcr:0x010 %l 0x10
line.long 0x0 "SDRAM0_BEAR,Bus Error Address Register"
hexmask.long 0x00 0.--31. 1. " BEAR     ,Address of Bus Error"
sif (cpu()=="PPC440GR")||(cpu()=="PPC440GP")
group dcr:0x011++0x0
out dcr:0x010 %l 0x11
line.long 0x0 "SDRAM0_MIRQ,Master Write Interrupt"
eventfld.long 0x00 31. " M0IR     ,Master 0 Write Interrupt" "-,Error"
eventfld.long 0x00 30. "   M1IR     ,Master 1 Write Interrupt" "-,Error"
eventfld.long 0x00 29. "   M2IR     ,Master 2 Write Interrupt" "-,Error"
eventfld.long 0x00 28. "  M3IR     ,Master 3 Write Interrupt" "-,Error"
textline "                           "    
sif (cpu()=="PPC440GR")
eventfld.long 0x00 27. " M4IR     ,Master 4 Write Interrupt" "-,Error"    
eventfld.long 0x00 26. "   M5IR     ,Master 5 Write Interrupt" "-,Error"    
else
; 440gp
eventfld.long 0x00 26. " M5IR     ,Master 5 Write Interrupt" "-,Error"
endif
eventfld.long 0x00 25. "   M6IR     ,Master 6 Write Interrupt" "-,Error"
sif (cpu()=="PPC440GR")        
eventfld.long 0x00 24. "  M7IR     ,Master 7 Write Interrupt" "-,Error"
else        
eventfld.long 0x00 24. "   M7IR     ,Master 7 Write Interrupt" "-,Error"
endif
wgroup dcr:0x011++0x0
out dcr:0x010 %l 0x12
line.long 0x0 "SDRAM0_MIRQ_SET,Master Write Interrupt Set"
bitfld.long 0x00 31. " M0IR_SET ,Master 0 Write Interrupt Set" "-,Set"
bitfld.long 0x00 30. "     M1IR_SET ,Master 1 Write Interrupt Set" "-,Set"
bitfld.long 0x00 29. "     M2IR_SET ,Master 2 Write Interrupt Set" "-,Set"
bitfld.long 0x00 28. "    M3IR_SET ,Master 3 Write Interrupt Set" "-,Set"
textline "                           "
bitfld.long 0x00 27. " M4IR_SET ,Master 4 Write Interrupt Set" "-,Set"
bitfld.long 0x00 26. "     M5IR_SET ,Master 5 Write Interrupt Set" "-,Set"
bitfld.long 0x00 25. "     M6IR_SET ,Master 6 Write Interrupt Set" "-,Set"
bitfld.long 0x00 24. "    M7IR_SET ,Master 7 Write Interrupt Set" "-,Set"
elif (cpu()=="PPC440GX")
group dcr:0x011++0x0
out dcr:0x010 %l 0x11
line.long 0x0 "SDRAM0_MIRQ,Master Write Interrupt 0"
eventfld.long 0x00 31. " M0IR     ,Master 0 Write Interrupt (processor core instruction cache unit (ICU))" "-,Error"
eventfld.long 0x00 30. "   M1IR     ,Master 1 Write Interrupt (processor core data cache read unit (DCU))" "-,Error"
eventfld.long 0x00 29. "   M2IR     ,Master 2 Write Interrupt (processor core data cache write unit (DCU))" "-,Error"
eventfld.long 0x00 28. "  M3IR  ,Master 3 Write Interrupt (PCIX bridge controller (PCIX))" "-,Error"
textline "                           "
eventfld.long 0x00 27. " M4IR     ,Master 4 Write Interrupt (I20 messaging unit (IMU))" "-,Error"
eventfld.long 0x00 26. "   M5IR     ,Master 5 Write Interrupt (media access layer (MAL))" "-,Error"
eventfld.long 0x00 25. "   M6IR     ,Master 6 Write Interrupt (direct memory access controller (DMA))" "-,Error"
eventfld.long 0x00 24. "  M7IR  ,Master 7 Write Interrupt (OPB to PLB bridge controller)" "-,Error"
wgroup dcr:0x011++0x0
out dcr:0x010 %l 0x12
line.long 0x0 "SDRAM0_MIRQS,Master Write Interrupt Set 0"
bitfld.long 0x00 31. " M0IRS    ,Master 0 Write Interrupt (processor core instruction cache unit (ICU)) Set" "-,Set"
bitfld.long 0x00 30. "     M1IRS    ,Master 1 Write Interrupt (processor core data cache read unit (DCU)) Set" "-,Set"
bitfld.long 0x00 29. "     M2IRS    ,Master 2 Write Interrupt (processor core data cache write unit (DCU)) Set" "-,Set"
bitfld.long 0x00 28. "    M3IRS ,Master 3 Write Interrupt (PCIX bridge controller (PCIX)) Set" "-,Set"
textline "                           "
bitfld.long 0x00 27. " M4IRS    ,Master 4 Write Interrupt (I20 messaging unit (IMU)) Set" "-,Set"
bitfld.long 0x00 26. "     M5IRS    ,Master 5 Write Interrupt (media access layer (MAL)) Set" "-,Set"
bitfld.long 0x00 25. "     M6IRS    ,Master 6 Write Interrupt (direct memory access controller (DMA)) Set" "-,Set"
bitfld.long 0x00 24. "    M7IRS ,Master 7 Write Interrupt (OPB to PLB bridge controller) Set" "-,Set"
else
;440ep
group dcr:0x0011++0x00
out dcr:0x0010 %l 0x00000011
line.long 0x00 "SDRAM0_MIRQ,Master Write Interrupt"
bitfld.long 0x00 31. " M0IR     ,Master 0 Write Interrupt" "-,Error"
bitfld.long 0x00 30. "   M1IR     ,Master 1 Write Interrupt" "-,Error"
bitfld.long 0x00 29. "   M2IR     ,Master 2 Write Interrupt" "-,Error"
bitfld.long 0x00 28. "  M3IR ,Master 3 Write Interrupt" "-,Error"
textline "                           "
bitfld.long 0x00 27. " M4IR     ,Master 4 Write Interrupt" "-,Error"
bitfld.long 0x00 26. "   M5IR     ,Master 5 Write Interrupt" "-,Error"
bitfld.long 0x00 25. "   M6IR     ,Master 6 Write Interrupt" "-,Error"
bitfld.long 0x00 24. "  M7IR ,Master 7 Write Interrupt" "-,Error"
endif    
group dcr:0x011++0x0
out dcr:0x010 %l 0x18
line.long 0x0 "SDRAM0_SLI0,PLB Slave Interface Options Register"
bitfld.long 0x00 31. " RDRE     ,PLB Slave Read Rearbitrate Enable" "-,Enabled"
bitfld.long 0x00 30. " WRRE     ,PLB Slave Write Rearbitrate Enable" "-,Enabled"
bitfld.long 0x00 29. " RARW     ,PLB Read Around Write Enable" "-,Enabled"
group dcr:0x011++0x0
out dcr:0x010 %l 0x20
line.long 0x0 "SDRAM0_CFG0,Memory Controller Options 0 0"
bitfld.long 0x00 31. " DCEN  ,DDR SDRAM Controller Enable" "-,Enabled"
bitfld.long 0x00 28.--29. "               MCHK  ,Memory Data Error Checking" "-,Reserved,Generation,Checking/correction"
textline "                         "
bitfld.long 0x00 27. "   RDEN  ,Registered DIMM Enable" "-,Enabled"
sif (cpu()=="PPC440EP")            
bitfld.long 0x00 26. "               PMUD  ,Page Management Unit" "-,Disabled"
else            
bitfld.long 0x00 26. "               PMU   ,Page Management Unit" "-,Disabled"
endif    
textline "                         "
bitfld.long 0x00 25. "   DMWD  ,DDR SDRAM Width" "32-bit,64-bit"
bitfld.long 0x00 22.--23. "                UIOS  ,Unused I/O State" "Active-switching DQS,Active-static values,Static-static values,High-Z"
textline "                         "
bitfld.long 0x00 21. "   PDP   ,Page Deallocation Policy" "Pseudo Allocated,Used"
group dcr:0x011++0x0
out dcr:0x010 %l 0x21
line.long 0x0 "SDRAM0_CFG1,Memory Controller Options 0 1"
bitfld.long 0x00 31. " SRE   ,Self-Refresh Entry" "Exited,Entered"
bitfld.long 0x00 30. "               PMEN  ,Power Management Enable" "-,Enabled"
group dcr:0x011++0x0
out dcr:0x010 %l 0x22
line.long 0x0 "SDRAM0_DEVOPT,DDR SDRAM Device Options 0"
bitfld.long 0x00 31. " DLL   ,DDR_SDRAM Device DLL Disable" "-,Disabled"
bitfld.long 0x00 30. "              DS    ,DDR_SDRAM Device I/O Drive Strength" "Normal,Weak"
rgroup dcr:0x011++0x0
out dcr:0x010 %l 0x24
line.long 0x0 "SDRAM0_MCSTS,Memory Controller Status 0"
bitfld.long 0x00 31. " MRSC  ,MRS Command Complete" "-,Completed"
bitfld.long 0x00 30. "             SRMS  ,Self-Refresh Mode Status" "-,Self-Refresh"
textline "                         "
bitfld.long 0x00 29. "   CIS   ,Core Idle Status" "Busy,Idle"
group dcr:0x011++0x0
out dcr:0x010 %l 0x30
line.long 0x0 "SDRAM0_RTR,Refresh Timer Register"
hexmask.long.word 0x0 19.--29. 1. " RINT  ,Refresh Interval"
group dcr:0x011++0x0
out dcr:0x010 %l 0x34
line.long 0x0 "SDRAM0_PMIT,Power Management Idle Timer"
hexmask.long.byte 0x0 27.--31. 1. " PMC   ,Power Management Count"
group dcr:0x011++0x0
out dcr:0x010 %l 0x38
line.long 0x0 "SDRAM0_UABBA,PLB UA Bus Base Address"
hexmask.long.byte 0x0 0.--3. 1. " UBBA  ,PLB UABus Base Address"
group dcr:0x011++0x0
out dcr:0x010 %l 0x40
line.long 0x0 "SDRAM0_B0CR,Memory 0 Configuration 0"
hexmask.long 0x00 23.--31. 0x800000 " SDBA ,Base Address"
sif (cpu()=="PPC440EP")
bitfld.long 0x00 17.--19. "  SDSZ ,Size" "Reserved,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,Reserved"
else
bitfld.long 0x00 17.--19. "  SDSZ ,Size" "Reserved,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB"
endif
bitfld.long 0x00 13.--15. "  SDAM ,Addressing Mode" "[13:11]x8-4 Bank,[13:11]x9-4 Bank,[13:11]x10-4 Bank,[13:11]x11-4 Bank,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 0. "   SDBE ,Memory Bank Enable" "-,Enabled"
group dcr:0x011++0x0
out dcr:0x010 %l 0x44
line.long 0x0 "SDRAM0_B1CR,Memory 1 Configuration 0"
hexmask.long 0x00 23.--31. 0x800000 " SDBA ,Base Address"
sif (cpu()=="PPC440EP")
bitfld.long 0x00 17.--19. "  SDSZ ,Size" "Reserved,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,Reserved"
else
bitfld.long 0x00 17.--19. "  SDSZ ,Size" "Reserved,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB"
endif
bitfld.long 0x00 13.--15. "  SDAM ,Addressing Mode" "[13:11]x8-4 Bank,[13:11]x9-4 Bank,[13:11]x10-4 Bank,[13:11]x11-4 Bank,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 0. "   SDBE ,Memory Bank Enable" "-,Enabled"
group dcr:0x011++0x0
out dcr:0x010 %l 0x48
line.long 0x0 "SDRAM0_B2CR,Memory 2 Configuration 0"
hexmask.long 0x00 23.--31. 0x800000 " SDBA ,Base Address"
sif (cpu()=="PPC440EP")
bitfld.long 0x00 17.--19. "  SDSZ ,Size" "Reserved,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,Reserved"
else
bitfld.long 0x00 17.--19. "  SDSZ ,Size" "Reserved,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB"
endif
bitfld.long 0x00 13.--15. "  SDAM ,Addressing Mode" "[13:11]x8-4 Bank,[13:11]x9-4 Bank,[13:11]x10-4 Bank,[13:11]x11-4 Bank,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 0. "   SDBE ,Memory Bank Enable" "-,Enabled"
group dcr:0x011++0x0
out dcr:0x010 %l 0x4C
line.long 0x0 "SDRAM0_B3CR,Memory 3 Configuration 0"
hexmask.long 0x00 23.--31. 0x800000 " SDBA ,Base Address"
sif (cpu()=="PPC440EP")
bitfld.long 0x00 17.--19. "  SDSZ ,Size" "Reserved,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,Reserved"
else
bitfld.long 0x00 17.--19. "  SDSZ ,Size" "Reserved,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB"
endif
bitfld.long 0x00 13.--15. "  SDAM ,Addressing Mode" "[13:11]x8-4 Bank,[13:11]x9-4 Bank,[13:11]x10-4 Bank,[13:11]x11-4 Bank,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 0. "   SDBE ,Memory Bank Enable" "-,Enabled"
group dcr:0x011++0x0
out dcr:0x010 %l 0x80
line.long 0x0 "SDRAM0_TR0,SDRAM Timing Register 0"
bitfld.long 0x00 31. " SDWR ,DDR SDRAM Write Recovery" "2 CLK,3 CLK"
bitfld.long 0x00 30. "     SDWD ,DDR SDRAM Write to Write Delay when Crossing a Chip Select Boundary" "0 CLK,1 CLK"
bitfld.long 0x00 23.--24. "     SDCL ,DDR SDRAM CAS_Latency" "Reserved,2 CLK,2.5 CLK,3 CLK"
bitfld.long 0x00 18.--19. "   SDPA ,DDR SDRAM CBR Precharge Command to Next Activate Command Minimum" "Reserved,2 CLK,3 CLK,4 CLK"
textline "                           "
sif (cpu()=="PPC440GR")||(cpu()=="PPC440GX")||(cpu()=="PPC440EP")        
bitfld.long 0x00 16.--17. " SDCP ,DDR SDRAM Read/Write Command to Precharge Command" "2 CLK,3 CLK,4 CLK,Reserved"
bitfld.long 0x00 14.--15. "  SDLD ,DDR SDRAM Command Leadoff" "1 CLK,2 CLK,Reserved,Reserved"        
else
bitfld.long 0x00 16.--17. " SDCP ,DDR SDRAM Read/Write Command to Precharge Command" "2 CLK,3 CLK,4 CLK,5 CLK"
bitfld.long 0x00 14.--15. "     SDLD ,DDR SDRAM Command Leadoff" "1 CLK,2 CLK,Reserved,Reserved"        
endif    
sif (cpu()=="PPC440GR")||(cpu()=="PPC440GX")||(cpu()=="PPC440EP")    
bitfld.long 0x00 7. "  TWTR ,DDR SDRAM Write-To-Read Command" "1 CLK,2 CLK"
bitfld.long 0x00 5.--6. "      RFTA ,DDR SDRAM Refresh-To-Activate Command" "0 CLK,1 CLK,2 CLK,Reserved"
textline "                           "
bitfld.long 0x00 2.--4. " SDRA ,DDR SDRAM CBR Refresh Command to Next Activate Command Minimum" "6 CLK,7 CLK,8 CLK,9 CLK,10 CLK,11 CLK,12 CLK,13 CLK"    
bitfld.long 0x00 0.--1. "    SDRD ,DDR SDRAM RAS to CAS Delay" "Reserved,2 CLK,3 CLK,4 CLK"        
else    
bitfld.long 0x00 2.--4. "  SDRA ,DDR SDRAM CBR Refresh Command to Next Activate Command Minimum" "6 CLK,7 CLK,8 CLK,9 CLK,10 CLK,11 CLK,12 CLK,13 CLK"
bitfld.long 0x00 0.--1. "     SDRD ,DDR SDRAM RAS to CAS Delay" "Reserved,2 CLK,3 CLK,4 CLK"        
endif        
group dcr:0x011++0x0
out dcr:0x010 %l 0x81
line.long 0x0 "SDRAM0_TR1,SDRAM Timing Register 1"
bitfld.long 0x00 30.--31. " RDSS ,Read Sample Cycle Select" "T0,T1,T2,T3"
bitfld.long 0x00 22.--23. "        RDSL ,Read Sample Stage Select" "Stage 1,Stage 2,Stage 3,Reserved"
bitfld.long 0x00 11. "  RDCD ,Read Clock Delay - Stage 2" "0 clock,1/2 clock"
hexmask.long.word 0x00 0.--8. 1. "  RDCT ,Read Clock Delay Tuning Bits"
group dcr:0x011++0x0
out dcr:0x010 %l 0x82
line.long 0x0 "SDRAM0_CLKTR,DDR SDRAM Clock Timing Register"
bitfld.long 0x00 30.--31. " CLKP  ,Write Clock Phase" "0 degrees,90 degrees,180 degrees,Reserved"
hexmask.long.word 0x00 0.--8. 1. "    DCDT  ,DDR Clock Delay Tuning"
sif (cpu()=="PPC440GR")        
group dcr:0x011++0x0
out dcr:0x010 %l 0xe0
line.long 0x0 "SDR0_DDRDL0,DDR Delay Line Register"
hexmask.long.byte 0x00 0.--5. 1. " TUNE  ,DDR Delay Line TUNE"
elif (cpu()=="PPC440GX")||(cpu()=="PPC440EP")    
group dcr:0xF++0x0
out dcr:0xE %l 0xE0
line.long 0x0 "SDR0_DDRDL,DDR Delay Line Register 0"
hexmask.long.byte 0x0 0.--5. 1. " TUNE  ,DDR Delay Line PLL TUNE"
endif
group dcr:0x011++0x0
out dcr:0x010 %l 0x83
line.long 0x0 "SDRAM0_WDDCTR,Write Data/DM/DQS Clock Timing Register"
bitfld.long 0x00 30.--31. " WRCP  ,Write Clock Phase" "0 degrees,90 degrees,180 degrees,Reserved"
hexmask.long.word 0x00 0.--8. 1. "    DCD   ,DDR Write Data/DM/DQS Clock Delay Tuning Bits"
group dcr:0x011++0x0
out dcr:0x010 %l 0x84
line.long 0x0 "SDRAM0_DLYCAL,Delay Line Calibration Register"
bitfld.long 0x00 31. " DLCR  ,Delay Line Calibration Request" "-,Requested"
bitfld.long 0x00 28.--30. "      DLCS  ,Delay Line Calibration Status" "Not running,In progress,Completed,Reserved,Error,Reserved,Reserved,Reserved"
textline "                           "
hexmask.long.byte 0x00 2.--9. 1. " DLCV  ,Delay Line Calibration Value"
sif (cpu()=="PPC440GR")||(cpu()=="PPC440GX")
group dcr:0x011++0x0
out dcr:0x010 %l 0x98
line.long 0x0 "SDRAM0_ECCESR,ECC Error Status"
eventfld.long 0x00 31. " B0CE  ,Byte Lane 0 Corrected Error" "-,Error"
eventfld.long 0x00 30. "  B1CE  ,Byte Lane 1 Corrected Error" "-,Error"
eventfld.long 0x00 29. "  B2CE  ,Byte Lane 2 Corrected Error" "-,Error"
eventfld.long 0x00 28. "  B3CE  ,Byte Lane 3 Corrected Error" "-,Error"
eventfld.long 0x00 27. "   B4CE  ,Byte Lane 4 Corrected Error" "-,Error"
textline "                           "
eventfld.long 0x00 26. " B5CE  ,Byte Lane 5 Corrected Error" "-,Error"
eventfld.long 0x00 25. "  B6CE  ,Byte Lane 6 Corrected Error" "-,Error"
eventfld.long 0x00 24. "  B7CE  ,Byte Lane 7 Corrected Error" "-,Error"
eventfld.long 0x00 23. "  B8CE  ,Byte Lane 8 Corrected Error" "-,Error"
eventfld.long 0x00 22. "   B9CE  ,Byte Lane 9 Corrected Error" "-,Error"
textline "                           "
eventfld.long 0x00 21. " B10CE ,Byte Lane 10 Corrected Error" "-,Error"
eventfld.long 0x00 20. "  B11CE ,Byte Lane 11 Corrected Error" "-,Error"
eventfld.long 0x00 19. "  B12CE ,Byte Lane 12 Corrected Error" "-,Error"
eventfld.long 0x00 18. "  B13CE ,Byte Lane 13 Corrected Error" "-,Error"
eventfld.long 0x00 17. "   B14CE ,Byte Lane 14 Corrected Error" "-,Error"
textline "                           "
eventfld.long 0x00 16. " B15CE ,Byte Lane 15 Corrected Error" "-,Error"
eventfld.long 0x00 13. "  CE    ,Correctable Error" "-,Error"                
eventfld.long 0x00 12. "  UE    ,Uncorrectable Error" "-,Error"
eventfld.long 0x00 11. "  BK0E  ,Bank 0 Error" "-,Error"
eventfld.long 0x00 10. "   BK1E  ,Bank 1 Error" "-,Error"
textline "                           "
eventfld.long 0x00 9. " BK2E  ,Bank 2 Error" "-,Error"
eventfld.long 0x00 8. "  BK3E  ,Bank 3 Error" "-,Error"
sif (cpu()=="PPC440GR")            
bitfld.long 0x00 14.--15. "  CKBE  ,Error Detected in Checkbits" "-,32bit-Lower,64bit-Error/32bit-Upper,32bit-Upper and Lower"    
else
eventfld.long 0x00 14.--15. "  CKBE  ,Error Detected in Checkbits (64|32-bit Mode)" "-,Reserved|Lower,Error|Upper,Reserved|Upper/Lower"    
endif        
elif (cpu()=="PPC440GP")
;440gp
group dcr:0x011++0x0
out dcr:0x010 %l 0x98
line.long 0x0 "SDRAM0_ECCESR,ECC Error Status"
bitfld.long 0x00 31. " B0CE  ,Byte Lane 0 Corrected Error" "-,Error"
bitfld.long 0x00 30. "  B1CE  ,Byte Lane 1 Corrected Error" "-,Error"
bitfld.long 0x00 29. "  B2CE  ,Byte Lane 2 Corrected Error" "-,Error"
bitfld.long 0x00 28. "  B3CE  ,Byte Lane 3 Corrected Error" "-,Error"
bitfld.long 0x00 27. "  B4CE  ,Byte Lane 4 Corrected Error" "-,Error"
textline "                           "
bitfld.long 0x00 26. " B5CE  ,Byte Lane 5 Corrected Error" "-,Error"
bitfld.long 0x00 25. "  B6CE  ,Byte Lane 6 Corrected Error" "-,Error"
bitfld.long 0x00 24. "  B7CE  ,Byte Lane 7 Corrected Error" "-,Error"
bitfld.long 0x00 23. "  B8CE  ,Byte Lane 8 Corrected Error" "-,Error"    
bitfld.long 0x00 22. "  B9CE  ,Byte Lane 9 Corrected Error" "-,Error"
textline "                           "
bitfld.long 0x00 21. " B10CE ,Byte Lane 10 Corrected Error" "-,Error"
bitfld.long 0x00 20. "  B11CE ,Byte Lane 11 Corrected Error" "-,Error"
bitfld.long 0x00 19. "  B12CE ,Byte Lane 12 Corrected Error" "-,Error"
bitfld.long 0x00 18. "  B13CE ,Byte Lane 13 Corrected Error" "-,Error"
bitfld.long 0x00 17. "  B14CE ,Byte Lane 14 Corrected Error" "-,Error"
textline "                           "
bitfld.long 0x00 16. " B15CE ,Byte Lane 15 Corrected Error" "-,Error"
bitfld.long 0x00 13. "  CE    ,Correctable Error" "-,Error"
bitfld.long 0x00 12. "  UE    ,Uncorrectable Error" "-,Error"
bitfld.long 0x00 11. "  BK0E  ,Bank 0 Error" "-,Error"
bitfld.long 0x00 10. "  BK1E  ,Bank 1 Error" "-,Error"
textline "                           "
bitfld.long 0x00 9. " BK2E  ,Bank 2 Error" "-,Error"
bitfld.long 0x00 8. "  BK3E  ,Bank 3 Error" "-,Error"
bitfld.long 0x00 14.--15. "  CKBE  ,Error Detected in Checkbits" "-,32bit-Lower,64bit-Error/32bit-Upper,32bit-Upper and Lower"
else
;440ep
group dcr:0x0011++0x00
out dcr:0x0010 %l 0x00000098
line.long 0x00 "SDRAM0_ECCESR,ECC Error Status"
Textfld " BnCE:0   1   2   3   4   5   6   7   8   9   10  11  12  13  14  15"
Textline "                             "
bitfld.long 0x00 31. "    ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 30. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 29. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 28. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 27. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 26. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 25. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 24. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 23. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 22. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 21. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 20. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 19. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 18. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 17. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 16. " ,Byte Lane n Corrected Error" "-,Err"
textline "                           "
bitfld.long 0x00 14.--15. " CKBE(64) ,Error Detected in Checkbits. Mode depend on SDRAM_CFG0[DMWD]" "-,res,Error in Checkbits,res"
bitfld.long 0x00 13. "  CE       ,Correctable Error" "No,Yes"
textline "                           "
bitfld.long 0x00 13. " UE       ,Uncorrectable Error" "No,Yes"
bitfld.long 0x00 11. "                 BK0E     , Bank 0 Error" "-,Err"
textline "                           "
bitfld.long 0x00 10. " BK1E     , Bank 1 Error" "-,Err"
bitfld.long 0x00 09. "                 BK2E     , Bank 2 Error" "-,Err"
textline "                           "
bitfld.long 0x00 08. " BK3E     , Bank 3 Error" "-,Err"
bitfld.long 0x00 14.--15. "                 CKBE(32) ,Error Detected in Checkbits. Mode depend on SDRAM_CFG0[DMWD]" "-,Error in Lower Checkbits,Error in Upper Checkbits,Error in Upper and Lower Checkbits"
endif    
sif (cpu()=="PPC440EP")
group dcr:0x0011++0x00
out dcr:0x0010 %l 0x000000A4
line.long 0x00 "SDRAM0_CID,Controller ID Register"
hexmask.long.word 0x00 20.--31. 1. " CID   ,Core ID"
hexmask.long.byte 0x00 16.--19. 1. " CDC   ,Core Derivative Code"
hexmask.long.word 0x00 0.--15. 1. "         BRID  ,Controller Branch Revision Control ID"
else
rgroup dcr:0x011++0x0
out dcr:0x010 %l 0xA4
line.long 0x0 "SDRAM0_CID,Controller ID Register"
hexmask.long.word 0x00 20.--31. 1. " CID   ,Core ID Identifies the IBM Specific Core Number Associated with the DDR SDRAM"
sif (cpu()=="PPC440GR")            
bitfld.long 0x00 16.--19. " CDC   ,Core Derivative Code" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
hexmask.long.word 0x00 0.--15. 1. "         BRID  ,Controller Branch Revision Control ID"
else        
bitfld.long 0x00 16.--19. " CDC   ,Core Derivative Code" "Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Base,Reserved,Derivative,Reserved,Reserved"
endif
endif
rgroup dcr:0x011++0x0
out dcr:0x010 %l 0xA8
line.long 0x0 "SDRAM0_RID,Revision ID Register"
hexmask.long.byte 0x00 24.--31. 1. " CDID  ,Controller Derivative ID"
hexmask.long.word 0x00  8.--23. 1. "   RCID  ,Controller Revision Control ID"
hexmask.long.byte 0x00  0.--7.  1. "       BRID  ,Controller Branch Revision Control ID"

elif (cpu()=="PPC440GP")
width 18.
sif (cpu()=="PPC440GR")||(cpu()=="PPC440GP")
group dcr:0x011++0x0
out dcr:0x010 %l 0x00
line.long 0x0 "SDRAM0_BESR0,Bus Error Syndrome Register 0"
sif (cpu()=="PPC440GR")    
bitfld.long 0x00 29.--31. " M0ET ,Master 0 Error Type" "-,Reserved,ECC error,Reserved,Reserved,Reserved,Reserved,Reserved"    
else
eventfld.long 0x00 29.--31. " M0ET ,Master 0 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
endif        
eventfld.long 0x00 28. "   M0RW ,Master 0 Read/Write Status" "Write error,Read error"
eventfld.long 0x00 27. " M0FL ,Master 0 Field Lock" "-,Locked"
eventfld.long 0x00 26. "      M0AL ,Master 0 Address Lock" "-,Locked"
textline "                           "       
sif (cpu()=="PPC440GR")
bitfld.long 0x00 23.--25. " M1ET ,Master 1 Error Type" "-,Reserved,ECC error,Reserved,Reserved,Reserved,Reserved,Reserved"
else
eventfld.long 0x00 23.--25. " M1ET ,Master 1 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
endif                
eventfld.long 0x00 22. "   M1RW ,Master 1 Read/Write Status" "Reserved,Read error"
eventfld.long 0x00 21. "  M1FL ,Master 1 Field Lock" "-,Locked"
eventfld.long 0x00 20. "      M1AL ,Master 1 Address Lock" "-,Locked"
textline "                           "
sif (cpu()=="PPC440GR")    
bitfld.long 0x00 17.--19. " M2ET ,Master 2 Error Type" "-,Reserved,ECC error,Reserved,Reserved,Reserved,Reserved,Reserved"
else
eventfld.long 0x00 17.--19. " M2ET ,Master 2 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
endif                
eventfld.long 0x00 16. "   M2RW ,Master 2 Read/Write Status" "Write error,Read error"
eventfld.long 0x00 15. " M2FL ,Master 2 Field Lock" "-,Locked"
eventfld.long 0x00 14. "      M2AL ,Master 2 Address Lock" "-,Locked"
textline "                           "
sif (cpu()=="PPC440GR")    
bitfld.long 0x00 11.--13. " M3ET ,Master 3 Error Type" "-,Reserved,ECC error,Reserved,Reserved,Reserved,Reserved,Reserved"
else
eventfld.long 0x00 11.--13. " M3ET ,Master 3 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
endif                
eventfld.long 0x00 10. "   M3RW ,Master 3 Read/Write Status" "Write error,Read error"
eventfld.long 0x00 9. " M3FL ,Master 3 Field Lock" "-,Locked"
eventfld.long 0x00 8. "      M3AL ,Master 3 Address Lock" "-,Locked"
wgroup dcr:0x011++0x0
out dcr:0x010 %l 0x04
line.long 0x0 "SDRAM0_BESR0_SET,Bus Error Syndrome Register 0 Set"
bitfld.long  0x00 31. " M0ET_SET[2] ,Master 0 Error Type Set" "-,Set"
bitfld.long  0x00 30. "  M0ET_SET[1] ,Master 0 Error Type Set" "-,Set"
bitfld.long  0x00 29. "  M0ET_SET[0] ,Master 0 Error Type Set" "-,Set"
bitfld.long  0x00 28. "  M0RW_SET    ,Master 0 Read/Write Status Set" "-,Set"
textline "                           "
bitfld.long  0x00 27. " M0FL_SET    ,Master 0 Field Lock Set" "-,Set"
bitfld.long  0x00 26. "  M0AL_SET    ,Master 0 Address Lock Set" "-,Set"
bitfld.long  0x00 25. "  M1ET_SET[2] ,Master 1 Error Type Set" "-,Set"
bitfld.long  0x00 24. "  M1ET_SET[1] ,Master 1 Error Type Set" "-,Set"
textline "                           "
bitfld.long  0x00 23. " M1ET_SET[0] ,Master 1 Error Type Set" "-,Set"
bitfld.long  0x00 22. "  M1RW_SET    ,Master 1 Read/Write Status Set" "-,Set"
bitfld.long  0x00 21. "  M1FL_SET    ,Master 1 Field Lock Set" "-,Set"
bitfld.long  0x00 20. "  M1AL_SET    ,Master 1 Address Lock Set" "-,Set"
textline "                           "
bitfld.long  0x00 19. " M2ET_SET[2] ,Master 2 Error Type Set" "-,Set"
bitfld.long  0x00 18. "  M2ET_SET[1] ,Master 2 Error Type Set" "-,Set"
bitfld.long  0x00 17. "  M2ET_SET[0] ,Master 2 Error Type Set" "-,Set"
bitfld.long  0x00 16. "  M2RW_SET    ,Master 2 Read/Write Status Set" "-,Set"
textline "                           "
bitfld.long  0x00 15. " M2FL_SET    ,Master 2 Field Lock Set" "-,Set"
bitfld.long  0x00 14. "  M2AL_SET    ,Master 2 Address Lock Set" "-,Set"
bitfld.long  0x00 13. "  M3ET_SET[2] ,Master 3 Error Type Set" "-,Set"
bitfld.long  0x00 12. "  M3ET_SET[1] ,Master 3 Error Type Set" "-,Set"
textline "                           "
bitfld.long  0x00 11. " M3ET_SET[0] ,Master 3 Error Type Set" "-,Set"
bitfld.long  0x00 10. "  M3RW_SET    ,Master 3 Read/Write Status Set" "-,Set"
bitfld.long  0x00 9.  "  M3FL_SET    ,Master 3 Field Lock Set" "-,Set"
bitfld.long  0x00 8.  "  M3AL_SET    ,Master 3 Address Lock Set" "-,Set"    
group dcr:0x011++0x00
out dcr:0x010 %l 0x08
line.long 0x0 "SDRAM0_BESR1,Bus Error Syndrome Register 1"
sif (cpu()=="PPC440GR")    
bitfld.long 0x00 29.--31. " M4ET ,Master 4 Error Type" "-,Reserved,ECC error,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 28. "   M4RW ,Master 4 Read/Write" "Write error,Read error"
eventfld.long 0x00 27. " M4FL ,Master 4 Field Lock" "-,Locked"
eventfld.long 0x00 26. "      M4AL ,Master 4 Address Lock" "-,Locked"
textline "                           "
bitfld.long 0x00 23.--25. " M5ET ,Master 5 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 22. "   M5RW ,Master 5 Read/Write" "Write error,Read error"
textline "                           "
eventfld.long 0x00 21. " M5FL ,Master 5 Field Lock" "-,Locked"    
else
eventfld.long 0x00 23.--25. " M5ET ,Master 5 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 22. "   M5RW ,Master 5 Read/Write" "Reserved,Read error"    
eventfld.long 0x00 21. "  M5FL ,Master 5 Field Lock" "-,Locked"    
endif    
eventfld.long 0x00 20. "      M5AL ,Master 5 Address Lock" "-,Locked"
textline "                           "
eventfld.long 0x00 17.--19. " M6ET ,Master 6 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 16. "   M6RW ,Master 6 Read/Write" "Write error,Read error"
eventfld.long 0x00 15. " M6FL ,Master 6 Field Lock" "-,Locked"
eventfld.long 0x00 14. "      M6AL ,Master 6 Address Lock" "-,Locked"
textline "                           "
eventfld.long 0x00 11.--13. " M7ET ,Master 7 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 10. "   M7RW ,Master 7 Read/Write" "Write error,Read error"
eventfld.long 0x00 9. " M7FL ,Master 7 Field Lock" "-,Locked"
eventfld.long 0x00 8. "      M7AL ,Master 7 Address Lock" "-,Locked"
wgroup dcr:0x011++0x00
out dcr:0x010 %l 0x0c
line.long 0x0 "SDRAM0_BESR1_SET,Bus Error Syndrome Register 1 Set"
bitfld.long 0x00 31. " M4ET_SET[2] ,Master 4 Error Type Set" "-,Set"
bitfld.long 0x00 30. "  M4ET_SET[1] ,Master 4 Error Type Set" "-,Set"
bitfld.long 0x00 29. "  M4ET_SET[0] ,Master 4 Error Type Set" "-,Set"
bitfld.long 0x00 28. "  M4RW_SET    ,Master 4 Read/Write Status Set" "-,Set"
textline "                           "
bitfld.long 0x00 27. " M4FL_SET    ,Master 4 Field Lock Set" "-,Set"
bitfld.long 0x00 26. "  M4AL_SET    ,Master 4 Address Lock Set" "-,Set"
bitfld.long 0x00 25. "  M5ET_SET[2] ,Master 5 Error Type Set" "-,Set"
bitfld.long 0x00 24. "  M5ET_SET[1] ,Master 5 Error Type Set" "-,Set"
textline "                           "
bitfld.long 0x00 23. " M5ET_SET[0] ,Master 5 Error Type Set" "-,Set"
bitfld.long 0x00 22. "  M5RW_SET    ,Master 5 Read/Write Status Set" "-,Set"
bitfld.long 0x00 21. "  M5FL_SET    ,Master 5 Field Lock Set" "-,Set"
bitfld.long 0x00 20. "  M5AL_SET    ,Master 5 Address Lock Set" "-,Set"
textline "                           "
bitfld.long 0x00 19. " M6ET_SET[2] ,Master 6 Error Type Set" "-,Set"
bitfld.long 0x00 18. "  M6ET_SET[1] ,Master 6 Error Type Set" "-,Set"
bitfld.long 0x00 17. "  M6ET_SET[0] ,Master 6 Error Type Set" "-,Set"
bitfld.long 0x00 16. "  M6RW_SET    ,Master 6 Read/Write Status Set" "-,Set"
textline "                           "
bitfld.long 0x00 15. " M6FL_SET    ,Master 6 Field Lock Set" "-,Set"
bitfld.long 0x00 14. "  M6AL_SET    ,Master 6 Address Lock Set" "-,Set"
bitfld.long 0x00 13. "  M7ET_SET[2] ,Master 7 Error Type Set" "-,Set"
bitfld.long 0x00 12. "  M7ET_SET[1] ,Master 7 Error Type Set" "-,Set"
textline "                           "
bitfld.long 0x00 11. " M7ET_SET[0] ,Master 7 Error Type Set" "-,Set"
bitfld.long 0x00 10. "  M7RW_SET    ,Master 7 Read/Write Status Set" "-,Set"
bitfld.long 0x00  9. "  M7FL_SET    ,Master 7 Field Lock Set" "-,Set"
bitfld.long 0x00  8. "  M7AL_SET    ,Master 7 Address Lock Set" "-,Set"
elif (cpu()=="PPC440GX")
group dcr:0x011++0x0
out dcr:0x010 %l 0x00
line.long 0x0 "SDRAM0_BESR0,Bus Error Syndrome Register 0 0"
eventfld.long 0x00 29.--31. " M0ET ,Master 0 Error Type (read-only instruction cache unit (ICU))" "-,Reserved,ECC,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 28. "  M0RW ,Master 0 Read/Write Status (read-only instruction cache unit (ICU))" "Write,Read"
eventfld.long 0x00 27. "     M0FL ,Master 0 Field Lock (read-only instruction cache unit (ICU))" "-,Locked"
eventfld.long 0x00 26. "  M0AL ,Master 0 Address Lock (read-only instruction cache unit (ICU))" "-,Locked"
textline "                           "
eventfld.long 0x00 23.--25. " M1ET ,Master 1 Error Type (read-only data cache unit (DCU))" "-,Reserved,ECC,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 22. "  M1RW ,Master 1 Read/Write Status (read-only data cache unit (DCU))" "Reserved,Read"
eventfld.long 0x00 21. "  M1FL ,Master 1 Field Lock (read-only data cache unit (DCU))" "-,Locked"
eventfld.long 0x00 20. "  M1AL ,Master 1 Address Lock (read-only data cache unit (DCU))" "-,Locked"
textline "                           "
eventfld.long 0x00 17.--19. " M2ET ,Master 2 Error Type (write-only data cache unit (DCU))" "-,Reserved,ECC,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 16. "  M2RW ,Master 2 Read/Write Status (write-only data cache unit (DCU))" "Write,Reserved"
eventfld.long 0x00 15. "  M2FL ,Master 2 Field Lock (write-only data cache unit (DCU))" "-,Locked"
eventfld.long 0x00 14. "  M2AL ,Master 2 Address Lock (write-only data cache unit (DCU))" "-,Locked"
textline "                           "
eventfld.long 0x00 11.--13. " M3ET ,Master 3 Error Type (PCIX bridge controller)" "-,Reserved,ECC,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 10. "  M3RW ,Master 3 Read/Write Status (PCIX bridge controller)" "Write,Read"
eventfld.long 0x00 9. "     M3FL ,Master 3 Field Lock (PCIX bridge controller)" "-,Locked"
eventfld.long 0x00 8. "  M3AL ,Master 3 Address Lock (PCIX bridge controller)" "-,Locked"
group dcr:0x011++0x0
out dcr:0x010 %l 0x04
line.long 0x0 "SDRAM0_BESR0S,Bus Error Syndrome Register 0 0 Set"
bitfld.long 0x00 31. " M0ET0S ,Master 0 Error Type 0 (read-only instruction cache unit (ICU)) Set" "-,Set"
bitfld.long 0x00 30. "  M0ET1S ,Master 0 Error Type 1 (read-only instruction cache unit (ICU)) Set" "-,Set"
bitfld.long 0x00 29. "  M0ET2S ,Master 0 Error Type  2(read-only instruction cache unit (ICU)) Set" "-,Set"
bitfld.long 0x00 28. "  M0RWS  ,Master 0 Read/Write Status (read-only instruction cache unit (ICU)) Set" "-,Set"
bitfld.long 0x00 27. "  M0FLS ,Master 0 Field Lock (read-only instruction cache unit (ICU)) Set" "-,Set"
bitfld.long 0x00 26. "  M0ALS ,Master 0 Address Lock (read-only instruction cache unit (ICU)) Set" "-,Set"
textline "                           "
bitfld.long 0x00 25. " M1ET0S ,Master 1 Error Type 0 (read-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 24. "  M1ET1S ,Master 1 Error Type 1 (read-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 23. "  M1ET2S ,Master 1 Error Type 2 (read-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 22. "  M1RWS  ,Master 1 Read/Write Status (read-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 21. "  M1FLS ,Master 1 Field Lock (read-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 20. "  M1ALS ,Master 1 Address Lock (read-only data cache unit (DCU)) Set" "-,Set"
textline "                           "
bitfld.long 0x00 19. " M2ET0S ,Master 2 Error Type 0 (write-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 18. "  M2ET1S ,Master 2 Error Type 1 (write-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 17. "  M2ET2S ,Master 2 Error Type 2 (write-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 16. "  M2RWS  ,Master 2 Read/Write Status (write-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 15. "  M2FLS ,Master 2 Field Lock (write-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 14. "  M2ALS ,Master 2 Address Lock (write-only data cache unit (DCU)) Set" "-,Set"
textline "                           "
bitfld.long 0x00 13. " M3ET0S ,Master 3 Error Type 0 (PCIX bridge controller) Set" "-,Set"
bitfld.long 0x00 12. "  M3ET1S ,Master 3 Error Type 1 (PCIX bridge controller) Set" "-,Set"
bitfld.long 0x00 11. "  M3ET2S ,Master 3 Error Type 2 (PCIX bridge controller) Set" "-,Set"
bitfld.long 0x00 10. "  M3RWS  ,Master 3 Read/Write Status (PCIX bridge controller) Set" "-,Set"
bitfld.long 0x00 9. "  M3FLS ,Master 3 Field Lock (PCIX bridge controller) Set" "-,Set"
bitfld.long 0x00 8. "  M3ALS ,Master 3 Address Lock (PCIX bridge controller) Set" "-,Set"            
group dcr:0x011++0x00
out dcr:0x010 %l 0x08
line.long 0x0 "SDRAM0_BESR1,Bus Error Syndrome Register 0 1"
eventfld.long 0x00 29.--31. " M4ET ,Master 4 Error Type (I2O messaging unit (IMU))" "-,Reserved,ECC,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 28. "  M4RW ,Master 4 Read/Write (I2O messaging unit (IMU))" "Write,Read"
eventfld.long 0x00 27. "  M4FL ,Master 4 Field Lock (I2O messaging unit (IMU))" "-,Locked"
eventfld.long 0x00 26. "  M4AL ,Master 4 Address Lock (I2O messaging unit (IMU))" "-,Locked"
textline "                           "
eventfld.long 0x00 23.--25. " M5ET ,Master 5 Error Type (media access layer (MAL))" "-,Reserved,ECC,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 22. "  M5RW ,Master 5 Read/Write (media access layer (MAL))" "Write,Read"
eventfld.long 0x00 21. "  M5FL ,Master 5 Field Lock (media access layer (MAL))" "-,Locked"
eventfld.long 0x00 20. "  M5AL ,Master 5 Address Lock (media access layer (MAL))" "-,Locked"
textline "                           "
eventfld.long 0x00 17.--19. " M6ET ,Master 6 Error Type (direct memory access controller (DMA))" "-,Reserved,ECC,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 16. "  M6RW ,Master 6 Read/Write (direct memory access controller (DMA))" "Write,Read"
eventfld.long 0x00 15. "  M6FL ,Master 6 Field Lock (direct memory access controller (DMA))" "-,Locked"
eventfld.long 0x00 14. "  M6AL ,Master 6 Address Lock (direct memory access controller (DMA))" "-,Locked"
textline "                           "
eventfld.long 0x00 11.--13. " M7ET ,Master 7 Error Type (OPB to PLB bridge controller)" "-,Reserved,ECC,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 10. "  M7RW ,Master 7 Read/Write (OPB to PLB bridge controller)" "Write,Read"
eventfld.long 0x00 9. "  M7FL ,Master 7 Field Lock (OPB to PLB bridge controller)" "-,Locked"
eventfld.long 0x00 8. "  M7AL ,Master 7 Address Lock (OPB to PLB bridge controller)" "-,Locked"
group dcr:0x011++0x00
out dcr:0x010 %l 0x0c
line.long 0x0 "SDRAM0_BESR1S,Bus Error Syndrome Register 0 1 Set"
bitfld.long 0x00 31. " M4ET0S ,Master 4 Error Type 0 (I2O messaging unit (IMU)) Set" "-,Set"
bitfld.long 0x00 30. "  M4ET1S ,Master 4 Error Type 1 (I2O messaging unit (IMU)) Set" "-,Set"
bitfld.long 0x00 29. "  M4ET2S ,Master 4 Error Type 2 (I2O messaging unit (IMU)) Set" "-,Set"
bitfld.long 0x00 28. "  M4RWS ,Master 4 Read/Write (I2O messaging unit (IMU)) Set" "-,Set"
bitfld.long 0x00 27. "  M4FLS ,Master 4 Field Lock (I2O messaging unit (IMU)) Set" "-,Set"
bitfld.long 0x00 26. "  M4ALS ,Master 4 Address Lock (I2O messaging unit (IMU)) Set" "-,Set"
textline "                           "
bitfld.long 0x00 25. " M5ET0S ,Master 5 Error Type 0 (media access layer (MAL)) Set" "-,Set"
bitfld.long 0x00 24. "  M5ET1S ,Master 5 Error Type 1 (media access layer (MAL)) Set" "-,Set"
bitfld.long 0x00 23. "  M5ET2S ,Master 5 Error Type 2 (media access layer (MAL)) Set" "-,Set"
bitfld.long 0x00 22. "  M5RWS ,Master 5 Read/Write (media access layer (MAL)) Set" "-,Set"
bitfld.long 0x00 21. "  M5FLS ,Master 5 Field Lock (media access layer (MAL)) Set" "-,Set"
bitfld.long 0x00 20. "  M5ALS ,Master 5 Address Lock (media access layer (MAL)) Set" "-,Set"
textline "                           "
bitfld.long 0x00 19. " M6ET0S ,Master 6 Error Type 0 (direct memory access controller (DMA)) Set" "-,Set"
bitfld.long 0x00 18. "  M6ET1S ,Master 6 Error Type 1 (direct memory access controller (DMA)) Set" "-,Set"
bitfld.long 0x00 17. "  M6ET2S ,Master 6 Error Type 2 (direct memory access controller (DMA)) Set" "-,Set"
bitfld.long 0x00 16. "  M6RWS ,Master 6 Read/Write (direct memory access controller (DMA)) Set" "-,Set"
bitfld.long 0x00 15. "  M6FLS ,Master 6 Field Lock (direct memory access controller (DMA)) Set" "-,Set"
bitfld.long 0x00 14. "  M6ALS ,Master 6 Address Lock (direct memory access controller (DMA)) Set" "-,Set"
textline "                           "
bitfld.long 0x00 13. " M7ET0S ,Master 7 Error Type 0 (OPB to PLB bridge controller) Set" "-,Set"
bitfld.long 0x00 12. "  M7ET1S ,Master 7 Error Type 1 (OPB to PLB bridge controller) Set" "-,Set"
bitfld.long 0x00 11. "  M7ET2S ,Master 7 Error Type 2 (OPB to PLB bridge controller) Set" "-,Set"
bitfld.long 0x00 10. "  M7RWS ,Master 7 Read/Write (OPB to PLB bridge controller) Set" "-,Set"
bitfld.long 0x00 9. "  M7FLS ,Master 7 Field Lock (OPB to PLB bridge controller) Set" "-,Set"
bitfld.long 0x00 8. "  M7ALS ,Master 7 Address Lock (OPB to PLB bridge controller) Set" "-,Set"
else
;ppc440ep
group dcr:0x0011++0x0
out dcr:0x0010 %l 0x00000000
line.long 0x00 "SDRAM0_BESR0,Bus Error Status Register 0"
bitfld.long 0x00 29.--31. " M0ET ,Master 0 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 28. "  M0RW ,Master 0 Read/Write Status" "Write Error,Read Error"
bitfld.long 0x00 27. "  M0FL ,Master 0 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 26. "  M0AL ,Master 0 Address Lock" "Not locked,Locked"
textline "                           "
bitfld.long 0x00 23.--25. " M1ET ,Master 1 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 22. "  M1RW ,Master 1 Read/Write Status" "Write Error,Read Error"
bitfld.long 0x00 21. "  M1FL ,Master 1 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 20. "  M1AL ,Master 1 Address Lock" "Not locked,Locked"
textline "                           "
bitfld.long 0x00 17.--19. " M2ET ,Master 2 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 16. "  M2RW ,Master 2 Read/Write Status" "Write Error,Reserved"
bitfld.long 0x00 15. "  M2FL ,Master 2 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 14. "  M2AL ,Master 2 Address Lock" "Not locked,Locked"
textline "                           "
bitfld.long 0x00 11.--13. " M3ET ,Master 3 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 10. "  M3RW ,Master 3 Read/Write Status" "Write Error,Read Error"
bitfld.long 0x00 9. "  M3FL ,Master 3 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 8. "  M3AL ,Master 3 Address Lock" "Not locked,Locked"
group dcr:0x0011++0x0
out dcr:0x0010 %l 0x00000008
line.long 0x00 "SDRAM0_BESR1,Bus Error Status Register 1"
bitfld.long 0x00 29.--31. " M4ET ,Master 4 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 28. "  M4RW ,Master 4 Read/Write Status" "Write Error,Read Error"
bitfld.long 0x00 27. "  M4FL ,Master 4 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 26. "  M4AL ,Master 4 Address Lock" "Not locked,Locked"
textline "                           "
bitfld.long 0x00 23.--25. " M5ET ,Master 5 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 22. "  M5RW ,Master 5 Read/Write Status" "Write Error,Read Error"
bitfld.long 0x00 21. "  M5FL ,Master 5 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 20. "  M5AL ,Master 5 Address Lock" "Not locked,Locked"
textline "                           "
bitfld.long 0x00 17.--19. " M6ET ,Master 6 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 16. "  M6RW ,Master 6 Read/Write Status" "Write Error,Reserved"
bitfld.long 0x00 15. "  M6FL ,Master 6 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 14. "  M6AL ,Master 6 Address Lock" "Not locked,Locked"
textline "                           "
bitfld.long 0x00 11.--13. " M7ET ,Master 7 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 10. "  M7RW ,Master 7 Read/Write Status" "Write Error,Read Error"
bitfld.long 0x00 9. "  M7FL ,Master 7 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 8. "  M7AL ,Master 7 Address Lock" "Not locked,Locked"    
endif    
rgroup dcr:0x011++0x0
out dcr:0x010 %l 0x10
line.long 0x0 "SDRAM0_BEAR,Bus Error Address Register"
hexmask.long 0x00 0.--31. 1. " BEAR     ,Address of Bus Error"
sif (cpu()=="PPC440GR")||(cpu()=="PPC440GP")
group dcr:0x011++0x0
out dcr:0x010 %l 0x11
line.long 0x0 "SDRAM0_MIRQ,Master Write Interrupt"
eventfld.long 0x00 31. " M0IR     ,Master 0 Write Interrupt" "-,Error"
eventfld.long 0x00 30. "   M1IR     ,Master 1 Write Interrupt" "-,Error"
eventfld.long 0x00 29. "   M2IR     ,Master 2 Write Interrupt" "-,Error"
eventfld.long 0x00 28. "  M3IR     ,Master 3 Write Interrupt" "-,Error"
textline "                           "    
sif (cpu()=="PPC440GR")
eventfld.long 0x00 27. " M4IR     ,Master 4 Write Interrupt" "-,Error"    
eventfld.long 0x00 26. "   M5IR     ,Master 5 Write Interrupt" "-,Error"    
else
; 440gp
eventfld.long 0x00 26. " M5IR     ,Master 5 Write Interrupt" "-,Error"
endif
eventfld.long 0x00 25. "   M6IR     ,Master 6 Write Interrupt" "-,Error"
sif (cpu()=="PPC440GR")        
eventfld.long 0x00 24. "  M7IR     ,Master 7 Write Interrupt" "-,Error"
else        
eventfld.long 0x00 24. "   M7IR     ,Master 7 Write Interrupt" "-,Error"
endif
wgroup dcr:0x011++0x0
out dcr:0x010 %l 0x12
line.long 0x0 "SDRAM0_MIRQ_SET,Master Write Interrupt Set"
bitfld.long 0x00 31. " M0IR_SET ,Master 0 Write Interrupt Set" "-,Set"
bitfld.long 0x00 30. "     M1IR_SET ,Master 1 Write Interrupt Set" "-,Set"
bitfld.long 0x00 29. "     M2IR_SET ,Master 2 Write Interrupt Set" "-,Set"
bitfld.long 0x00 28. "    M3IR_SET ,Master 3 Write Interrupt Set" "-,Set"
textline "                           "
bitfld.long 0x00 27. " M4IR_SET ,Master 4 Write Interrupt Set" "-,Set"
bitfld.long 0x00 26. "     M5IR_SET ,Master 5 Write Interrupt Set" "-,Set"
bitfld.long 0x00 25. "     M6IR_SET ,Master 6 Write Interrupt Set" "-,Set"
bitfld.long 0x00 24. "    M7IR_SET ,Master 7 Write Interrupt Set" "-,Set"
elif (cpu()=="PPC440GX")
group dcr:0x011++0x0
out dcr:0x010 %l 0x11
line.long 0x0 "SDRAM0_MIRQ,Master Write Interrupt 0"
eventfld.long 0x00 31. " M0IR     ,Master 0 Write Interrupt (processor core instruction cache unit (ICU))" "-,Error"
eventfld.long 0x00 30. "   M1IR     ,Master 1 Write Interrupt (processor core data cache read unit (DCU))" "-,Error"
eventfld.long 0x00 29. "   M2IR     ,Master 2 Write Interrupt (processor core data cache write unit (DCU))" "-,Error"
eventfld.long 0x00 28. "  M3IR  ,Master 3 Write Interrupt (PCIX bridge controller (PCIX))" "-,Error"
textline "                           "
eventfld.long 0x00 27. " M4IR     ,Master 4 Write Interrupt (I20 messaging unit (IMU))" "-,Error"
eventfld.long 0x00 26. "   M5IR     ,Master 5 Write Interrupt (media access layer (MAL))" "-,Error"
eventfld.long 0x00 25. "   M6IR     ,Master 6 Write Interrupt (direct memory access controller (DMA))" "-,Error"
eventfld.long 0x00 24. "  M7IR  ,Master 7 Write Interrupt (OPB to PLB bridge controller)" "-,Error"
wgroup dcr:0x011++0x0
out dcr:0x010 %l 0x12
line.long 0x0 "SDRAM0_MIRQS,Master Write Interrupt Set 0"
bitfld.long 0x00 31. " M0IRS    ,Master 0 Write Interrupt (processor core instruction cache unit (ICU)) Set" "-,Set"
bitfld.long 0x00 30. "     M1IRS    ,Master 1 Write Interrupt (processor core data cache read unit (DCU)) Set" "-,Set"
bitfld.long 0x00 29. "     M2IRS    ,Master 2 Write Interrupt (processor core data cache write unit (DCU)) Set" "-,Set"
bitfld.long 0x00 28. "    M3IRS ,Master 3 Write Interrupt (PCIX bridge controller (PCIX)) Set" "-,Set"
textline "                           "
bitfld.long 0x00 27. " M4IRS    ,Master 4 Write Interrupt (I20 messaging unit (IMU)) Set" "-,Set"
bitfld.long 0x00 26. "     M5IRS    ,Master 5 Write Interrupt (media access layer (MAL)) Set" "-,Set"
bitfld.long 0x00 25. "     M6IRS    ,Master 6 Write Interrupt (direct memory access controller (DMA)) Set" "-,Set"
bitfld.long 0x00 24. "    M7IRS ,Master 7 Write Interrupt (OPB to PLB bridge controller) Set" "-,Set"
else
;440ep
group dcr:0x0011++0x00
out dcr:0x0010 %l 0x00000011
line.long 0x00 "SDRAM0_MIRQ,Master Write Interrupt"
bitfld.long 0x00 31. " M0IR     ,Master 0 Write Interrupt" "-,Error"
bitfld.long 0x00 30. "   M1IR     ,Master 1 Write Interrupt" "-,Error"
bitfld.long 0x00 29. "   M2IR     ,Master 2 Write Interrupt" "-,Error"
bitfld.long 0x00 28. "  M3IR ,Master 3 Write Interrupt" "-,Error"
textline "                           "
bitfld.long 0x00 27. " M4IR     ,Master 4 Write Interrupt" "-,Error"
bitfld.long 0x00 26. "   M5IR     ,Master 5 Write Interrupt" "-,Error"
bitfld.long 0x00 25. "   M6IR     ,Master 6 Write Interrupt" "-,Error"
bitfld.long 0x00 24. "  M7IR ,Master 7 Write Interrupt" "-,Error"
endif    
group dcr:0x011++0x0
out dcr:0x010 %l 0x18
line.long 0x0 "SDRAM0_SLI0,PLB Slave Interface Options Register"
bitfld.long 0x00 31. " RDRE     ,PLB Slave Read Rearbitrate Enable" "-,Enabled"
bitfld.long 0x00 30. " WRRE     ,PLB Slave Write Rearbitrate Enable" "-,Enabled"
bitfld.long 0x00 29. " RARW     ,PLB Read Around Write Enable" "-,Enabled"
group dcr:0x011++0x0
out dcr:0x010 %l 0x20
line.long 0x0 "SDRAM0_CFG0,Memory Controller Options 0 0"
bitfld.long 0x00 31. " DCEN  ,DDR SDRAM Controller Enable" "-,Enabled"
bitfld.long 0x00 28.--29. "               MCHK  ,Memory Data Error Checking" "-,Reserved,Generation,Checking/correction"
textline "                         "
bitfld.long 0x00 27. "   RDEN  ,Registered DIMM Enable" "-,Enabled"
sif (cpu()=="PPC440EP")            
bitfld.long 0x00 26. "               PMUD  ,Page Management Unit" "-,Disabled"
else            
bitfld.long 0x00 26. "               PMU   ,Page Management Unit" "-,Disabled"
endif    
textline "                         "
bitfld.long 0x00 25. "   DMWD  ,DDR SDRAM Width" "32-bit,64-bit"
bitfld.long 0x00 22.--23. "                UIOS  ,Unused I/O State" "Active-switching DQS,Active-static values,Static-static values,High-Z"
textline "                         "
bitfld.long 0x00 21. "   PDP   ,Page Deallocation Policy" "Pseudo Allocated,Used"
group dcr:0x011++0x0
out dcr:0x010 %l 0x21
line.long 0x0 "SDRAM0_CFG1,Memory Controller Options 0 1"
bitfld.long 0x00 31. " SRE   ,Self-Refresh Entry" "Exited,Entered"
bitfld.long 0x00 30. "               PMEN  ,Power Management Enable" "-,Enabled"
group dcr:0x011++0x0
out dcr:0x010 %l 0x22
line.long 0x0 "SDRAM0_DEVOPT,DDR SDRAM Device Options 0"
bitfld.long 0x00 31. " DLL   ,DDR_SDRAM Device DLL Disable" "-,Disabled"
bitfld.long 0x00 30. "              DS    ,DDR_SDRAM Device I/O Drive Strength" "Normal,Weak"
rgroup dcr:0x011++0x0
out dcr:0x010 %l 0x24
line.long 0x0 "SDRAM0_MCSTS,Memory Controller Status 0"
bitfld.long 0x00 31. " MRSC  ,MRS Command Complete" "-,Completed"
bitfld.long 0x00 30. "             SRMS  ,Self-Refresh Mode Status" "-,Self-Refresh"
textline "                         "
bitfld.long 0x00 29. "   CIS   ,Core Idle Status" "Busy,Idle"
group dcr:0x011++0x0
out dcr:0x010 %l 0x30
line.long 0x0 "SDRAM0_RTR,Refresh Timer Register"
hexmask.long.word 0x0 19.--29. 1. " RINT  ,Refresh Interval"
group dcr:0x011++0x0
out dcr:0x010 %l 0x34
line.long 0x0 "SDRAM0_PMIT,Power Management Idle Timer"
hexmask.long.byte 0x0 27.--31. 1. " PMC   ,Power Management Count"
group dcr:0x011++0x0
out dcr:0x010 %l 0x38
line.long 0x0 "SDRAM0_UABBA,PLB UA Bus Base Address"
hexmask.long.byte 0x0 0.--3. 1. " UBBA  ,PLB UABus Base Address"
group dcr:0x011++0x0
out dcr:0x010 %l 0x40
line.long 0x0 "SDRAM0_B0CR,Memory 0 Configuration 0"
hexmask.long 0x00 23.--31. 0x800000 " SDBA ,Base Address"
sif (cpu()=="PPC440EP")
bitfld.long 0x00 17.--19. "  SDSZ ,Size" "Reserved,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,Reserved"
else
bitfld.long 0x00 17.--19. "  SDSZ ,Size" "Reserved,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB"
endif
bitfld.long 0x00 13.--15. "  SDAM ,Addressing Mode" "[13:11]x8-4 Bank,[13:11]x9-4 Bank,[13:11]x10-4 Bank,[13:11]x11-4 Bank,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 0. "   SDBE ,Memory Bank Enable" "-,Enabled"
group dcr:0x011++0x0
out dcr:0x010 %l 0x44
line.long 0x0 "SDRAM0_B1CR,Memory 1 Configuration 0"
hexmask.long 0x00 23.--31. 0x800000 " SDBA ,Base Address"
sif (cpu()=="PPC440EP")
bitfld.long 0x00 17.--19. "  SDSZ ,Size" "Reserved,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,Reserved"
else
bitfld.long 0x00 17.--19. "  SDSZ ,Size" "Reserved,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB"
endif
bitfld.long 0x00 13.--15. "  SDAM ,Addressing Mode" "[13:11]x8-4 Bank,[13:11]x9-4 Bank,[13:11]x10-4 Bank,[13:11]x11-4 Bank,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 0. "   SDBE ,Memory Bank Enable" "-,Enabled"
group dcr:0x011++0x0
out dcr:0x010 %l 0x48
line.long 0x0 "SDRAM0_B2CR,Memory 2 Configuration 0"
hexmask.long 0x00 23.--31. 0x800000 " SDBA ,Base Address"
sif (cpu()=="PPC440EP")
bitfld.long 0x00 17.--19. "  SDSZ ,Size" "Reserved,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,Reserved"
else
bitfld.long 0x00 17.--19. "  SDSZ ,Size" "Reserved,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB"
endif
bitfld.long 0x00 13.--15. "  SDAM ,Addressing Mode" "[13:11]x8-4 Bank,[13:11]x9-4 Bank,[13:11]x10-4 Bank,[13:11]x11-4 Bank,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 0. "   SDBE ,Memory Bank Enable" "-,Enabled"
group dcr:0x011++0x0
out dcr:0x010 %l 0x4C
line.long 0x0 "SDRAM0_B3CR,Memory 3 Configuration 0"
hexmask.long 0x00 23.--31. 0x800000 " SDBA ,Base Address"
sif (cpu()=="PPC440EP")
bitfld.long 0x00 17.--19. "  SDSZ ,Size" "Reserved,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,Reserved"
else
bitfld.long 0x00 17.--19. "  SDSZ ,Size" "Reserved,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB"
endif
bitfld.long 0x00 13.--15. "  SDAM ,Addressing Mode" "[13:11]x8-4 Bank,[13:11]x9-4 Bank,[13:11]x10-4 Bank,[13:11]x11-4 Bank,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 0. "   SDBE ,Memory Bank Enable" "-,Enabled"
group dcr:0x011++0x0
out dcr:0x010 %l 0x80
line.long 0x0 "SDRAM0_TR0,SDRAM Timing Register 0"
bitfld.long 0x00 31. " SDWR ,DDR SDRAM Write Recovery" "2 CLK,3 CLK"
bitfld.long 0x00 30. "     SDWD ,DDR SDRAM Write to Write Delay when Crossing a Chip Select Boundary" "0 CLK,1 CLK"
bitfld.long 0x00 23.--24. "     SDCL ,DDR SDRAM CAS_Latency" "Reserved,2 CLK,2.5 CLK,3 CLK"
bitfld.long 0x00 18.--19. "   SDPA ,DDR SDRAM CBR Precharge Command to Next Activate Command Minimum" "Reserved,2 CLK,3 CLK,4 CLK"
textline "                           "
sif (cpu()=="PPC440GR")||(cpu()=="PPC440GX")||(cpu()=="PPC440EP")        
bitfld.long 0x00 16.--17. " SDCP ,DDR SDRAM Read/Write Command to Precharge Command" "2 CLK,3 CLK,4 CLK,Reserved"
bitfld.long 0x00 14.--15. "  SDLD ,DDR SDRAM Command Leadoff" "1 CLK,2 CLK,Reserved,Reserved"        
else
bitfld.long 0x00 16.--17. " SDCP ,DDR SDRAM Read/Write Command to Precharge Command" "2 CLK,3 CLK,4 CLK,5 CLK"
bitfld.long 0x00 14.--15. "     SDLD ,DDR SDRAM Command Leadoff" "1 CLK,2 CLK,Reserved,Reserved"        
endif    
sif (cpu()=="PPC440GR")||(cpu()=="PPC440GX")||(cpu()=="PPC440EP")    
bitfld.long 0x00 7. "  TWTR ,DDR SDRAM Write-To-Read Command" "1 CLK,2 CLK"
bitfld.long 0x00 5.--6. "      RFTA ,DDR SDRAM Refresh-To-Activate Command" "0 CLK,1 CLK,2 CLK,Reserved"
textline "                           "
bitfld.long 0x00 2.--4. " SDRA ,DDR SDRAM CBR Refresh Command to Next Activate Command Minimum" "6 CLK,7 CLK,8 CLK,9 CLK,10 CLK,11 CLK,12 CLK,13 CLK"    
bitfld.long 0x00 0.--1. "    SDRD ,DDR SDRAM RAS to CAS Delay" "Reserved,2 CLK,3 CLK,4 CLK"        
else    
bitfld.long 0x00 2.--4. "  SDRA ,DDR SDRAM CBR Refresh Command to Next Activate Command Minimum" "6 CLK,7 CLK,8 CLK,9 CLK,10 CLK,11 CLK,12 CLK,13 CLK"
bitfld.long 0x00 0.--1. "     SDRD ,DDR SDRAM RAS to CAS Delay" "Reserved,2 CLK,3 CLK,4 CLK"        
endif        
group dcr:0x011++0x0
out dcr:0x010 %l 0x81
line.long 0x0 "SDRAM0_TR1,SDRAM Timing Register 1"
bitfld.long 0x00 30.--31. " RDSS ,Read Sample Cycle Select" "T0,T1,T2,T3"
bitfld.long 0x00 22.--23. "        RDSL ,Read Sample Stage Select" "Stage 1,Stage 2,Stage 3,Reserved"
bitfld.long 0x00 11. "  RDCD ,Read Clock Delay - Stage 2" "0 clock,1/2 clock"
hexmask.long.word 0x00 0.--8. 1. "  RDCT ,Read Clock Delay Tuning Bits"
group dcr:0x011++0x0
out dcr:0x010 %l 0x82
line.long 0x0 "SDRAM0_CLKTR,DDR SDRAM Clock Timing Register"
bitfld.long 0x00 30.--31. " CLKP  ,Write Clock Phase" "0 degrees,90 degrees,180 degrees,Reserved"
hexmask.long.word 0x00 0.--8. 1. "    DCDT  ,DDR Clock Delay Tuning"
sif (cpu()=="PPC440GR")        
group dcr:0x011++0x0
out dcr:0x010 %l 0xe0
line.long 0x0 "SDR0_DDRDL0,DDR Delay Line Register"
hexmask.long.byte 0x00 0.--5. 1. " TUNE  ,DDR Delay Line TUNE"
elif (cpu()=="PPC440GX")||(cpu()=="PPC440EP")    
group dcr:0xF++0x0
out dcr:0xE %l 0xE0
line.long 0x0 "SDR0_DDRDL,DDR Delay Line Register 0"
hexmask.long.byte 0x0 0.--5. 1. " TUNE  ,DDR Delay Line PLL TUNE"
endif
group dcr:0x011++0x0
out dcr:0x010 %l 0x83
line.long 0x0 "SDRAM0_WDDCTR,Write Data/DM/DQS Clock Timing Register"
bitfld.long 0x00 30.--31. " WRCP  ,Write Clock Phase" "0 degrees,90 degrees,180 degrees,Reserved"
hexmask.long.word 0x00 0.--8. 1. "    DCD   ,DDR Write Data/DM/DQS Clock Delay Tuning Bits"
group dcr:0x011++0x0
out dcr:0x010 %l 0x84
line.long 0x0 "SDRAM0_DLYCAL,Delay Line Calibration Register"
bitfld.long 0x00 31. " DLCR  ,Delay Line Calibration Request" "-,Requested"
bitfld.long 0x00 28.--30. "      DLCS  ,Delay Line Calibration Status" "Not running,In progress,Completed,Reserved,Error,Reserved,Reserved,Reserved"
textline "                           "
hexmask.long.byte 0x00 2.--9. 1. " DLCV  ,Delay Line Calibration Value"
sif (cpu()=="PPC440GR")||(cpu()=="PPC440GX")
group dcr:0x011++0x0
out dcr:0x010 %l 0x98
line.long 0x0 "SDRAM0_ECCESR,ECC Error Status"
eventfld.long 0x00 31. " B0CE  ,Byte Lane 0 Corrected Error" "-,Error"
eventfld.long 0x00 30. "  B1CE  ,Byte Lane 1 Corrected Error" "-,Error"
eventfld.long 0x00 29. "  B2CE  ,Byte Lane 2 Corrected Error" "-,Error"
eventfld.long 0x00 28. "  B3CE  ,Byte Lane 3 Corrected Error" "-,Error"
eventfld.long 0x00 27. "   B4CE  ,Byte Lane 4 Corrected Error" "-,Error"
textline "                           "
eventfld.long 0x00 26. " B5CE  ,Byte Lane 5 Corrected Error" "-,Error"
eventfld.long 0x00 25. "  B6CE  ,Byte Lane 6 Corrected Error" "-,Error"
eventfld.long 0x00 24. "  B7CE  ,Byte Lane 7 Corrected Error" "-,Error"
eventfld.long 0x00 23. "  B8CE  ,Byte Lane 8 Corrected Error" "-,Error"
eventfld.long 0x00 22. "   B9CE  ,Byte Lane 9 Corrected Error" "-,Error"
textline "                           "
eventfld.long 0x00 21. " B10CE ,Byte Lane 10 Corrected Error" "-,Error"
eventfld.long 0x00 20. "  B11CE ,Byte Lane 11 Corrected Error" "-,Error"
eventfld.long 0x00 19. "  B12CE ,Byte Lane 12 Corrected Error" "-,Error"
eventfld.long 0x00 18. "  B13CE ,Byte Lane 13 Corrected Error" "-,Error"
eventfld.long 0x00 17. "   B14CE ,Byte Lane 14 Corrected Error" "-,Error"
textline "                           "
eventfld.long 0x00 16. " B15CE ,Byte Lane 15 Corrected Error" "-,Error"
eventfld.long 0x00 13. "  CE    ,Correctable Error" "-,Error"                
eventfld.long 0x00 12. "  UE    ,Uncorrectable Error" "-,Error"
eventfld.long 0x00 11. "  BK0E  ,Bank 0 Error" "-,Error"
eventfld.long 0x00 10. "   BK1E  ,Bank 1 Error" "-,Error"
textline "                           "
eventfld.long 0x00 9. " BK2E  ,Bank 2 Error" "-,Error"
eventfld.long 0x00 8. "  BK3E  ,Bank 3 Error" "-,Error"
sif (cpu()=="PPC440GR")            
bitfld.long 0x00 14.--15. "  CKBE  ,Error Detected in Checkbits" "-,32bit-Lower,64bit-Error/32bit-Upper,32bit-Upper and Lower"    
else
eventfld.long 0x00 14.--15. "  CKBE  ,Error Detected in Checkbits (64|32-bit Mode)" "-,Reserved|Lower,Error|Upper,Reserved|Upper/Lower"    
endif        
elif (cpu()=="PPC440GP")
;440gp
group dcr:0x011++0x0
out dcr:0x010 %l 0x98
line.long 0x0 "SDRAM0_ECCESR,ECC Error Status"
bitfld.long 0x00 31. " B0CE  ,Byte Lane 0 Corrected Error" "-,Error"
bitfld.long 0x00 30. "  B1CE  ,Byte Lane 1 Corrected Error" "-,Error"
bitfld.long 0x00 29. "  B2CE  ,Byte Lane 2 Corrected Error" "-,Error"
bitfld.long 0x00 28. "  B3CE  ,Byte Lane 3 Corrected Error" "-,Error"
bitfld.long 0x00 27. "  B4CE  ,Byte Lane 4 Corrected Error" "-,Error"
textline "                           "
bitfld.long 0x00 26. " B5CE  ,Byte Lane 5 Corrected Error" "-,Error"
bitfld.long 0x00 25. "  B6CE  ,Byte Lane 6 Corrected Error" "-,Error"
bitfld.long 0x00 24. "  B7CE  ,Byte Lane 7 Corrected Error" "-,Error"
bitfld.long 0x00 23. "  B8CE  ,Byte Lane 8 Corrected Error" "-,Error"    
bitfld.long 0x00 22. "  B9CE  ,Byte Lane 9 Corrected Error" "-,Error"
textline "                           "
bitfld.long 0x00 21. " B10CE ,Byte Lane 10 Corrected Error" "-,Error"
bitfld.long 0x00 20. "  B11CE ,Byte Lane 11 Corrected Error" "-,Error"
bitfld.long 0x00 19. "  B12CE ,Byte Lane 12 Corrected Error" "-,Error"
bitfld.long 0x00 18. "  B13CE ,Byte Lane 13 Corrected Error" "-,Error"
bitfld.long 0x00 17. "  B14CE ,Byte Lane 14 Corrected Error" "-,Error"
textline "                           "
bitfld.long 0x00 16. " B15CE ,Byte Lane 15 Corrected Error" "-,Error"
bitfld.long 0x00 13. "  CE    ,Correctable Error" "-,Error"
bitfld.long 0x00 12. "  UE    ,Uncorrectable Error" "-,Error"
bitfld.long 0x00 11. "  BK0E  ,Bank 0 Error" "-,Error"
bitfld.long 0x00 10. "  BK1E  ,Bank 1 Error" "-,Error"
textline "                           "
bitfld.long 0x00 9. " BK2E  ,Bank 2 Error" "-,Error"
bitfld.long 0x00 8. "  BK3E  ,Bank 3 Error" "-,Error"
bitfld.long 0x00 14.--15. "  CKBE  ,Error Detected in Checkbits" "-,32bit-Lower,64bit-Error/32bit-Upper,32bit-Upper and Lower"
else
;440ep
group dcr:0x0011++0x00
out dcr:0x0010 %l 0x00000098
line.long 0x00 "SDRAM0_ECCESR,ECC Error Status"
Textfld " BnCE:0   1   2   3   4   5   6   7   8   9   10  11  12  13  14  15"
Textline "                             "
bitfld.long 0x00 31. "    ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 30. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 29. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 28. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 27. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 26. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 25. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 24. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 23. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 22. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 21. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 20. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 19. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 18. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 17. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 16. " ,Byte Lane n Corrected Error" "-,Err"
textline "                           "
bitfld.long 0x00 14.--15. " CKBE(64) ,Error Detected in Checkbits. Mode depend on SDRAM_CFG0[DMWD]" "-,res,Error in Checkbits,res"
bitfld.long 0x00 13. "  CE       ,Correctable Error" "No,Yes"
textline "                           "
bitfld.long 0x00 13. " UE       ,Uncorrectable Error" "No,Yes"
bitfld.long 0x00 11. "                 BK0E     , Bank 0 Error" "-,Err"
textline "                           "
bitfld.long 0x00 10. " BK1E     , Bank 1 Error" "-,Err"
bitfld.long 0x00 09. "                 BK2E     , Bank 2 Error" "-,Err"
textline "                           "
bitfld.long 0x00 08. " BK3E     , Bank 3 Error" "-,Err"
bitfld.long 0x00 14.--15. "                 CKBE(32) ,Error Detected in Checkbits. Mode depend on SDRAM_CFG0[DMWD]" "-,Error in Lower Checkbits,Error in Upper Checkbits,Error in Upper and Lower Checkbits"
endif    
sif (cpu()=="PPC440EP")
group dcr:0x0011++0x00
out dcr:0x0010 %l 0x000000A4
line.long 0x00 "SDRAM0_CID,Controller ID Register"
hexmask.long.word 0x00 20.--31. 1. " CID   ,Core ID"
hexmask.long.byte 0x00 16.--19. 1. " CDC   ,Core Derivative Code"
hexmask.long.word 0x00 0.--15. 1. "         BRID  ,Controller Branch Revision Control ID"
else
rgroup dcr:0x011++0x0
out dcr:0x010 %l 0xA4
line.long 0x0 "SDRAM0_CID,Controller ID Register"
hexmask.long.word 0x00 20.--31. 1. " CID   ,Core ID Identifies the IBM Specific Core Number Associated with the DDR SDRAM"
sif (cpu()=="PPC440GR")            
bitfld.long 0x00 16.--19. " CDC   ,Core Derivative Code" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
hexmask.long.word 0x00 0.--15. 1. "         BRID  ,Controller Branch Revision Control ID"
else        
bitfld.long 0x00 16.--19. " CDC   ,Core Derivative Code" "Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Base,Reserved,Derivative,Reserved,Reserved"
endif
endif
rgroup dcr:0x011++0x0
out dcr:0x010 %l 0xA8
line.long 0x0 "SDRAM0_RID,Revision ID Register"
hexmask.long.byte 0x00 24.--31. 1. " CDID  ,Controller Derivative ID"
hexmask.long.word 0x00  8.--23. 1. "   RCID  ,Controller Revision Control ID"
hexmask.long.byte 0x00  0.--7.  1. "       BRID  ,Controller Branch Revision Control ID"

elif (cpu()=="PPC440EP")
width 18.
sif (cpu()=="PPC440GR")||(cpu()=="PPC440GP")
group dcr:0x011++0x0
out dcr:0x010 %l 0x00
line.long 0x0 "SDRAM0_BESR0,Bus Error Syndrome Register 0"
sif (cpu()=="PPC440GR")    
bitfld.long 0x00 29.--31. " M0ET ,Master 0 Error Type" "-,Reserved,ECC error,Reserved,Reserved,Reserved,Reserved,Reserved"    
else
eventfld.long 0x00 29.--31. " M0ET ,Master 0 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
endif        
eventfld.long 0x00 28. "   M0RW ,Master 0 Read/Write Status" "Write error,Read error"
eventfld.long 0x00 27. " M0FL ,Master 0 Field Lock" "-,Locked"
eventfld.long 0x00 26. "      M0AL ,Master 0 Address Lock" "-,Locked"
textline "                           "       
sif (cpu()=="PPC440GR")
bitfld.long 0x00 23.--25. " M1ET ,Master 1 Error Type" "-,Reserved,ECC error,Reserved,Reserved,Reserved,Reserved,Reserved"
else
eventfld.long 0x00 23.--25. " M1ET ,Master 1 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
endif                
eventfld.long 0x00 22. "   M1RW ,Master 1 Read/Write Status" "Reserved,Read error"
eventfld.long 0x00 21. "  M1FL ,Master 1 Field Lock" "-,Locked"
eventfld.long 0x00 20. "      M1AL ,Master 1 Address Lock" "-,Locked"
textline "                           "
sif (cpu()=="PPC440GR")    
bitfld.long 0x00 17.--19. " M2ET ,Master 2 Error Type" "-,Reserved,ECC error,Reserved,Reserved,Reserved,Reserved,Reserved"
else
eventfld.long 0x00 17.--19. " M2ET ,Master 2 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
endif                
eventfld.long 0x00 16. "   M2RW ,Master 2 Read/Write Status" "Write error,Read error"
eventfld.long 0x00 15. " M2FL ,Master 2 Field Lock" "-,Locked"
eventfld.long 0x00 14. "      M2AL ,Master 2 Address Lock" "-,Locked"
textline "                           "
sif (cpu()=="PPC440GR")    
bitfld.long 0x00 11.--13. " M3ET ,Master 3 Error Type" "-,Reserved,ECC error,Reserved,Reserved,Reserved,Reserved,Reserved"
else
eventfld.long 0x00 11.--13. " M3ET ,Master 3 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
endif                
eventfld.long 0x00 10. "   M3RW ,Master 3 Read/Write Status" "Write error,Read error"
eventfld.long 0x00 9. " M3FL ,Master 3 Field Lock" "-,Locked"
eventfld.long 0x00 8. "      M3AL ,Master 3 Address Lock" "-,Locked"
wgroup dcr:0x011++0x0
out dcr:0x010 %l 0x04
line.long 0x0 "SDRAM0_BESR0_SET,Bus Error Syndrome Register 0 Set"
bitfld.long  0x00 31. " M0ET_SET[2] ,Master 0 Error Type Set" "-,Set"
bitfld.long  0x00 30. "  M0ET_SET[1] ,Master 0 Error Type Set" "-,Set"
bitfld.long  0x00 29. "  M0ET_SET[0] ,Master 0 Error Type Set" "-,Set"
bitfld.long  0x00 28. "  M0RW_SET    ,Master 0 Read/Write Status Set" "-,Set"
textline "                           "
bitfld.long  0x00 27. " M0FL_SET    ,Master 0 Field Lock Set" "-,Set"
bitfld.long  0x00 26. "  M0AL_SET    ,Master 0 Address Lock Set" "-,Set"
bitfld.long  0x00 25. "  M1ET_SET[2] ,Master 1 Error Type Set" "-,Set"
bitfld.long  0x00 24. "  M1ET_SET[1] ,Master 1 Error Type Set" "-,Set"
textline "                           "
bitfld.long  0x00 23. " M1ET_SET[0] ,Master 1 Error Type Set" "-,Set"
bitfld.long  0x00 22. "  M1RW_SET    ,Master 1 Read/Write Status Set" "-,Set"
bitfld.long  0x00 21. "  M1FL_SET    ,Master 1 Field Lock Set" "-,Set"
bitfld.long  0x00 20. "  M1AL_SET    ,Master 1 Address Lock Set" "-,Set"
textline "                           "
bitfld.long  0x00 19. " M2ET_SET[2] ,Master 2 Error Type Set" "-,Set"
bitfld.long  0x00 18. "  M2ET_SET[1] ,Master 2 Error Type Set" "-,Set"
bitfld.long  0x00 17. "  M2ET_SET[0] ,Master 2 Error Type Set" "-,Set"
bitfld.long  0x00 16. "  M2RW_SET    ,Master 2 Read/Write Status Set" "-,Set"
textline "                           "
bitfld.long  0x00 15. " M2FL_SET    ,Master 2 Field Lock Set" "-,Set"
bitfld.long  0x00 14. "  M2AL_SET    ,Master 2 Address Lock Set" "-,Set"
bitfld.long  0x00 13. "  M3ET_SET[2] ,Master 3 Error Type Set" "-,Set"
bitfld.long  0x00 12. "  M3ET_SET[1] ,Master 3 Error Type Set" "-,Set"
textline "                           "
bitfld.long  0x00 11. " M3ET_SET[0] ,Master 3 Error Type Set" "-,Set"
bitfld.long  0x00 10. "  M3RW_SET    ,Master 3 Read/Write Status Set" "-,Set"
bitfld.long  0x00 9.  "  M3FL_SET    ,Master 3 Field Lock Set" "-,Set"
bitfld.long  0x00 8.  "  M3AL_SET    ,Master 3 Address Lock Set" "-,Set"    
group dcr:0x011++0x00
out dcr:0x010 %l 0x08
line.long 0x0 "SDRAM0_BESR1,Bus Error Syndrome Register 1"
sif (cpu()=="PPC440GR")    
bitfld.long 0x00 29.--31. " M4ET ,Master 4 Error Type" "-,Reserved,ECC error,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 28. "   M4RW ,Master 4 Read/Write" "Write error,Read error"
eventfld.long 0x00 27. " M4FL ,Master 4 Field Lock" "-,Locked"
eventfld.long 0x00 26. "      M4AL ,Master 4 Address Lock" "-,Locked"
textline "                           "
bitfld.long 0x00 23.--25. " M5ET ,Master 5 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 22. "   M5RW ,Master 5 Read/Write" "Write error,Read error"
textline "                           "
eventfld.long 0x00 21. " M5FL ,Master 5 Field Lock" "-,Locked"    
else
eventfld.long 0x00 23.--25. " M5ET ,Master 5 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 22. "   M5RW ,Master 5 Read/Write" "Reserved,Read error"    
eventfld.long 0x00 21. "  M5FL ,Master 5 Field Lock" "-,Locked"    
endif    
eventfld.long 0x00 20. "      M5AL ,Master 5 Address Lock" "-,Locked"
textline "                           "
eventfld.long 0x00 17.--19. " M6ET ,Master 6 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 16. "   M6RW ,Master 6 Read/Write" "Write error,Read error"
eventfld.long 0x00 15. " M6FL ,Master 6 Field Lock" "-,Locked"
eventfld.long 0x00 14. "      M6AL ,Master 6 Address Lock" "-,Locked"
textline "                           "
eventfld.long 0x00 11.--13. " M7ET ,Master 7 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 10. "   M7RW ,Master 7 Read/Write" "Write error,Read error"
eventfld.long 0x00 9. " M7FL ,Master 7 Field Lock" "-,Locked"
eventfld.long 0x00 8. "      M7AL ,Master 7 Address Lock" "-,Locked"
wgroup dcr:0x011++0x00
out dcr:0x010 %l 0x0c
line.long 0x0 "SDRAM0_BESR1_SET,Bus Error Syndrome Register 1 Set"
bitfld.long 0x00 31. " M4ET_SET[2] ,Master 4 Error Type Set" "-,Set"
bitfld.long 0x00 30. "  M4ET_SET[1] ,Master 4 Error Type Set" "-,Set"
bitfld.long 0x00 29. "  M4ET_SET[0] ,Master 4 Error Type Set" "-,Set"
bitfld.long 0x00 28. "  M4RW_SET    ,Master 4 Read/Write Status Set" "-,Set"
textline "                           "
bitfld.long 0x00 27. " M4FL_SET    ,Master 4 Field Lock Set" "-,Set"
bitfld.long 0x00 26. "  M4AL_SET    ,Master 4 Address Lock Set" "-,Set"
bitfld.long 0x00 25. "  M5ET_SET[2] ,Master 5 Error Type Set" "-,Set"
bitfld.long 0x00 24. "  M5ET_SET[1] ,Master 5 Error Type Set" "-,Set"
textline "                           "
bitfld.long 0x00 23. " M5ET_SET[0] ,Master 5 Error Type Set" "-,Set"
bitfld.long 0x00 22. "  M5RW_SET    ,Master 5 Read/Write Status Set" "-,Set"
bitfld.long 0x00 21. "  M5FL_SET    ,Master 5 Field Lock Set" "-,Set"
bitfld.long 0x00 20. "  M5AL_SET    ,Master 5 Address Lock Set" "-,Set"
textline "                           "
bitfld.long 0x00 19. " M6ET_SET[2] ,Master 6 Error Type Set" "-,Set"
bitfld.long 0x00 18. "  M6ET_SET[1] ,Master 6 Error Type Set" "-,Set"
bitfld.long 0x00 17. "  M6ET_SET[0] ,Master 6 Error Type Set" "-,Set"
bitfld.long 0x00 16. "  M6RW_SET    ,Master 6 Read/Write Status Set" "-,Set"
textline "                           "
bitfld.long 0x00 15. " M6FL_SET    ,Master 6 Field Lock Set" "-,Set"
bitfld.long 0x00 14. "  M6AL_SET    ,Master 6 Address Lock Set" "-,Set"
bitfld.long 0x00 13. "  M7ET_SET[2] ,Master 7 Error Type Set" "-,Set"
bitfld.long 0x00 12. "  M7ET_SET[1] ,Master 7 Error Type Set" "-,Set"
textline "                           "
bitfld.long 0x00 11. " M7ET_SET[0] ,Master 7 Error Type Set" "-,Set"
bitfld.long 0x00 10. "  M7RW_SET    ,Master 7 Read/Write Status Set" "-,Set"
bitfld.long 0x00  9. "  M7FL_SET    ,Master 7 Field Lock Set" "-,Set"
bitfld.long 0x00  8. "  M7AL_SET    ,Master 7 Address Lock Set" "-,Set"
elif (cpu()=="PPC440GX")
group dcr:0x011++0x0
out dcr:0x010 %l 0x00
line.long 0x0 "SDRAM0_BESR0,Bus Error Syndrome Register 0 0"
eventfld.long 0x00 29.--31. " M0ET ,Master 0 Error Type (read-only instruction cache unit (ICU))" "-,Reserved,ECC,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 28. "  M0RW ,Master 0 Read/Write Status (read-only instruction cache unit (ICU))" "Write,Read"
eventfld.long 0x00 27. "     M0FL ,Master 0 Field Lock (read-only instruction cache unit (ICU))" "-,Locked"
eventfld.long 0x00 26. "  M0AL ,Master 0 Address Lock (read-only instruction cache unit (ICU))" "-,Locked"
textline "                           "
eventfld.long 0x00 23.--25. " M1ET ,Master 1 Error Type (read-only data cache unit (DCU))" "-,Reserved,ECC,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 22. "  M1RW ,Master 1 Read/Write Status (read-only data cache unit (DCU))" "Reserved,Read"
eventfld.long 0x00 21. "  M1FL ,Master 1 Field Lock (read-only data cache unit (DCU))" "-,Locked"
eventfld.long 0x00 20. "  M1AL ,Master 1 Address Lock (read-only data cache unit (DCU))" "-,Locked"
textline "                           "
eventfld.long 0x00 17.--19. " M2ET ,Master 2 Error Type (write-only data cache unit (DCU))" "-,Reserved,ECC,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 16. "  M2RW ,Master 2 Read/Write Status (write-only data cache unit (DCU))" "Write,Reserved"
eventfld.long 0x00 15. "  M2FL ,Master 2 Field Lock (write-only data cache unit (DCU))" "-,Locked"
eventfld.long 0x00 14. "  M2AL ,Master 2 Address Lock (write-only data cache unit (DCU))" "-,Locked"
textline "                           "
eventfld.long 0x00 11.--13. " M3ET ,Master 3 Error Type (PCIX bridge controller)" "-,Reserved,ECC,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 10. "  M3RW ,Master 3 Read/Write Status (PCIX bridge controller)" "Write,Read"
eventfld.long 0x00 9. "     M3FL ,Master 3 Field Lock (PCIX bridge controller)" "-,Locked"
eventfld.long 0x00 8. "  M3AL ,Master 3 Address Lock (PCIX bridge controller)" "-,Locked"
group dcr:0x011++0x0
out dcr:0x010 %l 0x04
line.long 0x0 "SDRAM0_BESR0S,Bus Error Syndrome Register 0 0 Set"
bitfld.long 0x00 31. " M0ET0S ,Master 0 Error Type 0 (read-only instruction cache unit (ICU)) Set" "-,Set"
bitfld.long 0x00 30. "  M0ET1S ,Master 0 Error Type 1 (read-only instruction cache unit (ICU)) Set" "-,Set"
bitfld.long 0x00 29. "  M0ET2S ,Master 0 Error Type  2(read-only instruction cache unit (ICU)) Set" "-,Set"
bitfld.long 0x00 28. "  M0RWS  ,Master 0 Read/Write Status (read-only instruction cache unit (ICU)) Set" "-,Set"
bitfld.long 0x00 27. "  M0FLS ,Master 0 Field Lock (read-only instruction cache unit (ICU)) Set" "-,Set"
bitfld.long 0x00 26. "  M0ALS ,Master 0 Address Lock (read-only instruction cache unit (ICU)) Set" "-,Set"
textline "                           "
bitfld.long 0x00 25. " M1ET0S ,Master 1 Error Type 0 (read-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 24. "  M1ET1S ,Master 1 Error Type 1 (read-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 23. "  M1ET2S ,Master 1 Error Type 2 (read-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 22. "  M1RWS  ,Master 1 Read/Write Status (read-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 21. "  M1FLS ,Master 1 Field Lock (read-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 20. "  M1ALS ,Master 1 Address Lock (read-only data cache unit (DCU)) Set" "-,Set"
textline "                           "
bitfld.long 0x00 19. " M2ET0S ,Master 2 Error Type 0 (write-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 18. "  M2ET1S ,Master 2 Error Type 1 (write-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 17. "  M2ET2S ,Master 2 Error Type 2 (write-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 16. "  M2RWS  ,Master 2 Read/Write Status (write-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 15. "  M2FLS ,Master 2 Field Lock (write-only data cache unit (DCU)) Set" "-,Set"
bitfld.long 0x00 14. "  M2ALS ,Master 2 Address Lock (write-only data cache unit (DCU)) Set" "-,Set"
textline "                           "
bitfld.long 0x00 13. " M3ET0S ,Master 3 Error Type 0 (PCIX bridge controller) Set" "-,Set"
bitfld.long 0x00 12. "  M3ET1S ,Master 3 Error Type 1 (PCIX bridge controller) Set" "-,Set"
bitfld.long 0x00 11. "  M3ET2S ,Master 3 Error Type 2 (PCIX bridge controller) Set" "-,Set"
bitfld.long 0x00 10. "  M3RWS  ,Master 3 Read/Write Status (PCIX bridge controller) Set" "-,Set"
bitfld.long 0x00 9. "  M3FLS ,Master 3 Field Lock (PCIX bridge controller) Set" "-,Set"
bitfld.long 0x00 8. "  M3ALS ,Master 3 Address Lock (PCIX bridge controller) Set" "-,Set"            
group dcr:0x011++0x00
out dcr:0x010 %l 0x08
line.long 0x0 "SDRAM0_BESR1,Bus Error Syndrome Register 0 1"
eventfld.long 0x00 29.--31. " M4ET ,Master 4 Error Type (I2O messaging unit (IMU))" "-,Reserved,ECC,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 28. "  M4RW ,Master 4 Read/Write (I2O messaging unit (IMU))" "Write,Read"
eventfld.long 0x00 27. "  M4FL ,Master 4 Field Lock (I2O messaging unit (IMU))" "-,Locked"
eventfld.long 0x00 26. "  M4AL ,Master 4 Address Lock (I2O messaging unit (IMU))" "-,Locked"
textline "                           "
eventfld.long 0x00 23.--25. " M5ET ,Master 5 Error Type (media access layer (MAL))" "-,Reserved,ECC,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 22. "  M5RW ,Master 5 Read/Write (media access layer (MAL))" "Write,Read"
eventfld.long 0x00 21. "  M5FL ,Master 5 Field Lock (media access layer (MAL))" "-,Locked"
eventfld.long 0x00 20. "  M5AL ,Master 5 Address Lock (media access layer (MAL))" "-,Locked"
textline "                           "
eventfld.long 0x00 17.--19. " M6ET ,Master 6 Error Type (direct memory access controller (DMA))" "-,Reserved,ECC,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 16. "  M6RW ,Master 6 Read/Write (direct memory access controller (DMA))" "Write,Read"
eventfld.long 0x00 15. "  M6FL ,Master 6 Field Lock (direct memory access controller (DMA))" "-,Locked"
eventfld.long 0x00 14. "  M6AL ,Master 6 Address Lock (direct memory access controller (DMA))" "-,Locked"
textline "                           "
eventfld.long 0x00 11.--13. " M7ET ,Master 7 Error Type (OPB to PLB bridge controller)" "-,Reserved,ECC,Reserved,Reserved,Reserved,Reserved,Reserved"
eventfld.long 0x00 10. "  M7RW ,Master 7 Read/Write (OPB to PLB bridge controller)" "Write,Read"
eventfld.long 0x00 9. "  M7FL ,Master 7 Field Lock (OPB to PLB bridge controller)" "-,Locked"
eventfld.long 0x00 8. "  M7AL ,Master 7 Address Lock (OPB to PLB bridge controller)" "-,Locked"
group dcr:0x011++0x00
out dcr:0x010 %l 0x0c
line.long 0x0 "SDRAM0_BESR1S,Bus Error Syndrome Register 0 1 Set"
bitfld.long 0x00 31. " M4ET0S ,Master 4 Error Type 0 (I2O messaging unit (IMU)) Set" "-,Set"
bitfld.long 0x00 30. "  M4ET1S ,Master 4 Error Type 1 (I2O messaging unit (IMU)) Set" "-,Set"
bitfld.long 0x00 29. "  M4ET2S ,Master 4 Error Type 2 (I2O messaging unit (IMU)) Set" "-,Set"
bitfld.long 0x00 28. "  M4RWS ,Master 4 Read/Write (I2O messaging unit (IMU)) Set" "-,Set"
bitfld.long 0x00 27. "  M4FLS ,Master 4 Field Lock (I2O messaging unit (IMU)) Set" "-,Set"
bitfld.long 0x00 26. "  M4ALS ,Master 4 Address Lock (I2O messaging unit (IMU)) Set" "-,Set"
textline "                           "
bitfld.long 0x00 25. " M5ET0S ,Master 5 Error Type 0 (media access layer (MAL)) Set" "-,Set"
bitfld.long 0x00 24. "  M5ET1S ,Master 5 Error Type 1 (media access layer (MAL)) Set" "-,Set"
bitfld.long 0x00 23. "  M5ET2S ,Master 5 Error Type 2 (media access layer (MAL)) Set" "-,Set"
bitfld.long 0x00 22. "  M5RWS ,Master 5 Read/Write (media access layer (MAL)) Set" "-,Set"
bitfld.long 0x00 21. "  M5FLS ,Master 5 Field Lock (media access layer (MAL)) Set" "-,Set"
bitfld.long 0x00 20. "  M5ALS ,Master 5 Address Lock (media access layer (MAL)) Set" "-,Set"
textline "                           "
bitfld.long 0x00 19. " M6ET0S ,Master 6 Error Type 0 (direct memory access controller (DMA)) Set" "-,Set"
bitfld.long 0x00 18. "  M6ET1S ,Master 6 Error Type 1 (direct memory access controller (DMA)) Set" "-,Set"
bitfld.long 0x00 17. "  M6ET2S ,Master 6 Error Type 2 (direct memory access controller (DMA)) Set" "-,Set"
bitfld.long 0x00 16. "  M6RWS ,Master 6 Read/Write (direct memory access controller (DMA)) Set" "-,Set"
bitfld.long 0x00 15. "  M6FLS ,Master 6 Field Lock (direct memory access controller (DMA)) Set" "-,Set"
bitfld.long 0x00 14. "  M6ALS ,Master 6 Address Lock (direct memory access controller (DMA)) Set" "-,Set"
textline "                           "
bitfld.long 0x00 13. " M7ET0S ,Master 7 Error Type 0 (OPB to PLB bridge controller) Set" "-,Set"
bitfld.long 0x00 12. "  M7ET1S ,Master 7 Error Type 1 (OPB to PLB bridge controller) Set" "-,Set"
bitfld.long 0x00 11. "  M7ET2S ,Master 7 Error Type 2 (OPB to PLB bridge controller) Set" "-,Set"
bitfld.long 0x00 10. "  M7RWS ,Master 7 Read/Write (OPB to PLB bridge controller) Set" "-,Set"
bitfld.long 0x00 9. "  M7FLS ,Master 7 Field Lock (OPB to PLB bridge controller) Set" "-,Set"
bitfld.long 0x00 8. "  M7ALS ,Master 7 Address Lock (OPB to PLB bridge controller) Set" "-,Set"
else
;ppc440ep
group dcr:0x0011++0x0
out dcr:0x0010 %l 0x00000000
line.long 0x00 "SDRAM0_BESR0,Bus Error Status Register 0"
bitfld.long 0x00 29.--31. " M0ET ,Master 0 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 28. "  M0RW ,Master 0 Read/Write Status" "Write Error,Read Error"
bitfld.long 0x00 27. "  M0FL ,Master 0 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 26. "  M0AL ,Master 0 Address Lock" "Not locked,Locked"
textline "                           "
bitfld.long 0x00 23.--25. " M1ET ,Master 1 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 22. "  M1RW ,Master 1 Read/Write Status" "Write Error,Read Error"
bitfld.long 0x00 21. "  M1FL ,Master 1 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 20. "  M1AL ,Master 1 Address Lock" "Not locked,Locked"
textline "                           "
bitfld.long 0x00 17.--19. " M2ET ,Master 2 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 16. "  M2RW ,Master 2 Read/Write Status" "Write Error,Reserved"
bitfld.long 0x00 15. "  M2FL ,Master 2 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 14. "  M2AL ,Master 2 Address Lock" "Not locked,Locked"
textline "                           "
bitfld.long 0x00 11.--13. " M3ET ,Master 3 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 10. "  M3RW ,Master 3 Read/Write Status" "Write Error,Read Error"
bitfld.long 0x00 9. "  M3FL ,Master 3 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 8. "  M3AL ,Master 3 Address Lock" "Not locked,Locked"
group dcr:0x0011++0x0
out dcr:0x0010 %l 0x00000008
line.long 0x00 "SDRAM0_BESR1,Bus Error Status Register 1"
bitfld.long 0x00 29.--31. " M4ET ,Master 4 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 28. "  M4RW ,Master 4 Read/Write Status" "Write Error,Read Error"
bitfld.long 0x00 27. "  M4FL ,Master 4 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 26. "  M4AL ,Master 4 Address Lock" "Not locked,Locked"
textline "                           "
bitfld.long 0x00 23.--25. " M5ET ,Master 5 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 22. "  M5RW ,Master 5 Read/Write Status" "Write Error,Read Error"
bitfld.long 0x00 21. "  M5FL ,Master 5 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 20. "  M5AL ,Master 5 Address Lock" "Not locked,Locked"
textline "                           "
bitfld.long 0x00 17.--19. " M6ET ,Master 6 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 16. "  M6RW ,Master 6 Read/Write Status" "Write Error,Reserved"
bitfld.long 0x00 15. "  M6FL ,Master 6 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 14. "  M6AL ,Master 6 Address Lock" "Not locked,Locked"
textline "                           "
bitfld.long 0x00 11.--13. " M7ET ,Master 7 Error Type" "-,Reserved,ECC Error,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 10. "  M7RW ,Master 7 Read/Write Status" "Write Error,Read Error"
bitfld.long 0x00 9. "  M7FL ,Master 7 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 8. "  M7AL ,Master 7 Address Lock" "Not locked,Locked"    
endif    
rgroup dcr:0x011++0x0
out dcr:0x010 %l 0x10
line.long 0x0 "SDRAM0_BEAR,Bus Error Address Register"
hexmask.long 0x00 0.--31. 1. " BEAR     ,Address of Bus Error"
sif (cpu()=="PPC440GR")||(cpu()=="PPC440GP")
group dcr:0x011++0x0
out dcr:0x010 %l 0x11
line.long 0x0 "SDRAM0_MIRQ,Master Write Interrupt"
eventfld.long 0x00 31. " M0IR     ,Master 0 Write Interrupt" "-,Error"
eventfld.long 0x00 30. "   M1IR     ,Master 1 Write Interrupt" "-,Error"
eventfld.long 0x00 29. "   M2IR     ,Master 2 Write Interrupt" "-,Error"
eventfld.long 0x00 28. "  M3IR     ,Master 3 Write Interrupt" "-,Error"
textline "                           "    
sif (cpu()=="PPC440GR")
eventfld.long 0x00 27. " M4IR     ,Master 4 Write Interrupt" "-,Error"    
eventfld.long 0x00 26. "   M5IR     ,Master 5 Write Interrupt" "-,Error"    
else
; 440gp
eventfld.long 0x00 26. " M5IR     ,Master 5 Write Interrupt" "-,Error"
endif
eventfld.long 0x00 25. "   M6IR     ,Master 6 Write Interrupt" "-,Error"
sif (cpu()=="PPC440GR")        
eventfld.long 0x00 24. "  M7IR     ,Master 7 Write Interrupt" "-,Error"
else        
eventfld.long 0x00 24. "   M7IR     ,Master 7 Write Interrupt" "-,Error"
endif
wgroup dcr:0x011++0x0
out dcr:0x010 %l 0x12
line.long 0x0 "SDRAM0_MIRQ_SET,Master Write Interrupt Set"
bitfld.long 0x00 31. " M0IR_SET ,Master 0 Write Interrupt Set" "-,Set"
bitfld.long 0x00 30. "     M1IR_SET ,Master 1 Write Interrupt Set" "-,Set"
bitfld.long 0x00 29. "     M2IR_SET ,Master 2 Write Interrupt Set" "-,Set"
bitfld.long 0x00 28. "    M3IR_SET ,Master 3 Write Interrupt Set" "-,Set"
textline "                           "
bitfld.long 0x00 27. " M4IR_SET ,Master 4 Write Interrupt Set" "-,Set"
bitfld.long 0x00 26. "     M5IR_SET ,Master 5 Write Interrupt Set" "-,Set"
bitfld.long 0x00 25. "     M6IR_SET ,Master 6 Write Interrupt Set" "-,Set"
bitfld.long 0x00 24. "    M7IR_SET ,Master 7 Write Interrupt Set" "-,Set"
elif (cpu()=="PPC440GX")
group dcr:0x011++0x0
out dcr:0x010 %l 0x11
line.long 0x0 "SDRAM0_MIRQ,Master Write Interrupt 0"
eventfld.long 0x00 31. " M0IR     ,Master 0 Write Interrupt (processor core instruction cache unit (ICU))" "-,Error"
eventfld.long 0x00 30. "   M1IR     ,Master 1 Write Interrupt (processor core data cache read unit (DCU))" "-,Error"
eventfld.long 0x00 29. "   M2IR     ,Master 2 Write Interrupt (processor core data cache write unit (DCU))" "-,Error"
eventfld.long 0x00 28. "  M3IR  ,Master 3 Write Interrupt (PCIX bridge controller (PCIX))" "-,Error"
textline "                           "
eventfld.long 0x00 27. " M4IR     ,Master 4 Write Interrupt (I20 messaging unit (IMU))" "-,Error"
eventfld.long 0x00 26. "   M5IR     ,Master 5 Write Interrupt (media access layer (MAL))" "-,Error"
eventfld.long 0x00 25. "   M6IR     ,Master 6 Write Interrupt (direct memory access controller (DMA))" "-,Error"
eventfld.long 0x00 24. "  M7IR  ,Master 7 Write Interrupt (OPB to PLB bridge controller)" "-,Error"
wgroup dcr:0x011++0x0
out dcr:0x010 %l 0x12
line.long 0x0 "SDRAM0_MIRQS,Master Write Interrupt Set 0"
bitfld.long 0x00 31. " M0IRS    ,Master 0 Write Interrupt (processor core instruction cache unit (ICU)) Set" "-,Set"
bitfld.long 0x00 30. "     M1IRS    ,Master 1 Write Interrupt (processor core data cache read unit (DCU)) Set" "-,Set"
bitfld.long 0x00 29. "     M2IRS    ,Master 2 Write Interrupt (processor core data cache write unit (DCU)) Set" "-,Set"
bitfld.long 0x00 28. "    M3IRS ,Master 3 Write Interrupt (PCIX bridge controller (PCIX)) Set" "-,Set"
textline "                           "
bitfld.long 0x00 27. " M4IRS    ,Master 4 Write Interrupt (I20 messaging unit (IMU)) Set" "-,Set"
bitfld.long 0x00 26. "     M5IRS    ,Master 5 Write Interrupt (media access layer (MAL)) Set" "-,Set"
bitfld.long 0x00 25. "     M6IRS    ,Master 6 Write Interrupt (direct memory access controller (DMA)) Set" "-,Set"
bitfld.long 0x00 24. "    M7IRS ,Master 7 Write Interrupt (OPB to PLB bridge controller) Set" "-,Set"
else
;440ep
group dcr:0x0011++0x00
out dcr:0x0010 %l 0x00000011
line.long 0x00 "SDRAM0_MIRQ,Master Write Interrupt"
bitfld.long 0x00 31. " M0IR     ,Master 0 Write Interrupt" "-,Error"
bitfld.long 0x00 30. "   M1IR     ,Master 1 Write Interrupt" "-,Error"
bitfld.long 0x00 29. "   M2IR     ,Master 2 Write Interrupt" "-,Error"
bitfld.long 0x00 28. "  M3IR ,Master 3 Write Interrupt" "-,Error"
textline "                           "
bitfld.long 0x00 27. " M4IR     ,Master 4 Write Interrupt" "-,Error"
bitfld.long 0x00 26. "   M5IR     ,Master 5 Write Interrupt" "-,Error"
bitfld.long 0x00 25. "   M6IR     ,Master 6 Write Interrupt" "-,Error"
bitfld.long 0x00 24. "  M7IR ,Master 7 Write Interrupt" "-,Error"
endif    
group dcr:0x011++0x0
out dcr:0x010 %l 0x18
line.long 0x0 "SDRAM0_SLI0,PLB Slave Interface Options Register"
bitfld.long 0x00 31. " RDRE     ,PLB Slave Read Rearbitrate Enable" "-,Enabled"
bitfld.long 0x00 30. " WRRE     ,PLB Slave Write Rearbitrate Enable" "-,Enabled"
bitfld.long 0x00 29. " RARW     ,PLB Read Around Write Enable" "-,Enabled"
group dcr:0x011++0x0
out dcr:0x010 %l 0x20
line.long 0x0 "SDRAM0_CFG0,Memory Controller Options 0 0"
bitfld.long 0x00 31. " DCEN  ,DDR SDRAM Controller Enable" "-,Enabled"
bitfld.long 0x00 28.--29. "               MCHK  ,Memory Data Error Checking" "-,Reserved,Generation,Checking/correction"
textline "                         "
bitfld.long 0x00 27. "   RDEN  ,Registered DIMM Enable" "-,Enabled"
sif (cpu()=="PPC440EP")            
bitfld.long 0x00 26. "               PMUD  ,Page Management Unit" "-,Disabled"
else            
bitfld.long 0x00 26. "               PMU   ,Page Management Unit" "-,Disabled"
endif    
textline "                         "
bitfld.long 0x00 25. "   DMWD  ,DDR SDRAM Width" "32-bit,64-bit"
bitfld.long 0x00 22.--23. "                UIOS  ,Unused I/O State" "Active-switching DQS,Active-static values,Static-static values,High-Z"
textline "                         "
bitfld.long 0x00 21. "   PDP   ,Page Deallocation Policy" "Pseudo Allocated,Used"
group dcr:0x011++0x0
out dcr:0x010 %l 0x21
line.long 0x0 "SDRAM0_CFG1,Memory Controller Options 0 1"
bitfld.long 0x00 31. " SRE   ,Self-Refresh Entry" "Exited,Entered"
bitfld.long 0x00 30. "               PMEN  ,Power Management Enable" "-,Enabled"
group dcr:0x011++0x0
out dcr:0x010 %l 0x22
line.long 0x0 "SDRAM0_DEVOPT,DDR SDRAM Device Options 0"
bitfld.long 0x00 31. " DLL   ,DDR_SDRAM Device DLL Disable" "-,Disabled"
bitfld.long 0x00 30. "              DS    ,DDR_SDRAM Device I/O Drive Strength" "Normal,Weak"
rgroup dcr:0x011++0x0
out dcr:0x010 %l 0x24
line.long 0x0 "SDRAM0_MCSTS,Memory Controller Status 0"
bitfld.long 0x00 31. " MRSC  ,MRS Command Complete" "-,Completed"
bitfld.long 0x00 30. "             SRMS  ,Self-Refresh Mode Status" "-,Self-Refresh"
textline "                         "
bitfld.long 0x00 29. "   CIS   ,Core Idle Status" "Busy,Idle"
group dcr:0x011++0x0
out dcr:0x010 %l 0x30
line.long 0x0 "SDRAM0_RTR,Refresh Timer Register"
hexmask.long.word 0x0 19.--29. 1. " RINT  ,Refresh Interval"
group dcr:0x011++0x0
out dcr:0x010 %l 0x34
line.long 0x0 "SDRAM0_PMIT,Power Management Idle Timer"
hexmask.long.byte 0x0 27.--31. 1. " PMC   ,Power Management Count"
group dcr:0x011++0x0
out dcr:0x010 %l 0x38
line.long 0x0 "SDRAM0_UABBA,PLB UA Bus Base Address"
hexmask.long.byte 0x0 0.--3. 1. " UBBA  ,PLB UABus Base Address"
group dcr:0x011++0x0
out dcr:0x010 %l 0x40
line.long 0x0 "SDRAM0_B0CR,Memory 0 Configuration 0"
hexmask.long 0x00 23.--31. 0x800000 " SDBA ,Base Address"
sif (cpu()=="PPC440EP")
bitfld.long 0x00 17.--19. "  SDSZ ,Size" "Reserved,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,Reserved"
else
bitfld.long 0x00 17.--19. "  SDSZ ,Size" "Reserved,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB"
endif
bitfld.long 0x00 13.--15. "  SDAM ,Addressing Mode" "[13:11]x8-4 Bank,[13:11]x9-4 Bank,[13:11]x10-4 Bank,[13:11]x11-4 Bank,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 0. "   SDBE ,Memory Bank Enable" "-,Enabled"
group dcr:0x011++0x0
out dcr:0x010 %l 0x44
line.long 0x0 "SDRAM0_B1CR,Memory 1 Configuration 0"
hexmask.long 0x00 23.--31. 0x800000 " SDBA ,Base Address"
sif (cpu()=="PPC440EP")
bitfld.long 0x00 17.--19. "  SDSZ ,Size" "Reserved,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,Reserved"
else
bitfld.long 0x00 17.--19. "  SDSZ ,Size" "Reserved,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB"
endif
bitfld.long 0x00 13.--15. "  SDAM ,Addressing Mode" "[13:11]x8-4 Bank,[13:11]x9-4 Bank,[13:11]x10-4 Bank,[13:11]x11-4 Bank,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 0. "   SDBE ,Memory Bank Enable" "-,Enabled"
group dcr:0x011++0x0
out dcr:0x010 %l 0x48
line.long 0x0 "SDRAM0_B2CR,Memory 2 Configuration 0"
hexmask.long 0x00 23.--31. 0x800000 " SDBA ,Base Address"
sif (cpu()=="PPC440EP")
bitfld.long 0x00 17.--19. "  SDSZ ,Size" "Reserved,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,Reserved"
else
bitfld.long 0x00 17.--19. "  SDSZ ,Size" "Reserved,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB"
endif
bitfld.long 0x00 13.--15. "  SDAM ,Addressing Mode" "[13:11]x8-4 Bank,[13:11]x9-4 Bank,[13:11]x10-4 Bank,[13:11]x11-4 Bank,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 0. "   SDBE ,Memory Bank Enable" "-,Enabled"
group dcr:0x011++0x0
out dcr:0x010 %l 0x4C
line.long 0x0 "SDRAM0_B3CR,Memory 3 Configuration 0"
hexmask.long 0x00 23.--31. 0x800000 " SDBA ,Base Address"
sif (cpu()=="PPC440EP")
bitfld.long 0x00 17.--19. "  SDSZ ,Size" "Reserved,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,Reserved"
else
bitfld.long 0x00 17.--19. "  SDSZ ,Size" "Reserved,8 MB,16 MB,32 MB,64 MB,128 MB,256 MB,512 MB"
endif
bitfld.long 0x00 13.--15. "  SDAM ,Addressing Mode" "[13:11]x8-4 Bank,[13:11]x9-4 Bank,[13:11]x10-4 Bank,[13:11]x11-4 Bank,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 0. "   SDBE ,Memory Bank Enable" "-,Enabled"
group dcr:0x011++0x0
out dcr:0x010 %l 0x80
line.long 0x0 "SDRAM0_TR0,SDRAM Timing Register 0"
bitfld.long 0x00 31. " SDWR ,DDR SDRAM Write Recovery" "2 CLK,3 CLK"
bitfld.long 0x00 30. "     SDWD ,DDR SDRAM Write to Write Delay when Crossing a Chip Select Boundary" "0 CLK,1 CLK"
bitfld.long 0x00 23.--24. "     SDCL ,DDR SDRAM CAS_Latency" "Reserved,2 CLK,2.5 CLK,3 CLK"
bitfld.long 0x00 18.--19. "   SDPA ,DDR SDRAM CBR Precharge Command to Next Activate Command Minimum" "Reserved,2 CLK,3 CLK,4 CLK"
textline "                           "
sif (cpu()=="PPC440GR")||(cpu()=="PPC440GX")||(cpu()=="PPC440EP")        
bitfld.long 0x00 16.--17. " SDCP ,DDR SDRAM Read/Write Command to Precharge Command" "2 CLK,3 CLK,4 CLK,Reserved"
bitfld.long 0x00 14.--15. "  SDLD ,DDR SDRAM Command Leadoff" "1 CLK,2 CLK,Reserved,Reserved"        
else
bitfld.long 0x00 16.--17. " SDCP ,DDR SDRAM Read/Write Command to Precharge Command" "2 CLK,3 CLK,4 CLK,5 CLK"
bitfld.long 0x00 14.--15. "     SDLD ,DDR SDRAM Command Leadoff" "1 CLK,2 CLK,Reserved,Reserved"        
endif    
sif (cpu()=="PPC440GR")||(cpu()=="PPC440GX")||(cpu()=="PPC440EP")    
bitfld.long 0x00 7. "  TWTR ,DDR SDRAM Write-To-Read Command" "1 CLK,2 CLK"
bitfld.long 0x00 5.--6. "      RFTA ,DDR SDRAM Refresh-To-Activate Command" "0 CLK,1 CLK,2 CLK,Reserved"
textline "                           "
bitfld.long 0x00 2.--4. " SDRA ,DDR SDRAM CBR Refresh Command to Next Activate Command Minimum" "6 CLK,7 CLK,8 CLK,9 CLK,10 CLK,11 CLK,12 CLK,13 CLK"    
bitfld.long 0x00 0.--1. "    SDRD ,DDR SDRAM RAS to CAS Delay" "Reserved,2 CLK,3 CLK,4 CLK"        
else    
bitfld.long 0x00 2.--4. "  SDRA ,DDR SDRAM CBR Refresh Command to Next Activate Command Minimum" "6 CLK,7 CLK,8 CLK,9 CLK,10 CLK,11 CLK,12 CLK,13 CLK"
bitfld.long 0x00 0.--1. "     SDRD ,DDR SDRAM RAS to CAS Delay" "Reserved,2 CLK,3 CLK,4 CLK"        
endif        
group dcr:0x011++0x0
out dcr:0x010 %l 0x81
line.long 0x0 "SDRAM0_TR1,SDRAM Timing Register 1"
bitfld.long 0x00 30.--31. " RDSS ,Read Sample Cycle Select" "T0,T1,T2,T3"
bitfld.long 0x00 22.--23. "        RDSL ,Read Sample Stage Select" "Stage 1,Stage 2,Stage 3,Reserved"
bitfld.long 0x00 11. "  RDCD ,Read Clock Delay - Stage 2" "0 clock,1/2 clock"
hexmask.long.word 0x00 0.--8. 1. "  RDCT ,Read Clock Delay Tuning Bits"
group dcr:0x011++0x0
out dcr:0x010 %l 0x82
line.long 0x0 "SDRAM0_CLKTR,DDR SDRAM Clock Timing Register"
bitfld.long 0x00 30.--31. " CLKP  ,Write Clock Phase" "0 degrees,90 degrees,180 degrees,Reserved"
hexmask.long.word 0x00 0.--8. 1. "    DCDT  ,DDR Clock Delay Tuning"
sif (cpu()=="PPC440GR")        
group dcr:0x011++0x0
out dcr:0x010 %l 0xe0
line.long 0x0 "SDR0_DDRDL0,DDR Delay Line Register"
hexmask.long.byte 0x00 0.--5. 1. " TUNE  ,DDR Delay Line TUNE"
elif (cpu()=="PPC440GX")||(cpu()=="PPC440EP")    
group dcr:0xF++0x0
out dcr:0xE %l 0xE0
line.long 0x0 "SDR0_DDRDL,DDR Delay Line Register 0"
hexmask.long.byte 0x0 0.--5. 1. " TUNE  ,DDR Delay Line PLL TUNE"
endif
group dcr:0x011++0x0
out dcr:0x010 %l 0x83
line.long 0x0 "SDRAM0_WDDCTR,Write Data/DM/DQS Clock Timing Register"
bitfld.long 0x00 30.--31. " WRCP  ,Write Clock Phase" "0 degrees,90 degrees,180 degrees,Reserved"
hexmask.long.word 0x00 0.--8. 1. "    DCD   ,DDR Write Data/DM/DQS Clock Delay Tuning Bits"
group dcr:0x011++0x0
out dcr:0x010 %l 0x84
line.long 0x0 "SDRAM0_DLYCAL,Delay Line Calibration Register"
bitfld.long 0x00 31. " DLCR  ,Delay Line Calibration Request" "-,Requested"
bitfld.long 0x00 28.--30. "      DLCS  ,Delay Line Calibration Status" "Not running,In progress,Completed,Reserved,Error,Reserved,Reserved,Reserved"
textline "                           "
hexmask.long.byte 0x00 2.--9. 1. " DLCV  ,Delay Line Calibration Value"
sif (cpu()=="PPC440GR")||(cpu()=="PPC440GX")
group dcr:0x011++0x0
out dcr:0x010 %l 0x98
line.long 0x0 "SDRAM0_ECCESR,ECC Error Status"
eventfld.long 0x00 31. " B0CE  ,Byte Lane 0 Corrected Error" "-,Error"
eventfld.long 0x00 30. "  B1CE  ,Byte Lane 1 Corrected Error" "-,Error"
eventfld.long 0x00 29. "  B2CE  ,Byte Lane 2 Corrected Error" "-,Error"
eventfld.long 0x00 28. "  B3CE  ,Byte Lane 3 Corrected Error" "-,Error"
eventfld.long 0x00 27. "   B4CE  ,Byte Lane 4 Corrected Error" "-,Error"
textline "                           "
eventfld.long 0x00 26. " B5CE  ,Byte Lane 5 Corrected Error" "-,Error"
eventfld.long 0x00 25. "  B6CE  ,Byte Lane 6 Corrected Error" "-,Error"
eventfld.long 0x00 24. "  B7CE  ,Byte Lane 7 Corrected Error" "-,Error"
eventfld.long 0x00 23. "  B8CE  ,Byte Lane 8 Corrected Error" "-,Error"
eventfld.long 0x00 22. "   B9CE  ,Byte Lane 9 Corrected Error" "-,Error"
textline "                           "
eventfld.long 0x00 21. " B10CE ,Byte Lane 10 Corrected Error" "-,Error"
eventfld.long 0x00 20. "  B11CE ,Byte Lane 11 Corrected Error" "-,Error"
eventfld.long 0x00 19. "  B12CE ,Byte Lane 12 Corrected Error" "-,Error"
eventfld.long 0x00 18. "  B13CE ,Byte Lane 13 Corrected Error" "-,Error"
eventfld.long 0x00 17. "   B14CE ,Byte Lane 14 Corrected Error" "-,Error"
textline "                           "
eventfld.long 0x00 16. " B15CE ,Byte Lane 15 Corrected Error" "-,Error"
eventfld.long 0x00 13. "  CE    ,Correctable Error" "-,Error"                
eventfld.long 0x00 12. "  UE    ,Uncorrectable Error" "-,Error"
eventfld.long 0x00 11. "  BK0E  ,Bank 0 Error" "-,Error"
eventfld.long 0x00 10. "   BK1E  ,Bank 1 Error" "-,Error"
textline "                           "
eventfld.long 0x00 9. " BK2E  ,Bank 2 Error" "-,Error"
eventfld.long 0x00 8. "  BK3E  ,Bank 3 Error" "-,Error"
sif (cpu()=="PPC440GR")            
bitfld.long 0x00 14.--15. "  CKBE  ,Error Detected in Checkbits" "-,32bit-Lower,64bit-Error/32bit-Upper,32bit-Upper and Lower"    
else
eventfld.long 0x00 14.--15. "  CKBE  ,Error Detected in Checkbits (64|32-bit Mode)" "-,Reserved|Lower,Error|Upper,Reserved|Upper/Lower"    
endif        
elif (cpu()=="PPC440GP")
;440gp
group dcr:0x011++0x0
out dcr:0x010 %l 0x98
line.long 0x0 "SDRAM0_ECCESR,ECC Error Status"
bitfld.long 0x00 31. " B0CE  ,Byte Lane 0 Corrected Error" "-,Error"
bitfld.long 0x00 30. "  B1CE  ,Byte Lane 1 Corrected Error" "-,Error"
bitfld.long 0x00 29. "  B2CE  ,Byte Lane 2 Corrected Error" "-,Error"
bitfld.long 0x00 28. "  B3CE  ,Byte Lane 3 Corrected Error" "-,Error"
bitfld.long 0x00 27. "  B4CE  ,Byte Lane 4 Corrected Error" "-,Error"
textline "                           "
bitfld.long 0x00 26. " B5CE  ,Byte Lane 5 Corrected Error" "-,Error"
bitfld.long 0x00 25. "  B6CE  ,Byte Lane 6 Corrected Error" "-,Error"
bitfld.long 0x00 24. "  B7CE  ,Byte Lane 7 Corrected Error" "-,Error"
bitfld.long 0x00 23. "  B8CE  ,Byte Lane 8 Corrected Error" "-,Error"    
bitfld.long 0x00 22. "  B9CE  ,Byte Lane 9 Corrected Error" "-,Error"
textline "                           "
bitfld.long 0x00 21. " B10CE ,Byte Lane 10 Corrected Error" "-,Error"
bitfld.long 0x00 20. "  B11CE ,Byte Lane 11 Corrected Error" "-,Error"
bitfld.long 0x00 19. "  B12CE ,Byte Lane 12 Corrected Error" "-,Error"
bitfld.long 0x00 18. "  B13CE ,Byte Lane 13 Corrected Error" "-,Error"
bitfld.long 0x00 17. "  B14CE ,Byte Lane 14 Corrected Error" "-,Error"
textline "                           "
bitfld.long 0x00 16. " B15CE ,Byte Lane 15 Corrected Error" "-,Error"
bitfld.long 0x00 13. "  CE    ,Correctable Error" "-,Error"
bitfld.long 0x00 12. "  UE    ,Uncorrectable Error" "-,Error"
bitfld.long 0x00 11. "  BK0E  ,Bank 0 Error" "-,Error"
bitfld.long 0x00 10. "  BK1E  ,Bank 1 Error" "-,Error"
textline "                           "
bitfld.long 0x00 9. " BK2E  ,Bank 2 Error" "-,Error"
bitfld.long 0x00 8. "  BK3E  ,Bank 3 Error" "-,Error"
bitfld.long 0x00 14.--15. "  CKBE  ,Error Detected in Checkbits" "-,32bit-Lower,64bit-Error/32bit-Upper,32bit-Upper and Lower"
else
;440ep
group dcr:0x0011++0x00
out dcr:0x0010 %l 0x00000098
line.long 0x00 "SDRAM0_ECCESR,ECC Error Status"
Textfld " BnCE:0   1   2   3   4   5   6   7   8   9   10  11  12  13  14  15"
Textline "                             "
bitfld.long 0x00 31. "    ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 30. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 29. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 28. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 27. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 26. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 25. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 24. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 23. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 22. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 21. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 20. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 19. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 18. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 17. " ,Byte Lane n Corrected Error" "-,Err"
bitfld.long 0x00 16. " ,Byte Lane n Corrected Error" "-,Err"
textline "                           "
bitfld.long 0x00 14.--15. " CKBE(64) ,Error Detected in Checkbits. Mode depend on SDRAM_CFG0[DMWD]" "-,res,Error in Checkbits,res"
bitfld.long 0x00 13. "  CE       ,Correctable Error" "No,Yes"
textline "                           "
bitfld.long 0x00 13. " UE       ,Uncorrectable Error" "No,Yes"
bitfld.long 0x00 11. "                 BK0E     , Bank 0 Error" "-,Err"
textline "                           "
bitfld.long 0x00 10. " BK1E     , Bank 1 Error" "-,Err"
bitfld.long 0x00 09. "                 BK2E     , Bank 2 Error" "-,Err"
textline "                           "
bitfld.long 0x00 08. " BK3E     , Bank 3 Error" "-,Err"
bitfld.long 0x00 14.--15. "                 CKBE(32) ,Error Detected in Checkbits. Mode depend on SDRAM_CFG0[DMWD]" "-,Error in Lower Checkbits,Error in Upper Checkbits,Error in Upper and Lower Checkbits"
endif    
sif (cpu()=="PPC440EP")
group dcr:0x0011++0x00
out dcr:0x0010 %l 0x000000A4
line.long 0x00 "SDRAM0_CID,Controller ID Register"
hexmask.long.word 0x00 20.--31. 1. " CID   ,Core ID"
hexmask.long.byte 0x00 16.--19. 1. " CDC   ,Core Derivative Code"
hexmask.long.word 0x00 0.--15. 1. "         BRID  ,Controller Branch Revision Control ID"
else
rgroup dcr:0x011++0x0
out dcr:0x010 %l 0xA4
line.long 0x0 "SDRAM0_CID,Controller ID Register"
hexmask.long.word 0x00 20.--31. 1. " CID   ,Core ID Identifies the IBM Specific Core Number Associated with the DDR SDRAM"
sif (cpu()=="PPC440GR")            
bitfld.long 0x00 16.--19. " CDC   ,Core Derivative Code" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
hexmask.long.word 0x00 0.--15. 1. "         BRID  ,Controller Branch Revision Control ID"
else        
bitfld.long 0x00 16.--19. " CDC   ,Core Derivative Code" "Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Base,Reserved,Derivative,Reserved,Reserved"
endif
endif
rgroup dcr:0x011++0x0
out dcr:0x010 %l 0xA8
line.long 0x0 "SDRAM0_RID,Revision ID Register"
hexmask.long.byte 0x00 24.--31. 1. " CDID  ,Controller Derivative ID"
hexmask.long.word 0x00  8.--23. 1. "   RCID  ,Controller Revision Control ID"
hexmask.long.byte 0x00  0.--7.  1. "       BRID  ,Controller Branch Revision Control ID"

elif ((cpu()=="PPC440SP")||(cpu()=="PPC440SPE"))
;Double Data Rate
width 16.
rgroup dcr:0x0011++0x03
out dcr:0x0010 %l 0x0014
line.long 0x00 "MCIF0_MCSTAT,Memory Controller Status Register"
bitfld.long 0x00 31. " MIC ,Memory Initialization Complete" "Not completed,Completed"
bitfld.long 0x00 30. "  SRMS ,Self-Refresh Mode Status" "No self-refresh,Self-Refresh"
bitfld.long 0x00 29. "  IDLE ,Core Idle Status" "Busy,Idle"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x0020
line.long 0x00 "MCIF0_MCOPT1,Memory Controller Options 1 Register"
bitfld.long 0x00 28.--29. " MCHK ,Memory Data Error Checking (ECC)" "None,No error report,Generation,Error report"
bitfld.long 0x00 27. "  RDEN ,Registered DIMM Enable" "-,Enabled"
bitfld.long 0x00 25.--26. "  PMUM ,Page Management Unit Mode" "Close,AutoClose,Open,Reserved"
bitfld.long 0x00 24. "  WDTH ,DDR DRAM Data Width" "32bit,64bit"
textline "                         "
bitfld.long 0x00 22.--23. " UIOS ,Unused IO State" "Switching DQS,Static values,Static,Tri-stated"
bitfld.long 0x00 21. "    BCNT ,Memory Device Bank Count" "4 banks,8 banks"
bitfld.long 0x00 20. "  DDR2 ,DDR2/DDR1 Select" "DDR1,DDR2"
bitfld.long 0x00 16.--17. "       QDEP ,Depth of Command Queue for Page Lookahead/Roertering" "Reserved,Reserved,4 cmds,Reserved"
textline "                         "
bitfld.long 0x00 15. " RWOO ,Enable Out of Orter Reads and Writes by the Controller" "-,Enabled"
bitfld.long 0x00 14. "          WOOO ,Enable Out of Order Writes by the Controller" "-,Enabled"
bitfld.long 0x00 13. "  DCOO ,Disable All Out of Orders Operations" "-,Disabled"
bitfld.long 0x00 12. "   DREF ,Enable Deferred Refresh" "-,Enabled"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x0021
line.long 0x00 "MCIF0_MCOPT2,Memory Controller Option 2 Register"
bitfld.long 0x00 31. " SREN ,Self Refresh Entry/Exit Control" "Exit,Entry"
bitfld.long 0x00 29. "            IPTR ,Initialization Trigger Register (Initialization sequencer)" "Idle,Busy"
bitfld.long 0x00 28. "     XSRP ,Exit Self Refresh Prevent" "-,Prevented"
bitfld.long 0x00 27. "  DCEN ,SDRAM Controller Enable" "-,Enabled"
textline "                         "
bitfld.long 0x00 26. " ISIE ,Initialization Sequence Interruptable" "-,Enabled"
sif (cpu()=="PPC440SPE")
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x22
line.long 0x00 "MCIF0_MODT0,Memory On-Die Termination Control Register"
bitfld.long 0x00 31. " EOA  ,Enable ODT0 Always" "-,Enabled"
bitfld.long 0x00 30. "  EB3W ,Enable ODT0 with Bank 3 (CS) Write" "-,Enabled"
bitfld.long 0x00 29. "  EB3R ,Enable ODT0 with Bank 3 (CS) Read" "-,Enabled"
bitfld.long 0x00 28. "  EB2W ,Enable ODT0 with Bank 2 (CS) Write" "-,Enabled"    
bitfld.long 0x00 27. "  EB2R ,Enable ODT0 with Bank 2 (CS) Read" "-,Enabled"
textline "                         "
bitfld.long 0x00 26. " EB1W ,Enable ODT0 with Bank 1 (CS) Write" "-,Enabled"
bitfld.long 0x00 25. "  EB1R ,Enable ODT0 with Bank 1 (CS) Read" "-,Enabled"
bitfld.long 0x00 24. "  EB0W ,Enable ODT0 with Bank 0 (CS) Write" "-,Enabled"
bitfld.long 0x00 23. "  EB0R ,Enable ODT0 with Bank 1 (CS) Read" "-,Enabled"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x23
line.long 0x00 "MCIF0_MODT1,Memory On-Die Termination Control Register"
bitfld.long 0x00 31. " EOA  ,Enable ODT1 Always" "-,Enabled"
bitfld.long 0x00 30. "  EB3W ,Enable ODT1 with Bank 3 (CS) Write" "-,Enabled"
bitfld.long 0x00 29. "  EB3R ,Enable ODT1 with Bank 3 (CS) Read" "-,Enabled"
bitfld.long 0x00 28. "  EB2W ,Enable ODT1 with Bank 2 (CS) Write" "-,Enabled"    
bitfld.long 0x00 27. "  EB2R ,Enable ODT1 with Bank 2 (CS) Read" "-,Enabled"
textline "                         "
bitfld.long 0x00 26. " EB1W ,Enable ODT1 with Bank 1 (CS) Write" "-,Enabled"
bitfld.long 0x00 25. "  EB1R ,Enable ODT1 with Bank 1 (CS) Read" "-,Enabled"
bitfld.long 0x00 24. "  EB0W ,Enable ODT1 with Bank 0 (CS) Write" "-,Enabled"
bitfld.long 0x00 23. "  EB0R ,Enable ODT1 with Bank 1 (CS) Read" "-,Enabled"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x24
line.long 0x00 "MCIF0_MODT2,Memory On-Die Termination Control Register"
bitfld.long 0x00 31. " EOA  ,Enable ODT2 Always" "-,Enabled"
bitfld.long 0x00 30. "  EB3W ,Enable ODT2 with Bank 3 (CS) Write" "-,Enabled"
bitfld.long 0x00 29. "  EB3R ,Enable ODT2 with Bank 3 (CS) Read" "-,Enabled"
bitfld.long 0x00 28. "  EB2W ,Enable ODT2 with Bank 2 (CS) Write" "-,Enabled"    
bitfld.long 0x00 27. "  EB2R ,Enable ODT2 with Bank 2 (CS) Read" "-,Enabled"
textline "                         "
bitfld.long 0x00 26. " EB1W ,Enable ODT2 with Bank 1 (CS) Write" "-,Enabled"
bitfld.long 0x00 25. "  EB1R ,Enable ODT2 with Bank 1 (CS) Read" "-,Enabled"
bitfld.long 0x00 24. "  EB0W ,Enable ODT2 with Bank 0 (CS) Write" "-,Enabled"
bitfld.long 0x00 23. "  EB0R ,Enable ODT2 with Bank 1 (CS) Read" "-,Enabled"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x25
line.long 0x00 "MCIF0_MODT3,Memory On-Die Termination Control Register"
bitfld.long 0x00 31. " EOA  ,Enable ODT3 Always" "-,Enabled"
bitfld.long 0x00 30. "  EB3W ,Enable ODT3 with Bank 3 (CS) Write" "-,Enabled"
bitfld.long 0x00 29. "  EB3R ,Enable ODT3 with Bank 3 (CS) Read" "-,Enabled"
bitfld.long 0x00 28. "  EB2W ,Enable ODT3 with Bank 2 (CS) Write" "-,Enabled"    
bitfld.long 0x00 27. "  EB2R ,Enable ODT3 with Bank 2 (CS) Read" "-,Enabled"
textline "                         "
bitfld.long 0x00 26. " EB1W ,Enable ODT3 with Bank 1 (CS) Write" "-,Enabled"
bitfld.long 0x00 25. "  EB1R ,Enable ODT3 with Bank 1 (CS) Read" "-,Enabled"
bitfld.long 0x00 24. "  EB0W ,Enable ODT3 with Bank 0 (CS) Write" "-,Enabled"
bitfld.long 0x00 23. "  EB0R ,Enable ODT3 with Bank 1 (CS) Read" "-,Enabled"
; 440sp
else
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x22
line.long 0x00 "MCIF0_MODT0,Memory On-Die Termination Control Register"
bitfld.long 0x00 31. " EOA ,Enable ODT0 Always" "-,Enabled"    
bitfld.long 0x00 26. "  EB1W ,Enable ODT0 with Bank 1 (CS) Write" "-,Enabled"
bitfld.long 0x00 25. "  EB1R ,Enable ODT0 with Bank 1 (CS) Read" "-,Enabled"
bitfld.long 0x00 24. "  EB0W ,Enable ODT0 with Bank 0 (CS) Write" "-,Enabled"
bitfld.long 0x00 23. "  EB0R ,Enable ODT0 with Bank 1 (CS) Read" "-,Enabled"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x23
line.long 0x00 "MCIF0_MODT1,Memory On-Die Termination Control Register"
bitfld.long 0x00 31. " EOA ,Enable ODT1 Always" "-,Enabled"    
bitfld.long 0x00 26. "  EB1W ,Enable ODT1 with Bank 1 (CS) Write" "-,Enabled"
bitfld.long 0x00 25. "  EB1R ,Enable ODT1 with Bank 1 (CS) Read" "-,Enabled"
bitfld.long 0x00 24. "  EB0W ,Enable ODT1 with Bank 0 (CS) Write" "-,Enabled"
bitfld.long 0x00 23. "  EB0R ,Enable ODT1 with Bank 1 (CS) Read" "-,Enabled"
endif
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x0026
line.long 0x00 "MCIF0_CODT,Controller ODT and I/O Pin Control Register"
bitfld.long 0x00 31. " EOA  ,Enable ODT Always" "-,Enabled"
sif (cpu()=="PPC440SPE")    
bitfld.long 0x00 30. "       EB3W  ,Enable ODT with Bank 3 Write" "-,Enabled"
bitfld.long 0x00 29. "       EB3R  ,Enable ODT with Bank 3 Read" "-,Enabled"
bitfld.long 0x00 28. " EB2W ,Enable ODT with Bank 2 Write" "-,Enabled"
textline "                         "
bitfld.long 0x00 27. " EB2R ,Enable ODT with Bank 2 Read" "-,Enabled"
bitfld.long 0x00 26. "       EB1W  ,Enable ODT with Bank 1 (CS) Write" "-,Enabled"
bitfld.long 0x00 25. "       EB1R ,Enable ODT with Bank 1 (CS) Read" "-,Enabled"        
bitfld.long 0x00 24. "  EB0W ,Enable ODT with Bank 0 (CS) Write" "-,Enabled"        
else        
bitfld.long 0x00 26. "       EB1W  ,Enable ODT with Bank 1 (CS) Write" "-,Enabled"
bitfld.long 0x00 25. "       EB1R ,Enable ODT with Bank 1 (CS) Read" "-,Enabled"    
bitfld.long 0x00 24. "  EB0W ,Enable ODT with Bank 0 (CS) Write" "-,Enabled"        
endif    
textline "                         "
bitfld.long 0x00 23. " EB0R ,Enable ODT with Bank 1 (CS) Read" "-,Enabled"
bitfld.long 0x00 21.--22. "       ODTSH ,ODT Timing" "Normal,Remowed 1,Add 1,Shift 1"
bitfld.long 0x00 19. "     CKEG ,Enable ODT Termination on CKE CS and ODT Pins" "-,Enabled"
bitfld.long 0x00 18. "  CTLG ,Enable ODT Termination on WE RAS CAS and Address Pins" "-,Enabled"
textline "                         "
bitfld.long 0x00 17. " FBDG ,Enable ODT Termintation on FBDKD (driver) Pin" "-,Enabled"
bitfld.long 0x00 16. "       FBRG  ,Enable ODT Termination on FBDKR (receiver) Pin" "-,Enabled"
bitfld.long 0x00 15. "       DLZ  ,Memory Data I/O Low Impedance Drive Mode" "-,Enabled"
bitfld.long 0x00 14. "  DQLZ ,Memory DQS I/O Low Impedance Drive Mode" "-,Enabled"
textline "                         "
bitfld.long 0x00 13. " CKLZ ,Memory Clock Low Impedance Drive Mode" "-,Enabled"
bitfld.long 0x00 12. "       CSLZ  ,Memory CS Low Impedance Drive Mode" "-,Enabled"
bitfld.long 0x00 11. "       DMLZ ,Memory DM Low Impedance Drive Mode" "-,Enabled"
bitfld.long 0x00 10. "  CELZ ,Memory CKE Low Impedance Drive Mode" "-,Enabled"
textline "                         "
bitfld.long 0x00 9. " ODLZ ,Memory ODT Low Impedance Drive Mode" "-,Enabled"
bitfld.long 0x00 8. "       CTLZ  ,Memory Control Low Impedance Drive Mode" "-,Enabled"
bitfld.long 0x00 6. "       FDLZ ,Feedback Driver Drive Low Impedance Mode" "-,Enabled"
bitfld.long 0x00 5. "  2518 ,Memory I/O Mode" "2.5V(DDR1),1.8V(DDR2)"
textline "                         "
bitfld.long 0x00 4. " DQSE ,DQS I/O Mode" "Differential,Single ended"
bitfld.long 0x00 3. "  CKSE  ,Memory Clock Mode" "Differential,Single ended"
bitfld.long 0x00 0. "  ODTS ,ODT I/O Drivers Mode" "Hi-Z,Normal"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x0027
line.long 0x00 "MCIF0_VVPR,Variable Vref Programming Register"
bitfld.long 0x00 30.--31. " MCINT ,Mode Control Internal Vref Source" "External,Reserved,Internal,Reserved"
hexmask.long.byte 0x00 18.--23. 1. "     MCR   ,6-bit Vref Offset Vector"
sif (cpu()=="PPC440SPE")        
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x28
line.long 0x00 "MCIF0_OPAR1,OCD Programming Assist Register 1"
bitfld.long 0x00 31. " OADE ,OCD Issue Adjust with Drive Mode Enable" "-,Enabled"
bitfld.long 0x00 30. "       OAPS  ,OCD Auto-Precharge Bit Swap Enable" "-,Enabled"
bitfld.long 0x00 24.--26. "       OEMR ,OCD Extended Mode Register A9-A7 Setting" "Reserved,Drive (1),Drive (0),Reserved,Adjust,Reserved,Reserved,OCD calibration"
hexmask.long.byte 0x00 20.--23. 1. "  ODBC ,0sOCD Device Burst Code"
textline "                         "
bitfld.long 0x00 17. " OMRS ,OCD Memory External Bank Select" "Bank 0,Bank 1"
hexmask.long.word 0x00 8.--16. 1. "        OMDS  ,OCD Memory Device/Byte Select"
bitfld.long 0x00 4.--7. "          OCED ,OCD Calibration Mode Exit Delay" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 0.--3. "               OSDV ,OCS Sense Delay Value" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
else
; 440sp
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x28
line.long 0x00 "MCIF0_OPAR1,OCD Programming Assist Register 1"
bitfld.long 0x00 31. " OADE ,OCD Issue Adjust with Drive Mode Enable" "-,Enabled"
bitfld.long 0x00 30. "       OAPS  ,OCD Auto-Precharge Bit Swap Enable" "-,Enabled"
bitfld.long 0x00 24.--26. "       OEMR ,OCD Extended Mode Register A9-A7 Setting" "Reserved,Drive (1),Drive (0),Reserved,Adjust,Reserved,Reserved,OCD calibration"
hexmask.long.byte 0x00 20.--23. 1. "  ODBC ,0sOCD Device Burst Code"
textline "                         "
bitfld.long 0x00 17. " OMRS ,OCD Memory External Bank Select" "Bank 0,Bank 1"
hexmask.long.word 0x00 8.--16. 1. "        OMDS  ,OCD Memory Device/Byte Select"
bitfld.long 0x00 4.--7. "          OCED ,OCD Calibration Mode Exit Delay" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 0.--3. "               OSDV ,OCS Sense Delay Value" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x29
line.long 0x00 "MCIF0_OPAR2,OCD Programming Assist Register 2"
bitfld.long 0x00 31. " OADE ,OCD Issue Adjust with Drive Mode Enable" "-,Enabled"
bitfld.long 0x00 30. "       OAPS  ,OCD Auto-Precharge Bit Swap Enable" "-,Enabled"
bitfld.long 0x00 24.--26. "       OEMR ,OCD Extended Mode Register A9-A7 Setting" "Reserved,Drive (1),Drive (0),Reserved,Adjust,Reserved,Reserved,OCD calibration"
hexmask.long.byte 0x00 20.--23. 1. "  ODBC ,0sOCD Device Burst Code"
textline "                         "
bitfld.long 0x00 17. " OMRS ,OCD Memory External Bank Select" "Bank 0,Bank 1"
hexmask.long.word 0x00 8.--16. 1. "        OMDS  ,OCD Memory Device/Byte Select"
bitfld.long 0x00 4.--7. "          OCED ,OCD Calibration Mode Exit Delay" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 0.--3. "               OSDV ,OCS Sense Delay Value" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
endif        
;TBD
;group dcr:0x0011++0x03
;    out dcr:0x0010 %l 0x29
;    hide.long 0x00 "MCIF0_OPAR2,OCD Programming Assist Register 2"
;        IN
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x0030
line.long 0x00 "MCIF0_RTR,Refresh Timer Register"
hexmask.long.word 0x00 19.--31. 1. " RTIN ,Refresh Timing Interval"
sif (cpu()=="PPC440SPE")
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x40
line.long 0x00 "MCIF0_MB0CF,Memory Bank 0 Configuration Register"
bitfld.long 0x00 8.--11. " M_AM ,Addressing Mode" "Mode 0,Mode 1,Mode 2,Mode 3,Mode 4,Mode 5,Mode 6,Mode 7,Mode 8,Mode 9,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 0. "  M_BE ,Memory Bank Enable" "-,Enabled"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x44
line.long 0x00 "MCIF0_MB1CF,Memory Bank 1 Configuration Register"
bitfld.long 0x00 8.--11. " M_AM ,Addressing Mode" "Mode 0,Mode 1,Mode 2,Mode 3,Mode 4,Mode 5,Mode 6,Mode 7,Mode 8,Mode 9,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 0. "  M_BE ,Memory Bank Enable" "-,Enabled"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x48
line.long 0x00 "MCIF0_MB2CF,Memory Bank 2 Configuration Register"
bitfld.long 0x00 8.--11. " M_AM ,Addressing Mode" "Mode 0,Mode 1,Mode 2,Mode 3,Mode 4,Mode 5,Mode 6,Mode 7,Mode 8,Mode 9,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 0. "  M_BE ,Memory Bank Enable" "-,Enabled"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x4C
line.long 0x00 "MCIF0_MB3CF,Memory Bank 3 Configuration Register"
bitfld.long 0x00 8.--11. " M_AM ,Addressing Mode" "Mode 0,Mode 1,Mode 2,Mode 3,Mode 4,Mode 5,Mode 6,Mode 7,Mode 8,Mode 9,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 0. "  M_BE ,Memory Bank Enable" "-,Enabled"
else
; 440sp
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x40
line.long 0x00 "MCIF0_MB0CF,Memory Bank 0 Configuration Register"
bitfld.long 0x00 8.--11. " M_AM ,Addressing Mode" "Mode 0,Mode 1,Mode 2,Mode 3,Mode 4,Mode 5,Mode 6,Mode 7,Mode 8,Mode 9,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 0. "  M_BE ,Memory Bank Enable" "-,Enabled"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x44
line.long 0x00 "MCIF0_MB1CF,Memory Bank 1 Configuration Register"
bitfld.long 0x00 8.--11. " M_AM ,Addressing Mode" "Mode 0,Mode 1,Mode 2,Mode 3,Mode 4,Mode 5,Mode 6,Mode 7,Mode 8,Mode 9,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 0. "  M_BE ,Memory Bank Enable" "-,Enabled"
endif
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x50
line.long 0x00 "MCIF0_INTPLR0,Initialization Preload Register 0"
bitfld.long 0x00 31. " IENA ,Enable Direct Software Access to the SDRAMs" "-,Enabled"
hexmask.long.byte 0x00 23.--30. 1. "  IMWT ,Minimum Wait"
hexmask.long.byte 0x00 19.--21. 1. "  ICMD ,Initialization Command /RAS /CAS /WE"
hexmask.long.byte 0x00 16.--18. 1. "  IBA ,Initialization Bank Address BA[2:0]"
hexmask.long.word 0x00 0.--15. 1. "  IMA ,Initialization Memory Address MA[15:0]"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x51
line.long 0x00 "MCIF0_INTPLR1,Initialization Preload Register 1"
bitfld.long 0x00 31. " IENA ,Enable Direct Software Access to the SDRAMs" "-,Enabled"
hexmask.long.byte 0x00 23.--30. 1. "  IMWT ,Minimum Wait"
hexmask.long.byte 0x00 19.--21. 1. "  ICMD ,Initialization Command /RAS /CAS /WE"
hexmask.long.byte 0x00 16.--18. 1. "  IBA ,Initialization Bank Address BA[2:0]"
hexmask.long.word 0x00 0.--15. 1. "  IMA ,Initialization Memory Address MA[15:0]"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x52
line.long 0x00 "MCIF0_INTPLR2,Initialization Preload Register 2"
bitfld.long 0x00 31. " IENA ,Enable Direct Software Access to the SDRAMs" "-,Enabled"
hexmask.long.byte 0x00 23.--30. 1. "  IMWT ,Minimum Wait"
hexmask.long.byte 0x00 19.--21. 1. "  ICMD ,Initialization Command /RAS /CAS /WE"
hexmask.long.byte 0x00 16.--18. 1. "  IBA ,Initialization Bank Address BA[2:0]"
hexmask.long.word 0x00 0.--15. 1. "  IMA ,Initialization Memory Address MA[15:0]"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x53
line.long 0x00 "MCIF0_INTPLR3,Initialization Preload Register 3"
bitfld.long 0x00 31. " IENA ,Enable Direct Software Access to the SDRAMs" "-,Enabled"
hexmask.long.byte 0x00 23.--30. 1. "  IMWT ,Minimum Wait"
hexmask.long.byte 0x00 19.--21. 1. "  ICMD ,Initialization Command /RAS /CAS /WE"
hexmask.long.byte 0x00 16.--18. 1. "  IBA ,Initialization Bank Address BA[2:0]"
hexmask.long.word 0x00 0.--15. 1. "  IMA ,Initialization Memory Address MA[15:0]"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x54
line.long 0x00 "MCIF0_INTPLR4,Initialization Preload Register 4"
bitfld.long 0x00 31. " IENA ,Enable Direct Software Access to the SDRAMs" "-,Enabled"
hexmask.long.byte 0x00 23.--30. 1. "  IMWT ,Minimum Wait"
hexmask.long.byte 0x00 19.--21. 1. "  ICMD ,Initialization Command /RAS /CAS /WE"
hexmask.long.byte 0x00 16.--18. 1. "  IBA ,Initialization Bank Address BA[2:0]"
hexmask.long.word 0x00 0.--15. 1. "  IMA ,Initialization Memory Address MA[15:0]"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x55
line.long 0x00 "MCIF0_INTPLR5,Initialization Preload Register 5"
bitfld.long 0x00 31. " IENA ,Enable Direct Software Access to the SDRAMs" "-,Enabled"
hexmask.long.byte 0x00 23.--30. 1. "  IMWT ,Minimum Wait"
hexmask.long.byte 0x00 19.--21. 1. "  ICMD ,Initialization Command /RAS /CAS /WE"
hexmask.long.byte 0x00 16.--18. 1. "  IBA ,Initialization Bank Address BA[2:0]"
hexmask.long.word 0x00 0.--15. 1. "  IMA ,Initialization Memory Address MA[15:0]"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x56
line.long 0x00 "MCIF0_INTPLR6,Initialization Preload Register 6"
bitfld.long 0x00 31. " IENA ,Enable Direct Software Access to the SDRAMs" "-,Enabled"
hexmask.long.byte 0x00 23.--30. 1. "  IMWT ,Minimum Wait"
hexmask.long.byte 0x00 19.--21. 1. "  ICMD ,Initialization Command /RAS /CAS /WE"
hexmask.long.byte 0x00 16.--18. 1. "  IBA ,Initialization Bank Address BA[2:0]"
hexmask.long.word 0x00 0.--15. 1. "  IMA ,Initialization Memory Address MA[15:0]"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x57
line.long 0x00 "MCIF0_INTPLR7,Initialization Preload Register 7"
bitfld.long 0x00 31. " IENA ,Enable Direct Software Access to the SDRAMs" "-,Enabled"
hexmask.long.byte 0x00 23.--30. 1. "  IMWT ,Minimum Wait"
hexmask.long.byte 0x00 19.--21. 1. "  ICMD ,Initialization Command /RAS /CAS /WE"
hexmask.long.byte 0x00 16.--18. 1. "  IBA ,Initialization Bank Address BA[2:0]"
hexmask.long.word 0x00 0.--15. 1. "  IMA ,Initialization Memory Address MA[15:0]"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x58
line.long 0x00 "MCIF0_INTPLR8,Initialization Preload Register 8"
bitfld.long 0x00 31. " IENA ,Enable Direct Software Access to the SDRAMs" "-,Enabled"
hexmask.long.byte 0x00 23.--30. 1. "  IMWT ,Minimum Wait"
hexmask.long.byte 0x00 19.--21. 1. "  ICMD ,Initialization Command /RAS /CAS /WE"
hexmask.long.byte 0x00 16.--18. 1. "  IBA ,Initialization Bank Address BA[2:0]"
hexmask.long.word 0x00 0.--15. 1. "  IMA ,Initialization Memory Address MA[15:0]"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x59
line.long 0x00 "MCIF0_INTPLR9,Initialization Preload Register 9"
bitfld.long 0x00 31. " IENA ,Enable Direct Software Access to the SDRAMs" "-,Enabled"
hexmask.long.byte 0x00 23.--30. 1. "  IMWT ,Minimum Wait"
hexmask.long.byte 0x00 19.--21. 1. "  ICMD ,Initialization Command /RAS /CAS /WE"
hexmask.long.byte 0x00 16.--18. 1. "  IBA ,Initialization Bank Address BA[2:0]"
hexmask.long.word 0x00 0.--15. 1. "  IMA ,Initialization Memory Address MA[15:0]"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x5A
line.long 0x00 "MCIF0_INTPLR10,Initialization Preload Register 10"
bitfld.long 0x00 31. " IENA ,Enable Direct Software Access to the SDRAMs" "-,Enabled"
hexmask.long.byte 0x00 23.--30. 1. "  IMWT ,Minimum Wait"
hexmask.long.byte 0x00 19.--21. 1. "  ICMD ,Initialization Command /RAS /CAS /WE"
hexmask.long.byte 0x00 16.--18. 1. "  IBA ,Initialization Bank Address BA[2:0]"
hexmask.long.word 0x00 0.--15. 1. "  IMA ,Initialization Memory Address MA[15:0]"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x5B
line.long 0x00 "MCIF0_INTPLR11,Initialization Preload Register 11"
bitfld.long 0x00 31. " IENA ,Enable Direct Software Access to the SDRAMs" "-,Enabled"
hexmask.long.byte 0x00 23.--30. 1. "  IMWT ,Minimum Wait"
hexmask.long.byte 0x00 19.--21. 1. "  ICMD ,Initialization Command /RAS /CAS /WE"
hexmask.long.byte 0x00 16.--18. 1. "  IBA ,Initialization Bank Address BA[2:0]"
hexmask.long.word 0x00 0.--15. 1. "  IMA ,Initialization Memory Address MA[15:0]"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x5C
line.long 0x00 "MCIF0_INTPLR12,Initialization Preload Register 12"
bitfld.long 0x00 31. " IENA ,Enable Direct Software Access to the SDRAMs" "-,Enabled"
hexmask.long.byte 0x00 23.--30. 1. "  IMWT ,Minimum Wait"
hexmask.long.byte 0x00 19.--21. 1. "  ICMD ,Initialization Command /RAS /CAS /WE"
hexmask.long.byte 0x00 16.--18. 1. "  IBA ,Initialization Bank Address BA[2:0]"
hexmask.long.word 0x00 0.--15. 1. "  IMA ,Initialization Memory Address MA[15:0]"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x5D
line.long 0x00 "MCIF0_INTPLR13,Initialization Preload Register 13"
bitfld.long 0x00 31. " IENA ,Enable Direct Software Access to the SDRAMs" "-,Enabled"
hexmask.long.byte 0x00 23.--30. 1. "  IMWT ,Minimum Wait"
hexmask.long.byte 0x00 19.--21. 1. "  ICMD ,Initialization Command /RAS /CAS /WE"
hexmask.long.byte 0x00 16.--18. 1. "  IBA ,Initialization Bank Address BA[2:0]"
hexmask.long.word 0x00 0.--15. 1. "  IMA ,Initialization Memory Address MA[15:0]"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x5E
line.long 0x00 "MCIF0_INTPLR14,Initialization Preload Register 14"
bitfld.long 0x00 31. " IENA ,Enable Direct Software Access to the SDRAMs" "-,Enabled"
hexmask.long.byte 0x00 23.--30. 1. "  IMWT ,Minimum Wait"
hexmask.long.byte 0x00 19.--21. 1. "  ICMD ,Initialization Command /RAS /CAS /WE"
hexmask.long.byte 0x00 16.--18. 1. "  IBA ,Initialization Bank Address BA[2:0]"
hexmask.long.word 0x00 0.--15. 1. "  IMA ,Initialization Memory Address MA[15:0]"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x5F
line.long 0x00 "MCIF0_INTPLR15,Initialization Preload Register 15"
bitfld.long 0x00 31. " IENA ,Enable Direct Software Access to the SDRAMs" "-,Enabled"
hexmask.long.byte 0x00 23.--30. 1. "  IMWT ,Minimum Wait"
hexmask.long.byte 0x00 19.--21. 1. "  ICMD ,Initialization Command /RAS /CAS /WE"
hexmask.long.byte 0x00 16.--18. 1. "  IBA ,Initialization Bank Address BA[2:0]"
hexmask.long.word 0x00 0.--15. 1. "  IMA ,Initialization Memory Address MA[15:0]"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x0070
line.long 0x00 "MCIF0_RQDC,Read DQS Delay Control Register"
bitfld.long 0x00 31. " RQDE ,Internal DQS Delay Mechanism Enable" "-,Enabled"
hexmask.long.word 0x00 0.--8. 1. "    RQFD ,Fractional (Fine) Delay"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x0074
line.long 0x00 "MCIF0_RFDC,Read Feedback Delay Control Register"
bitfld.long 0x00 31. " ARSE ,Auto-detect Read Sample Cycle Enable on Register Update" "Enabled,-"
hexmask.long.byte 0x00 16.--22. 1. "    RFOS ,Guard Band Feedback Fractional Oversample"
bitfld.long 0x00 7.--10. "         RFCD ,Read Feedback Coarse Delay" "1/2,1,1 1/2,2,2 1/2,3,3 1/2,4,4 1/2,5,5 1/2,6,6 1/2,7,7 1/2,8"
hexmask.long.byte 0x00 0.--6. 1. "              RFFD ,Read Feedback Fractional (Fine) Delay"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x0078
line.long 0x00 "MCIF0_RDCC,Read Data Capture Control Register"
bitfld.long 0x00 30.--31. " RDSS ,Read Sample Cycle Select" "T1,T2,T3,T4"
bitfld.long 0x00 0. "         RSAE ,Read Sample Cycle Auto-Update Disable" "-,Disabled"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x007A
line.long 0x00 "MCIF0_DLCR,Delay Line Calibration Register"
bitfld.long 0x00 31. " DLCM ,Delay Line Calibration Mode" "Automatic,Manual"
bitfld.long 0x00 27. "  DLCR ,Delay Line Calibration Request" "-,Requested"
bitfld.long 0x00 24.--26. "  DLCS ,Delay Line Calibration Status" "Not run,In progress,Completed(manual),Completed(auto),Error,Reserved,Reserved,Reserved"
hexmask.long.word 0x00 0.--8. 1. "  DLCV ,Delay Line Calibration Value"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x0080
line.long 0x00 "MCIF0_CLKTR,Memory Clock Timing Register"
bitfld.long 0x00 30.--31. " CKTR , Memory Clock Phase Coarse Timing Adjustment" "0 deg,90 deg,180 deg,270 deg"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x0081
line.long 0x00 "MCIF0_WRDTR,Write Data/DM/DQS Timing Register"
bitfld.long 0x00 31. " WDPT ,Write Preamble Length Selection" "Reserved,1 cycle"
bitfld.long 0x00 28. "  LLWP ,Low Latency Write Path Selection" "Added,Not added"
bitfld.long 0x00 25.--27. "  WDTR ,Write Data/DQS/DM Phase Coarse Timing Adjustment" "270deg adv,180deg adv,90deg adv,0deg adv,90deg del,180deg del,270deg del,Reserved"
bitfld.long 0x00 11. "  WDAM ,Write Data/Strobe/Mask Fine Timing Adjustment Mode" "Reserved,2x cycle"
textline "                         "
hexmask.long.byte 0x00 0.--7. 1. " WDFD ,Fractional (Fine) Delay"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x0085
line.long 0x00 "MCIF0_SDTR1,SDRAM Timing Register 1"
bitfld.long 0x00 31. " LDOF ,Command Leadoff Enable" "-,Enabled"
bitfld.long 0x00 20.--23. "   RTW  ,Read to Write Bus Turnaround Delay" "Reserved,Reserved,2cycles,3cycles,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 16.--19. "   WTWO ,Write to Write Bus Turnaround Delay" "0 cycles,1 cycle,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 12.--15. "    RTRO ,Read to Read Bus Turnaround Delay" "Reserved,1 cycle,2 cycles,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x0086
line.long 0x00 "MCIF0_SDTR2,SDRAM Timing Register 2"
bitfld.long 0x00 28.--31. " RCD  ,Active to Read/Write Delay" "Reserved,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 24.--27. "  WTR  ,Write(data) to Read Command Delay" "Reserved,1 cycle,2 cycles,3 cycles,4 cycles,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
hexmask.long.byte 0x00 16.--23. 1. "   XSNR ,Exit Self Refresh to Non-Read Command Delay"
bitfld.long 0x00 12.--15. "          WPC  ,Write Data to Precharge Delay" "Reserved,Reserved,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                         "
bitfld.long 0x00 8.--11. " RPC  ,Read Data to Precharge Delay" "Reserved,Reserved,2 cycles,3 cycles,4 cycles,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 4.--7. "  RP   ,Precharge Command Period" "Reserved,Reserved,Reserved,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 0.--3. "   RRD  ,Activate to Activate Delay" "Reserved,Reserved,2 cycles,3 cycles,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x0087
line.long 0x00 "MCIF0_SDTR3,SDRAM Timing Register 3"
hexmask.long.byte 0x00 24.--28. 1. " RAS  ,Activate to Precharge Time"
hexmask.long.byte 0x00 16.--20. 1. "        RC   ,Activate to Activate/Autorefresh Time"
hexmask.long.byte 0x00 8.--12. 1. "         XSC  ,Exit Self Refresh and DLL Lock Delay"
hexmask.long.byte 0x00 0.--5. 1. "          RFC  ,Auto Refresh to Command Delay"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x0088
line.long 0x00 "MCIF0_MMODE,SDRAM Mode Register"
bitfld.long 0x00 9.--11. " WR   ,Write Recovery Time(DDR1/DDR2)" "Reserved,Reserved,Reserved/3 cycles,Reserved/4 cycles,Reserved/5 cycles,Reserved/6 cycles,Reserved,Reserved"
bitfld.long 0x00 4.--6. "  DCL  ,Device CAS Latency(DDR1/DDR2)" "Reserved,Reserved,2cycles/2cycles,3cycles/3cycles,Reserved/4cycles,Reserved/5cycles,2.5cycles/6cycles,Reserved/7cycles"
bitfld.long 0x00 3. "  BTYP ,Burst Type" "Sequential,Not sequential"
textline "                         "
hexmask.long.byte 0x00 0.--2. 1. " BLEN ,Burst Length"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x0089
line.long 0x00 "MCIF0_MEMODE,SDRAM Extended Mode Register"
hexmask.long.byte 0x00 13.--19. 1. " EMU  ,Extended Mode Upper Bits"
bitfld.long 0x00 12. "           QOFF ,Q-Off (Output Buffer)" "Enabled,-"
bitfld.long 0x00 11. "   RDQS ,Read DQS Control" "-,Enabled"
bitfld.long 0x00 10. "  DQS# ,Enable DQS Differential Signal" "Enabled,-"
textline "                         "
bitfld.long 0x00 7.--9. " OCD  ,OCD Program" "Mode exit,Drive(1),Drive(2),Reserved,Adjust,Reserved,Reserved,Calibration"
bitfld.long 0x00 6. 2. "  RTT0 ,Memory Device Signal Termination Control" "Disabled,75 ohm,150 ohm,Reserved"
bitfld.long 0x00 3.--5. "  AL   ,Additive Latency in Cycles" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 1. "        DIC  ,Memory Device Driver Impedance Control" "Normal,Weak"
textline "                         "
bitfld.long 0x00 0. " DLLE ,DLL Enable" "Enabled,-"
group dcr:0x0011++0x03
out dcr:0x0010 %l 0x0098
line.long 0x00 "MCIF0_ECCES,ECC Error Status Register"
bitfld.long 0x00 31. " B0CE  ,Byte Lane 0 Corrected Error" "-,Error"
bitfld.long 0x00 30. "  B1CE  ,Byte Lane 1 Corrected Error" "-,Error"
bitfld.long 0x00 29. "  B2CE  ,Byte Lane 2 Corrected Error" "-,Error"
bitfld.long 0x00 28. "  B3CE  ,Byte Lane 3 Corrected Error" "-,Error"
bitfld.long 0x00 27. "  B4CE  ,Byte Lane 4 Corrected Error" "-,Error"
textline "                         "
bitfld.long 0x00 26. " B5CE  ,Byte Lane 5 Corrected Error" "-,Error"
bitfld.long 0x00 25. "  B6CE  ,Byte Lane 6 Corrected Error" "-,Error"
bitfld.long 0x00 24. "  B7CE  ,Byte Lane 7 Corrected Error" "-,Error"
bitfld.long 0x00 23. "  B8CE  ,Byte Lane 8 Corrected Error" "-,Error"
bitfld.long 0x00 22. "  B9CE  ,Byte Lane 9 Corrected Error" "-,Error"
textline "                         "
bitfld.long 0x00 21. " B10CE ,Byte Lane 10 Corrected Error" "-,Error"
bitfld.long 0x00 20. "  B11CE ,Byte Lane 11 Corrected Error" "-,Error"
bitfld.long 0x00 19. "  B12CE ,Byte Lane 12 Corrected Error" "-,Error"
bitfld.long 0x00 18. "  B13CE ,Byte Lane 13 Corrected Error" "-,Error"
bitfld.long 0x00 17. "  B14CE ,Byte Lane 14 Corrected Error" "-,Error"
textline "                         "
bitfld.long 0x00 16. " B15CE ,Byte Lane 15 Corrected Error" "-,Error"
bitfld.long 0x00 13. "  CE    ,Correctable Error" "-,Error"
bitfld.long 0x00 12. "  UE    ,Uncorrectable Error" "-,Error"
bitfld.long 0x00 11. "  BK0ER ,Bank 0 Error" "-,Error"
bitfld.long 0x00 10. "  BK1ER ,Bank 1 Error" "-,Error"
textline "                         "
bitfld.long 0x00 14.--15. " CKBER ,Error Detected in Checkbits(32bit/64bit)" "-,Lower/Reserved,Upper/Error,Upper&lower/Reserved"    
width 0x0B
endif
tree.end    
tree.open "Security Function"
sif (cpu()=="PPC440GRX")
width 12.
tree "Security Function Control Register"
group dcr:0x000F++0x00 
saveout dcr:0x000E %l 0x4500
line.long 0x00 "SDR0_CRYP0,CRYP0 SDR Control Register"
bitfld.long  0x00  31. "  DESCC ,DESC Command" "-,Initiated"
hexmask.long 0x00 0.--12. 0x80000 " CRYP0BA ,Base address of the Security Function"
tree.end
width 17.
endian.le
base ANC:0xE0100000
tree "Packet Engine Command Registers"
group 0x00--0x13
line.long 0x00 "CRYP0_PE_CTLST,PE Control/Status Register"
hexmask.long.byte 0x00 24.--31. 1. " PCPS   ,Pad Control/Pad Status"
hexmask.long.byte 0x00 16.--23. 1. "           S      ,Status"
hexmask.long.byte 0x00 8.--15. 1. "        NHPV  ,Next Header/Pad Value"
textline "                          "
bitfld.long 0x00 6.--7. " CMDSA  ,Selects the Bus ID where the SA-Record will be Located" "00,01,10,11"
bitfld.long 0x00 5. "           CMDUC  ,Use Cached SA" "Fetched,Used"
bitfld.long 0x00 4. "   CMDHF ,Hash Final" "Intermediate,Final"
textline "                          "
bitfld.long 0x00 3. " CMDARC ,Initialize the ARC4 Cryptographic Algorithm" "-,Initialized"
bitfld.long 0x00 1. "  CMDCCD ,CryptCore Done" "-,Finished"
bitfld.long 0x00 0. "  CMDHR ,Host Ready" "-,Populated"
line.long 0x04 "CRYP0_PE_SOURCE,PE Source Address Register"
hexmask.long 0x04 0.--31. 1. " PSA    ,Packet Source Address"
line.long 0x08 "CRYP0_PE_DEST,PE Destination Address Register"
hexmask.long 0x08 0.--31. 1. " PDA    ,Packet Destination Address"
line.long 0x0c "CRYP0_PE_SA,PE SA Address Register"
hexmask.long 0x0c 0.--31. 1. " SAA    ,SA Address"
line.long 0x10 "CRYP0_PE_LENGTH,PE Length Register"
hexmask.long.byte 0x10 24.--31. 1. " BYP    ,Bypass"
bitfld.long 0x10 23. "           CCD    ,Crypt Core Done" "-,Finished"
bitfld.long 0x10 22. "  HRDY  ,Host Ready" "-,Ready"
textline "                          "
hexmask.long 0x10 0.--19. 1. " L      ,Length"
tree.end
width 17.
tree "Packet Engine Control Registers"
group 0x40++0x03
line.long 0x00 "CRYP0_PE_DMA_CF,PE DMA Configuration Register"
bitfld.long 0x00 24. " DHDMAM     ,Direct Host DMA Mode" "Master,Host"
bitfld.long 0x00 20. "                       SPDROU ,Suppress PDR Ownership Update" "Cleared,-"
textline "                          "
bitfld.long 0x00 14.--15. " SPRBID     ,Scatter Particle Ring Bus ID" "0,1,2,3"
bitfld.long 0x00 12.--13. "                            GPRBID ,Gather Particle Ring Bus ID" "0,1,2,3"
textline "                          "
bitfld.long 0x00 9.--10. " PFDES/SAPP ,Packet Follows Descriptor" "Basic ring,SA Packet,Packet descriptor packet,Packet descriptor SA packet"
bitfld.long 0x00 8. "  PDRE   ,PDR Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 2. " RSCG       ,Reset Scatter/Gather Cache" "-,Reset"
bitfld.long 0x00 1. "                        RPDRCP ,Reset PDR Counters/Pointers" "-,Reset"
textline "                          "
bitfld.long 0x00 0. " RPE        ,Reset PE" "-,Reset"
rgroup 0x44++0x03
line.long 0x00 "CRYP0_PE_DMA_ST,PE DMA Status Register"
hexmask.long.word 0x00 22.--31. 1. " SEOS    ,CryptCore Output Size"
hexmask.long.word 0x00 12.--21. 1. "        SEIS   ,CryptCore Input Size"
bitfld.long 0x00 11. "     CQSORA  ,Output Request Active" "Requested,-"
textline "                          "
bitfld.long 0x00 10. " CQSIRA  ,Input Request Active" "Requested,-"
bitfld.long 0x00 9. "   CQSCQA ,Command Queue Active" "Idle,Busy"
bitfld.long 0x00 7. "     CQSSPI  ,SPI Mismatch" "-,Mismatch"
textline "                          "
bitfld.long 0x00 6. " CQSICV  ,ICV Fault" "-,Detected"
bitfld.long 0x00 5. "    CQSCPF ,Crypto Pad Fault" "-,Detected"
bitfld.long 0x00 4. " CQSOHD  ,Outer Hash Done" "-,Done"
textline "                          "
bitfld.long 0x00 3. " CQSIHD  ,Inner Hash Done" "-,Done"
bitfld.long 0x00 2. "        CQSED  ,Encryption Done" "-,Done"
bitfld.long 0x00 1. "     CQSCCOD ,CryptCore Output Done" "-,Done"
textline "                          "
bitfld.long 0x00 0. " CQSCCID ,CryptCore Input Done" "-,Done"
if ((data.long(ANC:0xE0100040)&0x01)==0x00)
group 0x48++0x03
line.long 0x00 "CRYP0_PE_PDR_BA,PE Packet Descriptor Ring Base Address Register"
else
group 0x48++0x03
line.long 0x00 "CRYP0_PE_PDR_BA,PE Packet Descriptor Ring Base Address Register"
hexmask.long 0x00 0.--19. 1. " CLO     ,Crypto Length Out"
endif
group 0x4c++0xb
line.long 0x00 "CRYP0_PE_RDR_BA,PE Packet Result Ring Base Address Register"
line.long 0x04 "CRYP0_PE_RING_S,PE Ring Size and Offset Register"
hexmask.long.word 0x04 16.--31. 1. " DRO     ,Descriptor Ring Offset"
hexmask.long.word 0x04 0.--9. 1. "        DRS    ,Descriptor Ring Size"
line.long 0x08 "CRYP0_PE_RING_P,PE Ring Poll Register"
bitfld.long 0x08 31. " C       ,Continuous" "-,Continuous"
hexmask.long.word 0x08 16.--25. 1. "  RRDIV  ,Ring Retry Divisor"
hexmask.long.word 0x08 0.--11. 1. "     RPDIV   ,Ring Poll Divisor"
rgroup 0x58++0x7
line.long 0x00 "CRYP0_PE_I_RING,PE Internal Ring Status Register"
bitfld.long 0x00 0. " CQ0A    ,Command Queue 0 Available" "-,Available"
line.long 0x04 "CRYP0_PE_I_RING,PE External Ring Status Register"
hexmask.long.word 0x04 16.--25. 1. " ONPD    ,Offset of Next Packet Descriptor"
group 0x60++0x13
line.long 0x00 "CRYP0_PE_IO_THR,PE I/O Threshold Register"
hexmask.long.word 0x00 16.--25. 1. " PEOTH   ,Output Threshold"
hexmask.long.word 0x00 0.--9. 1. "        PEITH  ,Input Threshold"
line.long 0x04 "CRYP0_PE_GATH,PE Gather Particle Ring Base Address Register"
line.long 0x08 "CRYP0_PE_SCAT,PE Scatter Particle Ring Base Address Register"
line.long 0x0c "CRYP0_PE_PT_S,PE Particle Ring Size Register"
hexmask.long.word 0x0c 16.--31. 1. " SPDRS   ,Scatter Particle Descriptor Ring Size"
hexmask.long.word 0x0c 0.--15. 1. "        GPDRS  ,Gather Particle Descriptor Ring Size"
line.long 0x10 "CRYP0_PE_PT_CFG,PE Particle Ring Configuration Register"
hexmask.long.word 0x10 0.--15. 1. " SPS     ,Scatter Particle Size"
tree.end
tree "Packet Engine Security Association and DMA Registers"
group 0x500++0x03
line.long 0x00 "CRYP0_PE_PR_SCA,PE Particle Descriptor Source Address Register"
group 0x504++0x03
line.long 0x00 "CRYP0_PE_PR_SCC,PE Particle Descriptor Source Control Register"
hexmask.long.word 0x00 16.--31. 1. " PS     ,Particle Size"
bitfld.long 0x00 1. "  PEDONE ,Security Function Finish" "-,Finished"
bitfld.long 0x00 0. "   HDRDY ,Host Ready" "-,Populated"
group 0x580++0x03
line.long 0x00 "CRYP0_PE_PR_DTA,PE Particle Destination Address Register"
group 0x584++0x03
line.long 0x00 "CRYP0_PE_PR_DTC,PE Particle Destination Control Register"
bitfld.long 0x00 1. " PEDONE ,Security Function Done" "-,Done"
bitfld.long 0x00 0. "  HDRDY  ,Host Ready" "-,Populated"
tree.end
base ANC:0xE0110600
tree "Cryptographic Context Registers"
wgroup 0x00--0x07
line.long 0x00 "CRYP0_SA_CMD_0,SA Command 0 Register"
bitfld.long 0x00 31. " OSCAT ,Output Scatter" "-,Scattered"
bitfld.long 0x00 30. "        IGATH ,Input Gather" "-,Gathered"
textline "                          "
bitfld.long 0x00 29. " SHSTT ,Save Hash State" "-,Saved"
bitfld.long 0x00 28. "            SIV   ,Save IV" "-,Saved"
textline "                          "
bitfld.long 0x00 26.--27. " LHSTT ,Load Hash State" "SA or State,Reserved,State,No load"
bitfld.long 0x00 24.--25. "      IVLD  ,IV Loading" "-,Input buffer,State record,PRNG"
textline "                          "
bitfld.long 0x00 22.--23. " OBID  ,Output Bus ID" "0,1,2,3"
bitfld.long 0x00 20.--21. "                IBID  ,Input Bus ID" "0,1,2,3"
textline "                          "
bitfld.long 0x00 19. " HP    ,Header Processing" "Outbound packet,Within packet"
bitfld.long 0x00 18. "  EPAD  ,Extended Pad" "Basic,Extended"
textline "                          "
bitfld.long 0x00 17. " PSC   ,Pad Stream Ciphers" "-,Enabled"
bitfld.long 0x00 12.--15. "          HALGO ,Hash Algorithm" "MD5,SHA-1,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Null"
textline "                          "
bitfld.long 0x00 8.--11. " CALGO ,Crypto Algorithm" "DES,Triple-DES,ARC4,AES,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Null"
bitfld.long 0x00 6.--7. "       CPAD  ,Crypto Pad" "IPsec,PKCS#7,Constant Pad,Zero"
textline "                          "
bitfld.long 0x00 4.--5. " OGRP  ,Operation Group" "Basic,Reserved,Reserved,Protocol"
bitfld.long 0x00 3. "         IO    ,Inbound/Outbound Processing" "Outbound,Inbound"
textline "                          "
bitfld.long 0x00 0.--2. " OCODE ,OpCode (Basic / Protocol)" "Encryption/ESP outbound,Encryption-hash/AH outbound,Reserved,Hash/Reserved,Reserved/SSL outbound,Reserved/TLS outbound,Reserved,Reserved/SRTP outbound"
line.long 0x04 "CRYP0_SA_CMD_1,SA Command 1 Register"
bitfld.long 0x04 30. " SARC4S       ,Save ARC4 State" "-,Saved"
bitfld.long 0x04 29. "    ARC4SS      ,ARC4 Stateless/Stateful" "Stateless,Stateful"
textline "                          "
bitfld.long 0x04 24.--28. " ARC4KL/AESKL ,ARC4/AES Key Length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
hexmask.long.byte 0x04 16.--23. 1. "       HCO         ,Hash/Encryption Offset"
textline "                          "
bitfld.long 0x04 15. " SAREV        ,Specifies the revision of the SA structure" "0,1"
bitfld.long 0x04 12. "        HMAC        ,HMAC/IP Options Muting Control" "Standard/Enabled,HMAC/Disabled"
textline "                          "
bitfld.long 0x04 10.--11. " CFDBK        ,Cryptographic Feedback Mode" "64-bit,8-bit,1-bit,128-bit"
bitfld.long 0x04 8.--9. 31. "  CMODE/AESCM ,Cryptographic Mode / AES Counter Mode" "ECB,CBC,OFB,CFB,AES-CTR,AES-ICM,Reserved,Reserved"
textline "                          "
bitfld.long 0x04 6.--7. " SRBID        ,State BusID" "0,1,2,3"
bitfld.long 0x04 5. "        MBP         ,IP Header Mutable Bit Handling" "Enabled,-"
textline "                          "
bitfld.long 0x04 4. " IP4IP6       ,Selects the IP Protocol Version for this Packet Flow" "IPv4,IPv6"
bitfld.long 0x04 3. "     CRYPO       ,Copy Inbound Pad to Output" "-,Copied"
textline "                          "
bitfld.long 0x04 2. " CRYPLO       ,Copy Payload to Output" "-,Copied"
bitfld.long 0x04 1. "   CRYPHO      ,Copy Header to Output " "-,Copied"
wgroup 0x10++0x1f
line.long 0x00 "CRYP0_SA_KEY1_L,SA Key 1 Low Register"
line.long 0x04 "CRYP0_SA_KEY1_H,SA Key 1 High Register"
line.long 0x08 "CRYP0_SA_KEY2_L,SA Key 2 Low Register"
line.long 0x0c "CRYP0_SA_KEY2_H,SA Key 2 High Register"
line.long 0x10 "CRYP0_SA_KEY3_L,SA Key 3 Low Register"
line.long 0x14 "CRYP0_SA_KEY3_H,SA Key 3 High Register"
line.long 0x18 "CRYP0_SA_KEY4_L,SA Key 4 Low Register"
line.long 0x1c "CRYP0_SA_KEY4_H,SA Key 3 High Register"
wgroup 0x30++0x27
line.long 0x00 "CRYP0_SA_IH_D0,SA Inner Hash Digest 0 Register"
line.long 0x04 "CRYP0_SA_IH_D1,SA Inner Hash Digest 1 Register"
line.long 0x08 "CRYP0_SA_IH_D2,SA Inner Hash Digest 2 Register"
line.long 0x0c "CRYP0_SA_IH_D3,SA Inner Hash Digest 3 Register"
line.long 0x10 "CRYP0_SA_IH_D4,SA Inner Hash Digest 3 Register"
line.long 0x14 "CRYP0_SA_OH_D0,SA Outer Hash Digest 0 Register"
line.long 0x18 "CRYP0_SA_OH_D1,SA Outer Hash Digest 1 Register"
line.long 0x1c "CRYP0_SA_OH_D2,SA Outer Hash Digest 2 Register"
line.long 0x20 "CRYP0_SA_OH_D3,SA Outer Hash Digest 3 Register"
line.long 0x24 "CRYP0_SA_OH_D4,SA Outer Hash Digest 3 Register"
group 0x58--0x77
line.long 0x00 "CRYP0_SA_SP,SA IPsec SPI Register"
line.long 0x04 "CRYP0_SA_SEQ,SA IPsec Sequence Number Register"
line.long 0x08 "CRYP0_SA_SEQMKL,SA IPsec Sequence Number Mask Low Register"
line.long 0x0c "CRYP0_SA_SEQMKH,SA IPsec Sequence Number Mask High Register"
line.long 0x10 "CRYP0_SA_NONCE,SA Nonce Value Register"
line.long 0x14 "CRYP0_SA_PNTR,SA Pointer Register"
line.long 0x18 "CRYP0_SA_ARC4IJ,SA ARC4 i and J Pointer Register"
hexmask.long.byte 0x18 8.--15. 1. " JPNT ,j Pointer"
hexmask.long.byte 0x18 0.--7. 1. "  IPNT ,i Pointer"
line.long 0x1c "CRYP0_SA_ARC4SB,SA ARC4 State Address Pointer Register"
group 0xc0++0x0f
line.long 0x00 "CRYP0_SA_IV_0,SA Initialization Vector 0 Register"
line.long 0x04 "CRYP0_SA_IV_1,SA Initialization Vector 1 Register"
line.long 0x08 "CRYP0_SA_IV_2,SA Initialization Vector 2 Register"
line.long 0x0c "CRYP0_SA_IV_3,SA Initialization Vector 3 Register"
base ANC:0xE0110100
group 0xd0++0x03
line.long 0x00 "CRYP0_SA_HASH_B,SA Hash Byte Count Registers"
base ANC:0xE0110600
group 0xd4++0x13
line.long 0x00 "CRYP0_SA_IH_0,SA Inner Hash 0 (mirror of CRYP0_SA_IH_D0) Register"
line.long 0x04 "CRYP0_SA_IH_1,SA Inner Hash 1 (mirror of CRYP0_SA_IH_D1) Register"
line.long 0x08 "CRYP0_SA_IH_2,SA Inner Hash 2 (mirror of CRYP0_SA_IH_D2) Register"
line.long 0x0c "CRYP0_SA_IH_3,SA Inner Hash 3 (mirror of CRYP0_SA_IH_D3) Register"
line.long 0x10 "CRYP0_SA_IH_4,SA Inner Hash 4 (mirror of CRYP0_SA_IH_D4) Register"
rgroup 0xe8++0x13
line.long 0x00 "CRYP0_SA_ICV_0,SA ICV 0-HMAC Result Register"
line.long 0x04 "CRYP0_SA_ICV_1,SA ICV 1-HMAC Result Register"
line.long 0x08 "CRYP0_SA_ICV_2,SA ICV 2-HMAC Result Register"
line.long 0x0c "CRYP0_SA_ICV_3,SA ICV 3-HMAC Result Register"
line.long 0x10 "CRYP0_SA_ICV_4,SA ICV 3-HMAC Result Register"
tree.end
tree "True Random Number Generator Registers"
base ANC:0xE0120100
group 0x00++0x03
line.long 0x00 "CRYP0_TRNG_DATA,TRNG Output Register"
rgroup 0x04++0x03
line.long 0x00 "CRYP0_TRNG_STAT,TRNG Status Register"
bitfld.long 0x00 0. " TRNGB  , Busy" "-,Busy"
group 0x08++0x1b
line.long 0x00 "CRYP0_TRNG_CTRL,TRNG Control Register"
bitfld.long 0x00 12. " EPP    ,Control the Post Processor" "-,Enabled"
bitfld.long 0x00 11. "     BTRNG ,Bypass TRNG" "-,Bypassed"
bitfld.long 0x00 10. "  NRLFSR ,nReset the Linear Feedback Shift Register" "Reset,-"
textline "                          "
bitfld.long 0x00 9. " TLFSR  ,Test LFSRs" "-,Self-test"
bitfld.long 0x00 8. "   TALM  ,Test Alarm" "-,Alarm"
bitfld.long 0x00 7. "     SC     ,Short Cycle" "-,Short"
textline "                          "
bitfld.long 0x00 6. " TCNT   ,Clock on" "-,Test clock"
bitfld.long 0x00 5. "  DALM  ,Disable Alarm" "-,Disabled"
bitfld.long 0x00 4. "  TRNG2  ,Ring Oscillator #2 Test" "-,Enabled"
textline "                          "
bitfld.long 0x00 3. " TRNG1  ,Ring Oscillator #1 Test" "-,Enable"
bitfld.long 0x00 2. "      TRUN  ,Enable Test Run" "-,Enabled"
bitfld.long 0x00 1. "   TMODE  ,Enable Test Mode" "-,Enabled"
textline "                          "
bitfld.long 0x00 0. " TRNG   ,Enable Test Ring Output" "-,Enabled"
line.long 0x04 "CRYP0_TRNG_ENTA,TRNG Entropy A Register"
hexmask.long.word 0x04 0.--15. 1. " EA     ,Entropy A"
line.long 0x08 "CRYP0_TRNG_ENTB,TRNG Entropy B Register"
hexmask.long.word 0x08 0.--15. 1. " EB     ,Entropy B"
line.long 0x0c "CRYP0_TRNG_X0,TRNG Test Seed 0 Register"
hexmask.long 0x0c 0.--31. 1. " RNGX   ,LFSR[31:0]"
line.long 0x10 "CRYP0_TRNG_X1,TRNG Test Seed 1 Register"
hexmask.long 0x10 0.--31. 1. " RNGX   ,LFSR[63:32]"
line.long 0x14 "CRYP0_TRNG_X2,TRNG Test Seed 2 Register"
hexmask.long 0x14 0.--16. 1. " RNGX   ,LFSR[80:64]"
line.long 0x18 "CRYP0_TRNG_CNTR,TRNG Counter Register"
hexmask.long 0x18 0.--23. 1. " EB     ,Counter"
rgroup 0x24++0x03
line.long 0x00 "CRYP0_TRNG_ALRM,TRNG Alarm Counter Register"
hexmask.long.byte 0x00 0.--7. 1. " ALMCNT ,Alarm Count"
group 0x28++0x03
line.long 0x00 "CRYP0_TRNG_CFG,TRNG Configuration Register"
hexmask.long.byte 0x00 6.--11. 1. " RSTCNT ,Reset Count"
bitfld.long 0x00 3.--5. "          R2DLY ,Ring 2 Delay" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 0.--2. "         R1DLY  ,Ring 1 Delay" "0,1,2,3,4,5,6,7"
rgroup 0x2c--0x3b
line.long 0x00 "CRYP0_TRNG_LF0L,TRNG Test Read of LFSR 0 Low Register"
hexmask.long 0x00 0.--31. 1. " LFSR0  ,32 Least Significant State Bits of LFSR 0 [31:0]"
line.long 0x04 "CRYP0_TRNG_LF0H,TRNG Test Read of LFSR 0 High Register"
hexmask.long 0x04 0.--16. 1. " LFSR0  ,17 Most Significant State Bits of LFSR 0 [48:32]"
line.long 0x08 "CRYP0_TRNG_LF1L,TRNG Test Read of LFSR 1 Low Register"
hexmask.long 0x08 0.--31. 1. " LFSR1  ,32 Least Significant State Bits of LFSR 1 [31:0]"
line.long 0x0c "CRYP0_TRNG_LF1H,TRNG Test Read of LFSR 1 High Register"
hexmask.long.word 0x0c 0.--15. 1. " LFSR1  ,16 Most Significant State Bits of LFSR 1 [47:32]"
wgroup 0x3c--0x53
line.long 0x00 "CRYP0_TRNG_K0_L,TRNG Triple DES Key 0 Low Register"
line.long 0x04 "CRYP0_TRNG_K0_H,TRNG Triple DES Key 0 High Register"
line.long 0x08 "CRYP0_TRNG_K1_L,TRNG Triple DES Key 1 Low Register"
line.long 0x0c "CRYP0_TRNG_K1_H,TRNG Triple DES Key 1 High Register"
line.long 0x10 "CRYP0_TRNG_IV_L,TRNG Initialization Vector Low Register"
line.long 0x14 "CRYP0_TRNG_IV_H,TRNG Initialization Vector High Register"
tree.end
tree "Public Key Accelerator Registers"
base ANC:0xE0130800
group 0x00++0x1f
line.long 0x00 "CRYP0_PKA_A_PTR,PKA A Vector Address Register"
hexmask.long.word 0x00 0.--10. 1. " AADDR ,A Address"
line.long 0x04 "CRYP0_PKA_B_PTR,PKA B Vector Address Register"
hexmask.long.word 0x04 0.--10. 1. " BADDR ,B Address"
line.long 0x08 "CRYP0_PKA_C_PTR,PKA C Vector Address Register"
hexmask.long.word 0x08 0.--10. 1. " CADDR ,C Address"
line.long 0x0c "CRYP0_PKA_D_PTR,PKA D Vector Address Register"
hexmask.long.word 0x0c 0.--10. 1. " DADDR ,D Address"
line.long 0x10 "CRYP0_PKA_A_LEN,PKA A Vector Length Register"
hexmask.long.word 0x10 0.--8. 1. " AL    ,A Length"
line.long 0x14 "CRYP0_PKA_B_LEN,PKA B Vector Length Register"
hexmask.long.word 0x14 0.--8. 1. " BL    , B Length"
line.long 0x18 "CRYP0_PKA_SHIFT,PKA Shift Register"
bitfld.long 0x18 0.--4. " SV    ,Shift Value" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
line.long 0x1c "CRYP0_PKA_FUNC,PKA Function Code Register"
bitfld.long 0x1C 15. " RUN   ,Run" "Completed,Started"
bitfld.long 0x1C 14. "      E2ACT  ,Exponentiate (2-bit ACT)" "Completed,Started"
bitfld.long 0x1C 13. "  E4ACT ,Exponentiate (4-bit ACT)" "Completed,Started"
textline "                          "
bitfld.long 0x1C 12. " RED   ,Reduce" "Completed,Started"
bitfld.long 0x1C 11. "      CPY    ,Copy" "Completed,Started"
bitfld.long 0x1C 10. "  CPR   ,Compare" "Completed,Started"
textline "                          "
bitfld.long 0x1C 9. " MOD   ,Mod" "Completed,Started"
bitfld.long 0x1C 8. "      DIV    ,Divide" "Completed,Started"
bitfld.long 0x1C 7. " LSHFT  ,Left Shift" "Completed,Started"
textline "                          "
bitfld.long 0x1C 6. " RSHFT ,Right Shift" "Completed,Started"
bitfld.long 0x1C 5. "      SUB    ,Subtract" "Completed,Started"
bitfld.long 0x1C 4. "  ADD   ,Add" "Completed,Started"
textline "                          "
bitfld.long 0x1C 3. " DI    ,Dusse Inverse" "Completed,Started"
bitfld.long 0x1C 2. "      SQR    ,Square" "Completed,Started"
bitfld.long 0x1C 1. "  DMLT  ,Dusse Multiply" "Completed,Started"
textline "                          "
bitfld.long 0x1C 0. " MLT   ,Multiply" "Completed,Started"
rgroup 0x20++0xb
line.long 0x00 "CRYP0_PKA_COMP,PKA Comparison Result Register"
bitfld.long 0x00 2. " SUP   ,A > B" "A not > B,A > B"
bitfld.long 0x00 1. "      INF    ,A < B" "A not < B,A < B"
bitfld.long 0x00 0. "  EQL   ,A = B" "A != B,A = B"
line.long 0x04 "CRYP0_PKA_DIV,PKA Quotient MSW Register"
bitfld.long 0x04 11. " RZERO ,Result Zero" "-,Zero"
hexmask.long.word 0x04 0.--10. 1. "           DIVMSW ,DIV MSW Address"
line.long 0x08 "CRYP0_PKA_MOD,PKA Remainder MSW Register"
bitfld.long 0x08 11. " RZERO ,Result Zero" "-,Zero"
hexmask.long.word 0x08 0.--10. 1. "           RMSWA  ,Result MSW Address"
tree.end
tree "Interrupt Controller Registers"
base ANC:0xE0150000
rgroup 0xA0++0x03
line.long 0x00 "CRYP0_INT_UNMSK,Interrupt Unmasked Status Register"
bitfld.long 0x00 15. " DESC   ,Command to the Packet Engine" "-,Interrupt"
bitfld.long 0x00 14. "  DESCRD ,Specified Number of Descriptors (1-63) have Completed Processing" "-,Interrupt"
bitfld.long 0x00 13. "  CNTXT  ,Processing of a Descriptor Written to the Command Queue has Finished" "-,Interrupt"
textline "                          "
bitfld.long 0x00 12. " CMD    ,Processing of a Descriptor Written to the Command Queue has Finished" "-,Interrupt"
bitfld.long 0x00 11. "  DATAO  ,Packet Engine is Ready to Return Data Fragment of Size" "-,Interrupt"
bitfld.long 0x00 10. "  DATAI  ,Packet Engine is Ready to Receive data Fragment of Size" "-,Interrupt"
textline "                          "
bitfld.long 0x00 9. " PEERR  ,Packet Engine Processing Error" "-,Interrupt"
bitfld.long 0x00 8. "  UDMS   ,User-initiated Master DMA Transaction Complete" "-,Interrupt"
bitfld.long 0x00 7. "  DMAAV  ,User DMA Command Registers are Available" "-,Interrupt"
textline "                          "
bitfld.long 0x00 6. " DMAERR ,Error Occurred During a User-Initiated DMA Transfer" "-,Interrupt"
bitfld.long 0x00 5. "  PKT    ,Packet Engine Finished Processing of a Complete Packet" "-,Interrupt"
bitfld.long 0x00 4. "  SLVERR ,Illegal Transfer to the PLB Slave Requested" "-,Interrupt"
textline "                          "
bitfld.long 0x00 3. " MSTERR ,Timeout Occurred on a PLB Master Transfer Request" "-,Interrupt"
bitfld.long 0x00 2. "  TRNG   ,TRNG Finished Generation of a True Random Number" "-,Interrupt"
bitfld.long 0x00 1. "  PRNG   ,PRNG Finished Generation of a Pseudo Random Number" "-,Interrupt"
textline "                          "
bitfld.long 0x00 0. " PKA    ,PKA Finished an Operation" "-,Interrupt"
group 0xa4++0x03
line.long 0x00 "CRYP0_INT_MSK,Interrupt Masked Status Register"
eventfld.long 0x00 15. " DESC   ,Command to the Packet Engine" "-,Interrupt"
eventfld.long 0x00 14. "  DESCRD ,Specified Number of Descriptors (1-63) have Completed Processing" "-,Interrupt"
eventfld.long 0x00 13. "  CNTXT  ,Processing of a Descriptor Written to the Command Queue has Finished" "-,Interrupt"
textline "                          "
eventfld.long 0x00 12. " CMD    ,Processing of a Descriptor Written to the Command Queue has Finished" "-,Interrupt"
eventfld.long 0x00 11. "  DATAO  ,Packet Engine is Ready to Return Data Fragment of Size" "-,Interrupt"
eventfld.long 0x00 10. "  DATAI  ,Packet Engine is Ready to Receive data Fragment of Size" "-,Interrupt"
textline "                          "
eventfld.long 0x00 9. " PEERR  ,Packet Engine Processing Error" "-,Interrupt"
eventfld.long 0x00 8. "  UDMS   ,User-initiated Master DMA Transaction Complete" "-,Interrupt"
eventfld.long 0x00 7. "  DMAAV  ,User DMA Command Registers are Available" "-,Interrupt"
textline "                          "
eventfld.long 0x00 6. " DMAERR ,Error Occurred During a User-Initiated DMA Transfer" "-,Interrupt"
eventfld.long 0x00 5. "  PKT    ,Packet Engine Finished Processing of a Complete Packet" "-,Interrupt"
eventfld.long 0x00 4. "  SLVERR ,Illegal Transfer to the PLB Slave Requested" "-,Interrupt"
textline "                          "
eventfld.long 0x00 3. " MSTERR ,Timeout Occurred on a PLB Master Transfer Request" "-,Interrupt"
eventfld.long 0x00 2. "  TRNG   ,TRNG Finished Generation of a True Random Number" "-,Interrupt"
eventfld.long 0x00 1. "  PRNG   ,PRNG Finished Generation of a Pseudo Random Number" "-,Interrupt"
textline "                          "
eventfld.long 0x00 0. " PKA    ,PKA Finished an Operation" "-,Interrupt"
group 0xA8++0x03
line.long 0x00 "CRYP0_INT_EN,Interrupt Mask Register"
bitfld.long 0x00 15. " DESC   ,Command to the Packet Engine" "-,Enabled"
bitfld.long 0x00 14. "    DESCRD ,Specified Number of Descriptors (1-63) have Completed Processing" "-,Enabled"
bitfld.long 0x00 13. "    CNTXT  ,Processing of a Descriptor Written to the Command Queue has Finished" "-,Enabled"
textline "                          "
bitfld.long 0x00 12. " CMD    ,Processing of a Descriptor Written to the Command Queue has Finished" "-,Enabled"
bitfld.long 0x00 11. "    DATAO  ,Packet Engine is Ready to Return Data Fragment of Size" "-,Enabled"
bitfld.long 0x00 10. "    DATAI  ,Packet Engine is Ready to Receive Data Fragment of Size" "-,Enabled"
textline "                          "
bitfld.long 0x00 9. " PEERR  ,Packet Engine Processing Error" "-,Enabled"
bitfld.long 0x00 8. "    UDMS   ,User-initiated Master DMA Transaction Complete" "-,Enabled"
bitfld.long 0x00 7. "    DMAAV  ,User DMA Command Registers are Available" "-,Enabled"
textline "                          "
bitfld.long 0x00 6. " DMAERR ,Error Occurred During a User-initiated DMA Transfer" "-,Enabled"
bitfld.long 0x00 5. "    PKT    ,Packet Engine Finished Processing of a Complete Packet" "-,Enabled"
bitfld.long 0x00 4. "    SLVERR ,Illegal Transfer to the PLB Slave Requested" "-,Enabled"
textline "                          "
bitfld.long 0x00 3. " MSTERR ,Timeout Occurred on a PLB Master Transfer Request" "-,Enabled"
bitfld.long 0x00 2. "    TRNG   ,TRNG Finished Generation of a True Random Number" "-,Enabled"
bitfld.long 0x00 1. "    PRNG   ,PRNG Finished Generation of a Pseudo Random Number" "-,Enabled"
textline "                          "
bitfld.long 0x00 0. " PKA    ,PKA finished an operation" "-,Enabled"
if (d.l(ANC:0xE01500AC)&0x01000000)==0x01000000
group 0xac++0x03
line.long 0x00 "CRYP0_INT_CFG,Interrupt Configuration Register"
bitfld.long 0x00 1. " IPCLR  ,Pulse Interrupt Clear" "-,Reset"
bitfld.long 0x00 0. "      IHOT   ,Interrupt Output Type" "Level,Pulse"
else
group 0xac++0x03
line.long 0x00 "CRYP0_INT_CFG,Interrupt Configuration Register"
bitfld.long 0x00 0. " IHOT   ,Interrupt Output Type" "Level,Pulse"
endif
wgroup 0xb0++0x03
line.long 0x00 "CRYP0_INT_DESRD,Interrupt Force Descriptor Read Register"
group 0xb4++0x03
line.long 0x00 "CRYP0_INT_DESCT,Interrupt Descriptor Count Register"
bitfld.long 0x00 0.--5. " DCCNT  ,Descriptor Complete Count" "Reserved,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
tree.end
tree "Device Controller Registers"
base ANC:0xE0160080
group 0x00++0x03
line.long 0x00 "CRYP0_DC_CTRL,Device Control Register"
bitfld.long 0x00 17. " TRNGE ,TRNG Enable" "Reset,Enabled"
bitfld.long 0x00 16. "  PKAE ,PKA Enable" "Reset,Enabled"
bitfld.long 0x00 0. "  TDESE ,Triple-DES Enable" "Reset,Enabled"
rgroup 0x04++0x07
line.long 0x00 "CRYP0_DC_DEVID,Device ID Register"
hexmask.long.word 0x00 16.--31. 1. " VID   ,Vendor ID"
hexmask.long.word 0x00  0.--15. 1. "     DID  ,Device ID"
line.long 0x04 "CRYP0_DC_DEVINF,Device Information Register"
bitfld.long 0x04 23. " TRNG  ,True Random Number Generator" "-,Enabled"
bitfld.long 0x04 22. "  PKA  ,Public Key Accelerator" "-,Enabled"
bitfld.long 0x04 21. "  EMB   ,External Memory DMA Interface" "-,Enabled"
textline "                          "
bitfld.long 0x04 20. " SARAM ,On chip SA RAM" "-,Enabled"
bitfld.long 0x04 19. "  PRNG ,Pseudo Random Number Generator" "-,Enabled"
bitfld.long 0x04 16. "  DFLT  ,Deflate Compression" "-,Enabled"
textline "                          "
bitfld.long 0x04 13. " SHA1  ,SHA 1 Hash" "-,Enabled"
bitfld.long 0x04 12. "  MD5  ,MD5 Hash" "-,Enabled"
bitfld.long 0x04 10. "  AES   ,AES (Rijndael) Encryption" "-,Enabled"
textline "                          "
bitfld.long 0x04 9. " ARC4  ,ARC4 Encryption" "-,Enabled"
bitfld.long 0x04 8. "  DES  ,DES/Triple-DES Encryption" "-,Enabled"
bitfld.long 0x04 4.--7. "  MAJ   ,Major Revisions of the Security Function" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "                          "
bitfld.long 0x04 0.--3. " MIN   ,Minor Revisions of the Security Function" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
tree.end
tree "DMA Controller Registers"
base ANC:0xE0160000
group 0x94++0x03
line.long 0x00 "CRYP0_DMA_USRC,DMA Source Address Register"
group 0x98++0x03
line.long 0x00 "CRYP0_DMA_UDST,DMA Destination Address Register"
group 0x9c++0x03
line.long 0x00 "CRYP0_DMA_UCMD,DMA Command Register"
bitfld.long 0x00 12.--15. " SRC/DST ,Transfer Direction" "Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,From external memory,Reserved,Reserved,From security function,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
hexmask.long.word 0x00 0.--11. 1. "  TXL  ,Transfer Length"
group 0xd4++0x03
line.long 0x00 "CRYP0_DMA_CFG,DMA Configuration/Status Register"
bitfld.long 0x00 8.--9. " PLBP    ,PLB Priority" "Very low,Low,High,Very high"
bitfld.long 0x00 4. "               SREQ ,Secondary Request" "Not requested,Reserved"
bitfld.long 0x00 0.--1. "  MBS ,Maximum Burst Size in Bytes at the PLB" "32,64,128,256"
tree.end
tree "Pseudo Random Number Generator Registers"
base ANC:0xE0170000
rgroup 0x00++0x03
line.long 0x00 "CRYP0_PRNG_STAT,PRNG Status Register"
bitfld.long 0x00 1. " RRDY ,Result Ready" "Next operation,Available"
bitfld.long 0x00 0. "  BSY  ,PRNG is Busy" "-,Busy"
group 0x04++0x03
line.long 0x00 "CRYP0_PRNG_CTRL,PRNG Control Register"
bitfld.long 0x00 2. " R128 ,Enables the Generation of 128-bit Pseudo-Random Numbers" "Lower 64 bits,128 bits"
bitfld.long 0x00 1. "   AUTO ,Enables the Automatic Generation of PRNs" "-,Enabled"
bitfld.long 0x00 0. "  E ,Enables the Generation of a New PRN" "-,Enabled"
wgroup 0x08--0x1f
line.long 0x00 "CRYP0_PRNG_SDL,PRNG Seed Value L Register"
line.long 0x04 "CRYP0_PRNG_SDH,PRNG Seed Value H Register"
line.long 0x08 "CRYP0_PRNG_K0L,PRNG Key 0 Low Register"
line.long 0x0c "CRYP0_PRNG_K0H,PRNG Key 0 High Register"
line.long 0x10 "CRYP0_PRNG_K1L,PRNG Key 1 Low Register"
line.long 0x14 "CRYP0_PRNG_K1H,PRNG Key 1 High Register"
rgroup 0x20--0x2f
line.long 0x00 "CRYP0_PRNG_RS0,PRNG Result 0 Register"
line.long 0x04 "CRYP0_PRNG_RS1,PRNG Result 1 Register"
line.long 0x08 "CRYP0_PRNG_RS2,PRNG Result 2 Register"
line.long 0x0c "CRYP0_PRNG_RS3,PRNG Result 3 Register"
group 0x30--0x37
line.long 0x00 "CRYP0_PRNG_LFL,PRNG LFSR Low Register"
line.long 0x04 "CRYP0_PRNG_LFH,PRNG LFSR High Register"
tree.end
endian.def

elif (cpu()=="PPC440EPX")
width 12.
tree "Security Function Control Register"
group dcr:0x000F++0x00 
saveout dcr:0x000E %l 0x04500
line.long 0x00 "SDR0_CRYP0,CRYP0 SDR Control Register"
bitfld.long  0x00  31. "  INT   ,DESC Command" "-,Initiated"
hexmask.long 0x00 0.--12. 0x80000 " AMASK   ,Base address of the Security Function"
tree.end
width 17.
endian.le
base ANC:0xE0100000
tree "Packet Engine Command Registers"
group 0x00--0x13
line.long 0x00 "CRYP0_PE_CTLST,PE Control/Status Register"
hexmask.long.byte 0x00 24.--31. 1. " PCPS   ,Pad Control/Pad Status"
hexmask.long.byte 0x00 16.--23. 1. "           S      ,Status"
hexmask.long.byte 0x00 8.--15. 1. "        NHPV  ,Next Header/Pad Value"
textline "                          "
bitfld.long 0x00 6.--7. " CMDSA  ,Selects the Bus ID where the SA-Record will be Located" "00,01,10,11"
bitfld.long 0x00 5. "           CMDUC  ,Use Cached SA" "Fetched,Used"
bitfld.long 0x00 4. "   CMDHF ,Hash Final" "Intermediate,Final"
textline "                          "
bitfld.long 0x00 3. " CMDARC ,Initialize the ARC4 Cryptographic Algorithm" "-,Initialized"
bitfld.long 0x00 1. "  CMDCCD ,CryptCore Done" "-,Finished"
bitfld.long 0x00 0. "  CMDHR ,Host Ready" "-,Populated"
line.long 0x04 "CRYP0_PE_SOURCE,PE Source Address Register"
hexmask.long 0x04 0.--31. 1. " PSA    ,Packet Source Addess"
line.long 0x08 "CRYP0_PE_DEST,PE Destination Address Register"
hexmask.long 0x08 0.--31. 1. " PDA    ,Packet Destination Addess"
line.long 0x0c "CRYP0_PE_SA,PE SA Address Register"
hexmask.long 0x0c 0.--31. 1. " SAA    ,SA Addess"
line.long 0x10 "CRYP0_PE_LENGTH,PE Length Register"
hexmask.long.byte 0x10 24.--31. 1. " BYP    ,Bypass"
bitfld.long 0x10 23. "           CCD    ,Crypt Core Done" "-,Finished"
bitfld.long 0x10 22. "  HRDY  ,Host Ready" "-,Ready"
textline "                          "
hexmask.long 0x10 0.--19. 1. " L      ,Length"
;wgroup 0x14++0x7
;    line.long 0x00 "CRYP0_SA_CMD_0,SA Command 0 Register"
;        bitfld.long 0x00 31. " OSCAT  ,Output Scatter" "-,Scattered"
;        bitfld.long 0x00 30. "      IGATH  ,Input Gather" "-,Gathered"
;        bitfld.long 0x00 29. "          SHSTT        ,Save Hash State" "-,Saved"
;    textline "                          "
;        bitfld.long 0x00 28. " SIV    ,Save IV" "-,Saved"
;        bitfld.long 0x00 26.--27. "          LHSTT  ,Load Hash State" "SA or State,Reserved,State,No load"
;        bitfld.long 0x00 24.--25. "       IVLD         ,IV Loading" "-,Input buffer,State record,PRNG"
;    textline "                          "
;        bitfld.long 0x00 22.--23. " OBID   ,Output Bus ID" "0,1,2,3"
;        bitfld.long 0x00 20.--21. "              IBID   ,Input Bus ID" "0,1,2,3"
;        bitfld.long 0x00 19. "                 HP           ,Header Processing" "Outbound packet,Within packet"
;    textline "                          "
;        bitfld.long 0x00 18. " EPAD   ,Extended Pad" "Basic,Extended"
;        bitfld.long 0x00 17. "       PSC    ,Pad Stream Ciphers" "-,Enabled"
;        bitfld.long 0x00 12.--15. "           HALGO        ,Hash Algorithm" "MD5,SHA-1,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Null"
;    textline "                          "
;        bitfld.long 0x00 8.--11. " CALGO  ,Crypto Algorithm" "DES,Triple-DES,ARC4,AES,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Null"
;        bitfld.long 0x00 6.--7. "     CPAD   ,Crypto Pad" "IPsec,PKCS#7,Constant Pad,Zero"
;        bitfld.long 0x00 4.--5. "      OGRP         ,Operation Group" "Basic,Reserved,Reserved,Protocol"
;    textline "                          "
;        bitfld.long 0x00 3. " IO     ,Inbound/Outbound Processing" "Outbound,Inbound"
;        bitfld.long 0x00 0.--2. "       OCODE  ,OpCode (Basic / Protocol)" "Encryption/ESP outbound,Encryption-hash/AH outbound,Reserved,Hash/Reserved,Reserved/SSL outbound,Reserved/TLS outbound,Reserved,Reserved/SRTP outbound"
;
;    line.long 0x04 "CRYP0_SA_CMD_1,SA Command 1 Register"
;        bitfld.long 0x04 30. " SARC4S ,Save ARC4 State" "-,Saved"
;        bitfld.long 0x04 29. "          ARC4SS ,ARC4 Stateless/Stateful" "Stateless,Stateful"
;        bitfld.long 0x04 24.--28. "         ARC4KL/AESKL ,ARC4/AES Key Length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
;    textline "                          "
;        hexmask.long.byte 0x04 16.--23. 1. " HCO    ,Hash/Encryption Offset"
;        bitfld.long 0x04 15. "             SAREV  ,Specifies the revision of the SA structure" "0,1"
;        bitfld.long 0x04 12. "                 HMAC         ,HMAC/IP Options Muting Control" "Standard/Enabled,HMAC/Disabled"
;    textline "                          "
;        bitfld.long 0x04 10.--11. " CFDBK  ,Cryptographic Feedback Mode" "64-bit,8-bit,1-bit,128-bit"
;        bitfld.long 0x04 8.--9. 31. "        CMODE/AESCM  ,Cryptographic Mode / AES Counter Mode" "ECB,CBC,OFB,CFB,AES-CTR,AES-ICM,Reserved,Reserved"
;        bitfld.long 0x04 6.--7. "    SRBID        ,State BusID" "0,1,2,3"
;    textline "                          "
;        bitfld.long 0x04 5. " MBP    ,IP Header Mutable Bit Handling" "-,Enabled"
;        bitfld.long 0x04 4. "        IP4IP6 ,Selects the IP Protocol Version for this Packet Flow" "IPv4,IPv6"
;        bitfld.long 0x04 3. "              CRYPO        ,Copy Inbound Pad to Output" "-,Copied"
;    textline "                          "
;        bitfld.long 0x04 2. " CRYPLO ,Copy Payload to Output" "-,Copied"
;        bitfld.long 0x04 1. "         CRYPHO ,Copy Header to Output " "-,Copied"
tree.end
width 17.
tree "Packet Engine Control Registers"
group 0x40++0x03
line.long 0x00 "CRYP0_PE_DMA_CF,PE DMA Configuration Register"
bitfld.long 0x00 24. " DHDMAM ,Direct Host DMA Mode" "Master,Host"
bitfld.long 0x00 20. "       SPDROU     ,Suppress PDR Ownership Update" "Cleared,-"
bitfld.long 0x00 14.--15. "                      SPRBID ,Scatter Particle Ring Bus ID" "0,1,2,3"
textline "                          "
bitfld.long 0x00 12.--13. " GPRBID ,Gather Particle Ring Bus ID" "0,1,2,3"
bitfld.long 0x00 9.--10. "            PFDES/SAPP ,Packet Follows Descriptor" "Basic ring,SA Packet,Packet descriptor packet,Packet descriptor SA packet"
bitfld.long 0x00 8. "  PDRE   ,PDR Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 2. " RSCG   ,Reset Scatter/Gather Cache" "-,Reset"
bitfld.long 0x00 1. "        RPDRCP     ,Reset PDR Counters/Pointers" "-,Reset"
bitfld.long 0x00 0. "                        RPE    ,Reset PE" "-,Reset"
rgroup 0x44++0x03
line.long 0x00 "CRYP0_PE_DMA_ST,PE DMA Status Register"
hexmask.long.word 0x00 22.--31. 1. " SEOS    ,CryptCore Output Size"
hexmask.long.word 0x00 12.--21. 1. "        SEIS   ,CryptCore Input Size"
bitfld.long 0x00 11. "     CQSORA  ,Output Request Active" "Requested,-"
textline "                          "
bitfld.long 0x00 10. " CQSIRA  ,Input Request Active" "Requested,-"
bitfld.long 0x00 9. "   CQSCQA ,Command Queue Active" "Idle,Busy"
bitfld.long 0x00 7. "     CQSSPI  ,SPI Mismatch" "Matched,Not matched"
textline "                          "
bitfld.long 0x00 6. " CQSICV  ,ICV Fault" "-,Detected"
bitfld.long 0x00 5. "    CQSCPF ,Crypto Pad Fault" "-,Detected"
bitfld.long 0x00 4. " CQSOHD  ,Outer Hash Done" "-,Done"
textline "                          "
bitfld.long 0x00 3. " CQSIHD  ,Inner Hash Done" "-,Done"
bitfld.long 0x00 2. "        CQSED  ,Encryption Done" "-,Done"
bitfld.long 0x00 1. "     CQSCCOD ,CryptCore Output Done" "-,Done"
textline "                          "
bitfld.long 0x00 0. " CQSCCID ,CryptCore Input Done" "-,Done"
if ((data.long(ANC:0xE0100040)&0x01)==0x00)
group 0x48++0x03
line.long 0x00 "CRYP0_PE_PDR_BA,PE Packet Descriptor Ring Base Address Register"
else
group 0x48++0x03
line.long 0x00 "CRYP0_PE_PDR_BA,PE Packet Descriptor Ring Base Address Register"
hexmask.long 0x00 0.--19. 1. " CLO     ,Crypto Length Out"
endif
group 0x4c++0xb
line.long 0x00 "CRYP0_PE_RDR_BA,PE Packet Result Ring Base Address Register"
line.long 0x04 "CRYP0_PE_RING_S,PE Ring Size and Offset Register"
hexmask.long.word 0x04 16.--31. 1. " DRO     ,Descriptor Ring Offset"
hexmask.long.word 0x04 0.--9. 1. "        DRS    ,Descriptor Ring Size"
line.long 0x08 "CRYP0_PE_RING_P,PE Ring Poll Register"
bitfld.long 0x08 31. " C       ,Continuous" "-,Continuous"
hexmask.long.word 0x08 16.--25. 1. "  RRDIV  ,Ring Retry Divisor"
hexmask.long.word 0x08 0.--11. 1. "     RPDIV   ,Ring Poll Divisor"
rgroup 0x58++0x7
line.long 0x00 "CRYP0_PE_I_RING,PE Internal Ring Status Register"
bitfld.long 0x00 0. " CQ0A    ,Command Queue 0 Available" "-,Available"
line.long 0x04 "CRYP0_PE_I_RING,PE External Ring Status Register"
hexmask.long.word 0x04 16.--25. 1. " ONPD    ,Offset of Next Packet Descriptor"
group 0x60++0x13
line.long 0x00 "CRYP0_PE_IO_THR,PE I/O Threshold Register"
hexmask.long.word 0x00 16.--25. 1. " PEOTH   ,Output Threshold"
hexmask.long.word 0x00 0.--9. 1. "        PEITH  ,Input Threshold"
line.long 0x04 "CRYP0_PE_GATH,PE Gather Particle Ring Base Address Register"
line.long 0x08 "CRYP0_PE_SCAT,PE Scatter Particle Ring Base Address Register"
line.long 0x0c "CRYP0_PE_PT_S,PE Particle Ring Size Register"
hexmask.long.word 0x0c 16.--31. 1. " SPDRS   ,Scatter Particle Descriptor Ring Size"
hexmask.long.word 0x0c 0.--15. 1. "        GPDRS  ,Gather Particle Descriptor Ring Size"
line.long 0x10 "CRYP0_PE_PT_CFG,PE Particle Ring Configuration Register"
hexmask.long.word 0x10 0.--15. 1. " SPS     ,Scatter Particle Size"
tree.end
tree "Packet Engine Security Association and DMA Registers"
group 0x500++0x03
line.long 0x00 "CRYP0_PE_PR_SCA,PE Particle Descriptor Source Address Register"
group 0x504++0x03
line.long 0x00 "CRYP0_PE_PR_SCC,PE Particle Descriptor Source Control Register"
hexmask.long.word 0x00 16.--31. 1. " PS     ,Particle Size"
bitfld.long 0x00 1. "  PEDONE ,Security Function Finish" "-,Finished"
bitfld.long 0x00 0. "   HDRDY ,Host Ready" "-,Populated"
group 0x580++0x03
line.long 0x00 "CRYP0_PE_PR_DTA,PE Particle Destination Address Register"
group 0x584++0x03
line.long 0x00 "CRYP0_PE_PR_DTC,PE Particle Destination Control Register"
bitfld.long 0x00 1. " PEDONE ,Security Function Done" "-,Done"
bitfld.long 0x00 0. "  HDRDY  ,Host Ready" "-,Populated"
tree.end
base ANC:0xE0110600
tree "Cryptographic Context Registers"
wgroup 0x00--0x07
line.long 0x00 "CRYP0_SA_CMD_0,SA Command 0 Register"
bitfld.long 0x00 31. " OSCAT  ,Output Scatter" "-,Scattered"
bitfld.long 0x00 30. "      IGATH  ,Input Gather" "-,Gathered"
bitfld.long 0x00 29. "          SHSTT        ,Save Hash State" "-,Saved"
textline "                          "
bitfld.long 0x00 28. " SIV    ,Save IV" "-,Saved"
bitfld.long 0x00 26.--27. "          LHSTT  ,Load Hash State" "SA or State,Reserved,State,No load"
bitfld.long 0x00 24.--25. "       IVLD         ,IV Loading" "-,Input buffer,State record,PRNG"
textline "                          "
bitfld.long 0x00 22.--23. " OBID   ,Output Bus ID" "0,1,2,3"
bitfld.long 0x00 20.--21. "              IBID   ,Input Bus ID" "0,1,2,3"
bitfld.long 0x00 19. "                 HP           ,Header Processing" "Outbound packet,Within packet"
textline "                          "
bitfld.long 0x00 18. " EPAD   ,Extended Pad" "Basic,Extended"
bitfld.long 0x00 17. "       PSC    ,Pad Stream Ciphers" "-,Enabled"
bitfld.long 0x00 12.--15. "           HALGO        ,Hash Algorithm" "MD5,SHA-1,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Null"
textline "                          "
bitfld.long 0x00 8.--11. " CALGO  ,Crypto Algorithm" "DES,Triple-DES,ARC4,AES,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Null"
bitfld.long 0x00 6.--7. "     CPAD   ,Crypto Pad" "IPsec,PKCS#7,Constant Pad,Zero"
bitfld.long 0x00 4.--5. "      OGRP         ,Operation Group" "Basic,Reserved,Reserved,Protocol"
textline "                          "
bitfld.long 0x00 3. " IO     ,Inbound/Outbound Processing" "Outbound,Inbound"
bitfld.long 0x00 0.--2. "       OCODE  ,OpCode (Basic / Protocol)" "Encryption/ESP outbound,Encryption-hash/AH outbound,Reserved,Hash/Reserved,Reserved/SSL outbound,Reserved/TLS outbound,Reserved,Reserved/SRTP outbound"
line.long 0x04 "CRYP0_SA_CMD_1,SA Command 1 Register"
bitfld.long 0x04 30. " SARC4S ,Save ARC4 State" "-,Saved"
bitfld.long 0x04 29. "          ARC4SS ,ARC4 Stateless/Stateful" "Stateless,Stateful"
bitfld.long 0x04 24.--28. "         ARC4KL/AESKL ,ARC4/AES Key Length" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
textline "                          "
hexmask.long.byte 0x04 16.--23. 1. " HCO    ,Hash/Encryption Offset"
bitfld.long 0x04 15. "             SAREV  ,Specifies the revision of the SA structure" "0,1"
bitfld.long 0x04 12. "                 HMAC         ,HMAC/IP Options Muting Control" "Standard/Enabled,HMAC/Disabled"
textline "                          "
bitfld.long 0x04 10.--11. " CFDBK  ,Cryptographic Feedback Mode" "64-bit,8-bit,1-bit,128-bit"
bitfld.long 0x04 8.--9. 31. "        CMODE/AESCM  ,Cryptographic Mode / AES Counter Mode" "ECB,CBC,OFB,CFB,AES-CTR,AES-ICM,Reserved,Reserved"
bitfld.long 0x04 6.--7. "    SRBID        ,State BusID" "0,1,2,3"
textline "                          "
bitfld.long 0x04 5. " MBP    ,IP Header Mutable Bit Handling" "-,Enabled"
bitfld.long 0x04 4. "        IP4IP6 ,Selects the IP Protocol Version for this Packet Flow" "IPv4,IPv6"
bitfld.long 0x04 3. "              CRYPO        ,Copy Inbound Pad to Output" "-,Copied"
textline "                          "
bitfld.long 0x04 2. " CRYPLO ,Copy Payload to Output" "-,Copied"
bitfld.long 0x04 1. "         CRYPHO ,Copy Header to Output " "-,Copied"
wgroup 0x10++0x1f
line.long 0x00 "CRYP0_SA_KEY1_L,SA Key 1 Low Register"
line.long 0x04 "CRYP0_SA_KEY1_H,SA Key 1 High Register"
line.long 0x08 "CRYP0_SA_KEY2_L,SA Key 2 Low Register"
line.long 0x0c "CRYP0_SA_KEY2_H,SA Key 2 High Register"
line.long 0x10 "CRYP0_SA_KEY3_L,SA Key 3 Low Register"
line.long 0x14 "CRYP0_SA_KEY3_H,SA Key 3 High Register"
line.long 0x18 "CRYP0_SA_KEY4_L,SA Key 4 Low Register"
line.long 0x1c "CRYP0_SA_KEY4_H,SA Key 3 High Register"
wgroup 0x30++0x27
line.long 0x00 "CRYP0_SA_IH_D0,SA Inner Hash Digest 0 Register"
line.long 0x04 "CRYP0_SA_IH_D1,SA Inner Hash Digest 1 Register"
line.long 0x08 "CRYP0_SA_IH_D2,SA Inner Hash Digest 2 Register"
line.long 0x0c "CRYP0_SA_IH_D3,SA Inner Hash Digest 3 Register"
line.long 0x10 "CRYP0_SA_IH_D4,SA Inner Hash Digest 3 Register"
line.long 0x14 "CRYP0_SA_OH_D0,SA Outer Hash Digest 0 Register"
line.long 0x18 "CRYP0_SA_OH_D1,SA Outer Hash Digest 1 Register"
line.long 0x1c "CRYP0_SA_OH_D2,SA Outer Hash Digest 2 Register"
line.long 0x20 "CRYP0_SA_OH_D3,SA Outer Hash Digest 3 Register"
line.long 0x24 "CRYP0_SA_OH_D4,SA Outer Hash Digest 3 Register"
group 0x58--0x77
line.long 0x00 "CRYP0_SA_SPI,SA IPsec SPI Register"
line.long 0x04 "CRYP0_SA_SEQ,SA IPsec Sequence Number Register"
line.long 0x08 "CRYP0_SA_SEQMKL,SA IPsec Sequence Number Mask Low Register"
line.long 0x0c "CRYP0_SA_SEQMKH,SA IPsec Sequence Number Mask High Register"
line.long 0x10 "CRYP0_SA_NONCE,SA Nonce Value Register"
line.long 0x14 "CRYP0_SA_PNTR,SA Pointer Register"
line.long 0x18 "CRYP0_SA_ARC4IJ,SA ARC4 i and J Pointer Register"
hexmask.long.byte 0x18 8.--15. 1. " JPNT ,j Pointer"
hexmask.long.byte 0x18 0.--7. 1. "  IPNT ,i Pointer"
line.long 0x1c "CRYP0_SA_ARC4SB,SA ARC4 State Address Pointer Register"
group 0xc0++0x0f
line.long 0x00 "CRYP0_SA_IV_0,SA Initialization Vector 0 Register"
line.long 0x04 "CRYP0_SA_IV_1,SA Initialization Vector 1 Register"
line.long 0x08 "CRYP0_SA_IV_2,SA Initialization Vector 2 Register"
line.long 0x0c "CRYP0_SA_IV_3,SA Initialization Vector 3 Register"
base ANC:0xE0110100
group 0xd0--0xe7
line.long 0x00 "CRYP0_SA_HASH_B,SA Hash Byte Count Registers"
base ANC:0xE0110600
group 0xd4++0x13
line.long 0x00 "CRYP0_SA_IH_0,SA Inner Hash 0 (mirror of CRYP0_SA_IH_D0) Register"
line.long 0x04 "CRYP0_SA_IH_1,SA Inner Hash 1 (mirror of CRYP0_SA_IH_D1) Register"
line.long 0x08 "CRYP0_SA_IH_2,SA Inner Hash 2 (mirror of CRYP0_SA_IH_D2) Register"
line.long 0x0c "CRYP0_SA_IH_3,SA Inner Hash 3 (mirror of CRYP0_SA_IH_D3) Register"
line.long 0x10 "CRYP0_SA_IH_4,SA Inner Hash 4 (mirror of CRYP0_SA_IH_D4) Register"
rgroup 0xe8++0x13
line.long 0x00 "CRYP0_SA_ICV_0,SA ICV 0-HMAC Result Register"
line.long 0x04 "CRYP0_SA_ICV_1,SA ICV 1-HMAC Result Register"
line.long 0x08 "CRYP0_SA_ICV_2,SA ICV 2-HMAC Result Register"
line.long 0x0c "CRYP0_SA_ICV_3,SA ICV 3-HMAC Result Register"
line.long 0x10 "CRYP0_SA_ICV_4,SA ICV 3-HMAC Result Register"
tree.end
tree "True Random Number Generator Registers"
base ANC:0xE0120100
group 0x00++0x03
line.long 0x00 "CRYP0_TRNG_DATA,TRNG Output Register"
rgroup 0x04++0x03
line.long 0x00 "CRYP0_TRNG_STAT,TRNG Status Register"
bitfld.long 0x00 0. " B      , Busy" "-,Busy"
group 0x08++0x1b
line.long 0x00 "CRYP0_TRNG_CTRL,TRNG Control Register"
bitfld.long 0x00 12. " EPP    ,Control the Post Processor" "-,Enabled"
bitfld.long 0x00 11. "     BTRNG ,Bypass TRNG" "-,Bypassed"
bitfld.long 0x00 10. "  NRLFSR ,nReset the Linear Feedback Shift Register" "Reset,-"
textline "                          "
bitfld.long 0x00 9. " TLFSR  ,Test LFSRs" "-,Self-test"
bitfld.long 0x00 8. "   TALM  ,Test Alarm" "-,Alarm"
bitfld.long 0x00 7. "     SC     ,Short Cycle" "-,Short"
textline "                          "
bitfld.long 0x00 6. " TCNT   ,Clock on" "-,Test clock"
bitfld.long 0x00 5. "  DALM  ,Disable Alarm" "-,Disabled"
bitfld.long 0x00 4. "  TRNG2  ,Ring Oscillator #2 Test" "-,Enabled"
textline "                          "
bitfld.long 0x00 3. " TRNG1  ,Ring Oscillator #1 Test" "-,Enable"
bitfld.long 0x00 2. "      TRUN  ,Enable Test Run" "-,Enabled"
bitfld.long 0x00 1. "   TMODE  ,Enable Test Mode" "-,Enabled"
textline "                          "
bitfld.long 0x00 0. " TRNG   ,Enable Test Ring Output" "-,Enabled"
line.long 0x04 "CRYP0_TRNG_ENTA,TRNG Entropy A Register"
hexmask.long.word 0x04 0.--15. 1. " EA     ,Entropy A"
line.long 0x08 "CRYP0_TRNG_ENTB,TRNG Entropy B Register"
hexmask.long.word 0x08 0.--15. 1. " EB     ,Entropy B"
line.long 0x0c "CRYP0_TRNG_X0,TRNG Test Seed 0 Register"
hexmask.long 0x0c 0.--31. 1. " RNGX   ,LFSR[31:0]"
line.long 0x10 "CRYP0_TRNG_X1,TRNG Test Seed 1 Register"
hexmask.long 0x10 0.--31. 1. " RNGX   ,LFSR[63:32]"
line.long 0x14 "CRYP0_TRNG_X2,TRNG Test Seed 2 Register"
hexmask.long 0x14 0.--16. 1. " RNGX   ,LFSR[80:64]"
line.long 0x18 "CRYP0_TRNG_CNTR,TRNG Counter Register"
hexmask.long 0x18 0.--23. 1. " CNT    ,Counter"
rgroup 0x24++0x03
line.long 0x00 "CRYP0_TRNG_ALRM,TRNG Alarm Counter Register"
hexmask.long.byte 0x00 0.--7. 1. " ALMCNT ,Alarm Count"
group 0x28++0x03
line.long 0x00 "CRYP0_TRNG_CFG,TRNG Configuration Register"
hexmask.long.byte 0x00 6.--11. 1. " RSTCNT ,Reset Count"
bitfld.long 0x00 3.--5. "          R2DLY ,Ring 2 Delay" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 0.--2. "         R1DLY  ,Ring 1 Delay" "0,1,2,3,4,5,6,7"
rgroup 0x2c--0x3b
line.long 0x00 "CRYP0_TRNG_LF0L,TRNG Test Read of LFSR 0 Low Register"
hexmask.long 0x00 0.--31. 1. " LFSR0  ,32 Least Significant State Bits of LFSR 0 [31:0]"
line.long 0x04 "CRYP0_TRNG_LF0H,TRNG Test Read of LFSR 0 High Register"
hexmask.long 0x04 0.--16. 1. " LFSR0  ,17 Most Significant State Bits of LFSR 0 [48:32]"
line.long 0x08 "CRYP0_TRNG_LF1L,TRNG Test Read of LFSR 1 Low Register"
hexmask.long 0x08 0.--31. 1. " LFSR1  ,32 Least Significant State Bits of LFSR 1 [31:0]"
line.long 0x0c "CRYP0_TRNG_LF1H,TRNG Test Read of LFSR 1 High Register"
hexmask.long.word 0x0c 0.--15. 1. " LFSR1  ,16 Most Significant State Bits of LFSR 1 [47:32]"
wgroup 0x3c--0x53
line.long 0x00 "CRYP0_TRNG_K0_L,TRNG Triple DES Key 0 Low Register"
line.long 0x04 "CRYP0_TRNG_K0_H,TRNG Triple DES Key 0 High Register"
line.long 0x08 "CRYP0_TRNG_K1_L,TRNG Triple DES Key 1 Low Register"
line.long 0x0c "CRYP0_TRNG_K1_H,TRNG Triple DES Key 1 High Register"
line.long 0x10 "CRYP0_TRNG_IV_L,TRNG Initialization Vector Low Register"
line.long 0x14 "CRYP0_TRNG_IV_H,TRNG Initialization Vector High Register"
tree.end
tree "Public Key Accelerator Registers"
base ANC:0xE0130800
group 0x00++0x1f
line.long 0x00 "CRYP0_PKA_A_PTR,PKA A Vector Address Register"
hexmask.long.word 0x00 0.--10. 1. " AADDR ,A Address"
line.long 0x04 "CRYP0_PKA_B_PTR,PKA B Vector Address Register"
hexmask.long.word 0x04 0.--10. 1. " BADDR ,B Address"
line.long 0x08 "CRYP0_PKA_C_PTR,PKA C Vector Address Register"
hexmask.long.word 0x08 0.--10. 1. " CADDR ,C Address"
line.long 0x0c "CRYP0_PKA_D_PTR,PKA D Vector Address Register"
hexmask.long.word 0x0c 0.--10. 1. " DADDR ,D Address"
line.long 0x10 "CRYP0_PKA_A_LEN,PKA A Vector Length Register"
hexmask.long.word 0x10 0.--8. 1. " AL    ,A Length"
line.long 0x14 "CRYP0_PKA_B_LEN,PKA B Vector Length Register"
hexmask.long.word 0x14 0.--8. 1. " BL    , B Length"
line.long 0x18 "CRYP0_PKA_SHIFT,PKA Shift Register"
bitfld.long 0x18 0.--4. " SV    ,Shift Value" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
line.long 0x1c "CRYP0_PKA_FUNC,PKA Function Code Register"
bitfld.long 0x1C 15. " RUN   ,Run" "Completed,Started"
bitfld.long 0x1C 14. "      E2ACT  ,Exponentiate (2-bit ACT)" "Completed,Started"
bitfld.long 0x1C 13. "  E4ACT ,Exponentiate (4-bit ACT)" "Completed,Started"
textline "                          "
bitfld.long 0x1C 12. " RED   ,Reduce" "Completed,Started"
bitfld.long 0x1C 11. "      CPY    ,Copy" "Completed,Started"
bitfld.long 0x1C 10. "  CPR   ,Compare" "Completed,Started"
textline "                          "
bitfld.long 0x1C 9. " MOD   ,Mod" "Completed,Started"
bitfld.long 0x1C 8. "      DIV    ,Divide" "Completed,Started"
bitfld.long 0x1C 7. "  LSHFT ,Left Shift" "Completed,Started"
textline "                          "
bitfld.long 0x1C 6. " RSHFT ,Right Shift" "Completed,Started"
bitfld.long 0x1C 5. "      SUB    ,Subtract" "Completed,Started"
bitfld.long 0x1C 4. "  ADD   ,Add" "Completed,Started"
textline "                          "
bitfld.long 0x1C 3. " DI    ,Dusse Inverse" "Completed,Started"
bitfld.long 0x1C 2. "      SQR    ,Square" "Completed,Started"
bitfld.long 0x1C 1. "  DMLT  ,Dusse Multiply" "Completed,Started"
textline "                          "
bitfld.long 0x1C 0. " MLT   ,Multiply" "Completed,Started"
rgroup 0x20++0xb
line.long 0x00 "CRYP0_PKA_COMP,PKA Comparison Result Register"
bitfld.long 0x00 2. " SUP   ,A > B" "A not > B,A > B"
bitfld.long 0x00 1. "      INF    ,A < B" "A not < B,A < B"
bitfld.long 0x00 0. "  EQL   ,A = B" "A != B,A = B"
line.long 0x04 "CRYP0_PKA_DIV,PKA Quotient MSW Register"
bitfld.long 0x04 11. " RZERO ,Result Zero" "-,Zero"
hexmask.long.word 0x04 0.--10. 1. "           DIVMSW ,DIV MSW Address"
line.long 0x08 "CRYP0_PKA_MOD,PKA Remainder MSW Register"
bitfld.long 0x08 11. " RZERO ,Result Zero" "-,Zero"
hexmask.long.word 0x08 0.--10. 1. "           RMSWA  ,Result MSW Address"
tree.end
tree "Interrupt Controller Registers"
base ANC:0xE0150000
rgroup 0xA0++0x03
line.long 0x00 "CRYP0_INT_UNMSK,Interrupt Unmasked Status Register"
bitfld.long 0x00 15. " DESC   ,Command to the Packet Engine" "-,Interrupt"
bitfld.long 0x00 14. "  DESCRD ,Specified Number of Descriptors (1-63) have Completed Processing" "-,Interrupt"
bitfld.long 0x00 13. "  CNTXT  ,Processing of a Descriptor Written to the Command Queue has Finished" "-,Interrupt"
textline "                          "
bitfld.long 0x00 12. " CMD    ,Processing of a Descriptor Written to the Command Queue has Finished" "-,Interrupt"
bitfld.long 0x00 11. "  DATAO  ,Packet Engine is Ready to Return Data Fragment of Size" "-,Interrupt"
bitfld.long 0x00 10. "  DATAI  ,Packet Engine is Ready to Receive data Fragment of Size" "-,Interrupt"
textline "                          "
bitfld.long 0x00 9. " PEERR  ,Packet Engine Processing Error" "-,Interrupt"
bitfld.long 0x00 8. "  UDMS   ,User-initiated Master DMA Transaction Complete" "-,Interrupt"
bitfld.long 0x00 7. "  DMAAV  ,User DMA Command Registers are Available" "-,Interrupt"
textline "                          "
bitfld.long 0x00 6. " DMAERR ,Error Occurred During a User-Initiated DMA Transfer" "-,Interrupt"
bitfld.long 0x00 5. "  PKT    ,Packet Engine Finished Processing of a Complete Packet" "-,Interrupt"
bitfld.long 0x00 4. "  SLVERR ,Illegal Transfer to the PLB Slave Requested" "-,Interrupt"
textline "                          "
bitfld.long 0x00 3. " MSTERR ,Timeout Occurred on a PLB Master Transfer Request" "-,Interrupt"
bitfld.long 0x00 2. "  TRNG   ,TRNG Finished Generation of a True Random Number" "-,Interrupt"
bitfld.long 0x00 1. "  PRNG   ,PRNG Finished Generation of a Pseudo Random Number" "-,Interrupt"
textline "                          "
bitfld.long 0x00 0. " PKA    ,PKA Finished an Operation" "-,Interrupt"
group 0xa4++0x03
line.long 0x00 "CRYP0_INT_MSK,Interrupt Masked Status Register"
eventfld.long 0x00 15. " DESC   ,Command to the Packet Engine" "-,Interrupt"
eventfld.long 0x00 14. "  DESCRD ,Specified Number of Descriptors (1-63) have Completed Processing" "-,Interrupt"
eventfld.long 0x00 13. "  CNTXT  ,Processing of a Descriptor Written to the Command Queue has Finished" "-,Interrupt"
textline "                          "
eventfld.long 0x00 12. " CMD    ,Processing of a Descriptor Written to the Command Queue has Finished" "-,Interrupt"
eventfld.long 0x00 11. "  DATAO  ,Packet Engine is Ready to Return Data Fragment of Size" "-,Interrupt"
eventfld.long 0x00 10. "  DATAI  ,Packet Engine is Ready to Receive data Fragment of Size" "-,Interrupt"
textline "                          "
eventfld.long 0x00 9. " PEERR  ,Packet Engine Processing Error" "-,Interrupt"
eventfld.long 0x00 8. "  UDMS   ,User-initiated Master DMA Transaction Complete" "-,Interrupt"
eventfld.long 0x00 7. "  DMAAV  ,User DMA Command Registers are Available" "-,Interrupt"
textline "                          "
eventfld.long 0x00 6. " DMAERR ,Error Occurred During a User-Initiated DMA Transfer" "-,Interrupt"
eventfld.long 0x00 5. "  PKT    ,Packet Engine Finished Processing of a Complete Packet" "-,Interrupt"
eventfld.long 0x00 4. "  SLVERR ,Illegal Transfer to the PLB Slave Requested" "-,Interrupt"
textline "                          "
eventfld.long 0x00 3. " MSTERR ,Timeout Occurred on a PLB Master Transfer Request" "-,Interrupt"
eventfld.long 0x00 2. "  TRNG   ,TRNG Finished Generation of a True Random Number" "-,Interrupt"
eventfld.long 0x00 1. "  PRNG   ,PRNG Finished Generation of a Pseudo Random Number" "-,Interrupt"
textline "                          "
eventfld.long 0x00 0. " PKA    ,PKA Finished an Operation" "-,Interrupt"
group 0xA8++0x03
line.long 0x00 "CRYP0_INT_EN,Interrupt Mask Register"
bitfld.long 0x00 15. " DESC   ,Command to the Packet Engine" "-,Enabled"
bitfld.long 0x00 14. "    DESCRD ,Specified Number of Descriptors (1-63) have Completed Processing" "-,Enabled"
bitfld.long 0x00 13. "    CNTXT  ,Processing of a Descriptor Written to the Command Queue has Finished" "-,Enabled"
textline "                          "
bitfld.long 0x00 12. " CMD    ,Processing of a Descriptor Written to the Command Queue has Finished" "-,Enabled"
bitfld.long 0x00 11. "    DATAO  ,Packet Engine is Ready to Return Data Fragment of Size" "-,Enabled"
bitfld.long 0x00 10. "    DATAI  ,Packet Engine is Ready to Receive Data Fragment of Size" "-,Enabled"
textline "                          "
bitfld.long 0x00 9. " PEERR  ,Packet Engine Processing Error" "-,Enabled"
bitfld.long 0x00 8. "    UDMS   ,User-initiated Master DMA Transaction Complete" "-,Enabled"
bitfld.long 0x00 7. "    DMAAV  ,User DMA Command Registers are Available" "-,Enabled"
textline "                          "
bitfld.long 0x00 6. " DMAERR ,Error Occurred During a User-initiated DMA Transfer" "-,Enabled"
bitfld.long 0x00 5. "    PKT    ,Packet Engine Finished Processing of a Complete Packet" "-,Enabled"
bitfld.long 0x00 4. "    SLVERR ,Illegal Transfer to the PLB Slave Requested" "-,Enabled"
textline "                          "
bitfld.long 0x00 3. " MSTERR ,Timeout Occurred on a PLB Master Transfer Request" "-,Enabled"
bitfld.long 0x00 2. "    TRNG   ,TRNG Finished Generation of a True Random Number" "-,Enabled"
bitfld.long 0x00 1. "    PRNG   ,PRNG Finished Generation of a Pseudo Random Number" "-,Enabled"
textline "                          "
bitfld.long 0x00 0. " PKA    ,PKA finished an operation" "-,Enabled"
if (d.l(ANC:0xE01500AC)&0x01000000)==0x01000000
group 0xac++0x03
line.long 0x00 "CRYP0_INT_CFG,Interrupt Configuration Register"
bitfld.long 0x00 1. " IPCLR  ,Pulse Interrupt Clear" "-,Reset"
bitfld.long 0x00 0. "      IHOT   ,Interrupt Output Type" "Level,Pulse"
else
group 0xac++0x03
line.long 0x00 "CRYP0_INT_CFG,Interrupt Configuration Register"
bitfld.long 0x00 0. " IHOT   ,Interrupt Output Type" "Level,Pulse"
endif
wgroup 0xb0++0x03
line.long 0x00 "CRYP0_INT_DESRD,Interrupt Force Descriptor Read Register"
group 0xb4++0x03
line.long 0x00 "CRYP0_INT_DESCT,Interrupt Descriptor Count Register"
bitfld.long 0x00 0.--5. " DCCNT  ,Descriptor Complete Count" "Reserved,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
tree.end
tree "Device Controller Registers"
base ANC:0xE0160080
group 0x00++0x03
line.long 0x00 "CRYP0_DC_CTRL,Device Control Register"
bitfld.long 0x00 17. " TRNGE ,TRNG Enable" "Reset,Enabled"
bitfld.long 0x00 16. "  PKAE ,PKA Enable" "Reset,Enabled"
bitfld.long 0x00 0. "  TDESE ,Triple-DES Enable" "Reset,Enabled"
rgroup 0x04--0x0B
line.long 0x00 "CRYP0_DC_DEVID,Device ID Register"
hexmask.long.word 0x00 16.--31. 1. " VID   ,Vendor ID"
hexmask.long.word 0x00  0.--15. 1. "     DID  ,Device ID"
line.long 0x04 "CRYP0_DC_DEVINF,Device Information Register"
bitfld.long 0x04 23. " TRNG  ,True Random Number Generator" "-,Enabled"
bitfld.long 0x04 22. "  PKA  ,Public Key Accelerator" "-,Enabled"
bitfld.long 0x04 19. "  PRNG  ,Pseudo Random Number Generator" "-,Enabled"
textline "                          "
bitfld.long 0x04 13. " SHA1  ,SHA 1 Hash" "-,Enabled"
bitfld.long 0x04 12. "  MD5  ,MD5 Hash" "-,Enabled"
bitfld.long 0x04 10. "  AES   ,AES (Rijndael) Encryption" "-,Enabled"
textline "                          "
bitfld.long 0x04 9. " ARC4  ,ARC4 Encryption" "-,Enabled"
bitfld.long 0x04 8. "  DES  ,DES/Triple-DES Encryption" "-,Enabled"
bitfld.long 0x04 4.--7. "  MAJ   ,Major Revisions of the Security Function" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "                          "
bitfld.long 0x04 0.--3. " MIN   ,Minor Revisions of the Security Function" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
tree.end
tree "DMA Controller Registers"
base ANC:0xE0160000
group 0x94++0x03
line.long 0x00 "CRYP0_DMA_USRC,DMA Source Address Register"
group 0x98++0x03
line.long 0x00 "CRYP0_DMA_UDST,DMA Destination Address Register"
group 0x9c++0x03
line.long 0x00 "CRYP0_DMA_UCMD,DMA Command Register"
bitfld.long 0x00 12.--15. " SRC/DST ,Transfer Direction" "Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,From external memory,Reserved,Reserved,From security function,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
hexmask.long.word 0x00 0.--11. 1. "  TXL  ,Transfer Length"
group 0xd4++0x03
line.long 0x00 "CRYP0_DMA_CFG,DMA Configuration/Status Register"
bitfld.long 0x00 8.--9. " PLBP    ,PLB Priority" "Very low,Low,High,Very high"
bitfld.long 0x00 4. "               SREQ ,Secondary Request" "Not requested,Reserved"
bitfld.long 0x00 0.--1. "  MBS ,Maximum Burst Size in Bytes at the PLB" "32,64,128,256"
tree.end
tree "Pseudo Random Number Generator Registers"
base ANC:0xE0170000
rgroup 0x00++0x03
line.long 0x00 "CRYP0_PRNG_STAT,PRNG Status Register"
bitfld.long 0x00 1. " RRDY ,Result Ready" "Next operation,Available"
bitfld.long 0x00 0. "  BSY  ,PRNG is Busy" "-,Busy"
group 0x04++0x03
line.long 0x00 "CRYP0_PRNG_CTRL,PRNG Control Register"
bitfld.long 0x00 2. " R128 ,Enables the Generation of 128-bit Pseudo-Random Numbers" "Lower 64 bits,128 bits"
bitfld.long 0x00 1. "   AUTO ,Enables the Automatic Generation of PRNs" "-,Enabled"
bitfld.long 0x00 0. "  E ,Enables the Generation of a New PRN" "-,Enabled"
wgroup 0x08--0x1f
line.long 0x00 "CRYP0_PRNG_SDL,PRNG Seed Value L Register"
line.long 0x04 "CRYP0_PRNG_SDH,PRNG Seed Value H Register"
line.long 0x08 "CRYP0_PRNG_K0L,PRNG Key 0 Low Register"
line.long 0x0c "CRYP0_PRNG_K0H,PRNG Key 0 High Register"
line.long 0x10 "CRYP0_PRNG_K1L,PRNG Key 1 Low Register"
line.long 0x14 "CRYP0_PRNG_K1H,PRNG Key 1 High Register"
rgroup 0x20--0x2f
line.long 0x00 "CRYP0_PRNG_RS0,PRNG Result 0 Register"
line.long 0x04 "CRYP0_PRNG_RS1,PRNG Result 1 Register"
line.long 0x08 "CRYP0_PRNG_RS2,PRNG Result 2 Register"
line.long 0x0c "CRYP0_PRNG_RS3,PRNG Result 3 Register"
group 0x30--0x37
line.long 0x00 "CRYP0_PRNG_LFL,PRNG LFSR Low Register"
line.long 0x04 "CRYP0_PRNG_LFH,PRNG LFSR High Register"
tree.end
endian.def
endif
tree.end
tree "KASUMI Algorithm"
sif ((cpu()=="PPC440EPX")||(cpu()=="PPC440GRX"))
base ANC:0x0:0xE0180000
width 16.
endian.le
rgroup 0x00++0x03
line.long 0x00 "KASU0_DATAOUT0,Data Output 0 Register"
wgroup 0x00++0x03
line.long 0x00 "KASU0_DATAIN0,Data Input 0 Register"
rgroup 0x04++0x03
line.long 0x00 "KASU0_DATAOUT1,Data Output 1 Register"
wgroup 0x04++0x03
line.long 0x00 "KASU0_DATAIN1,Data Input 1 Register"
group 0x08++0x03
line.long 0x00 "KASU0_STAT_CTRL,Status and Control Register"
eventfld.long 0x00 6. " FSHAV ,KASU0_FRESH Register Data" "Completed,Requested"
eventfld.long 0x00 5. "  CNTAV ,KASU0_COUNT Register Data" "Completed,Requested"
eventfld.long 0x00 4. "  CFGAV ,KASU0_CONFIG Register Data" "Completed,Requested"
eventfld.long 0x00 3. "  DATAAV ,KASU0_DATAINx Register data" "Started,Requested"
textline "                         "
eventfld.long 0x00 2. " KEYAV ,KASU0_KEYx Register Data" "Completed,Requested"
eventfld.long 0x00 1. "  MODAV ,KASU0_MODE Register Data" "Completed,Requested"
eventfld.long 0x00 0. "  OBUFF ,Output Buffers Contain Processed Data" "-,Available"
;rgroup 0x08++0x03
;    line.long 0x00 "KASU0_STAT,Status Register"
;        bitfld.long 0x00 6. " FSHAV  ,KASU0_FRESH Register Data" "Completed,Requested"
;        bitfld.long 0x00 5. "      CNTAV ,KASU0_COUNT Register Data" "Completed,Requested"
;        bitfld.long 0x00 4. "  CFGAV ,KASU0_CONFIG Register Data" "Completed,Requested"
;    textline "                         "
;        bitfld.long 0x00 3. " DATAAV ,KASU0_DATAINx Register data" "Started,Requested"
;        bitfld.long 0x00 2. "      KEYAV ,KASU0_KEYx Register Data" "Completed,Requested"
;        bitfld.long 0x00 1. "  MODAV ,KASU0_MODE Register Data" "Completed,Requested"
;    textline "                         "
;        bitfld.long 0x00 0. " OBUFF  ,Output Buffers Contain Processed Data" "-,Available"
wgroup 0x0c++0x03
line.long 0x00 "KASU0_MODE,Mode Register"
bitfld.long 0x00 3. " MDF9   ,Select f9 Mode" "-,f9"
bitfld.long 0x00 2. "        MDF8  ,Select f8 Mode" "-,f8"
bitfld.long 0x00 1. "         MDKAS ,Select KASUMI Mode" "-,KASUMI"
bitfld.long 0x00 0. "     CRYPT  ,Select Type of Cipher Operation" "Decryption,Encryption"
wgroup 0x10++0x03
line.long 0x00 "KASU0_KEY0,Key Input 31:0 Register"
wgroup 0x14++0x03
line.long 0x00 "KASU0_KEY1,Key Input 63:32 Register"
wgroup 0x18++0x03
line.long 0x00 "KASU0_KEY2,Key Input 95:64 Register"
wgroup 0x1c++0x03
line.long 0x00 "KASU0_KEY3,Key Input 127:96 Reister"
wgroup 0x20++0x03
line.long 0x00 "KASU0_COUNT,Count Register"
wgroup 0x24++0x03
line.long 0x00 "KASU0_CONFIG,Configuration Register"
hexmask.long.word 0x00 16.--31. 1. " LENGTH ,f9 Message Data Length"
bitfld.long 0x00 1.--5. "  BEAR ,f8 Bearer Value" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x00 0. "  DIR ,Direction of f8 or f9 Session" "0,1"
wgroup 0x28++0x03
line.long 0x00 "KASU0_FRESH,Fresh Register"
endian.def
endif
tree.end
endian.le
tree.open "PCI (Peripheral Component Interconnect Interface)"
sif ((cpu()=="PPC440GR"))
width 11.
tree.open "PCI Control Register"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x300
line.long 0x00 "SDR0_PCI0,PCI Control Register"
bitfld.long 0x00 31. " PAE  ,PCI Arbiter Enable" "-,Enabled"
bitfld.long 0x00 30. "   PHCE ,PCI Host Configuration Enable" "-,Enabled"
bitfld.long 0x00 29. "  PAME ,PCI Asynchronous Mode Enable" "-,Enabled"
tree.end
;"PCI Control Register"
width 13.
endian.le
tree "PCI Bridge Registers"
group 0x00--0x2f "PMM (PCI Master Map)"
textline "PCIL0_PMM0:  PLB("
;    line.long 0x00+(0x10*0) "PCIL0_PMM0LA,PMM 0 Local Address Register"
hexmask.long 0x00+(0x10*0) 12.--31. 0x1000 "WLA ,Writable PLB Local Address"
hexmask.long 0x04+(0x10*0) 0.--31. 1.  "   MA ,PMM 0 Mask/Attribute Register"
hexmask.long 0x04+(0x10*0) 12.--31. 0x1000 "=(MASK ,Address Mask Bits"
bitfld.long  0x04+(0x10*0) 1. "  PRE ,Read Prefetching Enable" "-,On"
bitfld.long  0x04+(0x10*0) 0. "  ENA ,PLB to PCI Memory Mapping Enable" "-,Ena"
;    line.long 0x04 "PCIL0_PMM0MA,PMM 0 Mask/Attribute Register"
;        bitfld.long 0x04 31.  " MASK ,Address Mask Bit[31]" "0,1"
textfld ")) -> PCI("
hexmask.long 0x0c+(0x10*0) 00.--31. 1.      "High ,PMM 0 PCI High Address Register"
;    line.long 0x08 "PCIL0_PMM0PCILA,PMM 0 PCI Low Address Register"
hexmask.long 0x08+(0x10*0) 12.--31. 0x1000 "  WLA ,Writable PCI Low Address"
textfld ")"
;    line.long 0x0c "PCIL0_PMM0PCIHA,PMM 0 PCI High Address Register"
textline "PCIL0_PMM1:  PLB("
;    line.long 0x00+(0x10*1) "PCIL0_PMM1LA,PMM 1 Local Address Register"
hexmask.long 0x00+(0x10*1) 12.--31. 0x1000 "WLA ,Writable PLB Local Address"
hexmask.long 0x04+(0x10*1) 0.--31. 1.  "   MA ,PMM 1 Mask/Attribute Register"
hexmask.long 0x04+(0x10*1) 12.--31. 0x1000 "=(MASK ,Address Mask Bits"
bitfld.long  0x04+(0x10*1) 1. "  PRE ,Read Prefetching Enable" "-,On"
bitfld.long  0x04+(0x10*1) 0. "  ENA ,PLB to PCI Memory Mapping Enable" "-,Ena"
;    line.long 0x04 "PCIL0_PMM0MA,PMM 0 Mask/Attribute Register"
;        bitfld.long 0x04 31.  " MASK ,Address Mask Bit[31]" "0,1"
textfld ")) -> PCI("
hexmask.long 0x0c+(0x10*1) 00.--31. 1.      "High ,PMM 1 PCI High Address Register"
;    line.long 0x08 "PCIL0_PMM0PCILA,PMM 0 PCI Low Address Register"
hexmask.long 0x08+(0x10*1) 12.--31. 0x1000 "  WLA ,Writable PCI Low Address"
textfld ")"
;    line.long 0x0c "PCIL0_PMM0PCIHA,PMM 0 PCI High Address Register"
textline "PCIL0_PMM2:  PLB("
;    line.long 0x00+(0x10*2) "PCIL0_PMM2LA,PMM 2 Local Address Register"
hexmask.long 0x00+(0x10*2) 12.--31. 0x1000 "WLA ,Writable PLB Local Address"
hexmask.long 0x04+(0x10*2) 0.--31. 1.  "   MA ,PMM 2 Mask/Attribute Register"
hexmask.long 0x04+(0x10*2) 12.--31. 0x1000 "=(MASK ,Address Mask Bits"
bitfld.long  0x04+(0x10*2) 1. "  PRE ,Read Prefetching Enable" "-,On"
bitfld.long  0x04+(0x10*2) 0. "  ENA ,PLB to PCI Memory Mapping Enable" "-,Ena"
;    line.long 0x04 "PCIL0_PMM0MA,PMM 0 Mask/Attribute Register"
;        bitfld.long 0x04 31.  " MASK ,Address Mask Bit[31]" "0,1"
textfld ")) -> PCI("
hexmask.long 0x0c+(0x10*2) 00.--31. 1.      "High ,PMM 2 PCI High Address Register"
;    line.long 0x08 "PCIL0_PMM0PCILA,PMM 0 PCI Low Address Register"
hexmask.long 0x08+(0x10*2) 12.--31. 0x1000 "  WLA ,Writable PCI Low Address"
textfld ")"
;    line.long 0x0c "PCIL0_PMM0PCIHA,PMM 0 PCI High Address Register"
group 0x30--0x3f "PTM (PCI Target Map)"
textline "PCIL0_PTM1:"
hexmask.long 0x00+0 00.--31. 1. "  MS ,PTM 1 Memory Size/Attribute Register"
hexmask.long 0x00+0 12.--31. 0x1000 "=(MASK ,Address Mask Bits"
bitfld.long 0x00+0  0. "  ENA  ,Determines if Range 1 is Enabled to Map PCI Memory Space to PLB Space" "-,Ena"
textfld ")  LA "
hexmask.long 0x04+0 00.--31. 1. ",PTM 1 Local Address Register"
hexmask.long 0x04+0 12.--31. 0x1000 "=(WLA  ,Writable PTM 1 Local Address"
textfld ")"
textline "PCIL0_PTM2:"
hexmask.long 0x00+8 00.--31. 1. "  MS ,PTM 2 Memory Size/Attribute Register"
hexmask.long 0x00+8 12.--31. 0x1000 "=(MASK ,Address Mask Bits"
bitfld.long 0x00+8  0. "  ENA  ,Determines if Range 1 is Enabled to Map PCI Memory Space to PLB Space" "-,Ena"
textfld ")  LA "
hexmask.long 0x04+8 00.--31. 1. ",PTM 2 Local Address Register"
hexmask.long 0x04+8 12.--31. 0x1000 "=(WLA  ,Writable PTM 2 Local Address"
textfld ")"
tree.end
;"PCI Bridge Registers"
width 16.
tree.open "PCI Configuration Registers"
base ANC:0x1:0xEEC00000
;common PCI header
tree "Common Registers"
rgroup.long 0x4++0x03 
out 0x00 %l %le 0x80000000
line.word 0x00 "PCIC0_VENDID,PCI ID Register"
line.word 0x02 "PCIC0_DEVID ,PCI Device ID Register"
group.long 0x4++0x03
out 0x0 %l %le 0x80000004
line.word 0x00 "PCIC0_CMD,PCI Command Register"
bitfld.word 0x00 9. "     FBB  ,Fast Back-to-Back Write Enable" "-,Ena"
bitfld.word 0x00 8. "   SE   ,/PCISErr Enable" "-,Ena"
bitfld.word 0x00 7. "   AS   ,Address Stepping Wait States" "Low,High"
bitfld.word 0x00 6. " PER  ,Parity Error Response" "-,Ena"
bitfld.word 0x00 5. "  PS  ,Palette Snooping" "-,Ena"
textline "                         "
bitfld.word 0x00 4. " MWI  ,Memory Write and Invalidate Enable" "-,Ena"
bitfld.word 0x00 3. "   SC   ,Special Cycle Operations Enable" "-,Ena"
bitfld.word 0x00 2. "   ME   ,Master Enable" "-,Ena"
bitfld.word 0x00 1. "   MA  ,Memory Access" "-,Ena"
bitfld.word 0x00 0. "  IOA ,I/O Access" "Low,High"
rgroup.long 0x4++0x03
out 0x0 %l %le 0x80000004
line.word 0x02 "PCIC0_STATUS,PCI Status Register"
eventfld.word 0x02 15. "     DEPE ,Detected Parity Error" "-,Err"
eventfld.word 0x02 14. "   SSE  ,Signaled System Error" "-,Err"
eventfld.word 0x02 13. "   RMA  ,Received Master Abort" "-,Received"
eventfld.word 0x02 12. "  RTA  ,Received Target Abort" "-,Received"
eventfld.word 0x02 11. "  STA  ,Signaled Target Abort" "-,Signaled"
bitfld.word 0x02 9.--10. "  DST  ,/PCIDevSel Response Timing" "00,01,10,11"
textline "                         "
eventfld.word 0x02 8. " DPE  ,Data Parity Error Detected" "-,Err"
bitfld.word 0x02 7. "   FBBC ,Fast Back-to-Back Capable" "-,Cap"
bitfld.word 0x02 6. "   UDFS ,UDF Supported" "-,Support"
bitfld.word 0x02 5. "   66C  ,66 MHz Capable" "-,Capable"
bitfld.word 0x02 4. "   CL   ,Capabilities List" ",0x34"
group.long 0x4++0x03
out 0x0 %l %le 0x80000008
line.byte 0x00 "PCIC0_REVID,PCI Revision ID Register"
line.long 0x00 "PCIC0_CLS,PCI Class Register"
hexmask.long.byte 0x00 24.--31. 1. " BASE ,Base Class"
hexmask.long.byte 0x00  16.--23. 1. "    SUB  ,Subclass"
hexmask.long.byte 0x00  8.--15.  1. "    INT  ,Interface Class"
;        hexmask.long.byte 0x00 0.--7. 1. "     REV_ID  ,Revision level of device"
rgroup.long 0x4++0x03
out 0x0 %l %le 0x8000000C
line.byte 0x00 "PCIC0_CACHELS,PCI Cache Line Size Register"
group.long 0x4++0x03
out 0x0 %l %le 0x8000000c
line.byte 0x01 "PCIC0_LATTIM,PCI Latency Timer Register"
rgroup.long 0x4++0x03
out 0x0 %l %le 0x8000000c
line.byte 0x02 "PCIC0_HDTYPE,PCI Header Type Register"
rgroup.long 0x4++0x03
out 0x0 %l %le 0x8000000c
line.byte 0x03 "PCIC0_BIST,PCI Built In Self Test Control Register"
group.long 0x4++0x03
out 0x0 %l %le 0x80000014
line.long 0x00 "PCIC0_PTM1BAR,PCI PTM 1 BAR Register"
hexmask.long 0x00 12.--31. 0x1000 " BA  ,Base Address"
bitfld.long 0x00 3. "   PF    ,Prefetchable" "-,Allowed"
bitfld.long 0x00 1.--2. " LT ,Location Type" "00,01,10,11"
bitfld.long 0x00 0. " MSI ,Memory Space Indicator" "Memory,I/O"
group.long 0x4++0x03
out 0x0 %l %le 0x80000018
line.long 0x00 "PCIC0_PTM2BAR,PCI PTM 2 BAR Register"
hexmask.long 0x00 12.--31. 0x1000 " BA  ,Base Address"
bitfld.long 0x00 3. "   PF    ,Prefetchable" "-,Allowed"
bitfld.long 0x00 1.--2. " LT ,Location Type" "00,01,10,11"
bitfld.long 0x00 0. " MSI ,Memory Space Indicator" "Memory,I/O"
group.long 0x4++0x03
out 0x0 %l %le 0x8000002C
line.word 0x00 "PCIC0_SBSYSVID,PCI Subsystem Vendor ID Register"
line.word 0x02 "PCIC0_SBSYSID,PCI Subsystem ID Register"
rgroup.long 0x4++0x03
out 0x0 %l %le 0x80000034
line.byte 0x00 "PCIC0_CAP,PCI Capabilities Pointer Register"
group.long 0x4++0x03
out 0x0 %l %le 0x8000003C
line.byte 0x00 "PCIC0_INTLN,PCI Interrupt Line Register"
rgroup.long 0x4++0x03
out 0x0 %l %le 0x8000003C
line.byte 0x01 "PCIC0_INTPN,PCI Interrupt Pin Register"
line.byte 0x02 "PCIC0_MINGNT,PCI Minimum Grant Register"
line.byte 0x03 "PCIC0_MAXLTNCY,PCI Maximum Latency Register"
tree.end 
;"Common Header"
tree "Specific Registers"
group.long 0x4++0x03 
out 0x0 %l %le 0x80000044
line.byte 0x00 "PCIC0_ICS,PCI Interrupt Control/Status Register"
bitfld.byte 0x00 0. "     API    ,Assert PCI Interrupt" "-,Asserted"
group.long 0x4++0x03
out 0x0 %l %le 0x80000048
line.byte 0x00 "PCIC0_ERREN,Error Enable Register"
bitfld.byte 0x00 6. "     TAEE   ,Target Abort Error Enable" "-,Ena"
bitfld.byte 0x00 3. "  MEDE ,PLB Master Error Detection Enable" "-,Ena"
bitfld.byte 0x00 2. "  MEAE ,PLB Bus Error Assertion Enable" "-,Ena"
bitfld.byte 0x00 1. "  WDPE ,Write Data Parity /PCISErr Enable" "-,Ena"
bitfld.byte 0x00 0. "  MAEE ,Master Abort Error Enable" "-,Ena"
bitfld.byte 0x00 4.--5. "  MERE ,PLB Bus Error Response Enable" "No action,/PCISErr on the PCI bus,Aborted,/PCISErr and target aborted"
line.byte 0x01 "PCIC0_ERRSTS,Error Status Register"
bitfld.byte 0x01 4. "     SARME  ,/PCISErr Asserted on Received PLB Bus Error" "-,set"
bitfld.byte 0x01 3. "  MED  ,PLB Bus Error Detected" "-,Err"
bitfld.byte 0x01 2. "  MEAE ,PLB Bus Error Assertion Event" "-,Occ"
;    textline "                         "
bitfld.byte 0x01 1. "  WDPE ,/PCISerr on Write Data Parity Error" "-,Err"
bitfld.byte 0x01 0. "  PUR  ,PLB Unsupported Request" "-,Occurred"
line.word 0x02 "PCIC0_BRDGOPT1,PCI Bridge Options 1 Register"
hexmask.word.byte 0x02 8.--15. 1. "     PMLTCR ,PLB Master Latency Timer Count Register"
bitfld.word 0x02 7. "            PLESE ,PLB Lock Error Status Enable" "-,Ena"
bitfld.word 0x02 5.--6. "  PRP  ,PLB Request Priority" "Highest,Next highest,Next highest,Lowest"
bitfld.word 0x02 4. "  PGMAE ,PLB Guarded Memory Access Enable" "-,Enabled"
textline "                         "
bitfld.word 0x02 3. " PAPM  ,PCI Arbiter Park Mode" "Requester 0,Last master"
bitfld.word 0x02 1.--2. "   PTMRCI ,PCI Target Memory Read Command Interpretation" "MR,MR Line,MR multiples,Res"
bitfld.word 0x02 0. "            APLRM ,Atomic PLB Line Read Mode" "Low,High"
group.long 0x4++0x03
out 0x0 %l %le 0x8000004C
line.long 0x00 "PCIC0_PLBBESR0,PLB Slave Error Syndrome 0 Register"
bitfld.long 0x00 (29.-6*0)--(31.-6*0) " M0ET ,Master 0 Error Type" "-,Parity,res,res,res,Bank,res,res"
eventfld.long 0x00 (28.-6*0) "  M0RWS ,Master 0 Read/Write Status" "Write,Read"
eventfld.long 0x00 (27.-6*0) "  M0FL  ,Master 0 PCIC0_PLBBESR1 Field Lock" "-,Locked"
eventfld.long 0x00 (26.-6*0) "  M0AL  ,Master 0 PCIC0_PLBBEAR Address Lock" "-,Locked"
textline "                         "
bitfld.long 0x00 (29.-6*1)--(31.-6*1) " M1ET ,Master 1 Error Type" "-,Parity,res,res,res,Bank,res,res"
eventfld.long 0x00 (28.-6*1) "  M1RWS ,Master 1 Read/Write Status" "Write,Read"
eventfld.long 0x00 (27.-6*1) "  M1FL  ,Master 1 PCIC0_PLBBESR1 Field Lock" "-,Locked"
eventfld.long 0x00 (26.-6*1) "  M1AL  ,Master 1 PCIC0_PLBBEAR Address Lock" "-,Locked"
textline "                         "
bitfld.long 0x00 (29.-6*2)--(31.-6*2) " M2ET ,Master 2 Error Type" "-,Parity,res,res,res,Bank,res,res"
eventfld.long 0x00 (28.-6*2) "  M2RWS ,Master 2 Read/Write Status" "Write,Read"
eventfld.long 0x00 (27.-6*2) "  M2FL  ,Master 2 PCIC0_PLBBESR1 Field Lock" "-,Locked"
eventfld.long 0x00 (26.-6*2) "  M2AL  ,Master 2 PCIC0_PLBBEAR Address Lock" "-,Locked"
textline "                         "
bitfld.long 0x00 (29.-6*3)--(31.-6*3) " M3ET ,Master 3 Error Type" "-,Parity,res,res,res,Bank,res,res"
eventfld.long 0x00 (28.-6*3) "  M3RWS ,Master 3 Read/Write Status" "Write,Read"
eventfld.long 0x00 (27.-6*3) "  M3FL  ,Master 3 PCIC0_PLBBESR1 Field Lock" "-,Locked"
eventfld.long 0x00 (26.-6*3) "  M3AL  ,Master 3 PCIC0_PLBBEAR Address Lock" "-,Locked"
textline "                         "
group.long 0x4++0x03
out 0x0 %l %le 0x80000050
line.long 0x00 "PCIC0_PLBBESR1,PLB Slave Error Syndrome 1 Register"
bitfld.long 0x00 (29.-6*0)--(31.-6*0) " M4ET ,Master 4 Error Type" "-,Parity,res,res,res,Bank,res,res"
eventfld.long 0x00 (28.-6*0) "  M4RWS ,Master 4 Read/Write Status" "Write,Read"
eventfld.long 0x00 (27.-6*0) "  M4FL  ,Master 4 PCIC0_PLBBESR1 Field Lock" "-,Locked"
eventfld.long 0x00 (26.-6*0) "  M4AL  ,Master 4 PCIC0_PLBBEAR Address Lock" "-,Locked"
textline "                         "
bitfld.long 0x00 (29.-6*1)--(31.-6*1) " M5ET ,Master 5 Error Type" "-,Parity,res,res,res,Bank,res,res"
eventfld.long 0x00 (28.-6*1) "  M5RWS ,Master 5 Read/Write Status" "Write,Read"
eventfld.long 0x00 (27.-6*1) "  M5FL  ,Master 5 PCIC0_PLBBESR1 Field Lock" "-,Locked"
eventfld.long 0x00 (26.-6*1) "  M5AL  ,Master 5 PCIC0_PLBBEAR Address Lock" "-,Locked"
textline "                         "
bitfld.long 0x00 (29.-6*2)--(31.-6*2) " M6ET ,Master 6 Error Type" "-,Parity,res,res,res,Bank,res,res"
eventfld.long 0x00 (28.-6*2) "  M6RWS ,Master 6 Read/Write Status" "Write,Read"
eventfld.long 0x00 (27.-6*2) "  M6FL  ,Master 6 PCIC0_PLBBESR1 Field Lock" "-,Locked"
eventfld.long 0x00 (26.-6*2) "  M6AL  ,Master 6 PCIC0_PLBBEAR Address Lock" "-,Locked"
textline "                         "
bitfld.long 0x00 (29.-6*3)--(31.-6*3) " M7ET ,Master 7 Error Type" "-,Parity,res,res,res,Bank,res,res"
eventfld.long 0x00 (28.-6*3) "  M7RWS ,Master 7 Read/Write Status" "Write,Read"
eventfld.long 0x00 (27.-6*3) "  M7FL  ,Master 7 PCIC0_PLBBESR1 Field Lock" "-,Locked"
eventfld.long 0x00 (26.-6*3) "  M7AL  ,Master 7 PCIC0_PLBBEAR Address Lock" "-,Locked"
textline "                         "
group.long 0x4++0x03
out 0x0 %l %le 0x80000054
line.long 0x00 "PCIC0_PLBBEAR,PLB Slave Error Address Register"
rgroup.long 0x4++0x03
out 0x0 %l %le 0x80000058
line.byte 0x00 "PCIC0_CAPID,Capability Identifier Register"
line.byte 0x01 "PCIC0_NEXTIPTR,Next Item Pointer Register"
line.word 0x02 "PCIC0_PMC,Power Management Capabilities"
hexmask.word.byte 0x02 11.--15. 1. "     PMES   ,PME Support"
bitfld.word 0x02 10. "            D2S   ,D2 Support" "-,Supported"
bitfld.word 0x02 9. "      D1S    ,D1 Support" "-,Supported"
textline "                         "
bitfld.word 0x02 6.--8. " AUXCUR ,Auxiliary Current Support" "000,001,010,011,100,101,110,111"
bitfld.word 0x02 5. "           DSI   ,Device Specific Initialization" "-,Required"
bitfld.word 0x02 3. "       PMECLK ,PMECLK" "Low,High"
bitfld.word 0x02 0.--2. " VERS   ,VERS" "000,001,010,011,100,101,110,111"
group.long 0x4++0x03
out 0x0 %l %le 0x8000005C
line.word 0x00 "PCIC0_PMCSR,Power Management Control Status Register"
bitfld.word 0x00 15. "     PMEST  ,PMEST Support" "Not supported,Reserved"
bitfld.word 0x00 13.--14. " DSCAL ,DSCAL Support" "Not supported,Reserved,Reserved,Reserved"
bitfld.word 0x00 0.--1. "  PSTAT  ,Current Power State" "D0,D1,D2,D3 Hot"
textline "                         "
bitfld.word 0x00 8. " PMEEN  ,PMEEN" "Not supported,Reserved"
bitfld.word 0x00 9.--12. " DSEL  ,DSEL" "Not supported,?..."
rgroup.long 0x4++0x03
out 0x0 %l %le 0x8000005c
line.byte 0x02 "PCIC0_PMCSRBSE,PMCSR PCI-to-PCI Bridge Support Extensions Register"
line.byte 0x03 "PCIC0_DATA,PCI Data Register"
group.long 0x4++0x03
out 0x0 %l %le 0x80000060
line.word 0x00 "PCIC0_BRDGOPT2,PCI Bridge Options 2 Register"
bitfld.word 0x00 13. "     EWPCI  ,External Write to PCI Command Interrupt" "-,Written"
bitfld.word 0x00 12. "       DPR   ,Drive PCI Reset" "-,Reset"
bitfld.word 0x00 8.--11. "          PSTLTD ,Subsequent Target Latency Timer Duration" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "                         "
bitfld.word 0x00 2. " PDTD   ,PCI Discard Timer Disable" "Disabled,-"
bitfld.word 0x00 0. "      HCE   ,Host Configuration Enable" "-,Enabled"
group.long 0x4++0x03
out 0x0 %l %le 0x80000064
line.byte 0x00 "PCIC0_PMSCRR,Power Management State Change Request Register"
bitfld.byte 0x00 4. "     APW    ,Accept PCIC0_PMCSR Writes" "-,Accepted"
bitfld.byte 0x00 3. "      SCR   ,State Change Request" "-,Requested"
bitfld.byte 0x00 1.--2. "      REQST  ,Request State" "00,01,10,11"
bitfld.byte 0x00 0. " DWE    ,Delayed Write Enable" "Immediate,Delayed"
tree.end
;"Specific Header"
tree.end
;"PCI Configuration Registers"
endian.def
elif ((cpu()=="PPC440EPX")||(cpu()=="PPC440GRX"))
width 11.
tree.open "PCI Control Register"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x300
line.long 0x00 "SDR0_PCI0,PCI Control Register"
bitfld.long 0x00 31. " PAE  ,PCI Arbiter Enable" "-,Enabled"
bitfld.long 0x00 30. "   PHCE ,PCI Host Configuration Enable" "-,Enabled"
bitfld.long 0x00 29. "  PAME ,PCI Asynchronous Mode Enable" "-,Enabled"
tree.end
;"PCI Control Register"
width 13.
endian.le
tree "PCI Bridge Registers"
group 0x00--0x2f "PMM (PCI Master Map)"
textline "PCIL0_PMM0:  PLB("
;    line.long 0x00+(0x10*0) "PCIL0_PMM0LA,PMM 0 Local Address Register"
hexmask.long 0x00+(0x10*0) 12.--31. 0x1000 "WLA ,Writable PLB Local Address"
hexmask.long 0x04+(0x10*0) 0.--31. 1.  "   MA ,PMM 0 Mask/Attribute Register"
hexmask.long 0x04+(0x10*0) 12.--31. 0x1000 "=(MASK ,Address Mask Bits"
bitfld.long  0x04+(0x10*0) 1. "  PRE ,Read Prefetching Enable" "-,On"
bitfld.long  0x04+(0x10*0) 0. "  ENA ,PLB to PCI Memory Mapping Enable" "-,Ena"
;    line.long 0x04 "PCIL0_PMM0MA,PMM 0 Mask/Attribute Register"
;        bitfld.long 0x04 31.  " MASK ,Address Mask Bit[31]" "0,1"
textfld ")) -> PCI("
hexmask.long 0x0c+(0x10*0) 00.--31. 1.      "High ,PMM 0 PCI High Address Register"
;    line.long 0x08 "PCIL0_PMM0PCILA,PMM 0 PCI Low Address Register"
hexmask.long 0x08+(0x10*0) 12.--31. 0x1000 "  WLA ,Writable PCI Low Address"
textfld ")"
;    line.long 0x0c "PCIL0_PMM0PCIHA,PMM 0 PCI High Address Register"
textline "PCIL0_PMM1:  PLB("
;    line.long 0x00+(0x10*1) "PCIL0_PMM1LA,PMM 1 Local Address Register"
hexmask.long 0x00+(0x10*1) 12.--31. 0x1000 "WLA ,Writable PLB Local Address"
hexmask.long 0x04+(0x10*1) 0.--31. 1.  "   MA ,PMM 1 Mask/Attribute Register"
hexmask.long 0x04+(0x10*1) 12.--31. 0x1000 "=(MASK ,Address Mask Bits"
bitfld.long  0x04+(0x10*1) 1. "  PRE ,Read Prefetching Enable" "-,On"
bitfld.long  0x04+(0x10*1) 0. "  ENA ,PLB to PCI Memory Mapping Enable" "-,Ena"
;    line.long 0x04 "PCIL0_PMM0MA,PMM 0 Mask/Attribute Register"
;        bitfld.long 0x04 31.  " MASK ,Address Mask Bit[31]" "0,1"
textfld ")) -> PCI("
hexmask.long 0x0c+(0x10*1) 00.--31. 1.      "High ,PMM 1 PCI High Address Register"
;    line.long 0x08 "PCIL0_PMM0PCILA,PMM 0 PCI Low Address Register"
hexmask.long 0x08+(0x10*1) 12.--31. 0x1000 "  WLA ,Writable PCI Low Address"
textfld ")"
;    line.long 0x0c "PCIL0_PMM0PCIHA,PMM 0 PCI High Address Register"
textline "PCIL0_PMM2:  PLB("
;    line.long 0x00+(0x10*2) "PCIL0_PMM2LA,PMM 2 Local Address Register"
hexmask.long 0x00+(0x10*2) 12.--31. 0x1000 "WLA ,Writable PLB Local Address"
hexmask.long 0x04+(0x10*2) 0.--31. 1.  "   MA ,PMM 2 Mask/Attribute Register"
hexmask.long 0x04+(0x10*2) 12.--31. 0x1000 "=(MASK ,Address Mask Bits"
bitfld.long  0x04+(0x10*2) 1. "  PRE ,Read Prefetching Enable" "-,On"
bitfld.long  0x04+(0x10*2) 0. "  ENA ,PLB to PCI Memory Mapping Enable" "-,Ena"
;    line.long 0x04 "PCIL0_PMM0MA,PMM 0 Mask/Attribute Register"
;        bitfld.long 0x04 31.  " MASK ,Address Mask Bit[31]" "0,1"
textfld ")) -> PCI("
hexmask.long 0x0c+(0x10*2) 00.--31. 1.      "High ,PMM 2 PCI High Address Register"
;    line.long 0x08 "PCIL0_PMM0PCILA,PMM 0 PCI Low Address Register"
hexmask.long 0x08+(0x10*2) 12.--31. 0x1000 "  WLA ,Writable PCI Low Address"
textfld ")"
;    line.long 0x0c "PCIL0_PMM0PCIHA,PMM 0 PCI High Address Register"
group 0x30--0x3f "PTM (PCI Target Map)"
textline "PCIL0_PTM1:"
hexmask.long 0x00+0 00.--31. 1. "  MS ,PTM 1 Memory Size/Attribute Register"
hexmask.long 0x00+0 12.--31. 0x1000 "=(MASK ,Address Mask Bits"
bitfld.long 0x00+0  0. "  ENA  ,Determines if Range 1 is Enabled to Map PCI Memory Space to PLB Space" "-,Ena"
textfld ")  LA "
hexmask.long 0x04+0 00.--31. 1. ",PTM 1 Local Address Register"
hexmask.long 0x04+0 12.--31. 0x1000 "=(WLA  ,Writable PTM 1 Local Address"
textfld ")"
textline "PCIL0_PTM2:"
hexmask.long 0x00+8 00.--31. 1. "  MS ,PTM 2 Memory Size/Attribute Register"
hexmask.long 0x00+8 12.--31. 0x1000 "=(MASK ,Address Mask Bits"
bitfld.long 0x00+8  0. "  ENA  ,Determines if Range 1 is Enabled to Map PCI Memory Space to PLB Space" "-,Ena"
textfld ")  LA "
hexmask.long 0x04+8 00.--31. 1. ",PTM 2 Local Address Register"
hexmask.long 0x04+8 12.--31. 0x1000 "=(WLA  ,Writable PTM 2 Local Address"
textfld ")"
tree.end
;"PCI Bridge Registers"
width 16.
tree.open "PCI Configuration Registers"
base ANC:0x1:0xEEC00000
;common PCI header
tree "Common Registers"
rgroup.long 0x4++0x03 
out 0x00 %l %le 0x80000000
line.word 0x00 "PCIC0_VENDID,PCI ID Register"
line.word 0x02 "PCIC0_DEVID ,PCI Device ID Register"
group.long 0x4++0x03
out 0x0 %l %le 0x80000004
line.word 0x00 "PCIC0_CMD,PCI Command Register"
bitfld.word 0x00 9. "     FBB  ,Fast Back-to-Back Write Enable" "-,Ena"
bitfld.word 0x00 8. "   SE   ,/PCISErr Enable" "-,Ena"
bitfld.word 0x00 7. "   AS   ,Address Stepping Wait States" "Low,High"
bitfld.word 0x00 6. " PER  ,Parity Error Response" "-,Ena"
bitfld.word 0x00 5. "  PS  ,Palette Snooping" "-,Ena"
textline "                         "
bitfld.word 0x00 4. " MWI  ,Memory Write and Invalidate Enable" "-,Ena"
bitfld.word 0x00 3. "   SC   ,Special Cycle Operations Enable" "-,Ena"
bitfld.word 0x00 2. "   ME   ,Master Enable" "-,Ena"
bitfld.word 0x00 1. "   MA  ,Memory Access" "-,Ena"
bitfld.word 0x00 0. "  IOA ,I/O Access" "Low,High"
rgroup.long 0x4++0x03
out 0x0 %l %le 0x80000004
line.word 0x02 "PCIC0_STATUS,PCI Status Register"
eventfld.word 0x02 15. "     DEPE ,Detected Parity Error" "-,Err"
eventfld.word 0x02 14. "   SSE  ,Signaled System Error" "-,Err"
eventfld.word 0x02 13. "   RMA  ,Received Master Abort" "-,Received"
eventfld.word 0x02 12. "  RTA  ,Received Target Abort" "-,Received"
eventfld.word 0x02 11. "  STA  ,Signaled Target Abort" "-,Signaled"
bitfld.word 0x02 9.--10. "  DST  ,/PCIDevSel Response Timing" "00,01,10,11"
textline "                         "
eventfld.word 0x02 8. " DPE  ,Data Parity Error Detected" "-,Err"
bitfld.word 0x02 7. "   FBBC ,Fast Back-to-Back Capable" "-,Cap"
bitfld.word 0x02 6. "   UDFS ,UDF Supported" "-,Support"
bitfld.word 0x02 5. "   66C  ,66 MHz Capable" "-,Capable"
bitfld.word 0x02 4. "   CL   ,Capabilities List" ",0x34"
group.long 0x4++0x03
out 0x0 %l %le 0x80000008
line.byte 0x00 "PCIC0_REVID,PCI Revision ID Register"
line.long 0x00 "PCIC0_CLS,PCI Class Register"
hexmask.long.byte 0x00 24.--31. 1. " BASE ,Base Class"
hexmask.long.byte 0x00  16.--23. 1. "    SUB  ,Subclass"
hexmask.long.byte 0x00  8.--15.  1. "    INT  ,Interface Class"
;        hexmask.long.byte 0x00 0.--7. 1. "     REV_ID  ,Revision level of device"
rgroup.long 0x4++0x03
out 0x0 %l %le 0x8000000C
line.byte 0x00 "PCIC0_CACHELS,PCI Cache Line Size Register"
group.long 0x4++0x03
out 0x0 %l %le 0x8000000c
line.byte 0x01 "PCIC0_LATTIM,PCI Latency Timer Register"
rgroup.long 0x4++0x03
out 0x0 %l %le 0x8000000c
line.byte 0x02 "PCIC0_HDTYPE,PCI Header Type Register"
rgroup.long 0x4++0x03
out 0x0 %l %le 0x8000000c
line.byte 0x03 "PCIC0_BIST,PCI Built In Self Test Control Register"
group.long 0x4++0x03
out 0x0 %l %le 0x80000014
line.long 0x00 "PCIC0_PTM1BAR,PCI PTM 1 BAR Register"
hexmask.long 0x00 12.--31. 0x1000 " BA  ,Base Address"
bitfld.long 0x00 3. "   PF    ,Prefetchable" "-,Allowed"
bitfld.long 0x00 1.--2. " LT ,Location Type" "00,01,10,11"
bitfld.long 0x00 0. " MSI ,Memory Space Indicator" "Memory,I/O"
group.long 0x4++0x03
out 0x0 %l %le 0x80000018
line.long 0x00 "PCIC0_PTM2BAR,PCI PTM 2 BAR Register"
hexmask.long 0x00 12.--31. 0x1000 " BA  ,Base Address"
bitfld.long 0x00 3. "   PF    ,Prefetchable" "-,Allowed"
bitfld.long 0x00 1.--2. " LT ,Location Type" "00,01,10,11"
bitfld.long 0x00 0. " MSI ,Memory Space Indicator" "Memory,I/O"
group.long 0x4++0x03
out 0x0 %l %le 0x8000002C
line.word 0x00 "PCIC0_SBSYSVID,PCI Subsystem Vendor ID Register"
line.word 0x02 "PCIC0_SBSYSID,PCI Subsystem ID Register"
rgroup.long 0x4++0x03
out 0x0 %l %le 0x80000034
line.byte 0x00 "PCIC0_CAP,PCI Capabilities Pointer Register"
group.long 0x4++0x03
out 0x0 %l %le 0x8000003C
line.byte 0x00 "PCIC0_INTLN,PCI Interrupt Line Register"
rgroup.long 0x4++0x03
out 0x0 %l %le 0x8000003C
line.byte 0x01 "PCIC0_INTPN,PCI Interrupt Pin Register"
line.byte 0x02 "PCIC0_MINGNT,PCI Minimum Grant Register"
line.byte 0x03 "PCIC0_MAXLTNCY,PCI Maximum Latency Register"
tree.end 
;"Common Header"
tree "Specific Registers"
group.long 0x4++0x03 
out 0x0 %l %le 0x80000044
line.byte 0x00 "PCIC0_ICS,PCI Interrupt Control/Status Register"
bitfld.byte 0x00 0. "     API    ,Assert PCI Interrupt" "-,Asserted"
group.long 0x4++0x03
out 0x0 %l %le 0x80000048
line.byte 0x00 "PCIC0_ERREN,Error Enable Register"
bitfld.byte 0x00 6. "     TAEE   ,Target Abort Error Enable" "-,Ena"
bitfld.byte 0x00 3. "  MEDE ,PLB Master Error Detection Enable" "-,Ena"
bitfld.byte 0x00 2. "  MEAE ,PLB Bus Error Assertion Enable" "-,Ena"
bitfld.byte 0x00 1. "  WDPE ,Write Data Parity /PCISErr Enable" "-,Ena"
bitfld.byte 0x00 0. "  MAEE ,Master Abort Error Enable" "-,Ena"
bitfld.byte 0x00 4.--5. "  MERE ,PLB Bus Error Response Enable" "No action,/PCISErr on the PCI bus,Aborted,/PCISErr and target aborted"
line.byte 0x01 "PCIC0_ERRSTS,Error Status Register"
bitfld.byte 0x01 4. "     SARME  ,/PCISErr Asserted on Received PLB Bus Error" "-,set"
bitfld.byte 0x01 3. "  MED  ,PLB Bus Error Detected" "-,Err"
bitfld.byte 0x01 2. "  MEAE ,PLB Bus Error Assertion Event" "-,Occ"
;    textline "                         "
bitfld.byte 0x01 1. "  WDPE ,/PCISerr on Write Data Parity Error" "-,Err"
bitfld.byte 0x01 0. "  PUR  ,PLB Unsupported Request" "-,Occurred"
line.word 0x02 "PCIC0_BRDGOPT1,PCI Bridge Options 1 Register"
hexmask.word.byte 0x02 8.--15. 1. "     PMLTCR ,PLB Master Latency Timer Count Register"
bitfld.word 0x02 7. "            PLESE ,PLB Lock Error Status Enable" "-,Ena"
bitfld.word 0x02 5.--6. "  PRP  ,PLB Request Priority" "Highest,Next highest,Next highest,Lowest"
bitfld.word 0x02 4. "  PGMAE ,PLB Guarded Memory Access Enable" "-,Enabled"
textline "                         "
bitfld.word 0x02 3. " PAPM  ,PCI Arbiter Park Mode" "Requester 0,Last master"
bitfld.word 0x02 1.--2. "   PTMRCI ,PCI Target Memory Read Command Interpretation" "MR,MR Line,MR multiples,Res"
bitfld.word 0x02 0. "            APLRM ,Atomic PLB Line Read Mode" "Low,High"
group.long 0x4++0x03
out 0x0 %l %le 0x8000004C
line.long 0x00 "PCIC0_PLBBESR0,PLB Slave Error Syndrome 0 Register"
bitfld.long 0x00 (29.-6*0)--(31.-6*0) " M0ET ,Master 0 Error Type" "-,Parity,res,res,res,Bank,res,res"
eventfld.long 0x00 (28.-6*0) "  M0RWS ,Master 0 Read/Write Status" "Write,Read"
eventfld.long 0x00 (27.-6*0) "  M0FL  ,Master 0 PCIC0_PLBBESR1 Field Lock" "-,Locked"
eventfld.long 0x00 (26.-6*0) "  M0AL  ,Master 0 PCIC0_PLBBEAR Address Lock" "-,Locked"
textline "                         "
bitfld.long 0x00 (29.-6*1)--(31.-6*1) " M1ET ,Master 1 Error Type" "-,Parity,res,res,res,Bank,res,res"
eventfld.long 0x00 (28.-6*1) "  M1RWS ,Master 1 Read/Write Status" "Write,Read"
eventfld.long 0x00 (27.-6*1) "  M1FL  ,Master 1 PCIC0_PLBBESR1 Field Lock" "-,Locked"
eventfld.long 0x00 (26.-6*1) "  M1AL  ,Master 1 PCIC0_PLBBEAR Address Lock" "-,Locked"
textline "                         "
bitfld.long 0x00 (29.-6*2)--(31.-6*2) " M2ET ,Master 2 Error Type" "-,Parity,res,res,res,Bank,res,res"
eventfld.long 0x00 (28.-6*2) "  M2RWS ,Master 2 Read/Write Status" "Write,Read"
eventfld.long 0x00 (27.-6*2) "  M2FL  ,Master 2 PCIC0_PLBBESR1 Field Lock" "-,Locked"
eventfld.long 0x00 (26.-6*2) "  M2AL  ,Master 2 PCIC0_PLBBEAR Address Lock" "-,Locked"
textline "                         "
bitfld.long 0x00 (29.-6*3)--(31.-6*3) " M3ET ,Master 3 Error Type" "-,Parity,res,res,res,Bank,res,res"
eventfld.long 0x00 (28.-6*3) "  M3RWS ,Master 3 Read/Write Status" "Write,Read"
eventfld.long 0x00 (27.-6*3) "  M3FL  ,Master 3 PCIC0_PLBBESR1 Field Lock" "-,Locked"
eventfld.long 0x00 (26.-6*3) "  M3AL  ,Master 3 PCIC0_PLBBEAR Address Lock" "-,Locked"
textline "                         "
group.long 0x4++0x03
out 0x0 %l %le 0x80000050
line.long 0x00 "PCIC0_PLBBESR1,PLB Slave Error Syndrome 1 Register"
bitfld.long 0x00 (29.-6*0)--(31.-6*0) " M4ET ,Master 4 Error Type" "-,Parity,res,res,res,Bank,res,res"
eventfld.long 0x00 (28.-6*0) "  M4RWS ,Master 4 Read/Write Status" "Write,Read"
eventfld.long 0x00 (27.-6*0) "  M4FL  ,Master 4 PCIC0_PLBBESR1 Field Lock" "-,Locked"
eventfld.long 0x00 (26.-6*0) "  M4AL  ,Master 4 PCIC0_PLBBEAR Address Lock" "-,Locked"
textline "                         "
bitfld.long 0x00 (29.-6*1)--(31.-6*1) " M5ET ,Master 5 Error Type" "-,Parity,res,res,res,Bank,res,res"
eventfld.long 0x00 (28.-6*1) "  M5RWS ,Master 5 Read/Write Status" "Write,Read"
eventfld.long 0x00 (27.-6*1) "  M5FL  ,Master 5 PCIC0_PLBBESR1 Field Lock" "-,Locked"
eventfld.long 0x00 (26.-6*1) "  M5AL  ,Master 5 PCIC0_PLBBEAR Address Lock" "-,Locked"
textline "                         "
bitfld.long 0x00 (29.-6*2)--(31.-6*2) " M6ET ,Master 6 Error Type" "-,Parity,res,res,res,Bank,res,res"
eventfld.long 0x00 (28.-6*2) "  M6RWS ,Master 6 Read/Write Status" "Write,Read"
eventfld.long 0x00 (27.-6*2) "  M6FL  ,Master 6 PCIC0_PLBBESR1 Field Lock" "-,Locked"
eventfld.long 0x00 (26.-6*2) "  M6AL  ,Master 6 PCIC0_PLBBEAR Address Lock" "-,Locked"
textline "                         "
bitfld.long 0x00 (29.-6*3)--(31.-6*3) " M7ET ,Master 7 Error Type" "-,Parity,res,res,res,Bank,res,res"
eventfld.long 0x00 (28.-6*3) "  M7RWS ,Master 7 Read/Write Status" "Write,Read"
eventfld.long 0x00 (27.-6*3) "  M7FL  ,Master 7 PCIC0_PLBBESR1 Field Lock" "-,Locked"
eventfld.long 0x00 (26.-6*3) "  M7AL  ,Master 7 PCIC0_PLBBEAR Address Lock" "-,Locked"
textline "                         "
group.long 0x4++0x03
out 0x0 %l %le 0x80000054
line.long 0x00 "PCIC0_PLBBEAR,PLB Slave Error Address Register"
rgroup.long 0x4++0x03
out 0x0 %l %le 0x80000058
line.byte 0x00 "PCIC0_CAPID,Capability Identifier Register"
line.byte 0x01 "PCIC0_NEXTIPTR,Next Item Pointer Register"
line.word 0x02 "PCIC0_PMC,Power Management Capabilities"
hexmask.word.byte 0x02 11.--15. 1. "     PMES   ,PME Support"
bitfld.word 0x02 10. "            D2S   ,D2 Support" "-,Supported"
bitfld.word 0x02 9. "      D1S    ,D1 Support" "-,Supported"
textline "                         "
bitfld.word 0x02 6.--8. " AUXCUR ,Auxiliary Current Support" "000,001,010,011,100,101,110,111"
bitfld.word 0x02 5. "           DSI   ,Device Specific Initialization" "-,Required"
bitfld.word 0x02 3. "       PMECLK ,PMECLK" "Low,High"
bitfld.word 0x02 0.--2. " VERS   ,VERS" "000,001,010,011,100,101,110,111"
group.long 0x4++0x03
out 0x0 %l %le 0x8000005C
line.word 0x00 "PCIC0_PMCSR,Power Management Control Status Register"
bitfld.word 0x00 15. "     PMEST  ,PMEST Support" "Not supported,Reserved"
bitfld.word 0x00 13.--14. " DSCAL ,DSCAL Support" "Not supported,Reserved,Reserved,Reserved"
bitfld.word 0x00 0.--1. "  PSTAT  ,Current Power State" "D0,D1,D2,D3 Hot"
textline "                         "
bitfld.word 0x00 8. " PMEEN  ,PMEEN" "Not supported,Reserved"
bitfld.word 0x00 9.--12. " DSEL  ,DSEL" "Not supported,?..."
rgroup.long 0x4++0x03
out 0x0 %l %le 0x8000005c
line.byte 0x02 "PCIC0_PMCSRBSE,PMCSR PCI-to-PCI Bridge Support Extensions Register"
line.byte 0x03 "PCIC0_DATA,PCI Data Register"
group.long 0x4++0x03
out 0x0 %l %le 0x80000060
line.word 0x00 "PCIC0_BRDGOPT2,PCI Bridge Options 2 Register"
bitfld.word 0x00 13. "     EWPCI  ,External Write to PCI Command Interrupt" "-,Written"
bitfld.word 0x00 12. "       DPR   ,Drive PCI Reset" "-,Reset"
bitfld.word 0x00 8.--11. "          PSTLTD ,Subsequent Target Latency Timer Duration" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "                         "
bitfld.word 0x00 2. " PDTD   ,PCI Discard Timer Disable" "Disabled,-"
bitfld.word 0x00 0. "      HCE   ,Host Configuration Enable" "-,Enabled"
group.long 0x4++0x03
out 0x0 %l %le 0x80000064
line.byte 0x00 "PCIC0_PMSCRR,Power Management State Change Request Register"
bitfld.byte 0x00 4. "     APW    ,Accept PCIC0_PMCSR Writes" "-,Accepted"
bitfld.byte 0x00 3. "      SCR   ,State Change Request" "-,Requested"
bitfld.byte 0x00 1.--2. "      REQST  ,Request State" "00,01,10,11"
bitfld.byte 0x00 0. " DWE    ,Delayed Write Enable" "Immediate,Delayed"
tree.end
;"Specific Header"
tree.end
;"PCI Configuration Registers"
endian.def
elif (cpu()=="PPC440EP")
base ANC:0x0:0xEEC00000
;PCI - Peripheral Component Interconnect Interface
width 0x11
tree "PCI Configuration Registers"
group.long 0x4++0x03
out 0x0 %l %le 0x80000000
line.word 0x00 "PCIC0_VENDID,PCI Vendor ID"
line.word 0x02 "PCIC0_DEVID,PCI Device ID"
group.long 0x4++0x03
out 0x0 %l %le 0x80000004
line.word 0x00 "PCIC0_CMD,PCI Command Register"
bitfld.word 0x00 9. "     FBB    ,Fast Back-to-Back Write Enable" "-,Enabled"
bitfld.word 0x00 8. "        SE     ,PCISErr Enable" "-,Enabled"
bitfld.word 0x00 7. "        AS     ,Address stepping wait states" "Low,High"
bitfld.word 0x00 6. "           PER    ,Parity error response" "-,Enabled"
textline "                          "
bitfld.word 0x00 5. " PS     ,Palette Snooping" "-,Enabled"
bitfld.word 0x00 4. "        MWI    ,Memory Write and Invalidate Enable" "-,Enabled"
bitfld.word 0x00 3. "        SC     ,Special Cycle Operations Enable" "-,Enabled"
bitfld.word 0x00 2. "        ME     ,Master Enable" "-,Enabled"
textline "                          "
bitfld.word 0x00 1. " MA     ,Memory Access" "-,Enabled"
bitfld.word 0x00 0. "        IOA    ,I/O Access" "Low,High"
line.word 0x02 "PCIC0_STATUS,PCI Status Register"
eventfld.word 0x02 15. "     DEPE   ,Detected Parity Error" "-,Error"
eventfld.word 0x02 14. "          SSE    ,Signaled System Error" "-,Error"
eventfld.word 0x02 13. "          RMA    ,Received Master Abort" "No abort,Abort"
eventfld.word 0x02 12. "       RTA    ,Received Target Abort" "No abort,Abort"
textline "                          "
eventfld.word 0x02 11. " STA    ,Signaled Target Abort" "No abort,Abort"
bitfld.word 0x02 9.--10. "       DST    ,PCIDevSel Response Timing" "00,01,10,11"
eventfld.word 0x02 8. "             DPE    ,Data Parity Error Detected" "-,Error"
bitfld.word 0x02 7. "          FBBC   ,Fast Back-to-Back Capable" "-,Enabled"
textline "                          "
bitfld.word 0x02 6. " UDFS   ,UDF Supported" "-,Enabled"
bitfld.word 0x02 5. "        66C    ,66 MHz Capable" "-,Enabled"
bitfld.word 0x02 4. "        CL     ,Capabilities List" "Low,High"
group.long 0x4++0x03
out 0x0 %l %le 0x80000008
line.long 0x00 "PCIC0_REVID/CLS,PCI Revision ID/PCI Class Register"
hexmask.long.byte 0x00 24.--31. 1. " BASE   ,Base Class"
hexmask.long.byte 0x00 16.--23. 1. "             SUB    ,Subclass"
hexmask.long.byte 0x00 8.--15. 1. "             INT    ,Interface Class"
hexmask.long.byte 0x00 0.--7. 1. "             REV_ID ,Revision level of device"
group.long 0x4++0x03
out 0x0 %l %le 0x8000000C
line.byte 0x00 "PCIC0_CACHELS,PCI Cache Line Size"
line.byte 0x01 "PCIC0_LATTIM,PCI Latency Timer"
line.byte 0x02 "PCIC0_HDTYPE,PCI Header Type"
line.byte 0x03 "PCIC0_BIST,PCI Built In Self Test Control"
group.long 0x4++0x03
out 0x0 %l %le 0x80000014
line.long 0x00 "PCIC0_PTM1BAR,PCI PTM 1 BAR"
hexmask.long 0x00 12.--31. 0x1000 " BA     ,Base Address"
hexmask.long.byte 0x00 4.--11. 1. "       BAZ    ,Base Address Always Zero"
bitfld.long 0x00 3. "             PF     ,Prefetchable" "Not allowed,Allowed"
bitfld.long 0x00 1.--2. "    LT     ,Location Type" "00,01,10,11"
textline "                          "
bitfld.long 0x00 0. " MSI    ,Memory Space Indicator" "Memory,I/O"
group.long 0x4++0x03
out 0x0 %l %le 0x80000018
line.long 0x00 "PCIC0_PTM2BAR,PCI PTM 2 BAR"
hexmask.long 0x00 12.--31. 0x1000 " BA     ,Base Address"
hexmask.long.byte 0x00 4.--11. 1. "       BAZ    ,Base Address Always Zero"
bitfld.long 0x00 3. "             PF     ,Prefetchable" "Not allowed,Allowed"
bitfld.long 0x00 1.--2. "    LT     ,Location Type" "00,01,10,11"
textline "                          "
bitfld.long 0x00 0. " MSI    ,Memory Space Indicator" "Memory,I/O"
group.long 0x4++0x03
out 0x0 %l %le 0x8000002C
line.word 0x00 "PCIC0_SBSYSVID,PCI Subsystem Vendor ID"
line.word 0x02 "PCIC0_SBSYSID,PCI Subsystem ID"
rgroup.long 0x4++0x03
out 0x0 %l %le 0x80000034
line.byte 0x00 "PCIC0_CAP,PCI Capabilities Pointer"
group.long 0x4++0x03
out 0x0 %l %le 0x8000003C
line.byte 0x00 "PCIC0_INTLN,PCI Interrupt Line"
line.byte 0x01 "PCIC0_INTPN,PCI Interrupt Pin"
line.byte 0x02 "PCIC0_MINGNT,PCI Minimum Grant"
line.byte 0x03 "PCIC0_MAXLTNCY,PCI Maximum Latency"
group.long 0x4++0x03
out 0x0 %l %le 0x80000044
line.byte 0x00 "PCIC0_ICS,PCI Interrupt Control/Status"
bitfld.byte 0x00 0. "     API    ,Assert PCI interrupt" "No assert,Assert"
group.long 0x4++0x03
out 0x0 %l %le 0x80000048
line.byte 0x00 "PCIC0_ERREN,Error Enable"
bitfld.byte 0x00 6. "     TAEE   ,Target Abort Error Enable" "-,Enabled"
bitfld.byte 0x00 4.--5. "        MERE   ,PLB Bus Error Response Enable" "No action is taken,The PCI target should drive PCISErr on the PCI bus,Target should target abort the offending read,Indicates the PCI target should drive PCISErr and target abort"
textline "                          "
bitfld.byte 0x00 3. " MEDE   ,PLB Master Error Detection Enable" "-,Enabled"
bitfld.byte 0x00 2. "        MEAE   ,PLB Bus Error Assertion Enable" "-,Enabled"
bitfld.byte 0x00 1. "        WDPE   ,Write Data Parity PCISErr Enable" "-,Enabled"
bitfld.byte 0x00 0. "        MAEE   ,Master Abort Error Enable" "-,Enabled"
line.byte 0x01 "PCIC0_ERRSTS,Error Status"
bitfld.byte 0x01 4. "     SARME  ,PCISErr Asserted on Received PLB Bus Error" "Not asserted,Asserted"
bitfld.byte 0x01 3. "   MED    ,PLB Bus Error Detected" "-,Error"
bitfld.byte 0x01 2. "          MEAE   ,PLB Bus Error Assertion Event" "-,Occurred"
bitfld.byte 0x01 1. "       WDPE   ,PCISerr on Write Data Parity Error" "-,Error"
textline "                          "
bitfld.byte 0x01 0. " PUR    ,PLB Unsupported Request" "-,Occurred"
line.word 0x02 "PCIC0_BRDGOPT1,PCI Bridge Options 1"
hexmask.word.byte 0x02 8.--15. 1. "     PMLTCR ,PLB Master Latency Timer Count Register"
bitfld.word 0x02 7. "             PLESE  ,PLB Lock Error Status Enable" "-,Enabled"
bitfld.word 0x02 5.--6. "        PRP    ,PLB Request Priority" "Highest,Next highest,Next highest,Lowest"
bitfld.word 0x02 4. "   PGMAE  ,PLB Guarded Memory Access Enable" "-,Enabled"
textline "                          "
bitfld.word 0x02 3. " PAPM   ,PCI Arbiter Park Mode" "Requester 0,Last master"
bitfld.word 0x02 1.--2. "    PTMRCI ,PCI Target Memory Read Command Interpretation" "MR,MR Line,MR multiples,Reserved"
bitfld.word 0x02 0. "   APLRM  ,Atomic PLB Line Read Mode" "Low,High"
group.long 0x4++0x03
out 0x0 %l %le 0x8000004C
line.long 0x00 "PCIC0_PLBBESR0,PLB Slave Error Syndrome 0"
bitfld.long 0x00 29.--31. " M0ET   ,Master 0 Error Type" "-,Parity Error,Reserved,Reserved,Reserved,Bank Error,Reserved,Reserved"
bitfld.long 0x00 28. "   M0RWS  ,Master 0 Read/Write Status" "Write,Read"
bitfld.long 0x00 27. "          M0FL   ,Master 0 PCIC0_PLBBESR0 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 26. "       M0AL   ,Master 0 PCIC0_PLBBEAR Address Lock" "Unlocked,Locked"
textline "                          "
bitfld.long 0x00 23.--25. " M1ET   ,Master 1 Error Type" "-,Parity Error,Reserved,Reserved,Reserved,Bank Error,Reserved,Reserved"
bitfld.long 0x00 22. "   M1RWS  ,Master 1 Read/Write Status" "Write,Read"
bitfld.long 0x00 21. "          M1FL   ,Master 1 PCIC0_PLBBESR0 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 20. "       M1AL   ,Master 1 PCIC0_PLBBEAR Address Lock" "Unlocked,Locked"
textline "                          "
bitfld.long 0x00 17.--19. " M2ET   ,Master 2 Error Type" "-,Parity Error,Reserved,Reserved,Reserved,Bank Error,Reserved,Reserved"
bitfld.long 0x00 16. "   M2RWS  ,Master 2 Read/Write Status" "Write,Read"
bitfld.long 0x00 15. "          M2FL   ,Master 2 PCIC0_PLBBESR0 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 14. "       M2AL   ,Master 2 PCIC0_PLBBEAR Address Lock" "Unlocked,Locked"
textline "                          "
bitfld.long 0x00 11.--13. " M3ET   ,Master 3 Error Type" "-,Parity Error,Reserved,Reserved,Reserved,Bank Error,Reserved,Reserved"
bitfld.long 0x00 10. "   M3RWS  ,Master 3 Read/Write Status" "Write,Read"
bitfld.long 0x00 9. "          M3FL   ,Master 3 PCIC0_PLBBESR0 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 8. "       M3AL   ,Master 3 PCIC0_PLBBEAR Address Lock" "Unlocked,Locked"
group.long 0x4++0x03
out 0x0 %l %le 0x80000050
line.long 0x00 "PCIC0_PLBBESR1,PLB Slave Error Syndrome 1"
bitfld.long 0x00 29.--31. " M4ET   ,Master 4 Error Type" "-,Parity Error,Reserved,Reserved,Reserved,Bank Error,Reserved,Reserved"
bitfld.long 0x00 28. "   M4RWS  ,Master 4 Read/Write Status" "Write,Read"
bitfld.long 0x00 27. "          M4FL   ,Master 4 PCIC0_PLBBESR1 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 26. "       M4AL   ,Master 4 PCIC0_PLBBEAR Address Lock" "Unlocked,Locked"
textline "                          "
bitfld.long 0x00 23.--25. " M5ET   ,Master 5 Error Type" "-,Parity Error,Reserved,Reserved,Reserved,Bank Error,Reserved,Reserved"
bitfld.long 0x00 22. "   M5RWS  ,Master 5 Read/Write Status" "Write,Read"
bitfld.long 0x00 21. "          M5FL   ,Master 5 PCIC0_PLBBESR1 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 20. "       M5AL   ,Master 5 PCIC0_PLBBEAR Address Lock" "Unlocked,Locked"
textline "                          "
bitfld.long 0x00 17.--19. " M6ET   ,Master 6 Error Type" "-,Parity Error,Reserved,Reserved,Reserved,Bank Error,Reserved,Reserved"
bitfld.long 0x00 16. "   M6RWS  ,Master 6 Read/Write Status" "Write,Read"
bitfld.long 0x00 15. "          M6FL   ,Master 6 PCIC0_PLBBESR1 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 14. "       M6AL   ,Master 6 PCIC0_PLBBEAR Address Lock" "Unlocked,Locked"
textline "                          "
bitfld.long 0x00 11.--13. " M7ET   ,Master 7 Error Type" "-,Parity Error,Reserved,Reserved,Reserved,Bank Error,Reserved,Reserved"
bitfld.long 0x00 10. "   M7RWS  ,Master 7 Read/Write Status" "Write,Read"
bitfld.long 0x00 9. "          M7FL   ,Master 7 PCIC0_PLBBESR1 Field Lock" "Unlocked,Locked"
bitfld.long 0x00 8. "       M7AL   ,Master 7 PCIC0_PLBBEAR Address Lock" "Unlocked,Locked"
group.long 0x4++0x03
out 0x0 %l %le 0x80000054
line.long 0x00 "PCIC0_PLBBEAR,PLB Slave Error Address Register"
rgroup.long 0x4++0x03
out 0x0 %l %le 0x80000058
line.byte 0x00 "PCIC0_CAPID,Capability Identifier"
line.byte 0x01 "PCIC0_NEXTIPTR,Next Item Pointer"
line.word 0x02 "PCIC0_PMC,Power Management Capabilities"
hexmask.word.byte 0x02 11.--15. 1. "     PMES   ,PME Support"
bitfld.word 0x02 10. "             D2S    ,D2 Support" "Not supported,Supported"
bitfld.word 0x02 9. "  D1S    ,D1 Support" "Not supported,Supported"
bitfld.word 0x02 6.--8. "  AUXCUR ,Auxiliary Current Support" "000,001,010,011,100,101,110,111"
textline "                          "
bitfld.word 0x02 5. " DSI    ,Device Specific Initialization" "Not required,Required"
bitfld.word 0x02 3. "   PMECLK ,PMECLK" "Low,High"
bitfld.word 0x02 0.--2. "           VERS   ,VERS" "000,001,010,011,100,101,110,111"
group.long 0x4++0x03
out 0x0 %l %le 0x8000005C
line.word 0x00 "PCIC0_PMCSR,Power Management Control Status"
bitfld.word 0x00 15. "     PMEST  ,PMEST" "Not supported,Not supported"
bitfld.word 0x00 13.--14. "  DSCAL  ,DSCAL" "Not Supported,Not Supported,Not Supported,Not Supported"
bitfld.word 0x00 9.--12. "  DSEL   ,DSEL" "Not Supported,Not Supported,Not Supported,Not Supported,Not Supported,Not Supported,Not Supported,Not Supported,?..."
bitfld.word 0x00 8. "  PMEEN  ,PMEEN" "Not Supported,Not Supported"
textline "                          "
bitfld.word 0x00 0.--1. " PSTAT  ,Current Power State" "D0,D1,D2,D3 Hot"
line.byte 0x02 "PCIC0_PMCSRBSE,PMCSR PCI-to-PCI Bridge Support Extensions"
line.byte 0x03 "PCIC0_DATA,Data"
group.long 0x4++0x03
out 0x0 %l %le 0x80000060
line.word 0x00 "PCIC0_BRDGOPT2,PCI Bridge Options 2"
bitfld.word 0x00 13. "     EWPCI  ,External Write to PCI Command Interrupt" "No write,Write"
bitfld.word 0x00 12. "       DPR    ,Drive PCI Reset" "-,Reset"
bitfld.word 0x00 8.--11. "          PSTLTD ,Subsequent Target Latency Timer Duration" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.word 0x00 2. "             PDTD   ,PCI Discard Timer Disable" "Disabled,-"
textline "                          "
bitfld.word 0x00 0. " HCE    ,Host Configuration Enable" "-,Enabled"
group.long 0x4++0x03
out 0x0 %l %le 0x80000064
line.byte 0x00 "PCIC0_PMSCRR,Power Management State Change Request Register"
bitfld.byte 0x00 4. "     APW    ,Accept PCIC0_PMCSR Writes" "No accept,Accept"
bitfld.byte 0x00 3. "      SCR    ,State Change Request" "No request,Request"
bitfld.byte 0x00 1.--2. "     REQST  ,Request State" "00,01,10,11"
bitfld.byte 0x00 0. "             DWE    ,Delayed Write Enable" "Immediate,Delayed"
tree.end
;DIRECTLY ACCESSED REGISTERS
tree "PCI Bridge Local Configuration Registers (PMM-PCI Memory Mapping Register)"
group ANC:0x0:0xEF400000--0xEF40003F
line.long 0x00 "PCIL0_PMM0LA,PMM 0 Local Address"
line.long 0x04 "PCIL0_PMM0MA,PMM 0 Mask/Attribute"
hexmask.long 0x04 12.--31. 1. " MASK ,The mask bits determine the size of the address map range"
bitfld.long  0x04 1. "  PRE  ,Read Prefetching Enable" "-,Enabled"
bitfld.long  0x04 0. "  ENA  ,PLB to PCI Memory Mapping Enable" "-,Enabled"
line.long 0x08 "PCIL0_PMM0PCILA,PMM 0 PCI Low Address"
line.long 0x0C "PCIL0_PMM0PCIHA,PMM 0 PCI High Address"
line.long 0x10 "PCIL0_PMM1LA,PMM 1 Local Address"
line.long 0x14 "PCIL0_PMM1MA,PMM 1 Mask/Attribute"
hexmask.long 0x14 12.--31. 1. " MASK ,The mask bits determine the size of the address map range"
bitfld.long  0x14 1. "  PRE  ,Read Prefetching Enable" "-,Enabled"
bitfld.long  0x14 0. "  ENA  ,PLB to PCI Memory Mapping Enable" "-,Enabled"
line.long 0x18 "PCIL0_PMM1PCILA,PMM 1 PCI Low Address"
line.long 0x1C "PCIL0_PMM1PCIHA,PMM 1 PCI High Address"
line.long 0x20 "PCIL0_PMM2LA,PMM 2 Local Address"
line.long 0x24 "PCIL0_PMM2MA,PMM 2 Mask/Attribute"
hexmask.long 0x24 12.--31. 1. " MASK ,The mask bits determine the size of the address map range"
bitfld.long  0x24 1. "  PRE  ,Read Prefetching Enable" "-,Enabled"
bitfld.long  0x24 0. "  ENA  ,PLB to PCI Memory Mapping Enable" "-,Enabled"
line.long 0x28 "PCIL0_PMM2PCILA,PMM 2 PCI Low Address"
line.long 0x2C "PCIL0_PMM2PCIHA,PMM 2 PCI High Address"
line.long 0x30 "PCIL0_PTM1MS,PTM 1 Memory Size/Attribute"
hexmask.long 0x30 12.--31. 1. " MASK ,Defines the size of the region of PCI memory space that is mapped to local (PLB) space using PTM 1."
bitfld.long  0x30 0. "  ENA  ,Determines if range 1 is enabled to map PCI memory space to PLB space." "-,Enabled"
line.long 0x34 "PCIL0_PTM1LA,PTM 1 Local Address"
line.long 0x38 "PCIL0_PTM2MS,PTM 2 Memory Size/Attribute"
hexmask.long 0x38 12.--31. 1. " MASK ,Defines the size of the region of PCI memory space that is mapped to local (PLB) space using PTM 2."
bitfld.long  0x38 0. "  ENA  ,Determines if range 2 is enabled to map PCI memory space to PLB space." "-,Enabled"
line.long 0x3C "PCIL0_PTM2LA,PTM 2 Local Address"
endian.def
textline "                          "
;INDIRECTLY ACCESSED REGISTER
group dcr:0x000F++0x00
out dcr:0x000E %l 0x0300
line.long 0x00 "SDR0_PCI0,PCI Control Register"
bitfld.long 0x00 31. " PAE  ,PCI Arbiter Enable" "-,Enabled"
bitfld.long 0x00 30. "   PHCE ,PCI Host Configuration Enable" "-,Enabled"
bitfld.long 0x00 29. "  PAME ,PCI Asynchronous Mode Enable" "-,Enabled"
tree.end
base ANC:0:0x00000000
endif
tree.end
;tree.open "PCI (Peripheral Component Interconnect Interface)"
endian.def
tree.open "PCI Express"
sif (cpu()=="PPC440SPE")
tree "Interrupt Handler Registers"
width 12.
base ad:0x4:0x00300000
group 0x00++0x03
line.long 0x00 "PEIH_TERMADH,PCIE Termination Address High Register"
hexmask.long 0x00 0.--31. 1. " TADH   ,PCIE Termination Address High [0:31]"
group 0x08++0x03
line.long 0x00 "PEIH_TERMADL,PCIE Termination Address Low Register"
hexmask.long 0x00 2.--31. 1. " TADL   ,PCIE Termination Address Low"
group 0x10++0x03
line.long 0x00 "PEIH_MSIED,MSI Expected Data Register"
hexmask.long 0x00 5.--31. 1. " MEDATA ,MSI Expected Data"
group 0x18++0x03
line.long 0x00 "PEIH_MSIMK,MSI Expected data Register"
hexmask.long 0x00 5.--31. 1. " MASK   ,MSI Mask"
group 0x20++0x03
line.long 0x00 "PEIH_MSIASS,Software Assert MSI Register"
bitfld.long 0x00 29.--31. " SOFTM  ,Software_Assert_MSI" "-,MSI 0,MSI 1,MSI 2,MSI 3,Reserved,Reserved,Reserved"
group 0x28++0x03
line.long 0x00 "PEIH_MSIMAP,I2O MSI Mapping Register"
bitfld.long 0x00 31. " PERFIE ,I20 Performant Mode Completion Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29.--30. "   PERFM  ,I20 Performant Interrupt MSI Number" "0,1,2,3"
bitfld.long 0x00 28. "        RINGIE ,I20 Host_RingADing Interrupt Enable" "-,Enabled"
textline "                     "
bitfld.long 0x00 26.--27. " RINGM  ,I20 Host_RingADing MSI Number" "0,1,2,3"
bitfld.long 0x00 25. "         FIFOIE ,I20 OBPL_FIFO_NE Interrupt Enable" "-,Enabled"
bitfld.long 0x00 23.--24. "  FIFOM  ,I20 OBPL_FIFO_NE MSI Number" "0,1,2,3"
textline "                     "
bitfld.long 0x00 22. " UTILIE ,I20 Utility_Interrupt Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "   UTILM  ,I20 Utility MSI Number" "0,1,2,3"
rgroup 0x30++0x03
line.long 0x00 "PEIH_FLUSH0,PCIE General Buffer Flush 0 Register"
rgroup 0x38++0x03    
line.long 0x00 "PEIH_FLUSH1,PCIE General Buffer Flush 1 Register"
rgroup 0x40++0x03
line.long 0x00 "PEIH_FLUSH2,PCIE General Buffer Flush 2 Register"
rgroup 0x48++0x03
line.long 0x00 "PEIH_CNTRST,PCIE Counter Reset Register"

tree.end
tree "SDR Configuration Register"
width 18.
tree "Port 0"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l 0x0300
line.long 0x00 "PESDR0_UTLSET1,PCI Express 0 UTL Configuration Setting 1"
bitfld.long 0x00 28.--30. " MAXSZ  ,Maximum Supported Inbound GBIF Read Request Size" "128 bytes,256 bytes,512 bytes,1.024 bytes,2.048 bytes,Reserved,Reserved,Reserved"
bitfld.long 0x00 24.--25. "  INTRN  ,Maximum Number of Inbound Non-posted Transactions" "4,8,Reserved,Reserved"
bitfld.long 0x00 20.--21. "     INHDN  ,Maximum Number of Inbound Non-posted Headers" "2,4,8,Reserved"
textline "                           "
bitfld.long 0x00 16.--18. " IPBFS  ,Size of Inbound Posted Data Buffer" "0.5 KB,1 KB,2 KB,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 12.--13. "     IPHDN  ,Maximum Number of Inbound Posted Headers" "2,4,8,Reserved"
bitfld.long 0x00 8.--9. "     ONHDN  ,Maximum Number of Outbound Non-posted Headers" "2,4,8,Reserved"
textline "                           "
bitfld.long 0x00 4.--6. " OPBFS  ,Size of Outbound Posted Data Buffer" "0.5 KB,1 KB,2 KB,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 0.--1. "     OPHDN  ,Maximum Number of Outbound Posted Headers" "2,4,8,Reserved"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l 0x0301
line.long 0x00 "PESDR0_UTLSET2,PCI Express 0 UTL Configuration Setting 2"
bitfld.long 0x00 28.--29. " ONTRN  ,Maximum Number of Outbound Non-posted Transactions" "4,8,Reserved,Reserved"
bitfld.long 0x00 24. "     PAREN  ,Parity Enable" "-,Enabled"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l 0x0302
line.long 0x00 "PESDR0_DLPSET,PCI Express 0 DLP Configuration Setting"
bitfld.long 0x00 28. " LBACK  ,Loop Back" "-,Enabled"
bitfld.long 0x00 24. "      SROFF  ,SCRAMBLING OFF" "On,Off"
bitfld.long 0x00 20.--23. "          PTYPE  ,Port Type" "PCI Express,Legacy PCI Express,Reserved,Reserved,Root Port,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                           "
hexmask.long.byte 0x00 12.--17. 1. " LNKW   ,Maximum Link Width"
bitfld.long 0x00 8. "           ERCEN  ,Error Counter Enable" "-,Error"
rgroup.long dcr:0x000F--0x000F
out dcr:0x000E %l 0x0303
line.long 0x00 "PESDR0_LOOP,PCI Express 0 Loopback Interface Status"
hexmask.long.byte 0x00 16.--23. 1. " LBACT  ,Master Loopback Mode"
bitfld.long 0x00 12. "           LNKUP  ,Link Up" "-,Up"
bitfld.long 0x00 8. "           PML1   ,The Transaction Layer Must Not Attempt to Transmit a TLP" "-,L1 state"
textline "                           "
bitfld.long 0x00 4. " PML23  ,Link in the L2/L3 Ready State and the PHYIF Core has been Directed to its P2 Power State" "-,L2/L3 ready"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l 0x0304
line.long 0x00 "PESDR0_RCSSET,PCI Express 0 Reset Clocking and Shutdown Setting"
bitfld.long 0x00 28. " HLDPLB ,Hold PLB Transaction Mode" "-,Hold"
bitfld.long 0x00 24. "         RSTGU  ,GPL and UTL Core Reset:" "-,Reset"
bitfld.long 0x00 20. "        RDY    ,CFG Core Reset Complet" "Not completed,Completed"
textline "                           "
bitfld.long 0x00 16. " RSTDL  ,Hot Reset" "-,Reset"
bitfld.long 0x00 12. "        RSTPYN ,PCI Express PHY Reset" "Reset,Reset exit"
bitfld.long 0x00 8. "    SHUTDW ,Shutdown Mode" "-,Powered down"
rgroup.long dcr:0x000F--0x000F
out dcr:0x000E %l 0x0305
line.long 0x00 "PESDR0_RCSSTS,PCI Express 0 Reset Clocking and Shutdown Setting"
bitfld.long 0x00 28. " PLBIDL ,PLB Interface Idle" "-,Idle"
bitfld.long 0x00 24. "         HRSTRQ ,Hot Reset" "-,Reset"
bitfld.long 0x00 20. "        PGRST  ,PHYIF and the DLP cores in RESET" "-,Reset"
textline "                           "
bitfld.long 0x00 16. " VC0ACT ,VC0 Active" "-,Active"
bitfld.long 0x00 12. "       PLLLK  ,HSS PLL Locked" "-,Locked"
bitfld.long 0x00 8. "       BMEN   ,Bus Master Enable" "-,Enabled"
textline "                           "
bitfld.long 0x00 4. " 250OFF ,PCLK250 Clock has been Stopped" "-,Enabled"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0306+0x0)
line.long 0x00 "PESDR0_HSSL0SET1,PCI Express 0 HSS 0 Control Setting 1"
hexmask.long.byte 0x00 28.--31. 1. " TXCA   ,FIR Pre-emphasis Filter Coefficients"
bitfld.long 0x00 24.--26. "           TXPWR  ,Transmit Driver Power Level" "5/10mA,6/12mA,7/14mA,8/16mA,10/20mA,11/22mA,12/24mA,13/26mA"
bitfld.long 0x00 20. "      TXUM   ,Control Tx Driver Power in Debug Mode Only" "0,1"
textline "                           "
bitfld.long 0x00 16. " TXEN   ,Lane 1 Transmit BIST Enable" "-,Enabled"
bitfld.long 0x00 12. "      TXRST  ,Lane 1 Transmit Error Reset" "-,Reset"
bitfld.long 0x00 8. "        RXEN   ,Lane 1 Receive BIST Enable" "-,Enabled"
textline "                           "
bitfld.long 0x00 4. " RXRST  ,Lane 1 Receive Error Reset" "-,Reset"
bitfld.long 0x00 0. "        WRAP   ,Receive Lane loopback Enable" "-,Enabled"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0307+0x0)
line.long 0x00 "PESDR0_HSSL0SET2,PCI Express 0 HSS 0 Control Setting 2"
bitfld.long 0x00 28. " PHREN  ,External Phase Rotator Enable for Lane" "-,Enabled"
bitfld.long 0x00 24. "      PHRUP  ,Phase Rotator Advance for Lane" "-,Pulse"
bitfld.long 0x00 20. "        PHRDN  ,Phase Rotator Retard for Lane" "-,Pulse"
textline "                           "
bitfld.long 0x00 16. " BEACEN ,Beacon Enable" "-,Enabled"
rgroup.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0308+0x0)
line.long 0x00 "PESDR0_HSSL0STS,PCI Express 0 HSS 0 Control Status"
bitfld.long 0x00 28. " TXERR  ,Logic BIST Error Performance for Transmit Lane" "-,Error"
bitfld.long 0x00 24. "        RXERR  ,Link Validation Error Performance for Receive Lane" "-,Error"
hexmask.long.byte 0x00 16.--21. 1. "        PHRPI  ,HSS Phase Rotator's Phase Position Indicator on a per-lane Basis"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0306+0x3)
line.long 0x00 "PESDR0_HSSL1SET1,PCI Express 0 HSS 1 Control Setting 1"
hexmask.long.byte 0x00 28.--31. 1. " TXCA   ,FIR Pre-emphasis Filter Coefficients"
bitfld.long 0x00 24.--26. "           TXPWR  ,Transmit Driver Power Level" "5/10mA,6/12mA,7/14mA,8/16mA,10/20mA,11/22mA,12/24mA,13/26mA"
bitfld.long 0x00 20. "      TXUM   ,Control Tx Driver Power in Debug Mode Only" "0,1"
textline "                           "
bitfld.long 0x00 16. " TXEN   ,Lane 1 Transmit BIST Enable" "-,Enabled"
bitfld.long 0x00 12. "      TXRST  ,Lane 1 Transmit Error Reset" "-,Reset"
bitfld.long 0x00 8. "        RXEN   ,Lane 1 Receive BIST Enable" "-,Enabled"
textline "                           "
bitfld.long 0x00 4. " RXRST  ,Lane 1 Receive Error Reset" "-,Reset"
bitfld.long 0x00 0. "        WRAP   ,Receive Lane loopback Enable" "-,Enabled"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0307+0x3)
line.long 0x00 "PESDR0_HSSL1SET2,PCI Express 0 HSS 1 Control Setting 2"
bitfld.long 0x00 28. " PHREN  ,External Phase Rotator Enable for Lane" "-,Enabled"
bitfld.long 0x00 24. "      PHRUP  ,Phase Rotator Advance for Lane" "-,Pulse"
bitfld.long 0x00 20. "        PHRDN  ,Phase Rotator Retard for Lane" "-,Pulse"
textline "                           "
bitfld.long 0x00 16. " BEACEN ,Beacon Enable" "-,Enabled"
rgroup.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0308+0x3)
line.long 0x00 "PESDR0_HSSL1STS,PCI Express 0 HSS 1 Control Status"
bitfld.long 0x00 28. " TXERR  ,Logic BIST Error Performance for Transmit Lane" "-,Error"
bitfld.long 0x00 24. "        RXERR  ,Link Validation Error Performance for Receive Lane" "-,Error"
hexmask.long.byte 0x00 16.--21. 1. "        PHRPI  ,HSS Phase Rotator's Phase Position Indicator on a per-lane Basis"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0306+0x6)
line.long 0x00 "PESDR0_HSSL2SET1,PCI Express 0 HSS 2 Control Setting 1"
hexmask.long.byte 0x00 28.--31. 1. " TXCA   ,FIR Pre-emphasis Filter Coefficients"
bitfld.long 0x00 24.--26. "           TXPWR  ,Transmit Driver Power Level" "5/10mA,6/12mA,7/14mA,8/16mA,10/20mA,11/22mA,12/24mA,13/26mA"
bitfld.long 0x00 20. "      TXUM   ,Control Tx Driver Power in Debug Mode Only" "0,1"
textline "                           "
bitfld.long 0x00 16. " TXEN   ,Lane 1 Transmit BIST Enable" "-,Enabled"
bitfld.long 0x00 12. "      TXRST  ,Lane 1 Transmit Error Reset" "-,Reset"
bitfld.long 0x00 8. "        RXEN   ,Lane 1 Receive BIST Enable" "-,Enabled"
textline "                           "
bitfld.long 0x00 4. " RXRST  ,Lane 1 Receive Error Reset" "-,Reset"
bitfld.long 0x00 0. "        WRAP   ,Receive Lane loopback Enable" "-,Enabled"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0307+0x6)
line.long 0x00 "PESDR0_HSSL2SET2,PCI Express 0 HSS 2 Control Setting 2"
bitfld.long 0x00 28. " PHREN  ,External Phase Rotator Enable for Lane" "-,Enabled"
bitfld.long 0x00 24. "      PHRUP  ,Phase Rotator Advance for Lane" "-,Pulse"
bitfld.long 0x00 20. "        PHRDN  ,Phase Rotator Retard for Lane" "-,Pulse"
textline "                           "
bitfld.long 0x00 16. " BEACEN ,Beacon Enable" "-,Enabled"
rgroup.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0308+0x6)
line.long 0x00 "PESDR0_HSSL2STS,PCI Express 0 HSS 2 Control Status"
bitfld.long 0x00 28. " TXERR  ,Logic BIST Error Performance for Transmit Lane" "-,Error"
bitfld.long 0x00 24. "        RXERR  ,Link Validation Error Performance for Receive Lane" "-,Error"
hexmask.long.byte 0x00 16.--21. 1. "        PHRPI  ,HSS Phase Rotator's Phase Position Indicator on a per-lane Basis"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0306+0x9)
line.long 0x00 "PESDR0_HSSL3SET1,PCI Express 0 HSS 3 Control Setting 1"
hexmask.long.byte 0x00 28.--31. 1. " TXCA   ,FIR Pre-emphasis Filter Coefficients"
bitfld.long 0x00 24.--26. "           TXPWR  ,Transmit Driver Power Level" "5/10mA,6/12mA,7/14mA,8/16mA,10/20mA,11/22mA,12/24mA,13/26mA"
bitfld.long 0x00 20. "      TXUM   ,Control Tx Driver Power in Debug Mode Only" "0,1"
textline "                           "
bitfld.long 0x00 16. " TXEN   ,Lane 1 Transmit BIST Enable" "-,Enabled"
bitfld.long 0x00 12. "      TXRST  ,Lane 1 Transmit Error Reset" "-,Reset"
bitfld.long 0x00 8. "        RXEN   ,Lane 1 Receive BIST Enable" "-,Enabled"
textline "                           "
bitfld.long 0x00 4. " RXRST  ,Lane 1 Receive Error Reset" "-,Reset"
bitfld.long 0x00 0. "        WRAP   ,Receive Lane loopback Enable" "-,Enabled"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0307+0x9)
line.long 0x00 "PESDR0_HSSL3SET2,PCI Express 0 HSS 3 Control Setting 2"
bitfld.long 0x00 28. " PHREN  ,External Phase Rotator Enable for Lane" "-,Enabled"
bitfld.long 0x00 24. "      PHRUP  ,Phase Rotator Advance for Lane" "-,Pulse"
bitfld.long 0x00 20. "        PHRDN  ,Phase Rotator Retard for Lane" "-,Pulse"
textline "                           "
bitfld.long 0x00 16. " BEACEN ,Beacon Enable" "-,Enabled"
rgroup.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0308+0x9)
line.long 0x00 "PESDR0_HSSL3STS,PCI Express 0 HSS 3 Control Status"
bitfld.long 0x00 28. " TXERR  ,Logic BIST Error Performance for Transmit Lane" "-,Error"
bitfld.long 0x00 24. "        RXERR  ,Link Validation Error Performance for Receive Lane" "-,Error"
hexmask.long.byte 0x00 16.--21. 1. "        PHRPI  ,HSS Phase Rotator's Phase Position Indicator on a per-lane Basis"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0306+0xC)
line.long 0x00 "PESDR0_HSSL4SET1,PCI Express 0 HSS 4 Control Setting 1"
hexmask.long.byte 0x00 28.--31. 1. " TXCA   ,FIR Pre-emphasis Filter Coefficients"
bitfld.long 0x00 24.--26. "           TXPWR  ,Transmit Driver Power Level" "5/10mA,6/12mA,7/14mA,8/16mA,10/20mA,11/22mA,12/24mA,13/26mA"
bitfld.long 0x00 20. "      TXUM   ,Control Tx Driver Power in Debug Mode Only" "0,1"
textline "                           "
bitfld.long 0x00 16. " TXEN   ,Lane 1 Transmit BIST Enable" "-,Enabled"
bitfld.long 0x00 12. "      TXRST  ,Lane 1 Transmit Error Reset" "-,Reset"
bitfld.long 0x00 8. "        RXEN   ,Lane 1 Receive BIST Enable" "-,Enabled"
textline "                           "
bitfld.long 0x00 4. " RXRST  ,Lane 1 Receive Error Reset" "-,Reset"
bitfld.long 0x00 0. "        WRAP   ,Receive Lane loopback Enable" "-,Enabled"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0307+0xC)
line.long 0x00 "PESDR0_HSSL4SET2,PCI Express 0 HSS 4 Control Setting 2"
bitfld.long 0x00 28. " PHREN  ,External Phase Rotator Enable for Lane" "-,Enabled"
bitfld.long 0x00 24. "      PHRUP  ,Phase Rotator Advance for Lane" "-,Pulse"
bitfld.long 0x00 20. "        PHRDN  ,Phase Rotator Retard for Lane" "-,Pulse"
textline "                           "
bitfld.long 0x00 16. " BEACEN ,Beacon Enable" "-,Enabled"
rgroup.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0308+0xC)
line.long 0x00 "PESDR0_HSSL4STS,PCI Express 0 HSS 4 Control Status"
bitfld.long 0x00 28. " TXERR  ,Logic BIST Error Performance for Transmit Lane" "-,Error"
bitfld.long 0x00 24. "        RXERR  ,Link Validation Error Performance for Receive Lane" "-,Error"
hexmask.long.byte 0x00 16.--21. 1. "        PHRPI  ,HSS Phase Rotator's Phase Position Indicator on a per-lane Basis"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0306+0xF)
line.long 0x00 "PESDR0_HSSL5SET1,PCI Express 0 HSS 5 Control Setting 1"
hexmask.long.byte 0x00 28.--31. 1. " TXCA   ,FIR Pre-emphasis Filter Coefficients"
bitfld.long 0x00 24.--26. "           TXPWR  ,Transmit Driver Power Level" "5/10mA,6/12mA,7/14mA,8/16mA,10/20mA,11/22mA,12/24mA,13/26mA"
bitfld.long 0x00 20. "      TXUM   ,Control Tx Driver Power in Debug Mode Only" "0,1"
textline "                           "
bitfld.long 0x00 16. " TXEN   ,Lane 1 Transmit BIST Enable" "-,Enabled"
bitfld.long 0x00 12. "      TXRST  ,Lane 1 Transmit Error Reset" "-,Reset"
bitfld.long 0x00 8. "        RXEN   ,Lane 1 Receive BIST Enable" "-,Enabled"
textline "                           "
bitfld.long 0x00 4. " RXRST  ,Lane 1 Receive Error Reset" "-,Reset"
bitfld.long 0x00 0. "        WRAP   ,Receive Lane loopback Enable" "-,Enabled"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0307+0xF)
line.long 0x00 "PESDR0_HSSL5SET2,PCI Express 0 HSS 5 Control Setting 2"
bitfld.long 0x00 28. " PHREN  ,External Phase Rotator Enable for Lane" "-,Enabled"
bitfld.long 0x00 24. "      PHRUP  ,Phase Rotator Advance for Lane" "-,Pulse"
bitfld.long 0x00 20. "        PHRDN  ,Phase Rotator Retard for Lane" "-,Pulse"
textline "                           "
bitfld.long 0x00 16. " BEACEN ,Beacon Enable" "-,Enabled"
rgroup.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0308+0xF)
line.long 0x00 "PESDR0_HSSL5STS,PCI Express 0 HSS 5 Control Status"
bitfld.long 0x00 28. " TXERR  ,Logic BIST Error Performance for Transmit Lane" "-,Error"
bitfld.long 0x00 24. "        RXERR  ,Link Validation Error Performance for Receive Lane" "-,Error"
hexmask.long.byte 0x00 16.--21. 1. "        PHRPI  ,HSS Phase Rotator's Phase Position Indicator on a per-lane Basis"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0306+0x12)
line.long 0x00 "PESDR0_HSSL6SET1,PCI Express 0 HSS 6 Control Setting 1"
hexmask.long.byte 0x00 28.--31. 1. " TXCA   ,FIR Pre-emphasis Filter Coefficients"
bitfld.long 0x00 24.--26. "           TXPWR  ,Transmit Driver Power Level" "5/10mA,6/12mA,7/14mA,8/16mA,10/20mA,11/22mA,12/24mA,13/26mA"
bitfld.long 0x00 20. "      TXUM   ,Control Tx Driver Power in Debug Mode Only" "0,1"
textline "                           "
bitfld.long 0x00 16. " TXEN   ,Lane 1 Transmit BIST Enable" "-,Enabled"
bitfld.long 0x00 12. "      TXRST  ,Lane 1 Transmit Error Reset" "-,Reset"
bitfld.long 0x00 8. "        RXEN   ,Lane 1 Receive BIST Enable" "-,Enabled"
textline "                           "
bitfld.long 0x00 4. " RXRST  ,Lane 1 Receive Error Reset" "-,Reset"
bitfld.long 0x00 0. "        WRAP   ,Receive Lane loopback Enable" "-,Enabled"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0307+0x12)
line.long 0x00 "PESDR0_HSSL6SET2,PCI Express 0 HSS 6 Control Setting 2"
bitfld.long 0x00 28. " PHREN  ,External Phase Rotator Enable for Lane" "-,Enabled"
bitfld.long 0x00 24. "      PHRUP  ,Phase Rotator Advance for Lane" "-,Pulse"
bitfld.long 0x00 20. "        PHRDN  ,Phase Rotator Retard for Lane" "-,Pulse"
textline "                           "
bitfld.long 0x00 16. " BEACEN ,Beacon Enable" "-,Enabled"
rgroup.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0308+0x12)
line.long 0x00 "PESDR0_HSSL6STS,PCI Express 0 HSS 6 Control Status"
bitfld.long 0x00 28. " TXERR  ,Logic BIST Error Performance for Transmit Lane" "-,Error"
bitfld.long 0x00 24. "        RXERR  ,Link Validation Error Performance for Receive Lane" "-,Error"
hexmask.long.byte 0x00 16.--21. 1. "        PHRPI  ,HSS Phase Rotator's Phase Position Indicator on a per-lane Basis"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0306+0x15)
line.long 0x00 "PESDR0_HSSL7SET1,PCI Express 0 HSS 7 Control Setting 1"
hexmask.long.byte 0x00 28.--31. 1. " TXCA   ,FIR Pre-emphasis Filter Coefficients"
bitfld.long 0x00 24.--26. "           TXPWR  ,Transmit Driver Power Level" "5/10mA,6/12mA,7/14mA,8/16mA,10/20mA,11/22mA,12/24mA,13/26mA"
bitfld.long 0x00 20. "      TXUM   ,Control Tx Driver Power in Debug Mode Only" "0,1"
textline "                           "
bitfld.long 0x00 16. " TXEN   ,Lane 1 Transmit BIST Enable" "-,Enabled"
bitfld.long 0x00 12. "      TXRST  ,Lane 1 Transmit Error Reset" "-,Reset"
bitfld.long 0x00 8. "        RXEN   ,Lane 1 Receive BIST Enable" "-,Enabled"
textline "                           "
bitfld.long 0x00 4. " RXRST  ,Lane 1 Receive Error Reset" "-,Reset"
bitfld.long 0x00 0. "        WRAP   ,Receive Lane loopback Enable" "-,Enabled"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0307+0x15)
line.long 0x00 "PESDR0_HSSL7SET2,PCI Express 0 HSS 7 Control Setting 2"
bitfld.long 0x00 28. " PHREN  ,External Phase Rotator Enable for Lane" "-,Enabled"
bitfld.long 0x00 24. "      PHRUP  ,Phase Rotator Advance for Lane" "-,Pulse"
bitfld.long 0x00 20. "        PHRDN  ,Phase Rotator Retard for Lane" "-,Pulse"
textline "                           "
bitfld.long 0x00 16. " BEACEN ,Beacon Enable" "-,Enabled"
rgroup.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0308+0x15)
line.long 0x00 "PESDR0_HSSL7STS,PCI Express 0 HSS 7 Control Status"
bitfld.long 0x00 28. " TXERR  ,Logic BIST Error Performance for Transmit Lane" "-,Error"
bitfld.long 0x00 24. "        RXERR  ,Link Validation Error Performance for Receive Lane" "-,Error"
hexmask.long.byte 0x00 16.--21. 1. "        PHRPI  ,HSS Phase Rotator's Phase Position Indicator on a per-lane Basis"
rgroup.long dcr:0x000F--0x000F
out dcr:0x000E %l 0x031E
line.long 0x00 "PESDR0_HSSCTLSET,PCI Express 0 HSS Control Setting"
bitfld.long 0x00 28. " DWRAP  ,Link Loopback Enable" "-,Enabled"
bitfld.long 0x00 24. "      RXLEV  ,HSS Receiver Sensibility" "PCI Express,Reserved"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l 0x031F
line.long 0x00 "PESDR0_LANE_ABCD,PCI Express 0 Lanes A B C and D Affectation"
hexmask.long.byte 0x00 24.--31. 1. " L3MUX  ,Lane Assignment on Pin 3"
hexmask.long.byte 0x00 16.--23. 1. "           L2MUX  ,Lane Assignment on Pin 2"
hexmask.long.byte 0x00 8.--15. 1. "           L4MUX  ,Lane Assignment on Pin 4"
textline "                           "
hexmask.long.byte 0x00 0.--7. 1. " L5MUX  ,Lane Assignment on Pin 5"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l 0x0320
line.long 0x00 "PESDR0_LANE_EFGH,PCI Express 0 Lanes E F G and H Affectation"
hexmask.long.byte 0x00 24.--31. 1. " L1MUX  ,Lane Assignment on Pin 1"
hexmask.long.byte 0x00 16.--23. 1. "           L0MUX  ,Lane Assignment on Pin 0"
hexmask.long.byte 0x00 8.--15. 1. "           L6MUX  ,Lane Assignment on Pin 6"
textline "                           "
hexmask.long.byte 0x00 0.--7. 1. " L7MUX  ,Lane Assignment on Pin 7"
tree.end
tree "Port 1"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l 0x0340
line.long 0x00 "PESDR1_UTLSET1,PCI Express 1 UTL Configuration Setting 1"
bitfld.long 0x00 28.--30. " MAXSZ  ,Maximum Supported Inbound GBIF Read Request Size" "128 bytes,256 bytes,512 bytes,1.024 bytes,2.048 bytes,Reserved,Reserved,Reserved"
bitfld.long 0x00 24.--25. "  INTRN  ,Maximum Number of Inbound Non-posted Transactions" "4,8,Reserved,Reserved"
bitfld.long 0x00 20.--21. "     INHDN  ,Maximum Number of Inbound Non-posted Headers" "2,4,8,Reserved"
textline "                           "
bitfld.long 0x00 16.--18. " IPBFS  ,Size of Inbound Posted Data Buffer" "2,4,8,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 12.--13. "     IPHDN  ,Maximum Number of Inbound Posted Headers" "2,4,8,Reserved"
bitfld.long 0x00 8.--9. "     ONHDN  ,Maximum Number of Outbound Non-posted Headers" "2,4,8,Reserved"
textline "                           "
bitfld.long 0x00 4.--6. " OPBFS  ,Size of Outbound Posted Data Buffer" "0.5 KB,1 KB,2 KB,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 0.--1. "     OPHDN  ,Maximum Number of Outbound Posted Headers" "2,4,8,Reserved"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l 0x0341
line.long 0x00 "PESDR1_UTLSET2,PCI Express 1 UTL Configuration Setting 2"
bitfld.long 0x00 28.--29. " ONTRN  ,Maximum Number of Outbound Non-posted Transactions" "4,8,Reserved,Reserved"
bitfld.long 0x00 24. "     PAREN  ,Parity Enable" "-,Enabled"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l 0x0342
line.long 0x00 "PESDR1_DLPSET,PCI Express 1 DLP Configuration Setting"
bitfld.long 0x00 28. " LBACK  ,Loop Back" "-,Enabled"
bitfld.long 0x00 24. "      SROFF  ,SCRAMBLING OFF" "On,Off"
bitfld.long 0x00 20.--23. "          PTYPE  ,Port Type" "PCI Express,Legacy PCI Express,Reserved,Reserved,Root Port,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                           "
hexmask.long.byte 0x00 12.--17. 1. " LNKW   ,Maximum Link Width"
bitfld.long 0x00 8. "           ERCEN  ,Error Counter Enable" "-,Error"
rgroup.long dcr:0x000F--0x000F
out dcr:0x000E %l 0x0343
line.long 0x00 "PESDR1_LOOP,PCI Express 1 Loopback Interface Status"
hexmask.long.byte 0x00 16.--23. 1. " LBACT  ,Master Loopback Mode"
bitfld.long 0x00 12. "           LNKUP  ,Link Up" "-,Up"
bitfld.long 0x00 8. "           PML1   ,The Transaction Layer Must Not Attempt to Transmit a TLP" "-,L1 state"
textline "                           "
bitfld.long 0x00 4. " PML23  ,Link in the L2/L3 Ready State and the PHYIF Core has been Directed to its P2 Power State" "-,L2/L3 ready"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l 0x0344
line.long 0x00 "PESDR1_RCSSET,PCI Express 1 Reset Clocking and Shutdown Setting"
bitfld.long 0x00 28. " HLDPLB ,Hold PLB Transaction Mode" "-,Hold"
bitfld.long 0x00 24. "         RSTGU  ,GPL and UTL Core Reset:" "-,Reset"
bitfld.long 0x00 20. "        RDY    ,CFG Core Reset Complet" "Not completed,Completed"
textline "                           "
bitfld.long 0x00 16. " RSTDL  ,Hot Reset" "-,Reset"
bitfld.long 0x00 12. "        RSTPYN ,PCI Express PHY Reset" "Reset,End reset"
bitfld.long 0x00 8. "    SHUTDW ,Shutdown Mode" "-,Powered down"
rgroup.long dcr:0x000F--0x000F
out dcr:0x000E %l 0x0345
line.long 0x00 "PESDR1_RCSSTS,PCI Express 1 Reset Clocking and Shutdown Setting"
bitfld.long 0x00 28. " PLBIDL ,PLB Interface Idle" "No idle,Idle"
bitfld.long 0x00 24. "      HRSTRQ ,Hot Reset" "-,Reset"
bitfld.long 0x00 20. "        PGRST  ,PHYIF and the DLP cores in RESET" "-,Reset"
textline "                           "
bitfld.long 0x00 16. " VC0ACT ,VC0 Active" "-,Active"
bitfld.long 0x00 12. "       PLLLK  ,HSS PLL Locked" "-,Locked"
bitfld.long 0x00 8. "       BMEN   ,Bus Master Enable" "-,Enabled"
textline "                           "
bitfld.long 0x00 4. " 250OFF ,PCLK250 Clock has been Stopped" "-,Enabled"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0346+0x0)
line.long 0x00 "PESDR1_HSSL0SET1,PCI Express 1 HSS 0 Control Setting 1"
hexmask.long.byte 0x00 28.--31. 1. " TXCA   ,FIR Pre-emphasis Filter Coefficients"
bitfld.long 0x00 24.--26. "           TXPWR  ,Transmit Driver Power Level" "5/10mA,6/12mA,7/14mA,8/16mA,10/20mA,11/22mA,12/24mA,13/26mA"
bitfld.long 0x00 20. "      TXUM   ,Control Tx Driver Power in Debug Mode Only" "0,1"
textline "                           "
bitfld.long 0x00 16. " TXEN   ,Lane 1 Transmit BIST Enable" "-,Enabled"
bitfld.long 0x00 12. "      TXRST  ,Lane 1 Transmit Error Reset" "-,Reset"
bitfld.long 0x00 8. "        RXEN   ,Lane 1 Receive BIST Enable" "-,Enabled"
textline "                           "
bitfld.long 0x00 4. " RXRST  ,Lane 1 Receive Error Reset" "-,Reset"
bitfld.long 0x00 0. "        WRAP   ,Receive Lane loopback Enable" "-,Enabled"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0347+0x0)
line.long 0x00 "PESDR1_HSSL0SET2,PCI Express 1 HSS 0 Control Setting 2"
bitfld.long 0x00 28. " PHREN  ,External Phase Rotator Enable for Lane" "-,Enabled"
bitfld.long 0x00 24. "      PHRUP  ,Phase Rotator Advance for Lane" "-,Pulse"
bitfld.long 0x00 20. "        PHRDN  ,Phase Rotator Retard for Lane" "-,Pulse"
textline "                           "
bitfld.long 0x00 16. " BEACEN ,Beacon Enable" "-,Enabled"
rgroup.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0348+0x0)
line.long 0x00 "PESDR1_HSSL0STS,PCI Express 1 HSS 0 Control Status"
bitfld.long 0x00 28. " TXERR  ,Logic BIST Error Performance for Transmit Lane" "-,Error"
bitfld.long 0x00 24. "        RXERR  ,Link Validation Error Performance for Receive Lane" "-,Error"
hexmask.long.byte 0x00 16.--21. 1. "        PHRPI  ,HSS Phase Rotator's Phase Position Indicator on a per-lane Basis"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0346+0x3)
line.long 0x00 "PESDR1_HSSL1SET1,PCI Express 1 HSS 1 Control Setting 1"
hexmask.long.byte 0x00 28.--31. 1. " TXCA   ,FIR Pre-emphasis Filter Coefficients"
bitfld.long 0x00 24.--26. "           TXPWR  ,Transmit Driver Power Level" "5/10mA,6/12mA,7/14mA,8/16mA,10/20mA,11/22mA,12/24mA,13/26mA"
bitfld.long 0x00 20. "      TXUM   ,Control Tx Driver Power in Debug Mode Only" "0,1"
textline "                           "
bitfld.long 0x00 16. " TXEN   ,Lane 1 Transmit BIST Enable" "-,Enabled"
bitfld.long 0x00 12. "      TXRST  ,Lane 1 Transmit Error Reset" "-,Reset"
bitfld.long 0x00 8. "        RXEN   ,Lane 1 Receive BIST Enable" "-,Enabled"
textline "                           "
bitfld.long 0x00 4. " RXRST  ,Lane 1 Receive Error Reset" "-,Reset"
bitfld.long 0x00 0. "        WRAP   ,Receive Lane loopback Enable" "-,Enabled"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0347+0x3)
line.long 0x00 "PESDR1_HSSL1SET2,PCI Express 1 HSS 1 Control Setting 2"
bitfld.long 0x00 28. " PHREN  ,External Phase Rotator Enable for Lane" "-,Enabled"
bitfld.long 0x00 24. "      PHRUP  ,Phase Rotator Advance for Lane" "-,Pulse"
bitfld.long 0x00 20. "        PHRDN  ,Phase Rotator Retard for Lane" "-,Pulse"
textline "                           "
bitfld.long 0x00 16. " BEACEN ,Beacon Enable" "-,Enabled"
rgroup.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0348+0x3)
line.long 0x00 "PESDR1_HSSL1STS,PCI Express 1 HSS 1 Control Status"
bitfld.long 0x00 28. " TXERR  ,Logic BIST Error Performance for Transmit Lane" "-,Error"
bitfld.long 0x00 24. "        RXERR  ,Link Validation Error Performance for Receive Lane" "-,Error"
hexmask.long.byte 0x00 16.--21. 1. "        PHRPI  ,HSS Phase Rotator's Phase Position Indicator on a per-lane Basis"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0346+0x6)
line.long 0x00 "PESDR1_HSSL2SET1,PCI Express 1 HSS 2 Control Setting 1"
hexmask.long.byte 0x00 28.--31. 1. " TXCA   ,FIR Pre-emphasis Filter Coefficients"
bitfld.long 0x00 24.--26. "           TXPWR  ,Transmit Driver Power Level" "5/10mA,6/12mA,7/14mA,8/16mA,10/20mA,11/22mA,12/24mA,13/26mA"
bitfld.long 0x00 20. "      TXUM   ,Control Tx Driver Power in Debug Mode Only" "0,1"
textline "                           "
bitfld.long 0x00 16. " TXEN   ,Lane 1 Transmit BIST Enable" "-,Enabled"
bitfld.long 0x00 12. "      TXRST  ,Lane 1 Transmit Error Reset" "-,Reset"
bitfld.long 0x00 8. "        RXEN   ,Lane 1 Receive BIST Enable" "-,Enabled"
textline "                           "
bitfld.long 0x00 4. " RXRST  ,Lane 1 Receive Error Reset" "-,Reset"
bitfld.long 0x00 0. "        WRAP   ,Receive Lane loopback Enable" "-,Enabled"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0347+0x6)
line.long 0x00 "PESDR1_HSSL2SET2,PCI Express 1 HSS 2 Control Setting 2"
bitfld.long 0x00 28. " PHREN  ,External Phase Rotator Enable for Lane" "-,Enabled"
bitfld.long 0x00 24. "      PHRUP  ,Phase Rotator Advance for Lane" "-,Pulse"
bitfld.long 0x00 20. "        PHRDN  ,Phase Rotator Retard for Lane" "-,Pulse"
textline "                           "
bitfld.long 0x00 16. " BEACEN ,Beacon Enable" "-,Enabled"
rgroup.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0348+0x6)
line.long 0x00 "PESDR1_HSSL2STS,PCI Express 1 HSS 2 Control Status"
bitfld.long 0x00 28. " TXERR  ,Logic BIST Error Performance for Transmit Lane" "-,Error"
bitfld.long 0x00 24. "        RXERR  ,Link Validation Error Performance for Receive Lane" "-,Error"
hexmask.long.byte 0x00 16.--21. 1. "        PHRPI  ,HSS Phase Rotator's Phase Position Indicator on a per-lane Basis"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0346+0x9)
line.long 0x00 "PESDR1_HSSL3SET1,PCI Express 1 HSS 3 Control Setting 1"
hexmask.long.byte 0x00 28.--31. 1. " TXCA   ,FIR Pre-emphasis Filter Coefficients"
bitfld.long 0x00 24.--26. "           TXPWR  ,Transmit Driver Power Level" "5/10mA,6/12mA,7/14mA,8/16mA,10/20mA,11/22mA,12/24mA,13/26mA"
bitfld.long 0x00 20. "      TXUM   ,Control Tx Driver Power in Debug Mode Only" "0,1"
textline "                           "
bitfld.long 0x00 16. " TXEN   ,Lane 1 Transmit BIST Enable" "-,Enabled"
bitfld.long 0x00 12. "      TXRST  ,Lane 1 Transmit Error Reset" "-,Reset"
bitfld.long 0x00 8. "        RXEN   ,Lane 1 Receive BIST Enable" "-,Enabled"
textline "                           "
bitfld.long 0x00 4. " RXRST  ,Lane 1 Receive Error Reset" "-,Reset"
bitfld.long 0x00 0. "        WRAP   ,Receive Lane loopback Enable" "-,Enabled"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0347+0x9)
line.long 0x00 "PESDR1_HSSL3SET2,PCI Express 1 HSS 3 Control Setting 2"
bitfld.long 0x00 28. " PHREN  ,External Phase Rotator Enable for Lane" "-,Enabled"
bitfld.long 0x00 24. "      PHRUP  ,Phase Rotator Advance for Lane" "-,Pulse"
bitfld.long 0x00 20. "        PHRDN  ,Phase Rotator Retard for Lane" "-,Pulse"
textline "                           "
bitfld.long 0x00 16. " BEACEN ,Beacon Enable" "-,Enabled"
rgroup.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0348+0x9)
line.long 0x00 "PESDR1_HSSL3STS,PCI Express 1 HSS 3 Control Status"
bitfld.long 0x00 28. " TXERR  ,Logic BIST Error Performance for Transmit Lane" "-,Error"
bitfld.long 0x00 24. "        RXERR  ,Link Validation Error Performance for Receive Lane" "-,Error"
hexmask.long.byte 0x00 16.--21. 1. "        PHRPI  ,HSS Phase Rotator's Phase Position Indicator on a per-lane Basis"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l 0x0352
line.long 0x00 "PESDR1_HSSCTLSET,PCI Express 1 HSS Control Setting"
bitfld.long 0x00 28. " DWRAP  ,Link Loopback Enable" "-,Enabled"
bitfld.long 0x00 24. "      RXLEV  ,HSS Receiver Sensibility" "PCI Express,Reserved"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l 0x0353
line.long 0x00 "PESDR1_LANE_ABCD,PCI Express 1 Lanes A B C and D Affectation"
bitfld.long 0x00 28.--31. " L1MUX  ,Lane Assignment on Pin 1" "Reserved,0,1,Reserved,2,Reserved,Reserved,Reserved,3,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 24.--27. "     L0MUX  ,Lane Assignment on Pin 0" "Reserved,0,1,Reserved,2,Reserved,Reserved,Reserved,3,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 20.--23. "     L2MUX  ,Lane Assignment on Pin 2" "Reserved,0,1,Reserved,2,Reserved,Reserved,Reserved,3,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                           "
bitfld.long 0x00 16.--19. " L3MUX  ,Lane Assignment on Pin 3" "Reserved,0,1,Reserved,2,Reserved,Reserved,Reserved,3,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
tree.end
tree "Port 2"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l 0x0370
line.long 0x00 "PESDR2_UTLSET1,PCI Express 2 UTL Configuration Setting 1"
bitfld.long 0x00 28.--30. " MAXSZ  ,Maximum Supported Inbound GBIF Read Request Size" "128 bytes,256 bytes,512 bytes,1.024 bytes,2.048 bytes,Reserved,Reserved,Reserved"
bitfld.long 0x00 24.--25. "  INTRN  ,Maximum Number of Inbound Non-posted Transactions" "4,8,Reserved,Reserved"
bitfld.long 0x00 20.--21. "     INHDN  ,Maximum Number of Inbound Non-posted Headers" "2,4,8,Reserved"
textline "                           "
bitfld.long 0x00 16.--18. " IPBFS  ,Size of Inbound Posted Data Buffer" "2,4,8,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 12.--13. "     IPHDN  ,Maximum Number of Inbound Posted Headers" "2,4,8,Reserved"
bitfld.long 0x00 8.--9. "     ONHDN  ,Maximum Number of Outbound Non-posted Headers" "2,4,8,Reserved"
textline "                           "
bitfld.long 0x00 4.--6. " OPBFS  ,Size of Outbound Posted Data Buffer" "0.5 KB,1 KB,2 KB,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 0.--1. "     OPHDN  ,Maximum Number of Outbound Posted Headers" "2,4,8,Reserved"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l 0x0371
line.long 0x00 "PESDR2_UTLSET2,PCI Express 1 UTL Configuration Setting 2"
bitfld.long 0x00 28.--29. " ONTRN  ,Maximum Number of Outbound Non-posted Transactions" "4,8,Reserved,Reserved"
bitfld.long 0x00 24. "     PAREN  ,Parity Enable" "-,Enabled"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l 0x0372
line.long 0x00 "PESDR2_DLPSET,PCI Express 1 DLP Configuration Setting"
bitfld.long 0x00 28. " LBACK  ,Loop Back" "-,Enabled"
bitfld.long 0x00 24. "      SROFF  ,SCRAMBLING OFF" "On,Off"
bitfld.long 0x00 20.--23. "          PTYPE  ,Port Type" "PCI Express,Legacy PCI Express,Reserved,Reserved,Root Port,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                           "
hexmask.long.byte 0x00 12.--17. 1. " LNKW   ,Maximum Link Width"
bitfld.long 0x00 8. "           ERCEN  ,Error Counter Enable" "-,Error"
rgroup.long dcr:0x000F--0x000F
out dcr:0x000E %l 0x0373
line.long 0x00 "PESDR2_LOOP,PCI Express 1 Loopback Interface Status"
hexmask.long.byte 0x00 16.--23. 1. " LBACT  ,Master Loopback Mode"
bitfld.long 0x00 12. "           LNKUP  ,Link Up" "-,Up"
bitfld.long 0x00 8. "           PML1   ,The Transaction Layer Must Not Attempt to Transmit a TLP" "-,L1 state"
textline "                           "
bitfld.long 0x00 4. " PML23  ,Link in the L2/L3 Ready State and the PHYIF Core has been Directed to its P2 Power State" "-,L2/L3 ready"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l 0x0374
line.long 0x00 "PESDR2_RCSSET,PCI Express 2 Reset Clocking and Shutdown Setting"
bitfld.long 0x00 28. " HLDPLB ,Hold PLB Transaction Mode" "-,Hold"
bitfld.long 0x00 24. "         RSTGU  ,GPL and UTL Core Reset:" "-,Reset"
bitfld.long 0x00 20. "        RDY    ,CFG Core Reset Complet" "Not completed,Completed"
textline "                           "
bitfld.long 0x00 16. " RSTDL  ,Hot Reset" "-,Reset"
bitfld.long 0x00 12. "        RSTPYN ,PCI Express PHY Reset" "Reset,End reset"
bitfld.long 0x00 8. "    SHUTDW ,Shutdown Mode" "-,Powered down"
rgroup.long dcr:0x000F--0x000F
out dcr:0x000E %l 0x0375
line.long 0x00 "PESDR2_RCSSTS,PCI Express 2 Reset Clocking and Shutdown Setting"
bitfld.long 0x00 28. " PLBIDL ,PLB Interface Idle" "No idle,Idle"
bitfld.long 0x00 24. "      HRSTRQ ,Hot Reset" "-,Reset"
bitfld.long 0x00 20. "        PGRST  ,PHYIF and the DLP cores in RESET" "-,Reset"
textline "                           "
bitfld.long 0x00 16. " VC0ACT ,VC0 Active" "-,Active"
bitfld.long 0x00 12. "       PLLLK  ,HSS PLL Locked" "-,Locked"
bitfld.long 0x00 8. "       BMEN   ,Bus Master Enable" "-,Enabled"
textline "                           "
bitfld.long 0x00 4. " 250OFF ,PCLK250 Clock has been Stopped" "-,Enabled"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0376+0x0)
line.long 0x00 "PESDR2_HSSL0SET1,PCI Express 2 HSS 0 Control Setting 1"
hexmask.long.byte 0x00 28.--31. 1. " TXCA   ,FIR Pre-emphasis Filter Coefficients"
bitfld.long 0x00 24.--26. "           TXPWR  ,Transmit Driver Power Level" "5/10mA,6/12mA,7/14mA,8/16mA,10/20mA,11/22mA,12/24mA,13/26mA"
bitfld.long 0x00 20. "      TXUM   ,Control Tx Driver Power in Debug Mode Only" "0,1"
textline "                           "
bitfld.long 0x00 16. " TXEN   ,Lane 1 Transmit BIST Enable" "-,Enabled"
bitfld.long 0x00 12. "      TXRST  ,Lane 1 Transmit Error Reset" "-,Reset"
bitfld.long 0x00 8. "        RXEN   ,Lane 1 Receive BIST Enable" "-,Enabled"
textline "                           "
bitfld.long 0x00 4. " RXRST  ,Lane 1 Receive Error Reset" "-,Reset"
bitfld.long 0x00 0. "        WRAP   ,Receive Lane loopback Enable" "-,Enabled"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0377+0x0)
line.long 0x00 "PESDR2_HSSL0SET2,PCI Express 2 HSS 0 Control Setting 2"
bitfld.long 0x00 28. " PHREN  ,External Phase Rotator Enable for Lane" "-,Enabled"
bitfld.long 0x00 24. "      PHRUP  ,Phase Rotator Advance for Lane" "-,Pulse"
bitfld.long 0x00 20. "        PHRDN  ,Phase Rotator Retard for Lane" "-,Pulse"
textline "                           "
bitfld.long 0x00 16. " BEACEN ,Beacon Enable" "-,Enabled"
rgroup.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0378+0x0)
line.long 0x00 "PESDR2_HSSL0STS,PCI Express 2 HSS 0 Control Status"
bitfld.long 0x00 28. " TXERR  ,Logic BIST Error Performance for Transmit Lane" "-,Error"
bitfld.long 0x00 24. "        RXERR  ,Link Validation Error Performance for Receive Lane" "-,Error"
hexmask.long.byte 0x00 16.--21. 1. "        PHRPI  ,HSS Phase Rotator's Phase Position Indicator on a per-lane Basis"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0376+0x3)
line.long 0x00 "PESDR2_HSSL1SET1,PCI Express 2 HSS 1 Control Setting 1"
hexmask.long.byte 0x00 28.--31. 1. " TXCA   ,FIR Pre-emphasis Filter Coefficients"
bitfld.long 0x00 24.--26. "           TXPWR  ,Transmit Driver Power Level" "5/10mA,6/12mA,7/14mA,8/16mA,10/20mA,11/22mA,12/24mA,13/26mA"
bitfld.long 0x00 20. "      TXUM   ,Control Tx Driver Power in Debug Mode Only" "0,1"
textline "                           "
bitfld.long 0x00 16. " TXEN   ,Lane 1 Transmit BIST Enable" "-,Enabled"
bitfld.long 0x00 12. "      TXRST  ,Lane 1 Transmit Error Reset" "-,Reset"
bitfld.long 0x00 8. "        RXEN   ,Lane 1 Receive BIST Enable" "-,Enabled"
textline "                           "
bitfld.long 0x00 4. " RXRST  ,Lane 1 Receive Error Reset" "-,Reset"
bitfld.long 0x00 0. "        WRAP   ,Receive Lane loopback Enable" "-,Enabled"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0377+0x3)
line.long 0x00 "PESDR2_HSSL1SET2,PCI Express 2 HSS 1 Control Setting 2"
bitfld.long 0x00 28. " PHREN  ,External Phase Rotator Enable for Lane" "-,Enabled"
bitfld.long 0x00 24. "      PHRUP  ,Phase Rotator Advance for Lane" "-,Pulse"
bitfld.long 0x00 20. "        PHRDN  ,Phase Rotator Retard for Lane" "-,Pulse"
textline "                           "
bitfld.long 0x00 16. " BEACEN ,Beacon Enable" "-,Enabled"
rgroup.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0378+0x3)
line.long 0x00 "PESDR2_HSSL1STS,PCI Express 2 HSS 1 Control Status"
bitfld.long 0x00 28. " TXERR  ,Logic BIST Error Performance for Transmit Lane" "-,Error"
bitfld.long 0x00 24. "        RXERR  ,Link Validation Error Performance for Receive Lane" "-,Error"
hexmask.long.byte 0x00 16.--21. 1. "        PHRPI  ,HSS Phase Rotator's Phase Position Indicator on a per-lane Basis"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0376+0x6)
line.long 0x00 "PESDR2_HSSL2SET1,PCI Express 2 HSS 2 Control Setting 1"
hexmask.long.byte 0x00 28.--31. 1. " TXCA   ,FIR Pre-emphasis Filter Coefficients"
bitfld.long 0x00 24.--26. "           TXPWR  ,Transmit Driver Power Level" "5/10mA,6/12mA,7/14mA,8/16mA,10/20mA,11/22mA,12/24mA,13/26mA"
bitfld.long 0x00 20. "      TXUM   ,Control Tx Driver Power in Debug Mode Only" "0,1"
textline "                           "
bitfld.long 0x00 16. " TXEN   ,Lane 1 Transmit BIST Enable" "-,Enabled"
bitfld.long 0x00 12. "      TXRST  ,Lane 1 Transmit Error Reset" "-,Reset"
bitfld.long 0x00 8. "        RXEN   ,Lane 1 Receive BIST Enable" "-,Enabled"
textline "                           "
bitfld.long 0x00 4. " RXRST  ,Lane 1 Receive Error Reset" "-,Reset"
bitfld.long 0x00 0. "        WRAP   ,Receive Lane loopback Enable" "-,Enabled"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0377+0x6)
line.long 0x00 "PESDR2_HSSL2SET2,PCI Express 2 HSS 2 Control Setting 2"
bitfld.long 0x00 28. " PHREN  ,External Phase Rotator Enable for Lane" "-,Enabled"
bitfld.long 0x00 24. "      PHRUP  ,Phase Rotator Advance for Lane" "-,Pulse"
bitfld.long 0x00 20. "        PHRDN  ,Phase Rotator Retard for Lane" "-,Pulse"
textline "                           "
bitfld.long 0x00 16. " BEACEN ,Beacon Enable" "-,Enabled"
rgroup.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0378+0x6)
line.long 0x00 "PESDR2_HSSL2STS,PCI Express 2 HSS 2 Control Status"
bitfld.long 0x00 28. " TXERR  ,Logic BIST Error Performance for Transmit Lane" "-,Error"
bitfld.long 0x00 24. "        RXERR  ,Link Validation Error Performance for Receive Lane" "-,Error"
hexmask.long.byte 0x00 16.--21. 1. "        PHRPI  ,HSS Phase Rotator's Phase Position Indicator on a per-lane Basis"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0376+0x9)
line.long 0x00 "PESDR2_HSSL3SET1,PCI Express 2 HSS 3 Control Setting 1"
hexmask.long.byte 0x00 28.--31. 1. " TXCA   ,FIR Pre-emphasis Filter Coefficients"
bitfld.long 0x00 24.--26. "           TXPWR  ,Transmit Driver Power Level" "5/10mA,6/12mA,7/14mA,8/16mA,10/20mA,11/22mA,12/24mA,13/26mA"
bitfld.long 0x00 20. "      TXUM   ,Control Tx Driver Power in Debug Mode Only" "0,1"
textline "                           "
bitfld.long 0x00 16. " TXEN   ,Lane 1 Transmit BIST Enable" "-,Enabled"
bitfld.long 0x00 12. "      TXRST  ,Lane 1 Transmit Error Reset" "-,Reset"
bitfld.long 0x00 8. "        RXEN   ,Lane 1 Receive BIST Enable" "-,Enabled"
textline "                           "
bitfld.long 0x00 4. " RXRST  ,Lane 1 Receive Error Reset" "-,Reset"
bitfld.long 0x00 0. "        WRAP   ,Receive Lane loopback Enable" "-,Enabled"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0377+0x9)
line.long 0x00 "PESDR2_HSSL3SET2,PCI Express 2 HSS 3 Control Setting 2"
bitfld.long 0x00 28. " PHREN  ,External Phase Rotator Enable for Lane" "-,Enabled"
bitfld.long 0x00 24. "      PHRUP  ,Phase Rotator Advance for Lane" "-,Pulse"
bitfld.long 0x00 20. "        PHRDN  ,Phase Rotator Retard for Lane" "-,Pulse"
textline "                           "
bitfld.long 0x00 16. " BEACEN ,Beacon Enable" "-,Enabled"
rgroup.long dcr:0x000F--0x000F
out dcr:0x000E %l (0x0378+0x9)
line.long 0x00 "PESDR2_HSSL3STS,PCI Express 2 HSS 3 Control Status"
bitfld.long 0x00 28. " TXERR  ,Logic BIST Error Performance for Transmit Lane" "-,Error"
bitfld.long 0x00 24. "        RXERR  ,Link Validation Error Performance for Receive Lane" "-,Error"
hexmask.long.byte 0x00 16.--21. 1. "        PHRPI  ,HSS Phase Rotator's Phase Position Indicator on a per-lane Basis"
rgroup.long dcr:0x000F--0x000F
out dcr:0x000E %l 0x0382
line.long 0x00 "PESDR2_HSSCTLSET,PCI Express 2 HSS Control Setting"
bitfld.long 0x00 28. " DWRAP  ,Link Loopback Enable" "-,Enabled"
bitfld.long 0x00 24. "      RXLEV  ,HSS Receiver Sensibility" "PCI Express,Reserved"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l 0x0383
line.long 0x00 "PESDR2_LANE_ABCD,PCI Express 2 Lanes A B C and D Affectation"
bitfld.long 0x00 28.--31. " L1MUX  ,Lane Assignment on Pin 1" "Reserved,0,1,Reserved,2,Reserved,Reserved,Reserved,3,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 24.--27. "     L0MUX  ,Lane Assignment on Pin 0" "Reserved,0,1,Reserved,2,Reserved,Reserved,Reserved,3,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 20.--23. "     L2MUX  ,Lane Assignment on Pin 2" "Reserved,0,1,Reserved,2,Reserved,Reserved,Reserved,3,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                           "
bitfld.long 0x00 16.--19. " L3MUX  ,Lane Assignment on Pin 3" "Reserved,0,1,Reserved,2,Reserved,Reserved,Reserved,3,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
tree.end
tree "PCI Express Interrupt Handler Interface"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l 0x03B0
line.long 0x00 "PESDR0_PEIHS1,PCI Interrupt Handler Interface Setting 1"
hexmask.long 0x00 0.--31. 1. " BASEH  ,PCI Express Interrupt Handler Base Address High"
group.long dcr:0x000F--0x000F
out dcr:0x000E %l 0x03B1
line.long 0x00 "PESDR0_PEIHS2,PCI Interrupt Handler Interface Setting 2"
hexmask.long 0x00 8.--31. 0x100 " BASEL  ,PCI Express Interrupt Handler Base Address Low"
bitfld.long 0x00 0. "     RESET  ,PCI Express Interrupt Handler Reset" "-,Reset"
tree.end
tree "PCI Error Counter"
rgroup.long dcr:0x000F--0x000F
out dcr:0x000E %l 0x03C0
line.long 0x00 "PESDR0_ERRC01,PCI Error Counter 0 and 1 Status"
hexmask.long.word 0x00 16.--31. 1. " CNT0   ,Error Counter Status for Lane 0"
hexmask.long.word 0x00 0.--15. 1. "         CNT1   ,Error Counter Status for Lane 1"
rgroup.long dcr:0x000F--0x000F
out dcr:0x000E %l 0x03C1
line.long 0x00 "PESDR0_ERRC23,PCI Error Counter 2 and 3 Status"
hexmask.long.word 0x00 16.--31. 1. " CNT2   ,Error Counter Status for Lane 2"
hexmask.long.word 0x00 0.--15. 1. "         CNT3   ,Error Counter Status for Lane 3"
rgroup.long dcr:0x000F--0x000F
out dcr:0x000E %l 0x03C2
line.long 0x00 "PESDR0_ERRC45,PCI Error Counter 4 and 5 Status"
hexmask.long.word 0x00 16.--31. 1. " CNT4   ,Error Counter Status for Lane 4"
hexmask.long.word 0x00 0.--15. 1. "         CNT5   ,Error Counter Status for Lane 5"
rgroup.long dcr:0x000F--0x000F
out dcr:0x000E %l 0x03C3
line.long 0x00 "PESDR0_ERRC67,PCI Error Counter 6 and 7 Status"
hexmask.long.word 0x00 16.--31. 1. " CNT6   ,Error Counter Status for Lane 6"
hexmask.long.word 0x00 0.--15. 1. "         CNT7   ,Error Counter Status for Lane 7"
tree.end
tree.end
tree "PCI Express DCR Registers"
width 17.
tree "Port 0"
group dcr:0x100--0x100
line.long 0x00 "PEGPL0_CFGBAH,Configuration Region Base Address High Register"
hexmask.long 0x00 0.--31. 1. " BAH   ,Configuration Region Base Address"
group dcr:0x101--0x101
line.long 0x00 "PEGPL0_CFGBAL,Configuration Region Base Address Low Register"
hexmask.long 0x00 7.--31. 0x80 " BAL   ,Configuration Region Base Address"
group dcr:0x102--0x102
line.long 0x00 "PEGPL0_CFGMSK,Configuration Region Mask and Validity Register"
hexmask.long 0x00 7.--31. 0x80 " BAM   ,Configuration Region Base Address Mask"
bitfld.long 0x00 0. "  SWCR   ,Specifies Whether the Configuration Region is Valid" "-,Valid"
group dcr:0x103--0x103
line.long 0x00 "PEGPL0_MSGBAH,Message Region Base Address High Register"
hexmask.long 0x00 0.--31. 1. " BAH   ,Message Region Base Address"
group dcr:0x104--0x104
line.long 0x00 "PEGPL0_MSGBAL,Message Region Base Address Low Register"
hexmask.long 0x00 7.--31. 0x80 " BAL   ,Message Region Base Address"
group dcr:0x105--0x105
line.long 0x00 "PEGPL0_MSGMSK,Message Region Mask and Validity Register"
hexmask.long.byte 0x00 7.--14. 1. " BAM   ,Message Region Base Address Mask"
bitfld.long 0x00 0. "        VAL    ,Specifies whether the Message Region is Valid" "-,Valid"
group dcr:0x106--0x106
line.long 0x00 "PEGPL0_OMR1BAH,Outbound Memory Region 1 Base Address High Register"
hexmask.long 0x00 0.--31. 1. " BAH   ,Outbound Memory Region 1 Base Address"
group dcr:0x107--0x107
line.long 0x00 "PEGPL0_OMR1BAL,Outbound Memory Region 1 Base Address Low Register"
hexmask.long.byte 0x00 27.--31. 1. " BAL   ,Outbound Memory Region 1 Base Address"
group dcr:0x108--0x108
line.long 0x00 "PEGPL0_OMR1MSKH,Outbound Memory Region 1 Mask High Register"
hexmask.long 0x00 0.--30. 1. " BAMH  ,Outbound Memory Region 1 Mask"
group dcr:0x109--0x109
line.long 0x00 "PEGPL0_OMR1MSKL,Outbound Memory Region 1 Mask and Validity Low Register"
bitfld.long 0x00 27.--31. " BAML  ,Outbound Memory Region 1 Mask" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
hexmask.long.byte 0x00 2.--9. 1. "        SRV    ,Sub-Region Valid"
bitfld.long 0x00 1. "        UOT   ,Use One TC" "Divided,Not divided"
textline "                          "
bitfld.long 0x00 0. " VAL   ,Specifies Whether Outbound Memory Region 1 is Valid" "-,Valid"
group dcr:0x10a--0x10a
line.long 0x00 "PEGPL0_OMR2BAH,Outbound Memory Region 2 Base Address High Register"
hexmask.long 0x00 0.--31. 1. " BAH   ,Outbound Memory Region 2 Base Address"
group dcr:0x10b--0x10b
line.long 0x00 "PEGPL0_OMR2BAL,Outbound Memory Region 2 Base Address Low Register"
hexmask.long.word 0x00 20.--31. 1. " BAL   ,Outbound Memory Region 2 Base Address"
group dcr:0x10c--0x10c
line.long 0x00 "PEGPL0_OMR2MSKH,Outbound Memory Region 2 Mask High Register"
hexmask.long 0x00 0.--30. 1. " BAMH  ,Outbound Memory Region 2 Mask"
group dcr:0x10d--0x10d
line.long 0x00 "PEGPL0_OMR2MSKL,Outbound Memory Region 2 Mask and Validity Low Register"
hexmask.long.word 0x00 20.--31. 1. " BAML  ,Outbound Memory Region 2 Mask"
bitfld.long 0x00 0. "      VAL    ,Specifies Whether Memory Region 2 is Valid" "-,Valid"
group dcr:0x10e--0x10e
line.long 0x00 "PEGPL0_OMR3BAH,Outbound Memory Region 3 Base Address High Register"
hexmask.long 0x00 0.--31. 1. " BAH   ,Outbound Memory Region 3 Base Address"
group dcr:0x10f--0x10f
line.long 0x00 "PEGPL0_OMR3BAL,Outbound Memory Region 3 Base Address Low Register"
hexmask.long 0x00 7.--31. 0x80 " BAL   ,Outbound Memory Region 3 Base Address"
group dcr:0x110--0x110
line.long 0x00 "PEGPL0_OMR3MSKH,Outbound Memory Region 3 Mask High Register"
hexmask.long 0x00 0.--30. 1. " BAMH  ,Outbound Memory Region 3 Mask"
group dcr:0x111--0x111
line.long 0x00 "PEGPL0_OMR3MSKL,Outbound Memory Region 3 Mask and Validity Low Register"
hexmask.long 0x00 7.--31. 0x80 " BAML  ,Outbound Memory Region 3 Mask"
bitfld.long 0x00 1. "  IO     ,Specifies Whether Region 3 is Dedicated" "Outbound,I/O"
bitfld.long 0x00 0. "  VAL   ,Specifies Whether Memory Region 3 is Valid" "-,Valid"
group dcr:0x112--0x112
line.long 0x00 "PEGPL0_REGBAH,Local Register Region Base Address High Register"
hexmask.long 0x00 0.--31. 1. " BAH   ,Local Register Region Base Address"
group dcr:0x113--0x113
line.long 0x00 "PEGPL0_REGBAL,Local Register Region Base Address Low Register"
hexmask.long 0x00 7.--31. 0x80 " BAL   ,Local Register Region Base Address"
group dcr:0x114--0x114
line.long 0x00 "PEGPL0_REGMSK,Local Register Region Mask and Validity Register"
hexmask.long.byte 0x00 7.--14. 1. " BAM   ,Register Region Base Address Mask"
bitfld.long 0x00 0. "        VAL    ,Specifies Whether the Register Region is Valid" ",Valid"
group dcr:0x115--0x115
line.long 0x00 "PEGPL0_SPECIAL,Special Purpose Prefetch Buffer Handler Register"
bitfld.long 0x00 28.--31. " S1ID  ,ID of Special Purpose Prefetch Buffer Handler 1" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 27. "        S1V    ,Special Purpose Prefetch Buffer Handler 1" "-,Enabled"
bitfld.long 0x00 20.--23. "   S2ID  ,ID of Special Purpose Prefetch Buffer Handler 2" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "                          "
bitfld.long 0x00 19. " S2V   ,Special Purpose Prefetch Buffer Handler 2" "-,Enabled"
bitfld.long 0x00 12.--15. "   S3ID   ,ID of Special Purpose Prefetch Buffer Handler 3" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 11. "        S3V   ,Special Purpose Prefetch Buffer Handler 3" "-,Enabled"
textline "                          "
bitfld.long 0x00 4.--7. " S4ID  ,ID of Special Purpose Prefetch Buffer Handler 4" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 3. "        S4V    ,Special Purpose Prefetch Buffer Handler 4" "-,Enabled"
group dcr:0x116--0x116
line.long 0x00 "PEGPL0_CFG,Configuration Register"
bitfld.long 0x00 31. " IWPE  ,Inbound Write Parity Check Enable" "-,Enabled"
bitfld.long 0x00 30. "   ORPE   ,Outbound Read Parity Check Enable" "-,Enabled"
bitfld.long 0x00 29. "   PLE   ,Inbound Read Pipeline Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 28. " MGA   ,PCI Express PLB Master Guarded Attribute" "-,Enabled"
bitfld.long 0x00 26.--27. "   MPRI   ,PCI Express PLB Master Priority" "0,1,2,3"
bitfld.long 0x00 25. "         DMER  ,Disable Slave MERR" "-,Disabled"
textline "                          "
bitfld.long 0x00 24. " DTDC  ,Disable Target Directed Completion (TDC)" "-,Disabled"
group dcr:0x117--0x117
line.long 0x00 "PEGPL0_ESR,Error Status Register"
bitfld.long 0x00 31. " SEV   ,Slave Error Valid Indication" "-,Error"
bitfld.long 0x00 30. "     MIRQ   ,MIRQ Received Indication" "-,Error"
bitfld.long 0x00 29. "     MERR  ,MERR Received Indication" "-,Error"
textline "                          "
bitfld.long 0x00 28. " TOT   ,Time-Out Received Indication" "-,Error"
bitfld.long 0x00 27. "     ORPE   ,Outbound Read Parity Error" "-,Error"
bitfld.long 0x00 26. "     IWPE  ,Inbound Write Parity Error" "-,Error"
textline "                          "
bitfld.long 0x00 25. " IE    ,Interrupt Indication Enable" "-,Enabled"
rgroup dcr:0x118--0x118
line.long 0x00 "PEGPL0_EARH,Slave Error Address High Register"
hexmask.long 0x00 0.--31. 1. " SEARH ,Upper PLB Address provided to the PCI Express"
rgroup dcr:0x119--0x119
line.long 0x00 "PEGPL0_EARL,Slave Error Address Low Register"
hexmask.long 0x00 0.--31. 1. " SEARL ,Lower PLB Address provided to the PCI Express"
rgroup dcr:0x11a--0x11a
line.long 0x00 "PEGPL0_EATR,Slave Error Attribute Register"
bitfld.long 0x00 31. " SERNW ,Read Not Write Attribute of the PLB Master" "Write,Read"
hexmask.long.byte 0x00 27.--30. 1. "     SESIZE ,Size Attribute of the PLB Master"
hexmask.long.byte 0x00 23.--26. 1. "        SEMID ,ID Attribute of the PLB Master"
tree.end
tree "Port 1"
group dcr:0x120--0x120
line.long 0x00 "PEGPL1_CFGBAH,Configuration Region Base Address High Register"
hexmask.long 0x00 0.--31. 1. " BAH   ,Configuration Region Base Address"
group dcr:0x121--0x121
line.long 0x00 "PEGPL1_CFGBAL,Configuration Region Base Address Low Register"
hexmask.long 0x00 7.--31. 0x80 " BAL   ,Configuration Region Base Address"
group dcr:0x122--0x122
line.long 0x00 "PEGPL1_CFGMSK,Configuration Region Mask and Validity Register"
hexmask.long 0x00 7.--31. 0x80 " BAM   ,Configuration Region Base Address Mask"
bitfld.long 0x00 0. "  SWCR   ,Specifies Whether the Configuration Region is Valid" "-,Valid"
group dcr:0x123--0x123
line.long 0x00 "PEGPL1_MSGBAH,Message Region Base Address High Register"
hexmask.long 0x00 0.--31. 1. " BAH   ,Message Region Base Address"
group dcr:0x124--0x124
line.long 0x00 "PEGPL1_MSGBAL,Message Region Base Address Low Register"
hexmask.long 0x00 7.--31. 0x80 " BAL   ,Message Region Base Address"
group dcr:0x125--0x125
line.long 0x00 "PEGPL1_MSGMSK,Message Region Mask and Validity Register"
hexmask.long.byte 0x00 7.--14. 1. " BAM   ,Message Region Base Address Mask"
bitfld.long 0x00 0. "        VAL    ,Specifies whether the Message Region is Valid" "-,Valid"
group dcr:0x126--0x126
line.long 0x00 "PEGPL1_OMR1BAH,Outbound Memory Region 1 Base Address High Register"
hexmask.long 0x00 0.--31. 1. " BAH   ,Outbound Memory Region 1 Base Address"
group dcr:0x127--0x127
line.long 0x00 "PEGPL1_OMR1BAL,Outbound Memory Region 1 Base Address Low Register"
hexmask.long.byte 0x00 27.--31. 1. " BAL   ,Outbound Memory Region 1 Base Address"
group dcr:0x128--0x128
line.long 0x00 "PEGPL1_OMR1MSKH,Outbound Memory Region 1 Mask High Register"
hexmask.long 0x00 0.--30. 1. " BAMH  ,Outbound Memory Region 1 Mask"
group dcr:0x129--0x129
line.long 0x00 "PEGPL1_OMR1MSKL,Outbound Memory Region 1 Mask and Validity Low Register"
bitfld.long 0x00 27.--31. " BAML  ,Outbound Memory Region 1 Mask" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
hexmask.long.byte 0x00 2.--9. 1. "        SRV    ,Sub-Region Valid"
bitfld.long 0x00 1. "        UOT   ,Use One TC" "Divided,Not divided"
textline "                          "
bitfld.long 0x00 0. " VAL   ,Specifies Whether Outbound Memory Region 1 is Valid" "-,Valid"
group dcr:0x12a--0x12a
line.long 0x00 "PEGPL1_OMR2BAH,Outbound Memory Region 2 Base Address High Register"
hexmask.long 0x00 0.--31. 1. " BAH   ,Outbound Memory Region 2 Base Address"
group dcr:0x12b--0x12b
line.long 0x00 "PEGPL1_OMR2BAL,Outbound Memory Region 2 Base Address Low Register"
hexmask.long.word 0x00 20.--31. 1. " BAL   ,Outbound Memory Region 2 Base Address"
group dcr:0x12c--0x12c
line.long 0x00 "PEGPL1_OMR2MSKH,Outbound Memory Region 2 Mask High Register"
hexmask.long 0x00 0.--30. 1. " BAMH  ,Outbound Memory Region 2 Mask"
group dcr:0x12d--0x12d
line.long 0x00 "PEGPL1_OMR2MSKL,Outbound Memory Region 2 Mask and Validity Low Register"
hexmask.long.word 0x00 20.--31. 1. " BAML  ,Outbound Memory Region 2 Mask"
bitfld.long 0x00 0. "      VAL    ,Specifies Whether Memory Region 2 is Valid" "-,Valid"
group dcr:0x12e--0x12e
line.long 0x00 "PEGPL1_OMR3BAH,Outbound Memory Region 3 Base Address High Register"
hexmask.long 0x00 0.--31. 1. " BAH   ,Outbound Memory Region 3 Base Address"
group dcr:0x12f--0x12f
line.long 0x00 "PEGPL1_OMR3BAL,Outbound Memory Region 3 Base Address Low Register"
hexmask.long 0x00 7.--31. 0x80 " BAL   ,Outbound Memory Region 3 Base Address"
group dcr:0x130--0x130
line.long 0x00 "PEGPL1_OMR3MSKH,Outbound Memory Region 3 Mask High Register"
hexmask.long 0x00 0.--30. 1. " BAMH  ,Outbound Memory Region 3 Mask"
group dcr:0x131--0x131
line.long 0x00 "PEGPL1_OMR3MSKL,Outbound Memory Region 3 Mask and Validity Low Register"
hexmask.long 0x00 7.--31. 0x80 " BAML  ,Outbound Memory Region 3 Mask"
bitfld.long 0x00 1. "  IO     ,Specifies Whether Region 3 is Dedicated" "Outbound,I/O"
bitfld.long 0x00 0. "  VAL   ,Specifies Whether Memory Region 3 is Valid" "-,Valid"
group dcr:0x132--0x132
line.long 0x00 "PEGPL1_REGBAH,Local Register Region Base Address High Register"
hexmask.long 0x00 0.--31. 1. " BAH   ,Local Register Region Base Address"
group dcr:0x133--0x133
line.long 0x00 "PEGPL1_REGBAL,Local Register Region Base Address Low Register"
hexmask.long 0x00 7.--31. 0x80 " BAL   ,Local Register Region Base Address"
group dcr:0x134--0x134
line.long 0x00 "PEGPL1_REGMSK,Local Register Region Mask and Validity Register"
hexmask.long.byte 0x00 7.--14. 1. " BAM   ,Register Region Base Address Mask"
bitfld.long 0x00 0. "        VAL    ,Specifies Whether the Register Region is Valid" ",Valid"
group dcr:0x135--0x135
line.long 0x00 "PEGPL1_SPECIAL,Special Purpose Prefetch Buffer Handler Register"
bitfld.long 0x00 28.--31. " S1ID  ,ID of Special Purpose Prefetch Buffer Handler 1" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 27. "        S1V    ,Special Purpose Prefetch Buffer Handler 1" "-,Enabled"
bitfld.long 0x00 20.--23. "   S2ID  ,ID of Special Purpose Prefetch Buffer Handler 2" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "                          "
bitfld.long 0x00 19. " S2V   ,Special Purpose Prefetch Buffer Handler 2" "-,Enabled"
bitfld.long 0x00 12.--15. "   S3ID   ,ID of Special Purpose Prefetch Buffer Handler 3" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 11. "        S3V   ,Special Purpose Prefetch Buffer Handler 3" "-,Enabled"
textline "                          "
bitfld.long 0x00 4.--7. " S4ID  ,ID of Special Purpose Prefetch Buffer Handler 4" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 3. "        S4V    ,Special Purpose Prefetch Buffer Handler 4" "-,Enabled"
group dcr:0x136--0x136
line.long 0x00 "PEGPL1_CFG,Configuration Register"
bitfld.long 0x00 31. " IWPE  ,Inbound Write Parity Check Enable" "-,Enabled"
bitfld.long 0x00 30. "   ORPE   ,Outbound Read Parity Check Enable" "-,Enabled"
bitfld.long 0x00 29. "   PLE   ,Inbound Read Pipeline Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 28. " MGA   ,PCI Express PLB Master Guarded Attribute" "-,Enabled"
bitfld.long 0x00 26.--27. "   MPRI   ,PCI Express PLB Master Priority" "0,1,2,3"
bitfld.long 0x00 25. "         DMER  ,Disable Slave MERR" "-,Disabled"
textline "                          "
bitfld.long 0x00 24. " DTDC  ,Disable Target Directed Completion (TDC)" "-,Disabled"
group dcr:0x137--0x137
line.long 0x00 "PEGPL1_ESR,Error Status Register"
bitfld.long 0x00 31. " SEV   ,Slave Error Valid Indication" "-,Error"
bitfld.long 0x00 30. "     MIRQ   ,MIRQ Received Indication" "-,Error"
bitfld.long 0x00 29. "     MERR  ,MERR Received Indication" "-,Error"
textline "                          "
bitfld.long 0x00 28. " TOT   ,Time-Out Received Indication" "-,Error"
bitfld.long 0x00 27. "     ORPE   ,Outbound Read Parity Error" "-,Error"
bitfld.long 0x00 26. "     IWPE  ,Inbound Write Parity Error" "-,Error"
textline "                          "
bitfld.long 0x00 25. " IE    ,Interrupt Indication Enable" "-,Enabled"
rgroup dcr:0x138--0x138
line.long 0x00 "PEGPL1_EARH,Slave Error Address High Register"
hexmask.long 0x00 0.--31. 1. " SEARH ,Upper PLB Address provided to the PCI Express"
rgroup dcr:0x139--0x139
line.long 0x00 "PEGPL1_EARL,Slave Error Address Low Register"
hexmask.long 0x00 0.--31. 1. " SEARL ,Lower PLB Address provided to the PCI Express"
rgroup dcr:0x13a--0x13a
line.long 0x00 "PEGPL0_EATR,Slave Error Attribute Register"
bitfld.long 0x00 31. " SERNW ,Read Not Write Attribute of the PLB Master" "Write,Read"
hexmask.long.byte 0x00 27.--30. 1. "     SESIZE ,Size Attribute of the PLB Master"
hexmask.long.byte 0x00 23.--26. 1. "        SEMID ,ID Attribute of the PLB Master"
tree.end
tree "Port 2"
group dcr:0x140--0x140
line.long 0x00 "PEGPL2_CFGBAH,Configuration Region Base Address High Register"
hexmask.long 0x00 0.--31. 1. " BAH   ,Configuration Region Base Address"
group dcr:0x141--0x141
line.long 0x00 "PEGPL2_CFGBAL,Configuration Region Base Address Low Register"
hexmask.long 0x00 7.--31. 0x80 " BAL   ,Configuration Region Base Address"
group dcr:0x142--0x142
line.long 0x00 "PEGPL2_CFGMSK,Configuration Region Mask and Validity Register"
hexmask.long 0x00 7.--31. 0x80 " BAM   ,Configuration Region Base Address Mask"
bitfld.long 0x00 0. "  SWCR   ,Specifies Whether the Configuration Region is Valid" "-,Valid"
group dcr:0x143--0x143
line.long 0x00 "PEGPL2_MSGBAH,Message Region Base Address High Register"
hexmask.long 0x00 0.--31. 1. " BAH   ,Message Region Base Address"
group dcr:0x144--0x144
line.long 0x00 "PEGPL2_MSGBAL,Message Region Base Address Low Register"
hexmask.long 0x00 7.--31. 0x80 " BAL   ,Message Region Base Address"
group dcr:0x145--0x145
line.long 0x00 "PEGPL2_MSGMSK,Message Region Mask and Validity Register"
hexmask.long.byte 0x00 7.--14. 1. " BAM   ,Message Region Base Address Mask"
bitfld.long 0x00 0. "        VAL    ,Specifies whether the Message Region is Valid" "-,Valid"
group dcr:0x146--0x146
line.long 0x00 "PEGPL2_OMR1BAH,Outbound Memory Region 1 Base Address High Register"
hexmask.long 0x00 0.--31. 1. " BAH   ,Outbound Memory Region 1 Base Address"
group dcr:0x147--0x147
line.long 0x00 "PEGPL2_OMR1BAL,Outbound Memory Region 1 Base Address Low Register"
hexmask.long.byte 0x00 27.--31. 1. " BAL   ,Outbound Memory Region 1 Base Address"
group dcr:0x148--0x148
line.long 0x00 "PEGPL2_OMR1MSKH,Outbound Memory Region 1 Mask High Register"
hexmask.long 0x00 0.--30. 1. " BAMH  ,Outbound Memory Region 1 Mask"
group dcr:0x149--0x149
line.long 0x00 "PEGPL2_OMR1MSKL,Outbound Memory Region 1 Mask and Validity Low Register"
bitfld.long 0x00 27.--31. " BAML  ,Outbound Memory Region 1 Mask" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
hexmask.long.byte 0x00 2.--9. 1. "        SRV    ,Sub-Region Valid"
bitfld.long 0x00 1. "        UOT   ,Use One TC" "Divided,Not divided"
textline "                          "
bitfld.long 0x00 0. " VAL   ,Specifies Whether Outbound Memory Region 1 is Valid" "-,Valid"
group dcr:0x14a--0x14a
line.long 0x00 "PEGPL2_OMR2BAH,Outbound Memory Region 2 Base Address High Register"
hexmask.long 0x00 0.--31. 1. " BAH   ,Outbound Memory Region 2 Base Address"
group dcr:0x14b--0x14b
line.long 0x00 "PEGPL2_OMR2BAL,Outbound Memory Region 2 Base Address Low Register"
hexmask.long.word 0x00 20.--31. 1. " BAL   ,Outbound Memory Region 2 Base Address"
group dcr:0x14c--0x14c
line.long 0x00 "PEGPL2_OMR2MSKH,Outbound Memory Region 2 Mask High Register"
hexmask.long 0x00 0.--30. 1. " BAMH  ,Outbound Memory Region 2 Mask"
group dcr:0x14d--0x14d
line.long 0x00 "PEGPL2_OMR2MSKL,Outbound Memory Region 2 Mask and Validity Low Register"
hexmask.long.word 0x00 20.--31. 1. " BAML  ,Outbound Memory Region 2 Mask"
bitfld.long 0x00 0. "      VAL    ,Specifies Whether Memory Region 2 is Valid" "-,Valid"
group dcr:0x14e--0x14e
line.long 0x00 "PEGPL2_OMR3BAH,Outbound Memory Region 3 Base Address High Register"
hexmask.long 0x00 0.--31. 1. " BAH   ,Outbound Memory Region 3 Base Address"
group dcr:0x14f--0x14f
line.long 0x00 "PEGPL2_OMR3BAL,Outbound Memory Region 3 Base Address Low Register"
hexmask.long 0x00 7.--31. 0x80 " BAL   ,Outbound Memory Region 3 Base Address"
group dcr:0x150--0x150
line.long 0x00 "PEGPL2_OMR3MSKH,Outbound Memory Region 3 Mask High Register"
hexmask.long 0x00 0.--30. 1. " BAMH  ,Outbound Memory Region 3 Mask"
group dcr:0x151--0x151
line.long 0x00 "PEGPL2_OMR3MSKL,Outbound Memory Region 3 Mask and Validity Low Register"
hexmask.long 0x00 7.--31. 0x80 " BAML  ,Outbound Memory Region 3 Mask"
bitfld.long 0x00 1. "  IO     ,Specifies Whether Region 3 is Dedicated" "Outbound,I/O"
bitfld.long 0x00 0. "  VAL   ,Specifies Whether Memory Region 3 is Valid" "-,Valid"
group dcr:0x152--0x152
line.long 0x00 "PEGPL2_REGBAH,Local Register Region Base Address High Register"
hexmask.long 0x00 0.--31. 1. " BAH   ,Local Register Region Base Address"
group dcr:0x153--0x153
line.long 0x00 "PEGPL2_REGBAL,Local Register Region Base Address Low Register"
hexmask.long 0x00 7.--31. 0x80 " BAL   ,Local Register Region Base Address"
group dcr:0x154--0x154
line.long 0x00 "PEGPL2_REGMSK,Local Register Region Mask and Validity Register"
hexmask.long.byte 0x00 7.--14. 1. " BAM   ,Register Region Base Address Mask"
bitfld.long 0x00 0. "        VAL    ,Specifies Whether the Register Region is Valid" ",Valid"
group dcr:0x155--0x155
line.long 0x00 "PEGPL0_SPECIAL,Special Purpose Prefetch Buffer Handler Register"
bitfld.long 0x00 28.--31. " S1ID  ,ID of Special Purpose Prefetch Buffer Handler 1" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 27. "        S1V    ,Special Purpose Prefetch Buffer Handler 1" "-,Enabled"
bitfld.long 0x00 20.--23. "   S2ID  ,ID of Special Purpose Prefetch Buffer Handler 2" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "                          "
bitfld.long 0x00 19. " S2V   ,Special Purpose Prefetch Buffer Handler 2" "-,Enabled"
bitfld.long 0x00 12.--15. "   S3ID   ,ID of Special Purpose Prefetch Buffer Handler 3" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 11. "        S3V   ,Special Purpose Prefetch Buffer Handler 3" "-,Enabled"
textline "                          "
bitfld.long 0x00 4.--7. " S4ID  ,ID of Special Purpose Prefetch Buffer Handler 4" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 3. "        S4V    ,Special Purpose Prefetch Buffer Handler 4" "-,Enabled"
group dcr:0x156--0x156
line.long 0x00 "PEGPL0_CFG,Configuration Register"
bitfld.long 0x00 31. " IWPE  ,Inbound Write Parity Check Enable" "-,Enabled"
bitfld.long 0x00 30. "   ORPE   ,Outbound Read Parity Check Enable" "-,Enabled"
bitfld.long 0x00 29. "   PLE   ,Inbound Read Pipeline Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 28. " MGA   ,PCI Express PLB Master Guarded Attribute" "-,Enabled"
bitfld.long 0x00 26.--27. "   MPRI   ,PCI Express PLB Master Priority" "0,1,2,3"
bitfld.long 0x00 25. "         DMER  ,Disable Slave MERR" "-,Disabled"
textline "                          "
bitfld.long 0x00 24. " DTDC  ,Disable Target Directed Completion (TDC)" "-,Disabled"
group dcr:0x157--0x157
line.long 0x00 "PEGPL0_ESR,Error Status Register"
bitfld.long 0x00 31. " SEV   ,Slave Error Valid Indication" "-,Error"
bitfld.long 0x00 30. "     MIRQ   ,MIRQ Received Indication" "-,Error"
bitfld.long 0x00 29. "     MERR  ,MERR Received Indication" "-,Error"
textline "                          "
bitfld.long 0x00 28. " TOT   ,Time-Out Received Indication" "-,Error"
bitfld.long 0x00 27. "     ORPE   ,Outbound Read Parity Error" "-,Error"
bitfld.long 0x00 26. "     IWPE  ,Inbound Write Parity Error" "-,Error"
textline "                          "
bitfld.long 0x00 25. " IE    ,Interrupt Indication Enable" "-,Enabled"
rgroup dcr:0x158--0x158
line.long 0x00 "PEGPL0_EARH,Slave Error Address High Register"
hexmask.long 0x00 0.--31. 1. " SEARH ,Upper PLB Address provided to the PCI Express"
rgroup dcr:0x159--0x159
line.long 0x00 "PEGPL0_EARL,Slave Error Address Low Register"
hexmask.long 0x00 0.--31. 1. " SEARL ,Lower PLB Address provided to the PCI Express"
rgroup dcr:0x15a--0x15a
line.long 0x00 "PEGPL0_EATR,Slave Error Attribute Register"
bitfld.long 0x00 31. " SERNW ,Read Not Write Attribute of the PLB Master" "Write,Read"
hexmask.long.byte 0x00 27.--30. 1. "     SESIZE ,Size Attribute of the PLB Master"
hexmask.long.byte 0x00 23.--26. 1. "        SEMID ,ID Attribute of the PLB Master"
tree.end

tree.end
endif
tree.end
;tree.open "PCI Express"
tree.open "PCIX Bus Controller"
tree "PCIX Control Registers"
sif (cpu()=="PPC440GX")
width 0xC
group dcr:0xf++0x0
saveout dcr:0xe %l 0x01C1
line.long 0x0 "SDR0_XPLLC,PCIX PLL Control Register 0"
bitfld.long 0x00 31. " RST ,Reset" "-,Reset"
bitfld.long 0x00 29. "  SRC ,PLL Feedback Source" "PLLOUTA,PLLOUTB"
bitfld.long 0x00 24.--27. "  SEL ,Feedback Selection" "Output,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
hexmask.long.word 0x00 0.--9. 1. "  TUNE ,TUNE bits"
group dcr:0xf++0x0
saveout dcr:0xe %l 0x01C2
line.long 0x0 "SDR0_XPLLD,PCIX PLL Divisor Register 0"
hexmask.long.byte 0x00 24.--31. 1. " FBDV ,PLL Feedback Divisor"
hexmask.long.byte 0x00 16.--23. 1. "  FWDVA ,PLL Forward Divisor A"
width 0xB
elif (cpu()=="PPC440SP")
;PCIX Control Registers
width 13.
group dcr:0x00F++0x03
saveout dcr:0x00E %l 0x1C1
line.long 0x00 "SDR0_XPLLC0,PCIX PLL Control Register 0"
bitfld.long 0x00 31. " RST  ,Reset" "-,Reset"
hexmask.long.word 0x00 0.--9. 1. "  TUNE  ,TUNE Bits"
group dcr:0x00F++0x03
saveout dcr:0x00E %l 0x1C4
line.long 0x00 "SDR0_XPLLC1,PCIX PLL Control Register 1"
bitfld.long 0x00 31. " RST  ,Reset" "-,Reset"
hexmask.long.word 0x00 0.--9. 1. "  TUNE  ,TUNE Bits"
group dcr:0x00F++0x03
saveout dcr:0x00E %l 0x1C7
line.long 0x00 "SDR0_XPLLC2,PCIX PLL Control Register 2"
bitfld.long 0x00 31. " RST  ,Reset" "-,Reset"
hexmask.long.word 0x00 0.--9. 1. "  TUNE  ,TUNE Bits"
group dcr:0x00F++0x03
saveout dcr:0x00E %l 0x1C2
line.long 0x00 "SDR0_XPLLD0,PCIX PLL Divisor Register 0"
hexmask.long.byte 0x00 24.--31. 1. " FBDV ,PLL Feedback Divisor"
hexmask.long.byte 0x00 16.--23. 1. "     FWDVA ,PLL Forward Divisor A"
group dcr:0x00F++0x03
saveout dcr:0x00E %l 0x1C5
line.long 0x00 "SDR0_XPLLD1,PCIX PLL Divisor Register 1"
hexmask.long.byte 0x00 24.--31. 1. " FBDV ,PLL Feedback Divisor"
hexmask.long.byte 0x00 16.--23. 1. "     FWDVA ,PLL Forward Divisor A"
group dcr:0x00F++0x03
saveout dcr:0x00E %l 0x1C8
line.long 0x00 "SDR0_XPLLD2,PCIX PLL Divisor Register 2"
hexmask.long.byte 0x00 24.--31. 1. " FBDV ,PLL Feedback Divisor"
hexmask.long.byte 0x00 16.--23. 1. "     FWDVA ,PLL Forward Divisor A"
width 0x0B
elif (cpu()=="PPC440SPE")
;PCIX Control Registers
width 13.
group dcr:0x00F++0x03
saveout dcr:0x00E %l 0x01c1
line.long 0x00 "SDR0_XPLLC0,PCIX PLL Control Register 0"
bitfld.long 0x00 31. " RST  ,Reset" "-,Reset"
hexmask.long.word 0x00 0.--9. 1. "  TUNE  ,TUNE Bits"
group dcr:0x00F++0x03
saveout dcr:0x00E %l 0x01c2
line.long 0x00 "SDR0_XPLLD0,PCIX PLL Divisor Register 0"
hexmask.long.byte 0x00 24.--31. 1. " FBDV ,PLL Feedback Divisor"
hexmask.long.byte 0x00 16.--23. 1. "     FWDVA ,PLL Forward Divisor A"
width 0x0B
endif
tree.end
endian.le
tree "PLB-PCIX Bridge Controller"
sif (cpu()=="PPC440GX")
base ANC:0x2:0x0EC00000
width 16.
tree "Standard Header Registers"
group.word 0x80000++0x7
line.word 0x0 "PCIX0_VENDID,PCI-X Vendor ID Register 0"
line.word 0x2 "PCIX0_DEVID,PCI-X Device ID Register 0"
line.word 0x4 "PCIX0_CMD,PCI-X Device ID Register 0"
bitfld.word 0x4 10. "     INTD ,Interrupt Disable" "-,Disabled"
bitfld.word 0x4 9. "  FBBC ,Fast Back-to-Back Capable" "-,Enabled"
bitfld.word 0x4 8. "      SERE ,SERR# Enable" "-,Enabled"
bitfld.word 0x4 7. "    ADS  ,Address Stepping" "-,Enabled"
textline "                         "
bitfld.word 0x4 6. " PER  ,Parity Error Response" "-,Enabled"
bitfld.word 0x4 5. "   PLS  ,Palette Snooping" "-,Enabled"
bitfld.word 0x4 4. "      MWI  ,Memory Write and Invalidate" "-,Enabled"
bitfld.word 0x4 3. "    SPC  ,Special Cycle" "-,Enabled"
textline "                         "
bitfld.word 0x4 2. " PME  ,PCI Master Enable" "-,Enabled"
bitfld.word 0x4 1. "   MEMA ,Memory Access" "-,Enabled"
bitfld.word 0x4 0. "      IOA  ,I/O Access" "-,Enabled"
line.word 0x6 "PCIX0_STATUS,PCI-X Status Register 0"
eventfld.word 0x6 15. "     DEPE ,Detected Parity Error" "-,Error"
eventfld.word 0x6 14. "     SSE  ,Signaled System Error" "-,Error"
eventfld.word 0x6 13. "        RMA  ,Received Master Abort" "-,Occurred"
eventfld.word 0x6 12. "   RTA  ,Received Target Abort" "-,Occurred"
textline "                         "
eventfld.word 0x6 11. " STA  ,Signaled Target Abort" "-,Occurred"
bitfld.word 0x6 9.--10. "  DST  ,/PCIDevSel Response Timing" "0,1,2,3"
eventfld.word 0x6 8. "            DPE  ,Data Parity Error Detected" "-,Detected"
bitfld.word 0x6 7. "   FBBC ,Fast Back-to-Back Capable" "-,Capable"
textline "                         "
bitfld.word 0x6 5. " 66C  ,66 MHz Capable" "-,Capable"
bitfld.word 0x6 4. "   CL   ,Capabilities List" "-,Implemented"
bitfld.word 0x6 3. "  INTS ,Interrupt Status" "-,Interrupt"
group.byte 0x80008++0x1
line.byte 0x0 "PCIX0_REVID,PCI-X Revision ID Register 0"
line.byte 0x1 "PCIX0_CLSB,PCI-X Class Register 0 Byte"
hexmask.byte 0x1 0.--7. 1. "     INT  ,Interface Class"
group.word 0x8000A++0x1
line.word 0x0 "PCIX0_CLSW,PCI-X Class Register 0 Word"
hexmask.word.byte 0x0 8.--15. 1. "     BASE ,Base Class"
hexmask.word.byte 0x0 0.--7. 1. "        SUB  ,Subclass"
group.byte 0x8000c++0x1
line.byte 0x0 "PCIX0_CACHELS,PCI-X Cache Line Size Register 0"
line.byte 0x1 "PCIX0_LATTIM,PCI-X Latency Timer Register 0"
rgroup.byte 0x8000e++0x1
line.byte 0x0 "PCIX0_HDTYPE,PCI-X Header Type Register 0"
line.byte 0x1 "PCIX0_BIST,PCI-X Built-In Self Test (BIST) Control Register 0"
group.long 0x80010++0x13
line.long 0x0 "PCIX0_BAR0L,PCI-X BAR0 Low Register 0"
hexmask.long 0x00 12.--31. 0x1000 " BA  ,Base Address"
hexmask.long 0x00 4.--11. 0x10 "  BAZ ,Base Address - always zero"
bitfld.long 0x00 3. "  PEF ,Prefetchable" "-,Prefetchable"
bitfld.long 0x00 1.--2. "  LT ,Location Type" "Reserved,Reserved,Anywhere,Reserved"
textline "                         "
bitfld.long 0x00 0. " MSI ,Memory Space Indicator" "Memory,I/O"
line.long 0x4 "PCIX0_BAR0H,PCI-X BAR0 High Register 0"
line.long 0x8 "PCIX0_BAR1,PCI-X BAR1 Register 0"
hexmask.long 0x8 8.--31. 0x100 " BA  ,Base Address"
hexmask.long 0x8 2.--7. 4. "  BAZ ,Base Address always zero"
bitfld.long 0x8 0. "  MSI ,Memory Space Indicator" "Memory,I/O"
line.long 0xC "PCIX0_BAR2L,PCI-X BAR2 Low Register 0"
hexmask.long 0xC 12.--31. 0x1000 " BA  ,Base Address"
hexmask.long 0xC 4.--11. 0x10 "  BAZ ,Base Address - always zero"
bitfld.long 0xC 3. "  PEF ,Prefetchable"  "-,Prefetchable"
bitfld.long 0xC 1.--2. "  LT ,Location Type" "Reserved,Reserved,Anywhere,Reserved"
textline "                         "
bitfld.long 0xC 0. " MSI ,Memory Space Indicator" "Memory,I/O"
line.long 0x10 "PCIX0_BAR2H,PCI-X BAR2 High Register 0"
rgroup.long 0x80024++0x7
line.long 0x0 "PCIX0_BAR3,Unused BAR 0 3"
line.long 0x4 "PCIX0_CISPTR,Unused Cardbus CIS Pointer"
group.word 0x8002c++0x3
line.word 0x0 "PCIX0_SBSYSVID,PCI-X Subsystem Vendor ID Register 0"
line.word 0x2 "PCIX0_SBSYSID,PCI-X Subsystem ID Register 0"
group.long 0x80030++0x3
line.long 0x0 "PCIX0_EROMBA,PCI-X Expansion ROM Base Address Register 0"
hexmask.long 0x00 12.--31. 0x1000 " BA ,Base Address"
hexmask.long 0x00 1.--11. 2. "  BAZ ,Base Address - always zero"
bitfld.long 0x00 0. "  EN ,Enable" "BAR2,ROM"
group.byte 0x80034++0x0
line.byte 0x0 "PCIX0_CAP,PCI-X Capabilities Pointer 0"
group.byte 0x8003c++0x0
line.byte 0x0 "PCIX0_INTLN,PCI-X Interrupt Line Register 0"
rgroup.byte 0x8003d++0x0
line.byte 0x0 "PCIX0_INTPN,PCI-X Interrupt Pin Register 0"
group.byte 0x8003E++0x1
line.byte 0x0 "PCIX0_MINGNT,PCI-X Minimum Grant Register 0"
line.byte 0x1 "PCIX0_MAXLTNCY,PCI-X Maximum Latency Register 0"
tree.end
tree "Bridge Options Registers"
group.long 0x80040++0x7
line.long 0x0 "PCIX0_BRDGOPT1,PCI-X Bridge Options 0 1"
bitfld.long 0x00 29.--31. " RBP7 ,Outbund Read Buffer Mapping for PLB master 7: OPB to PLB Bridge" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 26.--28. "        RBP6 ,Outbund Read Buffer Mapping for PLB master 6: Direct Memory Access Controller" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 23.--25. "            RBP5 ,Outbund Read Buffer Mapping for PLB master 5: Media Access Layer" "0,1,2,3,4,5,6,7"
textline "                         "
bitfld.long 0x00 20.--22. " RBP4 ,Outbund Read Buffer Mapping for PLB master 4: I2O Messaging Unit" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 17.--19. "        RBP3 ,Outbund Read Buffer Mapping for PLB master 3: PCIX Bridge Controller" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 14.--16. "            RBP2 ,Outbund Read Buffer Mapping for PLB master 2: Processor Core Data Cache Write Unit" "0,1,2,3,4,5,6,7"
textline "                         "
bitfld.long 0x00 11.--13. " RBP1 ,Outbund Read Buffer Mapping for PLB master 1: Processor Core Data Cache Read Unit" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 8.--10. "        RBP0 ,Outbund Read Buffer Mapping for PLB master 0: Processor Core Instruction Cache Read Unit" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 5.--6.  "            PLRQ ,PLB Request Priority" "Lowest,Lower medium,Higher medium,Highest"
textline "                         "
bitfld.long 0x00 4.  " MSEN ,Inbound MSI Enable" "-,Enabled"
bitfld.long 0x00 3.  "  PCAR ,PCI Arbiter Park Mode" "Requester 0,Last master"
bitfld.long 0x00 1.--2.  "  PTMR ,PCI Target Memory Read Command interpretation" "Read,Read line,Read multiple,Reserved"
line.long 0x4 "PCIX0_BRDGOPT2,PCI-X Bridge Options 0 2"
bitfld.long 0x4 15.--16. " FREQ ,Frequency Range for PCIX/PCI conv" "100-133 MHz/Reserved,66-100 MHz/Reserved,50-66/33-66 MHz,Reserved/0-33 MHz"
bitfld.long 0x4 14.  "  XEN  ,PCI-X Mode Enabled" "-,Enabled"
bitfld.long 0x4 13.  "   EXWR ,External Write to PCI Command Interrupt" "-,Written"
textline "                         "
bitfld.long 0x4 10.  " TDIS ,PCI Discard Timer Disable" "-,Disabled"
bitfld.long 0x4 7.--8.  "              INT1 ,PCI Interrupt Source 1" "0,1,2,3"
bitfld.long 0x4 4.--5.  "         INT0 ,PCI Interrupt Source 0" "0,1,2,3"
textline "                         "
bitfld.long 0x4 3.  " CPUW ,Local CPU wait" "-,Wait"
bitfld.long 0x4 2.  "                  HTD  ,Host Configuration Enable Timer Disable" "-,Disabled"
bitfld.long 0x4 1.  "  HTEX ,Host Configuration Enable Timer Expired" "-,Expired"
textline "                         "
bitfld.long 0x4 0.  " HCEN ,Host Configuration Enable" "-,Enabled"
tree.end
tree "Error Handling Registers"
group.long 0x80050++0x7
line.long 0x0 "PCIX0_ERREN,PCI-X Error Enable 0"
bitfld.long 0x00 18.  " REL  ,Route Error Locally" "-,Enabled"
bitfld.long 0x00 17.  "  MRWE  ,MRdErr/MWrErr Assertion Enable" "-,Enabled"
bitfld.long 0x00 16.  "  EAE  ,ERROR_INT Assertion Enable" "-,Enabled"
bitfld.long 0x00 15.  "  SDTE ,Outbound Split Discard Timer Enable" "-,Enabled"
textline "                         "
bitfld.long 0x00 14.  " USEE ,Unexpected Split Completion Error Enable" "-,Enabled"
bitfld.long 0x00 12.  "  RERE  ,MRdErr Receive Enable" "-,Enabled"
bitfld.long 0x00 11.  "  WERE ,MWrErr Receive Enable" "-,Enabled"
bitfld.long 0x00 10.  "  MQRE ,Mirq Receive Enable" "-,Enabled"
textline "                         "
bitfld.long 0x00 9.  " TRE  ,Timeout Receive Enable" "-,Enabled"
bitfld.long 0x00 8.  "  PCIPO ,PCI Parity Option" "-,Enabled"
bitfld.long 0x00 7.  "  IDPE ,PCI Inbound Write Data Parity Error Enable" "-,Enabled"
bitfld.long 0x00 5.  "  MAEE ,Master Abort Error Enable" "-,Enabled"
textline "                         "
bitfld.long 0x00 4.  " TAEE ,Target Abort Error Enable" "-,Enabled"
bitfld.long 0x00 3.  "  STEE  ,Split Transaction Error Enable" "-,Enabled"
bitfld.long 0x00 2.  "  APEE ,Addr/Attrib Parity Error Enable" "-,Enabled"
bitfld.long 0x00 1.  "  DRTE ,Delayed Read Discard Timer Expired Error Enable" "-,Enabled"
textline "                         "
bitfld.long 0x00 0.  " SEE  ,PCI_SERR# Received as Error Enable" "-,Enabled"
line.long 0x4 "PCIX0_ERRSTS,PCI-X Error Status 0"
eventfld.long 0x4 17.  " MRWE ,MRdErr or MWrErr Signaled" "-,Error"
eventfld.long 0x4 16.  "     EIS ,ERROR_INT Signaled" "-,Error"
eventfld.long 0x4 15.  "     SDTE ,Split Discard Timer Expired" "-,Expired"
eventfld.long 0x4 12.  "   MRER ,MRdErr Received" "-,Received"
textline "                         "
eventfld.long 0x4 11.  " MWER ,MWrErr Received" "-,Received"
eventfld.long 0x4 10.  "  MQR ,Mirq Received" "-,Received"
eventfld.long 0x4 9.  "  TO   ,Timeout" "-,Received"
eventfld.long 0x4 7.  "  IPED ,PCI Inbound Write Data Parity Error Detected" "-,Error"
textline "                         "
eventfld.long 0x4 2.  " APED ,Addr/Attrib Parity Error Detected" "-,Detected"
eventfld.long 0x4 1.  "  DTE ,Delayed Read Discard Timer Expired" "-,Expired"
eventfld.long 0x4 0.  "   PSEE ,PCI_SERR# Received" "-,Received"
rgroup 0x80058++0xB
line.long 0x0 "PCIX0_PLBBESR,PCI-X PLB Slave Error Attribute Register"
bitfld.long 0x00 9. " Val ,Valid" "-,Valid"
bitfld.long 0x00 8. "  RNW ,RNW from the PLB master" "-,RNW"
bitfld.long 0x00 4.--7. "  PLBS ,Size from the PLB master" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 0.--3. "  MID ,MasterID of the PLB master" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
line.long 0x4 "PCIX0_PLBEARL,PCI-X PLB Slave Error Address Register Low 0"
line.long 0x8 "PCIX0_PLBEARH,PCI-X PLB Slave Error Address Register High 0"
tree.end
width 0x11
tree "POM Registers"
group.long 0x80068++0x2B
line.long 0x0 "PCIX0_POM0LAL,PCI-X POM 0 Local Address Low 0"
hexmask.long 0x00 20.--31. 0x100000 " 0LAL ,Local Address Low"
line.long 0x4 "PCIX0_POM0LAH,PCI-X POM 0 Local Address High 0"
line.long 0x8 "PCIX0_POM0SA,PCI-X POM 0 Size/Attribute Register 0"
bitfld.long 0x8 31. " SIZE ,Size of POM0 31" "0,1"
bitfld.long 0x8 30. ",Size of POM0 30" "0,1"
bitfld.long 0x8 29. ",Size of POM0 29" "0,1"
bitfld.long 0x8 28. ",Size of POM0 28" "0,1"
bitfld.long 0x8 27. ",Size of POM0 27" "0,1"
bitfld.long 0x8 26. ",Size of POM0 26" "0,1"
bitfld.long 0x8 25. ",Size of POM0 25" "0,1"
bitfld.long 0x8 24. ",Size of POM0 24" "0,1"
bitfld.long 0x8 23. ",Size of POM0 23" "0,1"
bitfld.long 0x8 22. ",Size of POM0 22" "0,1"
bitfld.long 0x8 21. ",Size of POM0 21" "0,1"
bitfld.long 0x8 20. ",Size of POM0 20" "0,1"
bitfld.long 0x8 0.  " En   ,Enable Mapping" "-,Enabled"
line.long 0xC "PCIX0_POM0PCIAL,PCI-X POM 0 PCI Address Low 0"
hexmask.long 0xC 20.--31. 0x100000 " 0PAL ,PCI Low Address 0"
line.long 0x10 "PCIX0_POM0PCIAH,PCI-X POM 0 PCI Address High 0"
line.long 0x14 "PCIX0_POM1LAL,PCI-X POM 1 Local Address Low 0"
hexmask.long 0x14 20.--31. 0x100000 " 1LAL ,Local Address Low 1"
line.long 0x18 "PCIX0_POM1LAH,PCI-X POM 1 Local Address High 0"
line.long 0x1C "PCIX0_POM1SA,PCI-X POM 1 Size/Attribute Register 0"
bitfld.long 0x1C 31. " SIZE ,Size of POM 1 31" "0,1"
bitfld.long 0x1C 30. ",Size of POM 1 30" "0,1"
bitfld.long 0x1C 29. ",Size of POM 1 29" "0,1"
bitfld.long 0x1C 28. ",Size of POM 1 28" "0,1"
bitfld.long 0x1C 27. ",Size of POM 1 27" "0,1"
bitfld.long 0x1C 26. ",Size of POM 1 26" "0,1"
bitfld.long 0x1C 25. ",Size of POM 1 25" "0,1"
bitfld.long 0x1C 24. ",Size of POM 1 24" "0,1"
bitfld.long 0x1C 23. ",Size of POM 1 23" "0,1"
bitfld.long 0x1C 22. ",Size of POM 1 22" "0,1"
bitfld.long 0x1C 21. ",Size of POM 1 21" "0,1"
bitfld.long 0x1C 20. ",Size of POM 1 20" "0,1"
bitfld.long 0x1C 0.  " En   ,Enable Mapping" "-,Enabled"
line.long 0x20 "PCIX0_POM1PCIAL,PCI-X POM 1 PCI Address Low 0"
hexmask.long 0x20 20.--31. 0x100000 " 1PAL ,PCI Low Address 1"
line.long 0x24 "PCIX0_POM1PCIAH,PCI-X POM 1 PCI Address High 0"
line.long 0x28 "PCIX0_POM2SA,PCI-X POM 2 Size/Attribute Register 0"
bitfld.long 0x28 0.  " En   ,Enable Mapping" "-,Enabled"
tree.end
width 0xF
tree "PIM Registers"
group.long 0x80098++0x3
line.long 0x0 "PCIX0_PIM0SAL,PCI-X PIM0 Size/Attribute Register 0"
bitfld.long 0x00 31. " SIZL ,Size Low of PIM0 31" "0,1"
bitfld.long 0x00 30. ",Size Low of PIM0 30" "0,1"
bitfld.long 0x00 29. ",Size Low of PIM0 29" "0,1"
bitfld.long 0x00 28. ",Size Low of PIM0 28" "0,1"
bitfld.long 0x00 27. ",Size Low of PIM0 27" "0,1"
bitfld.long 0x00 26. ",Size Low of PIM0 26" "0,1"
bitfld.long 0x00 25. ",Size Low of PIM0 25" "0,1"
bitfld.long 0x00 24. ",Size Low of PIM0 24" "0,1"
bitfld.long 0x00 23. ",Size Low of PIM0 23" "0,1"
bitfld.long 0x00 22. ",Size Low of PIM0 22" "0,1"
bitfld.long 0x00 21. ",Size Low of PIM0 21" "0,1"
bitfld.long 0x00 20. ",Size Low of PIM0 20" "0,1"
bitfld.long 0x00 19. ",Size Low of PIM0 19" "0,1"
bitfld.long 0x00 18. ",Size Low of PIM0 18" "0,1"
bitfld.long 0x00 17. ",Size Low of PIM0 17" "0,1"
bitfld.long 0x00 16. ",Size Low of PIM0 16" "0,1"
bitfld.long 0x00 15. ",Size Low of PIM0 15" "0,1"
bitfld.long 0x00 14. ",Size Low of PIM0 14" "0,1"
bitfld.long 0x00 13. ",Size Low of PIM0 13" "0,1"
bitfld.long 0x00 12. ",Size Low of PIM0 12" "0,1"
bitfld.long 0x00 3.  " MS   ,Map split using PIM1" "Internally,PLB"
bitfld.long 0x00 2.  "  SBE ,Split BAR0 Enable" "One region,Two regions"
bitfld.long 0x00 1.  "  PE ,Prefetch Enable" "-,Enabled"
textline "                        "
bitfld.long 0x00 0.  " En   ,Enable" "-,Enabled"
group.long 0x800f8++0x3
line.long 0x0 "PCIX0_PIM0SAH,PCI-X PIM0 Size/Attribute High Register 0"
bitfld.long 0x0 31. " SIZ  ,Size High of PIM0 63" "0,1"
bitfld.long 0x0 30. ",Size High of PIM0 62" "0,1"
bitfld.long 0x0 29. ",Size High of PIM0 61" "0,1"
bitfld.long 0x0 28. ",Size High of PIM0 60" "0,1"
bitfld.long 0x0 27. ",Size High of PIM0 59" "0,1"
bitfld.long 0x0 26. ",Size High of PIM0 58" "0,1"
bitfld.long 0x0 25. ",Size High of PIM0 57" "0,1"
bitfld.long 0x0 24. ",Size High of PIM0 56" "0,1"
bitfld.long 0x0 23. ",Size High of PIM0 55" "0,1"
bitfld.long 0x0 22. ",Size High of PIM0 54" "0,1"
bitfld.long 0x0 21. ",Size High of PIM0 53" "0,1"
bitfld.long 0x0 20. ",Size High of PIM0 52" "0,1"
bitfld.long 0x0 19. ",Size High of PIM0 51" "0,1"
bitfld.long 0x0 18. ",Size High of PIM0 50" "0,1"
bitfld.long 0x0 17. ",Size High of PIM0 49" "0,1"
bitfld.long 0x0 16. ",Size High of PIM0 48" "0,1"
bitfld.long 0x0 15. ",Size High of PIM0 47" "0,1"
bitfld.long 0x0 14. ",Size High of PIM0 46" "0,1"
bitfld.long 0x0 13. ",Size High of PIM0 45" "0,1"
bitfld.long 0x0 12. ",Size High of PIM0 44" "0,1"
bitfld.long 0x0 11. ",Size High of PIM0 43" "0,1"
bitfld.long 0x0 10. ",Size High of PIM0 42" "0,1"
bitfld.long 0x0 9. ",Size High of PIM0 41" "0,1"
bitfld.long 0x0 8. ",Size High of PIM0 40" "0,1"
bitfld.long 0x0 7. ",Size High of PIM0 39" "0,1"
bitfld.long 0x0 6. ",Size High of PIM0 38" "0,1"
bitfld.long 0x0 5. ",Size High of PIM0 37" "0,1"
bitfld.long 0x0 4. ",Size High of PIM0 36" "0,1"
bitfld.long 0x0 3. ",Size High of PIM0 35" "0,1"
bitfld.long 0x0 2. ",Size High of PIM0 34" "0,1"
bitfld.long 0x0 1. ",Size High of PIM0 33" "0,1"
bitfld.long 0x0 0. ",Size High of PIM0 32" "0,1"
group.long 0x8009c++0x17
line.long 0x0 "PCIX0_PIM0LAL,PCI-X PIM0 Local Address Low 0"
hexmask.long 0x00 12.--31. 0x1000 " 0LAL ,Local Address Low"
line.long 0x4 "PCIX0_PIM0LAH,PCI-X PIM0 Local Address High 0"
line.long 0x8 "PCIX0_PIM1SA,PCI-X PIM1 Size/Attribute Register 0"
bitfld.long 0x8 31. " SIZE ,Size 31" "0,1"
bitfld.long 0x8 30. ",Size 30" "0,1"
bitfld.long 0x8 29. ",Size 29" "0,1"
bitfld.long 0x8 28. ",Size 28" "0,1"
bitfld.long 0x8 27. ",Size 27" "0,1"
bitfld.long 0x8 26. ",Size 26" "0,1"
bitfld.long 0x8 25. ",Size 25" "0,1"
bitfld.long 0x8 24. ",Size 24" "0,1"
bitfld.long 0x8 23. ",Size 23" "0,1"
bitfld.long 0x8 22. ",Size 22" "0,1"
bitfld.long 0x8 21. ",Size 21" "0,1"
bitfld.long 0x8 20. ",Size 20" "0,1"
bitfld.long 0x8 19. ",Size 19" "0,1"
bitfld.long 0x8 18. ",Size 18" "0,1"
bitfld.long 0x8 17. ",Size 17" "0,1"
bitfld.long 0x8 16. ",Size 16" "0,1"
bitfld.long 0x8 15. ",Size 15" "0,1"
bitfld.long 0x8 14. ",Size 14" "0,1"
bitfld.long 0x8 13. ",Size 13" "0,1"
bitfld.long 0x8 12. ",Size 12" "0,1"
bitfld.long 0x8 11. ",Size 11" "0,1"
bitfld.long 0x8 10. ",Size 10" "0,1"
bitfld.long 0x8 9. ",Size 9" "0,1"
bitfld.long 0x8 8. ",Size 8" "0,1"
bitfld.long 0x8 0.  " En   ,Enable" "-,Enabled"
line.long 0xC "PCIX0_PIM1LAL,PCI-X PIM1 Local Address Low 0"
hexmask.long 0xC 12.--31. 0x1000 " 1LAL ,Local Address Low 1"
line.long 0x10 "PCIX0_PIM1LAH,PCI-X PIM1 Local Address High 0"
line.long 0x14 "PCIX0_PIM2SAL,PCI-X PIM2 Size/Attribute Low Register 0"
bitfld.long 0x14 31. " SIZ  ,Size Low of PIM2 31" "0,1"
bitfld.long 0x14 30. ",Size Low of PIM2 30" "0,1"
bitfld.long 0x14 29. ",Size Low of PIM2 29" "0,1"
bitfld.long 0x14 28. ",Size Low of PIM2 28" "0,1"
bitfld.long 0x14 27. ",Size Low of PIM2 27" "0,1"
bitfld.long 0x14 26. ",Size Low of PIM2 26" "0,1"
bitfld.long 0x14 25. ",Size Low of PIM2 25" "0,1"
bitfld.long 0x14 24. ",Size Low of PIM2 24" "0,1"
bitfld.long 0x14 23. ",Size Low of PIM2 23" "0,1"
bitfld.long 0x14 22. ",Size Low of PIM2 22" "0,1"
bitfld.long 0x14 21. ",Size Low of PIM2 21" "0,1"
bitfld.long 0x14 20. ",Size Low of PIM2 20" "0,1"
bitfld.long 0x14 19. ",Size Low of PIM2 19" "0,1"
bitfld.long 0x14 18. ",Size Low of PIM2 18" "0,1"
bitfld.long 0x14 17. ",Size Low of PIM2 17" "0,1"
bitfld.long 0x14 16. ",Size Low of PIM2 16" "0,1"
bitfld.long 0x14 15. ",Size Low of PIM2 15" "0,1"
bitfld.long 0x14 14. ",Size Low of PIM2 14" "0,1"
bitfld.long 0x14 13. ",Size Low of PIM2 13" "0,1"
bitfld.long 0x14 12. ",Size Low of PIM2 12" "0,1"
bitfld.long 0x14 1.  " PE   ,Prefetch Enable" "-,Enabled"
bitfld.long 0x14 0.  "     En  ,Enable" "-,Enabled"
group.long 0x800fc++0x3
line.long 0x0 "PCIX0_PIM2SAH,PCI PIM2 Size/Attribute High Register 0"
bitfld.long 0x0 31. " SIZH ,Size High of PIM2 63" "0,1"
bitfld.long 0x0 30. ",Size High of PIM2 62" "0,1"
bitfld.long 0x0 29. ",Size High of PIM2 61" "0,1"
bitfld.long 0x0 28. ",Size High of PIM2 60" "0,1"
bitfld.long 0x0 27. ",Size High of PIM2 59" "0,1"
bitfld.long 0x0 26. ",Size High of PIM2 58" "0,1"
bitfld.long 0x0 25. ",Size High of PIM2 57" "0,1"
bitfld.long 0x0 24. ",Size High of PIM2 56" "0,1"
bitfld.long 0x0 23. ",Size High of PIM2 55" "0,1"
bitfld.long 0x0 22. ",Size High of PIM2 54" "0,1"
bitfld.long 0x0 21. ",Size High of PIM2 53" "0,1"
bitfld.long 0x0 20. ",Size High of PIM2 52" "0,1"
bitfld.long 0x0 19. ",Size High of PIM2 51" "0,1"
bitfld.long 0x0 18. ",Size High of PIM2 50" "0,1"
bitfld.long 0x0 17. ",Size High of PIM2 49" "0,1"
bitfld.long 0x0 16. ",Size High of PIM2 48" "0,1"
bitfld.long 0x0 15. ",Size High of PIM2 47" "0,1"
bitfld.long 0x0 14. ",Size High of PIM2 46" "0,1"
bitfld.long 0x0 13. ",Size High of PIM2 45" "0,1"
bitfld.long 0x0 12. ",Size High of PIM2 44" "0,1"
bitfld.long 0x0 11. ",Size High of PIM2 43" "0,1"
bitfld.long 0x0 10. ",Size High of PIM2 42" "0,1"
bitfld.long 0x0 9. ",Size High of PIM2 41" "0,1"
bitfld.long 0x0 8. ",Size High of PIM2 40" "0,1"
bitfld.long 0x0 7. ",Size High of PIM2 39" "0,1"
bitfld.long 0x0 6. ",Size High of PIM2 38" "0,1"
bitfld.long 0x0 5. ",Size High of PIM2 37" "0,1"
bitfld.long 0x0 4. ",Size High of PIM2 36" "0,1"
bitfld.long 0x0 3. ",Size High of PIM2 35" "0,1"
bitfld.long 0x0 2. ",Size High of PIM2 34" "0,1"
bitfld.long 0x0 1. ",Size High of PIM2 33" "0,1"
bitfld.long 0x0 0. ",Size High of PIM2 32" "0,1"
group.long 0x800b4++0x7
line.long 0x0 "PCIX0_PIM2LAL,PCI-X PIM2 Local Address Low 0"
hexmask.long 0x00 12.--31. 0x1000 " 2LAL ,Local Address Low 2"
line.long 0x4 "PCIX0_PIM2LAH,PCI-X PIM2 Local Address High 0"
tree.end
tree "MSI Capability Block Definition Registers"
rgroup.byte 0x800c0++0x00
line.byte 0x0 "PCIX0_OMCAPID,PCI-X MSI Capability Identifier Register 0"
group.byte 0x800c1++0x0
line.byte 0x0 "PCIX0_OMNIPTR,PCI-X Next Item Pointer 0"
group.word 0x800c2++0x1
line.word 0x0 "PCIX0_OMMC,PCI-X Message Control Register 0"
bitfld.word 0x0 7. "     64AC , 64-bit Address Capable" "-,Enabled"
bitfld.word 0x0 4.--6. "  MME , Multiple Message Enable" "1 message,2 messages,4 messages,8 messages,16 messages,32 messages,64 messages,128 messages"
bitfld.word 0x0 1.--3. "  MMC , Multiple Message Capable" "1 message,2 messages,4 messages,8 messages,16 messages,32 messages,64 messages,128 messages"
bitfld.word 0x0 0. "  MSI , MSI Enable" "-,Enabled"
group.long 0x800c4++0x7
line.long 0x0 "PCIX0_OMMA,PCI-X Message Address Register 0"
hexmask.long 0x00 2.--31. 4. " MA ,Message Address"
line.long 0x4 "PCIX0_OMMUA,PCI-X Message Upper Address Register 0"
group.word 0x800cc++0x01
line.word 0x0 "PCIX0_OMMDATA,PCI-X Message Data Register 0"
group.byte 0x800ce++0x00
line.byte 0x0 "PCIX0_OMMEOI,PCI-X Message End Of Interrupt Register 0"
bitfld.byte 0x0 0. "     MEOI , Message End of Interrupt" "-,Rearmed"
tree.end
width 0x10
tree "Power Management Register Block Definition Registers"
group.byte 0x800d0++0x1
line.byte 0x0 "PCIX0_PMCAPID,PCI-X Power Management Capability Identifier Register 0"
line.byte 0x1 "PCIX0_PMNIPTR,PCI-X Power Management Next Item Pointer Register 0"
group.word 0x800d2++0x3
line.word 0x0 "PCIX0_PMC,PCI-X Power Management Capabilities Register 0"
bitfld.word 0x00 11.--15. "     PME ,PME_Support" "-,Supported,Supported,Supported,Supported,Supported,Supported,Supported,Supported,Supported,Supported,Supported,Supported,Supported,Supported,Supported,Supported,Supported,Supported,Supported,Supported,Supported,Supported,Supported,Supported,Supported,Supported,Supported,Supported,Supported,Supported,Supported"
bitfld.word 0x0 10. "  D2  ,D2_Support" "-,Supported"
bitfld.word 0x0 9. "  D1 ,D1_Support" "-,Supported"
bitfld.word 0x0 6.--8. "    AUX ,Aux_Current" "-,1,2,3,4,5,6,7"
textline "                         "
bitfld.word 0x0 5. " DSI ,Device Specific Initialization (DSI)" "-,Required"
bitfld.word 0x0 3. "   PME ,PME Clock" "-,Supported"
bitfld.word 0x0 0.--2. "  V  ,Version" "Reserved,Version 1.1,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
line.word 0x2 "PCIX0_PMCSR,PCI-X Power Management Control/Status Register 0"
bitfld.word 0x2 15. "     PMES ,PME_Status" "-,1"
bitfld.word 0x2 13.--14. "       DSC ,Data_Scale" "-,1,2,3"
bitfld.word 0x2 9.--12. "          DSE ,Data_Select" "-,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.word 0x2 8. "      PME ,PME_En" "-,Enabled"
textline "                         "
bitfld.word 0x2 0.--1. " PS   ,PowerState" "D0,D1,D2,D3-Hot"
rgroup.byte 0x800d6++0x1
line.byte 0x0 "PCIX0_PMCSRBSE,PCI-X PMCSR PCI-to-PLB-PCIX Bridge Support Extensions 0"
line.byte 0x1 "PCIX0_PMDATA,PCI-X Power Management Data Register 0"
group.byte 0x800d8++0x00
line.byte 0x0 "PCIX0_PMSCRR,PCI-X Power Management State Change Request Register 0"
bitfld.byte 0x0 4. "     APW  ,Accept PMCSR Write" "-,Ready"
bitfld.byte 0x0 3. "   SCR ,State Change Request" "-,Requested"
bitfld.byte 0x0 1.--2. "  RS  ,Requested State" "D0,D1,D2,D3-Hot"
bitfld.byte 0x0 0. "  DWE ,Delayed Write Enable" "Immediate,Delayed"
tree.end
width 0x11
tree "PCI-X Capability Block Definition Registers"
rgroup.byte 0x800dc++0x00
line.byte 0x0 "PCIX0_PCIXCAPID,PCI-X Capability Identifier 0"
rgroup.byte 0x800dd++0x00
line.byte 0x0 "PCIX0_PCIXNIPTR,PCI-X Next Item Pointer Register 0"
group.word 0x800de++0x1
line.word 0x0 "PCIX0_PCIXCMD,PCI-X Command Register 0"
bitfld.word 0x0 4.--6. "     MOST ,Maximum Outstanding Split Transactions" "0,1,2,3,4,5,6,7"
bitfld.word 0x0 2.--3. "  MRBC ,Maximum Memory-Read Byte Count" "512 bytes,Reserved,Reserved,Reserved"
bitfld.word 0x0 1. "  ERO ,Enable Relaxed Ordering" "-,Enabled"
bitfld.word 0x0 0. "  DPER ,Data Parity Error Recovery Enable" "-,Enabled"
group.long 0x800E0++0x3
line.long 0x0 "PCIX0_PCIXSTS,PCI-X Status Register 0"
eventfld.long 0x0 29. " SPEM ,Received Split Completion Error Message" "-,Received"
bitfld.long 0x0 26.--28. "     MCRS ,Designed Max Cumulative Read Size" "Reserved,2 KB,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x0 23.--25. "  DMOS ,Designed Max Outstanding Splits" "1 completion,2 completions,3 completions,4 completions,5 completions,6 completions,7 completions,8 completions"
bitfld.long 0x0 21.--22. "  MRBC ,Designed Max Memory Read Byte Count" "512 bytes,Reserved,Reserved,Reserved"
textline "                          "
bitfld.long 0x0 20. " DC   ,Device Complexity" "Simple,Complicated"
eventfld.long 0x0 19. "  USC  ,Unexpected Split Completion" "-,Received"
bitfld.long 0x0 18. "  SCD  ,Split Completion Discarded" "-,Discarded"
bitfld.long 0x0 17. "      CAP  ,133 MHz Capable" "-,Capable"
textline "                          "
bitfld.long 0x0 16. " DEV  ,64-bit Device" "-,64 bits"
hexmask.long.byte 0x0 8.--15. 1. "      BN   ,Bus Number"
bitfld.long 0x0 3.--7. "        DN   ,Device Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x0 0.--2. "             FN   ,Function Number" "0,1,2,3,4,5,6,7"
rgroup.long 0x800e8++0xB
line.long 0x0 "PCIX0_PCIXCID,PCI-X Internal Core Device ID Register 0"
line.long 0x4 "PCIX0_PCIXRID,PCI-X Internal Core Revision ID Register 0"
line.byte 0x8 "PCIX0_VPDCAPID,PCI-X VPD Capability Identifier - Cap_ID (Offset = 0)"
group.byte 0x800f1++0x00
line.byte 0x0 "PCIX0_VPDNIPTR,PCI-X VPD Next Item Pointer Register 0"
group.word 0x800f2++0x01
line.word 0x0 "PCIX0_VPDADR,PCI-X VPD Address Register 0"
bitfld.word 0x0 15. "     Fbit ,Flag Bit" "-,Completed"
hexmask.word 0x00 0.--14. 1. "  VADR ,VPD Address"
group.long 0x800f4++0x03
line.long 0x0 "PCIX0_VPDDATA,PCI-X VPD Data Register 0"
tree.end
width 0xD
tree "Simple Message Passing and Inbound MSI Registers"
group.long 0x80100++0xF
line.long 0x0 "PCIX0_MSGIL,PCI-X Message In Low 0"
line.long 0x4 "PCIX0_MSGIH,PCI-X Message In High 0"
line.long 0x8 "PCIX0_MSGOL,PCI-X Message Out Low 0"
line.long 0xC "PCIX0_MSGOH,PCI-X Message Out High 0"
wgroup.long 0x801f8++0x03
line.long 0x0 "PCIX0_IM,PCI-X Inbound Message MSI 0"
bitfld.long 0x00 0.--3. " IMSI ,MSI In" "pci_msi_int0,pci_msi_int1,pci_msi_int2,pci_msi_int3,pci_msi_int4,pci_msi_int5,pci_msi_int6,pci_msi_int7,pci_msi_int8,pci_msi_int9,pci_msi_int10,pci_msi_int11,pci_msi_int12,Reserved,Reserved,Reserved"
tree.end
width 0xB
elif (cpu()=="PPC440GP")
endian.le
width 16.
tree "Standard Header Registers"
group ANC:0x2:0x0EC80000++0x1
line.word 0x0 "PCIX0_VENDID,PCI-X Vendor ID Register"
hexmask.word.word 0x00 0.--15. 1. "     VID  ,Vendor ID"
group ANC:0x2:0x0EC80002++0x1
line.word 0x0 "PCIX0_DEVID,PCI-X Device ID Register"
hexmask.word.word 0x00 0.--15. 1. "     DID  ,Device ID"
group ANC:0x2:0x0EC80004++0x1
line.word 0x0 "PCIX0_CMD,PCI-X Device ID Register"
bitfld.word 0x00 9. "     FBBC ,Fast Back-to-Back Capable,returns 0 when read" "-,Enabled"
bitfld.word 0x00 8. "   SERE ,SERR# Enable" "-,Enabled"
bitfld.word 0x00 7. "   ADS  ,Address Stepping,returns 0 when read" "-,Enabled"
bitfld.word 0x00 6. "      PER  ,Parity Error Response" "-,Enabled"
textline "                         "
bitfld.word 0x00 5. " PLS  ,Palette Snooping,returns 0 when read" "-,Enabled"
bitfld.word 0x00 4. "   MWI  ,Memory Write and Invalidate" "-,Enabled"
bitfld.word 0x00 3. "   SPC  ,Special Cycle,returns 0 when read" "-,Enabled"
bitfld.word 0x00 2. "      PME  ,PCI Master Enable" "-,Enabled"
textline "                         "
bitfld.word 0x00 1. " MEMA ,Memory Access" "-,Enabled"
bitfld.word 0x00 0. "   IOA  ,I/O Access" "-,Enabled"
group ANC:0x2:0x0EC80006++0x1
line.word 0x0 "PCIX0_STATUS,PCI-X Status Register"
eventfld.word 0x00 15. "     DEPE ,Detected Parity Error" "-,Error"
eventfld.word 0x00 14. "     SSE  ,Signaled System Error" "-,Error"
eventfld.word 0x00 13. "     RMA  ,Received Master Abort" "-,Occurred"
eventfld.word 0x00 12. "     RTA  ,Received Target Abort" "-,Occurred"
textline "                         "
eventfld.word 0x00 11. " STA  ,Signaled Target Abort" "-,Occurred"
hexmask.word.byte 0x00 9.--10. 1. "  DST  ,~PCIDevSel Response Timing"
eventfld.word 0x00 8. "        DPE  ,Data Parity Error Detected" "No,Yes"
bitfld.word 0x00 7. "          FBBC ,Fast Back-to-Back Capable" "No,Yes"
textline "                         "
eventfld.word 0x00 5. " 66C  ,66 MHz Capable" "No,Yes"
bitfld.word 0x00 4. "       CL   ,Capabilities List" "Not read,Read"
group ANC:0x2:0x0EC80008++0x3
line.long 0x0 "PCIX0_CLS/REVID,PCI-X Class Register/PCI-X Revision ID Register"
hexmask.long.byte 0x00 0.--7. 1. " RID  ,Revision ID"
hexmask.long.byte 0x00 8.--15. 1. "        INT  ,Interface Class"
hexmask.long.byte 0x00 16.--23. 1. "        SUB  ,Subclass"
hexmask.long.byte 0x00 24.--31. 1. "           BASE ,Base Class"
group ANC:0x2:0x0EC8000c++0x0
line.byte 0x0 "PCIX0_CACHELS,PCI-X Cache Line Size"
hexmask.byte.byte 0x00 0.--7. 1. "     CLS  ,PCI Cache Line Size"
group ANC:0x2:0x0EC8000d++0x0
line.byte 0x0 "PCIX0_LATTIM,PCI-X Latency Timer"
hexmask.byte.byte 0x00 0.--7. 1. "     LT   ,PCI Latency Timer"
rgroup ANC:0x2:0x0EC8000e++0x0
line.byte 0x0 "PCIX0_HDTYPE,PCI-X Header Type"
hexmask.byte.byte 0x00 0.--7. 1. "     HT   ,PCI Header Type"
rgroup ANC:0x2:0x0EC8000f++0x0
line.byte 0x0 "PCIX0_BIST,PCI-X Built In Self Test Control"
hexmask.byte.byte 0x00 0.--7. 1. "     BIST ,PCI Built-in-Self Test (BIST) Control"
group ANC:0x2:0x0EC80010++0x3
line.long 0x0 "PCIX0_BAR0L,PCI-X BAR 0 Low"
hexmask.long 0x00 12.--31. 0x1000 " BA   ,Base Address"
hexmask.long.byte 0x00 4.--11. 1. "  BAZ  ,Base Address - always zero"
bitfld.long 0x00 3. "        PEF  ,Prefetchable"  "Not allowed,Allowed"
bitfld.long 0x00 1.--2. "  LT   ,Location Type" "00,01,10,11"
textline "                         "
bitfld.long 0x00 0. " MSI  ,Memory Space Indicator" "Memory,I/O"
group ANC:0x2:0x0EC80014++0x3
line.long 0x0 "PCIX0_BAR0H,PCI-X BAR 0 High"
hexmask.long.long 0x00 0.--31. 1. " BAH  ,Base Address High"
group ANC:0x2:0x0EC80018++0x3
line.long 0x0 "PCIX0_BAR1,PCI-X BAR 1"
hexmask.long 0x00 8.--31. 0x1000 " BA   ,Base Address"
hexmask.long.byte 0x00 2.--7. 1. "  BAZ  ,Base Address always zero"
bitfld.long 0x00 0. "        MSI  ,Memory Space Indicator" "Memory,I/O"
group ANC:0x2:0x0EC8001c++0x3
line.long 0x0 "PCIX0_BAR2L,PCI-X BAR 2 Low"
hexmask.long 0x00 12.--31. 0x1000 " BA   ,Base Address"
hexmask.long.byte 0x00 4.--11. 1. "  BAZ  ,Base Address - always zero"
bitfld.long 0x00 3. "        PEF  ,Prefetchable"  "Not allowed,Allowed"
bitfld.long 0x00 1.--2. "  LT   ,Location Type" "00,01,10,11"
textline "                         "
bitfld.long 0x00 0. " MSI  ,Memory Space Indicator" "Memory,I/O"
group ANC:0x2:0x0EC80020++0x3
line.long 0x0 "PCIX0_BAR2H,PCI-X BAR 2 High"
hexmask.long.long 0x00 0.--31. 1. " BAH  ,Base Address High"
rgroup ANC:0x02:0x0ec80024++0x07
line.long 0x00 "PCIX0_BAR3,BAR 3 (Reserved)"
line.long 0x04 "PCIX0_CISPTR,Cardbus CIS Pointer (Reserved)"
group ANC:0x2:0x0EC8002c++0x1
line.word 0x0 "PCIX0_SBSYSVID,PCI-X Subsystem Vendor ID"
hexmask.word.word 0x00 0.--15. 1. "     SVID ,PCI Subsystem Vendor ID"
group ANC:0x2:0x0EC8002e++0x1
line.word 0x0 "PCIX0_SBSYSID,PCI-X Subsystem Vendor ID"
hexmask.word.word 0x00 0.--15. 1. "     SID  ,PCI Subsystem ID"
group ANC:0x2:0x0EC80030++0x3
line.word 0x0 "PCIX0_EROMBA,PCI-X Expansion ROM Base Address"
hexmask.long 0x00 12.--31. 0x1000 "     BA   ,Base Address"
hexmask.long.word 0x00 1.--11. 1. "  BAZ  ,Base Address - always zero"
bitfld.long 0x00 0. "      EN   ,Enable" "-,Enabled"
rgroup ANC:0x2:0x0EC80034++0x0
line.byte 0x0 "PCIX0_CAP,PCI-X Capabilities Pointer"
hexmask.byte.byte 0x00 0.--7. 1. "     CP   ,PCI Capabilities Pointer"
rgroup ANC:0x02:0x0ec80035++0x06
line.byte 0x00 "PCIX0_RES0,Reserved"
line.word 0x01 "PCIX0_RES0,Reserved"
line.long 0x03 "PCIX0_RES0,Reserved"
group ANC:0x2:0x0EC8003c++0x0
line.byte 0x0 "PCIX0_INTLN,PCI-X Interrupt Line"
hexmask.byte.byte 0x00 0.--7. 1. "     IL   ,PCI Interrupt Line"
rgroup ANC:0x2:0x0EC8003d++0x0
line.byte 0x0 "PCIX0_INTPN,PCI-X Interrupt Pin"
hexmask.byte.byte 0x00 0.--7. 1. "     IP   ,PCI Interrupt Pin"
rgroup ANC:0x2:0x0EC8003e++0x0
line.byte 0x0 "PCIX0_MINGNT,PPCI-X Minimum Grant"
hexmask.byte.byte 0x00 0.--7. 1. "     MG   ,PCI Minimum Grant"
rgroup ANC:0x2:0x0EC8003f++0x0
line.byte 0x0 "PCIX0_MAXLTNCY,PCI-X Maximum Latency"
hexmask.byte.byte 0x00 0.--7. 1. "     ML   ,PCI Maximum Latency"
tree.end
tree "Bridge Options Registers"
group ANC:0x2:0x0EC80040++0x3
line.long 0x0 "PCIX0_BRDGOPT1,PCI-X Bridge Options 1"
hexmask.long.byte 0x00 30.--31. 1. " RBP7 ,Outbund Read Buffer Mapping for PLB master 7:OPB to PLB Bridge"
hexmask.long.byte 0x00 28.--29. 1. "                    RBP6 ,Outbund Read Buffer Mapping for PLB master 6:Direct Memory Access Controller"
hexmask.long.byte 0x00 26.--27. 1. "           RBP5 ,Outbund Read Buffer Mapping for PLB master 5:Media Access Layer"
textline "                         "
hexmask.long.byte 0x00 24.--25. 1. " RBP4 ,Outbund Read Buffer Mapping for PLB master 4:I2O Messaging Unit"
hexmask.long.byte 0x00 22.--23. 1. "                    RBP3 ,Outbund Read Buffer Mapping for PLB master 3:PCIX Bridge Controller"
hexmask.long.byte 0x00 20.--21. 1. "           RBP2 ,Outbund Read Buffer Mapping for PLB master 2: Processor Core Data Cache Write Unit"
textline "                         "
hexmask.long.byte 0x00 18.--19. 1. " RBP1 ,Outbund Read Buffer Mapping for PLB master 1: Processor Core Data Cache Read Unit"
hexmask.long.byte 0x00 16.--17. 1. "                    RBP0 ,Outbund Read Buffer Mapping for PLB master 0: Processor Core Instruction Cache Read Unit"
bitfld.long 0x00 5.--6.  "           PLRQ ,PLB Request Priority" "Lowest,Next highest,Next highest,Highest"
textline "                         "
bitfld.long 0x00 4.  " MSEN ,Inbound MSI Enable" "-,Enabled"
bitfld.long 0x00 3.  "               PCAR ,PCI Arbiter Park Mode" "Requester,Last master"
bitfld.long 0x00 1.--2.  "  PTMR ,PCI Target Memory Read Command interpretation" "Read,Read line,Read multiple,Reserved"
group ANC:0x2:0x0EC80044++0x3
line.long 0x0 "PCIX0_BRDGOPT2,PCI-X Bridge Options 2"
bitfld.long 0x00 15.--16.  " FREQ ,Frequency Range for PCIX/PCI conv" "100-133 MHz/Reserved,66-100 MHz/Reserved,50-66 MHz/33-66 MHz,Reserved/0-33 MHz"
bitfld.long 0x00 14.  "  XEN  ,PCI-X Mode Enabled" "-,Enabled"
bitfld.long 0x00 13.  "      EXWR ,External Write to PCI Command Interrupt" "No write,Write"
textline "                         "
bitfld.long 0x00 10.  " TDIS ,PCI Discard Timer Disable" "-,Disabled"
bitfld.long 0x00 7.--8.  "              INT1 ,PCI Interrupt Source 1" "00,01,10,11"
bitfld.long 0x00 4.--5.  "           INT0 ,PCI Interrupt Source 0" "After reset,Masks outbound interrupts,10,11"
textline "                         "
bitfld.long 0x00 3.  " CPUW ,Local CPU wait" "Do not wait,Wait"
bitfld.long 0x00 2.  "           HTD  ,Host Configuration Enable Timer Disable" "-,Disabled"
bitfld.long 0x00 1.  "     HTD  ,Host Configuration Enable Timer Expired" "Not Expired,Expired"
textline "                         "
bitfld.long 0x00 0.  " HCEN ,Host Configuration Enable" "-,Enabled"
tree.end
tree "Error Handling Registers"
group ANC:0x2:0x0EC80050++0x3
line.long 0x0 "PCIX0_ERREN,PCI-X Error Enable"
bitfld.long 0x00 18.  " REL  ,Route Error Locally" "-,Enabled"
bitfld.long 0x00 17.  "       MRWE ,MRdErr/MWrErr Assertion Enable" "-,Enabled"
bitfld.long 0x00 16.  "       EAE  ,ERROR_INT Assertion Enable" "-,Enabled"
bitfld.long 0x00 12.  "       RERE  ,MRdErr Receive Enable" "-,Enabled"
textline "                         "
bitfld.long 0x00 11.  " WERE ,MWrErr Receive Enable" "-,Enabled"
bitfld.long 0x00 10.  "       MQRE ,Mirq Receive Enable" "-,Enabled"
bitfld.long 0x00 9.  "       TRE  ,Timeout Receive Enable" "-,Enabled"
bitfld.long 0x00 8.  "       PCIPO ,PCI Parity Option" "Mask all,Normal"
textline "                         "
bitfld.long 0x00 7.  " IDPE ,PCI Inbound Write Data Parity Error Enable" "-,Enabled"
bitfld.long 0x00 5.  "       MAEE ,Master Abort Error Enable" "-,Enabled"
bitfld.long 0x00 4.  "       TAEE ,Target Abort Error Enable" "-,Enabled"
bitfld.long 0x00 3.  "       STEE  ,Split Transaction Error Enable" "-,Enabled"
textline "                         "
bitfld.long 0x00 2.  " APEE ,Addr/Attrib Parity Error Enable" "-,Enabled"
bitfld.long 0x00 1.  "       DRTE ,Delayed Read Discard Timer Expired Error Enable" "-,Enabled"
bitfld.long 0x00 0.  "       SEE  ,PCI_SERR# Received as Error Enable" "-,Enabled"
group ANC:0x2:0x0EC80054++0x3
line.long 0x0 "PCIX0_ERRSTS,PCI-X Error Status"
eventfld.long 0x00 17.  " MRWE ,MRdErr or MWrErr Signaled" "-,Error"
eventfld.long 0x00 16.  "         EIS  ,ERROR_INT Signaled" "-,Error"
eventfld.long 0x00 12.  "         MRER ,MRdErr Received" "Not received,Received"
eventfld.long 0x00 11.  "  MWER  ,MWrErr Received" "Not received,Received"
textline "                         "
eventfld.long 0x00 10.  " MQR  ,Mirq Received" "Not received,Received"
eventfld.long 0x00 9.  "  TO   ,Timeout" "No timeout,Timeout"
eventfld.long 0x00 7.  "    IPED ,PCI Inbound Write Data Parity Error Detect" "-,Error"
eventfld.long 0x00 2.  "         APED  ,Addr/Attrib Parity Error Detected" "Not detected,Detected"
textline "                         "
eventfld.long 0x00 1.  " DTE  ,Delayed Read Discard Timer Expired" "Not expired,Expired"
eventfld.long 0x00 0.  "   PSEE ,PCI_SERR# Received" "Not received,Received"
rgroup ANC:0x2:0x0EC80058++0x3
line.long 0x0 "PCIX0_PLBBESR,PCI-X PLB Slave Error Attribute Register"
bitfld.long 0x00 9. " Val  ,Valid" "Not valid,Valid"
bitfld.long 0x00 8. "     RNW  ,RNW from the PLB master" "0,1"
hexmask.long.byte 0x00 4.--7. 1. "             PLBS ,Size from the PLB master"
hexmask.long.byte 0x00 0.--3. 1. "            MID   ,MasterID of the PLB master"
rgroup ANC:0x2:0x0EC8005c++0x3
line.long 0x0 "PCIX0_PLBBEARL,PCI-X PLB Slave Error Address Register Low"
hexmask.long.long 0x00 0.--31. 1. " EARL ,PLB Slave Error Address Low"
rgroup ANC:0x2:0x0EC80060++0x3
line.long 0x0 "PCIX0_PLBBEARH,PCI-X PLB Slave Error Address Register High"
hexmask.long.long 0x00 0.--31. 1. " EARH ,PLB Slave Error Address High"
tree.end
tree "POM Registers"
group ANC:0x2:0x0EC80068++0x3
line.long 0x0 "PCIX0_POM0LAL,PCI-X POM0 Local Address Low"
hexmask.long.word 0x00 20.--31. 1. " 0LAL ,Local Address Low"
group ANC:0x2:0x0EC8006c++0x3
line.long 0x0 "PCIX0_POM0LAH,PCI-X POM0 Local Address High"
hexmask.long 0x00 0.--31. 1. " 0LAH ,Local Address High"
group ANC:0x2:0x0EC80070++0x3
line.long 0x0 "PCIX0_POM0SA,PCI-X POM0 Size Attribute"
hexmask.long.word 0x00 20.--31. 1. " SIZE ,Size of POM0"
bitfld.long 0x00 0.  "      En ,Enable Mapping" "-,Enabled"
group ANC:0x2:0x0EC80074++0x3
line.long 0x0 "PCIX0_POM0PCIAL,PCI-X POM0 PCI Address Low"
hexmask.long.word 0x00 20.--31. 1. " 0PAL ,PCI Low Address"
group ANC:0x2:0x0EC80078++0x3
line.long 0x0 "PCIX0_POM0PCIAH,PCI-X POM0 PCI Address High"
hexmask.long.long 0x00 0.--31. 1. " 0PAH ,PCI High Address"
group ANC:0x2:0x0EC8007c++0x3
line.long 0x0 "PCIX0_POM1LAL,PCI-X POM1 Local Address Low"
hexmask.long.word 0x00 20.--31. 1. " 1LAL ,Local Address Low"
group ANC:0x2:0x0EC80080++0x3
line.long 0x0 "PCIX0_POM1LAH,PCI-X POM1 Local Address High"
hexmask.long 0x00 0.--31. 1. " 1LAH ,Local Address High"
group ANC:0x2:0x0EC80084++0x3
line.long 0x0 "PCIX0_POM1SA,PCI-X POM1 Size Attribute"
hexmask.long.word 0x00 20.--31. 1. " SIZE ,Size of POM1"
bitfld.long 0x00 0.  "      En ,Enable Mapping" "-,Enabled"
group ANC:0x2:0x0EC80088++0x3
line.long 0x0 "PCIX0_POM1PCIAL,PCI-X POM1 PCI Address Low"
hexmask.long.word 0x00 20.--31. 1. " 1PAL ,PCI Low Address"
group ANC:0x2:0x0EC8008c++0x3
line.long 0x0 "PCIX0_POM1PCIAH,PCI-X POM1 PCI Address High"
hexmask.long.long 0x00 0.--31. 1. " 1PAH ,PCI High Address"
group ANC:0x2:0x0EC80090++0x3
line.long 0x0 "PCIX0_POM2SA,PCI-X POM2 Size/Attribute"
bitfld.long 0x00 0.  " En   ,Enable Mapping" "-,Enabled"
tree.end
tree "PIM Registers"
group ANC:0x2:0x0EC80098++0x3
line.long 0x0 "PCIX0_PIM0SA,PCI-X PIM0 Size/Attribute"
hexmask.long 0x00 12.--31. 1. " SIZ  ,Size of PIM0"
bitfld.long 0x00 2.  "  SBE ,Split BAR0 Enable" "One region,Two regions"
bitfld.long 0x00 1.  "  PE ,Prefetch Enable" "-,Enabled"
textline "                         "
bitfld.long 0x00 0.  " En   ,Enable" "-,Enabled"
group ANC:0x2:0x0EC8009c++0x3
line.long 0x0 "PCIX0_PIM0LAL,PCI-X PIM0 Local Address Low"
hexmask.long 0x00 12.--31. 0x1000 " 0LAL ,Local Address Low"
group ANC:0x2:0x0EC800a0++0x3
line.long 0x0 "PCIX0_PIM0LAH,PCI-X PIM0 Local Address High"
hexmask.long.long 0x00 0.--31. 1. " 0LAH ,Local Address High"
group ANC:0x2:0x0EC800a4++0x3
line.long 0x0 "PCIX0_PIM1SA,PCI-X PIM1 Size/Attribute"
hexmask.long 0x00 8.--31. 1. " SIZE ,Size"
bitfld.long 0x00 0.  "  En  ,Enable" "-,Enabled"
group ANC:0x2:0x0EC800a8++0x3
line.long 0x0 "PCIX0_PIM1LAL,PCI-X PIM1 Local Address Low"
hexmask.long 0x00 12.--31. 0x1000 " 1LAL ,Local Address Low"
group ANC:0x2:0x0EC800ac++0x3
line.long 0x0 "PCIX0_PIM1LAH,PCI-X PIM1 Local Address High"
hexmask.long.long 0x00 0.--31. 1. " 1LAH ,Local Address High"
group ANC:0x2:0x0EC800b0++0x3
line.long 0x0 "PCIX0_PIM2SAL,PCI-X PIM2 Size/Attribute Low"
hexmask.long 0x00 12.--31. 1. " SIZ  ,Size Low of PIM2"
bitfld.long 0x00 1.  "  PE  ,Prefetch Enable" "-,Enabled"
bitfld.long 0x00 0.  "      En ,Enable" "-,Enabled"
group ANC:0x2:0x0EC800b4++0x3
line.long 0x0 "PCIX0_PIM2LAL,PCI-X PIM2 Local Address Low"
hexmask.long 0x00 12.--31. 0x1000 " 2LAL ,Local Address Low"
group ANC:0x2:0x0EC800b8++0x3
line.long 0x0 "PCIX0_PIM2LAH,PCI-X PIM2 Local Address High"
hexmask.long.long 0x00 0.--31. 1. " 2LAH ,Local Address High"
tree.end
tree "MSI Capability Block Definition Registers"
rgroup ANC:0x2:0x0EC800c0++0x00
line.byte 0x0 "PCIX0_OMCAPID,PCI-X Outbound MSI Capability Identifier"
hexmask.byte.byte 0x00 0.--7. 1. "     CPID ,Message Signaled Interrupts (MSI) Capabilities Identifier"
group ANC:0x2:0x0EC800c1++0x00
line.byte 0x0 "PCIX0_OMNIPTR,PCI-X Outbound MSI Next Item Pointer"
hexmask.byte.byte 0x00 0.--7. 1. "     NPTR ,Message Signaled Interrupts (MSI) Next Item Pointer"
group ANC:0x2:0x0EC800c2++0x01
line.word 0x0 "PCIX0_OMMC,PCI-X Outbound MSI Message Control"
bitfld.word 0x0 7. "     64AC , 64-bit Address Capable" "-,Enabled"
bitfld.word 0x0 4.--6. "   MME , Multiple Message Enable" "000,001,010,011,100,101,110,111"
bitfld.word 0x0 1.--3. "  MMC , Multiple Message Capable" "000,001,010,011,100,101,110,111"
bitfld.word 0x0 0. "  MSI , MSI Enable" "-,Enabled"
group ANC:0x2:0x0EC800c4++0x03
line.long 0x0 "PCIX0_OMMA,PCI-X Outbound MSI Message Address"
hexmask.long.long 0x00 2.--31. 1. " MA   ,Message Address"
group ANC:0x2:0x0EC800c8++0x03
line.long 0x0 "PCIX0_OMMUA,PCI-X Outbound MSI Message Upper Address"
hexmask.long.long 0x00 0.--31. 1. " MUA  ,Message Upper Address"
group ANC:0x2:0x0EC800cc++0x01
line.word 0x0 "PCIX0_OMMDATA ,PCI-X Outbound MSI Message Data"
hexmask.word.word 0x00 0.--15. 1. "     MD   ,Message Data"
group ANC:0x2:0x0EC800ce++0x00
line.byte 0x0 "PCIX0_OMMEOI ,PCI-X Outbound MSI Message End Of Interrupt"
bitfld.byte 0x0 0. "     MEOI , Message End of Interrupt" "-,Enabled"
tree.end
tree "Power Management Register Block Definition Registers"
group ANC:0x2:0x0EC800d0++0x00
line.byte 0x0 "PCIX0_PMCAPID,PCI-X PMC Capability Identifier"
hexmask.byte.byte 0x00 0.--7. 1. "     CPID ,Capabilities Identifier"
group ANC:0x2:0x0EC800d1++0x00
line.byte 0x0 "PCIX0_PMNIPTR,PCI-X PMC Next Item Pointer"
hexmask.byte.byte 0x00 0.--7. 1. "     NIP  ,Next Item Pointer"
rgroup ANC:0x2:0x0EC800d2++0x01
line.word 0x0 "PCIX0_PMC,PCI-X Power Management Capabilities"
hexmask.word.byte 0x00 11.--15. 1. "     PME  ,PME_Support"
bitfld.word 0x0 10. "             D2  ,D2_Support" "Not supported,Supported"
bitfld.word 0x0 9. "  D1  ,D1_Support" "Not supported,Supported"
bitfld.word 0x0 6.--8. "  AUX ,Aux_Current" "000,001,010,011,100,101,110,111"
textline "                         "
bitfld.word 0x0 5. " DSI  ,Device Specific Initialization (DSI)" "Not required,Required"
bitfld.word 0x0 3. "   PME ,PME Clock" "Not supported,Support"
bitfld.word 0x0 0.--2. "  V   ,Version" "000,001,010,011,100,101,110,111"
group ANC:0x2:0x0EC800d4++0x01
line.word 0x0 "PCIX0_PMCSR,PCI-X Power Management Control Status"
bitfld.word 0x0 15. "     PMES ,PME_Status" "Not supported,Supported"
bitfld.word 0x0 13.--14. "  DSC ,Data_Scale" "00,01,10,11"
hexmask.word.byte 0x00 9.--12. 1. "             DSE ,Data_Select"
bitfld.word 0x0 8. "             PME ,PME_En" "Not supported,Supported"
textline "                         "
bitfld.word 0x0 0.--1. " PS   ,PowerState" "D0,D1,D2,D3-Hot"
rgroup ANC:0x2:0x0EC800d6++0x00
line.byte 0x0 "PCIX0_PMCSRBSE ,PCI-X PMCSR PCI to PCI Bridge Support Extensions"
hexmask.byte.byte 0x00 0.--7. 1. "     CSSE ,Power Management Control/Status PCI-to-PLB-PCIX Bridge Support Extensions"
rgroup ANC:0x2:0x0EC800d7++0x00
line.byte 0x0 "PCIX0_PMDATA ,PCI-X PMC Data Register"
hexmask.byte.byte 0x00 0.--7. 1. "     Zero ,Optional register"
group ANC:0x2:0x0EC800d8++0x00
line.byte 0x0 "PCIX0_PMSCRR ,PCI-X Power Management State Change Request Register"
bitfld.byte 0x0 4. "     APW  ,Accept PMCSR Write" "Not accepted,Accepted"
bitfld.byte 0x0 3. "   SCR ,State Change Request" "Not accepted,Accepted"
bitfld.byte 0x0 1.--2. "   RS  ,Requested State" "0,01,10,11"
bitfld.byte 0x0 0. "             DWE ,Delayed Write Enable" "Immediate,Delayed"
tree.end
tree "PCI-X Capability Block Definition Registers"
rgroup ANC:0x2:0x0EC800dc++0x00
line.byte 0x0 "PCIX0_CAPID,PCI-X Capability Identifier"
hexmask.byte.byte 0x00 0.--7. 1. "     CPID ,Capability Identifier"
rgroup ANC:0x2:0x0EC800dd++0x00
line.byte 0x0 "PCIX0_NIPTR,PCI-X Next Item Pointer"
hexmask.byte.byte 0x00 0.--7. 1. "     NXIP ,Next Item Pointer"
group ANC:0x2:0x0EC800de++0x01
line.word 0x0 "PCIX0_PCIXCMD ,PCI-X Command"
bitfld.word 0x0 4.--6. "     MOST ,Maximum Outstanding Split Transactions" "000,001,010,011,100,101,110,111"
bitfld.word 0x0 2.--3. "        MRBC ,Maximum Memory-Read Byte Count" "00,01,10,11"
bitfld.word 0x0 1. "   ERO  ,Enable Relaxed Ordering" "-,Enabled"
bitfld.word 0x0 0. "        DPER ,Data Parity Error Recovery Enable" "-,Enabled"
group ANC:0x2:0x0EC800e0++0x03
line.long 0x0 "PCIX0_STS,PCI-X Status"
bitfld.long 0x0 29. " SPEM ,Received Split Completion Error Message" "-,Error"
bitfld.long 0x0 26.--28. "      MCRS ,Designed Max Cumulative Read Size" "000,001,010,011,100,101,110,111"
bitfld.long 0x0 23.--25. "  DMOS ,Designed Max Outstanding Splits" "000,001,010,011,100,101,110,111"
bitfld.long 0x0 21.--22. "            MRBC ,Designed Max Memory Read Byte Count" "00,01,10,11"
textline "                         "
bitfld.long 0x0 20. " DC   ,Device Complexity" "Simple,Complex"
bitfld.long 0x0 19. "    USC  ,Unexpected Split Completion" "0,1"
bitfld.long 0x0 18. "    SCD  ,Split Completion Discarded" "Not discarded,Discarded"
bitfld.long 0x0 17. "  CAP  ,133 MHz Capable" "Not capable,Capable"
textline "                         "
bitfld.long 0x0 16. " DEV  ,64-bit Device" "Not 64bit,64bit"
hexmask.long.byte 0x00 8.--15. 1. "  BN   ,Bus Number"
hexmask.long.byte 0x00 3.--7. 1. "   DN   ,Device Number"
bitfld.long 0x00 0.--2. "             FN   ,Functional Number" "000,001,010,011,100,101,110,111"
group ANC:0x2:0x0EC800e4++0x03
line.long 0x0 "PCIX0_IDR,PCI-X Internal Debug Register"
hexmask.long.long 0x00 0.--31. 1. " RES  ,Reserved"
rgroup ANC:0x2:0x0EC800e8++0x03
line.long 0x0 "PCIX0_CID,PCI-X Internal Core Device ID"
hexmask.long.long 0x00 0.--31. 1. " CID  ,Internal Core Device ID"
rgroup ANC:0x2:0x0EC800ec++0x03
line.long 0x0 "PCIX0_RID,PCI-X Internal Core Revision ID"
hexmask.long.long 0x00 0.--31. 1. " RID  ,Internal Core Revision ID"
tree.end
tree "Simple Message Passing and Inbound MSI Registers"
group ANC:0x2:0x0EC80100++0x03
line.long 0x0 "PCIX0_MSGIL,PCI-X Message In Low"
hexmask.long.long 0x00 0.--31. 1. " MIL  ,Message In Low"
group ANC:0x2:0x0EC80104++0x03
line.long 0x0 "PCIX0_MSGIH,PCI-X Message In High"
hexmask.long.long 0x00 0.--31. 1. " MIH  ,Message In High"
group ANC:0x2:0x0EC80108++0x03
line.long 0x0 "PCIX0_MSGOL,PCI-X Message Out Low"
hexmask.long.long 0x00 0.--31. 1. " MOL  ,Message Out Low"
group ANC:0x2:0x0EC8010c++0x03
line.long 0x0 "PCIX0_MSGOH,PCI-X Message Out High"
hexmask.long.long 0x00 0.--31. 1. " MOH  ,Message Out High"
wgroup ANC:0x2:0x0EC801f8++0x03
line.long 0x0 "PCIX0_IM,PCI-X Inbound MSI"
hexmask.long.byte 0x00 0.--3. 1. " IMSI ,MSI In"
tree.end
endian.def
elif (cpu()=="PPC440SPE")
;PLB-PCIX Bridge Registers
width 17.
endian.le
base ad:0xc:0x0ec80000
group 0x00++0x03
line.word 0x00 "PCIX0_VENDID,PCIX0 Vendor ID Register"
line.word 0x02 "PCIX0_DEVID,PCIX0 Device ID Register"
group 0x04++0x01
line.word 0x00 "PCIX0_CMD,PCIX0 Command Register"
bitfld.word 0x00 10. "     INTD ,Interrupt Disable" "-,Disabled"
bitfld.word 0x00 9. "  FBBC ,Fast Back-to-Back Write Enable" "-,Enabled"
bitfld.word 0x00 8. "   SERE ,SERR# Enable" "-,Enabled"
textline "                          "
bitfld.word 0x00 7. " ADS  ,Address stepping Wait States" "Low,High"
bitfld.word 0x00 6. "      PER  ,Parity Error Response" "-,Enabled"
bitfld.word 0x00 5. "   PLS  ,Palette Snooping" "-,Enabled"
textline "                          "
bitfld.word 0x00 4. " MWI  ,Memory Write and Invalidate Enable" "-,Enabled"
bitfld.word 0x00 3. "   SPC  ,Special Cycle Operations Enable" "-,Enabled"
bitfld.word 0x00 2. "   PME  ,PCI Master Enable" "-,Enabled"
textline "                          "
bitfld.word 0x00 1. " MEMA ,Memory Access" "-,Enabled"
bitfld.word 0x00 0. "   IOA  ,I/O Access" "-,Enabled"
group 0x06++0x01
line.word 0x00 "PCIX0_STATUS,PCIX0 Status Register"
eventfld.word 0x00 15. "     DEPE ,Detected Parity Error" "-,Error"
eventfld.word 0x00 14. "     SSE  ,Signaled System Error" "-,Error"
eventfld.word 0x00 13. "     RMA  ,Received Master Abort" "No abort,Abort"
textline "                          "
eventfld.word 0x00 12. " RTA  ,Received Target Abort" "No abort,Abort"
eventfld.word 0x00 11. "  STA  ,Signaled Target Abort" "No abort,Abort"
bitfld.word 0x00 9.--10. "  DST  ,/PCIDevSel Response Timing" "00,01,10,11"
textline "                          "
eventfld.word 0x00 8. " DPE  ,Data Parity Error Detected" "-,Error"
bitfld.word 0x00 7. "     FBBC ,Fast Back-to-Back Capable" "-,Enabled"
bitfld.word 0x00 5. "   66C  ,66 MHz Capable" "-,Enabled"
textline "                          "
bitfld.word 0x00 4. " CL   ,Capabilities List" "Low,High"
bitfld.word 0x00 3. "      INTS ,Interrupt Status" "-,Enabled"
group 0x08++0x03
line.long 0x00 "PCIX0_CLS/REVID,PCIX0 Class Regiter/PCIX0 Revision ID Register"
hexmask.long.byte 0x00 24.--31. 1. " BASE ,Base Class"
hexmask.long.byte 0x00 16.--23. 1. "        SUB  ,Subclass"
hexmask.long.byte 0x00 8.--15. 1. "        INT  ,Interface Class"
hexmask.long.byte 0x00 0.--7. 1. "        REV_ID ,Revision level of device"
group 0x0C++0x01
line.byte 0x00 "PCIX0_CACHELS,PCIX0 Cache Line Size Register"
line.byte 0x01 "PCIX0_LATTIM,PCIX0 Latency Timer Register"
rgroup 0x0E++0x01
line.byte 0x00 "PCIX0_HDTYPE,PCIX0 Header Type Register"
line.byte 0x01 "PCIX0_BIST,PCIX0 BIST Control Register"
group 0x10++0x07
line.long 0x00 "PCIX0_BAR0L,PCIX0 BAR0 Low Register"
hexmask.long 0x00 12.--31. 0x1000 " BA   ,Base Address"
hexmask.long.byte 0x00 4.--11. 1. "  BAZ  ,Base Address Always Zero"
bitfld.long 0x00 3. "        PEF  ,Prefetchable" "Not allowed,Allowed"
textline "                          "
bitfld.long 0x00 1.--2. " LT   ,Location Type" "00,01,10,11"
bitfld.long 0x00 0. "        MSI  ,Memory Space Indicator" "Memory,I/O"
line.long 0x04 "PCIX0_BAR0H,PCIX0 BAR0 High Register"
hexmask.long 0x04 0.--31. 1. " BAH  ,Base Address High"
group 0x18++0x03
line.long 0x00 "PCIX0_BAR1,PCIX0 BAR1 Register"
hexmask.long 0x00 8.--31. 0x100 " BA   ,Base Address"
hexmask.long.byte 0x00 2.--7. 1. "  BAZ  ,Base Address Always Zero"
bitfld.long 0x00 0. "        MSI  ,Memory Space Indicator" "Memory,I/O"
group 0x1C++0x07
line.long 0x00 "PCIX0_BAR2L,PCIX0 BAR2 Low Register"
hexmask.long 0x00 12.--31. 0x1000 " BA   ,Base Address"
hexmask.long.byte 0x00 4.--11. 1. "  BAZ  ,Base Address Always Zero"
bitfld.long 0x00 3. "        PEF  ,Prefetchable" "Not allowed,Allowed"
textline "                          "
bitfld.long 0x00 1.--2. " LT   ,Location Type" "00,01,10,11"
bitfld.long 0x00 0. "        MSI  ,Memory Space Indicator" "Memory,I/O"
line.long 0x04 "PCIX0_BAR2H,PCIX0 BAR2 High Register"
hexmask.long 0x04 0.--31. 1. " BAH  ,Base Address High"
group 0x2C++0x03
line.word 0x00 "PCIX0_SBSYSVID,PCI Subsystem Vendor ID Register"
line.word 0x02 "PCIX0_SBSYSID,PCI Subsystem ID Register"
group 0x30++0x03
line.long 0x00 "PCIX0_EROMBA,PCIX0 Expansion ROM Address Register"
hexmask.long 0x00 12.--31. 0x1000 " BA   ,Base Address"
hexmask.long.word 0x00 1.--11. 1. "  BAZ  ,Base Address Always Zero"
bitfld.long 0x00 0. "      EN   ,Enable" "-,Enabled"
group 0x34++0x00
line.byte 0x00 "PCIX0_CAP,PCI Capability Pointer Register"
group 0x35++0x00
line.byte 0x00 "PCIX0_INTLN,PCIX0 Interrupt Line Register"
rgroup 0x3D++0x00
line.byte 0x00 "PCIX0_INTPN,PCIX0 Interrupt Pin Register"
group 0x3E++0x01
line.byte 0x00 "PCIX0_MINGNT,PCIX0 Minimum Grant Register"
line.byte 0x01 "PCIX0_MAXLTNCY,PCIX0 Maximum Latency"
group 0x40++0x03
line.long 0x00 "PCIX0_BRDGOPT1,PCIX0 Bridge Options 1"
bitfld.long 0x00 29.--31. " RBP7  ,Outbound Read Buffer for PLB Master 7" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 26.--28. "      RBP6  ,Outbound Read Buffer for PLB Master 6" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 23.--25. "   RBP5  ,Outbound Read Buffer for PLB Master 5" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                          "
bitfld.long 0x00 20.--22. " RBP4  ,Outbound Read Buffer for PLB Master 4" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 17.--19. "      RBP3  ,Outbound Read Buffer for PLB Master 3" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 11.--13. "   RBP1  ,Outbound Read Buffer for PLB Master 1" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                          "
bitfld.long 0x00 8.--10. " RBP0  ,Outbound Read Buffer for PLB Master 0" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 5.--6. "      PLRQ  ,PLB Request Priority" "0,1,2,3"
bitfld.long 0x00 4. "              MSEN  ,Inbound MSI Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 3. " PCAR  ,PCI Arbiter Park Mode" "Requester 0,Last master"
bitfld.long 0x00 1.--2. "       PTMR  ,PCI Target Memory Read Command Interpretation" "Read,Read line,Read multiple,Reserved"
bitfld.long 0x00 0. "  DRFCH ,Disable Refetch" "-,Disabled"
if (((data.long(ad:0x0c:0x0EC800E4))&0x00000080)==0x00000080)
group 0x44++0x03
line.long 0x00 "PCIX0_BRDGOPT2,PCIX0 Bridge Options 2"
bitfld.long 0x00 29.--31. " RBP11 ,Outbound Read Buffer Mapping forPLB Master 11" "256B,2KB,512B,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 26.--28. "          RBP10 ,Outbound Read Buffer for PLB Master 10" "256B,2KB,512B,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 23.--25. "       RBP9  ,Outbound Read Buffer for PLB Master 9" "256B,2KB,512B,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                          "
bitfld.long 0x00 20.--22. " RBP8  ,Outbound Read Buffer for PLB Master 8" "256B,2KB,512B,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 19. "          PDIS  ,PLB Slave Bus Pipeline Disable" "-,Disabled"
bitfld.long 0x00 18. "       ILPD  ,Interface Low Power Mode Disable" "-,Disabled"
textline "                          "
bitfld.long 0x00 17. " X2EN  ,PCI-X Mode 2 Enable" "-,Enabled"
bitfld.long 0x00 15.--16. "           FREQ  ,PCI Frequency Range" "100-133MHz,66-100MHz,50-66MHz,Reserved"
bitfld.long 0x00 14. "     XEN   ,PCI-X Mode Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 13. " EXWR  ,External Write to PCI Command Interrupt" "-,Interrupt"
bitfld.long 0x00 12. "         PLEN  ,Enable Slow PLB" "-,Enabled"
bitfld.long 0x00 11. "        OMIS  ,Outbound Message Interrupt Select" "Internal,External"
textline "                          "
bitfld.long 0x00 10. " TDIS  ,PCI Discard Timer Disable" "-,Disabled"
bitfld.long 0x00 3. "          CPUW  ,Local CPU Wait" "No wait,Wait"
bitfld.long 0x00 2. "        HTD   ,Host Configuration Enable Timer Disable" "-,Disabled"
textline "                          "
bitfld.long 0x00 1. " HTEX  ,Host Configuration Enable Timer Expired" "Not expired,Expired"
bitfld.long 0x00 0. "       HCEN  ,Host Configuration Enable" "-,Enabled"
else
group 0x44++0x03
line.long 0x00 "PCIX0_BRDGOPT2,PCIX0 Bridge Options 2"
bitfld.long 0x00 29.--31. " RBP11 ,Outbound Read Buffer Mapping forPLB Master 11" "256B,2KB,512B,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 26.--28. "          RBP10 ,Outbound Read Buffer for PLB Master 10" "256B,2KB,512B,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 23.--25. "       RBP9  ,Outbound Read Buffer for PLB Master 9" "256B,2KB,512B,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                          "
bitfld.long 0x00 20.--22. " RBP8  ,Outbound Read Buffer for PLB Master 8" "256B,2KB,512B,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 19. "          PDIS  ,PLB Slave Bus Pipeline Disable" "-,Disabled"
bitfld.long 0x00 18. "       ILPD  ,Interface Low Power Mode Disable" "-,Disabled"
textline "                          "
bitfld.long 0x00 17. " X2EN  ,PCI-X Mode 2 Enable" "-,Enabled"
bitfld.long 0x00 15.--16. "           FREQ  ,PCI Frequency Range" "Reserved,Reserved,33-66MHz,0-33MHz"
bitfld.long 0x00 14. "       XEN   ,PCI-X Mode Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 13. " EXWR  ,External Write to PCI Command Interrupt" "-,Interrupt"
bitfld.long 0x00 12. "         PLEN  ,Enable Slow PLB" "-,Enabled"
bitfld.long 0x00 11. "        OMIS  ,Outbound Message Interrupt Select" "Internal,External"
textline "                          "
bitfld.long 0x00 10. " TDIS  ,PCI Discard Timer Disable" "-,Disabled"
bitfld.long 0x00 3. "          CPUW  ,Local CPU Wait" "No wait,Wait"
bitfld.long 0x00 2. "        HTD   ,Host Configuration Enable Timer Disable" "-,Disabled"
textline "                          "
bitfld.long 0x00 1. " HTEX  ,Host Configuration Enable Timer Expired" "Not expired,Expired"
bitfld.long 0x00 0. "       HCEN  ,Host Configuration Enable" "-,Enabled"
endif
group 0x50++0x07
line.long 0x00 "PCIX0_ERREN,PCIX0 Error Enable Register"
bitfld.long 0x00 18. " REL   ,Route Error Locality" "-,Enabled"
bitfld.long 0x00 17. "           MRWE  ,MRdErr/MWrErr Assertion Enable" "-,Enabled"
bitfld.long 0x00 16. "        EAE   ,ERROR_INT Assertion Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 15. " SDTE  ,Outbound Split Discard Timer Enable" "-,Enabled"
bitfld.long 0x00 14. "           USEE  ,Unexpected Split Completion Error Enable" "-,Enabled"
bitfld.long 0x00 12. "        RERE  ,Read MERR Receive Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 11. " WERE  ,Write MERR Receive Enable" "-,Enabled"
bitfld.long 0x00 10. "           QRE   ,MIRQ Receive Enable" "-,Enabled"
bitfld.long 0x00 9. "        TRE   ,Timeout Receive Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 8. " PO    ,PCI Parity Option" "Mask all,Normal"
bitfld.long 0x00 7. "          IDPE  ,PCI Inbound Write Data Parity Error Enable" "-,Enabled"
bitfld.long 0x00 5. "        MAEE  ,Master Abort Error Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 4. " TAEE  ,Target Abort Error Enable" "-,Enabled"
bitfld.long 0x00 3. "           STEE  ,Split Transaction Error Enable" "-,Enabled"
bitfld.long 0x00 2. "        APEE  ,Addr/Attrib Parity Error Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 1. " DRTE  ,Delayed Read Discard Timer Expired Error Enable" "-,Enabled"
bitfld.long 0x00 0. "           SEE   ,PCI_SERR# Received as Error Enable" "-,Enabled"
;group 0x54++0x03
line.long 0x04 "PCIX0_ERRSTS,PCIX0 Error Status"
bitfld.long 0x04 17. " MRWE  ,MRdErr or MWrErr Signaled" "-,Occurred"
bitfld.long 0x04 16. "          EIS   ,ERROR_INT Signaled" "-,Occurred"
bitfld.long 0x04 15. "       SDTE  ,Split Discard Timer Expired" "Not expired,Expired"
textline "                          "
bitfld.long 0x04 12. " MRER  ,MRdErr Received" "Not received,Received"
bitfld.long 0x04 11. "      MWER  ,MWrErr Received" "Not received,Received"
bitfld.long 0x04 10. "   MQR   ,Mirq Received" "Not received,Received"
textline "                          "
bitfld.long 0x04 9. " TO    ,Timeout" "Not received,Received"
bitfld.long 0x04 7. "      IPED  ,PCI Inbound Write Data Parity Error Detected" "Not detected,Detected"
bitfld.long 0x04 2. "   APED  ,Address/Attribute Parity Error Detected" "Not detected,Detected"
textline "                          "
bitfld.long 0x04 1. " DTE   ,Delayed Read Discard Timer Expired" "Not expired,Expired"
bitfld.long 0x04 0. "       PSEE  ,PCI_SERR# Received" "Not received,Received"
rgroup 0x58++0x0B
line.long 0x00 "PCIX0_PLBBESR,PCIX0 PLB Slave Error Attribute Register"
bitfld.long 0x00 9. " VAL   ,Valid" "Not valid,Valid"
bitfld.long 0x00 8. "         RNW   ,RNW from the PLB Mster" "Low,High"
hexmask.long.byte 0x00 4.--7. 1. "           PLBS  ,Size from the PLB Master"
textline "                          "
hexmask.long.byte 0x00 0.--3. 1. " MID   ,Master ID of the PLB Master"
;rgroup 0x5c++0x03
line.long 0x04 "PCIX0_PLBBEARL,PCIX0 PLB Slave Error Address Low Register"
;rgroup 0x60++0x03
line.long 0x08 "PCIX0_PLBBEARH,PCIX0 PLB Slave Error Address High Register"
group 0xE4++0x03
line.long 0x00 "PCIX0_ECCCS,PCIX0 ECC Control and Status Register"
bitfld.long 0x00 31. " ECCM  ,ECC Mode" "Mode 1/Conv mode,Mode 2"
bitfld.long 0x00 30. "  DSBEC ,Disable Single Bit Error Correction" "-,Disabled"
bitfld.long 0x00 28. "       ECUE  ,ECC Control Update Enable" "-,Enabled"
textline "                          "
hexmask.long.byte 0x00 24.--27. 1. " EUAT  ,Error Upper Attributes"
hexmask.long.byte 0x00 20.--23. 1. "                ESC   ,Error Second Command"
hexmask.long.byte 0x00 16.--19. 1. "             EFC   ,Error First Command"
textline "                          "
bitfld.long 0x00 15. " SYND  ,Bit E7 Syndrome" "-,Error"
bitfld.long 0x00 14. "             SYND  ,Bit E6 Syndrome" "-,Error"
bitfld.long 0x00 13. "          SYND  ,Bit E5 Syndrome" "-,Error"
textline "                          "
bitfld.long 0x00 12. " SYND  ,Bit E4 Syndrome" "-,Error"
bitfld.long 0x00 11. "             SYND  ,Bit E3 Syndrome" "-,Error"
bitfld.long 0x00 10. "          SYND  ,Bit E2 Syndrome" "-,Error"
textline "                          "
bitfld.long 0x00 9. " SYND  ,Bit E1 Syndrome" "-,Error"
bitfld.long 0x00 8. "             SYND  ,Bit E0 Syndrome" "-,Error"
bitfld.long 0x00 7. "          EEC   ,ECC Error Corrected" "Not corrected,Corrected"
textline "                          "
bitfld.long 0x00 4.--6. " EEP   ,ECC Error Phase" "-,1st 32 bits,2nd 32 bits,Attribute,32bit/64bit data,64bit data,Reserved,Reserved"
bitfld.long 0x00 3. "  AUEE  ,Additional Uncorrectable ECC Error" "-,Error"
bitfld.long 0x00 2. "          ACEE  ,Additional Correctable ECC Error" "-,Error"
rgroup 0xE8++0x0B
line.long 0x00 "PCIX0_ECCFA,PCIX0 ECC First Address Register"
line.long 0x04 "PCIX0_ECCSA,PCIX0 ECC Second Address Register"
line.long 0x08 "PCIX0_ECCAT,PCIX0 ECC Attribute Register"
group 0x68++0x13
line.long 0x00 "PCIX0_POM0LAL,PCIX0 POM 0 Local Address Low Register"
hexmask.long.word 0x00 20.--31. 1. " 0LAL ,Local Address Low"
line.long 0x04 "PCIX0_POM0LAH,PCIX0 POM 0 Local Address High Register"
hexmask.long 0x04 0.--31. 1. " 0LAH ,Local Address High"
line.long 0x08 "PCIX0_POM0SA,PCIX0 POM 0 Size/Atribute Register"
hexmask.long.word 0x08 20.--31. 1. " SIZE ,Size of POM0"
bitfld.long 0x08 0. "          EN   ,Enable Mapping" "-,Enabled"
line.long 0x0C "PCIX0_POM0PCIAL,PCIX0 POM 0 PCI Address Low Register"
hexmask.long.word 0x0C 20.--31. 1. " 0PAL ,PCI Low Address"
line.long 0x10 "PCIX0_POM0PCIAH,PCIX0 POM 0 PCI Address High Register"
hexmask.long 0x10 0.--31. 1. " 0PAH ,PCI High Address"
group 0x7C++0x13
line.long 0x00 "PCIX0_POM1LAL,PCIX0 POM 1 Local Address Low Register"
hexmask.long.word 0x00 20.--31. 1. " 1LAL ,Local Address Low"
line.long 0x04 "PCIX0_POM1LAH,PCIX0 POM 1 Local Address High Register"
hexmask.long 0x04 0.--31. 1. " 0LAH ,Local Address High"
line.long 0x08 "PCIX0_POM1SA,PCIX0 POM 1 Size/Atribute Register"
hexmask.long.word 0x08 20.--31. 1. " SIZE ,Size of POM 1"
bitfld.long 0x08 0. "          EN   ,Enable Mapping" "-,Enabled"
line.long 0x0C "PCIX0_POM1PCIAL,PCIX0 POM 1 PCI Address Low Register"
hexmask.long.word 0x0C 20.--31. 1. " 1PAL ,PCI Low Address"
line.long 0x10 "PCIX0_POM1PCIAH,PCIX0 POM 1 PCI Address High Register"
hexmask.long 0x10 0.--31. 1. " 1PAH ,PCI High Address"
group 0x90++0x03
line.long 0x00 "PCIX0_POM2SA,PCIX0 POM 2 Size/Attribute Register"
bitfld.long 0x00 0. " EN   ,Mapping Enable" "-,Enabled"
group 0x98++0x03
line.long 0x00 "PCIX0_PIM0SAL,PCIX0 PIM 0 Size/Attribute Low Register"
hexmask.long 0x00 12.--31. 1. " SIZL ,Size Low of PIM0"
bitfld.long 0x00 3. "      MS   ,Map split using PIM1" "Low,High"
bitfld.long 0x00 2. "           SBE  ,Split BAR0 Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 1. " PE   ,Prefetch Enable" "-,Enabled"
bitfld.long 0x00 0. "       EN   ,Enable PCI BAR0" "-,Enabled"
group 0xF8++0x03
line.long 0x00 "PCIX0_PIM0SAH,PCIX0 PIM 0 Size/Attribute High Register"
hexmask.long 0x00 0.--31. 1. " SIZ  ,Size High of PIM0"
group 0x9C++0x03
line.long 0x00 "PCIX0_PIM0LAL,PCIX0 PIM 0 Local Address Low Register"
hexmask.long 0x00 12.--31. 0x1000 " 0LAL ,Local Address Low"
group 0xA0++0x0F
line.long 0x00 "PCIX0_PIM0LAH,PCIX0 PIM 0 Local Address High Register"
hexmask.long 0x00 0.--31. 1. " 0LAH ,Local Address High"
line.long 0x04 "PCIX0_PIM1SA,PCIX0 PIM 1 Size/Attribute Register"
hexmask.long 0x04 8.--31. 1. " SIZE ,Size"
bitfld.long 0x04 0. "      EN   ,Enable PCI BAR1" "-,Enabled"
line.long 0x08 "PCIX0_PIM1LAL,PCIX0 PIM 1 Local Address Low Register"
hexmask.long 0x08 12.--31. 0x1000 " 1LAL ,Local Address Low"
line.long 0x0C "PCIX0_PIM1LAH,PCIX0 PIM 1 Local Address High Register"
hexmask.long 0x0C 0.--31. 1. " 1LAH ,Local Address High"
group 0xB0++0x03
line.long 0x00 "PCIX0_PIM2SAL,PCIX0 PIM 2 Size/Attribute Low Register"
hexmask.long 0x00 12.--31. 1. " SIZL ,Size Low of PIM2"
bitfld.long 0x00 2. "      P2E  ,Big PIM2 Enable" "-,Enabled"
bitfld.long 0x00 1. "        PE   ,Prefetch Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 0. " EN   ,Enable PCI BAR2" "-,Enabled"
group 0xFC++0x03
line.long 0x00 "PCIX0_PIM2SAH,PCIX0 PIM 2 Size/Attribute High Register"
hexmask.long 0x00 0.--31. 1. " SIZH ,Size High of PIM2"
group 0xB4++0x07
line.long 0x00 "PCIX0_PIM2LAL,PCIX0 PIM 2 Local Address Low Register"
hexmask.long 0x00 12.--31. 0x1000 " 2LAL ,Local Address Low"
line.long 0x04 "PCIX0_PIM2LAH,PCIX0 PIM2 Local Address High Register"
hexmask.long 0x04 0.--31. 1. " 2LAH ,Local Address High"
rgroup 0xC0++0x00
line.byte 0x00 "PCIX0_OMCAPID,PCIX0 Outbound MSI Capability Identifier Register"
hexmask.byte 0x00 0.--7. 1. "     CPID ,Message Signaled Interrupts (MSI) Capabilities Identifier"
group 0xC1++0x00
line.byte 0x00 "PCIX0_OMNIPTR,PCIX0 Outbound MSI Next Item Pointer Register"
hexmask.byte 0x00 0.--7. 1. "     NPTR ,Message Signaled Interrupts (MSI) Next Item Pointer"
group 0xC2++0x0C
line.word 0x00 "PCIX0_OMMC,PCIX0 Outbound MSI Message Control Register"
bitfld.word 0x00 7. "     64AC ,64-bit Address Capable" "Not capable,Capable"
hexmask.word 0x00 4.--6. 1. "   MME  ,Multiple Message Enable"
hexmask.word 0x00 1.--3. 1. "           MMC  ,Multiple Message Capable"
textline "                          "
bitfld.word 0x00 0. " MSI  ,MSI Enable" "-,Enabled"
;group 0xc4++0x01
line.long 0x02 "PCIX0_OMMA,PCIX0 Outbound MSI Message Address Register"
hexmask.long 0x02 2.--31. 1. " MA   ,Message Address"
;group 0xc8++0x01
line.long 0x06 "PCIX0_OMMUA,PCIX0 Outbound MSI Message Upper Address Register"
hexmask.long 0x06 0.--31. 1. " MUA  ,Message Upper Address"
;group 0xcc++0x01
line.word 0x0A "PCIX0_OMMDATA,PCIX0 Outbound MSI Message Data Register"
hexmask.word 0x0A 0.--15. 1. "     MD   ,Message Data"
;group 0xce++0x00
line.byte 0x0C "PCIX0_OMMEOI,PCIX0 Outbound MSI Message End of Interrupt Register"
bitfld.byte 0x0C 0.--1. "     MEOI ,Message End of Interrupt" "00,01,10,11"
rgroup 0xD0++0x00
line.byte 0x00 "PCIX0_PMCAPID,PCIX0 Power Management Capability Identifier Register"
hexmask.byte 0x00 0.--7. 1. "     CPID ,Capabilities Identifier"
group 0xD1++0x04
line.byte 0x00 "PCIX0_PMNIPTR,PCIX0 Power Management Next Item Pointer Register"
hexmask.byte 0x00 0.--7. 1. "     NIP  ,Next Item Pointer"
;group 0xd2++0x01
line.word 0x01 "PCIX0_PMC,PCIX0 Power Management Capabilities Register"
hexmask.word 0x01 11.--15. 1. "     PME  ,PME Support"
bitfld.word 0x01 10. "          D2   ,D2 Support" "Not supported,Supported"
bitfld.word 0x01 9. "  D1   ,D1 Support" "Not supported,Supported"
textline "                          "
hexmask.word 0x01 6.--8. 1. " AUX  ,AUX Current"
bitfld.word 0x01 5. "          DSI  ,Device Secific Initialization" "Not required,Required"
bitfld.word 0x01 3. "   PME  ,PME Clock" "0,1"
textline "                          "
hexmask.word 0x01 0.--2. 1. " V    ,Verion"
;group 0xd4++0x01
line.word 0x03 "PCIX0_PMCSR,PCIX0 Power Management Control/Status Register"
bitfld.word 0x03 15. "     PMES ,PME Status" "0,1"
hexmask.word 0x03 13.--14. 1. "             DSC  ,Data Scale"
hexmask.word 0x03 9.--12. 1. "           DSE  ,Data Select"
textline "                          "
bitfld.word 0x03 8. " PME  ,PME Enable" "0,1"
bitfld.word 0x03 0.--1. "             PS   ,Power State" "D0,D1,D2,D3-Hot"
rgroup 0xD6++0x01
line.byte 0x00 "PCIX0_PMCSRBSE,PCIX0 PMCR PCI-to-PLB-PCIX Bridge Support Extensions Register"
hexmask.byte 0x00 0.--7. 1. "     CSSE ,Power Mangement Control/Status PCI-to-PLB-PCIX Bridge Support Extensions"
;rgroup 0xd7++0x00
line.byte 0x01 "PCIX0_PMDATA,PCIX0 Power Management Data Register"
hexmask.byte 0x01 0.--7. 1. "     ZERO ,Optional Register"
group 0xD8++0x00
line.byte 0x00 "PCIX0_PMSCRR,PCIX0 Power Management State Change Request Register"
bitfld.byte 0x00 4. "     APW  ,Accept PMCSR Write" "Accepted,Not accepted"
bitfld.byte 0x00 3. "  SCR  ,State Change Request" "No request,Request"
bitfld.byte 0x00 1.--2. "     RS   ,Request State" "00,01,10,11"
textline "                          "
bitfld.byte 0x00 0. " DWE  ,Delayed Write Enable" "-,Enabled"
rgroup 0xDC++0x00
line.byte 0x00 "PCIX0_CAPID,PCIX0 Capability Identifier Register"
hexmask.byte 0x00 0.--7. 1. "     CPID ,Capability Identifier"
group 0xDD++0x06
line.byte 0x00 "PCIX0_NIPTR,PCIX0 Next Item Pointer Register"
hexmask.byte 0x00 0.--7. 1. "     NXIP ,Next Item Pointer"
;group 0xde++0x01
line.word 0x01 "PCIX0_CMDMAX,PCIX0 Command Register"
bitfld.word 0x01 12.--13. "     XVER ,PCIX Capabilities List Item Version" "00,01,10,11"
hexmask.word 0x01 4.--6. 1. "            MOST ,Maximum Outstanding Split Transactions"
bitfld.word 0x01 2.--3. "           MRBC ,Maximum Memory-Read Byte Count" "512B,1KB,2KB,2KB"
textline "                          "
bitfld.word 0x01 1. " ERO  ,Enable Relaxed Ordering" "-,Enabled"
bitfld.word 0x01 0. "       DPER ,Data Parity Error Recovery Enable" "0,1"
;group 0xe0++0x03
line.long 0x03 "PCIX0_STS,PCIX0 State Register"
bitfld.long 0x03 31. " X533 ,PCIX 533 Capable" "Not capable,Capable"
bitfld.long 0x03 30. "        X266  ,PCIX 266 Capable" "Not capable,Capable"
eventfld.long 0x03 29. "   SPEM ,Received Split Completion Error Message" "Not received,Received"
textline "                          "
bitfld.long 0x03 26.--28. " MCRS ,Maximum Cumulative Read Size" "0,1,2,3,4,5,6,7"
bitfld.long 0x03 23.--25. "                  DMOS  ,Maximum Outstanding Splits" "0,1,2,3,4,5,6,7"
bitfld.long 0x03 21.--22. "             MRBC ,Maximum Limit of the PCIX Memory Read Byte Count" "00,01,10,11"
textline "                          "
bitfld.long 0x03 20. " DC   ,Device Complexity" "Not simple device,Simple device"
eventfld.long 0x03 19. "  USC   ,Unexpected Split Completion" "Not received,Received"
bitfld.long 0x03 18. "  SCD  ,Split Completion Discarded" "Not discarded,Discarded"
textline "                          "
bitfld.long 0x03 17. " CAP  ,PCI 133 Capable" "Not capabled,Capabled"
bitfld.long 0x03 16. "       DEV   ,Device Bus Size" "32bit,64bit"
hexmask.long.byte 0x03 8.--15. 1. "         BN   ,Bus Number"
textline "                          "
hexmask.long 0x03 3.--7. 1. " DN   ,Device Number"
hexmask.long 0x03 0.--2. 1. "           FN    ,Function Number"
group 0x64++0x03
line.long 0x00 "PCIX0_IDR,PCIX0 Internal Debug Register (Reserved)"
rgroup 0xDE8++0x07
line.long 0x00 "PCIX0_CID,PCIX0 Internal Core Device ID Register"
hexmask.long 0x00 0.--31. 1. " CID  ,Internal Core Device ID"
;rgroup 0xdec++0x03
line.long 0x04 "PCIX0_RID,PCIX0 Internal Core Revision ID Register"
hexmask.long 0x00 0.--31. 1. " RID  ,Internal Core Revision ID"
group 0x4a++0x01
line.word 0x00 "PCIX0_VPDADR,PCIX0 VPD Address Register"
bitfld.word 0x00 15. "     FBIT ,Flag Bit" "Low,High"
hexmask.word 0x00 0.--14. 1. "               VADDR ,VPD Address"
rgroup 0x48++0x00
line.byte 0x00 "PCIX0_VPDCAPID,PCIX0 VPD Capability Identifier Register"
hexmask.byte 0x00 0.--7. 1. "     VCID ,Capability Identifier"
group 0x4c++0x03
line.long 0x00 "PCIX0_VPDDATA,PCIX0 VPD Data Register"
hexmask.long 0x00 0.--31. 1. " VDAT ,VPD Data"
group 0x49++0x00
line.byte 0x00 "PCIX0_VPDNIPTR,PCIX0 VPD Next Item Pointer Register"
hexmask.byte 0x00 0.--7. 1. "     NXIP ,Next Item Pointer"
group 0x100++0x0F
line.long 0x00 "PCIX0_MSGIL,PCIX0 Message In Low Register"
hexmask.long 0x00 0.--31. 1. " MIL  ,Message In Low"
;group 0x104++0x03
line.long 0x04 "PCIX0_MSGIH,PCIX0 Message In High Register"
hexmask.long 0x04 0.--31. 1. " MIH  ,Message In High"
;group 0x108++0x03
line.long 0x08 "PCIX0_MSGOL,PCIX0 Message Out Low Register"
hexmask.long 0x08 0.--31. 1. " MOL  ,Message Out Low"
;group 0x10c++0x03
line.long 0x0C "PCIX0_MSGOH,PCIX0 Message Out High Register"
hexmask.long 0x0C 0.--31. 1. " MOH  ,Message Out High"
wgroup 0x1F8++0x03
line.long 0x00 "PCIX0_IM,PCIX0 Inbound Message MSI Register"
hexmask.long.byte 0x00 0.--3. 1. " IMSI ,MSI In"
endian.def
width 0x0B
endif
tree "PCIX0"
sif (cpu()=="PPC440SP")
;PLB-PCIX0 Bridge Registers
width 17.
endian.le
base ad:0x9:((0*0x10000000)+0xEC80000)
group 0x00++0x03
line.word 0x00 "PCIX0_VENDID,PCIX0 Vendor ID Register"
line.word 0x02 "PCIX0_DEVID,PCIX0 Device ID Register"
group 0x04++0x01
line.word 0x00 "PCIX0_CMD,PCIX0 Command Register"
bitfld.word 0x00 10. "     INTD  ,Interrupt Disable" "-,Disabled"
bitfld.word 0x00 9. "                  FBBC  ,Fast Back-to-Back Write Enable" "-,Enabled"
bitfld.word 0x00 8. "          SERE ,SERR# Enable" "-,Enabled"
textline "                          "
bitfld.word 0x00 7. " ADS   ,Address stepping Wait States" "Low,High"
bitfld.word 0x00 6. "                      PER   ,Parity Error Response" "-,Enabled"
bitfld.word 0x00 5. "          PLS  ,Palette Snooping" "-,Enabled"
textline "                          "
bitfld.word 0x00 4. " MWI   ,Memory Write and Invalidate Enable" "-,Enabled"
bitfld.word 0x00 3. "                   SPC   ,Special Cycle Operations Enable" "-,Enabled"
bitfld.word 0x00 2. "          PME  ,PCI Master Enable" "-,Enabled"
textline "                          "
bitfld.word 0x00 1. " MEMA  ,Memory Access" "-,Enabled"
bitfld.word 0x00 0. "                   IOA   ,I/O Access" "-,Enabled"
group 0x06++0x01
line.word 0x00 "PCIX0_STATUS,PCIX0 Status Register"
eventfld.word 0x00 15. "     DEPE  ,Detected Parity Error" "-,Error"
eventfld.word 0x00 14. "                     SSE   ,Signaled System Error" "-,Error"
eventfld.word 0x00 13. "            RMA  ,Received Master Abort" "No abort,Abort"
textline "                          "
eventfld.word 0x00 12. " RTA   ,Received Target Abort" "No abort,Abort"
eventfld.word 0x00 11. "                  STA   ,Signaled Target Abort" "No abort,Abort"
bitfld.word 0x00 9.--10. "         DST  ,PCIDevSel Response Timing" "00,01,10,11"
textline "                          "
eventfld.word 0x00 8. " DPE   ,Data Parity Error Detected" "-,Error"
bitfld.word 0x00 7. "                     FBBC  ,Fast Back-to-Back Capable" "-,Enabled"
bitfld.word 0x00 5. "          66C  ,66 MHz Capable" "-,Enabled"
textline "                          "
bitfld.word 0x00 4. " CL    ,Capabilities List" "Low,High"
bitfld.word 0x00 3. "                      INTS  ,Interrupt Status" "-,Enabled"
group 0x08++0x03
line.long 0x00 "PCIX0_CLS/REVID,PCIX0 Class Regiter/PCIX0 Revision ID Register"
hexmask.long.byte 0x00 24.--31. 1. " BASE  ,Base Class"
hexmask.long.byte 0x00 16.--23. 1. "                        SUB   ,Subclass"
hexmask.long.byte 0x00 8.--15. 1. "               INT  ,Interface Class"
textline "                          "
hexmask.long.byte 0x00 0.--7. 1. " REVID ,Revision level of device"            
group 0x0C++0x01
line.byte 0x00 "PCIX0_CACHELS,PCIX0 Cache Line Size Register"
line.byte 0x01 "PCIX0_LATTIM,PCIX0 Latency Timer Register"
rgroup 0x0E++0x01
line.byte 0x00 "PCIX0_HDTYPE,PCIX0 Header Type Register"
line.byte 0x01 "PCIX0_BIST,PCIX0 BIST Control Register"
group 0x10++0x07
line.long 0x00 "PCIX0_BAR0L,PCIX0 BAR0 Low Register"
hexmask.long 0x00 12.--31. 0x1000 " BA    ,Base Address"
hexmask.long.byte 0x00 4.--11. 1. "                  BAZ   ,Base Address Always Zero"
bitfld.long 0x00 3. "               PF   ,Prefetchable" "Not allowed,Allowed"
textline "                          "
bitfld.long 0x00 1.--2. " LT    ,Location Type" "00,01,10,11"
bitfld.long 0x00 0. "                        MSI   ,Memory Space Indicator" "Memory,I/O"
line.long 0x04 "PCIX0_BAR0H,PCIX0 BAR0 High Register"
hexmask.long 0x04 0.--31. 1. " BAH   ,Base Address High"
group 0x18++0x03
line.long 0x00 "PCIX0_BAR1,PCIX0 BAR1 Register"
hexmask.long 0x00 8.--31. 0x100 " BA    ,Base Address"
hexmask.long.byte 0x00 2.--7. 1. "                  BAZ   ,Base Address Always Zero"
bitfld.long 0x00 0. "               MSI  ,Memory Space Indicator" "Memory,I/O"
group 0x1C++0x07
line.long 0x00 "PCIX0_BAR2L,PCIX0 BAR2 Low Register"
hexmask.long 0x00 12.--31. 0x1000 " BA    ,Base Address"
hexmask.long.byte 0x00 4.--11. 1. "                  BAZ   ,Base Address Always Zero"
bitfld.long 0x00 3. "               PEF  ,Prefetchable" "Not allowed,Allowed"
textline "                          "
bitfld.long 0x00 1.--2. " LT    ,Location Type" "00,01,10,11"
bitfld.long 0x00 0. "                        MSI   ,Memory Space Indicator" "Memory,I/O"
line.long 0x04 "PCIX0_BAR2H,PCIX0 BAR2 High Register"
hexmask.long 0x04 0.--31. 1. " BAH   ,Base Address High"
rgroup 0x28++0x03
line.long 0x00 "PCIX0_CISPTR,Unused Cardbus CIS Pointer"
group 0x2C++0x03
line.word 0x00 "PCIX0_SBSYSVID,PCI Subsystem Vendor ID Register"
line.word 0x02 "PCIX0_SBSYSID,PCI Subsystem ID Register"
group 0xE4++0x03
line.long 0x00 "PCIX0_ECCCS,PCIX0 ECC Control and Status Register"
bitfld.long 0x00 31. " ECCM  ,ECC Mode" "Mode 1/Conv mode,Mode 2"
bitfld.long 0x00 30. "          DSBEC ,Disable Single Bit Error Correction" "-,Disabled"
bitfld.long 0x00 28. "         ECUE ,ECC Control Update Enable" "-,Enabled"
textline "                          "
hexmask.long.byte 0x00 24.--27. 1. " EUAT  ,Error Upper Attributes"
hexmask.long.byte 0x00 20.--23. 1. "                        ESC   ,Error Second Command"
hexmask.long.byte 0x00 16.--19. 1. "               EFC  ,Error First Command"
textline "                          "
bitfld.long 0x00 15. " SYND  ,Bit E7 Syndrome" "-,Error"
bitfld.long 0x00 14. "                     SYND  ,Bit E6 Syndrome" "-,Error"
bitfld.long 0x00 13. "            SYND ,Bit E5 Syndrome" "-,Error"
textline "                          "
bitfld.long 0x00 12. " SYND  ,Bit E4 Syndrome" "-,Error"
bitfld.long 0x00 11. "                     SYND  ,Bit E3 Syndrome" "-,Error"
bitfld.long 0x00 10. "            SYND ,Bit E2 Syndrome" "-,Error"
textline "                          "
bitfld.long 0x00 9. " SYND  ,Bit E1 Syndrome" "-,Error"
bitfld.long 0x00 8. "                     SYND  ,Bit E0 Syndrome" "-,Error"
bitfld.long 0x00 7. "            EEC  ,ECC Error Corrected" "Not corrected,Corrected"
textline "                          "
bitfld.long 0x00 4.--6. " EEP   ,ECC Error Phase" "-,First 32bits of address,Second 32bits of address,Attribute,32bit/64bit data,64bit data,Reserved,Reserved"
bitfld.long 0x00 3. "  AUEE  ,Additional Uncorrectable ECC Error" "-,Error"
bitfld.long 0x00 2. "            ACEE ,Additional Correctable ECC Error" "-,Error"
rgroup 0xE8++0x0B
line.long 0x00 "PCIX0_ECCFA,PCIX0 ECC First Address Register"
line.long 0x04 "PCIX0_ECCSA,PCIX0 ECC Second Address Register"
line.long 0x08 "PCIX0_ECCAT,PCIX0 ECC Attribute Register"
group 0x30++0x03
line.long 0x00 "PCIX0_EROMBA,PCIX0 Expansion ROM Address Register"
hexmask.long 0x00 12.--31. 0x1000 " BA    ,Base Address"
hexmask.long.word 0x00 1.--11. 1. "                  BAZ   ,Base Address Always Zero"
bitfld.long 0x00 0. "             EN   ,Enable" "-,Enabled"
group 0x34++0x00
line.byte 0x00 "PCIX0_CAP,PCI Capability Pointer Register"
group 0x3C++0x00
line.byte 0x00 "PCIX0_INTLN,PCIX0 Interrupt Line Register"
rgroup 0x3D++0x00
line.byte 0x00 "PCIX0_INTPN,PCIX0 Interrupt Pin Register"
group 0x3E++0x01
line.byte 0x00 "PCIX0_MINGNT,PCIX0 Minimum Grant Register"
line.byte 0x01 "PCIX0_MAXLTNCY,PCIX0 Maximum Latency"
group 0x40++0x03
line.long 0x00 "PCIX0_BRDGOPT1,PCIX0 Bridge Options 1"
bitfld.long 0x00 29.--31. " RBP7  ,Outbound Read Buffer for PLB Master 7" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 26.--28. "              RBP6  ,Outbound Read Buffer for PLB Master 6" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 23.--25. "     RBP5 ,Outbound Read Buffer for PLB Master 5" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                          "
bitfld.long 0x00 20.--22. " RBP4  ,Outbound Read Buffer for PLB Master 4" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 17.--19. "              RBP3  ,Outbound Read Buffer for PLB Master 3" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 14.--16. "     RBP2 ,Outbound Read Buffer for PLB Master 2" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                          "
bitfld.long 0x00 11.--13. " RBP1  ,Outbound Read Buffer for PLB Master 1" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 8.--10. "              RBP0  ,Outbound Read Buffer for PLB Master 0" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 5.--6. "     PLRQ ,PLB Request Priority" "0,1,2,3"
textline "                          "
bitfld.long 0x00 4. " MSEN  ,Inbound MSI Enable" "-,Enabled"
bitfld.long 0x00 3. "                   PCAR  ,PCI Arbiter Park Mode" "Requester 0,Last master"
bitfld.long 0x00 1.--2. "      PTMR ,PCI Target Memory Read Command Interpretation" "Read,Read line,Read multiple,Reserved"
if (((data.long(ad:0x0c:((0*0x10000000)+0x0EC800e4)))&0x00000080)==0x00000080)
group 0x44++0x03
line.long 0x00 "PCIX0_BRDGOPT2,PCIX0 Bridge Options 2"
bitfld.long 0x00 26.--28. " RBP10 ,Outbound Read Buffer for PLB Master 10" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 23.--25. "              RBP9  ,Outbound Read Buffer for PLB Master 9" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 20.--22. "     RBP8 ,Outbound Read Buffer for PLB Master 8" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                          "
bitfld.long 0x00 19. " PDIS  ,PLB Slave Bus Pipeline Disable" "-,Disabled"
bitfld.long 0x00 18. "                  ILPD  ,Interface Low Power Mode Disable" "-,Disabled"
bitfld.long 0x00 17. "         X2EN ,PCI-X Mode 2 Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 15.--16. " FREQ  ,PCI Frequency Range" "100-133MHz,66-100MHz,50-66MHz,Reserved"
bitfld.long 0x00 14. "                XEN   ,PCI-X Mode Enable" "-,Enabled"
bitfld.long 0x00 13. "          EXWR ,External Write to PCI Command Interrupt" "-,Interrupt"
textline "                          "
bitfld.long 0x00 12. " PLEN  ,Enable Slow PLB" "-,Enabled"
bitfld.long 0x00 11. "                   OMIS  ,Outbound Message Interrupt Select" "Internal source,External source"
bitfld.long 0x00 10. "  TDIS ,PCI Discard Timer Disable" "-,Disabled"
textline "                          "
bitfld.long 0x00 3. " CPUW  ,Local CPU Wait" "No wait,Wait"
bitfld.long 0x00 2. "                   HTD   ,Host Configuration Enable Timer Disable" "-,Disabled"
bitfld.long 0x00 1. "         HTEX ,Host Configuration Enable Timer Expired" "Not expired,Expired"
textline "                          "
bitfld.long 0x00 0. " HCEN  ,Host Configuration Enable" "-,Enabled"
else
group 0x44++0x03
line.long 0x00 "PCIX0_BRDGOPT2,PCIX0 Bridge Options 2"
bitfld.long 0x00 26.--28. " RBP10 ,Outbound Read Buffer for PLB Master 10" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 23.--25. "              RBP9  ,Outbound Read Buffer for PLB Master 9" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 20.--22. "     RBP8 ,Outbound Read Buffer for PLB Master 8" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                          "
bitfld.long 0x00 19. " PDIS  ,PLB Slave Bus Pipeline Disable" "-,Disabled"
bitfld.long 0x00 18. "                  ILPD  ,Interface Low Power Mode Disable" "-,Disabled"
bitfld.long 0x00 17. "         X2EN ,PCI-X Mode 2 Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 15.--16. " FREQ  ,PCI Frequency Range" "Reserved,Reserved,33-66MHz,0-33MHz"
bitfld.long 0x00 14. "                  XEN   ,PCI-X Mode Enable" "-,Enabled"
bitfld.long 0x00 13. "          EXWR ,External Write to PCI Command Interrupt" "-,Interrupt"
textline "                          "
bitfld.long 0x00 12. " PLEN  ,Enable Slow PLB" "-,Enabled"
bitfld.long 0x00 11. "                   OMIS  ,Outbound Message Interrupt Select" "Internal source,External source"
bitfld.long 0x00 10. "  TDIS ,PCI Discard Timer Disable" "-,Disabled"
textline "                          "
bitfld.long 0x00 3. " CPUW  ,Local CPU Wait" "No wait,Wait"
bitfld.long 0x00 2. "                   HTD   ,Host Configuration Enable Timer Disable" "-,Disabled"
bitfld.long 0x00 1. "         HTEX ,Host Configuration Enable Timer Expired" "Not expired,Expired"
textline "                          "
bitfld.long 0x00 0. " HCEN  ,Host Configuration Enable" "-,Enabled"
endif
group 0x50++0x07
line.long 0x00 "PCIX0_ERREN,PCIX0 Error Enable Register"
bitfld.long 0x00 18. " REL   ,Route Error Locality" "-,Enabled"
bitfld.long 0x00 17. "                   MRWE  ,MRdErr/MWrErr Assertion Enable" "-,Enabled"
bitfld.long 0x00 16. "          EAE  ,ERROR_INT Assertion Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 15. " SDTE  ,Outbound Split Discard Timer Enable" "-,Enabled"
bitfld.long 0x00 14. "                   USEE  ,Unexpected Split Completion Error Enable" "-,Enabled"
bitfld.long 0x00 12. "          RERE ,Read MERR Receive Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 11. " WERE  ,Write MERR Receive Enable" "-,Enabled"
bitfld.long 0x00 10. "                   QRE   ,MIRQ Receive Enable" "-,Enabled"
bitfld.long 0x00 9. "          TRE  ,Timeout Receive Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 8. " PO    ,PCI Parity Option" "Mask all,Normal"
bitfld.long 0x00 7. "                  IDPE  ,PCI Inbound Write Data Parity Error Enable" "-,Enabled"
bitfld.long 0x00 5. "          MAEE ,Master Abort Error Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 4. " TAEE  ,Target Abort Error Enable" "-,Enabled"
bitfld.long 0x00 3. "                   STEE  ,Split Transaction Error Enable" "-,Enabled"
bitfld.long 0x00 2. "          APEE ,Addr/Attrib Parity Error Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 1. " DRTE  ,Delayed Read Discard Timer Expired Error Enable" "-,Enabled"
bitfld.long 0x00 0. "                   SEE   ,PCI_SERR# Received as Error Enable" "-,Enabled"
line.long 0x04 "PCIX0_ERRSTS,PCIX0 Error Status"
bitfld.long 0x04 17. " MRWE  ,MRdErr or MWrErr Signaled" "-,Occurred"
bitfld.long 0x04 16. "                  EIS   ,ERROR_INT Signaled" "-,Occurred"
bitfld.long 0x04 15. "         SDTE ,Split Discard Timer Expired" "Not expired,Expired"
textline "                          "
bitfld.long 0x04 12. " MRER  ,MRdErr Received" "Not received,Received"
bitfld.long 0x04 11. "              MWER  ,MWrErr Received" "Not received,Received"
bitfld.long 0x04 10. "     MQR  ,Mirq Received" "Not received,Received"
textline "                          "
bitfld.long 0x04 9. " TO    ,Timeout" "Not received,Received"
bitfld.long 0x04 7. "              IPED  ,PCI Inbound Write Data Parity Error Detected" "Not detected,Detected"
bitfld.long 0x04 2. "     APED ,Address/Attribute Parity Error Detected" "Not detected,Detected"
textline "                          "
bitfld.long 0x04 1. " DTE   ,Delayed Read Discard Timer Expired" "Not expired,Expired"
bitfld.long 0x04 0. "               PSEE  ,PCI_SERR# Received" "Not received,Received"
rgroup 0x58++0x0B
line.long 0x00 "PCIX0_PLBBESR,PCIX0 PLB Slave Error Attribute Register"
bitfld.long 0x00 9. " VAL   ,Valid" "Not valid,Valid"
bitfld.long 0x00 8. "                 RNW   ,RNW from the PLB Mster" "Low,High"
hexmask.long.byte 0x00 4.--7. 1. "             PLBS ,Size from the PLB Master"
textline "                          "
hexmask.long.byte 0x00 0.--3. 1. " MID   ,Master ID of the PLB Master"
line.long 0x04 "PCIX0_PLBBEARL,PCIX0 PLB Slave Error Address Low Register"
line.long 0x08 "PCIX0_PLBBEARH,PCIX0 PLB Slave Error Address High Register"
group 0x68++0x13
line.long 0x00 "PCIX0_POM0LAL,PCIX0 POM 0 Local Address Low Register"
hexmask.long.word 0x00 20.--31. 1. " 0LAL  ,Local Address Low"
line.long 0x04 "PCIX0_POM0LAH,PCIX0 POM 0 Local Address High Register"
hexmask.long 0x04 0.--31. 1. " 0LAH  ,Local Address High"
line.long 0x08 "PCIX0_POM0SA,PCIX0 POM 0 Size/Atribute Register"
hexmask.long.word 0x08 20.--31. 1. " SIZE  ,Size of POM0"
bitfld.long 0x08 0. "                      EN    ,Enable Mapping" "-,Enabled"
line.long 0x0C "PCIX0_POM0PCIAL,PCIX0 POM 0 PCI Address Low Register"
hexmask.long.word 0x0C 20.--31. 1. " 0PAL  ,PCI Low Address"
line.long 0x10 "PCIX0_POM0PCIAH,PCIX0 POM 0 PCI Address High Register"
hexmask.long 0x10 0.--31. 1. " 0PAH  ,PCI High Address"
group 0x7C++0x13
line.long 0x00 "PCIX0_POM1LAL,PCIX0 POM 1 Local Address Low Register"
hexmask.long.word 0x00 20.--31. 1. " 1LAL  ,Local Address Low"
line.long 0x04 "PCIX0_POM1LAH,PCIX0 POM 1 Local Address High Register"
hexmask.long 0x04 0.--31. 1. " 0LAH  ,Local Address High"
line.long 0x08 "PCIX0_POM1SA,PCIX0 POM 1 Size/Atribute Register"
hexmask.long.word 0x08 20.--31. 1. " SIZE  ,Size of POM 1"
bitfld.long 0x08 0. "                      EN    ,Enable Mapping" "-,Enabled"
line.long 0x0C "PCIX0_POM1PCIAL,PCIX0 POM 1 PCI Address Low Register"
hexmask.long.word 0x0C 20.--31. 1. " 1PAL  ,PCI Low Address"
line.long 0x10 "PCIX0_POM1PCIAH,PCIX0 POM 1 PCI Address High Register"
hexmask.long 0x10 0.--31. 1. " 1PAH  ,PCI High Address"
group 0x90++0x03
line.long 0x00 "PCIX0_POM2SA,PCIX0 POM 2 Size/Attribute Register"
bitfld.long 0x00 0. " EN    ,Mapping Enable" "-,Enabled"
group 0x98++0x03
line.long 0x00 "PCIX0_PIM0SAL,PCIX0 PIM 0 Size/Attribute Low Register"
hexmask.long 0x00 12.--31. 1. " SIZL  ,Size Low of PIM0"
bitfld.long 0x00 3. "                  MS    ,Map split using PIM1" "Low,High"
bitfld.long 0x00 2. "             SBE  ,Split BAR0 Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 1. " PE    ,Prefetch Enable" "-,Enabled"
bitfld.long 0x00 0. "                   EN    ,Enable PCI BAR0" "-,Enabled"
group 0xF8++0x03
line.long 0x00 "PCIX0_PIM0SAH,PCIX0 PIM 0 Size/Attribute High Register"
hexmask.long 0x00 0.--31. 1. " SIZ   ,Size High of PIM0"
group 0x9C++0x03
line.long 0x00 "PCIX0_PIM0LAL,PCIX0 PIM 0 Local Address Low Register"
hexmask.long 0x00 12.--31. 0x1000 " 0LAL  ,Local Address Low"
group 0xA0++0x0F
line.long 0x00 "PCIX0_PIM0LAH,PCIX0 PIM 0 Local Address High Register"
hexmask.long 0x00 0.--31. 1. " 0LAH  ,Local Address High"
line.long 0x04 "PCIX0_PIM1SA,PCIX0 PIM 1 Size/Attribute Register"
hexmask.long 0x04 8.--31. 1. " SIZE  ,Size"
bitfld.long 0x04 0. "                  EN    ,Enable PCI BAR1" "-,Enabled"
line.long 0x08 "PCIX0_PIM1LAL,PCIX0 PIM 1 Local Address Low Register"
hexmask.long 0x08 12.--31. 0x1000 " 1LAL  ,Local Address Low"
line.long 0x0C "PCIX0_PIM1LAH,PCIX0 PIM 1 Local Address High Register"
hexmask.long 0x0C 0.--31. 1. " 1LAH  ,Local Address High"
group 0xB0++0x03
line.long 0x00 "PCIX0_PIM2SAL,PCIX0 PIM 2 Size/Attribute Low Register"
hexmask.long 0x00 12.--31. 1. " SIZL  ,Size Low of PIM2"
bitfld.long 0x00 2. "                  P2E   ,Big PIM2 Enable" "-,Enabled"
bitfld.long 0x00 1. "          PE   ,Prefetch Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 0. " EN    ,Enable PCI BAR2" "-,Enabled"
group 0xFC++0x03
line.long 0x00 "PCIX0_PIM2SAH,PCIX0 PIM 2 Size/Attribute High Register"
hexmask.long 0x00 0.--31. 1. " SIZH  ,Size High of PIM2"
group 0xB4++0x07
line.long 0x00 "PCIX0_PIM2LAL,PCIX0 PIM 2 Local Address Low Register"
hexmask.long 0x00 12.--31. 0x1000 " 2LAL  ,Local Address Low"
line.long 0x04 "PCIX0_PIM2LAH,PCIX0 PIM2 Local Address High Register"
hexmask.long 0x04 0.--31. 1. " 2LAH  ,Local Address High"
rgroup 0xC0++0x00
line.byte 0x00 "PCIX0_OMCAPID,PCIX0 Outbound MSI Capability Identifier Register"
hexmask.byte 0x00 0.--7. 1. "     CPID  ,Message Signaled Interrupts (MSI) Capabilities Identifier"
group 0xC1++0x00
line.byte 0x00 "PCIX0_OMNIPTR,PCIX0 Outbound MSI Next Item Pointer Register"
hexmask.byte 0x00 0.--7. 1. "     NPTR  ,Message Signaled Interrupts (MSI) Next Item Pointer"
group 0xC2++0x0C
line.word 0x00 "PCIX0_OMMC,PCIX0 Outbound MSI Message Control Register"
bitfld.word 0x00 7. "     64AC  ,64-bit Address Capable" "Not capable,Capable"
hexmask.word 0x00 4.--6. 1. "               MME   ,Multiple Message Enable"
hexmask.word 0x00 1.--3. 1. "             MMC  ,Multiple Message Capable"
textline "                          "
bitfld.word 0x00 0. " MSI   ,MSI Enable" "-,Enabled"
line.long 0x02 "PCIX0_OMMA,PCIX0 Outbound MSI Message Address Register"
hexmask.long 0x02 2.--31. 1. " MA    ,Message Address"
line.long 0x06 "PCIX0_OMMUA,PCIX0 Outbound MSI Message Upper Address Register"
hexmask.long 0x06 0.--31. 1. " MUA   ,Message Upper Address"
line.word 0x0A "PCIX0_OMMDATA,PCIX0 Outbound MSI Message Data Register"
hexmask.word 0x0A 0.--15. 1. "     MD    ,Message Data"
line.byte 0x0C "PCIX0_OMMEOI,PCIX0 Outbound MSI Message End of Interrupt Register"
bitfld.byte 0x0C 0.--1. "     MEOI  ,Message End of Interrupt" "00,01,10,11"
rgroup 0xD0++0x00
line.byte 0x00 "PCIX0_PMCAPID,PCIX0 Power Management Capability Identifier Register"
hexmask.byte 0x00 0.--7. 1. "     CPID  ,Capabilities Identifier"
group 0xD1++0x04
line.byte 0x00 "PCIX0_PMNIPTR,PCIX0 Power Management Next Item Pointer Register"
hexmask.byte 0x00 0.--7. 1. "     NIP   ,Next Item Pointer"
line.word 0x01 "PCIX0_PMC,PCIX0 Power Management Capabilities Register"
hexmask.word 0x01 11.--15. 1. "     PME   ,PME Support"
bitfld.word 0x01 10. "                      D2    ,D2 Support" "Not supported,Supported"
bitfld.word 0x01 9. "    D1   ,D1 Support" "Not supported,Supported"
textline "                          "
hexmask.word 0x01 6.--8. 1. " AUX   ,AUX Current"
bitfld.word 0x01 5. "                      DSI   ,Device Secific Initialization" "Not required,Required"
bitfld.word 0x01 3. "     PME  ,PME Clock" "0,1"
textline "                          "
hexmask.word 0x01 0.--2. 1. " V     ,Verion"
line.word 0x03 "PCIX0_PMCSR,PCIX0 Power Management Control/Status Register"
bitfld.word 0x03 15. "     PMES  ,PME Status" "0,1"
hexmask.word 0x03 13.--14. 1. "                         DSC   ,Data Scale"
hexmask.word 0x03 9.--12. 1. "             DSE  ,Data Select"
textline "                          "
bitfld.word 0x03 8. " PME   ,PME Enable" "0,1"
bitfld.word 0x03 0.--1. "                         PS    ,Power State" "D0,D1,D2,D3-Hot"
rgroup 0xD6++0x01
line.byte 0x00 "PCIX0_PMCSRBSE,PCIX0 PMCR PCI-to-PLB-PCIX Bridge Support Extensions Register"
hexmask.byte 0x00 0.--7. 1. "     CSSE  ,Power Mangement Control/Status PCI-to-PLB-PCIX Bridge Support Extensions"
line.byte 0x01 "PCIX0_PMDATA,PCIX0 Power Management Data Register"
hexmask.byte 0x01 0.--7. 1. "     ZERO  ,Optional Register"
group 0xD8++0x00
line.byte 0x00 "PCIX0_PMSCRR,PCIX0 Power Management State Change Request Register"
bitfld.byte 0x00 4. "     APW   ,Accept PMCSR Write" "Accepted,Not accepted"
bitfld.byte 0x00 3. "              SCR   ,State Change Request" "No request,Request"
bitfld.byte 0x00 1.--2. "       RS   ,Request State" "00,01,10,11"
textline "                          "
bitfld.byte 0x00 0. " DWE   ,Delayed Write Enable" "-,Enabled"
rgroup 0xDC++0x00
line.byte 0x00 "PCIX0_CAPID,PCIX0 Capability Identifier Register"
hexmask.byte 0x00 0.--7. 1. "     CPID  ,Capability Identifier"
group 0xDD++0x06
line.byte 0x00 "PCIX0_NIPTR,PCIX0 Next Item Pointer Register"
hexmask.byte 0x00 0.--7. 1. "     NXIP  ,Next Item Pointer"
line.word 0x01 "PCIX0_CMDMAX,PCIX0 Command Register"
bitfld.word 0x01 12.--13. "     XVER  ,PCIX Capabilities List Item Version" "00,01,10,11"
hexmask.word 0x01 4.--6. 1. "                        MOST  ,Maximum Outstanding Split Transactions"
bitfld.word 0x01 2.--3. "             MRBC ,Maximum Memory-Read Byte Count" "512B,1KB,2KB,2KB"
textline "                          "
bitfld.word 0x01 1. " ERO   ,Enable Relaxed Ordering" "-,Enabled"
bitfld.word 0x01 0. "                   DPER  ,Data Parity Error Recovery Enable" "0,1"
line.long 0x03 "PCIX0_STS,PCIX0 State Register"
bitfld.long 0x03 31. " X533  ,PCIX 533 Capable" "Not capable,Capable"
bitfld.long 0x03 30. "               X266  ,PCIX 266 Capable" "Not capable,Capable"
eventfld.long 0x03 29. "      SPEM ,Received Split Completion Error Message" "Not received,Received"
textline "                          "
bitfld.long 0x03 26.--28. " MCRS  ,Maximum Cumulative Read Size" "0,1,2,3,4,5,6,7"
bitfld.long 0x03 23.--25. "                         DMOS  ,Maximum Outstanding Splits" "0,1,2,3,4,5,6,7"
bitfld.long 0x03 21.--22. "                MRBC ,Maximum Limit of the PCIX Memory Read Byte Count" "00,01,10,11"
textline "                          "
bitfld.long 0x03 20. " DC    ,Device Complexity" "Not simple device,Simple device"
eventfld.long 0x03 19. "         USC   ,Unexpected Split Completion" "Not received,Received"
bitfld.long 0x03 18. "     SCD  ,Split Completion Discarded" "Not discarded,Discarded"
textline "                          "
bitfld.long 0x03 17. " CAP   ,PCI 133 Capable" "Not capabled,Capabled"
bitfld.long 0x03 16. "              DEV   ,Device Bus Size" "32bit,64bit"
hexmask.long.byte 0x03 8.--15. 1. "            BN   ,Bus Number"
textline "                          "
hexmask.long 0x03 3.--7. 1. " DN    ,Device Number"
hexmask.long 0x03 0.--2. 1. "                  FN    ,Function Number"
rgroup 0x64++0x03
line.long 0x00 "PCIX0_IDR,PCIX0 Internal Debug Register (Reserved)"
rgroup 0xDE8++0x07
line.long 0x00 "PCIX0_CID,PCIX0 Internal Core Device ID Register"
hexmask.long 0x00 0.--31. 1. " CID   ,Internal Core Device ID"
line.long 0x04 "PCIX0_RID,PCIX0 Internal Core Revision ID Register"
hexmask.long 0x00 0.--31. 1. " RID   ,Internal Core Revision ID"
rgroup 0x48++0x00
line.byte 0x00 "PCIX0_VPDCAPID,PCIX0 VPD Capability Identifier Register"
hexmask.byte 0x00 0.--7. 1. "     VCID  ,Capability Identifier"
group 0x49++0x06
line.byte 0x00 "PCIX0_VPDNIPTR,PCIX0 VPD Next Item Pointer Register"
hexmask.byte 0x00 0.--7. 1. "     NXIP  ,Next Item Pointer"
line.word 0x01 "PCIX0_VPDADR,PCIX0 VPD Address Register"
bitfld.word 0x01 15. "     FBIT  ,Flag Bit" "Low,High"
hexmask.word 0x01 0.--14. 1. "                      VADDR ,VPD Address"
line.long 0x03 "PCIX0_VPDDATA,PCIX0 VPD Data Register"
hexmask.long 0x03 0.--31. 1. " VDAT  ,VPD Data"
group 0x100++0x0F
line.long 0x00 "PCIX0_MSGIL,PCIX0 Message In Low Register"
hexmask.long 0x00 0.--31. 1. " MIL   ,Message In Low"
line.long 0x04 "PCIX0_MSGIH,PCIX0 Message In High Register"
hexmask.long 0x04 0.--31. 1. " MIH   ,Message In High"
line.long 0x08 "PCIX0_MSGOL,PCIX0 Message Out Low Register"
hexmask.long 0x08 0.--31. 1. " MOL   ,Message Out Low"
line.long 0x0C "PCIX0_MSGOH,PCIX0 Message Out High Register"
hexmask.long 0x0C 0.--31. 1. " MOH   ,Message Out High"
wgroup 0x1F8++0x03
line.long 0x00 "PCIX0_IM,PCIX0 Inbound Message MSI Register"
hexmask.long.byte 0x00 0.--3. 1. " IMSI  ,MSI In"
endian.def
width 0x0B
endif
tree.end
tree "PCIX1"
sif (cpu()=="PPC440SP")
;PLB-PCIX1 Bridge Registers
width 17.
endian.le
base ad:0x9:((1*0x10000000)+0xEC80000)
group 0x00++0x03
line.word 0x00 "PCIX1_VENDID,PCIX1 Vendor ID Register"
line.word 0x02 "PCIX1_DEVID,PCIX1 Device ID Register"
group 0x04++0x01
line.word 0x00 "PCIX1_CMD,PCIX1 Command Register"
bitfld.word 0x00 10. "     INTD  ,Interrupt Disable" "-,Disabled"
bitfld.word 0x00 9. "                  FBBC  ,Fast Back-to-Back Write Enable" "-,Enabled"
bitfld.word 0x00 8. "          SERE ,SERR# Enable" "-,Enabled"
textline "                          "
bitfld.word 0x00 7. " ADS   ,Address stepping Wait States" "Low,High"
bitfld.word 0x00 6. "                      PER   ,Parity Error Response" "-,Enabled"
bitfld.word 0x00 5. "          PLS  ,Palette Snooping" "-,Enabled"
textline "                          "
bitfld.word 0x00 4. " MWI   ,Memory Write and Invalidate Enable" "-,Enabled"
bitfld.word 0x00 3. "                   SPC   ,Special Cycle Operations Enable" "-,Enabled"
bitfld.word 0x00 2. "          PME  ,PCI Master Enable" "-,Enabled"
textline "                          "
bitfld.word 0x00 1. " MEMA  ,Memory Access" "-,Enabled"
bitfld.word 0x00 0. "                   IOA   ,I/O Access" "-,Enabled"
group 0x06++0x01
line.word 0x00 "PCIX1_STATUS,PCIX1 Status Register"
eventfld.word 0x00 15. "     DEPE  ,Detected Parity Error" "-,Error"
eventfld.word 0x00 14. "                     SSE   ,Signaled System Error" "-,Error"
eventfld.word 0x00 13. "            RMA  ,Received Master Abort" "No abort,Abort"
textline "                          "
eventfld.word 0x00 12. " RTA   ,Received Target Abort" "No abort,Abort"
eventfld.word 0x00 11. "                  STA   ,Signaled Target Abort" "No abort,Abort"
bitfld.word 0x00 9.--10. "         DST  ,PCIDevSel Response Timing" "00,01,10,11"
textline "                          "
eventfld.word 0x00 8. " DPE   ,Data Parity Error Detected" "-,Error"
bitfld.word 0x00 7. "                     FBBC  ,Fast Back-to-Back Capable" "-,Enabled"
bitfld.word 0x00 5. "          66C  ,66 MHz Capable" "-,Enabled"
textline "                          "
bitfld.word 0x00 4. " CL    ,Capabilities List" "Low,High"
bitfld.word 0x00 3. "                      INTS  ,Interrupt Status" "-,Enabled"
group 0x08++0x03
line.long 0x00 "PCIX1_CLS/REVID,PCIX1 Class Regiter/PCIX1 Revision ID Register"
hexmask.long.byte 0x00 24.--31. 1. " BASE  ,Base Class"
hexmask.long.byte 0x00 16.--23. 1. "                        SUB   ,Subclass"
hexmask.long.byte 0x00 8.--15. 1. "               INT  ,Interface Class"
textline "                          "
hexmask.long.byte 0x00 0.--7. 1. " REVID ,Revision level of device"            
group 0x0C++0x01
line.byte 0x00 "PCIX1_CACHELS,PCIX1 Cache Line Size Register"
line.byte 0x01 "PCIX1_LATTIM,PCIX1 Latency Timer Register"
rgroup 0x0E++0x01
line.byte 0x00 "PCIX1_HDTYPE,PCIX1 Header Type Register"
line.byte 0x01 "PCIX1_BIST,PCIX1 BIST Control Register"
group 0x10++0x07
line.long 0x00 "PCIX1_BAR0L,PCIX1 BAR0 Low Register"
hexmask.long 0x00 12.--31. 0x1000 " BA    ,Base Address"
hexmask.long.byte 0x00 4.--11. 1. "                  BAZ   ,Base Address Always Zero"
bitfld.long 0x00 3. "               PF   ,Prefetchable" "Not allowed,Allowed"
textline "                          "
bitfld.long 0x00 1.--2. " LT    ,Location Type" "00,01,10,11"
bitfld.long 0x00 0. "                        MSI   ,Memory Space Indicator" "Memory,I/O"
line.long 0x04 "PCIX1_BAR0H,PCIX1 BAR0 High Register"
hexmask.long 0x04 0.--31. 1. " BAH   ,Base Address High"
group 0x18++0x03
line.long 0x00 "PCIX1_BAR1,PCIX1 BAR1 Register"
hexmask.long 0x00 8.--31. 0x100 " BA    ,Base Address"
hexmask.long.byte 0x00 2.--7. 1. "                  BAZ   ,Base Address Always Zero"
bitfld.long 0x00 0. "               MSI  ,Memory Space Indicator" "Memory,I/O"
group 0x1C++0x07
line.long 0x00 "PCIX1_BAR2L,PCIX1 BAR2 Low Register"
hexmask.long 0x00 12.--31. 0x1000 " BA    ,Base Address"
hexmask.long.byte 0x00 4.--11. 1. "                  BAZ   ,Base Address Always Zero"
bitfld.long 0x00 3. "               PEF  ,Prefetchable" "Not allowed,Allowed"
textline "                          "
bitfld.long 0x00 1.--2. " LT    ,Location Type" "00,01,10,11"
bitfld.long 0x00 0. "                        MSI   ,Memory Space Indicator" "Memory,I/O"
line.long 0x04 "PCIX1_BAR2H,PCIX1 BAR2 High Register"
hexmask.long 0x04 0.--31. 1. " BAH   ,Base Address High"
rgroup 0x28++0x03
line.long 0x00 "PCIX1_CISPTR,Unused Cardbus CIS Pointer"
group 0x2C++0x03
line.word 0x00 "PCIX1_SBSYSVID,PCI Subsystem Vendor ID Register"
line.word 0x02 "PCIX1_SBSYSID,PCI Subsystem ID Register"
group 0xE4++0x03
line.long 0x00 "PCIX1_ECCCS,PCIX1 ECC Control and Status Register"
bitfld.long 0x00 31. " ECCM  ,ECC Mode" "Mode 1/Conv mode,Mode 2"
bitfld.long 0x00 30. "          DSBEC ,Disable Single Bit Error Correction" "-,Disabled"
bitfld.long 0x00 28. "         ECUE ,ECC Control Update Enable" "-,Enabled"
textline "                          "
hexmask.long.byte 0x00 24.--27. 1. " EUAT  ,Error Upper Attributes"
hexmask.long.byte 0x00 20.--23. 1. "                        ESC   ,Error Second Command"
hexmask.long.byte 0x00 16.--19. 1. "               EFC  ,Error First Command"
textline "                          "
bitfld.long 0x00 15. " SYND  ,Bit E7 Syndrome" "-,Error"
bitfld.long 0x00 14. "                     SYND  ,Bit E6 Syndrome" "-,Error"
bitfld.long 0x00 13. "            SYND ,Bit E5 Syndrome" "-,Error"
textline "                          "
bitfld.long 0x00 12. " SYND  ,Bit E4 Syndrome" "-,Error"
bitfld.long 0x00 11. "                     SYND  ,Bit E3 Syndrome" "-,Error"
bitfld.long 0x00 10. "            SYND ,Bit E2 Syndrome" "-,Error"
textline "                          "
bitfld.long 0x00 9. " SYND  ,Bit E1 Syndrome" "-,Error"
bitfld.long 0x00 8. "                     SYND  ,Bit E0 Syndrome" "-,Error"
bitfld.long 0x00 7. "            EEC  ,ECC Error Corrected" "Not corrected,Corrected"
textline "                          "
bitfld.long 0x00 4.--6. " EEP   ,ECC Error Phase" "-,First 32bits of address,Second 32bits of address,Attribute,32bit/64bit data,64bit data,Reserved,Reserved"
bitfld.long 0x00 3. "  AUEE  ,Additional Uncorrectable ECC Error" "-,Error"
bitfld.long 0x00 2. "            ACEE ,Additional Correctable ECC Error" "-,Error"
rgroup 0xE8++0x0B
line.long 0x00 "PCIX1_ECCFA,PCIX1 ECC First Address Register"
line.long 0x04 "PCIX1_ECCSA,PCIX1 ECC Second Address Register"
line.long 0x08 "PCIX1_ECCAT,PCIX1 ECC Attribute Register"
group 0x30++0x03
line.long 0x00 "PCIX1_EROMBA,PCIX1 Expansion ROM Address Register"
hexmask.long 0x00 12.--31. 0x1000 " BA    ,Base Address"
hexmask.long.word 0x00 1.--11. 1. "                  BAZ   ,Base Address Always Zero"
bitfld.long 0x00 0. "             EN   ,Enable" "-,Enabled"
group 0x34++0x00
line.byte 0x00 "PCIX1_CAP,PCI Capability Pointer Register"
group 0x3C++0x00
line.byte 0x00 "PCIX1_INTLN,PCIX1 Interrupt Line Register"
rgroup 0x3D++0x00
line.byte 0x00 "PCIX1_INTPN,PCIX1 Interrupt Pin Register"
group 0x3E++0x01
line.byte 0x00 "PCIX1_MINGNT,PCIX1 Minimum Grant Register"
line.byte 0x01 "PCIX1_MAXLTNCY,PCIX1 Maximum Latency"
group 0x40++0x03
line.long 0x00 "PCIX1_BRDGOPT1,PCIX1 Bridge Options 1"
bitfld.long 0x00 29.--31. " RBP7  ,Outbound Read Buffer for PLB Master 7" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 26.--28. "              RBP6  ,Outbound Read Buffer for PLB Master 6" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 23.--25. "     RBP5 ,Outbound Read Buffer for PLB Master 5" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                          "
bitfld.long 0x00 20.--22. " RBP4  ,Outbound Read Buffer for PLB Master 4" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 17.--19. "              RBP3  ,Outbound Read Buffer for PLB Master 3" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 14.--16. "     RBP2 ,Outbound Read Buffer for PLB Master 2" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                          "
bitfld.long 0x00 11.--13. " RBP1  ,Outbound Read Buffer for PLB Master 1" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 8.--10. "              RBP0  ,Outbound Read Buffer for PLB Master 0" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 5.--6. "     PLRQ ,PLB Request Priority" "0,1,2,3"
textline "                          "
bitfld.long 0x00 4. " MSEN  ,Inbound MSI Enable" "-,Enabled"
bitfld.long 0x00 3. "                   PCAR  ,PCI Arbiter Park Mode" "Requester 0,Last master"
bitfld.long 0x00 1.--2. "      PTMR ,PCI Target Memory Read Command Interpretation" "Read,Read line,Read multiple,Reserved"
if (((data.long(ad:0x0c:((1*0x10000000)+0x0EC800e4)))&0x00000080)==0x00000080)
group 0x44++0x03
line.long 0x00 "PCIX1_BRDGOPT2,PCIX1 Bridge Options 2"
bitfld.long 0x00 26.--28. " RBP10 ,Outbound Read Buffer for PLB Master 10" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 23.--25. "              RBP9  ,Outbound Read Buffer for PLB Master 9" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 20.--22. "     RBP8 ,Outbound Read Buffer for PLB Master 8" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                          "
bitfld.long 0x00 19. " PDIS  ,PLB Slave Bus Pipeline Disable" "-,Disabled"
bitfld.long 0x00 18. "                  ILPD  ,Interface Low Power Mode Disable" "-,Disabled"
bitfld.long 0x00 17. "         X2EN ,PCI-X Mode 2 Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 15.--16. " FREQ  ,PCI Frequency Range" "100-133MHz,66-100MHz,50-66MHz,Reserved"
bitfld.long 0x00 14. "                XEN   ,PCI-X Mode Enable" "-,Enabled"
bitfld.long 0x00 13. "          EXWR ,External Write to PCI Command Interrupt" "-,Interrupt"
textline "                          "
bitfld.long 0x00 12. " PLEN  ,Enable Slow PLB" "-,Enabled"
bitfld.long 0x00 11. "                   OMIS  ,Outbound Message Interrupt Select" "Internal source,External source"
bitfld.long 0x00 10. "  TDIS ,PCI Discard Timer Disable" "-,Disabled"
textline "                          "
bitfld.long 0x00 3. " CPUW  ,Local CPU Wait" "No wait,Wait"
bitfld.long 0x00 2. "                   HTD   ,Host Configuration Enable Timer Disable" "-,Disabled"
bitfld.long 0x00 1. "         HTEX ,Host Configuration Enable Timer Expired" "Not expired,Expired"
textline "                          "
bitfld.long 0x00 0. " HCEN  ,Host Configuration Enable" "-,Enabled"
else
group 0x44++0x03
line.long 0x00 "PCIX1_BRDGOPT2,PCIX1 Bridge Options 2"
bitfld.long 0x00 26.--28. " RBP10 ,Outbound Read Buffer for PLB Master 10" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 23.--25. "              RBP9  ,Outbound Read Buffer for PLB Master 9" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 20.--22. "     RBP8 ,Outbound Read Buffer for PLB Master 8" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                          "
bitfld.long 0x00 19. " PDIS  ,PLB Slave Bus Pipeline Disable" "-,Disabled"
bitfld.long 0x00 18. "                  ILPD  ,Interface Low Power Mode Disable" "-,Disabled"
bitfld.long 0x00 17. "         X2EN ,PCI-X Mode 2 Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 15.--16. " FREQ  ,PCI Frequency Range" "Reserved,Reserved,33-66MHz,0-33MHz"
bitfld.long 0x00 14. "                  XEN   ,PCI-X Mode Enable" "-,Enabled"
bitfld.long 0x00 13. "          EXWR ,External Write to PCI Command Interrupt" "-,Interrupt"
textline "                          "
bitfld.long 0x00 12. " PLEN  ,Enable Slow PLB" "-,Enabled"
bitfld.long 0x00 11. "                   OMIS  ,Outbound Message Interrupt Select" "Internal source,External source"
bitfld.long 0x00 10. "  TDIS ,PCI Discard Timer Disable" "-,Disabled"
textline "                          "
bitfld.long 0x00 3. " CPUW  ,Local CPU Wait" "No wait,Wait"
bitfld.long 0x00 2. "                   HTD   ,Host Configuration Enable Timer Disable" "-,Disabled"
bitfld.long 0x00 1. "         HTEX ,Host Configuration Enable Timer Expired" "Not expired,Expired"
textline "                          "
bitfld.long 0x00 0. " HCEN  ,Host Configuration Enable" "-,Enabled"
endif
group 0x50++0x07
line.long 0x00 "PCIX1_ERREN,PCIX1 Error Enable Register"
bitfld.long 0x00 18. " REL   ,Route Error Locality" "-,Enabled"
bitfld.long 0x00 17. "                   MRWE  ,MRdErr/MWrErr Assertion Enable" "-,Enabled"
bitfld.long 0x00 16. "          EAE  ,ERROR_INT Assertion Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 15. " SDTE  ,Outbound Split Discard Timer Enable" "-,Enabled"
bitfld.long 0x00 14. "                   USEE  ,Unexpected Split Completion Error Enable" "-,Enabled"
bitfld.long 0x00 12. "          RERE ,Read MERR Receive Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 11. " WERE  ,Write MERR Receive Enable" "-,Enabled"
bitfld.long 0x00 10. "                   QRE   ,MIRQ Receive Enable" "-,Enabled"
bitfld.long 0x00 9. "          TRE  ,Timeout Receive Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 8. " PO    ,PCI Parity Option" "Mask all,Normal"
bitfld.long 0x00 7. "                  IDPE  ,PCI Inbound Write Data Parity Error Enable" "-,Enabled"
bitfld.long 0x00 5. "          MAEE ,Master Abort Error Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 4. " TAEE  ,Target Abort Error Enable" "-,Enabled"
bitfld.long 0x00 3. "                   STEE  ,Split Transaction Error Enable" "-,Enabled"
bitfld.long 0x00 2. "          APEE ,Addr/Attrib Parity Error Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 1. " DRTE  ,Delayed Read Discard Timer Expired Error Enable" "-,Enabled"
bitfld.long 0x00 0. "                   SEE   ,PCI_SERR# Received as Error Enable" "-,Enabled"
line.long 0x04 "PCIX1_ERRSTS,PCIX1 Error Status"
bitfld.long 0x04 17. " MRWE  ,MRdErr or MWrErr Signaled" "-,Occurred"
bitfld.long 0x04 16. "                  EIS   ,ERROR_INT Signaled" "-,Occurred"
bitfld.long 0x04 15. "         SDTE ,Split Discard Timer Expired" "Not expired,Expired"
textline "                          "
bitfld.long 0x04 12. " MRER  ,MRdErr Received" "Not received,Received"
bitfld.long 0x04 11. "              MWER  ,MWrErr Received" "Not received,Received"
bitfld.long 0x04 10. "     MQR  ,Mirq Received" "Not received,Received"
textline "                          "
bitfld.long 0x04 9. " TO    ,Timeout" "Not received,Received"
bitfld.long 0x04 7. "              IPED  ,PCI Inbound Write Data Parity Error Detected" "Not detected,Detected"
bitfld.long 0x04 2. "     APED ,Address/Attribute Parity Error Detected" "Not detected,Detected"
textline "                          "
bitfld.long 0x04 1. " DTE   ,Delayed Read Discard Timer Expired" "Not expired,Expired"
bitfld.long 0x04 0. "               PSEE  ,PCI_SERR# Received" "Not received,Received"
rgroup 0x58++0x0B
line.long 0x00 "PCIX1_PLBBESR,PCIX1 PLB Slave Error Attribute Register"
bitfld.long 0x00 9. " VAL   ,Valid" "Not valid,Valid"
bitfld.long 0x00 8. "                 RNW   ,RNW from the PLB Mster" "Low,High"
hexmask.long.byte 0x00 4.--7. 1. "             PLBS ,Size from the PLB Master"
textline "                          "
hexmask.long.byte 0x00 0.--3. 1. " MID   ,Master ID of the PLB Master"
line.long 0x04 "PCIX1_PLBBEARL,PCIX1 PLB Slave Error Address Low Register"
line.long 0x08 "PCIX1_PLBBEARH,PCIX1 PLB Slave Error Address High Register"
group 0x68++0x13
line.long 0x00 "PCIX1_POM0LAL,PCIX1 POM 0 Local Address Low Register"
hexmask.long.word 0x00 20.--31. 1. " 0LAL  ,Local Address Low"
line.long 0x04 "PCIX1_POM0LAH,PCIX1 POM 0 Local Address High Register"
hexmask.long 0x04 0.--31. 1. " 0LAH  ,Local Address High"
line.long 0x08 "PCIX1_POM0SA,PCIX1 POM 0 Size/Atribute Register"
hexmask.long.word 0x08 20.--31. 1. " SIZE  ,Size of POM0"
bitfld.long 0x08 0. "                      EN    ,Enable Mapping" "-,Enabled"
line.long 0x0C "PCIX1_POM0PCIAL,PCIX1 POM 0 PCI Address Low Register"
hexmask.long.word 0x0C 20.--31. 1. " 0PAL  ,PCI Low Address"
line.long 0x10 "PCIX1_POM0PCIAH,PCIX1 POM 0 PCI Address High Register"
hexmask.long 0x10 0.--31. 1. " 0PAH  ,PCI High Address"
group 0x7C++0x13
line.long 0x00 "PCIX1_POM1LAL,PCIX1 POM 1 Local Address Low Register"
hexmask.long.word 0x00 20.--31. 1. " 1LAL  ,Local Address Low"
line.long 0x04 "PCIX1_POM1LAH,PCIX1 POM 1 Local Address High Register"
hexmask.long 0x04 0.--31. 1. " 0LAH  ,Local Address High"
line.long 0x08 "PCIX1_POM1SA,PCIX1 POM 1 Size/Atribute Register"
hexmask.long.word 0x08 20.--31. 1. " SIZE  ,Size of POM 1"
bitfld.long 0x08 0. "                      EN    ,Enable Mapping" "-,Enabled"
line.long 0x0C "PCIX1_POM1PCIAL,PCIX1 POM 1 PCI Address Low Register"
hexmask.long.word 0x0C 20.--31. 1. " 1PAL  ,PCI Low Address"
line.long 0x10 "PCIX1_POM1PCIAH,PCIX1 POM 1 PCI Address High Register"
hexmask.long 0x10 0.--31. 1. " 1PAH  ,PCI High Address"
group 0x90++0x03
line.long 0x00 "PCIX1_POM2SA,PCIX1 POM 2 Size/Attribute Register"
bitfld.long 0x00 0. " EN    ,Mapping Enable" "-,Enabled"
group 0x98++0x03
line.long 0x00 "PCIX1_PIM0SAL,PCIX1 PIM 0 Size/Attribute Low Register"
hexmask.long 0x00 12.--31. 1. " SIZL  ,Size Low of PIM0"
bitfld.long 0x00 3. "                  MS    ,Map split using PIM1" "Low,High"
bitfld.long 0x00 2. "             SBE  ,Split BAR0 Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 1. " PE    ,Prefetch Enable" "-,Enabled"
bitfld.long 0x00 0. "                   EN    ,Enable PCI BAR0" "-,Enabled"
group 0xF8++0x03
line.long 0x00 "PCIX1_PIM0SAH,PCIX1 PIM 0 Size/Attribute High Register"
hexmask.long 0x00 0.--31. 1. " SIZ   ,Size High of PIM0"
group 0x9C++0x03
line.long 0x00 "PCIX1_PIM0LAL,PCIX1 PIM 0 Local Address Low Register"
hexmask.long 0x00 12.--31. 0x1000 " 0LAL  ,Local Address Low"
group 0xA0++0x0F
line.long 0x00 "PCIX1_PIM0LAH,PCIX1 PIM 0 Local Address High Register"
hexmask.long 0x00 0.--31. 1. " 0LAH  ,Local Address High"
line.long 0x04 "PCIX1_PIM1SA,PCIX1 PIM 1 Size/Attribute Register"
hexmask.long 0x04 8.--31. 1. " SIZE  ,Size"
bitfld.long 0x04 0. "                  EN    ,Enable PCI BAR1" "-,Enabled"
line.long 0x08 "PCIX1_PIM1LAL,PCIX1 PIM 1 Local Address Low Register"
hexmask.long 0x08 12.--31. 0x1000 " 1LAL  ,Local Address Low"
line.long 0x0C "PCIX1_PIM1LAH,PCIX1 PIM 1 Local Address High Register"
hexmask.long 0x0C 0.--31. 1. " 1LAH  ,Local Address High"
group 0xB0++0x03
line.long 0x00 "PCIX1_PIM2SAL,PCIX1 PIM 2 Size/Attribute Low Register"
hexmask.long 0x00 12.--31. 1. " SIZL  ,Size Low of PIM2"
bitfld.long 0x00 2. "                  P2E   ,Big PIM2 Enable" "-,Enabled"
bitfld.long 0x00 1. "          PE   ,Prefetch Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 0. " EN    ,Enable PCI BAR2" "-,Enabled"
group 0xFC++0x03
line.long 0x00 "PCIX1_PIM2SAH,PCIX1 PIM 2 Size/Attribute High Register"
hexmask.long 0x00 0.--31. 1. " SIZH  ,Size High of PIM2"
group 0xB4++0x07
line.long 0x00 "PCIX1_PIM2LAL,PCIX1 PIM 2 Local Address Low Register"
hexmask.long 0x00 12.--31. 0x1000 " 2LAL  ,Local Address Low"
line.long 0x04 "PCIX1_PIM2LAH,PCIX1 PIM2 Local Address High Register"
hexmask.long 0x04 0.--31. 1. " 2LAH  ,Local Address High"
rgroup 0xC0++0x00
line.byte 0x00 "PCIX1_OMCAPID,PCIX1 Outbound MSI Capability Identifier Register"
hexmask.byte 0x00 0.--7. 1. "     CPID  ,Message Signaled Interrupts (MSI) Capabilities Identifier"
group 0xC1++0x00
line.byte 0x00 "PCIX1_OMNIPTR,PCIX1 Outbound MSI Next Item Pointer Register"
hexmask.byte 0x00 0.--7. 1. "     NPTR  ,Message Signaled Interrupts (MSI) Next Item Pointer"
group 0xC2++0x0C
line.word 0x00 "PCIX1_OMMC,PCIX1 Outbound MSI Message Control Register"
bitfld.word 0x00 7. "     64AC  ,64-bit Address Capable" "Not capable,Capable"
hexmask.word 0x00 4.--6. 1. "               MME   ,Multiple Message Enable"
hexmask.word 0x00 1.--3. 1. "             MMC  ,Multiple Message Capable"
textline "                          "
bitfld.word 0x00 0. " MSI   ,MSI Enable" "-,Enabled"
line.long 0x02 "PCIX1_OMMA,PCIX1 Outbound MSI Message Address Register"
hexmask.long 0x02 2.--31. 1. " MA    ,Message Address"
line.long 0x06 "PCIX1_OMMUA,PCIX1 Outbound MSI Message Upper Address Register"
hexmask.long 0x06 0.--31. 1. " MUA   ,Message Upper Address"
line.word 0x0A "PCIX1_OMMDATA,PCIX1 Outbound MSI Message Data Register"
hexmask.word 0x0A 0.--15. 1. "     MD    ,Message Data"
line.byte 0x0C "PCIX1_OMMEOI,PCIX1 Outbound MSI Message End of Interrupt Register"
bitfld.byte 0x0C 0.--1. "     MEOI  ,Message End of Interrupt" "00,01,10,11"
rgroup 0xD0++0x00
line.byte 0x00 "PCIX1_PMCAPID,PCIX1 Power Management Capability Identifier Register"
hexmask.byte 0x00 0.--7. 1. "     CPID  ,Capabilities Identifier"
group 0xD1++0x04
line.byte 0x00 "PCIX1_PMNIPTR,PCIX1 Power Management Next Item Pointer Register"
hexmask.byte 0x00 0.--7. 1. "     NIP   ,Next Item Pointer"
line.word 0x01 "PCIX1_PMC,PCIX1 Power Management Capabilities Register"
hexmask.word 0x01 11.--15. 1. "     PME   ,PME Support"
bitfld.word 0x01 10. "                      D2    ,D2 Support" "Not supported,Supported"
bitfld.word 0x01 9. "    D1   ,D1 Support" "Not supported,Supported"
textline "                          "
hexmask.word 0x01 6.--8. 1. " AUX   ,AUX Current"
bitfld.word 0x01 5. "                      DSI   ,Device Secific Initialization" "Not required,Required"
bitfld.word 0x01 3. "     PME  ,PME Clock" "0,1"
textline "                          "
hexmask.word 0x01 0.--2. 1. " V     ,Verion"
line.word 0x03 "PCIX1_PMCSR,PCIX1 Power Management Control/Status Register"
bitfld.word 0x03 15. "     PMES  ,PME Status" "0,1"
hexmask.word 0x03 13.--14. 1. "                         DSC   ,Data Scale"
hexmask.word 0x03 9.--12. 1. "             DSE  ,Data Select"
textline "                          "
bitfld.word 0x03 8. " PME   ,PME Enable" "0,1"
bitfld.word 0x03 0.--1. "                         PS    ,Power State" "D0,D1,D2,D3-Hot"
rgroup 0xD6++0x01
line.byte 0x00 "PCIX1_PMCSRBSE,PCIX1 PMCR PCI-to-PLB-PCIX Bridge Support Extensions Register"
hexmask.byte 0x00 0.--7. 1. "     CSSE  ,Power Mangement Control/Status PCI-to-PLB-PCIX Bridge Support Extensions"
line.byte 0x01 "PCIX1_PMDATA,PCIX1 Power Management Data Register"
hexmask.byte 0x01 0.--7. 1. "     ZERO  ,Optional Register"
group 0xD8++0x00
line.byte 0x00 "PCIX1_PMSCRR,PCIX1 Power Management State Change Request Register"
bitfld.byte 0x00 4. "     APW   ,Accept PMCSR Write" "Accepted,Not accepted"
bitfld.byte 0x00 3. "              SCR   ,State Change Request" "No request,Request"
bitfld.byte 0x00 1.--2. "       RS   ,Request State" "00,01,10,11"
textline "                          "
bitfld.byte 0x00 0. " DWE   ,Delayed Write Enable" "-,Enabled"
rgroup 0xDC++0x00
line.byte 0x00 "PCIX1_CAPID,PCIX1 Capability Identifier Register"
hexmask.byte 0x00 0.--7. 1. "     CPID  ,Capability Identifier"
group 0xDD++0x06
line.byte 0x00 "PCIX1_NIPTR,PCIX1 Next Item Pointer Register"
hexmask.byte 0x00 0.--7. 1. "     NXIP  ,Next Item Pointer"
line.word 0x01 "PCIX1_CMDMAX,PCIX1 Command Register"
bitfld.word 0x01 12.--13. "     XVER  ,PCIX Capabilities List Item Version" "00,01,10,11"
hexmask.word 0x01 4.--6. 1. "                        MOST  ,Maximum Outstanding Split Transactions"
bitfld.word 0x01 2.--3. "             MRBC ,Maximum Memory-Read Byte Count" "512B,1KB,2KB,2KB"
textline "                          "
bitfld.word 0x01 1. " ERO   ,Enable Relaxed Ordering" "-,Enabled"
bitfld.word 0x01 0. "                   DPER  ,Data Parity Error Recovery Enable" "0,1"
line.long 0x03 "PCIX1_STS,PCIX1 State Register"
bitfld.long 0x03 31. " X533  ,PCIX 533 Capable" "Not capable,Capable"
bitfld.long 0x03 30. "               X266  ,PCIX 266 Capable" "Not capable,Capable"
eventfld.long 0x03 29. "      SPEM ,Received Split Completion Error Message" "Not received,Received"
textline "                          "
bitfld.long 0x03 26.--28. " MCRS  ,Maximum Cumulative Read Size" "0,1,2,3,4,5,6,7"
bitfld.long 0x03 23.--25. "                         DMOS  ,Maximum Outstanding Splits" "0,1,2,3,4,5,6,7"
bitfld.long 0x03 21.--22. "                MRBC ,Maximum Limit of the PCIX Memory Read Byte Count" "00,01,10,11"
textline "                          "
bitfld.long 0x03 20. " DC    ,Device Complexity" "Not simple device,Simple device"
eventfld.long 0x03 19. "         USC   ,Unexpected Split Completion" "Not received,Received"
bitfld.long 0x03 18. "     SCD  ,Split Completion Discarded" "Not discarded,Discarded"
textline "                          "
bitfld.long 0x03 17. " CAP   ,PCI 133 Capable" "Not capabled,Capabled"
bitfld.long 0x03 16. "              DEV   ,Device Bus Size" "32bit,64bit"
hexmask.long.byte 0x03 8.--15. 1. "            BN   ,Bus Number"
textline "                          "
hexmask.long 0x03 3.--7. 1. " DN    ,Device Number"
hexmask.long 0x03 0.--2. 1. "                  FN    ,Function Number"
rgroup 0x64++0x03
line.long 0x00 "PCIX1_IDR,PCIX1 Internal Debug Register (Reserved)"
rgroup 0xDE8++0x07
line.long 0x00 "PCIX1_CID,PCIX1 Internal Core Device ID Register"
hexmask.long 0x00 0.--31. 1. " CID   ,Internal Core Device ID"
line.long 0x04 "PCIX1_RID,PCIX1 Internal Core Revision ID Register"
hexmask.long 0x00 0.--31. 1. " RID   ,Internal Core Revision ID"
rgroup 0x48++0x00
line.byte 0x00 "PCIX1_VPDCAPID,PCIX1 VPD Capability Identifier Register"
hexmask.byte 0x00 0.--7. 1. "     VCID  ,Capability Identifier"
group 0x49++0x06
line.byte 0x00 "PCIX1_VPDNIPTR,PCIX1 VPD Next Item Pointer Register"
hexmask.byte 0x00 0.--7. 1. "     NXIP  ,Next Item Pointer"
line.word 0x01 "PCIX1_VPDADR,PCIX1 VPD Address Register"
bitfld.word 0x01 15. "     FBIT  ,Flag Bit" "Low,High"
hexmask.word 0x01 0.--14. 1. "                      VADDR ,VPD Address"
line.long 0x03 "PCIX1_VPDDATA,PCIX1 VPD Data Register"
hexmask.long 0x03 0.--31. 1. " VDAT  ,VPD Data"
group 0x100++0x0F
line.long 0x00 "PCIX1_MSGIL,PCIX1 Message In Low Register"
hexmask.long 0x00 0.--31. 1. " MIL   ,Message In Low"
line.long 0x04 "PCIX1_MSGIH,PCIX1 Message In High Register"
hexmask.long 0x04 0.--31. 1. " MIH   ,Message In High"
line.long 0x08 "PCIX1_MSGOL,PCIX1 Message Out Low Register"
hexmask.long 0x08 0.--31. 1. " MOL   ,Message Out Low"
line.long 0x0C "PCIX1_MSGOH,PCIX1 Message Out High Register"
hexmask.long 0x0C 0.--31. 1. " MOH   ,Message Out High"
wgroup 0x1F8++0x03
line.long 0x00 "PCIX1_IM,PCIX1 Inbound Message MSI Register"
hexmask.long.byte 0x00 0.--3. 1. " IMSI  ,MSI In"
endian.def
width 0x0B
endif
tree.end
tree "PCIX2"
sif (cpu()=="PPC440SP")
;PLB-PCIX2 Bridge Registers
width 17.
endian.le
base ad:0x9:((2*0x10000000)+0xEC80000)
group 0x00++0x03
line.word 0x00 "PCIX2_VENDID,PCIX2 Vendor ID Register"
line.word 0x02 "PCIX2_DEVID,PCIX2 Device ID Register"
group 0x04++0x01
line.word 0x00 "PCIX2_CMD,PCIX2 Command Register"
bitfld.word 0x00 10. "     INTD  ,Interrupt Disable" "-,Disabled"
bitfld.word 0x00 9. "                  FBBC  ,Fast Back-to-Back Write Enable" "-,Enabled"
bitfld.word 0x00 8. "          SERE ,SERR# Enable" "-,Enabled"
textline "                          "
bitfld.word 0x00 7. " ADS   ,Address stepping Wait States" "Low,High"
bitfld.word 0x00 6. "                      PER   ,Parity Error Response" "-,Enabled"
bitfld.word 0x00 5. "          PLS  ,Palette Snooping" "-,Enabled"
textline "                          "
bitfld.word 0x00 4. " MWI   ,Memory Write and Invalidate Enable" "-,Enabled"
bitfld.word 0x00 3. "                   SPC   ,Special Cycle Operations Enable" "-,Enabled"
bitfld.word 0x00 2. "          PME  ,PCI Master Enable" "-,Enabled"
textline "                          "
bitfld.word 0x00 1. " MEMA  ,Memory Access" "-,Enabled"
bitfld.word 0x00 0. "                   IOA   ,I/O Access" "-,Enabled"
group 0x06++0x01
line.word 0x00 "PCIX2_STATUS,PCIX2 Status Register"
eventfld.word 0x00 15. "     DEPE  ,Detected Parity Error" "-,Error"
eventfld.word 0x00 14. "                     SSE   ,Signaled System Error" "-,Error"
eventfld.word 0x00 13. "            RMA  ,Received Master Abort" "No abort,Abort"
textline "                          "
eventfld.word 0x00 12. " RTA   ,Received Target Abort" "No abort,Abort"
eventfld.word 0x00 11. "                  STA   ,Signaled Target Abort" "No abort,Abort"
bitfld.word 0x00 9.--10. "         DST  ,PCIDevSel Response Timing" "00,01,10,11"
textline "                          "
eventfld.word 0x00 8. " DPE   ,Data Parity Error Detected" "-,Error"
bitfld.word 0x00 7. "                     FBBC  ,Fast Back-to-Back Capable" "-,Enabled"
bitfld.word 0x00 5. "          66C  ,66 MHz Capable" "-,Enabled"
textline "                          "
bitfld.word 0x00 4. " CL    ,Capabilities List" "Low,High"
bitfld.word 0x00 3. "                      INTS  ,Interrupt Status" "-,Enabled"
group 0x08++0x03
line.long 0x00 "PCIX2_CLS/REVID,PCIX2 Class Regiter/PCIX2 Revision ID Register"
hexmask.long.byte 0x00 24.--31. 1. " BASE  ,Base Class"
hexmask.long.byte 0x00 16.--23. 1. "                        SUB   ,Subclass"
hexmask.long.byte 0x00 8.--15. 1. "               INT  ,Interface Class"
textline "                          "
hexmask.long.byte 0x00 0.--7. 1. " REVID ,Revision level of device"            
group 0x0C++0x01
line.byte 0x00 "PCIX2_CACHELS,PCIX2 Cache Line Size Register"
line.byte 0x01 "PCIX2_LATTIM,PCIX2 Latency Timer Register"
rgroup 0x0E++0x01
line.byte 0x00 "PCIX2_HDTYPE,PCIX2 Header Type Register"
line.byte 0x01 "PCIX2_BIST,PCIX2 BIST Control Register"
group 0x10++0x07
line.long 0x00 "PCIX2_BAR0L,PCIX2 BAR0 Low Register"
hexmask.long 0x00 12.--31. 0x1000 " BA    ,Base Address"
hexmask.long.byte 0x00 4.--11. 1. "                  BAZ   ,Base Address Always Zero"
bitfld.long 0x00 3. "               PF   ,Prefetchable" "Not allowed,Allowed"
textline "                          "
bitfld.long 0x00 1.--2. " LT    ,Location Type" "00,01,10,11"
bitfld.long 0x00 0. "                        MSI   ,Memory Space Indicator" "Memory,I/O"
line.long 0x04 "PCIX2_BAR0H,PCIX2 BAR0 High Register"
hexmask.long 0x04 0.--31. 1. " BAH   ,Base Address High"
group 0x18++0x03
line.long 0x00 "PCIX2_BAR1,PCIX2 BAR1 Register"
hexmask.long 0x00 8.--31. 0x100 " BA    ,Base Address"
hexmask.long.byte 0x00 2.--7. 1. "                  BAZ   ,Base Address Always Zero"
bitfld.long 0x00 0. "               MSI  ,Memory Space Indicator" "Memory,I/O"
group 0x1C++0x07
line.long 0x00 "PCIX2_BAR2L,PCIX2 BAR2 Low Register"
hexmask.long 0x00 12.--31. 0x1000 " BA    ,Base Address"
hexmask.long.byte 0x00 4.--11. 1. "                  BAZ   ,Base Address Always Zero"
bitfld.long 0x00 3. "               PEF  ,Prefetchable" "Not allowed,Allowed"
textline "                          "
bitfld.long 0x00 1.--2. " LT    ,Location Type" "00,01,10,11"
bitfld.long 0x00 0. "                        MSI   ,Memory Space Indicator" "Memory,I/O"
line.long 0x04 "PCIX2_BAR2H,PCIX2 BAR2 High Register"
hexmask.long 0x04 0.--31. 1. " BAH   ,Base Address High"
rgroup 0x28++0x03
line.long 0x00 "PCIX2_CISPTR,Unused Cardbus CIS Pointer"
group 0x2C++0x03
line.word 0x00 "PCIX2_SBSYSVID,PCI Subsystem Vendor ID Register"
line.word 0x02 "PCIX2_SBSYSID,PCI Subsystem ID Register"
group 0xE4++0x03
line.long 0x00 "PCIX2_ECCCS,PCIX2 ECC Control and Status Register"
bitfld.long 0x00 31. " ECCM  ,ECC Mode" "Mode 1/Conv mode,Mode 2"
bitfld.long 0x00 30. "          DSBEC ,Disable Single Bit Error Correction" "-,Disabled"
bitfld.long 0x00 28. "         ECUE ,ECC Control Update Enable" "-,Enabled"
textline "                          "
hexmask.long.byte 0x00 24.--27. 1. " EUAT  ,Error Upper Attributes"
hexmask.long.byte 0x00 20.--23. 1. "                        ESC   ,Error Second Command"
hexmask.long.byte 0x00 16.--19. 1. "               EFC  ,Error First Command"
textline "                          "
bitfld.long 0x00 15. " SYND  ,Bit E7 Syndrome" "-,Error"
bitfld.long 0x00 14. "                     SYND  ,Bit E6 Syndrome" "-,Error"
bitfld.long 0x00 13. "            SYND ,Bit E5 Syndrome" "-,Error"
textline "                          "
bitfld.long 0x00 12. " SYND  ,Bit E4 Syndrome" "-,Error"
bitfld.long 0x00 11. "                     SYND  ,Bit E3 Syndrome" "-,Error"
bitfld.long 0x00 10. "            SYND ,Bit E2 Syndrome" "-,Error"
textline "                          "
bitfld.long 0x00 9. " SYND  ,Bit E1 Syndrome" "-,Error"
bitfld.long 0x00 8. "                     SYND  ,Bit E0 Syndrome" "-,Error"
bitfld.long 0x00 7. "            EEC  ,ECC Error Corrected" "Not corrected,Corrected"
textline "                          "
bitfld.long 0x00 4.--6. " EEP   ,ECC Error Phase" "-,First 32bits of address,Second 32bits of address,Attribute,32bit/64bit data,64bit data,Reserved,Reserved"
bitfld.long 0x00 3. "  AUEE  ,Additional Uncorrectable ECC Error" "-,Error"
bitfld.long 0x00 2. "            ACEE ,Additional Correctable ECC Error" "-,Error"
rgroup 0xE8++0x0B
line.long 0x00 "PCIX2_ECCFA,PCIX2 ECC First Address Register"
line.long 0x04 "PCIX2_ECCSA,PCIX2 ECC Second Address Register"
line.long 0x08 "PCIX2_ECCAT,PCIX2 ECC Attribute Register"
group 0x30++0x03
line.long 0x00 "PCIX2_EROMBA,PCIX2 Expansion ROM Address Register"
hexmask.long 0x00 12.--31. 0x1000 " BA    ,Base Address"
hexmask.long.word 0x00 1.--11. 1. "                  BAZ   ,Base Address Always Zero"
bitfld.long 0x00 0. "             EN   ,Enable" "-,Enabled"
group 0x34++0x00
line.byte 0x00 "PCIX2_CAP,PCI Capability Pointer Register"
group 0x3C++0x00
line.byte 0x00 "PCIX2_INTLN,PCIX2 Interrupt Line Register"
rgroup 0x3D++0x00
line.byte 0x00 "PCIX2_INTPN,PCIX2 Interrupt Pin Register"
group 0x3E++0x01
line.byte 0x00 "PCIX2_MINGNT,PCIX2 Minimum Grant Register"
line.byte 0x01 "PCIX2_MAXLTNCY,PCIX2 Maximum Latency"
group 0x40++0x03
line.long 0x00 "PCIX2_BRDGOPT1,PCIX2 Bridge Options 1"
bitfld.long 0x00 29.--31. " RBP7  ,Outbound Read Buffer for PLB Master 7" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 26.--28. "              RBP6  ,Outbound Read Buffer for PLB Master 6" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 23.--25. "     RBP5 ,Outbound Read Buffer for PLB Master 5" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                          "
bitfld.long 0x00 20.--22. " RBP4  ,Outbound Read Buffer for PLB Master 4" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 17.--19. "              RBP3  ,Outbound Read Buffer for PLB Master 3" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 14.--16. "     RBP2 ,Outbound Read Buffer for PLB Master 2" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                          "
bitfld.long 0x00 11.--13. " RBP1  ,Outbound Read Buffer for PLB Master 1" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 8.--10. "              RBP0  ,Outbound Read Buffer for PLB Master 0" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 5.--6. "     PLRQ ,PLB Request Priority" "0,1,2,3"
textline "                          "
bitfld.long 0x00 4. " MSEN  ,Inbound MSI Enable" "-,Enabled"
bitfld.long 0x00 3. "                   PCAR  ,PCI Arbiter Park Mode" "Requester 0,Last master"
bitfld.long 0x00 1.--2. "      PTMR ,PCI Target Memory Read Command Interpretation" "Read,Read line,Read multiple,Reserved"
if (((data.long(ad:0x0c:((2*0x10000000)+0x0EC800e4)))&0x00000080)==0x00000080)
group 0x44++0x03
line.long 0x00 "PCIX2_BRDGOPT2,PCIX2 Bridge Options 2"
bitfld.long 0x00 26.--28. " RBP10 ,Outbound Read Buffer for PLB Master 10" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 23.--25. "              RBP9  ,Outbound Read Buffer for PLB Master 9" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 20.--22. "     RBP8 ,Outbound Read Buffer for PLB Master 8" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                          "
bitfld.long 0x00 19. " PDIS  ,PLB Slave Bus Pipeline Disable" "-,Disabled"
bitfld.long 0x00 18. "                  ILPD  ,Interface Low Power Mode Disable" "-,Disabled"
bitfld.long 0x00 17. "         X2EN ,PCI-X Mode 2 Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 15.--16. " FREQ  ,PCI Frequency Range" "100-133MHz,66-100MHz,50-66MHz,Reserved"
bitfld.long 0x00 14. "                XEN   ,PCI-X Mode Enable" "-,Enabled"
bitfld.long 0x00 13. "          EXWR ,External Write to PCI Command Interrupt" "-,Interrupt"
textline "                          "
bitfld.long 0x00 12. " PLEN  ,Enable Slow PLB" "-,Enabled"
bitfld.long 0x00 11. "                   OMIS  ,Outbound Message Interrupt Select" "Internal source,External source"
bitfld.long 0x00 10. "  TDIS ,PCI Discard Timer Disable" "-,Disabled"
textline "                          "
bitfld.long 0x00 3. " CPUW  ,Local CPU Wait" "No wait,Wait"
bitfld.long 0x00 2. "                   HTD   ,Host Configuration Enable Timer Disable" "-,Disabled"
bitfld.long 0x00 1. "         HTEX ,Host Configuration Enable Timer Expired" "Not expired,Expired"
textline "                          "
bitfld.long 0x00 0. " HCEN  ,Host Configuration Enable" "-,Enabled"
else
group 0x44++0x03
line.long 0x00 "PCIX2_BRDGOPT2,PCIX2 Bridge Options 2"
bitfld.long 0x00 26.--28. " RBP10 ,Outbound Read Buffer for PLB Master 10" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 23.--25. "              RBP9  ,Outbound Read Buffer for PLB Master 9" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 20.--22. "     RBP8 ,Outbound Read Buffer for PLB Master 8" "256B general,2KB special,512B special,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                          "
bitfld.long 0x00 19. " PDIS  ,PLB Slave Bus Pipeline Disable" "-,Disabled"
bitfld.long 0x00 18. "                  ILPD  ,Interface Low Power Mode Disable" "-,Disabled"
bitfld.long 0x00 17. "         X2EN ,PCI-X Mode 2 Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 15.--16. " FREQ  ,PCI Frequency Range" "Reserved,Reserved,33-66MHz,0-33MHz"
bitfld.long 0x00 14. "                  XEN   ,PCI-X Mode Enable" "-,Enabled"
bitfld.long 0x00 13. "          EXWR ,External Write to PCI Command Interrupt" "-,Interrupt"
textline "                          "
bitfld.long 0x00 12. " PLEN  ,Enable Slow PLB" "-,Enabled"
bitfld.long 0x00 11. "                   OMIS  ,Outbound Message Interrupt Select" "Internal source,External source"
bitfld.long 0x00 10. "  TDIS ,PCI Discard Timer Disable" "-,Disabled"
textline "                          "
bitfld.long 0x00 3. " CPUW  ,Local CPU Wait" "No wait,Wait"
bitfld.long 0x00 2. "                   HTD   ,Host Configuration Enable Timer Disable" "-,Disabled"
bitfld.long 0x00 1. "         HTEX ,Host Configuration Enable Timer Expired" "Not expired,Expired"
textline "                          "
bitfld.long 0x00 0. " HCEN  ,Host Configuration Enable" "-,Enabled"
endif
group 0x50++0x07
line.long 0x00 "PCIX2_ERREN,PCIX2 Error Enable Register"
bitfld.long 0x00 18. " REL   ,Route Error Locality" "-,Enabled"
bitfld.long 0x00 17. "                   MRWE  ,MRdErr/MWrErr Assertion Enable" "-,Enabled"
bitfld.long 0x00 16. "          EAE  ,ERROR_INT Assertion Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 15. " SDTE  ,Outbound Split Discard Timer Enable" "-,Enabled"
bitfld.long 0x00 14. "                   USEE  ,Unexpected Split Completion Error Enable" "-,Enabled"
bitfld.long 0x00 12. "          RERE ,Read MERR Receive Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 11. " WERE  ,Write MERR Receive Enable" "-,Enabled"
bitfld.long 0x00 10. "                   QRE   ,MIRQ Receive Enable" "-,Enabled"
bitfld.long 0x00 9. "          TRE  ,Timeout Receive Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 8. " PO    ,PCI Parity Option" "Mask all,Normal"
bitfld.long 0x00 7. "                  IDPE  ,PCI Inbound Write Data Parity Error Enable" "-,Enabled"
bitfld.long 0x00 5. "          MAEE ,Master Abort Error Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 4. " TAEE  ,Target Abort Error Enable" "-,Enabled"
bitfld.long 0x00 3. "                   STEE  ,Split Transaction Error Enable" "-,Enabled"
bitfld.long 0x00 2. "          APEE ,Addr/Attrib Parity Error Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 1. " DRTE  ,Delayed Read Discard Timer Expired Error Enable" "-,Enabled"
bitfld.long 0x00 0. "                   SEE   ,PCI_SERR# Received as Error Enable" "-,Enabled"
line.long 0x04 "PCIX2_ERRSTS,PCIX2 Error Status"
bitfld.long 0x04 17. " MRWE  ,MRdErr or MWrErr Signaled" "-,Occurred"
bitfld.long 0x04 16. "                  EIS   ,ERROR_INT Signaled" "-,Occurred"
bitfld.long 0x04 15. "         SDTE ,Split Discard Timer Expired" "Not expired,Expired"
textline "                          "
bitfld.long 0x04 12. " MRER  ,MRdErr Received" "Not received,Received"
bitfld.long 0x04 11. "              MWER  ,MWrErr Received" "Not received,Received"
bitfld.long 0x04 10. "     MQR  ,Mirq Received" "Not received,Received"
textline "                          "
bitfld.long 0x04 9. " TO    ,Timeout" "Not received,Received"
bitfld.long 0x04 7. "              IPED  ,PCI Inbound Write Data Parity Error Detected" "Not detected,Detected"
bitfld.long 0x04 2. "     APED ,Address/Attribute Parity Error Detected" "Not detected,Detected"
textline "                          "
bitfld.long 0x04 1. " DTE   ,Delayed Read Discard Timer Expired" "Not expired,Expired"
bitfld.long 0x04 0. "               PSEE  ,PCI_SERR# Received" "Not received,Received"
rgroup 0x58++0x0B
line.long 0x00 "PCIX2_PLBBESR,PCIX2 PLB Slave Error Attribute Register"
bitfld.long 0x00 9. " VAL   ,Valid" "Not valid,Valid"
bitfld.long 0x00 8. "                 RNW   ,RNW from the PLB Mster" "Low,High"
hexmask.long.byte 0x00 4.--7. 1. "             PLBS ,Size from the PLB Master"
textline "                          "
hexmask.long.byte 0x00 0.--3. 1. " MID   ,Master ID of the PLB Master"
line.long 0x04 "PCIX2_PLBBEARL,PCIX2 PLB Slave Error Address Low Register"
line.long 0x08 "PCIX2_PLBBEARH,PCIX2 PLB Slave Error Address High Register"
group 0x68++0x13
line.long 0x00 "PCIX2_POM0LAL,PCIX2 POM 0 Local Address Low Register"
hexmask.long.word 0x00 20.--31. 1. " 0LAL  ,Local Address Low"
line.long 0x04 "PCIX2_POM0LAH,PCIX2 POM 0 Local Address High Register"
hexmask.long 0x04 0.--31. 1. " 0LAH  ,Local Address High"
line.long 0x08 "PCIX2_POM0SA,PCIX2 POM 0 Size/Atribute Register"
hexmask.long.word 0x08 20.--31. 1. " SIZE  ,Size of POM0"
bitfld.long 0x08 0. "                      EN    ,Enable Mapping" "-,Enabled"
line.long 0x0C "PCIX2_POM0PCIAL,PCIX2 POM 0 PCI Address Low Register"
hexmask.long.word 0x0C 20.--31. 1. " 0PAL  ,PCI Low Address"
line.long 0x10 "PCIX2_POM0PCIAH,PCIX2 POM 0 PCI Address High Register"
hexmask.long 0x10 0.--31. 1. " 0PAH  ,PCI High Address"
group 0x7C++0x13
line.long 0x00 "PCIX2_POM1LAL,PCIX2 POM 1 Local Address Low Register"
hexmask.long.word 0x00 20.--31. 1. " 1LAL  ,Local Address Low"
line.long 0x04 "PCIX2_POM1LAH,PCIX2 POM 1 Local Address High Register"
hexmask.long 0x04 0.--31. 1. " 0LAH  ,Local Address High"
line.long 0x08 "PCIX2_POM1SA,PCIX2 POM 1 Size/Atribute Register"
hexmask.long.word 0x08 20.--31. 1. " SIZE  ,Size of POM 1"
bitfld.long 0x08 0. "                      EN    ,Enable Mapping" "-,Enabled"
line.long 0x0C "PCIX2_POM1PCIAL,PCIX2 POM 1 PCI Address Low Register"
hexmask.long.word 0x0C 20.--31. 1. " 1PAL  ,PCI Low Address"
line.long 0x10 "PCIX2_POM1PCIAH,PCIX2 POM 1 PCI Address High Register"
hexmask.long 0x10 0.--31. 1. " 1PAH  ,PCI High Address"
group 0x90++0x03
line.long 0x00 "PCIX2_POM2SA,PCIX2 POM 2 Size/Attribute Register"
bitfld.long 0x00 0. " EN    ,Mapping Enable" "-,Enabled"
group 0x98++0x03
line.long 0x00 "PCIX2_PIM0SAL,PCIX2 PIM 0 Size/Attribute Low Register"
hexmask.long 0x00 12.--31. 1. " SIZL  ,Size Low of PIM0"
bitfld.long 0x00 3. "                  MS    ,Map split using PIM1" "Low,High"
bitfld.long 0x00 2. "             SBE  ,Split BAR0 Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 1. " PE    ,Prefetch Enable" "-,Enabled"
bitfld.long 0x00 0. "                   EN    ,Enable PCI BAR0" "-,Enabled"
group 0xF8++0x03
line.long 0x00 "PCIX2_PIM0SAH,PCIX2 PIM 0 Size/Attribute High Register"
hexmask.long 0x00 0.--31. 1. " SIZ   ,Size High of PIM0"
group 0x9C++0x03
line.long 0x00 "PCIX2_PIM0LAL,PCIX2 PIM 0 Local Address Low Register"
hexmask.long 0x00 12.--31. 0x1000 " 0LAL  ,Local Address Low"
group 0xA0++0x0F
line.long 0x00 "PCIX2_PIM0LAH,PCIX2 PIM 0 Local Address High Register"
hexmask.long 0x00 0.--31. 1. " 0LAH  ,Local Address High"
line.long 0x04 "PCIX2_PIM1SA,PCIX2 PIM 1 Size/Attribute Register"
hexmask.long 0x04 8.--31. 1. " SIZE  ,Size"
bitfld.long 0x04 0. "                  EN    ,Enable PCI BAR1" "-,Enabled"
line.long 0x08 "PCIX2_PIM1LAL,PCIX2 PIM 1 Local Address Low Register"
hexmask.long 0x08 12.--31. 0x1000 " 1LAL  ,Local Address Low"
line.long 0x0C "PCIX2_PIM1LAH,PCIX2 PIM 1 Local Address High Register"
hexmask.long 0x0C 0.--31. 1. " 1LAH  ,Local Address High"
group 0xB0++0x03
line.long 0x00 "PCIX2_PIM2SAL,PCIX2 PIM 2 Size/Attribute Low Register"
hexmask.long 0x00 12.--31. 1. " SIZL  ,Size Low of PIM2"
bitfld.long 0x00 2. "                  P2E   ,Big PIM2 Enable" "-,Enabled"
bitfld.long 0x00 1. "          PE   ,Prefetch Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 0. " EN    ,Enable PCI BAR2" "-,Enabled"
group 0xFC++0x03
line.long 0x00 "PCIX2_PIM2SAH,PCIX2 PIM 2 Size/Attribute High Register"
hexmask.long 0x00 0.--31. 1. " SIZH  ,Size High of PIM2"
group 0xB4++0x07
line.long 0x00 "PCIX2_PIM2LAL,PCIX2 PIM 2 Local Address Low Register"
hexmask.long 0x00 12.--31. 0x1000 " 2LAL  ,Local Address Low"
line.long 0x04 "PCIX2_PIM2LAH,PCIX2 PIM2 Local Address High Register"
hexmask.long 0x04 0.--31. 1. " 2LAH  ,Local Address High"
rgroup 0xC0++0x00
line.byte 0x00 "PCIX2_OMCAPID,PCIX2 Outbound MSI Capability Identifier Register"
hexmask.byte 0x00 0.--7. 1. "     CPID  ,Message Signaled Interrupts (MSI) Capabilities Identifier"
group 0xC1++0x00
line.byte 0x00 "PCIX2_OMNIPTR,PCIX2 Outbound MSI Next Item Pointer Register"
hexmask.byte 0x00 0.--7. 1. "     NPTR  ,Message Signaled Interrupts (MSI) Next Item Pointer"
group 0xC2++0x0C
line.word 0x00 "PCIX2_OMMC,PCIX2 Outbound MSI Message Control Register"
bitfld.word 0x00 7. "     64AC  ,64-bit Address Capable" "Not capable,Capable"
hexmask.word 0x00 4.--6. 1. "               MME   ,Multiple Message Enable"
hexmask.word 0x00 1.--3. 1. "             MMC  ,Multiple Message Capable"
textline "                          "
bitfld.word 0x00 0. " MSI   ,MSI Enable" "-,Enabled"
line.long 0x02 "PCIX2_OMMA,PCIX2 Outbound MSI Message Address Register"
hexmask.long 0x02 2.--31. 1. " MA    ,Message Address"
line.long 0x06 "PCIX2_OMMUA,PCIX2 Outbound MSI Message Upper Address Register"
hexmask.long 0x06 0.--31. 1. " MUA   ,Message Upper Address"
line.word 0x0A "PCIX2_OMMDATA,PCIX2 Outbound MSI Message Data Register"
hexmask.word 0x0A 0.--15. 1. "     MD    ,Message Data"
line.byte 0x0C "PCIX2_OMMEOI,PCIX2 Outbound MSI Message End of Interrupt Register"
bitfld.byte 0x0C 0.--1. "     MEOI  ,Message End of Interrupt" "00,01,10,11"
rgroup 0xD0++0x00
line.byte 0x00 "PCIX2_PMCAPID,PCIX2 Power Management Capability Identifier Register"
hexmask.byte 0x00 0.--7. 1. "     CPID  ,Capabilities Identifier"
group 0xD1++0x04
line.byte 0x00 "PCIX2_PMNIPTR,PCIX2 Power Management Next Item Pointer Register"
hexmask.byte 0x00 0.--7. 1. "     NIP   ,Next Item Pointer"
line.word 0x01 "PCIX2_PMC,PCIX2 Power Management Capabilities Register"
hexmask.word 0x01 11.--15. 1. "     PME   ,PME Support"
bitfld.word 0x01 10. "                      D2    ,D2 Support" "Not supported,Supported"
bitfld.word 0x01 9. "    D1   ,D1 Support" "Not supported,Supported"
textline "                          "
hexmask.word 0x01 6.--8. 1. " AUX   ,AUX Current"
bitfld.word 0x01 5. "                      DSI   ,Device Secific Initialization" "Not required,Required"
bitfld.word 0x01 3. "     PME  ,PME Clock" "0,1"
textline "                          "
hexmask.word 0x01 0.--2. 1. " V     ,Verion"
line.word 0x03 "PCIX2_PMCSR,PCIX2 Power Management Control/Status Register"
bitfld.word 0x03 15. "     PMES  ,PME Status" "0,1"
hexmask.word 0x03 13.--14. 1. "                         DSC   ,Data Scale"
hexmask.word 0x03 9.--12. 1. "             DSE  ,Data Select"
textline "                          "
bitfld.word 0x03 8. " PME   ,PME Enable" "0,1"
bitfld.word 0x03 0.--1. "                         PS    ,Power State" "D0,D1,D2,D3-Hot"
rgroup 0xD6++0x01
line.byte 0x00 "PCIX2_PMCSRBSE,PCIX2 PMCR PCI-to-PLB-PCIX Bridge Support Extensions Register"
hexmask.byte 0x00 0.--7. 1. "     CSSE  ,Power Mangement Control/Status PCI-to-PLB-PCIX Bridge Support Extensions"
line.byte 0x01 "PCIX2_PMDATA,PCIX2 Power Management Data Register"
hexmask.byte 0x01 0.--7. 1. "     ZERO  ,Optional Register"
group 0xD8++0x00
line.byte 0x00 "PCIX2_PMSCRR,PCIX2 Power Management State Change Request Register"
bitfld.byte 0x00 4. "     APW   ,Accept PMCSR Write" "Accepted,Not accepted"
bitfld.byte 0x00 3. "              SCR   ,State Change Request" "No request,Request"
bitfld.byte 0x00 1.--2. "       RS   ,Request State" "00,01,10,11"
textline "                          "
bitfld.byte 0x00 0. " DWE   ,Delayed Write Enable" "-,Enabled"
rgroup 0xDC++0x00
line.byte 0x00 "PCIX2_CAPID,PCIX2 Capability Identifier Register"
hexmask.byte 0x00 0.--7. 1. "     CPID  ,Capability Identifier"
group 0xDD++0x06
line.byte 0x00 "PCIX2_NIPTR,PCIX2 Next Item Pointer Register"
hexmask.byte 0x00 0.--7. 1. "     NXIP  ,Next Item Pointer"
line.word 0x01 "PCIX2_CMDMAX,PCIX2 Command Register"
bitfld.word 0x01 12.--13. "     XVER  ,PCIX Capabilities List Item Version" "00,01,10,11"
hexmask.word 0x01 4.--6. 1. "                        MOST  ,Maximum Outstanding Split Transactions"
bitfld.word 0x01 2.--3. "             MRBC ,Maximum Memory-Read Byte Count" "512B,1KB,2KB,2KB"
textline "                          "
bitfld.word 0x01 1. " ERO   ,Enable Relaxed Ordering" "-,Enabled"
bitfld.word 0x01 0. "                   DPER  ,Data Parity Error Recovery Enable" "0,1"
line.long 0x03 "PCIX2_STS,PCIX2 State Register"
bitfld.long 0x03 31. " X533  ,PCIX 533 Capable" "Not capable,Capable"
bitfld.long 0x03 30. "               X266  ,PCIX 266 Capable" "Not capable,Capable"
eventfld.long 0x03 29. "      SPEM ,Received Split Completion Error Message" "Not received,Received"
textline "                          "
bitfld.long 0x03 26.--28. " MCRS  ,Maximum Cumulative Read Size" "0,1,2,3,4,5,6,7"
bitfld.long 0x03 23.--25. "                         DMOS  ,Maximum Outstanding Splits" "0,1,2,3,4,5,6,7"
bitfld.long 0x03 21.--22. "                MRBC ,Maximum Limit of the PCIX Memory Read Byte Count" "00,01,10,11"
textline "                          "
bitfld.long 0x03 20. " DC    ,Device Complexity" "Not simple device,Simple device"
eventfld.long 0x03 19. "         USC   ,Unexpected Split Completion" "Not received,Received"
bitfld.long 0x03 18. "     SCD  ,Split Completion Discarded" "Not discarded,Discarded"
textline "                          "
bitfld.long 0x03 17. " CAP   ,PCI 133 Capable" "Not capabled,Capabled"
bitfld.long 0x03 16. "              DEV   ,Device Bus Size" "32bit,64bit"
hexmask.long.byte 0x03 8.--15. 1. "            BN   ,Bus Number"
textline "                          "
hexmask.long 0x03 3.--7. 1. " DN    ,Device Number"
hexmask.long 0x03 0.--2. 1. "                  FN    ,Function Number"
rgroup 0x64++0x03
line.long 0x00 "PCIX2_IDR,PCIX2 Internal Debug Register (Reserved)"
rgroup 0xDE8++0x07
line.long 0x00 "PCIX2_CID,PCIX2 Internal Core Device ID Register"
hexmask.long 0x00 0.--31. 1. " CID   ,Internal Core Device ID"
line.long 0x04 "PCIX2_RID,PCIX2 Internal Core Revision ID Register"
hexmask.long 0x00 0.--31. 1. " RID   ,Internal Core Revision ID"
rgroup 0x48++0x00
line.byte 0x00 "PCIX2_VPDCAPID,PCIX2 VPD Capability Identifier Register"
hexmask.byte 0x00 0.--7. 1. "     VCID  ,Capability Identifier"
group 0x49++0x06
line.byte 0x00 "PCIX2_VPDNIPTR,PCIX2 VPD Next Item Pointer Register"
hexmask.byte 0x00 0.--7. 1. "     NXIP  ,Next Item Pointer"
line.word 0x01 "PCIX2_VPDADR,PCIX2 VPD Address Register"
bitfld.word 0x01 15. "     FBIT  ,Flag Bit" "Low,High"
hexmask.word 0x01 0.--14. 1. "                      VADDR ,VPD Address"
line.long 0x03 "PCIX2_VPDDATA,PCIX2 VPD Data Register"
hexmask.long 0x03 0.--31. 1. " VDAT  ,VPD Data"
group 0x100++0x0F
line.long 0x00 "PCIX2_MSGIL,PCIX2 Message In Low Register"
hexmask.long 0x00 0.--31. 1. " MIL   ,Message In Low"
line.long 0x04 "PCIX2_MSGIH,PCIX2 Message In High Register"
hexmask.long 0x04 0.--31. 1. " MIH   ,Message In High"
line.long 0x08 "PCIX2_MSGOL,PCIX2 Message Out Low Register"
hexmask.long 0x08 0.--31. 1. " MOL   ,Message Out Low"
line.long 0x0C "PCIX2_MSGOH,PCIX2 Message Out High Register"
hexmask.long 0x0C 0.--31. 1. " MOH   ,Message Out High"
wgroup 0x1F8++0x03
line.long 0x00 "PCIX2_IM,PCIX2 Inbound Message MSI Register"
hexmask.long.byte 0x00 0.--3. 1. " IMSI  ,MSI In"
endian.def
width 0x0B
endif
tree.end
tree.end
;tree "PLB-PCIX Bridge Controller"
endian.def
tree.end
;tree.open "PCIX Bus Controller"
tree "External Bus Master Interface"
base ANC:0x0:0x00000000
sif (cpu()=="PPC440GX")
width 14.
group dcr:0x15++0x0
saveout dcr:0x14 %l 0x00
line.long 0x0 "EBM0_CTL,EBMI Control Register 0"
bitfld.long 0x00 31. " HFE     ,Hold First Error" "First,Last"
bitfld.long 0x00 30. "        SPFD    ,Single Beat Word Prefetch Disable" "4-byte,1 to 4-byte"
bitfld.long 0x00 29. "  BPFA    ,Burst Prefetch Ahead" "-,Ahead"
textline "                       "
bitfld.long 0x00 28. " DOVL    ,Disable HoldA Arbitration Overlap" "-,Disabled"
bitfld.long 0x00 26.--27. "     EXSZ    ,External Master Data Bus Size (ext_mst_size_l2)" "8-bit,16-bit,32-bit,-"
bitfld.long 0x00 25. "       PPEN    ,Enable second 32-byte buffer" "-,Enabled"
textline "                       "
bitfld.long 0x00 24. " ENLAT   ,Enable OPB Latency Counter" "-,Enabled"
bitfld.long 0x00 22.--23. "      OARB    ,OPB Arbitration Control" "0,1,2,3"
bitfld.long 0x00 20.--21. "            BPF     ,Burst Prefetch" "8-beat (32-byte),4-beat (16-byte),1-beat (4/2/1-byte),Reserved"
textline "                       "
bitfld.long 0x00 19. " PDIS    ,EXPB Parity Checking Disabled" "-,Disabled"
bitfld.long 0x00 18. "     RDER    ,Enable Read Early Indication" "-,Enabled"
bitfld.long 0x00 17. "      AFAIR   ,Arbitration Fairness Counter Disable" "-,Disabled"
textline "                       "
bitfld.long 0x00 16. " BFAIR   ,BReq Fairness Counter Disable" "-,Disabled"
bitfld.long 0x00 15. "     DRST    ,Disable Reset Valid for New Tenure" "-,Disabled"
group dcr:0x15++0x0
saveout dcr:0x14 %l 0x01
line.long 0x0 "EBM0_LCNT,EBMI OPB Latency Count Register 0"
bitfld.long 0x00 26.--31. " LCNT    ,Latency Counter" "0,16,32,48,64,80,96,112,128,144,160,176,192,208,224,240,256,272,288,304,320,336,352,368,384,400,416,432,448,464,480,496,512,528,544,560,576,592,608,624,640,656,672,688,704,720,736,752,768,784,800,816,832,848,864,880,896,912,928,944,960,976,992,1008"
group dcr:0x15++0x0
saveout dcr:0x14 %l 0x02
line.long 0x0 "EBM0_BEAR,EBMI Bus Error Address Register 0"
group dcr:0x15++0x0
saveout dcr:0x14 %l 0x03
line.long 0x0 "EBM0_BESR,EBMI Bus Error Status Register 0"
bitfld.long 0x00 31. " OAE     ,OPB Bus Ack Error" "-,Error"
bitfld.long 0x00 30. "        EPE     ,EXPB Bus Parity Error" "-,Error"
bitfld.long 0x00 28. "        OTO     ,OPB Bus Timeout Error" "-,Error"
textline "                       "
bitfld.long 0x00 27. " SBE     ,EXPB Special Cycle Error" "-,Error"
bitfld.long 0x00 0. "        INT     ,Interrupt Asserted" "-,Interrupt"
group dcr:0x15++0x0
saveout dcr:0x14 %l 0x04
line.long 0x0 "EBM0_BEMR,EBMI Bus Error Mask Register 0"
bitfld.long 0x00 31. " EMSKOAE ,Bus Error Mask (OPB Bus Ack Error)" "-,Masked"
bitfld.long 0x00 30. "       EMSKEPE ,Bus Error Mask (EXPB Bus Parity Error)" "-,Masked"
bitfld.long 0x00 28. "       EMSKOTO ,Bus Error Mask (OPB Bus Timeout Error)" "-,Masked"
textline "                       "
bitfld.long 0x00 27. " EMSKSBE ,Bus Error Mask (EXPB Special Cycle Error)" "-,Masked"
group dcr:0x15++0x0
saveout dcr:0x14 %l 0x05
line.long 0x0 "EBM0_UAR,EBMI OPB Upper Address Register 0"
hexmask.long.word 0x00 16.--31. 1. " UPPR    ,OPB Upper Address"
group dcr:0x15++0x0
saveout dcr:0x14 %l 0x06
line.long 0x0 "EBM0_UAM,EBMI OPB Upper Address Mask Register 0"
bitfld.long 0x0 15. " UMSK    ,OPB Upper Address Mask 4" "0,1"
bitfld.long 0x0 14. ",OPB Upper Address Mask 5" "0,1"
bitfld.long 0x0 13. ",OPB Upper Address Mask 6" "0,1"
bitfld.long 0x0 12. ",OPB Upper Address Mask 7" "0,1"
bitfld.long 0x0 11. ",OPB Upper Address Mask 8" "0,1"
bitfld.long 0x0 10. ",OPB Upper Address Mask 9" "0,1"
bitfld.long 0x0 9. ",OPB Upper Address Mask 10" "0,1"
bitfld.long 0x0 8. ",OPB Upper Address Mask 11" "0,1"
bitfld.long 0x0 7. ",OPB Upper Address Mask 12" "0,1"
bitfld.long 0x0 6. ",OPB Upper Address Mask 13" "0,1"
bitfld.long 0x0 5. ",OPB Upper Address Mask 14" "0,1"
bitfld.long 0x0 4. ",OPB Upper Address Mask 15" "0,1"
group dcr:0x15++0x0
saveout dcr:0x14 %l 0x07
line.long 0x0 "EBM0_SLPMD,EBMI Sleep Mode Register 0"
bitfld.long 0x00 27.--31. " SLCR    ,Programmable timer values" "32 cycles,64 cycles,96 cycles,128 cycles,160 cycles,192 cycles,224 cycles,256 cycles,288 cycles,320 cycles,352 cycles,384 cycles,416 cycles,448 cycles,480 cycles,512 cycles,544 cycles,576 cycles,608 cycles,640 cycles,672 cycles,704 cycles,736 cycles,768 cycles,800 cycles,832 cycles,864 cycles,896 cycles,928 cycles,960 cycles,992 cycles,1024 cycles"
bitfld.long 0x00 21. "  SLEN    ,Sleep mode enable bit" "-,Enabled"
group dcr:0x15++0x0
saveout dcr:0x14 %l 0x08
line.long 0x0 "EBM0_FAIR,EBMI Fairness Control Register 0"
hexmask.long.word 0x00 20.--31. 1. " AFC     ,Arbitration Fairness Count"
hexmask.long.byte 0x00 12.--19. 1. "         BFC     ,BusReq Fairness Count"
hexmask.long.byte 0x00 4.--11. 1. "           HFC     ,HoldReq Fairness Count"
rgroup dcr:0x15++0x0
saveout dcr:0x14 %l 0x11
line.long 0x0 "EBM0_CID,EBMI Core ID Register 0"
hexmask.long.word 0x00 20.--31. 1. " CNUM    ,Core Number"
hexmask.long.byte 0x00 12.--19. 1. "         CVAR    ,Core Variation"
hexmask.long.word 0x00 0.--11. 1. "           REV     ,Revision Number"
width 0xB
elif (cpu()=="PPC440GP")
width 14.
group dcr:0x15++0x0
saveout dcr:0x14 %l 0x00
line.long 0x0 "EBM0_CTL,EBMI Control Register"
bitfld.long 0x00 31. " HFE   ,Hold First Error" "First error,Last error"
bitfld.long 0x00 30. "  SPFD ,Single Beat Word Prefetch Disable" "-,Disabled"
bitfld.long 0x00 29. "      BPFA  ,Burst Prefetch Ahead" "Read when required,Read before required"
textline "                       "
bitfld.long 0x00 28. " DOVL  ,Disable HoldA Arbitration Overlap" "-,Disabled"
bitfld.long 0x00 26.--27. "     EXSZ ,External Master Data Bus Size (ext_mst_size_l2)" "8-bit,16-bit,32-bit,No master"
bitfld.long 0x00 25. "     PPEN  ,Enable second 32-byte buffer" "-,Enabled"
textline "                       "
bitfld.long 0x00 24. " ENLAT ,Enable OPB Latency Counter" "-,Enabled"
bitfld.long 0x00 22.--23. "      OARB ,OPB Arbitration Control" "0,1,2,3"
bitfld.long 0x00 20.--21. "             BPF   ,Burst Prefetch Read" "8-beat (32-byte),4-beat (16-byte),1-beat (4/2/1-byte),Reserved"
textline "                       "
bitfld.long 0x00 19. " PDIS  ,EXPB Parity Checking Disabled" "Checked,Not checked"
bitfld.long 0x00 18. "  RDER ,Enable Read Early Indication" "-,Enabled"
bitfld.long 0x00 17. "       AFAIR ,Arbitration Fairness Counter Disable" "-,Disabled"
textline "                       "
bitfld.long 0x00 16. " BFAIR ,BReq Fairness Counter Disable" "-,Disabled"
bitfld.long 0x00 15. "     DRST ,Disable Reset Valid for New Tenure" "-,Disabled"
group dcr:0x15++0x0
saveout dcr:0x14 %l 0x01
line.long 0x0 "EBM0_LCNT,EBMI OPB Latency Count Register"
hexmask.long.byte 0x00 26.--31. 1. " LCNT  ,Latency Counter"
group dcr:0x15++0x0
saveout dcr:0x14 %l 0x02
line.long 0x0 "EBM0_BEAR,EBMI Bus Error Address Register"
hexmask.long.long 0x00 0.--31. 1. " BEAR  ,Bus Error Address"
group dcr:0x15++0x0
saveout dcr:0x14 %l 0x03
line.long 0x0 "EBM0_BESR,EBMI Bus Error Status Register"
bitfld.long 0x00 31. " OAE   ,OPB Bus Ack Error" "-,Error"
bitfld.long 0x00 30. "        EPE  ,EXPB Bus Parity Error" "-,Error"
bitfld.long 0x00 28. "         OTO   ,OPB Bus Timeout Error" "-,Error"
textline "                       "
bitfld.long 0x00 27. " SBE   ,EXPB Special Cycle Error" "-,Error"
bitfld.long 0x00 0. "        INT  ,Interrupt Asserted" "Not asserted,Asserted"
group dcr:0x15++0x0
saveout dcr:0x14 %l 0x04
line.long 0x0 "EBM0_BEMR,EBMI Bus Error Mask Register"
hexmask.long.byte 0x00 26.--31. 1. " EMSK  ,Bus Error Mask"
group dcr:0x15++0x0
saveout dcr:0x14 %l 0x05
line.long 0x0 "EBM0_UAR,EBMI OPB Upper Address Register"
hexmask.long.word 0x00 16.--31. 1. " UPPR  ,OPB Upper Address"
group dcr:0x15++0x0
saveout dcr:0x14 %l 0x06
line.long 0x0 "EBM0_UAM,EBMI OPB Upper Address Mask"
hexmask.long.word 0x00 16.--27. 1. " UMSK  ,OPB Upper Address Mask"
group dcr:0x15++0x0
saveout dcr:0x14 %l 0x07
line.long 0x0 "EBM0_SLPMD,EBMI Sleep Mode Register"
bitfld.long 0x00 27.--31. " SLCR  ,Programmable timer values" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x00 22.--26. "           NVI  ,Hardcoded to 1s" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x00 21. "            SLEN  ,Sleep mode enable bit" "Not asserted,Asserted"
group dcr:0x15++0x0
saveout dcr:0x14 %l 0x08
line.long 0x0 "EBM0_FAIR,EBMI Fairness Control Register"
hexmask.long.word 0x00 20.--31. 1. " AFC   ,Arbitration Fairness Count"
hexmask.long.byte 0x00 12.--19. 1. "         BFC  ,BusReq Fairness Count"
hexmask.long.byte 0x00 4.--11. 1. "            HFC   ,HoldReq Fairness Count"
rgroup dcr:0x15++0x0
saveout dcr:0x14 %l 0x11
line.long 0x0 "EBM0_CID,EBMI Core ID Register"
hexmask.long.word 0x00 20.--31. 1. " CNUM  ,Core Number"
hexmask.long.byte 0x00 12.--19. 1. "         CVAR ,Core Variation"
hexmask.long.word 0x00 0.--11. 1. "            REV   ,Revision Number"
width 0xb
endif
tree.end
;tree "External Bus Master Interface"
tree "XOR Accelerator"
sif ((cpu()=="PPC440SP")||(cpu()=="PPC440SPE"))
;XOR Accelerator
width 13.
SIF (cpu()=="PPC440SP")
base ad:0x1:0x00200000
endif
SIF (cpu()=="PPC440SPE"||cpu()=="APM82181")
base ad:0x4:0x00200000
endif
group.long 0x00++0x7f "XOR Command Block Link List Registers"
line.long 0x0 "XOR0_OP1AH,XOR Operand 1 Address High Register"
line.long (0x0+0x04) "XOR0_OP1AL,XOR Operand 1 Address Low Register"
line.long 0x8 "XOR0_OP2AH,XOR Operand 2 Address High Register"
line.long (0x8+0x04) "XOR0_OP2AL,XOR Operand 2 Address Low Register"
line.long 0x10 "XOR0_OP3AH,XOR Operand 3 Address High Register"
line.long (0x10+0x04) "XOR0_OP3AL,XOR Operand 3 Address Low Register"
line.long 0x18 "XOR0_OP4AH,XOR Operand 4 Address High Register"
line.long (0x18+0x04) "XOR0_OP4AL,XOR Operand 4 Address Low Register"
line.long 0x20 "XOR0_OP5AH,XOR Operand 5 Address High Register"
line.long (0x20+0x04) "XOR0_OP5AL,XOR Operand 5 Address Low Register"
line.long 0x28 "XOR0_OP6AH,XOR Operand 6 Address High Register"
line.long (0x28+0x04) "XOR0_OP6AL,XOR Operand 6 Address Low Register"
line.long 0x30 "XOR0_OP7AH,XOR Operand 7 Address High Register"
line.long (0x30+0x04) "XOR0_OP7AL,XOR Operand 7 Address Low Register"
line.long 0x38 "XOR0_OP8AH,XOR Operand 8 Address High Register"
line.long (0x38+0x04) "XOR0_OP8AL,XOR Operand 8 Address Low Register"
line.long 0x40 "XOR0_OP9AH,XOR Operand 9 Address High Register"
line.long (0x40+0x04) "XOR0_OP9AL,XOR Operand 9 Address Low Register"
line.long 0x48 "XOR0_OP10AH,XOR Operand 10 Address High Register"
line.long (0x48+0x04) "XOR0_OP10AL,XOR Operand 10 Address Low Register"
line.long 0x50 "XOR0_OP11AH,XOR Operand 11 Address High Register"
line.long (0x50+0x04) "XOR0_OP11AL,XOR Operand 11 Address Low Register"
line.long 0x58 "XOR0_OP12AH,XOR Operand 12 Address High Register"
line.long (0x58+0x04) "XOR0_OP12AL,XOR Operand 12 Address Low Register"
line.long 0x60 "XOR0_OP13AH,XOR Operand 13 Address High Register"
line.long (0x60+0x04) "XOR0_OP13AL,XOR Operand 13 Address Low Register"
line.long 0x68 "XOR0_OP14AH,XOR Operand 14 Address High Register"
line.long (0x68+0x04) "XOR0_OP14AL,XOR Operand 14 Address Low Register"
line.long 0x70 "XOR0_OP15AH,XOR Operand 15 Address High Register"
line.long (0x70+0x04) "XOR0_OP15AL,XOR Operand 15 Address Low Register"
line.long 0x78 "XOR0_OP16AH,XOR Operand 16 Address High Register"
line.long (0x78+0x04) "XOR0_OP16AL,XOR Operand 16 Address Low Register"
group.long 0x1E0++0x03
line.long 0x00 "XOR0_CBCR,XOR Command Block Control Register"
bitfld.long 0x00 31. " LNK   ,Link Present" "Last command block,Link address valid"
bitfld.long 0x00 30. "  TGT   ,Target Present" "Reserved,Target valid"
bitfld.long 0x00 29. "  CBCE ,Command Block Complete Enable" "Reserved,Enabled"
bitfld.long 0x00 28. "  RNZE ,Result Not Zero Enabled" "Reserved,Enabled"
bitfld.long 0x00 15. "  XNOR ,XNOR/XOR Function Select" "XOR,XNOR"
sif (cpu()=="APM82181")
hexmask.long.byte 0x00 0.--3. 1. " OAC ,Operand Address Count"
else
hexmask.long.byte 0x00 0.--6. 1. " OAC ,Operand Address Count"
endif
group.long 0x1E4++0x03
line.long 0x00 "XOR0_CBBCR,XOR Command Block Byte Count Register"
hexmask.long 0x00 0.--31. 1. " BYTCT ,Command Block Byte Count"
rgroup.long 0x1E8++0x03
line.long 0x00 "XOR0_CBSR,XOR Command Block Status Register"
bitfld.long 0x00 1. " CBRNZ ,Command Block Result Not Zero" "Not zero,Parity error"
bitfld.long 0x00 0. "        CBCBC ,CB Command Block Complete" "-,Completed"
group.long 0x1F0++0x07
line.long 0x00 "XOR0_CBTAH,XOR Command Block Target Address High Register"
line.long 0x04 "XOR0_CBTAL,XOR Command Block Target Address Low Register"
group.long 0x1F8++0x07
line.long 0x00 "XOR0_CBLAH,XOR Command Block Link Address High Register"
line.long 0x04 "XOR0_CBLAL,XOR Command Block Link Address Low Register"
group.long 0x200++0x07 "XOR Control Registers"
line.long 0x00 "XOR0_CRS,XORCore Control Set Register"
bitfld.long 0x00 31. " XASR ,XORCore Soft Reset" "-,Reset"
bitfld.long 0x00 30. "  XAE ,XORCore Enable" "-,Enabled"
bitfld.long 0x00 29. "  RCBE ,Refetch Command Block Enable" "-,Enabled"
bitfld.long 0x00 28. "  PAUS ,Pause" "XOR resumed,XOR stopped"
bitfld.long 0x00 27. "  64BA ,64-bit Addressing Mode" "32-bit,64-bit"
bitfld.long 0x00 26. "  ICBF ,Inhibit Command Block Fetch" "Normal,Inhibited"
bitfld.long 0x00 25. "  CLP ,Continue List Processing" "Stopped,Continued"
line.long 0x04 "XOR0_CRR,XORCore Control Reset Register"
bitfld.long 0x04 31. " XASR ,XORCore Soft Reset" "-,Reset"
bitfld.long 0x04 30. "  XAE ,XORCore Enable" "-,Enabled"
bitfld.long 0x04 29. "  RCBE ,Refetch Command Block Enable" "-,Enabled"
bitfld.long 0x04 28. "  PAUS ,Pause" "XOR resumed,XOR stopped"
bitfld.long 0x04 27. "  64BA ,64-bit Addressing Mode" "32-bit,64-bit"
bitfld.long 0x04 26. "  ICBF ,Inhibit Command Block Fetch" "Normal,Inhibited"
bitfld.long 0x04 25. "  CLP ,Continue List Processing" "Stopped,Continued"
rgroup.long 0x208++0x07
line.long 0x00 "XOR0_CCBAH,XORCore Current Command Block Address High Register"
line.long 0x04 "XOR0_CCBAL,XORCore Current Command Block Address Low Register"
group.long 0x210++0x03
line.long 0x00 "XOR0_PLB,XORCore PLB Configuration Register"
bitfld.long 0x00 30.--31. " PRLBP ,Read/Write PLB Priority" "Low,Low-medium,Medium-High,High"
bitfld.long 0x00 27. "  DPLBP ,Disable PLB Pipelining" "-,Disabled"
bitfld.long 0x00 26. " GUARD ,Guard PLB Addresses" "Not guarded,Guarded"
wgroup.long 0x214++0x03
line.long 0x00 "XOR0_IER,XORCore Interrupt Enable Register"
bitfld.long 0x00 17. " ICBIE ,Invalid Command Block Interrupt Enable" "-,Enabled"
bitfld.long 0x00 16. "      ICIE  ,Invalid Command Interrupt Enable" "-,Enabled"
bitfld.long 0x00 15. "  IPEIE ,Internal Parity Error Interrupt Enable" "-,Enabled"
bitfld.long 0x00 14. "  RPTIE ,Read PLB Timeout Error Interrupt Enable" "-,Enabled"
bitfld.long 0x00 13. "  WPTIE ,Write PLB Timeout Error Interrupt Enable" "-,Enabled"
bitfld.long 0x00 12. "        RMIE ,Read MERR Interrupt Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 11. " WMIE  ,Write MERR Interrupt Enable" "-,Enabled"
bitfld.long 0x00 10. "      MQIE  ,MIRQ Interrupt Enable" "-,Enabled"
bitfld.long 0x00 2. "  RNZIE ,Result Not Zero Interrupt Enable" "-,Enabled"
bitfld.long 0x00 1. "  CBCIE ,Command Block Complete Interrupt Enable" "-,Enabled"
bitfld.long 0x00 0. "  CBLCI ,Command Block List Complete Interrupt Enable" "-,Enabled"
rgroup.long 0x218++0x03
line.long 0x00 "XOR0_PECR,XORCore Parity Error Count Register"
hexmask.long 0x00 0.--31. 1. " BYOF  ,Byte Offset"
rgroup.long 0x21C++0x03
line.long 0x00 "XOR0_SR,XORCore Status Register"
bitfld.long 0x00 31. " XCP   ,XORCore Processing" "Idle,Executing"
bitfld.long 0x00 17. "    ICB   ,Invalid Command Block" "-,Error"
bitfld.long 0x00 16. "    IC    ,Invalid Command" "-,Error"
bitfld.long 0x00 15. "    IPE   ,Internal Parity Error" "-,Error"
bitfld.long 0x00 14. "    RPTE  ,Read PLB Timeout Error" "-,Error"
bitfld.long 0x00 13. "          WPTE ,Write PLB Timeout Error" "-,Error"
textline "                      "
bitfld.long 0x00 12. " RME   ,Read MERR Error" "-,Error"
bitfld.long 0x00 11. "        WME   ,Write MERR Error" "-,Error"
bitfld.long 0x00 10. "    MQE   ,MIRQ Error" "-,Error"
bitfld.long 0x00 2. "    RNZ   ,Status Register Result Not Zero" "-,Occurred"
bitfld.long 0x00 1. " CBC   ,Status Register Command Block Complete" "Not completed,Completed"
bitfld.long 0x00 0. "  CBLC ,Command Block List Complete" "Not completed,Completed"
rgroup.long 0x220++0x03
line.long 0x00 "XOR0_REVID,XORCore Revision ID Register"
hexmask.long 0x00 0.--31. 1. " RVID  ,Revision Level of XORCore"
width 0xB
endif
tree.end
;tree "XOR Accelerator"
tree "EBC (External Bus Controller)"
sif (cpu()=="PPC440GRX")
;External Bus Controller
width 0x0C
group dcr:0x0013++0x0
saveout dcr:0x0012 %l 0x0023
line.long 0x00 "EBC0_CFG,External Peripheral Control Register"
bitfld.long 0x00 31. " EBTC ,External Bus Three-State Control" "Tri-state,Driven"
bitfld.long 0x00 30. "  PTD  ,Device-Paced Time-out" "Enabled,-"
bitfld.long 0x00 27.--29. "    RTC ,Ready Timeout Count" "16,32,64,128,256,512,1024,2048"
bitfld.long 0x00 25.--26. "     EMPH ,External Master Priority High" "0,1,2,3"
textline "                     "
bitfld.long 0x00 23.--24. " EMPL ,External Master Priority Low" "0,1,2,3"
bitfld.long 0x00 22. "          CSTC ,Chip Select Three-state Control" "Tri-state,Driven"
textline "                     "
bitfld.long 0x00 20.--21. " BPF  ,Burst Prefetch" "1,2,4,Reserved"
bitfld.long 0x00 18.--19. "   EMS  ,External Master Size" "8-bit,16-bit,32-bit,-"
bitfld.long 0x00 17. "  PME ,Power Management Enable" "-,Enabled"
bitfld.long 0x00 12.--16. "  PMT  ,Power Management Timer" "00000,00001,00010,00011,00100,00101,00110,00111,01000,01001,01010,01011,01100,01101,01110,01111,10000,10001,10010,10011,10100,10101,10110,10111,11000,11001,11010,11011,11100,11101,11110,11111"
group dcr:0x0013++0x0
saveout dcr:0x0012 %l 0x0
line.long 0x00 "EBC0_B0CR,Peripheral Bank 0 Configuration Register"
hexmask.long 0x00 20.--31. 0x100000 " BAS ,Base Address Select"
bitfld.long 0x00 17.--19. "  BS ,Bank Size" "1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB"
bitfld.long 0x00 15.--16. "  BU ,Bank Usage" "-,Read-only,Write-only,Read/Write"
bitfld.long 0x00 13.--14. "  BW ,Bank Width" "8-bit,16-bit,32-bit,Reserved"
group dcr:0x0013++0x0
saveout dcr:0x0012 %l 0x1
line.long 0x00 "EBC0_B1CR,Peripheral Bank 1 Configuration Register"
hexmask.long 0x00 20.--31. 0x100000 " BAS ,Base Address Select"
bitfld.long 0x00 17.--19. "  BS ,Bank Size" "1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB"
bitfld.long 0x00 15.--16. "  BU ,Bank Usage" "-,Read-only,Write-only,Read/Write"
bitfld.long 0x00 13.--14. "  BW ,Bank Width" "8-bit,16-bit,32-bit,Reserved"
group dcr:0x0013++0x0
saveout dcr:0x0012 %l 0x2
line.long 0x00 "EBC0_B2CR,Peripheral Bank 2 Configuration Register"
hexmask.long 0x00 20.--31. 0x100000 " BAS ,Base Address Select"
bitfld.long 0x00 17.--19. "  BS ,Bank Size" "1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB"
bitfld.long 0x00 15.--16. "  BU ,Bank Usage" "-,Read-only,Write-only,Read/Write"
bitfld.long 0x00 13.--14. "  BW ,Bank Width" "8-bit,16-bit,32-bit,Reserved"
group dcr:0x0013++0x0
saveout dcr:0x0012 %l 0x3
line.long 0x00 "EBC0_B3CR,Peripheral Bank 3 Configuration Register"
hexmask.long 0x00 20.--31. 0x100000 " BAS ,Base Address Select"
bitfld.long 0x00 17.--19. "  BS ,Bank Size" "1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB"
bitfld.long 0x00 15.--16. "  BU ,Bank Usage" "-,Read-only,Write-only,Read/Write"
bitfld.long 0x00 13.--14. "  BW ,Bank Width" "8-bit,16-bit,32-bit,Reserved"
group dcr:0x0013++0x0
saveout dcr:0x0012 %l 0x4
line.long 0x00 "EBC0_B4CR,Peripheral Bank 4 Configuration Register"
hexmask.long 0x00 20.--31. 0x100000 " BAS ,Base Address Select"
bitfld.long 0x00 17.--19. "  BS ,Bank Size" "1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB"
bitfld.long 0x00 15.--16. "  BU ,Bank Usage" "-,Read-only,Write-only,Read/Write"
bitfld.long 0x00 13.--14. "  BW ,Bank Width" "8-bit,16-bit,32-bit,Reserved"
group dcr:0x0013++0x0
saveout dcr:0x0012 %l 0x5
line.long 0x00 "EBC0_B5CR,Peripheral Bank 5 Configuration Register"
hexmask.long 0x00 20.--31. 0x100000 " BAS ,Base Address Select"
bitfld.long 0x00 17.--19. "  BS ,Bank Size" "1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB"
bitfld.long 0x00 15.--16. "  BU ,Bank Usage" "-,Read-only,Write-only,Read/Write"
bitfld.long 0x00 13.--14. "  BW ,Bank Width" "8-bit,16-bit,32-bit,Reserved"
group dcr:0x0013++0x0
saveout dcr:0x0012 %l 0x10
line.long 0x00 "EBC0_B0AP,Peripheral Bank 0 Access Parameters"
bitfld.long 0x00 31. " BME ,Burst Mode Enable" "Disabled,Enabled"
hexmask.long.byte 0x00 23.--30. 1. "    TWT ,Transfer Wait"
bitfld.long 0x00 18.--19. "        CSN ,Chip Select On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                     "
bitfld.long 0x00 16.--17. " OEN ,Output Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 14.--15. "    WBN ,Write Byte Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 12.--13. "  WBF ,Write Byte Enable Off Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                     "
bitfld.long 0x00 9.--11. " TH  ,Transfer Hold" "0 PerClk,1 PerClk,2 PerClk,3 PerClk,4 PerClk,5 PerClk,6 PerClk,7 PerClk"
bitfld.long 0x00 8. "    RE  ,Ready Enable" "-,Enabled"
bitfld.long 0x00 7. "   SOR ,Sample on Ready" "After PerReady,At the same time"
textline "                     "
bitfld.long 0x00 6. " BEM ,Byte Enable Mode" "Write,Read/Write"
bitfld.long 0x00 5. "  PEN ,Parity Enable" "-,Enabled"
group dcr:0x0013++0x0
saveout dcr:0x0012 %l 0x11
line.long 0x00 "EBC0_B1AP,Peripheral Bank 1 Access Parameters"
bitfld.long 0x00 31. " BME ,Burst Mode Enable" "Disabled,Enabled"
hexmask.long.byte 0x00 23.--30. 1. "    TWT ,Transfer Wait"
bitfld.long 0x00 18.--19. "        CSN ,Chip Select On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                     "
bitfld.long 0x00 16.--17. " OEN ,Output Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 14.--15. "    WBN ,Write Byte Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 12.--13. "  WBF ,Write Byte Enable Off Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                     "
bitfld.long 0x00 9.--11. " TH  ,Transfer Hold" "0 PerClk,1 PerClk,2 PerClk,3 PerClk,4 PerClk,5 PerClk,6 PerClk,7 PerClk"
bitfld.long 0x00 8. "    RE  ,Ready Enable" "-,Enabled"
bitfld.long 0x00 7. "   SOR ,Sample on Ready" "After PerReady,At the same time"
textline "                     "
bitfld.long 0x00 6. " BEM ,Byte Enable Mode" "Write,Read/Write"
bitfld.long 0x00 5. "  PEN ,Parity Enable" "-,Enabled"
group dcr:0x0013++0x0
saveout dcr:0x0012 %l 0x12
line.long 0x00 "EBC0_B2AP,Peripheral Bank 2 Access Parameters"
bitfld.long 0x00 31. " BME ,Burst Mode Enable" "Disabled,Enabled"
hexmask.long.byte 0x00 23.--30. 1. "    TWT ,Transfer Wait"
bitfld.long 0x00 18.--19. "        CSN ,Chip Select On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                     "
bitfld.long 0x00 16.--17. " OEN ,Output Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 14.--15. "    WBN ,Write Byte Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 12.--13. "  WBF ,Write Byte Enable Off Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                     "
bitfld.long 0x00 9.--11. " TH  ,Transfer Hold" "0 PerClk,1 PerClk,2 PerClk,3 PerClk,4 PerClk,5 PerClk,6 PerClk,7 PerClk"
bitfld.long 0x00 8. "    RE  ,Ready Enable" "-,Enabled"
bitfld.long 0x00 7. "   SOR ,Sample on Ready" "After PerReady,At the same time"
textline "                     "
bitfld.long 0x00 6. " BEM ,Byte Enable Mode" "Write,Read/Write"
bitfld.long 0x00 5. "  PEN ,Parity Enable" "-,Enabled"
group dcr:0x0013++0x0
saveout dcr:0x0012 %l 0x13
line.long 0x00 "EBC0_B3AP,Peripheral Bank 3 Access Parameters"
bitfld.long 0x00 31. " BME ,Burst Mode Enable" "Disabled,Enabled"
hexmask.long.byte 0x00 23.--30. 1. "    TWT ,Transfer Wait"
bitfld.long 0x00 18.--19. "        CSN ,Chip Select On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                     "
bitfld.long 0x00 16.--17. " OEN ,Output Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 14.--15. "    WBN ,Write Byte Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 12.--13. "  WBF ,Write Byte Enable Off Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                     "
bitfld.long 0x00 9.--11. " TH  ,Transfer Hold" "0 PerClk,1 PerClk,2 PerClk,3 PerClk,4 PerClk,5 PerClk,6 PerClk,7 PerClk"
bitfld.long 0x00 8. "    RE  ,Ready Enable" "-,Enabled"
bitfld.long 0x00 7. "   SOR ,Sample on Ready" "After PerReady,At the same time"
textline "                     "
bitfld.long 0x00 6. " BEM ,Byte Enable Mode" "Write,Read/Write"
bitfld.long 0x00 5. "  PEN ,Parity Enable" "-,Enabled"
group dcr:0x0013++0x0
saveout dcr:0x0012 %l 0x14
line.long 0x00 "EBC0_B4AP,Peripheral Bank 4 Access Parameters"
bitfld.long 0x00 31. " BME ,Burst Mode Enable" "Disabled,Enabled"
hexmask.long.byte 0x00 23.--30. 1. "    TWT ,Transfer Wait"
bitfld.long 0x00 18.--19. "        CSN ,Chip Select On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                     "
bitfld.long 0x00 16.--17. " OEN ,Output Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 14.--15. "    WBN ,Write Byte Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 12.--13. "  WBF ,Write Byte Enable Off Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                     "
bitfld.long 0x00 9.--11. " TH  ,Transfer Hold" "0 PerClk,1 PerClk,2 PerClk,3 PerClk,4 PerClk,5 PerClk,6 PerClk,7 PerClk"
bitfld.long 0x00 8. "    RE  ,Ready Enable" "-,Enabled"
bitfld.long 0x00 7. "   SOR ,Sample on Ready" "After PerReady,At the same time"
textline "                     "
bitfld.long 0x00 6. " BEM ,Byte Enable Mode" "Write,Read/Write"
bitfld.long 0x00 5. "  PEN ,Parity Enable" "-,Enabled"
group dcr:0x0013++0x0
saveout dcr:0x0012 %l 0x15
line.long 0x00 "EBC0_B5AP,Peripheral Bank 5 Access Parameters"
bitfld.long 0x00 31. " BME ,Burst Mode Enable" "Disabled,Enabled"
hexmask.long.byte 0x00 23.--30. 1. "    TWT ,Transfer Wait"
bitfld.long 0x00 18.--19. "        CSN ,Chip Select On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                     "
bitfld.long 0x00 16.--17. " OEN ,Output Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 14.--15. "    WBN ,Write Byte Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 12.--13. "  WBF ,Write Byte Enable Off Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                     "
bitfld.long 0x00 9.--11. " TH  ,Transfer Hold" "0 PerClk,1 PerClk,2 PerClk,3 PerClk,4 PerClk,5 PerClk,6 PerClk,7 PerClk"
bitfld.long 0x00 8. "    RE  ,Ready Enable" "-,Enabled"
bitfld.long 0x00 7. "   SOR ,Sample on Ready" "After PerReady,At the same time"
textline "                     "
bitfld.long 0x00 6. " BEM ,Byte Enable Mode" "Write,Read/Write"
bitfld.long 0x00 5. "  PEN ,Parity Enable" "-,Enabled"
rgroup dcr:0x0013++0x0
saveout dcr:0x0012 %l 0x0020
line.long 0x00 "EBC0_BEAR,Peripheral Bus Error Address Register"
rgroup dcr:0x0013++0x0
saveout dcr:0x0012 %l 0x0021
line.long 0x00 "EBC0_BESR0,Peripheral Bus Error Status Register 0"
bitfld.long 0x00 29.--31. " EET0 ,Error type for master 0" "-,Parity,Reserved,Reserved,Protection,Reserved,Input,Timeout"
bitfld.long 0x00 28. "   RWS0 ,Read/write status for master 0" "Write error,Read error"
bitfld.long 0x00 27. "  FL0  ,Field lock for master 0" "-,Locked"
textline "                     "
bitfld.long 0x00 26. " AL0  ,EBC0_BEAR address lock for master 0" "-,Locked"
bitfld.long 0x00 17.--19. "       EET2 ,Error type for master 2" "-,Parity,Reserved,Reserved,Protection,Reserved,Input,Timeout"
bitfld.long 0x00 16. "   RWS2 ,Read/write status for master 2" "Write error,Read error"
textline "                     "
bitfld.long 0x00 15. " FL2  ,Field lock for master 2" "-,Locked"
bitfld.long 0x00 14. "       AL2  ,EBC2_BEAR address lock for master 2" "-,Locked"
bitfld.long 0x00 11.--13. "       EET3 ,Error type for master 3" "-,Parity,Reserved,Reserved,Protection,Reserved,Input,Timeout"
textline "                     "
bitfld.long 0x00 10. " RWS3 ,Read/write status for master 3" "Write error,Read error"
bitfld.long 0x00 9. "  FL3  ,Field lock for master 3" "-,Locked"
bitfld.long 0x00 8. "       AL3  ,EBC3_BEAR address lock for master 3" "-,Locked"
width 0x0B
elif (cpu()=="PPC440GX")
base ANC:0x0:0x00000000
width 0xF
group dcr:0x13++0x0
saveout dcr:0x12 %l 0x0
line.long 0x0 "EBC0_B0CR,Peripheral Bank Configuration Register 0 0"
hexmask.long 0x00 20.--31. 0x100000 " BAS ,Base Address Select"
bitfld.long 0x00 17.--19. "  BS ,Bank Size" "1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB"
bitfld.long 0x00 15.--16. "  BU ,Bank Usage" "-,Read-only,Write-only,Read/Write"
textline "                        "
bitfld.long 0x00 13.--14. " BW  ,Bus Width" "8-bit,16-bit,Reserved,32-bit"
group dcr:0x13++0x0
saveout dcr:0x12 %l 0x1
line.long 0x0 "EBC0_B1CR,Peripheral Bank Configuration Register 0 1"
hexmask.long 0x00 20.--31. 0x100000 " BAS ,Base Address Select"
bitfld.long 0x00 17.--19. "  BS ,Bank Size" "1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB"
bitfld.long 0x00 15.--16. "  BU ,Bank Usage" "-,Read-only,Write-only,Read/Write"
textline "                        "
bitfld.long 0x00 13.--14. " BW  ,Bus Width" "8-bit,16-bit,Reserved,32-bit"
group dcr:0x13++0x0
saveout dcr:0x12 %l 0x2
line.long 0x0 "EBC0_B2CR,Peripheral Bank Configuration Register 0 2"
hexmask.long 0x00 20.--31. 0x100000 " BAS ,Base Address Select"
bitfld.long 0x00 17.--19. "  BS ,Bank Size" "1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB"
bitfld.long 0x00 15.--16. "  BU ,Bank Usage" "-,Read-only,Write-only,Read/Write"
textline "                        "
bitfld.long 0x00 13.--14. " BW  ,Bus Width" "8-bit,16-bit,Reserved,32-bit"
group dcr:0x13++0x0
saveout dcr:0x12 %l 0x3
line.long 0x0 "EBC0_B3CR,Peripheral Bank Configuration Register 0 3"
hexmask.long 0x00 20.--31. 0x100000 " BAS ,Base Address Select"
bitfld.long 0x00 17.--19. "  BS ,Bank Size" "1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB"
bitfld.long 0x00 15.--16. "  BU ,Bank Usage" "-,Read-only,Write-only,Read/Write"
textline "                        "
bitfld.long 0x00 13.--14. " BW  ,Bus Width" "8-bit,16-bit,Reserved,32-bit"
group dcr:0x13++0x0
saveout dcr:0x12 %l 0x4
line.long 0x0 "EBC0_B4CR,Peripheral Bank Configuration Register 0 4"
hexmask.long 0x00 20.--31. 0x100000 " BAS ,Base Address Select"
bitfld.long 0x00 17.--19. "  BS ,Bank Size" "1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB"
bitfld.long 0x00 15.--16. "  BU ,Bank Usage" "-,Read-only,Write-only,Read/Write"
textline "                        "
bitfld.long 0x00 13.--14. " BW  ,Bus Width" "8-bit,16-bit,Reserved,32-bit"
group dcr:0x13++0x0
saveout dcr:0x12 %l 0x5
line.long 0x0 "EBC0_B5CR,Peripheral Bank Configuration Register 0 5"
hexmask.long 0x00 20.--31. 0x100000 " BAS ,Base Address Select"
bitfld.long 0x00 17.--19. "  BS ,Bank Size" "1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB"
bitfld.long 0x00 15.--16. "  BU ,Bank Usage" "-,Read-only,Write-only,Read/Write"
textline "                        "
bitfld.long 0x00 13.--14. " BW  ,Bus Width" "8-bit,16-bit,Reserved,32-bit"
group dcr:0x13++0x0
saveout dcr:0x12 %l 0x6
line.long 0x0 "EBC0_B6CR,Peripheral Bank Configuration Register 0 6"
hexmask.long 0x00 20.--31. 0x100000 " BAS ,Base Address Select"
bitfld.long 0x00 17.--19. "  BS ,Bank Size" "1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB"
bitfld.long 0x00 15.--16. "  BU ,Bank Usage" "-,Read-only,Write-only,Read/Write"
textline "                        "
bitfld.long 0x00 13.--14. " BW  ,Bus Width" "8-bit,16-bit,Reserved,32-bit"
group dcr:0x13++0x0
saveout dcr:0x12 %l 0x7
line.long 0x0 "EBC0_B7CR,Peripheral Bank Configuration Register 0 7"
hexmask.long 0x00 20.--31. 0x100000 " BAS ,Base Address Select"
bitfld.long 0x00 17.--19. "  BS ,Bank Size" "1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB"
bitfld.long 0x00 15.--16. "  BU ,Bank Usage" "-,Read-only,Write-only,Read/Write"
textline "                        "
bitfld.long 0x00 13.--14. " BW  ,Bus Width" "8-bit,16-bit,Reserved,32-bit"
group dcr:0x13++0x0
saveout dcr:0x12 %l 0x10
line.long 0x0 "EBC0_B0AP,Peripheral Bank 0 Access Parameter Register 0"
bitfld.long 0x00 31. " BME ,Burst Mode Enable" "-,Enabled"
hexmask.long.byte 0x00 23.--30. 1. "   TWT ,Transfer Wait"
bitfld.long 0x00 26.--30. "          FWT ,First Wait" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles,8 cycles,9 cycles,10 cycles,11 cycles,12 cycles,13 cycles,14 cycles,15 cycles,16 cycles,17 cycles,18 cycles,19 cycles,20 cycles,21 cycles,22 cycles,23 cycles,24 cycles,25 cycles,26 cycles,27 cycles,28 cycles,29 cycles,30 cycles,31 cycles"
textline "                        "
bitfld.long 0x00 23.--25. " BWT ,Burst Wait" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
bitfld.long 0x00 22. "  BCE ,Fixed Length Burst Reads" "-,Enabled"
bitfld.long 0x00 20.--21. "     BCT ,Fixed Length Burst Count" "2 transfers,4 transfers,8 transfers,16 transfers"
textline "                        "
bitfld.long 0x00 18.--19. " CSN ,Chip Select On Timing" "-,1 cycle,2 cycles,3 cycles"
bitfld.long 0x00 16.--17. "  OEN ,Output Enable On Timing" "-,1 cycle,2 cycles,3 cycles"
bitfld.long 0x00 14.--15. "    WBN ,Write Byte Enable On Timing" "-,1 cycle,2 cycles,3 cycles"
textline "                        "
bitfld.long 0x00 12.--13. " WBF ,Write Byte Enable Off Timing (If bursting and ready pin input are disabled)" "-,1 cycle,2 cycles,3 cycles"
bitfld.long 0x00 9.--11. "  TH  ,Transfer Hold" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
bitfld.long 0x00 8. "    RE  ,Ready Enable" "-,Enabled"
textline "                        "
bitfld.long 0x00 7. " SOR ,Sampling of Ready for Device Paced" "Before,Same"
bitfld.long 0x00 6. "    BEM ,Byte Enable Mode" "Write,Read/write"
bitfld.long 0x00 5. "  PEN ,Parity Enable" "-,Enabled"
group dcr:0x13++0x0
saveout dcr:0x12 %l 0x11
line.long 0x0 "EBC0_B1AP,Peripheral Bank 1 Access Parameter Register 0"
bitfld.long 0x00 31. " BME ,Burst Mode Enable" "-,Enabled"
hexmask.long.byte 0x00 23.--30. 1. "   TWT ,Transfer Wait"
bitfld.long 0x00 26.--30. "          FWT ,First Wait" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles,8 cycles,9 cycles,10 cycles,11 cycles,12 cycles,13 cycles,14 cycles,15 cycles,16 cycles,17 cycles,18 cycles,19 cycles,20 cycles,21 cycles,22 cycles,23 cycles,24 cycles,25 cycles,26 cycles,27 cycles,28 cycles,29 cycles,30 cycles,31 cycles"
textline "                        "
bitfld.long 0x00 23.--25. " BWT ,Burst Wait" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
bitfld.long 0x00 22. "  BCE ,Fixed Length Burst Reads" "-,Enabled"
bitfld.long 0x00 20.--21. "     BCT ,Fixed Length Burst Count" "2 transfers,4 transfers,8 transfers,16 transfers"
textline "                        "
bitfld.long 0x00 18.--19. " CSN ,Chip Select On Timing" "-,1 cycle,2 cycles,3 cycles"
bitfld.long 0x00 16.--17. "  OEN ,Output Enable On Timing" "-,1 cycle,2 cycles,3 cycles"
bitfld.long 0x00 14.--15. "    WBN ,Write Byte Enable On Timing" "-,1 cycle,2 cycles,3 cycles"
textline "                        "
bitfld.long 0x00 12.--13. " WBF ,Write Byte Enable Off Timing (If bursting and ready pin input are disabled)" "-,1 cycle,2 cycles,3 cycles"
bitfld.long 0x00 9.--11. "  TH  ,Transfer Hold" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
bitfld.long 0x00 8. "    RE  ,Ready Enable" "-,Enabled"
textline "                        "
bitfld.long 0x00 7. " SOR ,Sampling of Ready for Device Paced" "Before,Same"
bitfld.long 0x00 6. "    BEM ,Byte Enable Mode" "Write,Read/write"
bitfld.long 0x00 5. "  PEN ,Parity Enable" "-,Enabled"
group dcr:0x13++0x0
saveout dcr:0x12 %l 0x12
line.long 0x0 "EBC0_B2AP,Peripheral Bank 2 Access Parameter Register 0"
bitfld.long 0x00 31. " BME ,Burst Mode Enable" "-,Enabled"
hexmask.long.byte 0x00 23.--30. 1. "   TWT ,Transfer Wait"
bitfld.long 0x00 26.--30. "          FWT ,First Wait" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles,8 cycles,9 cycles,10 cycles,11 cycles,12 cycles,13 cycles,14 cycles,15 cycles,16 cycles,17 cycles,18 cycles,19 cycles,20 cycles,21 cycles,22 cycles,23 cycles,24 cycles,25 cycles,26 cycles,27 cycles,28 cycles,29 cycles,30 cycles,31 cycles"
textline "                        "
bitfld.long 0x00 23.--25. " BWT ,Burst Wait" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
bitfld.long 0x00 22. "  BCE ,Fixed Length Burst Reads" "-,Enabled"
bitfld.long 0x00 20.--21. "     BCT ,Fixed Length Burst Count" "2 transfers,4 transfers,8 transfers,16 transfers"
textline "                        "
bitfld.long 0x00 18.--19. " CSN ,Chip Select On Timing" "-,1 cycle,2 cycles,3 cycles"
bitfld.long 0x00 16.--17. "  OEN ,Output Enable On Timing" "-,1 cycle,2 cycles,3 cycles"
bitfld.long 0x00 14.--15. "    WBN ,Write Byte Enable On Timing" "-,1 cycle,2 cycles,3 cycles"
textline "                        "
bitfld.long 0x00 12.--13. " WBF ,Write Byte Enable Off Timing (If bursting and ready pin input are disabled)" "-,1 cycle,2 cycles,3 cycles"
bitfld.long 0x00 9.--11. "  TH  ,Transfer Hold" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
bitfld.long 0x00 8. "    RE  ,Ready Enable" "-,Enabled"
textline "                        "
bitfld.long 0x00 7. " SOR ,Sampling of Ready for Device Paced" "Before,Same"
bitfld.long 0x00 6. "    BEM ,Byte Enable Mode" "Write,Read/write"
bitfld.long 0x00 5. "  PEN ,Parity Enable" "-,Enabled"
group dcr:0x13++0x0
saveout dcr:0x12 %l 0x13
line.long 0x0 "EBC0_B3AP,Peripheral Bank 3 Access Parameter Register 0"
bitfld.long 0x00 31. " BME ,Burst Mode Enable" "-,Enabled"
hexmask.long.byte 0x00 23.--30. 1. "   TWT ,Transfer Wait"
bitfld.long 0x00 26.--30. "          FWT ,First Wait" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles,8 cycles,9 cycles,10 cycles,11 cycles,12 cycles,13 cycles,14 cycles,15 cycles,16 cycles,17 cycles,18 cycles,19 cycles,20 cycles,21 cycles,22 cycles,23 cycles,24 cycles,25 cycles,26 cycles,27 cycles,28 cycles,29 cycles,30 cycles,31 cycles"
textline "                        "
bitfld.long 0x00 23.--25. " BWT ,Burst Wait" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
bitfld.long 0x00 22. "  BCE ,Fixed Length Burst Reads" "-,Enabled"
bitfld.long 0x00 20.--21. "     BCT ,Fixed Length Burst Count" "2 transfers,4 transfers,8 transfers,16 transfers"
textline "                        "
bitfld.long 0x00 18.--19. " CSN ,Chip Select On Timing" "-,1 cycle,2 cycles,3 cycles"
bitfld.long 0x00 16.--17. "  OEN ,Output Enable On Timing" "-,1 cycle,2 cycles,3 cycles"
bitfld.long 0x00 14.--15. "    WBN ,Write Byte Enable On Timing" "-,1 cycle,2 cycles,3 cycles"
textline "                        "
bitfld.long 0x00 12.--13. " WBF ,Write Byte Enable Off Timing (If bursting and ready pin input are disabled)" "-,1 cycle,2 cycles,3 cycles"
bitfld.long 0x00 9.--11. "  TH  ,Transfer Hold" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
bitfld.long 0x00 8. "    RE  ,Ready Enable" "-,Enabled"
textline "                        "
bitfld.long 0x00 7. " SOR ,Sampling of Ready for Device Paced" "Before,Same"
bitfld.long 0x00 6. "    BEM ,Byte Enable Mode" "Write,Read/write"
bitfld.long 0x00 5. "  PEN ,Parity Enable" "-,Enabled"
group dcr:0x13++0x0
saveout dcr:0x12 %l 0x14
line.long 0x0 "EBC0_B4AP,Peripheral Bank 4 Access Parameter Register 0"
bitfld.long 0x00 31. " BME ,Burst Mode Enable" "-,Enabled"
hexmask.long.byte 0x00 23.--30. 1. "   TWT ,Transfer Wait"
bitfld.long 0x00 26.--30. "          FWT ,First Wait" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles,8 cycles,9 cycles,10 cycles,11 cycles,12 cycles,13 cycles,14 cycles,15 cycles,16 cycles,17 cycles,18 cycles,19 cycles,20 cycles,21 cycles,22 cycles,23 cycles,24 cycles,25 cycles,26 cycles,27 cycles,28 cycles,29 cycles,30 cycles,31 cycles"
textline "                        "
bitfld.long 0x00 23.--25. " BWT ,Burst Wait" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
bitfld.long 0x00 22. "  BCE ,Fixed Length Burst Reads" "-,Enabled"
bitfld.long 0x00 20.--21. "     BCT ,Fixed Length Burst Count" "2 transfers,4 transfers,8 transfers,16 transfers"
textline "                        "
bitfld.long 0x00 18.--19. " CSN ,Chip Select On Timing" "-,1 cycle,2 cycles,3 cycles"
bitfld.long 0x00 16.--17. "  OEN ,Output Enable On Timing" "-,1 cycle,2 cycles,3 cycles"
bitfld.long 0x00 14.--15. "    WBN ,Write Byte Enable On Timing" "-,1 cycle,2 cycles,3 cycles"
textline "                        "
bitfld.long 0x00 12.--13. " WBF ,Write Byte Enable Off Timing (If bursting and ready pin input are disabled)" "-,1 cycle,2 cycles,3 cycles"
bitfld.long 0x00 9.--11. "  TH  ,Transfer Hold" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
bitfld.long 0x00 8. "    RE  ,Ready Enable" "-,Enabled"
textline "                        "
bitfld.long 0x00 7. " SOR ,Sampling of Ready for Device Paced" "Before,Same"
bitfld.long 0x00 6. "    BEM ,Byte Enable Mode" "Write,Read/write"
bitfld.long 0x00 5. "  PEN ,Parity Enable" "-,Enabled"
group dcr:0x13++0x0
saveout dcr:0x12 %l 0x15
line.long 0x0 "EBC0_B5AP,Peripheral Bank 5 Access Parameter Register 0"
bitfld.long 0x00 31. " BME ,Burst Mode Enable" "-,Enabled"
hexmask.long.byte 0x00 23.--30. 1. "   TWT ,Transfer Wait"
bitfld.long 0x00 26.--30. "          FWT ,First Wait" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles,8 cycles,9 cycles,10 cycles,11 cycles,12 cycles,13 cycles,14 cycles,15 cycles,16 cycles,17 cycles,18 cycles,19 cycles,20 cycles,21 cycles,22 cycles,23 cycles,24 cycles,25 cycles,26 cycles,27 cycles,28 cycles,29 cycles,30 cycles,31 cycles"
textline "                        "
bitfld.long 0x00 23.--25. " BWT ,Burst Wait" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
bitfld.long 0x00 22. "  BCE ,Fixed Length Burst Reads" "-,Enabled"
bitfld.long 0x00 20.--21. "     BCT ,Fixed Length Burst Count" "2 transfers,4 transfers,8 transfers,16 transfers"
textline "                        "
bitfld.long 0x00 18.--19. " CSN ,Chip Select On Timing" "-,1 cycle,2 cycles,3 cycles"
bitfld.long 0x00 16.--17. "  OEN ,Output Enable On Timing" "-,1 cycle,2 cycles,3 cycles"
bitfld.long 0x00 14.--15. "    WBN ,Write Byte Enable On Timing" "-,1 cycle,2 cycles,3 cycles"
textline "                        "
bitfld.long 0x00 12.--13. " WBF ,Write Byte Enable Off Timing (If bursting and ready pin input are disabled)" "-,1 cycle,2 cycles,3 cycles"
bitfld.long 0x00 9.--11. "  TH  ,Transfer Hold" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
bitfld.long 0x00 8. "    RE  ,Ready Enable" "-,Enabled"
textline "                        "
bitfld.long 0x00 7. " SOR ,Sampling of Ready for Device Paced" "Before,Same"
bitfld.long 0x00 6. "    BEM ,Byte Enable Mode" "Write,Read/write"
bitfld.long 0x00 5. "  PEN ,Parity Enable" "-,Enabled"
group dcr:0x13++0x0
saveout dcr:0x12 %l 0x16
line.long 0x0 "EBC0_B6AP,Peripheral Bank 6 Access Parameter Register 0"
bitfld.long 0x00 31. " BME ,Burst Mode Enable" "-,Enabled"
hexmask.long.byte 0x00 23.--30. 1. "   TWT ,Transfer Wait"
bitfld.long 0x00 26.--30. "          FWT ,First Wait" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles,8 cycles,9 cycles,10 cycles,11 cycles,12 cycles,13 cycles,14 cycles,15 cycles,16 cycles,17 cycles,18 cycles,19 cycles,20 cycles,21 cycles,22 cycles,23 cycles,24 cycles,25 cycles,26 cycles,27 cycles,28 cycles,29 cycles,30 cycles,31 cycles"
textline "                        "
bitfld.long 0x00 23.--25. " BWT ,Burst Wait" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
bitfld.long 0x00 22. "  BCE ,Fixed Length Burst Reads" "-,Enabled"
bitfld.long 0x00 20.--21. "     BCT ,Fixed Length Burst Count" "2 transfers,4 transfers,8 transfers,16 transfers"
textline "                        "
bitfld.long 0x00 18.--19. " CSN ,Chip Select On Timing" "-,1 cycle,2 cycles,3 cycles"
bitfld.long 0x00 16.--17. "  OEN ,Output Enable On Timing" "-,1 cycle,2 cycles,3 cycles"
bitfld.long 0x00 14.--15. "    WBN ,Write Byte Enable On Timing" "-,1 cycle,2 cycles,3 cycles"
textline "                        "
bitfld.long 0x00 12.--13. " WBF ,Write Byte Enable Off Timing (If bursting and ready pin input are disabled)" "-,1 cycle,2 cycles,3 cycles"
bitfld.long 0x00 9.--11. "  TH  ,Transfer Hold" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
bitfld.long 0x00 8. "    RE  ,Ready Enable" "-,Enabled"
textline "                        "
bitfld.long 0x00 7. " SOR ,Sampling of Ready for Device Paced" "Before,Same"
bitfld.long 0x00 6. "    BEM ,Byte Enable Mode" "Write,Read/write"
bitfld.long 0x00 5. "  PEN ,Parity Enable" "-,Enabled"
group dcr:0x13++0x0
saveout dcr:0x12 %l 0x17
line.long 0x0 "EBC0_B7AP,Peripheral Bank 7 Access Parameter Register 0"
bitfld.long 0x00 31. " BME ,Burst Mode Enable" "-,Enabled"
hexmask.long.byte 0x00 23.--30. 1. "   TWT ,Transfer Wait"
bitfld.long 0x00 26.--30. "          FWT ,First Wait" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles,8 cycles,9 cycles,10 cycles,11 cycles,12 cycles,13 cycles,14 cycles,15 cycles,16 cycles,17 cycles,18 cycles,19 cycles,20 cycles,21 cycles,22 cycles,23 cycles,24 cycles,25 cycles,26 cycles,27 cycles,28 cycles,29 cycles,30 cycles,31 cycles"
textline "                        "
bitfld.long 0x00 23.--25. " BWT ,Burst Wait" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
bitfld.long 0x00 22. "  BCE ,Fixed Length Burst Reads" "-,Enabled"
bitfld.long 0x00 20.--21. "     BCT ,Fixed Length Burst Count" "2 transfers,4 transfers,8 transfers,16 transfers"
textline "                        "
bitfld.long 0x00 18.--19. " CSN ,Chip Select On Timing" "-,1 cycle,2 cycles,3 cycles"
bitfld.long 0x00 16.--17. "  OEN ,Output Enable On Timing" "-,1 cycle,2 cycles,3 cycles"
bitfld.long 0x00 14.--15. "    WBN ,Write Byte Enable On Timing" "-,1 cycle,2 cycles,3 cycles"
textline "                        "
bitfld.long 0x00 12.--13. " WBF ,Write Byte Enable Off Timing (If bursting and ready pin input are disabled)" "-,1 cycle,2 cycles,3 cycles"
bitfld.long 0x00 9.--11. "  TH  ,Transfer Hold" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
bitfld.long 0x00 8. "    RE  ,Ready Enable" "-,Enabled"
textline "                        "
bitfld.long 0x00 7. " SOR ,Sampling of Ready for Device Paced" "Before,Same"
bitfld.long 0x00 6. "    BEM ,Byte Enable Mode" "Write,Read/write"
bitfld.long 0x00 5. "  PEN ,Parity Enable" "-,Enabled"
group dcr:0x13++0x0
saveout dcr:0x12 %l 0x20
line.long 0x0 "EBC0_BEAR,Peripheral Bus Error Address Register 0"
group dcr:0x13++0x0
saveout dcr:0x12 %l 0x21
line.long 0x0 "EBC0_BESR,Peripheral Bus Error Status Register 0"
bitfld.long 0x00 31. " PYE  ,Parity Error Detected on Read" "-,Error"
bitfld.long 0x00 30. "        PRE   ,Bank Protection Error" "-,Error"
textline "                        "
bitfld.long 0x00 29. " PERR ,PerErr" "-,Error"
bitfld.long 0x00 28. "        ETE   ,External Bus Timeout Error" "-,Error"
textline "                        "
bitfld.long 0x00 27. " RWS  ,Read/write Error Status" "Write,Read"
bitfld.long 0x00 26. "        SAS   ,Sequential Address status" "-,Active"
textline "                        "
bitfld.long 0x00 25. " EINT ,Error Interrupt" "-,Interrupt"
bitfld.long 0x00 24. "    DMAEP ,DMA External Peripheral Error" "-,Error"
group dcr:0x13++0x0
saveout dcr:0x12 %l 0x23
line.long 0x0 "EBC0_CFG,EBC Configuration Register 0"
bitfld.long 0x00 31. " LE   ,Lock Error" "-,Locked"
bitfld.long 0x00 30. "       PTD   ,Device-Paced Time-out Disable" "-,Disabled"
textline "                        "
bitfld.long 0x00 27.--29. " RTC  ,Ready Timeout Count" "16 cycles,32 cycles,64 cycles,128 cycles,256 cycles,512 cycles,1024 cycles,2048 cycles"
bitfld.long 0x00 26. "  ATC   ,Address Bus High Impedance Control" "Tri-state,Previous"
textline "                        "
bitfld.long 0x00 25. " DTC  ,Data Bus High Impedance Control" "Tri-state,Previous"
bitfld.long 0x00 24. "    CTC   ,Control Signal High Impedance Control" "Tri-state,Inactive/held"
textline "                        "
bitfld.long 0x00 23. " OEO  ,External Bus Override High Impedance Control" "-,Enabled"
bitfld.long 0x00 22. "      EMC   ,External Master High Impedance Control" "HOLD_ACK=1,HOLD_ACK=1/except PerCS0:7 driven"
textline "                        "
bitfld.long 0x00 17. " PME  ,Power Management Enable" "-,Enabled"
bitfld.long 0x00 12.--16. "      PMT   ,Power Management Timer" "-,32 cycles,64 cycles,96 cycles,128 cycles,160 cycles,192 cycles,224 cycles,256 cycles,288 cycles,320 cycles,352 cycles,384 cycles,416 cycles,448 cycles,480 cycles,512 cycles,544 cycles,576 cycles,608 cycles,640 cycles,672 cycles,704 cycles,736 cycles,768 cycles,800 cycles,832 cycles,864 cycles,896 cycles,928 cycles,960 cycles,992 cycles"
textline "                        "
bitfld.long 0x00 10.--11. " PR   ,Pending Request Timer" "16 cycles,32 cycles,64 cycles,128 cycles"
group dcr:0x13++0x0
saveout dcr:0x12 %l 0x24
line.long 0x0 "EBC0_CID,EBC Core ID Register 0"
hexmask.long.word 0x00 20.--31. 1. " CNUM ,Core Number"
hexmask.long.byte 0x00 12.--19. 1. "         CVAR  ,Core Variation"
textline "                        "
hexmask.long.word 0x00 0.--11. 1. " REV  ,Revision Number"
width 0xB
elif (cpu()=="PPC440GP")
base ANC:0x0:0x00000000
;EBC (External Bus Controller)
width 14.
group dcr:0x0013++0x00
saveout dcr:0x0012 %l 0x0
line.long 0x00 "EBC0_B0CR,Peripheral Bank 0 Configuration Register"
hexmask.long.word 0x00 20.--31. 1. " BAS  ,Base Address Select"
bitfld.long 0x00 17.--19. "        BS    ,Bank Size" "1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB"
bitfld.long 0x00 15.--16. "            BU   ,Bank Usage" "-,Read-only,Write-only,Read/Write"
textline "                       "
bitfld.long 0x00 13.--14. " BW   ,Bank Width" "8-bit,16-bit,Reserved,32-bit"
group dcr:0x0013++0x00
saveout dcr:0x0012 %l 0x1
line.long 0x00 "EBC0_B1CR,Peripheral Bank 1 Configuration Register"
hexmask.long.word 0x00 20.--31. 1. " BAS  ,Base Address Select"
bitfld.long 0x00 17.--19. "        BS    ,Bank Size" "1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB"
bitfld.long 0x00 15.--16. "            BU   ,Bank Usage" "-,Read-only,Write-only,Read/Write"
textline "                       "
bitfld.long 0x00 13.--14. " BW   ,Bank Width" "8-bit,16-bit,Reserved,32-bit"
group dcr:0x0013++0x00
saveout dcr:0x0012 %l 0x2
line.long 0x00 "EBC0_B2CR,Peripheral Bank 2 Configuration Register"
hexmask.long.word 0x00 20.--31. 1. " BAS  ,Base Address Select"
bitfld.long 0x00 17.--19. "        BS    ,Bank Size" "1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB"
bitfld.long 0x00 15.--16. "            BU   ,Bank Usage" "-,Read-only,Write-only,Read/Write"
textline "                       "
bitfld.long 0x00 13.--14. " BW   ,Bank Width" "8-bit,16-bit,Reserved,32-bit"
group dcr:0x0013++0x00
saveout dcr:0x0012 %l 0x3
line.long 0x00 "EBC0_B3CR,Peripheral Bank 3 Configuration Register"
hexmask.long.word 0x00 20.--31. 1. " BAS  ,Base Address Select"
bitfld.long 0x00 17.--19. "        BS    ,Bank Size" "1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB"
bitfld.long 0x00 15.--16. "            BU   ,Bank Usage" "-,Read-only,Write-only,Read/Write"
textline "                       "
bitfld.long 0x00 13.--14. " BW   ,Bank Width" "8-bit,16-bit,Reserved,32-bit"
group dcr:0x0013++0x00
saveout dcr:0x0012 %l 0x4
line.long 0x00 "EBC0_B4CR,Peripheral Bank 4 Configuration Register"
hexmask.long.word 0x00 20.--31. 1. " BAS  ,Base Address Select"
bitfld.long 0x00 17.--19. "        BS    ,Bank Size" "1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB"
bitfld.long 0x00 15.--16. "            BU   ,Bank Usage" "-,Read-only,Write-only,Read/Write"
textline "                       "
bitfld.long 0x00 13.--14. " BW   ,Bank Width" "8-bit,16-bit,Reserved,32-bit"
group dcr:0x0013++0x00
saveout dcr:0x0012 %l 0x5
line.long 0x00 "EBC0_B5CR,Peripheral Bank 5 Configuration Register"
hexmask.long.word 0x00 20.--31. 1. " BAS  ,Base Address Select"
bitfld.long 0x00 17.--19. "        BS    ,Bank Size" "1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB"
bitfld.long 0x00 15.--16. "            BU   ,Bank Usage" "-,Read-only,Write-only,Read/Write"
textline "                       "
bitfld.long 0x00 13.--14. " BW   ,Bank Width" "8-bit,16-bit,Reserved,32-bit"
group dcr:0x0013++0x00
saveout dcr:0x0012 %l 0x6
line.long 0x00 "EBC0_B6CR,Peripheral Bank 6 Configuration Register"
hexmask.long.word 0x00 20.--31. 1. " BAS  ,Base Address Select"
bitfld.long 0x00 17.--19. "        BS    ,Bank Size" "1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB"
bitfld.long 0x00 15.--16. "            BU   ,Bank Usage" "-,Read-only,Write-only,Read/Write"
textline "                       "
bitfld.long 0x00 13.--14. " BW   ,Bank Width" "8-bit,16-bit,Reserved,32-bit"
group dcr:0x0013++0x00
saveout dcr:0x0012 %l 0x7
line.long 0x00 "EBC0_B7CR,Peripheral Bank 7 Configuration Register"
hexmask.long.word 0x00 20.--31. 1. " BAS  ,Base Address Select"
bitfld.long 0x00 17.--19. "        BS    ,Bank Size" "1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB"
bitfld.long 0x00 15.--16. "            BU   ,Bank Usage" "-,Read-only,Write-only,Read/Write"
textline "                       "
bitfld.long 0x00 13.--14. " BW   ,Bank Width" "8-bit,16-bit,Reserved,32-bit"
group dcr:0x0013++0x00
saveout dcr:0x0012 %l 0x10
line.long 0x00 "EBC0_B0AP,Peripheral Bank 0 Access Parameters"
bitfld.long 0x00 31. " BME  ,Burst Mode Enable" "-,Enabled"
hexmask.long.byte 0x00 26.--30. 1. "     FWT   ,First Wait"
hexmask.long.byte 0x00 23.--25. 1. "                BWT  ,Burst Wait"
textline "                       "
bitfld.long 0x00 22. " BCE  ,Fixed Length Burst Reads" "-,Enabled"
bitfld.long 0x00 20.--21. "     BCT   ,Fixed Length Burst Count" "2,4,8,16"
bitfld.long 0x00 18.--19. "                CSN  ,Chip Select On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                       "
bitfld.long 0x00 16.--17. " OEN  ,Output Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 14.--15. "    WBN   ,Write Byte Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 12.--13. "          WBF  ,Write Byte Enable Off Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                       "
bitfld.long 0x00 9.--11. " TH   ,Transfer Hold" "0 PerClk,1 PerClk,2 PerClk,3 PerClk,4 PerClk,5 PerClk,6 PerClk,7 PerClk"
bitfld.long 0x00 8. "    RE    ,Ready Enable" "-,Enabled"
bitfld.long 0x00 7. "           SOR  ,Sample on Ready" "After PerReady,At the same time"
textline "                       "
bitfld.long 0x00 6. " BEM  ,Byte Enable Mode" "Write,Read/Write"
bitfld.long 0x00 5. "  PEN   ,Parity Enable" "-,Enabled"
group dcr:0x0013++0x00
saveout dcr:0x0012 %l 0x11
line.long 0x00 "EBC0_B1AP,Peripheral Bank 1 Access Parameters"
bitfld.long 0x00 31. " BME  ,Burst Mode Enable" "-,Enabled"
hexmask.long.byte 0x00 26.--30. 1. "     FWT   ,First Wait"
hexmask.long.byte 0x00 23.--25. 1. "                BWT  ,Burst Wait"
textline "                       "
bitfld.long 0x00 22. " BCE  ,Fixed Length Burst Reads" "-,Enabled"
bitfld.long 0x00 20.--21. "     BCT   ,Fixed Length Burst Count" "2,4,8,16"
bitfld.long 0x00 18.--19. "                CSN  ,Chip Select On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                       "
bitfld.long 0x00 16.--17. " OEN  ,Output Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 14.--15. "    WBN   ,Write Byte Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 12.--13. "          WBF  ,Write Byte Enable Off Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                       "
bitfld.long 0x00 9.--11. " TH   ,Transfer Hold" "0 PerClk,1 PerClk,2 PerClk,3 PerClk,4 PerClk,5 PerClk,6 PerClk,7 PerClk"
bitfld.long 0x00 8. "    RE    ,Ready Enable" "-,Enabled"
bitfld.long 0x00 7. "           SOR  ,Sample on Ready" "After PerReady,At the same time"
textline "                       "
bitfld.long 0x00 6. " BEM  ,Byte Enable Mode" "Write,Read/Write"
bitfld.long 0x00 5. "  PEN   ,Parity Enable" "-,Enabled"
group dcr:0x0013++0x00
saveout dcr:0x0012 %l 0x12
line.long 0x00 "EBC0_B2AP,Peripheral Bank 2 Access Parameters"
bitfld.long 0x00 31. " BME  ,Burst Mode Enable" "-,Enabled"
hexmask.long.byte 0x00 26.--30. 1. "     FWT   ,First Wait"
hexmask.long.byte 0x00 23.--25. 1. "                BWT  ,Burst Wait"
textline "                       "
bitfld.long 0x00 22. " BCE  ,Fixed Length Burst Reads" "-,Enabled"
bitfld.long 0x00 20.--21. "     BCT   ,Fixed Length Burst Count" "2,4,8,16"
bitfld.long 0x00 18.--19. "                CSN  ,Chip Select On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                       "
bitfld.long 0x00 16.--17. " OEN  ,Output Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 14.--15. "    WBN   ,Write Byte Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 12.--13. "          WBF  ,Write Byte Enable Off Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                       "
bitfld.long 0x00 9.--11. " TH   ,Transfer Hold" "0 PerClk,1 PerClk,2 PerClk,3 PerClk,4 PerClk,5 PerClk,6 PerClk,7 PerClk"
bitfld.long 0x00 8. "    RE    ,Ready Enable" "-,Enabled"
bitfld.long 0x00 7. "           SOR  ,Sample on Ready" "After PerReady,At the same time"
textline "                       "
bitfld.long 0x00 6. " BEM  ,Byte Enable Mode" "Write,Read/Write"
bitfld.long 0x00 5. "  PEN   ,Parity Enable" "-,Enabled"
group dcr:0x0013++0x00
saveout dcr:0x0012 %l 0x13
line.long 0x00 "EBC0_B3AP,Peripheral Bank 3 Access Parameters"
bitfld.long 0x00 31. " BME  ,Burst Mode Enable" "-,Enabled"
hexmask.long.byte 0x00 26.--30. 1. "     FWT   ,First Wait"
hexmask.long.byte 0x00 23.--25. 1. "                BWT  ,Burst Wait"
textline "                       "
bitfld.long 0x00 22. " BCE  ,Fixed Length Burst Reads" "-,Enabled"
bitfld.long 0x00 20.--21. "     BCT   ,Fixed Length Burst Count" "2,4,8,16"
bitfld.long 0x00 18.--19. "                CSN  ,Chip Select On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                       "
bitfld.long 0x00 16.--17. " OEN  ,Output Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 14.--15. "    WBN   ,Write Byte Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 12.--13. "          WBF  ,Write Byte Enable Off Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                       "
bitfld.long 0x00 9.--11. " TH   ,Transfer Hold" "0 PerClk,1 PerClk,2 PerClk,3 PerClk,4 PerClk,5 PerClk,6 PerClk,7 PerClk"
bitfld.long 0x00 8. "    RE    ,Ready Enable" "-,Enabled"
bitfld.long 0x00 7. "           SOR  ,Sample on Ready" "After PerReady,At the same time"
textline "                       "
bitfld.long 0x00 6. " BEM  ,Byte Enable Mode" "Write,Read/Write"
bitfld.long 0x00 5. "  PEN   ,Parity Enable" "-,Enabled"
group dcr:0x0013++0x00
saveout dcr:0x0012 %l 0x14
line.long 0x00 "EBC0_B4AP,Peripheral Bank 4 Access Parameters"
bitfld.long 0x00 31. " BME  ,Burst Mode Enable" "-,Enabled"
hexmask.long.byte 0x00 26.--30. 1. "     FWT   ,First Wait"
hexmask.long.byte 0x00 23.--25. 1. "                BWT  ,Burst Wait"
textline "                       "
bitfld.long 0x00 22. " BCE  ,Fixed Length Burst Reads" "-,Enabled"
bitfld.long 0x00 20.--21. "     BCT   ,Fixed Length Burst Count" "2,4,8,16"
bitfld.long 0x00 18.--19. "                CSN  ,Chip Select On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                       "
bitfld.long 0x00 16.--17. " OEN  ,Output Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 14.--15. "    WBN   ,Write Byte Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 12.--13. "          WBF  ,Write Byte Enable Off Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                       "
bitfld.long 0x00 9.--11. " TH   ,Transfer Hold" "0 PerClk,1 PerClk,2 PerClk,3 PerClk,4 PerClk,5 PerClk,6 PerClk,7 PerClk"
bitfld.long 0x00 8. "    RE    ,Ready Enable" "-,Enabled"
bitfld.long 0x00 7. "           SOR  ,Sample on Ready" "After PerReady,At the same time"
textline "                       "
bitfld.long 0x00 6. " BEM  ,Byte Enable Mode" "Write,Read/Write"
bitfld.long 0x00 5. "  PEN   ,Parity Enable" "-,Enabled"
group dcr:0x0013++0x00
saveout dcr:0x0012 %l 0x15
line.long 0x00 "EBC0_B5AP,Peripheral Bank 5 Access Parameters"
bitfld.long 0x00 31. " BME  ,Burst Mode Enable" "-,Enabled"
hexmask.long.byte 0x00 26.--30. 1. "     FWT   ,First Wait"
hexmask.long.byte 0x00 23.--25. 1. "                BWT  ,Burst Wait"
textline "                       "
bitfld.long 0x00 22. " BCE  ,Fixed Length Burst Reads" "-,Enabled"
bitfld.long 0x00 20.--21. "     BCT   ,Fixed Length Burst Count" "2,4,8,16"
bitfld.long 0x00 18.--19. "                CSN  ,Chip Select On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                       "
bitfld.long 0x00 16.--17. " OEN  ,Output Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 14.--15. "    WBN   ,Write Byte Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 12.--13. "          WBF  ,Write Byte Enable Off Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                       "
bitfld.long 0x00 9.--11. " TH   ,Transfer Hold" "0 PerClk,1 PerClk,2 PerClk,3 PerClk,4 PerClk,5 PerClk,6 PerClk,7 PerClk"
bitfld.long 0x00 8. "    RE    ,Ready Enable" "-,Enabled"
bitfld.long 0x00 7. "           SOR  ,Sample on Ready" "After PerReady,At the same time"
textline "                       "
bitfld.long 0x00 6. " BEM  ,Byte Enable Mode" "Write,Read/Write"
bitfld.long 0x00 5. "  PEN   ,Parity Enable" "-,Enabled"
group dcr:0x0013++0x00
saveout dcr:0x0012 %l 0x16
line.long 0x00 "EBC0_B6AP,Peripheral Bank 6 Access Parameters"
bitfld.long 0x00 31. " BME  ,Burst Mode Enable" "-,Enabled"
hexmask.long.byte 0x00 26.--30. 1. "     FWT   ,First Wait"
hexmask.long.byte 0x00 23.--25. 1. "                BWT  ,Burst Wait"
textline "                       "
bitfld.long 0x00 22. " BCE  ,Fixed Length Burst Reads" "-,Enabled"
bitfld.long 0x00 20.--21. "     BCT   ,Fixed Length Burst Count" "2,4,8,16"
bitfld.long 0x00 18.--19. "                CSN  ,Chip Select On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                       "
bitfld.long 0x00 16.--17. " OEN  ,Output Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 14.--15. "    WBN   ,Write Byte Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 12.--13. "          WBF  ,Write Byte Enable Off Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                       "
bitfld.long 0x00 9.--11. " TH   ,Transfer Hold" "0 PerClk,1 PerClk,2 PerClk,3 PerClk,4 PerClk,5 PerClk,6 PerClk,7 PerClk"
bitfld.long 0x00 8. "    RE    ,Ready Enable" "-,Enabled"
bitfld.long 0x00 7. "           SOR  ,Sample on Ready" "After PerReady,At the same time"
textline "                       "
bitfld.long 0x00 6. " BEM  ,Byte Enable Mode" "Write,Read/Write"
bitfld.long 0x00 5. "  PEN   ,Parity Enable" "-,Enabled"
group dcr:0x0013++0x00
saveout dcr:0x0012 %l 0x17
line.long 0x00 "EBC0_B7AP,Peripheral Bank 7 Access Parameters"
bitfld.long 0x00 31. " BME  ,Burst Mode Enable" "-,Enabled"
hexmask.long.byte 0x00 26.--30. 1. "     FWT   ,First Wait"
hexmask.long.byte 0x00 23.--25. 1. "                BWT  ,Burst Wait"
textline "                       "
bitfld.long 0x00 22. " BCE  ,Fixed Length Burst Reads" "-,Enabled"
bitfld.long 0x00 20.--21. "     BCT   ,Fixed Length Burst Count" "2,4,8,16"
bitfld.long 0x00 18.--19. "                CSN  ,Chip Select On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                       "
bitfld.long 0x00 16.--17. " OEN  ,Output Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 14.--15. "    WBN   ,Write Byte Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 12.--13. "          WBF  ,Write Byte Enable Off Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                       "
bitfld.long 0x00 9.--11. " TH   ,Transfer Hold" "0 PerClk,1 PerClk,2 PerClk,3 PerClk,4 PerClk,5 PerClk,6 PerClk,7 PerClk"
bitfld.long 0x00 8. "    RE    ,Ready Enable" "-,Enabled"
bitfld.long 0x00 7. "           SOR  ,Sample on Ready" "After PerReady,At the same time"
textline "                       "
bitfld.long 0x00 6. " BEM  ,Byte Enable Mode" "Write,Read/Write"
bitfld.long 0x00 5. "  PEN   ,Parity Enable" "-,Enabled"
rgroup dcr:0x0013++0x00
saveout dcr:0x0012 %l 0x20
line.long 0x00 "EBC0_BEAR,Peripherial Bus Error Address Register"
group dcr:0x0013++0x0
saveout dcr:0x0012 %l 0x0021
line.long 0x00 "EBC0_BESR,Peripheral Bus Error Status Register"
bitfld.long 0x00 31. " PYE  ,Parity Error Detected on Read" "-,Error"
bitfld.long 0x00 30. "       PRE   ,Bank Protection Error" "-,Error"
bitfld.long 0x00 29. "             PERR ,PerErr" "-,Error"
textline "                       "
bitfld.long 0x00 28. " ETE  ,External Bus Timeout Error" "-,Error"
bitfld.long 0x00 27. "       RWS   ,Read/Write Error Status" "Write,Read"
bitfld.long 0x00 26. "             SAS  ,Sequential Address Status" "Not active,Active"
textline "                       "
bitfld.long 0x00 25. " EINT ,Error Interrupt" "-,Error"
bitfld.long 0x00 24. "       DMAEP ,DMA External Peripheral Error" "-,Error"
group dcr:0x0013++0x00
saveout dcr:0x0012 %l 0x0023
line.long 0x00 "EBC0_CFG,EBC Configuration Register"
bitfld.long 0x00 31. " LE   ,Lock Error" "-,Error"
bitfld.long 0x00 30. "       PTD   ,Device-Paced Time-out Disable" "-,Disabled"
bitfld.long 0x00 27.--29. "          RTC  ,Ready Timeout Count" "16,32,64,128,256,512,1024,2048"
textline "                       "
bitfld.long 0x00 26. " ATC  ,Address Bus High Impedance Control" "Tri-state,PrevData"
bitfld.long 0x00 25. "   DTC   ,Data Bus High Impedance Control" "Tri-state,PrevData"
bitfld.long 0x00 24. "         CTC  ,Control Signal High Impedance Control" "Tri-state,Inactive"
textline "                       "
bitfld.long 0x00 23. " OEO  ,External Bus Override High Impedance Control" "-,Enabled"
bitfld.long 0x00 22. "     EMC   ,External Master High Impendance Control" "All,Except /PerCS0:7"
bitfld.long 0x00 17. "  PME  ,Power Management Enable" "-,Enabled"
textline "                       "
hexmask.long.byte 0x00 12.--16. 1. " PMT  ,Power Managemant Timer"
bitfld.long 0x00 10.--11. "          PR    ,Pending Request Timer" "16,32,64,128"
rgroup dcr:0x0013++0x00
saveout dcr:0x0012 %l 0x0024
line.long 0x00 "EBC0_CID,EBC Core ID Register"
hexmask.long.word 0x00 20.--31. 1. " CNUM ,Core Number"
hexmask.long.byte 0x00 12.--19. 1. "        CVAR  ,Core Variation"
hexmask.long.word 0x00 0.--11. 1. "                REV  ,Revision Number"
width 0xB
elif ((cpu()=="PPC440EP")||(cpu()=="PPC440GR")||(cpu()=="PPC440EPX"))
;External Bus Controller
width 0x0C
group dcr:0x0013++0x0
saveout dcr:0x0012 %l 0x0
line.long 0x00 "EBC0_B0CR,Peripheral Bank 0 Configuration Register"
hexmask.long 0x00 20.--31. 0x100000 " BAS  ,Base Address Select"
bitfld.long 0x00 17.--19. "      BS  ,Bank Size" "1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB"
bitfld.long 0x00 15.--16. "    BU  ,Bank Usage" "-,Read-only,Write-only,Read/Write"
bitfld.long 0x00 13.--14. "  BW  ,Bus Width" "8-bit,16-bit,32-bit,Reserved"
group dcr:0x0013++0x0
saveout dcr:0x0012 %l 0x1
line.long 0x00 "EBC0_B1CR,Peripheral Bank 1 Configuration Register"
hexmask.long 0x00 20.--31. 0x100000 " BAS  ,Base Address Select"
bitfld.long 0x00 17.--19. "      BS  ,Bank Size" "1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB"
bitfld.long 0x00 15.--16. "    BU  ,Bank Usage" "-,Read-only,Write-only,Read/Write"
bitfld.long 0x00 13.--14. "  BW  ,Bus Width" "8-bit,16-bit,32-bit,Reserved"
group dcr:0x0013++0x0
saveout dcr:0x0012 %l 0x2
line.long 0x00 "EBC0_B2CR,Peripheral Bank 2 Configuration Register"
hexmask.long 0x00 20.--31. 0x100000 " BAS  ,Base Address Select"
bitfld.long 0x00 17.--19. "      BS  ,Bank Size" "1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB"
bitfld.long 0x00 15.--16. "    BU  ,Bank Usage" "-,Read-only,Write-only,Read/Write"
bitfld.long 0x00 13.--14. "  BW  ,Bus Width" "8-bit,16-bit,32-bit,Reserved"
group dcr:0x0013++0x0
saveout dcr:0x0012 %l 0x3
line.long 0x00 "EBC0_B3CR,Peripheral Bank 3 Configuration Register"
hexmask.long 0x00 20.--31. 0x100000 " BAS  ,Base Address Select"
bitfld.long 0x00 17.--19. "      BS  ,Bank Size" "1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB"
bitfld.long 0x00 15.--16. "    BU  ,Bank Usage" "-,Read-only,Write-only,Read/Write"
bitfld.long 0x00 13.--14. "  BW  ,Bus Width" "8-bit,16-bit,32-bit,Reserved"
group dcr:0x0013++0x0
saveout dcr:0x0012 %l 0x4
line.long 0x00 "EBC0_B4CR,Peripheral Bank 4 Configuration Register"
hexmask.long 0x00 20.--31. 0x100000 " BAS  ,Base Address Select"
bitfld.long 0x00 17.--19. "      BS  ,Bank Size" "1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB"
bitfld.long 0x00 15.--16. "    BU  ,Bank Usage" "-,Read-only,Write-only,Read/Write"
bitfld.long 0x00 13.--14. "  BW  ,Bus Width" "8-bit,16-bit,32-bit,Reserved"
group dcr:0x0013++0x0
saveout dcr:0x0012 %l 0x5
line.long 0x00 "EBC0_B5CR,Peripheral Bank 5 Configuration Register"
hexmask.long 0x00 20.--31. 0x100000 " BAS  ,Base Address Select"
bitfld.long 0x00 17.--19. "      BS  ,Bank Size" "1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB"
bitfld.long 0x00 15.--16. "    BU  ,Bank Usage" "-,Read-only,Write-only,Read/Write"
bitfld.long 0x00 13.--14. "  BW  ,Bus Width" "8-bit,16-bit,32-bit,Reserved"
group dcr:0x0013++0x0
saveout dcr:0x0012 %l 0x10
line.long 0x00 "EBC0_B0AP,Peripheral Bank 0 Access Parameters"
SIF (CPU()=="PPC440GR"||CPU()=="PPC440EPX")
bitfld.long 0x00 31. " BME  ,Burst Mode Enable" "-,Enabled"
textline "                     "
endif
hexmask.long.byte 0x00 23.--30. 1. " TWT  ,Transfer Wait"
bitfld.long 0x00 18.--19. "         CSN ,Chip Select On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 16.--17. "  OEN ,Output Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 14.--15. "    WBN ,Write Byte Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                     "
bitfld.long 0x00 12.--13. " WBF  ,Write Byte Enable Off Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 9.--11. "   TH  ,Transfer Hold" "0 PerClk,1 PerClk,2 PerClk,3 PerClk,4 PerClk,5 PerClk,6 PerClk,7 PerClk"
bitfld.long 0x00 8. "  RE  ,Ready Enable" "-,Enabled"
bitfld.long 0x00 7. "     SOR ,Sample on Ready" "After PerReady,At the same time"
textline "                     "
bitfld.long 0x00 6. " BEM  ,Byte Enable Mode" "Write,Read/Write"
bitfld.long 0x00 5. " PEN ,Parity Enable" "-,Enabled"
group dcr:0x0013++0x0
saveout dcr:0x0012 %l 0x11
line.long 0x00 "EBC0_B1AP,Peripheral Bank 1 Access Parameters"
SIF (CPU()=="PPC440GR"||CPU()=="PPC440EPX")
bitfld.long 0x00 31. " BME  ,Burst Mode Enable" "-,Enabled"
textline "                     "
endif
hexmask.long.byte 0x00 23.--30. 1. " TWT  ,Transfer Wait"
bitfld.long 0x00 18.--19. "         CSN ,Chip Select On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 16.--17. "  OEN ,Output Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 14.--15. "    WBN ,Write Byte Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                     "
bitfld.long 0x00 12.--13. " WBF  ,Write Byte Enable Off Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 9.--11. "   TH  ,Transfer Hold" "0 PerClk,1 PerClk,2 PerClk,3 PerClk,4 PerClk,5 PerClk,6 PerClk,7 PerClk"
bitfld.long 0x00 8. "  RE  ,Ready Enable" "-,Enabled"
bitfld.long 0x00 7. "     SOR ,Sample on Ready" "After PerReady,At the same time"
textline "                     "
bitfld.long 0x00 6. " BEM  ,Byte Enable Mode" "Write,Read/Write"
bitfld.long 0x00 5. " PEN ,Parity Enable" "-,Enabled"
group dcr:0x0013++0x0
saveout dcr:0x0012 %l 0x12
line.long 0x00 "EBC0_B2AP,Peripheral Bank 2 Access Parameters"
SIF (CPU()=="PPC440GR"||CPU()=="PPC440EPX")
bitfld.long 0x00 31. " BME  ,Burst Mode Enable" "-,Enabled"
textline "                     "
endif
hexmask.long.byte 0x00 23.--30. 1. " TWT  ,Transfer Wait"
bitfld.long 0x00 18.--19. "         CSN ,Chip Select On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 16.--17. "  OEN ,Output Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 14.--15. "    WBN ,Write Byte Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                     "
bitfld.long 0x00 12.--13. " WBF  ,Write Byte Enable Off Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 9.--11. "   TH  ,Transfer Hold" "0 PerClk,1 PerClk,2 PerClk,3 PerClk,4 PerClk,5 PerClk,6 PerClk,7 PerClk"
bitfld.long 0x00 8. "  RE  ,Ready Enable" "-,Enabled"
bitfld.long 0x00 7. "     SOR ,Sample on Ready" "After PerReady,At the same time"
textline "                     "
bitfld.long 0x00 6. " BEM  ,Byte Enable Mode" "Write,Read/Write"
bitfld.long 0x00 5. " PEN ,Parity Enable" "-,Enabled"
group dcr:0x0013++0x0
saveout dcr:0x0012 %l 0x13
line.long 0x00 "EBC0_B3AP,Peripheral Bank 3 Access Parameters"
SIF (CPU()=="PPC440GR"||CPU()=="PPC440EPX")
bitfld.long 0x00 31. " BME  ,Burst Mode Enable" "-,Enabled"
textline "                     "
endif
hexmask.long.byte 0x00 23.--30. 1. " TWT  ,Transfer Wait"
bitfld.long 0x00 18.--19. "         CSN ,Chip Select On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 16.--17. "  OEN ,Output Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 14.--15. "    WBN ,Write Byte Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                     "
bitfld.long 0x00 12.--13. " WBF  ,Write Byte Enable Off Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 9.--11. "   TH  ,Transfer Hold" "0 PerClk,1 PerClk,2 PerClk,3 PerClk,4 PerClk,5 PerClk,6 PerClk,7 PerClk"
bitfld.long 0x00 8. "  RE  ,Ready Enable" "-,Enabled"
bitfld.long 0x00 7. "     SOR ,Sample on Ready" "After PerReady,At the same time"
textline "                     "
bitfld.long 0x00 6. " BEM  ,Byte Enable Mode" "Write,Read/Write"
bitfld.long 0x00 5. " PEN ,Parity Enable" "-,Enabled"
group dcr:0x0013++0x0
saveout dcr:0x0012 %l 0x14
line.long 0x00 "EBC0_B4AP,Peripheral Bank 4 Access Parameters"
SIF (CPU()=="PPC440GR"||CPU()=="PPC440EPX")
bitfld.long 0x00 31. " BME  ,Burst Mode Enable" "-,Enabled"
textline "                     "
endif
hexmask.long.byte 0x00 23.--30. 1. " TWT  ,Transfer Wait"
bitfld.long 0x00 18.--19. "         CSN ,Chip Select On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 16.--17. "  OEN ,Output Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 14.--15. "    WBN ,Write Byte Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                     "
bitfld.long 0x00 12.--13. " WBF  ,Write Byte Enable Off Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 9.--11. "   TH  ,Transfer Hold" "0 PerClk,1 PerClk,2 PerClk,3 PerClk,4 PerClk,5 PerClk,6 PerClk,7 PerClk"
bitfld.long 0x00 8. "  RE  ,Ready Enable" "-,Enabled"
bitfld.long 0x00 7. "     SOR ,Sample on Ready" "After PerReady,At the same time"
textline "                     "
bitfld.long 0x00 6. " BEM  ,Byte Enable Mode" "Write,Read/Write"
bitfld.long 0x00 5. " PEN ,Parity Enable" "-,Enabled"
group dcr:0x0013++0x0
saveout dcr:0x0012 %l 0x15
line.long 0x00 "EBC0_B5AP,Peripheral Bank 5 Access Parameters"
SIF (CPU()=="PPC440GR"||CPU()=="PPC440EPX")
bitfld.long 0x00 31. " BME  ,Burst Mode Enable" "-,Enabled"
textline "                     "
endif
hexmask.long.byte 0x00 23.--30. 1. " TWT  ,Transfer Wait"
bitfld.long 0x00 18.--19. "         CSN ,Chip Select On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 16.--17. "  OEN ,Output Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 14.--15. "    WBN ,Write Byte Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                     "
bitfld.long 0x00 12.--13. " WBF  ,Write Byte Enable Off Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 9.--11. "   TH  ,Transfer Hold" "0 PerClk,1 PerClk,2 PerClk,3 PerClk,4 PerClk,5 PerClk,6 PerClk,7 PerClk"
bitfld.long 0x00 8. "  RE  ,Ready Enable" "-,Enabled"
bitfld.long 0x00 7. "     SOR ,Sample on Ready" "After PerReady,At the same time"
textline "                     "
bitfld.long 0x00 6. " BEM  ,Byte Enable Mode" "Write,Read/Write"
bitfld.long 0x00 5. " PEN ,Parity Enable" "-,Enabled"
rgroup dcr:0x0013++0x0
saveout dcr:0x0012 %l 0x0020
line.long 0x00 "EBC0_BEAR,Peripheral Bus Error Address Register"
rgroup dcr:0x0013++0x0
saveout dcr:0x0012 %l 0x0021
line.long 0x00 "EBC0_BESR0,Peripheral Bus Error Status Register 0"
sif (cpu()=="PPC440EPX")
bitfld.long 0x00 29.--31. " EET0 ,Error type for master 0" "-,Parity,Reserved,Reserved,Protection,Reserved,Input,Timeout"
else
bitfld.long 0x00 29.--31. " EET0 ,Error type for master 0" "-,Reserved,Reserved,Reserved,Protection,Reserved,Input,Timeout"
endif
bitfld.long 0x00 28. " RWS0 ,Read/write status for master 0" "Write error,Read error"
bitfld.long 0x00 27. "  FL0 ,Field lock for master 0" "-,Locked"
bitfld.long 0x00 26. "  AL0  ,EBC0_BEAR address lock for master 0" "-,Locked"
textline "                     "
SIF (CPU()=="PPC440GR"||CPU()=="PPC440EP")
bitfld.long 0x00 23.--25. " EET1 ,Error type for master 1" "-,Reserved,Reserved,Reserved,Protection,Reserved,Input,Timeout"
bitfld.long 0x00 22. " RWS1 ,Read/write status for master 1" "Write error,Read error"
bitfld.long 0x00 21. "  FL1 ,Field lock for master 1" "-,Locked"
bitfld.long 0x00 20. "  AL1  ,EBC1_BEAR address lock for master 1" "-,Locked"
textline "                     "
endif
sif (cpu()=="PPC440EPX")
bitfld.long 0x00 17.--19. " EET2 ,Error type for master 2" "-,Parity,Reserved,Reserved,Protection,Reserved,Input,Timeout"
else
bitfld.long 0x00 17.--19. " EET2 ,Error type for master 2" "-,Reserved,Reserved,Reserved,Protection,Reserved,Input,Timeout"
endif
bitfld.long 0x00 16. " RWS2 ,Read/write status for master 2" "Write error,Read error"
bitfld.long 0x00 15. "  FL2 ,Field lock for master 2" "-,Locked"
bitfld.long 0x00 14. "  AL2  ,EBC2_BEAR address lock for master 2" "-,Locked"
textline "                     "
sif (cpu()=="PPC440EPX")
bitfld.long 0x00 11.--13. " EET3 ,Error type for master 3" "-,Parity,Reserved,Reserved,Protection,Reserved,Input,Timeout"
else
bitfld.long 0x00 11.--13. " EET3 ,Error type for master 3" "-,Reserved,Reserved,Reserved,Protection,Reserved,Input,Timeout"
endif
bitfld.long 0x00 10. " RWS3 ,Read/write status for master 3" "Write error,Read error"
bitfld.long 0x00 9. "  FL3 ,Field lock for master 3" "-,Locked"
bitfld.long 0x00 8. "  AL3  ,EBC3_BEAR address lock for master 3" "-,Locked"
SIF (CPU()=="PPC440GR"||CPU()=="PPC440EP")
rgroup dcr:0x0013++0x0
saveout dcr:0x0012 %l 0x0022
line.long 0x00 "EBC0_BESR1,Peripheral Bus Error Status Register 1"
bitfld.long 0x00 29.--31. " EET4 ,Error type for master 4" "-,Reserved,Reserved,Reserved,Protection,Reserved,Input,Timeout"
bitfld.long 0x00 28. " RWS4 ,Read/write status for master 4" "Write error,Read error"
bitfld.long 0x00 27. "  FL4 ,Field lock for master 4" "-,Locked"
bitfld.long 0x00 26. "  AL4  ,EBC4_BEAR address lock for master 4" "-,Locked"
endif
group dcr:0x0013++0x0
saveout dcr:0x0012 %l 0x0023
line.long 0x00 "EBC0_CFG,External Peripheral Control Register"
bitfld.long 0x00 31. " EBTC ,External Bus Three-State Control" "Tri-state,Driven"
bitfld.long 0x00 30. "  PTD  ,Device-Paced Time-out" "Timeout On,Timeout Off"
bitfld.long 0x00 27.--29. "  RTC ,Ready Timeout Count" "16,32,64,128,256,512,1024,2048"
bitfld.long 0x00 25.--26. "    EMPH ,External Master Priority High" "0,1,2,3"
textline "                     "
bitfld.long 0x00 23.--24. " EMPL ,External Master Priority Low" "0,1,2,3"
bitfld.long 0x00 22. "          CSTC ,Chip Select Three-state Control" "Tri-state,Driven"
textline "                     "
bitfld.long 0x00 20.--21. " BPF  ,Burst Prefetch" "1,2,4,Reserved"
bitfld.long 0x00 18.--19. "   EMS  ,External Master Size" "8-bit,16-bit,32-bit,No master"
bitfld.long 0x00 17. "    PME ,Power Management Enable" "Disabled,Enabled"
bitfld.long 0x00 12.--16. " PMT  ,Power Management Timer" "00000,00001,00010,00011,00100,00101,00110,00111,01000,01001,01010,01011,01100,01101,01110,01111,10000,10001,10010,10011,10100,10101,10110,10111,11000,11001,11010,11011,11100,11101,11110,11111"
sif (cpu()=="PPC440EP")
group dcr:0x000F++0x0
saveout dcr:0x000E %l 0x0100
line.long 0x00 "SDR0_EBC0,EBC Configuration Register"
bitfld.long 0x00 28.--29. " RW   ,ROM Width" "8-bit,16-bit,32-bit,Reserved"
endif
width 0x0B
elif (cpu()=="PPC440SP")
;EBC (External Bus Controller)
width 14.
group dcr:0x0013++0x00
saveout dcr:0x0012 %l 0x0
line.long 0x00 "EBC0_B0CR,Peripheral Bank 0 Configuration Register"
hexmask.long 0x00 20.--31. 0x100000 " BAS ,Base Address Select"
bitfld.long 0x00 17.--19. "  BS ,Bank Size" "1 MB,2 MB,4 MB,8 MB,16 MB,Reserved,Reserved,Reserved"
bitfld.long 0x00 15.--16. "  BU ,Bank Usage" "-,Read,Write,Read/Write"
bitfld.long 0x00 13.--14. "  BW ,Bank Width" "8-bit,Reserved,Reserved,Reserved"
group dcr:0x0013++0x00
saveout dcr:0x0012 %l 0x1
line.long 0x00 "EBC0_B1CR,Peripheral Bank 1 Configuration Register"
hexmask.long 0x00 20.--31. 0x100000 " BAS ,Base Address Select"
bitfld.long 0x00 17.--19. "  BS ,Bank Size" "1 MB,2 MB,4 MB,8 MB,16 MB,Reserved,Reserved,Reserved"
bitfld.long 0x00 15.--16. "  BU ,Bank Usage" "-,Read,Write,Read/Write"
bitfld.long 0x00 13.--14. "  BW ,Bank Width" "8-bit,Reserved,Reserved,Reserved"
group dcr:0x0013++0x00
saveout dcr:0x0012 %l 0x2
line.long 0x00 "EBC0_B2CR,Peripheral Bank 2 Configuration Register"
hexmask.long 0x00 20.--31. 0x100000 " BAS ,Base Address Select"
bitfld.long 0x00 17.--19. "  BS ,Bank Size" "1 MB,2 MB,4 MB,8 MB,16 MB,Reserved,Reserved,Reserved"
bitfld.long 0x00 15.--16. "  BU ,Bank Usage" "-,Read,Write,Read/Write"
bitfld.long 0x00 13.--14. "  BW ,Bank Width" "8-bit,Reserved,Reserved,Reserved"
group dcr:0x0013++0x00
saveout dcr:0x0012 %l 0x10
line.long 0x00 "EBC0_B0AP,Peripheral Bank 0 Access Parameters"
bitfld.long 0x00 31. " BME ,Burst Mode Enable" "-,Enabled"
hexmask.long.byte 0x00 26.--30. 1. "     FWT ,First Wait"
hexmask.long.byte 0x00 23.--25. 1. "        BWT ,Burst Wait"
textline "                       "
bitfld.long 0x00 22. " BCE ,Fixed Length Burst Reads" "-,Enabled"
bitfld.long 0x00 20.--21. "     BCT ,Fixed Length Burst Count" "2,4,8,16"
bitfld.long 0x00 18.--19. "        CSN ,Chip Select On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                       "
bitfld.long 0x00 16.--17. " OEN ,Output Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 14.--15. "    WBN ,Write Byte Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 12.--13. "  WBF ,Write Byte Enable Off Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                       "
bitfld.long 0x00 9.--11. " TH  ,Transfer Hold" "0 PerClk,1 PerClk,2 PerClk,3 PerClk,4 PerClk,5 PerClk,6 PerClk,7 PerClk"
bitfld.long 0x00 8. "    RE  ,Ready Enable" "-,Enabled"
bitfld.long 0x00 7. "   SOR ,Sample on Ready" "After PerReady,At the same time"
textline "                       "
bitfld.long 0x00 6. " BEM ,Byte Enable Mode" "Write,Read/Write"
bitfld.long 0x00 5. "  PEN ,Parity Enable" "-,Enabled"
group dcr:0x0013++0x00
saveout dcr:0x0012 %l 0x11
line.long 0x00 "EBC0_B1AP,Peripheral Bank 1 Access Parameters"
bitfld.long 0x00 31. " BME ,Burst Mode Enable" "-,Enabled"
hexmask.long.byte 0x00 26.--30. 1. "     FWT ,First Wait"
hexmask.long.byte 0x00 23.--25. 1. "        BWT ,Burst Wait"
textline "                       "
bitfld.long 0x00 22. " BCE ,Fixed Length Burst Reads" "-,Enabled"
bitfld.long 0x00 20.--21. "     BCT ,Fixed Length Burst Count" "2,4,8,16"
bitfld.long 0x00 18.--19. "        CSN ,Chip Select On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                       "
bitfld.long 0x00 16.--17. " OEN ,Output Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 14.--15. "    WBN ,Write Byte Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 12.--13. "  WBF ,Write Byte Enable Off Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                       "
bitfld.long 0x00 9.--11. " TH  ,Transfer Hold" "0 PerClk,1 PerClk,2 PerClk,3 PerClk,4 PerClk,5 PerClk,6 PerClk,7 PerClk"
bitfld.long 0x00 8. "    RE  ,Ready Enable" "-,Enabled"
bitfld.long 0x00 7. "   SOR ,Sample on Ready" "After PerReady,At the same time"
textline "                       "
bitfld.long 0x00 6. " BEM ,Byte Enable Mode" "Write,Read/Write"
bitfld.long 0x00 5. "  PEN ,Parity Enable" "-,Enabled"
group dcr:0x0013++0x00
saveout dcr:0x0012 %l 0x12
line.long 0x00 "EBC0_B2AP,Peripheral Bank 2 Access Parameters"
bitfld.long 0x00 31. " BME ,Burst Mode Enable" "-,Enabled"
hexmask.long.byte 0x00 26.--30. 1. "     FWT ,First Wait"
hexmask.long.byte 0x00 23.--25. 1. "        BWT ,Burst Wait"
textline "                       "
bitfld.long 0x00 22. " BCE ,Fixed Length Burst Reads" "-,Enabled"
bitfld.long 0x00 20.--21. "     BCT ,Fixed Length Burst Count" "2,4,8,16"
bitfld.long 0x00 18.--19. "        CSN ,Chip Select On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                       "
bitfld.long 0x00 16.--17. " OEN ,Output Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 14.--15. "    WBN ,Write Byte Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 12.--13. "  WBF ,Write Byte Enable Off Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                       "
bitfld.long 0x00 9.--11. " TH  ,Transfer Hold" "0 PerClk,1 PerClk,2 PerClk,3 PerClk,4 PerClk,5 PerClk,6 PerClk,7 PerClk"
bitfld.long 0x00 8. "    RE  ,Ready Enable" "-,Enabled"
bitfld.long 0x00 7. "   SOR ,Sample on Ready" "After PerReady,At the same time"
textline "                       "
bitfld.long 0x00 6. " BEM ,Byte Enable Mode" "Write,Read/Write"
bitfld.long 0x00 5. "  PEN ,Parity Enable" "-,Enabled"
rgroup dcr:0x0013++0x00
saveout dcr:0x0012 %l 0x20
line.long 0x00 "EBC0_BEAR,Peripherial Bus Error Address Register"
group dcr:0x0013++0x0
saveout dcr:0x0012 %l 0x0021
line.long 0x00 "EBC0_BESR,Peripheral Bus Error Status Register"
bitfld.long 0x00 31. " PYE  ,Parity Error Detected on Read" "-,Error"
bitfld.long 0x00 30. "      PRE   ,Bank Protection Error" "-,Error"
bitfld.long 0x00 29. "        PERR ,PerErr" "-,Error"
textline "                       "
bitfld.long 0x00 28. " ETE  ,External Bus Timeout Error" "-,Error"
bitfld.long 0x00 27. "      RWS   ,Read/Write Error Status" "Write,Read"
bitfld.long 0x00 26. "        SAS  ,Sequential Address Status" "Not active,Active"
textline "                       "
bitfld.long 0x00 25. " EINT ,Error Interrupt" "-,Error"
bitfld.long 0x00 24. "      DMAEP ,DMA External Peripheral Error" "-,Error"
group dcr:0x0013++0x00
saveout dcr:0x0012 %l 0x0023
line.long 0x00 "EBC0_CFG,EBC Configuration Register"
bitfld.long 0x00 31. " LE   ,Lock Error" "-,Error"
bitfld.long 0x00 30. "      PTD   ,Device-Paced Time-out Disable" "Timeout On,Timeout Off"
bitfld.long 0x00 27.--29. "  RTC  ,Ready Timeout Count" "16,32,64,128,256,512,1024,2048"
textline "                       "
bitfld.long 0x00 26. " ATC  ,Address Bus High Impedance Control" "Tri-state,PrevData"
bitfld.long 0x00 25. "  DTC   ,Data Bus High Impedance Control" "Tri-state,PrevData"
bitfld.long 0x00 24. "    CTC  ,Control Signal High Impedance Control" "Tri-state,Inactive"
textline "                       "
bitfld.long 0x00 23. " OEO  ,External Bus Override High Impedance Control" "Disabled,Enabled"
bitfld.long 0x00 17. "   PME   ,Power Management Enable" "Disabled,Enabled"
hexmask.long.byte 0x00 12.--16. 1. "     PMT  ,Power Managemant Timer"
rgroup dcr:0x0013++0x00
saveout dcr:0x0012 %l 0x0024
line.long 0x00 "EBC0_CID,EBC Core ID Register"
hexmask.long.word 0x00 20.--31. 1. " CNUM ,Core Number"
hexmask.long.byte 0x00 12.--19. 1. "       CVAR  ,Core Variation"
hexmask.long.word 0x00 0.--11. 1. "           REV  ,Revision Number"
width 0xB
elif (cpu()=="PPC440SPE")
;EBC (External Bus Controller)
width 14.
group dcr:0x0013++0x00
out dcr:0x0012 %l 0x00
line.long 0x00 "EBC0_B0CR,Peripheral Bank 0 Configuration Register"
hexmask.long 0x00 20.--31. 0x100000 " BAS  ,Base Address Select"
bitfld.long 0x00 17.--19. "    BS ,Bank Size" "1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB"
bitfld.long 0x00 15.--16. "  BU ,Bank Usage" "-,Read,Write,Read/Write"
bitfld.long 0x00 13.--14. "  BW ,Bank Width" "8-bit,16-bit,res,res"
group dcr:0x0013++0x00
out dcr:0x0012 %l 0x01
line.long 0x00 "EBC0_B1CR,Peripheral Bank 1 Configuration Register"
hexmask.long 0x00 20.--31. 0x100000 " BAS  ,Base Address Select"
bitfld.long 0x00 17.--19. "    BS ,Bank Size" "1 MB,2 MB,4 MB,8 MB,16 MB,32 MB,64 MB,128 MB"
bitfld.long 0x00 15.--16. "  BU ,Bank Usage" "-,Read,Write,Read/Write"
bitfld.long 0x00 13.--14. "  BW ,Bank Width" "8-bit,16-bit,res,res"
group dcr:0x0013++0x00
out dcr:0x0012 %l 0x02
line.long 0x00 "EBC0_B2CR,Peripheral Bank 2 Configuration Register"
hexmask.long 0x00 20.--31. 0x100000 " BAS  ,Base Address Select"
bitfld.long 0x00 17.--19. "    BS ,Bank Size" "res,2 MB,4 MB,8 MB,16 MB ,res,res,res"
bitfld.long 0x00 15.--16. "  BU ,Bank Usage" "-,Read,Write,Read/Write"
bitfld.long 0x00 13.--14. "  BW ,Bank Width" "8-bit,16-bit,res,res"
group dcr:0x0013++0x00
saveout dcr:0x0012 %l 0x10
line.long 0x00 "EBC0_B0AP,Peripheral Bank 0 Access Parameters"
bitfld.long 0x00 31. " BME  ,Burst Mode Enable" "-,Enabled"
hexmask.long.byte 0x00 26.--30. 1. "     FWT   ,First Wait"
hexmask.long.byte 0x00 23.--25. 1. "               BWT  ,Burst Wait"
textline "                       "
bitfld.long 0x00 22. " BCE  ,Fixed Length Burst Reads" "-,Enabled"
bitfld.long 0x00 20.--21. "     BCT   ,Fixed Length Burst Count" "2,4,8,16"
bitfld.long 0x00 18.--19. "               CSN  ,Chip Select On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                       "
bitfld.long 0x00 16.--17. " OEN  ,Output Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 14.--15. "    WBN   ,Write Byte Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 12.--13. "         WBF  ,Write Byte Enable Off Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                       "
bitfld.long 0x00 9.--11. " TH   ,Transfer Hold" "0 PerClk,1 PerClk,2 PerClk,3 PerClk,4 PerClk,5 PerClk,6 PerClk,7 PerClk"
bitfld.long 0x00 8. "    RE    ,Ready Enable" "-,Enabled"
bitfld.long 0x00 7. "          SOR  ,Sample on Ready" "After PerReady,At the same time"
textline "                       "
bitfld.long 0x00 6. " BEM  ,Byte Enable Mode" "Write,Read/Write"
bitfld.long 0x00 5. "  PEN   ,Parity Enable" "-,Enabled"
group dcr:0x0013++0x00
saveout dcr:0x0012 %l 0x11
line.long 0x00 "EBC0_B1AP,Peripheral Bank 1 Access Parameters"
bitfld.long 0x00 31. " BME  ,Burst Mode Enable" "-,Enabled"
hexmask.long.byte 0x00 26.--30. 1. "     FWT   ,First Wait"
hexmask.long.byte 0x00 23.--25. 1. "               BWT  ,Burst Wait"
textline "                       "
bitfld.long 0x00 22. " BCE  ,Fixed Length Burst Reads" "-,Enabled"
bitfld.long 0x00 20.--21. "     BCT   ,Fixed Length Burst Count" "2,4,8,16"
bitfld.long 0x00 18.--19. "               CSN  ,Chip Select On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                       "
bitfld.long 0x00 16.--17. " OEN  ,Output Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 14.--15. "    WBN   ,Write Byte Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 12.--13. "         WBF  ,Write Byte Enable Off Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                       "
bitfld.long 0x00 9.--11. " TH   ,Transfer Hold" "0 PerClk,1 PerClk,2 PerClk,3 PerClk,4 PerClk,5 PerClk,6 PerClk,7 PerClk"
bitfld.long 0x00 8. "    RE    ,Ready Enable" "-,Enabled"
bitfld.long 0x00 7. "          SOR  ,Sample on Ready" "After PerReady,At the same time"
textline "                       "
bitfld.long 0x00 6. " BEM  ,Byte Enable Mode" "Write,Read/Write"
bitfld.long 0x00 5. "  PEN   ,Parity Enable" "-,Enabled"
group dcr:0x0013++0x00
saveout dcr:0x0012 %l 0x12
line.long 0x00 "EBC0_B2AP,Peripheral Bank 2 Access Parameters"
bitfld.long 0x00 31. " BME  ,Burst Mode Enable" "-,Enabled"
hexmask.long.byte 0x00 26.--30. 1. "     FWT   ,First Wait"
hexmask.long.byte 0x00 23.--25. 1. "               BWT  ,Burst Wait"
textline "                       "
bitfld.long 0x00 22. " BCE  ,Fixed Length Burst Reads" "-,Enabled"
bitfld.long 0x00 20.--21. "     BCT   ,Fixed Length Burst Count" "2,4,8,16"
bitfld.long 0x00 18.--19. "               CSN  ,Chip Select On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                       "
bitfld.long 0x00 16.--17. " OEN  ,Output Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 14.--15. "    WBN   ,Write Byte Enable On Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
bitfld.long 0x00 12.--13. "         WBF  ,Write Byte Enable Off Timing" "0 PerClk,1 PerClk,2 PerClk,3 PerClk"
textline "                       "
bitfld.long 0x00 9.--11. " TH   ,Transfer Hold" "0 PerClk,1 PerClk,2 PerClk,3 PerClk,4 PerClk,5 PerClk,6 PerClk,7 PerClk"
bitfld.long 0x00 8. "    RE    ,Ready Enable" "-,Enabled"
bitfld.long 0x00 7. "          SOR  ,Sample on Ready" "After PerReady,At the same time"
textline "                       "
bitfld.long 0x00 6. " BEM  ,Byte Enable Mode" "Write,Read/Write"
bitfld.long 0x00 5. "  PEN   ,Parity Enable" "-,Enabled"
rgroup dcr:0x0013++0x00
saveout dcr:0x0012 %l 0x20
line.long 0x00 "EBC0_BEAR,Peripherial Bus Error Address Register"
group dcr:0x0013++0x0
saveout dcr:0x0012 %l 0x0021
line.long 0x00 "EBC0_BESR,Peripheral Bus Error Status Register"
bitfld.long 0x00 31. " PYE  ,Parity Error Detected on Read" "-,Error"
bitfld.long 0x00 30. "       PRE   ,Bank Protection Error" "-,Error"
bitfld.long 0x00 29. "            PERR ,PerErr" "-,Error"
textline "                       "
bitfld.long 0x00 28. " ETE  ,External Bus Timeout Error" "-,Error"
bitfld.long 0x00 27. "       RWS   ,Read/Write Error Status" "Write,Read"
bitfld.long 0x00 26. "            SAS  ,Sequential Address Status" "Not active,Active"
textline "                       "
bitfld.long 0x00 25. " EINT ,Error Interrupt" "-,Error"
bitfld.long 0x00 24. "       DMAEP ,DMA External Peripheral Error" "-,Error"
group dcr:0x0013++0x00
saveout dcr:0x0012 %l 0x0023
line.long 0x00 "EBC0_CFG,EBC Configuration Register"
bitfld.long 0x00 31. " LE   ,Lock Error" "-,Error"
bitfld.long 0x00 30. "       PTD   ,Device-Paced Time-out Disable" "Timeout On,Timeout Off"
bitfld.long 0x00 27.--29. "      RTC  ,Ready Timeout Count" "16,32,64,128,256,512,1024,2048"
textline "                       "
bitfld.long 0x00 26. " ATC  ,Address Bus High Impedance Control" "Tri-state,PrevData"
bitfld.long 0x00 25. "   DTC   ,Data Bus High Impedance Control" "Tri-state,PrevData"
bitfld.long 0x00 24. "        CTC  ,Control Signal High Impedance Control" "Tri-state,Inactive"
textline "                       "
bitfld.long 0x00 23. " OEO  ,External Bus Override High Impedance Control" "Disabled,Enabled"
bitfld.long 0x00 22. "    EMC   ,External High Impedance Control" "All,Except PerCS0:2"
bitfld.long 0x00 17. "  PME  ,Power Management Enable" "Disabled,Enabled"
textline "                       "
hexmask.long.byte 0x00 12.--16. 1. " PMT  ,Power Managemant Timer"
rgroup dcr:0x0013++0x00
saveout dcr:0x0012 %l 0x0024
line.long 0x00 "EBC0_CID,EBC Core ID Register"
hexmask.long.word 0x00 20.--31. 1. " CNUM ,Core Number"
hexmask.long.byte 0x00 12.--19. 1. "        CVAR  ,Core Variation"
hexmask.long.word 0x00 0.--11. 1. "               REV  ,Revision Number"
width 0xB
endif
tree.end
;tree "EBC (External Bus Controller)"
tree "DMA (Direct Memory Access Controllers)"
tree "DMA to PLB4"
sif (cpu()=="PPC440GRX")
width 0x0D
tree "DMA to PLB4 Channel 0"
if (((data.long(dcr:(0x0300+(0x08*0))))&0x0E000000)==0x00000000)
group dcr:0x0300--0x300
line.long 0x00 "DMA2P40_CR0,DMA to PLB4 Channel Control Register 0"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "          CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD  ,TD" "To peripheral,From peripheral"
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location/Destination Memory Location" "PLB/Not allowed,OPB"
bitfld.long 0x00 25.--27. "  PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI ,Destination Address Increment" "-,1"
textline "                      "
bitfld.long 0x00 23. " SAI ,Source Address Increment" "-,1"
bitfld.long 0x00 22. "                BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM  ,Transfer mode" "Peripheral,Reserved,Software-init,Device-paced"
textline "                      "
bitfld.long 0x00 18.--19. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "                PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "        TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 3.--4. " PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "      DEC ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL  ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x0300+(0x08*0))))&0x0E000000)==0x02000000)
group dcr:0x0300--0x300
line.long 0x00 "DMA2P40_CR0,DMA to PLB4 Channel Control Register 0"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "          CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD  ,TD" "To peripheral,From peripheral"
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location/Destination Memory Location" "PLB/Not allowed,OPB"
bitfld.long 0x00 25.--27. "  PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI ,Destination Address Increment" "-,2"
textline "                      "
bitfld.long 0x00 23. " SAI ,Source Address Increment" "-,2"
bitfld.long 0x00 22. "                BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM  ,Transfer mode" "Peripheral,Reserved,Software-init,Device-paced"
textline "                      "
bitfld.long 0x00 18.--19. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "                PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "        TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 3.--4. " PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "      DEC ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL  ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x0300+(0x08*0))))&0x0E000000)==0x04000000)
group dcr:0x0300--0x300
line.long 0x00 "DMA2P40_CR0,DMA to PLB4 Channel Control Register 0"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "          CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD  ,TD" "To peripheral,From peripheral"
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location/Destination Memory Location" "PLB/Not allowed,OPB"
bitfld.long 0x00 25.--27. "  PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI ,Destination Address Increment" "-,4"
textline "                      "
bitfld.long 0x00 23. " SAI ,Source Address Increment" "-,4"
bitfld.long 0x00 22. "                BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM  ,Transfer mode" "Peripheral,Reserved,Software-init,Device-paced"
textline "                      "
bitfld.long 0x00 18.--19. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "                PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "        TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 3.--4. " PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "      DEC ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL  ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x0300+(0x08*0))))&0x0E000000)==0x06000000)
group dcr:0x0300--0x300
line.long 0x00 "DMA2P40_CR0,DMA to PLB4 Channel Control Register 0"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "          CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD  ,TD" "To peripheral,From peripheral"
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location/Destination Memory Location" "PLB/Not allowed,OPB"
bitfld.long 0x00 25.--27. "  PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI ,Destination Address Increment" "-,8"
textline "                      "
bitfld.long 0x00 23. " SAI ,Source Address Increment" "-,8"
bitfld.long 0x00 22. "                BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM  ,Transfer mode" "Peripheral,Reserved,Software-init,Device-paced"
textline "                      "
bitfld.long 0x00 18.--19. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "                PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "        TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 3.--4. " PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "      DEC ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL  ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x0300+(0x08*0))))&0x0E000000)==0x08000000)
group dcr:0x0300--0x300
line.long 0x00 "DMA2P40_CR0,DMA to PLB4 Channel Control Register 0"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "          CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD  ,TD" "To peripheral,From peripheral"
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location/Destination Memory Location" "PLB/Not allowed,OPB"
bitfld.long 0x00 25.--27. "  PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI ,Destination Address Increment" "-,16"
textline "                      "
bitfld.long 0x00 23. " SAI ,Source Address Increment" "-,16"
bitfld.long 0x00 22. "               BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM  ,Transfer mode" "Peripheral,Reserved,Software-init,Device-paced"
textline "                      "
bitfld.long 0x00 18.--19. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "                PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "        TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 3.--4. " PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "      DEC ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL  ,Source Address Location/Memory Location" "PLB,OPB"
else 
group dcr:0x0300--0x300
line.long 0x00 "DMA2P40_CR0,DMA to PLB4 Channel Control Register 0"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "          CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD  ,TD" "To peripheral,From peripheral"
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location/Destination Memory Location" "PLB/Not allowed,OPB"
bitfld.long 0x00 25.--27. "  PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI ,Destination Address Increment" "-,Reserved"
textline "                      "
bitfld.long 0x00 23. " SAI ,Source Address Increment" "-,Reserved"
bitfld.long 0x00 22. "         BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM  ,Transfer mode" "Peripheral,Reserved,Software-init,Device-paced"
textline "                      "
bitfld.long 0x00 18.--19. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "                PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "        TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 3.--4. " PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "      DEC ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL  ,Source Address Location/Memory Location" "PLB,OPB"
endif
group dcr:0x0301--0x307    
line.long 0x00 "DMA2P40_CTC0,DMA to PLB 4 Count and Control Register 0"
bitfld.long 0x00 29. " TCIE ,Terminal Count Interrupt Enable" "-,Enabled"
bitfld.long 0x00 28. "   ETIE ,EOT Interrupt Enable" "-,Enabled"
bitfld.long 0x00 27. "  EIE  ,Error Interrupt Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 24.--26. " SID  ,Subchannel ID" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 23. "         BTEN ,Burst Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  BSIZ ,Burst Size" "2,4,8,16"
textline "                      "
bitfld.long 0x00 20. " PCE  ,Parity Check Enable" "-,Enabled"
hexmask.long 0x00 0.--19. 1. "   TC   ,Transfer Count"
line.long 0x04 "DMA2P40_SAH0,DMA to PLB 4 Source Address High Register 0"
hexmask.long.byte 0x04 0.--3. 1. " USA  ,Upper 4-bits of source address"
line.long 0x08 "DMA2P40_SAL0,DMA to PLB 4 Source Address Low Register 0"
hexmask.long 0x08 0.--31. 1. " LSA  ,Lower 32-bits of source address"
line.long 0x0C "DMA2P40_DAH0,DMA to PLB 4 Destination Address High Register 0"
hexmask.long.byte 0x0C 0.--3. 1. " UDA  ,Upper 4-bits of destination address"
line.long 0x10 "DMA2P40_DAL0,DMA to PLB 4 Destination Address Low Register 0"
hexmask.long 0x10 0.--31. 1. " LDA  ,Lower 32-bits of destination address"
line.long 0x14 "DMA2P40_SGH0,DMA to PLB 4 Scatter/Gather Descriptor Address High Register 0"
hexmask.long.byte 0x14 0.--3. 1. " USGD ,Upper 4-bits of address"
line.long 0x18 "DMA2P40_SGL0,DMA to PLB 4 Scatter/Gather Descriptor Address Low Register 0"
hexmask.long 0x18 0.--31. 1. " LSGD ,Lower 32-bits of address"
tree.end
tree "DMA to PLB4 Channel 1"
if (((data.long(dcr:(0x0300+(0x08*1))))&0x0E000000)==0x00000000)
group dcr:0x0308--0x308
line.long 0x00 "DMA2P40_CR1,DMA to PLB4 Channel Control Register 1"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "          CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD  ,TD" "To peripheral,From peripheral"
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location/Destination Memory Location" "PLB/Not allowed,OPB"
bitfld.long 0x00 25.--27. "  PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI ,Destination Address Increment" "-,1"
textline "                      "
bitfld.long 0x00 23. " SAI ,Source Address Increment" "-,1"
bitfld.long 0x00 22. "                BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM  ,Transfer mode" "Peripheral,Reserved,Software-init,Device-paced"
textline "                      "
bitfld.long 0x00 18.--19. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "                PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "        TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 3.--4. " PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "      DEC ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL  ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x0300+(0x08*1))))&0x0E000000)==0x02000000)
group dcr:0x0308--0x308
line.long 0x00 "DMA2P40_CR1,DMA to PLB4 Channel Control Register 1"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "          CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD  ,TD" "To peripheral,From peripheral"
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location/Destination Memory Location" "PLB/Not allowed,OPB"
bitfld.long 0x00 25.--27. "  PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI ,Destination Address Increment" "-,2"
textline "                      "
bitfld.long 0x00 23. " SAI ,Source Address Increment" "-,2"
bitfld.long 0x00 22. "                BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM  ,Transfer mode" "Peripheral,Reserved,Software-init,Device-paced"
textline "                      "
bitfld.long 0x00 18.--19. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "                PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "        TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 3.--4. " PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "      DEC ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL  ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x0300+(0x08*1))))&0x0E000000)==0x04000000)
group dcr:0x308--0x308
line.long 0x00 "DMA2P40_CR1,DMA to PLB4 Channel Control Register 1"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "          CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD  ,TD" "To peripheral,From peripheral"
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location/Destination Memory Location" "PLB/Not allowed,OPB"
bitfld.long 0x00 25.--27. "  PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI ,Destination Address Increment" "-,4"
textline "                      "
bitfld.long 0x00 23. " SAI ,Source Address Increment" "-,4"
bitfld.long 0x00 22. "                BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM  ,Transfer mode" "Peripheral,Reserved,Software-init,Device-paced"
textline "                      "
bitfld.long 0x00 18.--19. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "                PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "        TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 3.--4. " PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "      DEC ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL  ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x0300+(0x08*1))))&0x0E000000)==0x06000000)
group dcr:0x0308--0x308
line.long 0x00 "DMA2P40_CR1,DMA to PLB4 Channel Control Register 1"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "          CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD  ,TD" "To peripheral,From peripheral"
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location/Destination Memory Location" "PLB/Not allowed,OPB"
bitfld.long 0x00 25.--27. "  PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI ,Destination Address Increment" "-,8"
textline "                      "
bitfld.long 0x00 23. " SAI ,Source Address Increment" "-,8"
bitfld.long 0x00 22. "                BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM  ,Transfer mode" "Peripheral,Reserved,Software-init,Device-paced"
textline "                      "
bitfld.long 0x00 18.--19. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "                PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "        TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 3.--4. " PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "      DEC ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL  ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x0300+(0x08*1))))&0x0E000000)==0x08000000)
group dcr:0x0308--0x308
line.long 0x00 "DMA2P40_CR1,DMA to PLB4 Channel Control Register 1"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "          CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD  ,TD" "To peripheral,From peripheral"
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location/Destination Memory Location" "PLB/Not allowed,OPB"
bitfld.long 0x00 25.--27. "  PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI ,Destination Address Increment" "-,16"
textline "                      "
bitfld.long 0x00 23. " SAI ,Source Address Increment" "-,16"
bitfld.long 0x00 22. "               BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM  ,Transfer mode" "Peripheral,Reserved,Software-init,Device-paced"
textline "                      "
bitfld.long 0x00 18.--19. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "                PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "        TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 3.--4. " PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "      DEC ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL  ,Source Address Location/Memory Location" "PLB,OPB"
else 
group dcr:0x0308--0x308
line.long 0x00 "DMA2P40_CR1,DMA to PLB4 Channel Control Register 1"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "          CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD  ,TD" "To peripheral,From peripheral"
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location/Destination Memory Location" "PLB/Not allowed,OPB"
bitfld.long 0x00 25.--27. "  PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI ,Destination Address Increment" "-,Reserved"
textline "                      "
bitfld.long 0x00 23. " SAI ,Source Address Increment" "-,Reserved"
bitfld.long 0x00 22. "         BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM  ,Transfer mode" "Peripheral,Reserved,Software-init,Device-paced"
textline "                      "
bitfld.long 0x00 18.--19. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "                PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "        TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 3.--4. " PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "      DEC ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL  ,Source Address Location/Memory Location" "PLB,OPB"
endif
group dcr:0x309--0x30F    
line.long 0x00 "DMA2P40_CTC1,DMA to PLB 4 Count and Control Register 1"
bitfld.long 0x00 29. " TCIE ,Terminal Count Interrupt Enable" "-,Enabled"
bitfld.long 0x00 28. "   ETIE ,EOT Interrupt Enable" "-,Enabled"
bitfld.long 0x00 27. "  EIE  ,Error Interrupt Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 24.--26. " SID  ,Subchannel ID" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 23. "         BTEN ,Burst Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  BSIZ ,Burst Size" "2,4,8,16"
textline "                      "
bitfld.long 0x00 20. " PCE  ,Parity Check Enable" "-,Enabled"
hexmask.long 0x00 0.--19. 1. "   TC   ,Transfer Count"
line.long 0x04 "DMA2P40_SAH1,DMA to PLB 4 Source Address High Register 1"
hexmask.long.byte 0x04 0.--3. 1. " USA  ,Upper 4-bits of source address"
line.long 0x08 "DMA2P40_SAL1,DMA to PLB 4 Source Address Low Register 1"
hexmask.long 0x08 0.--31. 1. " LSA  ,Lower 32-bits of source address"
line.long 0x0C "DMA2P40_DAH1,DMA to PLB 4 Destination Address High Register 1"
hexmask.long.byte 0x0C 0.--3. 1. " UDA  ,Upper 4-bits of destination address"
line.long 0x10 "DMA2P40_DAL1,DMA to PLB 4 Destination Address Low Register 1"
hexmask.long 0x10 0.--31. 1. " LDA  ,Lower 32-bits of destination address"
line.long 0x14 "DMA2P40_SGH1,DMA to PLB 4 Scatter/Gather Descriptor Address High Register 1"
hexmask.long.byte 0x14 0.--3. 1. " USGD ,Upper 4-bits of address"
line.long 0x18 "DMA2P40_SGL1,DMA to PLB 4 Scatter/Gather Descriptor Address Low Register 1"
hexmask.long 0x18 0.--31. 1. " LSGD ,Lower 32-bits of address"
tree.end
tree "DMA to PLB4 Channel 2"
if (((data.long(dcr:(0x0300+(0x08*2))))&0x0E000000)==0x00000000)
group dcr:0x0310--0x310
line.long 0x00 "DMA2P40_CR2,DMA to PLB4 Channel Control Register 2"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "          CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD  ,TD" "To peripheral,From peripheral"
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location/Destination Memory Location" "PLB/Not allowed,OPB"
bitfld.long 0x00 25.--27. "  PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI ,Destination Address Increment" "-,1"
textline "                      "
bitfld.long 0x00 23. " SAI ,Source Address Increment" "-,1"
bitfld.long 0x00 22. "                BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM  ,Transfer mode" "Peripheral,Reserved,Software-init,Device-paced"
textline "                      "
bitfld.long 0x00 18.--19. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "                PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "        TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 3.--4. " PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "      DEC ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL  ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x0300+(0x08*2))))&0x0E000000)==0x02000000)
group dcr:0x310--0x310
line.long 0x00 "DMA2P40_CR2,DMA to PLB4 Channel Control Register 2"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "          CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD  ,TD" "To peripheral,From peripheral"
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location/Destination Memory Location" "PLB/Not allowed,OPB"
bitfld.long 0x00 25.--27. "  PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI ,Destination Address Increment" "-,2"
textline "                      "
bitfld.long 0x00 23. " SAI ,Source Address Increment" "-,2"
bitfld.long 0x00 22. "                BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM  ,Transfer mode" "Peripheral,Reserved,Software-init,Device-paced"
textline "                      "
bitfld.long 0x00 18.--19. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "                PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "        TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 3.--4. " PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "      DEC ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL  ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x0300+(0x08*2))))&0x0E000000)==0x04000000)
group dcr:0x0310--0x310
line.long 0x00 "DMA2P40_CR2,DMA to PLB4 Channel Control Register 2"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "          CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD  ,TD" "To peripheral,From peripheral"
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location/Destination Memory Location" "PLB/Not allowed,OPB"
bitfld.long 0x00 25.--27. "  PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI ,Destination Address Increment" "-,4"
textline "                      "
bitfld.long 0x00 23. " SAI ,Source Address Increment" "-,4"
bitfld.long 0x00 22. "                BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM  ,Transfer mode" "Peripheral,Reserved,Software-init,Device-paced"
textline "                      "
bitfld.long 0x00 18.--19. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "                PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "        TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 3.--4. " PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "      DEC ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL  ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x0300+(0x08*2))))&0x0E000000)==0x06000000)
group dcr:0x310--0x310
line.long 0x00 "DMA2P40_CR2,DMA to PLB4 Channel Control Register 2"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "          CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD  ,TD" "To peripheral,From peripheral"
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location/Destination Memory Location" "PLB/Not allowed,OPB"
bitfld.long 0x00 25.--27. "  PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI ,Destination Address Increment" "-,8"
textline "                      "
bitfld.long 0x00 23. " SAI ,Source Address Increment" "-,8"
bitfld.long 0x00 22. "                BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM  ,Transfer mode" "Peripheral,Reserved,Software-init,Device-paced"
textline "                      "
bitfld.long 0x00 18.--19. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "                PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "        TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 3.--4. " PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "      DEC ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL  ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x0300+(0x08*2))))&0x0E000000)==0x08000000)
group dcr:0x310--0x310
line.long 0x00 "DMA2P40_CR2,DMA to PLB4 Channel Control Register 2"
bitfld.long 0x00 31. " CE  ,Channel Enable" "Disabled,Enabled"
bitfld.long 0x00 30. "         CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD  ,TD" "To peripheral,From peripheral"
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location/Destination Memory Location" "PLB/Not allowed,OPB"
bitfld.long 0x00 25.--27. "  PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI ,Destination Address Increment" "-,16"
textline "                      "
bitfld.long 0x00 23. " SAI ,Source Address Increment" "-,16"
bitfld.long 0x00 22. "               BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM  ,Transfer mode" "Peripheral,Reserved,Software-init,Device-paced"
textline "                      "
bitfld.long 0x00 18.--19. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "                PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "        TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 3.--4. " PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "      DEC ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL  ,Source Address Location/Memory Location" "PLB,OPB"
else 
group dcr:0x310--0x310
line.long 0x00 "DMA2P40_CR2,DMA to PLB4 Channel Control Register 2"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "          CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD  ,TD" "To peripheral,From peripheral"
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location/Destination Memory Location" "PLB/Not allowed,OPB"
bitfld.long 0x00 25.--27. "  PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI ,Destination Address Increment" "-,Reserved"
textline "                      "
bitfld.long 0x00 23. " SAI ,Source Address Increment" "-,Reserved"
bitfld.long 0x00 22. "         BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM  ,Transfer mode" "Peripheral,Reserved,Software-init,Device-paced"
textline "                      "
bitfld.long 0x00 18.--19. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "                PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "        TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 3.--4. " PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "      DEC ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL  ,Source Address Location/Memory Location" "PLB,OPB"
endif
group dcr:0x0311--0x317    
line.long 0x00 "DMA2P40_CTC2,DMA to PLB 4 Count and Control Register 2"
bitfld.long 0x00 29. " TCIE ,Terminal Count Interrupt Enable" "-,Enabled"
bitfld.long 0x00 28. "   ETIE ,EOT Interrupt Enable" "-,Enabled"
bitfld.long 0x00 27. "  EIE  ,Error Interrupt Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 24.--26. " SID  ,Subchannel ID" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 23. "         BTEN ,Burst Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  BSIZ ,Burst Size" "2,4,8,16"
textline "                      "
bitfld.long 0x00 20. " PCE  ,Parity Check Enable" "-,Enabled"
hexmask.long 0x00 0.--19. 1. "   TC   ,Transfer Count"
line.long 0x04 "DMA2P40_SAH2,DMA to PLB 4 Source Address High Register 2"
hexmask.long.byte 0x04 0.--3. 1. " USA  ,Upper 4-bits of source address"
line.long 0x08 "DMA2P40_SAL2,DMA to PLB 4 Source Address Low Register 2"
hexmask.long 0x08 0.--31. 1. " LSA  ,Lower 32-bits of source address"
line.long 0x0C "DMA2P40_DAH2,DMA to PLB 4 Destination Address High Register 2"
hexmask.long.byte 0x0C 0.--3. 1. " UDA  ,Upper 4-bits of destination address"
line.long 0x10 "DMA2P40_DAL2,DMA to PLB 4 Destination Address Low Register 2"
hexmask.long 0x10 0.--31. 1. " LDA  ,Lower 32-bits of destination address"
line.long 0x14 "DMA2P40_SGH2,DMA to PLB 4 Scatter/Gather Descriptor Address High Register 2"
hexmask.long.byte 0x14 0.--3. 1. " USGD ,Upper 4-bits of address"
line.long 0x18 "DMA2P40_SGL2,DMA to PLB 4 Scatter/Gather Descriptor Address Low Register 2"
hexmask.long 0x18 0.--31. 1. " LSGD ,Lower 32-bits of address"
tree.end
tree "DMA to PLB4 Channel 3"
textline "                      "
if (((data.long(dcr:(0x0300+(0x08*3))))&0x0E000000)==0x00000000)
group dcr:0x318--0x318
line.long 0x00 "DMA2P40_CR3,DMA to PLB4 Channel Control Register 3"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "          CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD  ,TD" "To peripheral,From peripheral"
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location/Destination Memory Location" "PLB/Not allowed,OPB"
bitfld.long 0x00 25.--27. "  PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI ,Destination Address Increment" "-,1"
textline "                      "
bitfld.long 0x00 23. " SAI ,Source Address Increment" "-,1"
bitfld.long 0x00 22. "                BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM  ,Transfer mode" "Peripheral,Reserved,Software-init,Device-paced"
textline "                      "
bitfld.long 0x00 18.--19. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "                PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "        TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 3.--4. " PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "      DEC ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL  ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x0300+(0x08*3))))&0x0E000000)==0x02000000)
group dcr:0x0318--0x318
line.long 0x00 "DMA2P40_CR3,DMA to PLB4 Channel Control Register 3"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "          CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD  ,TD" "To peripheral,From peripheral"
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location/Destination Memory Location" "PLB/Not allowed,OPB"
bitfld.long 0x00 25.--27. "  PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI ,Destination Address Increment" "-,2"
textline "                      "
bitfld.long 0x00 23. " SAI ,Source Address Increment" "-,2"
bitfld.long 0x00 22. "                BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM  ,Transfer mode" "Peripheral,Reserved,Software-init,Device-paced"
textline "                      "
bitfld.long 0x00 18.--19. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "                PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "        TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 3.--4. " PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "      DEC ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL  ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x0300+(0x08*3))))&0x0E000000)==0x04000000)
group dcr:0x318--0x318
line.long 0x00 "DMA2P40_CR3,DMA to PLB4 Channel Control Register 3"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "          CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD  ,TD" "To peripheral,From peripheral"
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location/Destination Memory Location" "PLB/Not allowed,OPB"
bitfld.long 0x00 25.--27. "  PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI ,Destination Address Increment" "-,4"
textline "                      "
bitfld.long 0x00 23. " SAI ,Source Address Increment" "-,4"
bitfld.long 0x00 22. "                BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM  ,Transfer mode" "Peripheral,Reserved,Software-init,Device-paced"
textline "                      "
bitfld.long 0x00 18.--19. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "                PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "        TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 3.--4. " PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "      DEC ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL  ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x0300+(0x08*3))))&0x0E000000)==0x06000000)
group dcr:0x0318--0x318
line.long 0x00 "DMA2P40_CR3,DMA to PLB4 Channel Control Register 3"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "          CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD  ,TD" "To peripheral,From peripheral"
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location/Destination Memory Location" "PLB/Not allowed,OPB"
bitfld.long 0x00 25.--27. "  PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI ,Destination Address Increment" "-,8"
textline "                      "
bitfld.long 0x00 23. " SAI ,Source Address Increment" "-,8"
bitfld.long 0x00 22. "                BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM  ,Transfer mode" "Peripheral,Reserved,Software-init,Device-paced"
textline "                      "
bitfld.long 0x00 18.--19. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "                PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "        TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 3.--4. " PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "      DEC ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL  ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x0300+(0x08*3))))&0x0E000000)==0x08000000)
group dcr:0x0318--0x318
line.long 0x00 "DMA2P40_CR3,DMA to PLB4 Channel Control Register 3"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "          CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD  ,TD" "To peripheral,From peripheral"
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location/Destination Memory Location" "PLB/Not allowed,OPB"
bitfld.long 0x00 25.--27. "  PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI ,Destination Address Increment" "-,16"
textline "                      "
bitfld.long 0x00 23. " SAI ,Source Address Increment" "-,16"
bitfld.long 0x00 22. "               BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM  ,Transfer mode" "Peripheral,Reserved,Software-init,Device-paced"
textline "                      "
bitfld.long 0x00 18.--19. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "                PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "        TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 3.--4. " PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "      DEC ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL  ,Source Address Location/Memory Location" "PLB,OPB"
else 
group dcr:0x318--0x318
line.long 0x00 "DMA2P40_CR3,DMA to PLB4 Channel Control Register 3"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "          CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD  ,TD" "To peripheral,From peripheral"
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location/Destination Memory Location" "PLB/Not allowed,OPB"
bitfld.long 0x00 25.--27. "  PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI ,Destination Address Increment" "-,Reserved"
textline "                      "
bitfld.long 0x00 23. " SAI ,Source Address Increment" "-,Reserved"
bitfld.long 0x00 22. "         BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM  ,Transfer mode" "Peripheral,Reserved,Software-init,Device-paced"
textline "                      "
bitfld.long 0x00 18.--19. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "                PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "        TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 3.--4. " PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "      DEC ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL  ,Source Address Location/Memory Location" "PLB,OPB"
endif
group dcr:0x0319--0x31F    
line.long 0x00 "DMA2P40_CTC3,DMA to PLB 4 Count and Control Register 3"
bitfld.long 0x00 29. " TCIE ,Terminal Count Interrupt Enable" "-,Enabled"
bitfld.long 0x00 28. "   ETIE ,EOT Interrupt Enable" "-,Enabled"
bitfld.long 0x00 27. "  EIE  ,Error Interrupt Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 24.--26. " SID  ,Subchannel ID" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 23. "         BTEN ,Burst Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  BSIZ ,Burst Size" "2,4,8,16"
textline "                      "
bitfld.long 0x00 20. " PCE  ,Parity Check Enable" "-,Enabled"
hexmask.long 0x00 0.--19. 1. "   TC   ,Transfer Count"
line.long 0x04 "DMA2P40_SAH3,DMA to PLB 4 Source Address High Register 3"
hexmask.long.byte 0x04 0.--3. 1. " USA  ,Upper 4-bits of source address"
line.long 0x08 "DMA2P40_SAL3,DMA to PLB 4 Source Address Low Register 3"
hexmask.long 0x08 0.--31. 1. " LSA  ,Lower 32-bits of source address"
line.long 0x0C "DMA2P40_DAH3,DMA to PLB 4 Destination Address High Register 3"
hexmask.long.byte 0x0C 0.--3. 1. " UDA  ,Upper 4-bits of destination address"
line.long 0x10 "DMA2P40_DAL3,DMA to PLB 4 Destination Address Low Register 3"
hexmask.long 0x10 0.--31. 1. " LDA  ,Lower 32-bits of destination address"
line.long 0x14 "DMA2P40_SGH3,DMA to PLB 4 Scatter/Gather Descriptor Address High Register 3"
hexmask.long.byte 0x14 0.--3. 1. " USGD ,Upper 4-bits of address"
line.long 0x18 "DMA2P40_SGL3,DMA to PLB 4 Scatter/Gather Descriptor Address Low Register 3"
hexmask.long 0x18 0.--31. 1. " LSGD ,Lower 32-bits of address"
tree.end
textline "                      "
group dcr:0x0320--0x320
line.long 0x00 "DMA2P40_SR,DMA to PLB 4 Status Register"
bitfld.long 0x00 31. " CS0  ,Channel 0 Terminal Count Status" "-,Reached"
bitfld.long 0x00 30. "      CS1  ,Channel 1 Terminal Count Status" "-,Reached"
bitfld.long 0x00 29. "      CS2  ,Channel 2 Terminal Count Status" "-,Reached"
textline "                      "    
bitfld.long 0x00 28. " CS3  ,Channel 3 Terminal Count Status" "-,Reached"
bitfld.long 0x00 27. "      TS0  ,Channel 0 End of Transfer Status" "-,Requested"
bitfld.long 0x00 26. "    TS1  ,Channel 1 End of Transfer Status" "-,Requested"
textline "                      "
bitfld.long 0x00 25. " TS2  ,Channel 2 End of Transfer Status" "-,Requested"
bitfld.long 0x00 24. "    TS3  ,Channel 3 End of Transfer Status" "-,Requested"
bitfld.long 0x00 23. "    RI0  ,Channel 0 Error Status" "-,Error"
textline "                      "
bitfld.long 0x00 22. " RI1  ,Channel 1 Error Status" "-,Error"
bitfld.long 0x00 21. "        RI2  ,Channel 2 Error Status" "-,Error"
bitfld.long 0x00 20. "        RI3  ,Channel 3 Error Status" "-,Error"
textline "                      "
bitfld.long 0x00 19. " IR0  ,Internal DMA Request Channel 0" "-,Pending"
bitfld.long 0x00 18. "      IR1  ,Internal DMA Request Channel 1" "-,Pending"
bitfld.long 0x00 17. "      IR2  ,Internal DMA Request Channel 2" "-,Pending"
textline "                      "
bitfld.long 0x00 16. " IR3  ,Internal DMA Request Channel 3" "-,Pending"
bitfld.long 0x00 15. "      ER0  ,External DMA Request Channel 0" "-,Pending"
bitfld.long 0x00 14. "      ER1  ,External DMA Request Channel 1" "-,Pending"
textline "                      "
bitfld.long 0x00 13. " ER2  ,External DMA Request Channel 2" "-,Pending"
bitfld.long 0x00 12. "      ER3  ,External DMA Request Channel 3" "-,Pending"
bitfld.long 0x00 11. "      CB0  ,Channel 0 Busy" "-,Busy"
textline "                      "
bitfld.long 0x00 10. " CB1  ,Channel 1 Busy" "-,Busy"
bitfld.long 0x00 9. "         CB2  ,Channel 2 Busy" "-,Busy"
bitfld.long 0x00 8. "         CB3  ,Channel 3 Busy" "-,Busy"
textline "                      "
bitfld.long 0x00 7. " SG0  ,Scatter/Gather Status Channel 0" "-,In progress"
bitfld.long 0x00 6. "  SG1  ,Scatter/Gather Status Channel 1" "-,In progress"
bitfld.long 0x00 5. "  SG2  ,Scatter/Gather Status Channel 2" "-,In progress"
textline "                      "
bitfld.long 0x00 4. " SG3  ,Scatter/Gather Status Channel 3" "-,In progress"
group dcr:0x323++0x00
line.long 0x00 "DMA2P40_SGC,DMA to PLB 4 Scatter/Gather Command Register"
bitfld.long 0x00 31. " SSG0 ,Start Scatter/Gather for channel 0" "-,Enabled"
bitfld.long 0x00 30. "      SSG1 ,Start Scatter/Gather for channel 1" "-,Enabled"
bitfld.long 0x00 29. "      SSG2 ,Start Scatter/Gather for channel 2" "-,Enabled"
textline "                      "
bitfld.long 0x00 28. " SSG3 ,Start Scatter/Gather for channel 3" "-,Enabled"
bitfld.long 0x00 27. "      SGL0 ,Scatter/Gather Descriptor Table Location for channel 0" "PLB,OPB"
bitfld.long 0x00 26. "          SGL1 ,Scatter/Gather Descriptor Table Location for channel 1" "PLB,OPB"
textline "                      "
bitfld.long 0x00 25. " SGL2 ,Scatter/Gather Descriptor Table Location for channel 2" "PLB,OPB"
bitfld.long 0x00 24. "          SGL3 ,Scatter/Gather Descriptor Table Location for channel 3" "PLB,OPB"
bitfld.long 0x00 15. "          EM0  ,Enable Mask for channel 0" "Enabled,-"
textline "                      "
bitfld.long 0x00 14. " EM1  ,Enable Mask for channel 1" "Enabled,-"
bitfld.long 0x00 13. "      EM2  ,Enable Mask for channel 2" "Enabled,-"
bitfld.long 0x00 12. "      EM3  ,Enable Mask for channel 3" "Enabled,-"
group dcr:0x325++0x00
line.long 0x00 "DMA2P40_SLP,DMA to PLB 4 Sleep Mode Register"
bitfld.long 0x00 27.--31. " IDU  ,Idle Timer Upper" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x00 22.--26. "           IDL  ,Idle Timer Lower" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x00 21. "           SME  ,Sleep Mode Enable" "-,Enabled"
hgroup dcr:0x326++0x00
hide.long 0x00 "DMA2P40_POL,DMA to PLB 4 Polarity Configuration Register"

elif ((cpu()=="PPC440EP")||(cpu()=="PPC440GR")||(cpu()=="PPC440EPX"))
;Direct Memory Access to PLB4 Controller
;includes dma_to_plb4_x.ph
width 0x0D
tree "DMA to PLB4 Channel 0"
width 14.
textline "                       "
if (((data.long(dcr:(0x0300+(0x08*0))))&0x0E000000)==0x00000000)
group dcr:(0x0300+(0x08*0))--(0x300+(0x08*0))
line.long 0x00 "DMA2P40_CR0,DMA to PLB4 Channel Control Register 0"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "       CIE  ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD   ,Transfer Destination" "Low,High"
textline "                       "
bitfld.long 0x00 28. " PL   ,Peripheral Location/Destination Memory Location" "Low,High"
bitfld.long 0x00 25.--27. "          PW   ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI  ,Destination Address Increment" "-,1"
textline "                       "
bitfld.long 0x00 23. " SAI  ,Source Address Increment" "-,1"
bitfld.long 0x00 22. "             BEN  ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM   ,Transfer mode" "Peripheral,Reserved,Software-initiated m2m,Device-paced m2m"
textline "                       "
bitfld.long 0x00 18.--19. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "             PWC  ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC  ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                       "
bitfld.long 0x00 8. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "     TCE  ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP   ,Channel Priority" "Low,Medium low,Medium high,High"
textline "                       "
bitfld.long 0x00 3.--4. " PF   ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "   DEC  ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL   ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x0300+(0x08*0))))&0x0E000000)==0x02000000)
group dcr:(0x0300+(0x08*0))--(0x300+(0x08*0))
line.long 0x00 "DMA2P40_CR0,DMA to PLB4 Channel Control Register 0"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "       CIE  ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD   ,Transfer Destination" "Low,High"
textline "                       "
bitfld.long 0x00 28. " PL   ,Peripheral Location/Destination Memory Location" "Low,High"
bitfld.long 0x00 25.--27. "          PW   ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI  ,Destination Address Increment" "-,2"
textline "                       "
bitfld.long 0x00 23. " SAI  ,Source Address Increment" "-,2"
bitfld.long 0x00 22. "             BEN  ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM   ,Transfer mode" "Peripheral,Reserved,Software-initiated m2m,Device-paced m2m"
textline "                       "
bitfld.long 0x00 18.--19. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "             PWC  ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC  ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                       "
bitfld.long 0x00 8. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "     TCE  ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP   ,Channel Priority" "Low,Medium low,Medium high,High"
textline "                       "
bitfld.long 0x00 3.--4. " PF   ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "   DEC  ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL   ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x0300+(0x08*0))))&0x0E000000)==0x04000000)
group dcr:(0x0300+(0x08*0))--(0x300+(0x08*0))
line.long 0x00 "DMA2P40_CR0,DMA to PLB4 Channel Control Register 0"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "       CIE  ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD   ,Transfer Destination" "Low,High"
textline "                       "
bitfld.long 0x00 28. " PL   ,Peripheral Location/Destination Memory Location" "Low,High"
bitfld.long 0x00 25.--27. "          PW   ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI  ,Destination Address Increment" "-,4"
textline "                       "
bitfld.long 0x00 23. " SAI  ,Source Address Increment" "-,4"
bitfld.long 0x00 22. "             BEN  ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM   ,Transfer mode" "Peripheral,Reserved,Software-initiated m2m,Device-paced m2m"
textline "                       "
bitfld.long 0x00 18.--19. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "             PWC  ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC  ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                       "
bitfld.long 0x00 8. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "     TCE  ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP   ,Channel Priority" "Low,Medium low,Medium high,High"
textline "                       "
bitfld.long 0x00 3.--4. " PF   ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "   DEC  ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL   ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x0300+(0x08*0))))&0x0E000000)==0x06000000)
group dcr:(0x0300+(0x08*0))--(0x300+(0x08*0))
line.long 0x00 "DMA2P40_CR0,DMA to PLB4 Channel Control Register 0"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "       CIE  ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD   ,Transfer Destination" "Low,High"
textline "                       "
bitfld.long 0x00 28. " PL   ,Peripheral Location/Destination Memory Location" "Low,High"
bitfld.long 0x00 25.--27. "          PW   ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI  ,Destination Address Increment" "-,8"
textline "                       "
bitfld.long 0x00 23. " SAI  ,Source Address Increment" "-,8"
bitfld.long 0x00 22. "             BEN  ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM   ,Transfer mode" "Peripheral,Reserved,Software-initiated m2m,Device-paced m2m"
textline "                       "
bitfld.long 0x00 18.--19. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "             PWC  ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC  ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                       "
bitfld.long 0x00 8. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "     TCE  ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP   ,Channel Priority" "Low,Medium low,Medium high,High"
textline "                       "
bitfld.long 0x00 3.--4. " PF   ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "   DEC  ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL   ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x0300+(0x08*0))))&0x0E000000)==0x08000000)
group dcr:(0x0300+(0x08*0))--(0x300+(0x08*0))
line.long 0x00 "DMA2P40_CR0,DMA to PLB4 Channel Control Register 0"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "       CIE  ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD   ,Transfer Destination" "Low,High"
textline "                       "
bitfld.long 0x00 28. " PL   ,Peripheral Location/Destination Memory Location" "Low,High"
bitfld.long 0x00 25.--27. "          PW   ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI  ,Destination Address Increment" "-,16"
textline "                       "
bitfld.long 0x00 23. " SAI  ,Source Address Increment" "-,16"
bitfld.long 0x00 22. "            BEN  ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM   ,Transfer mode" "Peripheral,Reserved,Software-initiated m2m,Device-paced m2m"
textline "                       "
bitfld.long 0x00 18.--19. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "             PWC  ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC  ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                       "
bitfld.long 0x00 8. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "     TCE  ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP   ,Channel Priority" "Low,Medium low,Medium high,High"
textline "                       "
bitfld.long 0x00 3.--4. " PF   ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "   DEC  ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL   ,Source Address Location/Memory Location" "PLB,OPB"
else 
group dcr:(0x0300+(0x08*0))--(0x300+(0x08*0))
line.long 0x00 "DMA2P40_CR0,DMA to PLB4 Channel Control Register 0"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "       CIE  ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD   ,Transfer Destination" "Low,High"
textline "                       "
bitfld.long 0x00 28. " PL   ,Peripheral Location/Destination Memory Location" "Low,High"
bitfld.long 0x00 25.--27. "          PW   ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI  ,Destination Address Increment" "-,Reserved"
textline "                       "
bitfld.long 0x00 23. " SAI  ,Source Address Increment" "-,Reserved"
bitfld.long 0x00 22. "      BEN  ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM   ,Transfer mode" "Peripheral,Reserved,Software-initiated m2m,Device-paced m2m"
textline "                       "
bitfld.long 0x00 18.--19. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "             PWC  ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC  ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                       "
bitfld.long 0x00 8. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "     TCE  ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP   ,Channel Priority" "Low,Medium low,Medium high,High"
textline "                       "
bitfld.long 0x00 3.--4. " PF   ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "   DEC  ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL   ,Source Address Location/Memory Location" "PLB,OPB"
endif
group dcr:(0x0301+(0x08*0))--(0x301+(0x08*0))    
line.long 0x00 "DMA2P40_CT0,DMA to PLB 4 Count and Control Register 0"
bitfld.long 0x00 29. " TCIE ,Terminal Count Interrupt Enable" "-,Enabled"
bitfld.long 0x00 28. "       ETIE ,EOT Interrupt Enable" "-,Enabled"
bitfld.long 0x00 27. "         EIE  ,Error Interrupt Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 24.--26. " SID  ,Subchannel ID" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 23. "             BTEN ,Burst Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "         BSIZ ,Burst Size" "2,4,8,16"
textline "                       "
bitfld.long 0x00 20. " PCE  ,Parity Check Enable" "-,Enabled"
hexmask.long 0x00 0.--19. 1. "       TC   ,Transfer Count"
group dcr:(0x0302+(0x08*0))--(0x302+(0x08*0))    
line.long 0x00 "DMA2P40_SAH0,DMA to PLB 4 Source Address High Register 0"
bitfld.long 0x00 0.--3. " USA  ,Upper 4-bits of source address" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
group dcr:(0x0303+(0x08*0))--(0x303+(0x08*0))    
line.long 0x00 "DMA2P40_SAL0,DMA to PLB 4 Source Address Low Register 0"
hexmask.long 0x00 0.--31. 1. " LSA  ,Lower 32-bits of source address"
group dcr:(0x0304+(0x08*0))--(0x304+(0x08*0))    
line.long 0x00 "DMA2P40_DAH0,DMA to PLB 4 Destination Address High Register 0"
bitfld.long 0x00 0.--3. " UDA  ,Upper 4-bits of destination address" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
group dcr:(0x0305+(0x08*0))--(0x305+(0x08*0))    
line.long 0x00 "DMA2P40_DAL0,DMA to PLB 4 Destination Address Low Register 0"
hexmask.long 0x00 0.--31. 1. " LDA  ,Lower 32-bits of destination address"
group dcr:(0x0306+(0x08*0))--(0x306+(0x08*0))    
line.long 0x00 "DMA2P40_SGH0,DMA to PLB 4 Scatter/Gather Descriptor Address High Register 0"
bitfld.long 0x00 0.--3. " USGD ,Upper 4-bits of address" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
group dcr:(0x0307+(0x08*0))--(0x307+(0x08*0))    
line.long 0x00 "DMA2P40_SGL0,DMA to PLB 4 Scatter/Gather Descriptor Address Low Register 0"
hexmask.long 0x00 0.--31. 1. " LSGD ,Lower 32-bits of address"
tree.end
tree "DMA to PLB4 Channel 1"
width 14.
textline "                       "
if (((data.long(dcr:(0x0300+(0x08*1))))&0x0E000000)==0x00000000)
group dcr:(0x0300+(0x08*1))--(0x300+(0x08*1))
line.long 0x00 "DMA2P40_CR1,DMA to PLB4 Channel Control Register 1"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "       CIE  ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD   ,Transfer Destination" "Low,High"
textline "                       "
bitfld.long 0x00 28. " PL   ,Peripheral Location/Destination Memory Location" "Low,High"
bitfld.long 0x00 25.--27. "          PW   ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI  ,Destination Address Increment" "-,1"
textline "                       "
bitfld.long 0x00 23. " SAI  ,Source Address Increment" "-,1"
bitfld.long 0x00 22. "             BEN  ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM   ,Transfer mode" "Peripheral,Reserved,Software-initiated m2m,Device-paced m2m"
textline "                       "
bitfld.long 0x00 18.--19. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "             PWC  ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC  ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                       "
bitfld.long 0x00 8. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "     TCE  ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP   ,Channel Priority" "Low,Medium low,Medium high,High"
textline "                       "
bitfld.long 0x00 3.--4. " PF   ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "   DEC  ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL   ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x0300+(0x08*1))))&0x0E000000)==0x02000000)
group dcr:(0x0300+(0x08*1))--(0x300+(0x08*1))
line.long 0x00 "DMA2P40_CR1,DMA to PLB4 Channel Control Register 1"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "       CIE  ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD   ,Transfer Destination" "Low,High"
textline "                       "
bitfld.long 0x00 28. " PL   ,Peripheral Location/Destination Memory Location" "Low,High"
bitfld.long 0x00 25.--27. "          PW   ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI  ,Destination Address Increment" "-,2"
textline "                       "
bitfld.long 0x00 23. " SAI  ,Source Address Increment" "-,2"
bitfld.long 0x00 22. "             BEN  ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM   ,Transfer mode" "Peripheral,Reserved,Software-initiated m2m,Device-paced m2m"
textline "                       "
bitfld.long 0x00 18.--19. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "             PWC  ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC  ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                       "
bitfld.long 0x00 8. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "     TCE  ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP   ,Channel Priority" "Low,Medium low,Medium high,High"
textline "                       "
bitfld.long 0x00 3.--4. " PF   ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "   DEC  ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL   ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x0300+(0x08*1))))&0x0E000000)==0x04000000)
group dcr:(0x0300+(0x08*1))--(0x300+(0x08*1))
line.long 0x00 "DMA2P40_CR1,DMA to PLB4 Channel Control Register 1"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "       CIE  ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD   ,Transfer Destination" "Low,High"
textline "                       "
bitfld.long 0x00 28. " PL   ,Peripheral Location/Destination Memory Location" "Low,High"
bitfld.long 0x00 25.--27. "          PW   ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI  ,Destination Address Increment" "-,4"
textline "                       "
bitfld.long 0x00 23. " SAI  ,Source Address Increment" "-,4"
bitfld.long 0x00 22. "             BEN  ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM   ,Transfer mode" "Peripheral,Reserved,Software-initiated m2m,Device-paced m2m"
textline "                       "
bitfld.long 0x00 18.--19. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "             PWC  ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC  ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                       "
bitfld.long 0x00 8. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "     TCE  ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP   ,Channel Priority" "Low,Medium low,Medium high,High"
textline "                       "
bitfld.long 0x00 3.--4. " PF   ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "   DEC  ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL   ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x0300+(0x08*1))))&0x0E000000)==0x06000000)
group dcr:(0x0300+(0x08*1))--(0x300+(0x08*1))
line.long 0x00 "DMA2P40_CR1,DMA to PLB4 Channel Control Register 1"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "       CIE  ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD   ,Transfer Destination" "Low,High"
textline "                       "
bitfld.long 0x00 28. " PL   ,Peripheral Location/Destination Memory Location" "Low,High"
bitfld.long 0x00 25.--27. "          PW   ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI  ,Destination Address Increment" "-,8"
textline "                       "
bitfld.long 0x00 23. " SAI  ,Source Address Increment" "-,8"
bitfld.long 0x00 22. "             BEN  ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM   ,Transfer mode" "Peripheral,Reserved,Software-initiated m2m,Device-paced m2m"
textline "                       "
bitfld.long 0x00 18.--19. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "             PWC  ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC  ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                       "
bitfld.long 0x00 8. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "     TCE  ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP   ,Channel Priority" "Low,Medium low,Medium high,High"
textline "                       "
bitfld.long 0x00 3.--4. " PF   ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "   DEC  ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL   ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x0300+(0x08*1))))&0x0E000000)==0x08000000)
group dcr:(0x0300+(0x08*1))--(0x300+(0x08*1))
line.long 0x00 "DMA2P40_CR1,DMA to PLB4 Channel Control Register 1"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "       CIE  ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD   ,Transfer Destination" "Low,High"
textline "                       "
bitfld.long 0x00 28. " PL   ,Peripheral Location/Destination Memory Location" "Low,High"
bitfld.long 0x00 25.--27. "          PW   ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI  ,Destination Address Increment" "-,16"
textline "                       "
bitfld.long 0x00 23. " SAI  ,Source Address Increment" "-,16"
bitfld.long 0x00 22. "            BEN  ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM   ,Transfer mode" "Peripheral,Reserved,Software-initiated m2m,Device-paced m2m"
textline "                       "
bitfld.long 0x00 18.--19. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "             PWC  ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC  ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                       "
bitfld.long 0x00 8. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "     TCE  ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP   ,Channel Priority" "Low,Medium low,Medium high,High"
textline "                       "
bitfld.long 0x00 3.--4. " PF   ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "   DEC  ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL   ,Source Address Location/Memory Location" "PLB,OPB"
else 
group dcr:(0x0300+(0x08*1))--(0x300+(0x08*1))
line.long 0x00 "DMA2P40_CR1,DMA to PLB4 Channel Control Register 1"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "       CIE  ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD   ,Transfer Destination" "Low,High"
textline "                       "
bitfld.long 0x00 28. " PL   ,Peripheral Location/Destination Memory Location" "Low,High"
bitfld.long 0x00 25.--27. "          PW   ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI  ,Destination Address Increment" "-,Reserved"
textline "                       "
bitfld.long 0x00 23. " SAI  ,Source Address Increment" "-,Reserved"
bitfld.long 0x00 22. "      BEN  ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM   ,Transfer mode" "Peripheral,Reserved,Software-initiated m2m,Device-paced m2m"
textline "                       "
bitfld.long 0x00 18.--19. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "             PWC  ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC  ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                       "
bitfld.long 0x00 8. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "     TCE  ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP   ,Channel Priority" "Low,Medium low,Medium high,High"
textline "                       "
bitfld.long 0x00 3.--4. " PF   ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "   DEC  ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL   ,Source Address Location/Memory Location" "PLB,OPB"
endif
group dcr:(0x0301+(0x08*1))--(0x301+(0x08*1))    
line.long 0x00 "DMA2P40_CT1,DMA to PLB 4 Count and Control Register 1"
bitfld.long 0x00 29. " TCIE ,Terminal Count Interrupt Enable" "-,Enabled"
bitfld.long 0x00 28. "       ETIE ,EOT Interrupt Enable" "-,Enabled"
bitfld.long 0x00 27. "         EIE  ,Error Interrupt Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 24.--26. " SID  ,Subchannel ID" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 23. "             BTEN ,Burst Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "         BSIZ ,Burst Size" "2,4,8,16"
textline "                       "
bitfld.long 0x00 20. " PCE  ,Parity Check Enable" "-,Enabled"
hexmask.long 0x00 0.--19. 1. "       TC   ,Transfer Count"
group dcr:(0x0302+(0x08*1))--(0x302+(0x08*1))    
line.long 0x00 "DMA2P40_SAH1,DMA to PLB 4 Source Address High Register 1"
bitfld.long 0x00 0.--3. " USA  ,Upper 4-bits of source address" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
group dcr:(0x0303+(0x08*1))--(0x303+(0x08*1))    
line.long 0x00 "DMA2P40_SAL1,DMA to PLB 4 Source Address Low Register 1"
hexmask.long 0x00 0.--31. 1. " LSA  ,Lower 32-bits of source address"
group dcr:(0x0304+(0x08*1))--(0x304+(0x08*1))    
line.long 0x00 "DMA2P40_DAH1,DMA to PLB 4 Destination Address High Register 1"
bitfld.long 0x00 0.--3. " UDA  ,Upper 4-bits of destination address" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
group dcr:(0x0305+(0x08*1))--(0x305+(0x08*1))    
line.long 0x00 "DMA2P40_DAL1,DMA to PLB 4 Destination Address Low Register 1"
hexmask.long 0x00 0.--31. 1. " LDA  ,Lower 32-bits of destination address"
group dcr:(0x0306+(0x08*1))--(0x306+(0x08*1))    
line.long 0x00 "DMA2P40_SGH1,DMA to PLB 4 Scatter/Gather Descriptor Address High Register 1"
bitfld.long 0x00 0.--3. " USGD ,Upper 4-bits of address" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
group dcr:(0x0307+(0x08*1))--(0x307+(0x08*1))    
line.long 0x00 "DMA2P40_SGL1,DMA to PLB 4 Scatter/Gather Descriptor Address Low Register 1"
hexmask.long 0x00 0.--31. 1. " LSGD ,Lower 32-bits of address"
tree.end
tree "DMA to PLB4 Channel 2"
width 14.
textline "                       "
if (((data.long(dcr:(0x0300+(0x08*2))))&0x0E000000)==0x00000000)
group dcr:(0x0300+(0x08*2))--(0x300+(0x08*2))
line.long 0x00 "DMA2P40_CR2,DMA to PLB4 Channel Control Register 2"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "       CIE  ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD   ,Transfer Destination" "Low,High"
textline "                       "
bitfld.long 0x00 28. " PL   ,Peripheral Location/Destination Memory Location" "Low,High"
bitfld.long 0x00 25.--27. "          PW   ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI  ,Destination Address Increment" "-,1"
textline "                       "
bitfld.long 0x00 23. " SAI  ,Source Address Increment" "-,1"
bitfld.long 0x00 22. "             BEN  ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM   ,Transfer mode" "Peripheral,Reserved,Software-initiated m2m,Device-paced m2m"
textline "                       "
bitfld.long 0x00 18.--19. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "             PWC  ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC  ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                       "
bitfld.long 0x00 8. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "     TCE  ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP   ,Channel Priority" "Low,Medium low,Medium high,High"
textline "                       "
bitfld.long 0x00 3.--4. " PF   ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "   DEC  ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL   ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x0300+(0x08*2))))&0x0E000000)==0x02000000)
group dcr:(0x0300+(0x08*2))--(0x300+(0x08*2))
line.long 0x00 "DMA2P40_CR2,DMA to PLB4 Channel Control Register 2"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "       CIE  ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD   ,Transfer Destination" "Low,High"
textline "                       "
bitfld.long 0x00 28. " PL   ,Peripheral Location/Destination Memory Location" "Low,High"
bitfld.long 0x00 25.--27. "          PW   ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI  ,Destination Address Increment" "-,2"
textline "                       "
bitfld.long 0x00 23. " SAI  ,Source Address Increment" "-,2"
bitfld.long 0x00 22. "             BEN  ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM   ,Transfer mode" "Peripheral,Reserved,Software-initiated m2m,Device-paced m2m"
textline "                       "
bitfld.long 0x00 18.--19. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "             PWC  ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC  ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                       "
bitfld.long 0x00 8. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "     TCE  ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP   ,Channel Priority" "Low,Medium low,Medium high,High"
textline "                       "
bitfld.long 0x00 3.--4. " PF   ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "   DEC  ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL   ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x0300+(0x08*2))))&0x0E000000)==0x04000000)
group dcr:(0x0300+(0x08*2))--(0x300+(0x08*2))
line.long 0x00 "DMA2P40_CR2,DMA to PLB4 Channel Control Register 2"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "       CIE  ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD   ,Transfer Destination" "Low,High"
textline "                       "
bitfld.long 0x00 28. " PL   ,Peripheral Location/Destination Memory Location" "Low,High"
bitfld.long 0x00 25.--27. "          PW   ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI  ,Destination Address Increment" "-,4"
textline "                       "
bitfld.long 0x00 23. " SAI  ,Source Address Increment" "-,4"
bitfld.long 0x00 22. "             BEN  ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM   ,Transfer mode" "Peripheral,Reserved,Software-initiated m2m,Device-paced m2m"
textline "                       "
bitfld.long 0x00 18.--19. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "             PWC  ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC  ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                       "
bitfld.long 0x00 8. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "     TCE  ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP   ,Channel Priority" "Low,Medium low,Medium high,High"
textline "                       "
bitfld.long 0x00 3.--4. " PF   ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "   DEC  ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL   ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x0300+(0x08*2))))&0x0E000000)==0x06000000)
group dcr:(0x0300+(0x08*2))--(0x300+(0x08*2))
line.long 0x00 "DMA2P40_CR2,DMA to PLB4 Channel Control Register 2"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "       CIE  ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD   ,Transfer Destination" "Low,High"
textline "                       "
bitfld.long 0x00 28. " PL   ,Peripheral Location/Destination Memory Location" "Low,High"
bitfld.long 0x00 25.--27. "          PW   ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI  ,Destination Address Increment" "-,8"
textline "                       "
bitfld.long 0x00 23. " SAI  ,Source Address Increment" "-,8"
bitfld.long 0x00 22. "             BEN  ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM   ,Transfer mode" "Peripheral,Reserved,Software-initiated m2m,Device-paced m2m"
textline "                       "
bitfld.long 0x00 18.--19. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "             PWC  ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC  ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                       "
bitfld.long 0x00 8. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "     TCE  ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP   ,Channel Priority" "Low,Medium low,Medium high,High"
textline "                       "
bitfld.long 0x00 3.--4. " PF   ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "   DEC  ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL   ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x0300+(0x08*2))))&0x0E000000)==0x08000000)
group dcr:(0x0300+(0x08*2))--(0x300+(0x08*2))
line.long 0x00 "DMA2P40_CR2,DMA to PLB4 Channel Control Register 2"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "       CIE  ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD   ,Transfer Destination" "Low,High"
textline "                       "
bitfld.long 0x00 28. " PL   ,Peripheral Location/Destination Memory Location" "Low,High"
bitfld.long 0x00 25.--27. "          PW   ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI  ,Destination Address Increment" "-,16"
textline "                       "
bitfld.long 0x00 23. " SAI  ,Source Address Increment" "-,16"
bitfld.long 0x00 22. "            BEN  ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM   ,Transfer mode" "Peripheral,Reserved,Software-initiated m2m,Device-paced m2m"
textline "                       "
bitfld.long 0x00 18.--19. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "             PWC  ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC  ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                       "
bitfld.long 0x00 8. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "     TCE  ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP   ,Channel Priority" "Low,Medium low,Medium high,High"
textline "                       "
bitfld.long 0x00 3.--4. " PF   ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "   DEC  ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL   ,Source Address Location/Memory Location" "PLB,OPB"
else 
group dcr:(0x0300+(0x08*2))--(0x300+(0x08*2))
line.long 0x00 "DMA2P40_CR2,DMA to PLB4 Channel Control Register 2"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "       CIE  ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD   ,Transfer Destination" "Low,High"
textline "                       "
bitfld.long 0x00 28. " PL   ,Peripheral Location/Destination Memory Location" "Low,High"
bitfld.long 0x00 25.--27. "          PW   ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI  ,Destination Address Increment" "-,Reserved"
textline "                       "
bitfld.long 0x00 23. " SAI  ,Source Address Increment" "-,Reserved"
bitfld.long 0x00 22. "      BEN  ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM   ,Transfer mode" "Peripheral,Reserved,Software-initiated m2m,Device-paced m2m"
textline "                       "
bitfld.long 0x00 18.--19. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "             PWC  ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC  ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                       "
bitfld.long 0x00 8. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "     TCE  ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP   ,Channel Priority" "Low,Medium low,Medium high,High"
textline "                       "
bitfld.long 0x00 3.--4. " PF   ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "   DEC  ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL   ,Source Address Location/Memory Location" "PLB,OPB"
endif
group dcr:(0x0301+(0x08*2))--(0x301+(0x08*2))    
line.long 0x00 "DMA2P40_CT2,DMA to PLB 4 Count and Control Register 2"
bitfld.long 0x00 29. " TCIE ,Terminal Count Interrupt Enable" "-,Enabled"
bitfld.long 0x00 28. "       ETIE ,EOT Interrupt Enable" "-,Enabled"
bitfld.long 0x00 27. "         EIE  ,Error Interrupt Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 24.--26. " SID  ,Subchannel ID" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 23. "             BTEN ,Burst Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "         BSIZ ,Burst Size" "2,4,8,16"
textline "                       "
bitfld.long 0x00 20. " PCE  ,Parity Check Enable" "-,Enabled"
hexmask.long 0x00 0.--19. 1. "       TC   ,Transfer Count"
group dcr:(0x0302+(0x08*2))--(0x302+(0x08*2))    
line.long 0x00 "DMA2P40_SAH2,DMA to PLB 4 Source Address High Register 2"
bitfld.long 0x00 0.--3. " USA  ,Upper 4-bits of source address" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
group dcr:(0x0303+(0x08*2))--(0x303+(0x08*2))    
line.long 0x00 "DMA2P40_SAL2,DMA to PLB 4 Source Address Low Register 2"
hexmask.long 0x00 0.--31. 1. " LSA  ,Lower 32-bits of source address"
group dcr:(0x0304+(0x08*2))--(0x304+(0x08*2))    
line.long 0x00 "DMA2P40_DAH2,DMA to PLB 4 Destination Address High Register 2"
bitfld.long 0x00 0.--3. " UDA  ,Upper 4-bits of destination address" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
group dcr:(0x0305+(0x08*2))--(0x305+(0x08*2))    
line.long 0x00 "DMA2P40_DAL2,DMA to PLB 4 Destination Address Low Register 2"
hexmask.long 0x00 0.--31. 1. " LDA  ,Lower 32-bits of destination address"
group dcr:(0x0306+(0x08*2))--(0x306+(0x08*2))    
line.long 0x00 "DMA2P40_SGH2,DMA to PLB 4 Scatter/Gather Descriptor Address High Register 2"
bitfld.long 0x00 0.--3. " USGD ,Upper 4-bits of address" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
group dcr:(0x0307+(0x08*2))--(0x307+(0x08*2))    
line.long 0x00 "DMA2P40_SGL2,DMA to PLB 4 Scatter/Gather Descriptor Address Low Register 2"
hexmask.long 0x00 0.--31. 1. " LSGD ,Lower 32-bits of address"
tree.end
tree "DMA to PLB4 Channel 3"
width 14.
textline "                       "
if (((data.long(dcr:(0x0300+(0x08*3))))&0x0E000000)==0x00000000)
group dcr:(0x0300+(0x08*3))--(0x300+(0x08*3))
line.long 0x00 "DMA2P40_CR3,DMA to PLB4 Channel Control Register 3"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "       CIE  ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD   ,Transfer Destination" "Low,High"
textline "                       "
bitfld.long 0x00 28. " PL   ,Peripheral Location/Destination Memory Location" "Low,High"
bitfld.long 0x00 25.--27. "          PW   ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI  ,Destination Address Increment" "-,1"
textline "                       "
bitfld.long 0x00 23. " SAI  ,Source Address Increment" "-,1"
bitfld.long 0x00 22. "             BEN  ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM   ,Transfer mode" "Peripheral,Reserved,Software-initiated m2m,Device-paced m2m"
textline "                       "
bitfld.long 0x00 18.--19. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "             PWC  ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC  ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                       "
bitfld.long 0x00 8. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "     TCE  ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP   ,Channel Priority" "Low,Medium low,Medium high,High"
textline "                       "
bitfld.long 0x00 3.--4. " PF   ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "   DEC  ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL   ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x0300+(0x08*3))))&0x0E000000)==0x02000000)
group dcr:(0x0300+(0x08*3))--(0x300+(0x08*3))
line.long 0x00 "DMA2P40_CR3,DMA to PLB4 Channel Control Register 3"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "       CIE  ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD   ,Transfer Destination" "Low,High"
textline "                       "
bitfld.long 0x00 28. " PL   ,Peripheral Location/Destination Memory Location" "Low,High"
bitfld.long 0x00 25.--27. "          PW   ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI  ,Destination Address Increment" "-,2"
textline "                       "
bitfld.long 0x00 23. " SAI  ,Source Address Increment" "-,2"
bitfld.long 0x00 22. "             BEN  ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM   ,Transfer mode" "Peripheral,Reserved,Software-initiated m2m,Device-paced m2m"
textline "                       "
bitfld.long 0x00 18.--19. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "             PWC  ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC  ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                       "
bitfld.long 0x00 8. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "     TCE  ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP   ,Channel Priority" "Low,Medium low,Medium high,High"
textline "                       "
bitfld.long 0x00 3.--4. " PF   ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "   DEC  ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL   ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x0300+(0x08*3))))&0x0E000000)==0x04000000)
group dcr:(0x0300+(0x08*3))--(0x300+(0x08*3))
line.long 0x00 "DMA2P40_CR3,DMA to PLB4 Channel Control Register 3"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "       CIE  ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD   ,Transfer Destination" "Low,High"
textline "                       "
bitfld.long 0x00 28. " PL   ,Peripheral Location/Destination Memory Location" "Low,High"
bitfld.long 0x00 25.--27. "          PW   ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI  ,Destination Address Increment" "-,4"
textline "                       "
bitfld.long 0x00 23. " SAI  ,Source Address Increment" "-,4"
bitfld.long 0x00 22. "             BEN  ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM   ,Transfer mode" "Peripheral,Reserved,Software-initiated m2m,Device-paced m2m"
textline "                       "
bitfld.long 0x00 18.--19. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "             PWC  ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC  ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                       "
bitfld.long 0x00 8. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "     TCE  ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP   ,Channel Priority" "Low,Medium low,Medium high,High"
textline "                       "
bitfld.long 0x00 3.--4. " PF   ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "   DEC  ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL   ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x0300+(0x08*3))))&0x0E000000)==0x06000000)
group dcr:(0x0300+(0x08*3))--(0x300+(0x08*3))
line.long 0x00 "DMA2P40_CR3,DMA to PLB4 Channel Control Register 3"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "       CIE  ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD   ,Transfer Destination" "Low,High"
textline "                       "
bitfld.long 0x00 28. " PL   ,Peripheral Location/Destination Memory Location" "Low,High"
bitfld.long 0x00 25.--27. "          PW   ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI  ,Destination Address Increment" "-,8"
textline "                       "
bitfld.long 0x00 23. " SAI  ,Source Address Increment" "-,8"
bitfld.long 0x00 22. "             BEN  ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM   ,Transfer mode" "Peripheral,Reserved,Software-initiated m2m,Device-paced m2m"
textline "                       "
bitfld.long 0x00 18.--19. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "             PWC  ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC  ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                       "
bitfld.long 0x00 8. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "     TCE  ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP   ,Channel Priority" "Low,Medium low,Medium high,High"
textline "                       "
bitfld.long 0x00 3.--4. " PF   ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "   DEC  ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL   ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x0300+(0x08*3))))&0x0E000000)==0x08000000)
group dcr:(0x0300+(0x08*3))--(0x300+(0x08*3))
line.long 0x00 "DMA2P40_CR3,DMA to PLB4 Channel Control Register 3"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "       CIE  ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD   ,Transfer Destination" "Low,High"
textline "                       "
bitfld.long 0x00 28. " PL   ,Peripheral Location/Destination Memory Location" "Low,High"
bitfld.long 0x00 25.--27. "          PW   ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI  ,Destination Address Increment" "-,16"
textline "                       "
bitfld.long 0x00 23. " SAI  ,Source Address Increment" "-,16"
bitfld.long 0x00 22. "            BEN  ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM   ,Transfer mode" "Peripheral,Reserved,Software-initiated m2m,Device-paced m2m"
textline "                       "
bitfld.long 0x00 18.--19. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "             PWC  ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC  ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                       "
bitfld.long 0x00 8. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "     TCE  ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP   ,Channel Priority" "Low,Medium low,Medium high,High"
textline "                       "
bitfld.long 0x00 3.--4. " PF   ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "   DEC  ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL   ,Source Address Location/Memory Location" "PLB,OPB"
else 
group dcr:(0x0300+(0x08*3))--(0x300+(0x08*3))
line.long 0x00 "DMA2P40_CR3,DMA to PLB4 Channel Control Register 3"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "       CIE  ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "         TD   ,Transfer Destination" "Low,High"
textline "                       "
bitfld.long 0x00 28. " PL   ,Peripheral Location/Destination Memory Location" "Low,High"
bitfld.long 0x00 25.--27. "          PW   ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "        DAI  ,Destination Address Increment" "-,Reserved"
textline "                       "
bitfld.long 0x00 23. " SAI  ,Source Address Increment" "-,Reserved"
bitfld.long 0x00 22. "      BEN  ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 20.--21. "         TM   ,Transfer mode" "Peripheral,Reserved,Software-initiated m2m,Device-paced m2m"
textline "                       "
bitfld.long 0x00 18.--19. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 12.--17. "             PWC  ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 9.--11. "              PHC  ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                       "
bitfld.long 0x00 8. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "     TCE  ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 5.--6. "         CP   ,Channel Priority" "Low,Medium low,Medium high,High"
textline "                       "
bitfld.long 0x00 3.--4. " PF   ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "   DEC  ,Address Decrement" "SAI and DAI,Transfer width"
bitfld.long 0x00 1. "  SL   ,Source Address Location/Memory Location" "PLB,OPB"
endif
group dcr:(0x0301+(0x08*3))--(0x301+(0x08*3))    
line.long 0x00 "DMA2P40_CT3,DMA to PLB 4 Count and Control Register 3"
bitfld.long 0x00 29. " TCIE ,Terminal Count Interrupt Enable" "-,Enabled"
bitfld.long 0x00 28. "       ETIE ,EOT Interrupt Enable" "-,Enabled"
bitfld.long 0x00 27. "         EIE  ,Error Interrupt Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 24.--26. " SID  ,Subchannel ID" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 23. "             BTEN ,Burst Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "         BSIZ ,Burst Size" "2,4,8,16"
textline "                       "
bitfld.long 0x00 20. " PCE  ,Parity Check Enable" "-,Enabled"
hexmask.long 0x00 0.--19. 1. "       TC   ,Transfer Count"
group dcr:(0x0302+(0x08*3))--(0x302+(0x08*3))    
line.long 0x00 "DMA2P40_SAH3,DMA to PLB 4 Source Address High Register 3"
bitfld.long 0x00 0.--3. " USA  ,Upper 4-bits of source address" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
group dcr:(0x0303+(0x08*3))--(0x303+(0x08*3))    
line.long 0x00 "DMA2P40_SAL3,DMA to PLB 4 Source Address Low Register 3"
hexmask.long 0x00 0.--31. 1. " LSA  ,Lower 32-bits of source address"
group dcr:(0x0304+(0x08*3))--(0x304+(0x08*3))    
line.long 0x00 "DMA2P40_DAH3,DMA to PLB 4 Destination Address High Register 3"
bitfld.long 0x00 0.--3. " UDA  ,Upper 4-bits of destination address" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
group dcr:(0x0305+(0x08*3))--(0x305+(0x08*3))    
line.long 0x00 "DMA2P40_DAL3,DMA to PLB 4 Destination Address Low Register 3"
hexmask.long 0x00 0.--31. 1. " LDA  ,Lower 32-bits of destination address"
group dcr:(0x0306+(0x08*3))--(0x306+(0x08*3))    
line.long 0x00 "DMA2P40_SGH3,DMA to PLB 4 Scatter/Gather Descriptor Address High Register 3"
bitfld.long 0x00 0.--3. " USGD ,Upper 4-bits of address" "0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0xC,0xD,0xE,0xF"
group dcr:(0x0307+(0x08*3))--(0x307+(0x08*3))    
line.long 0x00 "DMA2P40_SGL3,DMA to PLB 4 Scatter/Gather Descriptor Address Low Register 3"
hexmask.long 0x00 0.--31. 1. " LSGD ,Lower 32-bits of address"
tree.end
textline "                      "
width 13.
group dcr:0x0320++0
line.long 0x00 "DMA2P40_SR,DMA to PLB 4 Status Register"
eventfld.long 0x00 31. " CS0  ,Channel 0 Terminal Count Status" "-,0 reached"
eventfld.long 0x00 30. "        CS1  ,Channel 1 Terminal Count Status" "-,0 reached"
eventfld.long 0x00 29. "        CS2  ,Channel 2 Terminal Count Status" "-,0 reached"
textline "                      "
eventfld.long 0x00 28. " CS3  ,Channel 3 Terminal Count Status" "-,0 reached"
eventfld.long 0x00 27. "        TS0  ,Channel 0 End of Transfer Status" "-,Requested"
eventfld.long 0x00 26. "        TS1  ,Channel 1 End of Transfer Status" "-,Requested"
textline "                      "
eventfld.long 0x00 25. " TS2  ,Channel 2 End of Transfer Status" "-,Requested"
eventfld.long 0x00 24. "        TS3  ,Channel 3 End of Transfer Status" "-,Requested"
eventfld.long 0x00 23. "        RI0  ,Channel 0 Error Status" "-,Error"
textline "                      "
eventfld.long 0x00 22. " RI1  ,Channel 1 Error Status" "-,Error"
eventfld.long 0x00 21. "            RI2  ,Channel 2 Error Status" "-,Error"
eventfld.long 0x00 20. "            RI3  ,Channel 3 Error Status" "-,Error"
textline "                      "
eventfld.long 0x00 19. " IR0  ,Internal DMA Request Channel 0" "-,Pending"
eventfld.long 0x00 18. "          IR1  ,Internal DMA Request Channel 1" "-,Pending"
eventfld.long 0x00 17. "          IR2  ,Internal DMA Request Channel 2" "-,Pending"
textline "                      "
eventfld.long 0x00 16. " IR3  ,Internal DMA Request Channel 3" "-,Pending"
eventfld.long 0x00 15. "          ER0  ,External DMA Request Channel 0" "-,Pending"
eventfld.long 0x00 14. "          ER1  ,External DMA Request Channel 1" "-,Pending"
textline "                      "
eventfld.long 0x00 13. " ER2  ,External DMA Request Channel 2" "-,Pending"
eventfld.long 0x00 12. "          ER3  ,External DMA Request Channel 3" "-,Pending"
eventfld.long 0x00 11. "          CB0  ,Channel 0 Busy" "-,Busy"
textline "                      "
eventfld.long 0x00 10. " CB1  ,Channel 1 Busy" "-,Busy"
eventfld.long 0x00 9. "             CB2  ,Channel 2 Busy" "-,Busy"
eventfld.long 0x00 8. "             CB3  ,Channel 3 Busy" "-,Busy"
textline "                      "
eventfld.long 0x00 7. " SG0  ,Scatter/Gather Status Channel 0" "-,In progress"
eventfld.long 0x00 6. "      SG1  ,Scatter/Gather Status Channel 1" "-,In progress"
eventfld.long 0x00 5. "      SG2  ,Scatter/Gather Status Channel 2" "-,In progress"
textline "                      "
eventfld.long 0x00 4. " SG3  ,Scatter/Gather Status Channel 3" "-,In progress"
group dcr:0x0323++0
line.long 0x00 "DMA2P40_SGC,DMA to PLB 4 Scatter/Gather Command Register"
bitfld.long 0x00 31. " SSG0 ,Start Scatter/Gather for channel 0" "-,Enabled"
bitfld.long 0x00 30. "          SSG1 ,Start Scatter/Gather for channel 1" "-,Enabled"
bitfld.long 0x00 29. "          SSG2 ,Start Scatter/Gather for channel 2" "-,Enabled"
textline "                      "
bitfld.long 0x00 28. " SSG3 ,Start Scatter/Gather for channel 3" "-,Enabled"
bitfld.long 0x00 27. "          SGL0 ,Scatter/Gather Descriptor Table Location for channel 0" "PLB,OPB"
bitfld.long 0x00 26. "              SGL1 ,Scatter/Gather Descriptor Table Location for channel 1" "PLB,OPB"
textline "                      "
bitfld.long 0x00 25. " SGL2 ,Scatter/Gather Descriptor Table Location for channel 2" "PLB,OPB"
bitfld.long 0x00 24. "              SGL3 ,Scatter/Gather Descriptor Table Location for channel 3" "PLB,OPB"
bitfld.long 0x00 15. "              EM0  ,Enable Mask for channel 0" "Enabled,-"
textline "                      "
bitfld.long 0x00 14. " EM1  ,Enable Mask for channel 1" "Enabled,-"
bitfld.long 0x00 13. "          EM2  ,Enable Mask for channel 2" "Enabled,-"
bitfld.long 0x00 12. "          EM3  ,Enable Mask for channel 3" "Enabled,-"
;sif (cpu()=="PPC440EP"||cpu()=="PPC440GR")
hgroup dcr:0x326++0
hide.long 0x00 "DMA2P40_POL,DMA to PLB 4 Polarity Configuration Register"
;        bitfld.long 0x00 31. " R0P  ,DMAReq0 Polarity" "High,Low"
;        bitfld.long 0x00 30. "             A0P  ,DMAAck0 Polarity" "High,Low"
;        bitfld.long 0x00 29. "             E0P  ,EOT0[TC0] Polarity" "High,Low"
;    textline "                      "
;        bitfld.long 0x00 28. " R1P  ,DMAReq1 Polarity" "High,Low"
;        bitfld.long 0x00 27. "             A1P  ,DMAAck1 Polarity" "High,Low"
;        bitfld.long 0x00 26. "             E1P  ,EOT1[TC1] Polarity" "High,Low"
;    textline "                      "
;        bitfld.long 0x00 25. " R2P  ,DMAReq2 Polarity" "High,Low"
;        bitfld.long 0x00 24. "             A2P  ,DMAAck2 Polarity" "High,Low"
;        bitfld.long 0x00 23. "             E2P  ,EOT2[TC2] Polarity" "High,Low"
;    textline "                      "
;        bitfld.long 0x00 22. " R3P  ,DMAReq3 Polarity" "High,Low"
;        bitfld.long 0x00 21. "             A3P  ,DMAAck3 Polarity" "High,Low"
;        bitfld.long 0x00 20. "             E3P  ,EOT3[TC3] Polarity" "High,Low"
;endif
group dcr:0x0325++0
line.long 0x00 "DMA2P40_SLP,DMA to PLB 4 Sleep Mode Register"
bitfld.long 0x00 27.--31. " IDU  ,Idle Timer Upper" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x00 22.--26. "               IDL  ,Idle Timer Lower" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x00 21. "               SME  ,Sleep Mode Enable" "-,Enabled"
width 0x0B
endif
tree.end
tree "DMA to PLB3"
sif (cpu()=="PPC440GRX")
width 0x0D
tree "DMA to PLB3 Channel 0"
if (((data.long(dcr:(0x0100+(0x08*0))))&0x0C000000)==0x00000000)
group dcr:0x0100--0x100
line.long 0x00 "DMA2P30_CR0,DMA to PLB 3 Channel Control Register 0"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "        CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "  TD  ,TD " "To peripheral,From peripheral" 
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location" "EBC,OPB"
bitfld.long 0x00 26.--27. "            PW  ,Peripheral Width/Memory Alignment" "8 bits,16 bits,32 bits,64 bits"
bitfld.long 0x00 25. "  DAI ,Destination Address Increment" "-,1"
textline "                      "
bitfld.long 0x00 24. " SAI ,Source Address Increment" "-,1"
bitfld.long 0x00 23. "              BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  TM  ,Transfer mode" "Peripheral,Reserved,Software,Device"
textline "                      "
bitfld.long 0x00 19.--20. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 13.--18. "              PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 10.--12. "       PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 9. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 8. "      TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 6.--7. "  CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 4.--5. " PF  ,Memory Read Prefetch Transfer" "1 doubleword,2 doublewords,4 doublewords,8 doublewords"
bitfld.long 0x00 3. "  PCE ,Parity Check Enable" "-,Enabled"
bitfld.long 0x00 2. "  DEC ,Address Decrement" "SAI and DAI,Transfer width"
elif (((data.long(dcr:(0x0100+(0x08*0))))&0x0C000000)==0x04000000)
group dcr:0x0100--0x100
line.long 0x00 "DMA2P30_CR0,DMA to PLB 3 Channel Control Register 0"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "        CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "  TD  ,TD" "To peripheral,From peripheral" 
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location" "EBC,OPB"
bitfld.long 0x00 26.--27. "            PW  ,Peripheral Width/Memory Alignment" "8 bits,16 bits,32 bits,64 bits"
bitfld.long 0x00 25. "  DAI ,Destination Address Increment" "-,2"
textline "                      "
bitfld.long 0x00 24. " SAI ,Source Address Increment" "-,2"
bitfld.long 0x00 23. "              BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  TM  ,Transfer mode" "Peripheral,Reserved,Software,Device"
textline "                      "
bitfld.long 0x00 19.--20. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 13.--18. "              PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 10.--12. "       PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 9. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 8. "      TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 6.--7. "  CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 4.--5. " PF  ,Memory Read Prefetch Transfer" "1 doubleword,2 doublewords,4 doublewords,8 doublewords"
bitfld.long 0x00 3. "  PCE ,Parity Check Enable" "-,Enabled"
bitfld.long 0x00 2. "  DEC ,Address Decrement" "SAI and DAI,Transfer width"
elif (((data.long(dcr:(0x0100+(0x08*0))))&0x0C000000)==0x08000000)
group dcr:0x0100--0x100
line.long 0x00 "DMA2P30_CR0,DMA to PLB 3 Channel Control Register 0"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "        CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "  TD  ,TD" "To peripheral,From peripheral" 
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location" "EBC,OPB"
bitfld.long 0x00 26.--27. "            PW  ,Peripheral Width/Memory Alignment" "8 bits,16 bits,32 bits,64 bits"
bitfld.long 0x00 25. "  DAI ,Destination Address Increment" "-,4"
textline "                      "
bitfld.long 0x00 24. " SAI ,Source Address Increment" "-,4"
bitfld.long 0x00 23. "              BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  TM  ,Transfer mode" "Peripheral,Reserved,Software,Device"
textline "                      "
bitfld.long 0x00 19.--20. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 13.--18. "              PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 10.--12. "       PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 9. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 8. "      TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 6.--7. "  CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 4.--5. " PF  ,Memory Read Prefetch Transfer" "1 doubleword,2 doublewords,4 doublewords,8 doublewords"
bitfld.long 0x00 3. "  PCE ,Parity Check Enable" "-,Enabled"
bitfld.long 0x00 2. "  DEC ,Address Decrement" "SAI and DAI,Transfer width"
elif (((data.long(dcr:(0x0100+(0x08*0))))&0x0C000000)==0x0C000000)
group dcr:0x0100--0x100
line.long 0x00 "DMA2P30_CR0,DMA to PLB 3 Channel Control Register 0"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "        CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "  TD  ,TD" "To peripheral,From peripheral" 
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location" "EBC,OPB"
bitfld.long 0x00 26.--27. "            PW  ,Peripheral Width/Memory Alignment" "8 bits,16 bits,32 bits,64 bits"
bitfld.long 0x00 25. "  DAI ,Destination Address Increment" "-,8"
textline "                      "
bitfld.long 0x00 24. " SAI ,Source Address Increment" "-,8"
bitfld.long 0x00 23. "              BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  TM  ,Transfer mode" "Peripheral,Reserved,Software,Device"
textline "                      "
bitfld.long 0x00 19.--20. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 13.--18. "              PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 10.--12. "       PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 9. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 8. "      TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 6.--7. "  CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 4.--5. " PF  ,Memory Read Prefetch Transfer" "1 doubleword,2 doublewords,4 doublewords,8 doublewords"
bitfld.long 0x00 3. "  PCE ,Parity Check Enable" "-,Enabled"
bitfld.long 0x00 2. "  DEC ,Address Decrement" "SAI and DAI,Transfer width"
endif
group dcr:0x103++0x00
line.long 0x00 "DMA2P30_SA0,DMA to PLB 3 Source Address Register 0"
hexmask.long 0x00 0.--31. 1. " SA   ,Source address for memory-to-memory and memory-to-peripheral transfers"        
group dcr:0x102++0x00
line.long 0x00 "DMA2P30_DA0,DMA to PLB 3 Destination Address Register 0"
hexmask.long 0x00 0.--31. 1. " DA   ,Destination address for memory-to-memory and peripheral-to-memory transfers"        
group dcr:0x0101++0x00
line.long 0x00 "DMA2P30_CT0,DMA to PLB 3 Count Register 0"
hexmask.long.word 0x00 0.--15. 1. " NTR  ,Number of transfers remaining" 
group dcr:0x0104++0x00
line.long 0x00 "DMA2P30_SG0,DMA to PLB 3 Scatter/Gather Descriptor Address Register 0"
hexmask.long 0x00 0.--31. 1. " SG   ,Address of next scatter/gather descriptor table"
group dcr:0x0107++0x00
line.long 0x00 "DMA2P30_SC0,DMA to PLB3 Subchannel ID Register 0"
bitfld.long 0x00 29.--31. " SCID ,DMA Subchannel ID" "0,1,2,3,4,5,6,7"
tree.end
tree "DMA to PLB3 Channel 1"
if (((data.long(dcr:(0x0100+(0x08*1))))&0x0C000000)==0x00000000)
group dcr:0x0108--0x108
line.long 0x00 "DMA2P30_CR1,DMA to PLB 3 Channel Control Register 1"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "        CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "  TD  ,TD" "To peripheral,From peripheral" 
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location" "EBC,OPB"
bitfld.long 0x00 26.--27. "            PW  ,Peripheral Width/Memory Alignment" "8 bits,16 bits,32 bits,64 bits"
bitfld.long 0x00 25. "  DAI ,Destination Address Increment" "-,1"
textline "                      "
bitfld.long 0x00 24. " SAI ,Source Address Increment" "-,1"
bitfld.long 0x00 23. "              BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  TM  ,Transfer mode" "Peripheral,Reserved,Software,Device"
textline "                      "
bitfld.long 0x00 19.--20. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 13.--18. "              PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 10.--12. "       PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 9. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 8. "      TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 6.--7. "  CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 4.--5. " PF  ,Memory Read Prefetch Transfer" "1 doubleword,2 doublewords,4 doublewords,8 doublewords"
bitfld.long 0x00 3. "  PCE ,Parity Check Enable" "-,Enabled"
bitfld.long 0x00 2. "  DEC ,Address Decrement" "SAI and DAI,Transfer width"
elif (((data.long(dcr:(0x0100+(0x08*1))))&0x0C000000)==0x04000000)
group dcr:0x0108--0x108
line.long 0x00 "DMA2P30_CR1,DMA to PLB 3 Channel Control Register 1"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "        CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "  TD  ,TD" "To peripheral,From peripheral" 
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location" "EBC,OPB"
bitfld.long 0x00 26.--27. "            PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits"
bitfld.long 0x00 25. "  DAI ,Destination Address Increment" "-,2"
textline "                      "
bitfld.long 0x00 24. " SAI ,Source Address Increment" "-,2"
bitfld.long 0x00 23. "              BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  TM  ,Transfer mode" "Peripheral,Reserved,Software,Device"
textline "                      "
bitfld.long 0x00 19.--20. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 13.--18. "              PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 10.--12. "       PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 9. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 8. "      TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 6.--7. "  CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 4.--5. " PF  ,Memory Read Prefetch Transfer" "1 doubleword,2 doublewords,4 doublewords,8 doublewords"
bitfld.long 0x00 3. "  PCE ,Parity Check Enable" "-,Enabled"
bitfld.long 0x00 2. "  DEC ,Address Decrement" "SAI and DAI,Transfer width"
elif (((data.long(dcr:(0x0100+(0x08*1))))&0x0C000000)==0x08000000)
group dcr:0x0108--0x108
line.long 0x00 "DMA2P30_CR1,DMA to PLB 3 Channel Control Register 1"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "        CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "  TD  ,TD" "To peripheral,From peripheral" 
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location" "EBC,OPB"
bitfld.long 0x00 26.--27. "            PW  ,Peripheral Width/Memory Alignment" "8 bits,16 bits,32 bits,64 bits"
bitfld.long 0x00 25. "  DAI ,Destination Address Increment" "-,4"
textline "                      "
bitfld.long 0x00 24. " SAI ,Source Address Increment" "-,4"
bitfld.long 0x00 23. "              BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  TM  ,Transfer mode" "Peripheral,Reserved,Software,Device"
textline "                      "
bitfld.long 0x00 19.--20. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 13.--18. "              PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 10.--12. "       PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 9. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 8. "      TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 6.--7. "  CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 4.--5. " PF  ,Memory Read Prefetch Transfer" "1 doubleword,2 doublewords,4 doublewords,8 doublewords"
bitfld.long 0x00 3. "  PCE ,Parity Check Enable" "-,Enabled"
bitfld.long 0x00 2. "  DEC ,Address Decrement" "SAI and DAI,Transfer width"
elif (((data.long(dcr:(0x0100+(0x08*1))))&0x0C000000)==0x0C000000)
group dcr:0x0108--0x108
line.long 0x00 "DMA2P30_CR1,DMA to PLB 3 Channel Control Register 1"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "        CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "  TD  ,TD" "To peripheral,From peripheral" 
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location" "EBC,OPB"
bitfld.long 0x00 26.--27. "            PW  ,Peripheral Width/Memory Alignment" "8 bits,16 bits,32 bits,64 bits"
bitfld.long 0x00 25. "  DAI ,Destination Address Increment" "-,8"
textline "                      "
bitfld.long 0x00 24. " SAI ,Source Address Increment" "-,8"
bitfld.long 0x00 23. "              BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  TM  ,Transfer mode" "Peripheral,Reserved,Software,Device"
textline "                      "
bitfld.long 0x00 19.--20. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 13.--18. "              PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 10.--12. "       PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 9. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 8. "      TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 6.--7. "  CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 4.--5. " PF  ,Memory Read Prefetch Transfer" "1 doubleword,2 doublewords,4 doublewords,8 doublewords"
bitfld.long 0x00 3. "  PCE ,Parity Check Enable" "-,Enabled"
bitfld.long 0x00 2. "  DEC ,Address Decrement" "SAI and DAI,Transfer width"
endif
group dcr:0x10B++0x00
line.long 0x00 "DMA2P30_SA1,DMA to PLB 3 Source Address Register 1"
hexmask.long 0x00 0.--31. 1. " SA   ,Source address for memory-to-memory and memory-to-peripheral transfers"        
group dcr:0x10A++0x00
line.long 0x00 "DMA2P30_DA1,DMA to PLB 3 Destination Address Register 1"
hexmask.long 0x00 0.--31. 1. " DA   ,Destination address for memory-to-memory and peripheral-to-memory transfers"        
group dcr:0x0109++0x00
line.long 0x00 "DMA2P30_CT1,DMA to PLB 3 Count Register 1"
hexmask.long.word 0x00 0.--15. 1. " NTR  ,Number of transfers remaining" 
group dcr:0x010C++0x00
line.long 0x00 "DMA2P30_SG1,DMA to PLB 3 Scatter/Gather Descriptor Address Register 1"
hexmask.long 0x00 0.--31. 1. " SG   ,Address of next scatter/gather descriptor table"
group dcr:0x010F++0x00
line.long 0x00 "DMA2P30_SC1,DMA to PLB3 Subchannel ID Register 1"
bitfld.long 0x00 29.--31. " SCID ,DMA Subchannel ID" "0,1,2,3,4,5,6,7"
tree.end
tree "DMA to PLB3 Channel 2"
if (((data.long(dcr:(0x0100+(0x08*2))))&0x0C000000)==0x00000000)
group dcr:0x0110--0x110
line.long 0x00 "DMA2P30_CR2,DMA to PLB 3 Channel Control Register 2"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "        CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "  TD  ,TD" "To peripheral,From peripheral" 
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location" "EBC,OPB"
bitfld.long 0x00 26.--27. "            PW  ,Peripheral Width/Memory Alignment" "8 bits,16 bits,32 bits,64 bits"
bitfld.long 0x00 25. "  DAI ,Destination Address Increment" "-,1"
textline "                      "
bitfld.long 0x00 24. " SAI ,Source Address Increment" "-,1"
bitfld.long 0x00 23. "              BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  TM  ,Transfer mode" "Peripheral,Reserved,Software,Device"
textline "                      "
bitfld.long 0x00 19.--20. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 13.--18. "              PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 10.--12. "       PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 9. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 8. "      TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 6.--7. "  CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 4.--5. " PF  ,Memory Read Prefetch Transfer" "1 doubleword,2 doublewords,4 doublewords,8 doublewords"
bitfld.long 0x00 3. "  PCE ,Parity Check Enable" "-,Enabled"
bitfld.long 0x00 2. "  DEC ,Address Decrement" "SAI and DAI,Transfer width"
elif (((data.long(dcr:(0x0100+(0x08*2))))&0x0C000000)==0x04000000)
group dcr:0x0110--0x110
line.long 0x00 "DMA2P30_CR2,DMA to PLB 3 Channel Control Register 2"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "        CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "  TD  ,TD" "To peripheral,From peripheral" 
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location" "EBC,OPB"
bitfld.long 0x00 26.--27. "            PW  ,Peripheral Width/Memory Alignment" "8 bits,16 bits,32 bits,64 bits"
bitfld.long 0x00 25. "  DAI ,Destination Address Increment" "-,2"
textline "                      "
bitfld.long 0x00 24. " SAI ,Source Address Increment" "-,2"
bitfld.long 0x00 23. "              BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  TM  ,Transfer Mode" "Peripheral,Reserved,Software,Device"
textline "                      "
bitfld.long 0x00 19.--20. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 13.--18. "              PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 10.--12. "       PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 9. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 8. "      TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 6.--7. "  CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 4.--5. " PF  ,Memory Read Prefetch Transfer" "1 doubleword,2 doublewords,4 doublewords,8 doublewords"
bitfld.long 0x00 3. "  PCE ,Parity Check Enable" "-,Enabled"
bitfld.long 0x00 2. "  DEC ,Address Decrement" "SAI and DAI,Transfer width"
elif (((data.long(dcr:(0x0100+(0x08*2))))&0x0C000000)==0x08000000)
group dcr:0x0110--0x110
line.long 0x00 "DMA2P30_CR2,DMA to PLB 3 Channel Control Register 2"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "        CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "  TD  ,TD" "To peripheral,From peripheral" 
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location" "EBC,OPB"
bitfld.long 0x00 26.--27. "            PW  ,Peripheral Width/Memory Alignment" "8 bits,16 bits,32 bits,64 bits"
bitfld.long 0x00 25. "  DAI ,Destination Address Increment" "-,4"
textline "                      "
bitfld.long 0x00 24. " SAI ,Source Address Increment" "-,4"
bitfld.long 0x00 23. "              BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  TM  ,Transfer mode" "Peripheral,Reserved,Software,Device"
textline "                      "
bitfld.long 0x00 19.--20. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 13.--18. "              PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 10.--12. "       PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 9. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 8. "      TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 6.--7. "  CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 4.--5. " PF  ,Memory Read Prefetch Transfer" "1 doubleword,2 doublewords,4 doublewords,8 doublewords"
bitfld.long 0x00 3. "  PCE ,Parity Check Enable" "-,Enabled"
bitfld.long 0x00 2. "  DEC ,Address Decrement" "SAI and DAI,Transfer width"
elif (((data.long(dcr:(0x0100+(0x08*2))))&0x0C000000)==0x0C000000)
group dcr:0x0110--0x110
line.long 0x00 "DMA2P30_CR2,DMA to PLB 3 Channel Control Register 2"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "        CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "  TD  ,TD" "To peripheral,From peripheral" 
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location" "EBC,OPB"
bitfld.long 0x00 26.--27. "            PW  ,Peripheral Width/Memory Alignment" "8 bits,16 bits,32 bits,64 bits"
bitfld.long 0x00 25. "  DAI ,Destination Address Increment" "-,8"
textline "                      "
bitfld.long 0x00 24. " SAI ,Source Address Increment" "-,8"
bitfld.long 0x00 23. "              BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  TM  ,Transfer mode" "Peripheral,Reserved,Software,Device"
textline "                      "
bitfld.long 0x00 19.--20. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 13.--18. "              PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 10.--12. "       PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 9. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 8. "      TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 6.--7. "  CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 4.--5. " PF  ,Memory Read Prefetch Transfer" "1 doubleword,2 doublewords,4 doublewords,8 doublewords"
bitfld.long 0x00 3. "  PCE ,Parity Check Enable" "-,Enabled"
bitfld.long 0x00 2. "  DEC ,Address Decrement" "SAI and DAI,Transfer width"
endif
group dcr:0x113++0x00
line.long 0x00 "DMA2P30_SA2,DMA to PLB 3 Source Address Register 2"
hexmask.long 0x00 0.--31. 1. " SA   ,Source address for memory-to-memory and memory-to-peripheral transfers"        
group dcr:0x112++0x00
line.long 0x00 "DMA2P30_DA2,DMA to PLB 3 Destination Address Register 2"
hexmask.long 0x00 0.--31. 1. " DA   ,Destination address for memory-to-memory and peripheral-to-memory transfers"        
group dcr:0x0111++0x00
line.long 0x00 "DMA2P30_CT2,DMA to PLB 3 Count Register 2"
hexmask.long.word 0x00 0.--15. 1. " NTR  ,Number of transfers remaining" 
group dcr:0x0114++0x00
line.long 0x00 "DMA2P30_SG2,DMA to PLB 3 Scatter/Gather Descriptor Address Register 2"
hexmask.long 0x00 0.--31. 1. " SG   ,Address of next scatter/gather descriptor table"
group dcr:0x0117++0x00
line.long 0x00 "DMA2P30_SC2,DMA to PLB3 Subchannel ID Register 2"
bitfld.long 0x00 29.--31. " SCID ,DMA Subchannel ID" "0,1,2,3,4,5,6,7"
tree.end
tree "DMA to PLB3 Channel 3"
textline "                      "
if (((data.long(dcr:(0x0100+(0x08*3))))&0x0C000000)==0x00000000)
group dcr:0x0118--0x118
line.long 0x00 "DMA2P30_CR3,DMA to PLB 3 Channel Control Register 3"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "        CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "  TD  ,TD" "To peripheral,From peripheral" 
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location" "EBC,OPB"
bitfld.long 0x00 26.--27. "            PW  ,Peripheral Width/Memory Alignment" "8 bits,16 bits,32 bits,64 bits"
bitfld.long 0x00 25. "  DAI ,Destination Address Increment" "-,1"
textline "                      "
bitfld.long 0x00 24. " SAI ,Source Address Increment" "-,1"
bitfld.long 0x00 23. "              BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  TM  ,Transfer Mode" "Peripheral,Reserved,Software,Device"
textline "                      "
bitfld.long 0x00 19.--20. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 13.--18. "              PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 10.--12. "       PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 9. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 8. "      TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 6.--7. "  CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 4.--5. " PF  ,Memory Read Prefetch Transfer" "1 doubleword,2 doublewords,4 doublewords,8 doublewords"
bitfld.long 0x00 3. "  PCE ,Parity Check Enable" "-,Enabled"
bitfld.long 0x00 2. "  DEC ,Address Decrement" "SAI and DAI,Transfer width"
elif (((data.long(dcr:(0x0100+(0x08*3))))&0x0C000000)==0x04000000)
group dcr:0x0118--0x118
line.long 0x00 "DMA2P30_CR3,DMA to PLB 3 Channel Control Register 3"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "        CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "  TD  ,TD" "To peripheral,From peripheral" 
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location" "EBC,OPB"
bitfld.long 0x00 26.--27. "            PW  ,Peripheral Width/Memory Alignment" "8 bits,16 bits,32 bits,64 bits"
bitfld.long 0x00 25. "  DAI ,Destination Address Increment" "-,2"
textline "                      "
bitfld.long 0x00 24. " SAI ,Source Address Increment" "-,2"
bitfld.long 0x00 23. "              BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  TM  ,Transfer mode" "Peripheral,Reserved,Software,Device"
textline "                      "
bitfld.long 0x00 19.--20. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 13.--18. "              PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 10.--12. "       PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 9. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 8. "      TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 6.--7. "  CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 4.--5. " PF  ,Memory Read Prefetch Transfer" "1 doubleword,2 doublewords,4 doublewords,8 doublewords"
bitfld.long 0x00 3. "  PCE ,Parity Check Enable" "-,Enabled"
bitfld.long 0x00 2. "  DEC ,Address Decrement" "SAI and DAI,Transfer width"
elif (((data.long(dcr:(0x0100+(0x08*3))))&0x0C000000)==0x08000000)
group dcr:0x0118--0x118
line.long 0x00 "DMA2P30_CR3,DMA to PLB 3 Channel Control Register 3"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "        CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "  TD  ,TD" "To peripheral,From peripheral" 
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location" "EBC,OPB"
bitfld.long 0x00 26.--27. "            PW  ,Peripheral Width/Memory Alignment" "8 bits,16 bits,32 bits,64 bits"
bitfld.long 0x00 25. "  DAI ,Destination Address Increment" "-,4"
textline "                      "
bitfld.long 0x00 24. " SAI ,Source Address Increment" "-,4"
bitfld.long 0x00 23. "              BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  TM  ,Transfer mode" "Peripheral,Reserved,Software,Device"
textline "                      "
bitfld.long 0x00 19.--20. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 13.--18. "              PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 10.--12. "       PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 9. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 8. "      TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 6.--7. "  CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 4.--5. " PF  ,Memory Read Prefetch Transfer" "1 doubleword,2 doublewords,4 doublewords,8 doublewords"
bitfld.long 0x00 3. "  PCE ,Parity Check Enable" "-,Enabled"
bitfld.long 0x00 2. "  DEC ,Address Decrement" "SAI and DAI,Transfer width"
elif (((data.long(dcr:(0x0100+(0x08*3))))&0x0C000000)==0x0C000000)
group dcr:0x0118--0x118
line.long 0x00 "DMA2P30_CR3,DMA to PLB 3 Channel Control Register 3"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "        CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "  TD  ,TD" "To peripheral,From peripheral" 
textline "                      "
bitfld.long 0x00 28. " PL  ,Peripheral Location" "EBC,OPB"
bitfld.long 0x00 26.--27. "            PW  ,Peripheral Width/Memory Alignment" "8 bits,16 bits,32 bits,64 bits"
bitfld.long 0x00 25. "  DAI ,Destination Address Increment" "-,8"
textline "                      "
bitfld.long 0x00 24. " SAI ,Source Address Increment" "-,8"
bitfld.long 0x00 23. "              BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  TM  ,Transfer Mode" "Peripheral,Reserved,Software,Device"
textline "                      "
bitfld.long 0x00 19.--20. " PSC ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 13.--18. "              PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 10.--12. "       PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 9. " ETD ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 8. "      TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 6.--7. "  CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 4.--5. " PF  ,Memory Read Prefetch Transfer" "1 doubleword,2 doublewords,4 doublewords,8 doublewords"
bitfld.long 0x00 3. "  PCE ,Parity Check Enable" "-,Enabled"
bitfld.long 0x00 2. "  DEC ,Address Decrement" "SAI and DAI,Transfer width"
endif
group dcr:0x11B++0x00
line.long 0x00 "DMA2P30_SA3,DMA to PLB 3 Source Address Register 3"
hexmask.long 0x00 0.--31. 1. " SA   ,Source address for memory-to-memory and memory-to-peripheral transfers"        
group dcr:0x11A++0x00
line.long 0x00 "DMA2P30_DA3,DMA to PLB 3 Destination Address Register 3"
hexmask.long 0x00 0.--31. 1. " DA   ,Destination address for memory-to-memory and peripheral-to-memory transfers"        
group dcr:0x0119++0x00
line.long 0x00 "DMA2P30_CT3,DMA to PLB 3 Count Register 3"
hexmask.long.word 0x00 0.--15. 1. " NTR  ,Number of transfers remaining" 
group dcr:0x011C++0x00
line.long 0x00 "DMA2P30_SG3,DMA to PLB 3 Scatter/Gather Descriptor Address Register 3"
hexmask.long 0x00 0.--31. 1. " SG   ,Address of next scatter/gather descriptor table"
group dcr:0x011F++0x00
line.long 0x00 "DMA2P30_SC3,DMA to PLB3 Subchannel ID Register 3"
bitfld.long 0x00 29.--31. " SCID ,DMA Subchannel ID" "0,1,2,3,4,5,6,7"
tree.end
textline "                      "
group dcr:0x0120++0x00
line.long 0x00 "DMA2P30_SR,DMA to PLB 3 Status Register"
eventfld.long 0x00 31. " CS0  ,Channel 0 Terminal Count Status" "-,Reached"
eventfld.long 0x00 30. "      CS1  ,Channel 1 Terminal Count Status" "-,Reached"
eventfld.long 0x00 29. "      CS2  ,Channel 2 Terminal Count Status" "-,Reached"
textline "                      "
eventfld.long 0x00 28. " CS3  ,Channel 3 Terminal Count Status" "-,Reached"
eventfld.long 0x00 27. "      TS0  ,Channel 0 End of Transfer Status" "-,Requested"
eventfld.long 0x00 26. "    TS1  ,Channel 1 End of Transfer Status" "-,Requested"
textline "                      "
eventfld.long 0x00 25. " TS2  ,Channel 2 End of Transfer Status" "-,Requested"
eventfld.long 0x00 24. "    TS3  ,Channel 3 End of Transfer Status" "-,Requested"
eventfld.long 0x00 23. "    R0   ,Channel 0 Error Status" "-,Error"
textline "                      "
eventfld.long 0x00 22. " R1   ,Channel 1 Error Status" "-,Error"
eventfld.long 0x00 21. "        R2   ,Channel 2 Error Status" "-,Error"
eventfld.long 0x00 20. "        R3   ,Channel 3 Error Status" "-,Error"
textline "                      "
eventfld.long 0x00 19. " IR0  ,Internal DMA Request Channel 0" "-,Pending"
eventfld.long 0x00 18. "      IR1  ,Internal DMA Request Channel 1" "-,Pending"
eventfld.long 0x00 17. "      IR2  ,Internal DMA Request Channel 2" "-,Pending"
textline "                      "
eventfld.long 0x00 16. " IR3  ,Internal DMA Request Channel 3" "-,Pending"
eventfld.long 0x00 15. "      ER0  ,External DMA Request Channel 0" "-,Pending"
eventfld.long 0x00 14. "      ER1  ,External DMA Request Channel 1" "-,Pending"
textline "                      "
eventfld.long 0x00 13. " ER2  ,External DMA Request Channel 2" "-,Pending"
eventfld.long 0x00 12. "      ER3  ,External DMA Request Channel 3" "-,Pending"
eventfld.long 0x00 11. "      CB0  ,Channel 0 Busy" "-,Busy"
textline "                      "
eventfld.long 0x00 10. " CB1  ,Channel 1 Busy" "-,Busy"
eventfld.long 0x00 9. "         CB2  ,Channel 2 Busy" "-,Busy"
eventfld.long 0x00 8. "         CB3  ,Channel 3 Busy" "-,Busy"
textline "                      "
eventfld.long 0x00 7. " SG0  ,Scatter/Gather Status Channel 0" "-,In progress"
eventfld.long 0x00 6. "  SG1  ,Scatter/Gather Status Channel 1" "-,In progress"
eventfld.long 0x00 5. "  SG2  ,Scatter/Gather Status Channel 2" "-,In progress"
textline "                      "
eventfld.long 0x00 4. " SG3  ,Scatter/Gather Status Channel 3" "-,In progress"
group dcr:0x123++0x00
line.long 0x00 "DMA2P30_SGC,DMA to PLB 3 Scatter/Gather Command Register"
bitfld.long 0x00 31. " SSG0 ,Start Scatter/Gather for Channel 0" "-,Enabled"
bitfld.long 0x00 30. "      SSG1 ,Start Scatter/Gather for Channel 1" "-,Enabled"
bitfld.long 0x00 29. "      SSG2 ,Start Scatter/Gather for Channel 2" "-,Enabled"
textline "                      "
bitfld.long 0x00 28. " SSG3 ,Start Scatter/Gather for Channel 3" "-,Enabled"
bitfld.long 0x00 15. "      EM0  ,Enable Mask for Channel 0" "Enabled,-"
bitfld.long 0x00 14. "      EM1  ,Enable Mask for Channel 1" "Enabled,-"
textline "                      "
bitfld.long 0x00 13. " EM2  ,Enable Mask for Channel 2" "Enabled,-"
bitfld.long 0x00 12. "      EM3  ,Enable Mask for Channel 3" "Enabled,-"
group dcr:0x125++0x00
line.long 0x00 "DMA2P30_SLP,DMA to PLB 3 Sleep Mode Register"
bitfld.long 0x00 27.--31. " IDU  ,Idle Timer Upper" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x00 22.--26. "           IDL  ,Idle Timer Lower" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x00 21. "           SME  ,Sleep Mode Enable" "-,Enabled"
group dcr:0x126++0x00
line.long 0x00 "DMA2P30_POL,DMA to PLB 3 Polarity Configuration Register"
bitfld.long 0x00 31. " R0P  ,DMAReq0 Polarity" "High,Low"
bitfld.long 0x00 30. "         A0P  ,DMAAck0 Polarity" "High,Low"
bitfld.long 0x00 29. "         E0P  ,EOT0[TC0] Polarity" "High,Low"
textline "                      "
bitfld.long 0x00 28. " R1P  ,DMAReq1 Polarity" "High,Low"
bitfld.long 0x00 27. "         A1P  ,DMAAck1 Polarity" "High,Low"
bitfld.long 0x00 26. "         E1P  ,EOT1[TC1] Polarity" "High,Low"
textline "                      "
bitfld.long 0x00 25. " R2P  ,DMAReq2 Polarity" "High,Low"
bitfld.long 0x00 24. "         A2P  ,DMAAck2 Polarity" "High,Low"
bitfld.long 0x00 23. "         E2P  ,EOT2[TC2] Polarity" "High,Low"
textline "                      "
bitfld.long 0x00 22. " R3P  ,DMAReq3 Polarity" "High,Low"
bitfld.long 0x00 21. "         A3P  ,DMAAck3 Polarity" "High,Low"
bitfld.long 0x00 20. "         E3P  ,EOT3[TC3] Polarity" "High,Low"
group dcr:0x124++0x00
line.long 0x00 "DMA2P30_ADR,DMA to PLB3 Address Decode Register"
hexmask.long.byte 0x00 24.--31. 1. " ADRD ,Address Decode Compare Field"
width 0x0B

elif ((cpu()=="PPC440EP")||(cpu()=="PPC440GR")||(cpu()=="PPC440EPX"))
;Direct Memory Access to PLB3 Controller
;includes dma_to_plb3_x.ph
width 0x0D
tree "DMA to PLB3 Channel 0"
textline ""
width 0x0D
if (((data.long(dcr:(0x0100+(0x08*0))))&0x0C000000)==0x00000000)
group dcr:(0x0100+(0x08*0))++0x00
line.long 0x00 "DMA2P30_CR0,DMA to PLB 3 Channel Control Register 0"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "        CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "  TD  ,Transfer Destination" "Low,High"
textline "                      "
bitfld.long 0x00 28. " PL   ,Peripheral Location" "EBC,OPB(UART0)"
bitfld.long 0x00 26.--27. "     PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits"
bitfld.long 0x00 25. "  DAI ,Destination Address Increment" "-,1"
textline "                      "
bitfld.long 0x00 24. " SAI  ,Source Address Increment" "-,1"
bitfld.long 0x00 23. "              BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  TM  ,Transfer mode" "Peripheral,Reserved,Software-initiated,Device-paced"
textline "                      "
bitfld.long 0x00 19.--20. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 13.--18. "              PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 10.--12. "       PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 9. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 8. "      TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 6.--7. "  CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 4.--5. " PF   ,Memory Read Prefetch Transfer" "1 doubleword,2 doublewords,4 doublewords,8 doublewords"
bitfld.long 0x00 3. "  PCE ,Parity Check Enable" "-,Enabled"
bitfld.long 0x00 2. "  DEC ,Address Decrement" "SAI and DAI,Transfer width"
elif (((data.long(dcr:(0x0100+(0x08*0))))&0x0C000000)==0x04000000)
group dcr:(0x0100+(0x08*0))++0x00
line.long 0x00 "DMA2P30_CR0,DMA to PLB 3 Channel Control Register 0"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "        CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "  TD  ,Transfer Destination" "Low,High"
textline "                      "
bitfld.long 0x00 28. " PL   ,Peripheral Location" "EBC,OPB(UART0)"
bitfld.long 0x00 26.--27. "     PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits"
bitfld.long 0x00 25. "  DAI ,Destination Address Increment" "-,2"
textline "                      "
bitfld.long 0x00 24. " SAI  ,Source Address Increment" "-,2"
bitfld.long 0x00 23. "              BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  TM  ,Transfer mode" "Peripheral,Reserved,Software-initiated,Device-paced"
textline "                      "
bitfld.long 0x00 19.--20. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 13.--18. "              PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 10.--12. "       PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 9. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 8. "      TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 6.--7. "  CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 4.--5. " PF   ,Memory Read Prefetch Transfer" "1 doubleword,2 doublewords,4 doublewords,8 doublewords"
bitfld.long 0x00 3. "  PCE ,Parity Check Enable" "-,Enabled"
bitfld.long 0x00 2. "  DEC ,Address Decrement" "SAI and DAI,Transfer width"
elif (((data.long(dcr:(0x0100+(0x08*0))))&0x0C000000)==0x08000000)
group dcr:(0x0100+(0x08*0))++0x00
line.long 0x00 "DMA2P30_CR0,DMA to PLB 3 Channel Control Register 0"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "        CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "  TD  ,Transfer Destination" "Low,High"
textline "                      "
bitfld.long 0x00 28. " PL   ,Peripheral Location" "EBC,OPB(UART0)"
bitfld.long 0x00 26.--27. "     PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits"
bitfld.long 0x00 25. "  DAI ,Destination Address Increment" "-,4"
textline "                      "
bitfld.long 0x00 24. " SAI  ,Source Address Increment" "-,4"
bitfld.long 0x00 23. "              BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  TM  ,Transfer mode" "Peripheral,Reserved,Software-initiated,Device-paced"
textline "                      "
bitfld.long 0x00 19.--20. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 13.--18. "              PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 10.--12. "       PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 9. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 8. "      TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 6.--7. "  CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 4.--5. " PF   ,Memory Read Prefetch Transfer" "1 doubleword,2 doublewords,4 doublewords,8 doublewords"
bitfld.long 0x00 3. "  PCE ,Parity Check Enable" "-,Enabled"
bitfld.long 0x00 2. "  DEC ,Address Decrement" "SAI and DAI,Transfer width"
elif (((data.long(dcr:(0x0100+(0x08*0))))&0x0C000000)==0x0C000000)
group dcr:(0x0100+(0x08*0))++0x00
line.long 0x00 "DMA2P30_CR0,DMA to PLB 3 Channel Control Register 0"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "        CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "  TD  ,Transfer Destination" "Low,High"
textline "                      "
bitfld.long 0x00 28. " PL   ,Peripheral Location" "EBC,OPB(UART0)"
bitfld.long 0x00 26.--27. "     PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits"
bitfld.long 0x00 25. "  DAI ,Destination Address Increment" "-,8"
textline "                      "
bitfld.long 0x00 24. " SAI  ,Source Address Increment" "-,8"
bitfld.long 0x00 23. "              BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  TM  ,Transfer mode" "Peripheral,Reserved,Software-initiated,Device-paced"
textline "                      "
bitfld.long 0x00 19.--20. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 13.--18. "              PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 10.--12. "       PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 9. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 8. "      TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 6.--7. "  CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 4.--5. " PF   ,Memory Read Prefetch Transfer" "1 doubleword,2 doublewords,4 doublewords,8 doublewords"
bitfld.long 0x00 3. "  PCE ,Parity Check Enable" "-,Enabled"
bitfld.long 0x00 2. "  DEC ,Address Decrement" "SAI and DAI,Transfer width"
endif
group dcr:(0x0101+(0x08*0))++0x00
line.long 0x00 "DMA2P30_CT0,DMA to PLB 3 Count Register 0"
hexmask.long.word 0x00 0.--15. 1. " NTR  ,Number of transfers remaining"
group dcr:(0x0102+(0x08*0))++0x00
line.long 0x00 "DMA2P30_DA0,DMA to PLB 3 Destination Address Register 0"
hexmask.long 0x00 0.--31. 1.  " DA   ,Destination address for memory-to-memory and peripheral-to-memory transfers"
group dcr:(0x0103+(0x08*0))++0x00
line.long 0x00 "DMA2P30_SA0,DMA to PLB 3 Source Address Register 0"
hexmask.long 0x00 0.--31. 1. " SA   ,Source address for memory-to-memory and memory-to-peripheral transfers"
group dcr:(0x0104+(0x08*0))++0x00
line.long 0x00 "DMA2P30_SG0,DMA to PLB 3 Scatter/Gather Descriptor Address Register 0"
hexmask.long 0x00 0.--31. 1. " SG   ,Address of next scatter/gather descriptor table"
group dcr:(0x0107+(0x08*0))++0x00
line.long 0x00 "DMA2P30_SC0,DMA to PLB3 Subchannel ID for Register 0"
bitfld.long 0x00 29.--31. " SCID ,DMA Subchannel ID" "0,1,2,3,4,5,6,7"
tree.end
tree "DMA to PLB3 Channel 1"
textline ""
width 0x0D
if (((data.long(dcr:(0x0100+(0x08*1))))&0x0C000000)==0x00000000)
group dcr:(0x0100+(0x08*1))++0x00
line.long 0x00 "DMA2P30_CR1,DMA to PLB 3 Channel Control Register 1"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "        CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "  TD  ,Transfer Destination" "Low,High"
textline "                      "
bitfld.long 0x00 28. " PL   ,Peripheral Location" "EBC,OPB(UART0)"
bitfld.long 0x00 26.--27. "     PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits"
bitfld.long 0x00 25. "  DAI ,Destination Address Increment" "-,1"
textline "                      "
bitfld.long 0x00 24. " SAI  ,Source Address Increment" "-,1"
bitfld.long 0x00 23. "              BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  TM  ,Transfer mode" "Peripheral,Reserved,Software-initiated,Device-paced"
textline "                      "
bitfld.long 0x00 19.--20. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 13.--18. "              PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 10.--12. "       PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 9. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 8. "      TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 6.--7. "  CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 4.--5. " PF   ,Memory Read Prefetch Transfer" "1 doubleword,2 doublewords,4 doublewords,8 doublewords"
bitfld.long 0x00 3. "  PCE ,Parity Check Enable" "-,Enabled"
bitfld.long 0x00 2. "  DEC ,Address Decrement" "SAI and DAI,Transfer width"
elif (((data.long(dcr:(0x0100+(0x08*1))))&0x0C000000)==0x04000000)
group dcr:(0x0100+(0x08*1))++0x00
line.long 0x00 "DMA2P30_CR1,DMA to PLB 3 Channel Control Register 1"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "        CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "  TD  ,Transfer Destination" "Low,High"
textline "                      "
bitfld.long 0x00 28. " PL   ,Peripheral Location" "EBC,OPB(UART0)"
bitfld.long 0x00 26.--27. "     PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits"
bitfld.long 0x00 25. "  DAI ,Destination Address Increment" "-,2"
textline "                      "
bitfld.long 0x00 24. " SAI  ,Source Address Increment" "-,2"
bitfld.long 0x00 23. "              BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  TM  ,Transfer mode" "Peripheral,Reserved,Software-initiated,Device-paced"
textline "                      "
bitfld.long 0x00 19.--20. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 13.--18. "              PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 10.--12. "       PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 9. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 8. "      TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 6.--7. "  CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 4.--5. " PF   ,Memory Read Prefetch Transfer" "1 doubleword,2 doublewords,4 doublewords,8 doublewords"
bitfld.long 0x00 3. "  PCE ,Parity Check Enable" "-,Enabled"
bitfld.long 0x00 2. "  DEC ,Address Decrement" "SAI and DAI,Transfer width"
elif (((data.long(dcr:(0x0100+(0x08*1))))&0x0C000000)==0x08000000)
group dcr:(0x0100+(0x08*1))++0x00
line.long 0x00 "DMA2P30_CR1,DMA to PLB 3 Channel Control Register 1"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "        CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "  TD  ,Transfer Destination" "Low,High"
textline "                      "
bitfld.long 0x00 28. " PL   ,Peripheral Location" "EBC,OPB(UART0)"
bitfld.long 0x00 26.--27. "     PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits"
bitfld.long 0x00 25. "  DAI ,Destination Address Increment" "-,4"
textline "                      "
bitfld.long 0x00 24. " SAI  ,Source Address Increment" "-,4"
bitfld.long 0x00 23. "              BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  TM  ,Transfer mode" "Peripheral,Reserved,Software-initiated,Device-paced"
textline "                      "
bitfld.long 0x00 19.--20. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 13.--18. "              PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 10.--12. "       PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 9. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 8. "      TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 6.--7. "  CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 4.--5. " PF   ,Memory Read Prefetch Transfer" "1 doubleword,2 doublewords,4 doublewords,8 doublewords"
bitfld.long 0x00 3. "  PCE ,Parity Check Enable" "-,Enabled"
bitfld.long 0x00 2. "  DEC ,Address Decrement" "SAI and DAI,Transfer width"
elif (((data.long(dcr:(0x0100+(0x08*1))))&0x0C000000)==0x0C000000)
group dcr:(0x0100+(0x08*1))++0x00
line.long 0x00 "DMA2P30_CR1,DMA to PLB 3 Channel Control Register 1"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "        CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "  TD  ,Transfer Destination" "Low,High"
textline "                      "
bitfld.long 0x00 28. " PL   ,Peripheral Location" "EBC,OPB(UART0)"
bitfld.long 0x00 26.--27. "     PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits"
bitfld.long 0x00 25. "  DAI ,Destination Address Increment" "-,8"
textline "                      "
bitfld.long 0x00 24. " SAI  ,Source Address Increment" "-,8"
bitfld.long 0x00 23. "              BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  TM  ,Transfer mode" "Peripheral,Reserved,Software-initiated,Device-paced"
textline "                      "
bitfld.long 0x00 19.--20. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 13.--18. "              PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 10.--12. "       PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 9. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 8. "      TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 6.--7. "  CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 4.--5. " PF   ,Memory Read Prefetch Transfer" "1 doubleword,2 doublewords,4 doublewords,8 doublewords"
bitfld.long 0x00 3. "  PCE ,Parity Check Enable" "-,Enabled"
bitfld.long 0x00 2. "  DEC ,Address Decrement" "SAI and DAI,Transfer width"
endif
group dcr:(0x0101+(0x08*1))++0x00
line.long 0x00 "DMA2P30_CT1,DMA to PLB 3 Count Register 1"
hexmask.long.word 0x00 0.--15. 1. " NTR  ,Number of transfers remaining"
group dcr:(0x0102+(0x08*1))++0x00
line.long 0x00 "DMA2P30_DA1,DMA to PLB 3 Destination Address Register 1"
hexmask.long 0x00 0.--31. 1.  " DA   ,Destination address for memory-to-memory and peripheral-to-memory transfers"
group dcr:(0x0103+(0x08*1))++0x00
line.long 0x00 "DMA2P30_SA1,DMA to PLB 3 Source Address Register 1"
hexmask.long 0x00 0.--31. 1. " SA   ,Source address for memory-to-memory and memory-to-peripheral transfers"
group dcr:(0x0104+(0x08*1))++0x00
line.long 0x00 "DMA2P30_SG1,DMA to PLB 3 Scatter/Gather Descriptor Address Register 1"
hexmask.long 0x00 0.--31. 1. " SG   ,Address of next scatter/gather descriptor table"
group dcr:(0x0107+(0x08*1))++0x00
line.long 0x00 "DMA2P30_SC1,DMA to PLB3 Subchannel ID for Register 1"
bitfld.long 0x00 29.--31. " SCID ,DMA Subchannel ID" "0,1,2,3,4,5,6,7"
tree.end
tree "DMA to PLB3 Channel 2"
textline ""
width 0x0D
if (((data.long(dcr:(0x0100+(0x08*2))))&0x0C000000)==0x00000000)
group dcr:(0x0100+(0x08*2))++0x00
line.long 0x00 "DMA2P30_CR2,DMA to PLB 3 Channel Control Register 2"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "        CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "  TD  ,Transfer Destination" "Low,High"
textline "                      "
bitfld.long 0x00 28. " PL   ,Peripheral Location" "EBC,OPB(UART0)"
bitfld.long 0x00 26.--27. "     PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits"
bitfld.long 0x00 25. "  DAI ,Destination Address Increment" "-,1"
textline "                      "
bitfld.long 0x00 24. " SAI  ,Source Address Increment" "-,1"
bitfld.long 0x00 23. "              BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  TM  ,Transfer mode" "Peripheral,Reserved,Software-initiated,Device-paced"
textline "                      "
bitfld.long 0x00 19.--20. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 13.--18. "              PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 10.--12. "       PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 9. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 8. "      TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 6.--7. "  CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 4.--5. " PF   ,Memory Read Prefetch Transfer" "1 doubleword,2 doublewords,4 doublewords,8 doublewords"
bitfld.long 0x00 3. "  PCE ,Parity Check Enable" "-,Enabled"
bitfld.long 0x00 2. "  DEC ,Address Decrement" "SAI and DAI,Transfer width"
elif (((data.long(dcr:(0x0100+(0x08*2))))&0x0C000000)==0x04000000)
group dcr:(0x0100+(0x08*2))++0x00
line.long 0x00 "DMA2P30_CR2,DMA to PLB 3 Channel Control Register 2"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "        CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "  TD  ,Transfer Destination" "Low,High"
textline "                      "
bitfld.long 0x00 28. " PL   ,Peripheral Location" "EBC,OPB(UART0)"
bitfld.long 0x00 26.--27. "     PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits"
bitfld.long 0x00 25. "  DAI ,Destination Address Increment" "-,2"
textline "                      "
bitfld.long 0x00 24. " SAI  ,Source Address Increment" "-,2"
bitfld.long 0x00 23. "              BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  TM  ,Transfer mode" "Peripheral,Reserved,Software-initiated,Device-paced"
textline "                      "
bitfld.long 0x00 19.--20. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 13.--18. "              PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 10.--12. "       PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 9. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 8. "      TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 6.--7. "  CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 4.--5. " PF   ,Memory Read Prefetch Transfer" "1 doubleword,2 doublewords,4 doublewords,8 doublewords"
bitfld.long 0x00 3. "  PCE ,Parity Check Enable" "-,Enabled"
bitfld.long 0x00 2. "  DEC ,Address Decrement" "SAI and DAI,Transfer width"
elif (((data.long(dcr:(0x0100+(0x08*2))))&0x0C000000)==0x08000000)
group dcr:(0x0100+(0x08*2))++0x00
line.long 0x00 "DMA2P30_CR2,DMA to PLB 3 Channel Control Register 2"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "        CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "  TD  ,Transfer Destination" "Low,High"
textline "                      "
bitfld.long 0x00 28. " PL   ,Peripheral Location" "EBC,OPB(UART0)"
bitfld.long 0x00 26.--27. "     PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits"
bitfld.long 0x00 25. "  DAI ,Destination Address Increment" "-,4"
textline "                      "
bitfld.long 0x00 24. " SAI  ,Source Address Increment" "-,4"
bitfld.long 0x00 23. "              BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  TM  ,Transfer mode" "Peripheral,Reserved,Software-initiated,Device-paced"
textline "                      "
bitfld.long 0x00 19.--20. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 13.--18. "              PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 10.--12. "       PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 9. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 8. "      TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 6.--7. "  CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 4.--5. " PF   ,Memory Read Prefetch Transfer" "1 doubleword,2 doublewords,4 doublewords,8 doublewords"
bitfld.long 0x00 3. "  PCE ,Parity Check Enable" "-,Enabled"
bitfld.long 0x00 2. "  DEC ,Address Decrement" "SAI and DAI,Transfer width"
elif (((data.long(dcr:(0x0100+(0x08*2))))&0x0C000000)==0x0C000000)
group dcr:(0x0100+(0x08*2))++0x00
line.long 0x00 "DMA2P30_CR2,DMA to PLB 3 Channel Control Register 2"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "        CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "  TD  ,Transfer Destination" "Low,High"
textline "                      "
bitfld.long 0x00 28. " PL   ,Peripheral Location" "EBC,OPB(UART0)"
bitfld.long 0x00 26.--27. "     PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits"
bitfld.long 0x00 25. "  DAI ,Destination Address Increment" "-,8"
textline "                      "
bitfld.long 0x00 24. " SAI  ,Source Address Increment" "-,8"
bitfld.long 0x00 23. "              BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  TM  ,Transfer mode" "Peripheral,Reserved,Software-initiated,Device-paced"
textline "                      "
bitfld.long 0x00 19.--20. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 13.--18. "              PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 10.--12. "       PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 9. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 8. "      TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 6.--7. "  CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 4.--5. " PF   ,Memory Read Prefetch Transfer" "1 doubleword,2 doublewords,4 doublewords,8 doublewords"
bitfld.long 0x00 3. "  PCE ,Parity Check Enable" "-,Enabled"
bitfld.long 0x00 2. "  DEC ,Address Decrement" "SAI and DAI,Transfer width"
endif
group dcr:(0x0101+(0x08*2))++0x00
line.long 0x00 "DMA2P30_CT2,DMA to PLB 3 Count Register 2"
hexmask.long.word 0x00 0.--15. 1. " NTR  ,Number of transfers remaining"
group dcr:(0x0102+(0x08*2))++0x00
line.long 0x00 "DMA2P30_DA2,DMA to PLB 3 Destination Address Register 2"
hexmask.long 0x00 0.--31. 1.  " DA   ,Destination address for memory-to-memory and peripheral-to-memory transfers"
group dcr:(0x0103+(0x08*2))++0x00
line.long 0x00 "DMA2P30_SA2,DMA to PLB 3 Source Address Register 2"
hexmask.long 0x00 0.--31. 1. " SA   ,Source address for memory-to-memory and memory-to-peripheral transfers"
group dcr:(0x0104+(0x08*2))++0x00
line.long 0x00 "DMA2P30_SG2,DMA to PLB 3 Scatter/Gather Descriptor Address Register 2"
hexmask.long 0x00 0.--31. 1. " SG   ,Address of next scatter/gather descriptor table"
group dcr:(0x0107+(0x08*2))++0x00
line.long 0x00 "DMA2P30_SC2,DMA to PLB3 Subchannel ID for Register 2"
bitfld.long 0x00 29.--31. " SCID ,DMA Subchannel ID" "0,1,2,3,4,5,6,7"
tree.end
tree "DMA to PLB3 Channel 3"
textline ""
width 0x0D
if (((data.long(dcr:(0x0100+(0x08*3))))&0x0C000000)==0x00000000)
group dcr:(0x0100+(0x08*3))++0x00
line.long 0x00 "DMA2P30_CR3,DMA to PLB 3 Channel Control Register 3"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "        CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "  TD  ,Transfer Destination" "Low,High"
textline "                      "
bitfld.long 0x00 28. " PL   ,Peripheral Location" "EBC,OPB(UART0)"
bitfld.long 0x00 26.--27. "     PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits"
bitfld.long 0x00 25. "  DAI ,Destination Address Increment" "-,1"
textline "                      "
bitfld.long 0x00 24. " SAI  ,Source Address Increment" "-,1"
bitfld.long 0x00 23. "              BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  TM  ,Transfer mode" "Peripheral,Reserved,Software-initiated,Device-paced"
textline "                      "
bitfld.long 0x00 19.--20. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 13.--18. "              PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 10.--12. "       PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 9. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 8. "      TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 6.--7. "  CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 4.--5. " PF   ,Memory Read Prefetch Transfer" "1 doubleword,2 doublewords,4 doublewords,8 doublewords"
bitfld.long 0x00 3. "  PCE ,Parity Check Enable" "-,Enabled"
bitfld.long 0x00 2. "  DEC ,Address Decrement" "SAI and DAI,Transfer width"
elif (((data.long(dcr:(0x0100+(0x08*3))))&0x0C000000)==0x04000000)
group dcr:(0x0100+(0x08*3))++0x00
line.long 0x00 "DMA2P30_CR3,DMA to PLB 3 Channel Control Register 3"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "        CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "  TD  ,Transfer Destination" "Low,High"
textline "                      "
bitfld.long 0x00 28. " PL   ,Peripheral Location" "EBC,OPB(UART0)"
bitfld.long 0x00 26.--27. "     PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits"
bitfld.long 0x00 25. "  DAI ,Destination Address Increment" "-,2"
textline "                      "
bitfld.long 0x00 24. " SAI  ,Source Address Increment" "-,2"
bitfld.long 0x00 23. "              BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  TM  ,Transfer mode" "Peripheral,Reserved,Software-initiated,Device-paced"
textline "                      "
bitfld.long 0x00 19.--20. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 13.--18. "              PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 10.--12. "       PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 9. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 8. "      TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 6.--7. "  CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 4.--5. " PF   ,Memory Read Prefetch Transfer" "1 doubleword,2 doublewords,4 doublewords,8 doublewords"
bitfld.long 0x00 3. "  PCE ,Parity Check Enable" "-,Enabled"
bitfld.long 0x00 2. "  DEC ,Address Decrement" "SAI and DAI,Transfer width"
elif (((data.long(dcr:(0x0100+(0x08*3))))&0x0C000000)==0x08000000)
group dcr:(0x0100+(0x08*3))++0x00
line.long 0x00 "DMA2P30_CR3,DMA to PLB 3 Channel Control Register 3"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "        CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "  TD  ,Transfer Destination" "Low,High"
textline "                      "
bitfld.long 0x00 28. " PL   ,Peripheral Location" "EBC,OPB(UART0)"
bitfld.long 0x00 26.--27. "     PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits"
bitfld.long 0x00 25. "  DAI ,Destination Address Increment" "-,4"
textline "                      "
bitfld.long 0x00 24. " SAI  ,Source Address Increment" "-,4"
bitfld.long 0x00 23. "              BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  TM  ,Transfer mode" "Peripheral,Reserved,Software-initiated,Device-paced"
textline "                      "
bitfld.long 0x00 19.--20. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 13.--18. "              PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 10.--12. "       PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 9. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 8. "      TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 6.--7. "  CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 4.--5. " PF   ,Memory Read Prefetch Transfer" "1 doubleword,2 doublewords,4 doublewords,8 doublewords"
bitfld.long 0x00 3. "  PCE ,Parity Check Enable" "-,Enabled"
bitfld.long 0x00 2. "  DEC ,Address Decrement" "SAI and DAI,Transfer width"
elif (((data.long(dcr:(0x0100+(0x08*3))))&0x0C000000)==0x0C000000)
group dcr:(0x0100+(0x08*3))++0x00
line.long 0x00 "DMA2P30_CR3,DMA to PLB 3 Channel Control Register 3"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "        CIE ,Channel Interrupt Enable" "-,Enabled"
bitfld.long 0x00 29. "  TD  ,Transfer Destination" "Low,High"
textline "                      "
bitfld.long 0x00 28. " PL   ,Peripheral Location" "EBC,OPB(UART0)"
bitfld.long 0x00 26.--27. "     PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits"
bitfld.long 0x00 25. "  DAI ,Destination Address Increment" "-,8"
textline "                      "
bitfld.long 0x00 24. " SAI  ,Source Address Increment" "-,8"
bitfld.long 0x00 23. "              BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "  TM  ,Transfer mode" "Peripheral,Reserved,Software-initiated,Device-paced"
textline "                      "
bitfld.long 0x00 19.--20. " PSC  ,Peripheral Setup Cycles" "0,1,2,3"
bitfld.long 0x00 13.--18. "              PWC ,Peripheral Wait Cycles" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63"
bitfld.long 0x00 10.--12. "       PHC ,Peripheral Hold Cycles" "0,1,2,3,4,5,6,7"
textline "                      "
bitfld.long 0x00 9. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 8. "      TCE ,Terminal Count (TC) Enable" "-,Enabled"
bitfld.long 0x00 6.--7. "  CP  ,Channel Priority" "Low,Medium Low,Medium High,High"
textline "                      "
bitfld.long 0x00 4.--5. " PF   ,Memory Read Prefetch Transfer" "1 doubleword,2 doublewords,4 doublewords,8 doublewords"
bitfld.long 0x00 3. "  PCE ,Parity Check Enable" "-,Enabled"
bitfld.long 0x00 2. "  DEC ,Address Decrement" "SAI and DAI,Transfer width"
endif
group dcr:(0x0101+(0x08*3))++0x00
line.long 0x00 "DMA2P30_CT3,DMA to PLB 3 Count Register 3"
hexmask.long.word 0x00 0.--15. 1. " NTR  ,Number of transfers remaining"
group dcr:(0x0102+(0x08*3))++0x00
line.long 0x00 "DMA2P30_DA3,DMA to PLB 3 Destination Address Register 3"
hexmask.long 0x00 0.--31. 1.  " DA   ,Destination address for memory-to-memory and peripheral-to-memory transfers"
group dcr:(0x0103+(0x08*3))++0x00
line.long 0x00 "DMA2P30_SA3,DMA to PLB 3 Source Address Register 3"
hexmask.long 0x00 0.--31. 1. " SA   ,Source address for memory-to-memory and memory-to-peripheral transfers"
group dcr:(0x0104+(0x08*3))++0x00
line.long 0x00 "DMA2P30_SG3,DMA to PLB 3 Scatter/Gather Descriptor Address Register 3"
hexmask.long 0x00 0.--31. 1. " SG   ,Address of next scatter/gather descriptor table"
group dcr:(0x0107+(0x08*3))++0x00
line.long 0x00 "DMA2P30_SC3,DMA to PLB3 Subchannel ID for Register 3"
bitfld.long 0x00 29.--31. " SCID ,DMA Subchannel ID" "0,1,2,3,4,5,6,7"
tree.end
textline "                      "
group dcr:0x0120++0x00
line.long 0x00 "DMA2P30_SR,DMA to PLB 3 Status Register"
eventfld.long 0x00 31. " CS0  ,Channel 0 Terminal Count Status" "-,0 reached"
eventfld.long 0x00 30. "        CS1  ,Channel 1 Terminal Count Status" "-,0 reached"
eventfld.long 0x00 29. "        CS2  ,Channel 2 Terminal Count Status" "-,0 reached"
textline "                      "
eventfld.long 0x00 28. " CS3  ,Channel 3 Terminal Count Status" "-,0 reached"
eventfld.long 0x00 27. "        TS0  ,Channel 0 End of Transfer Status" "-,Requested"
eventfld.long 0x00 26. "        TS1  ,Channel 1 End of Transfer Status" "-,Requested"
textline "                      "
eventfld.long 0x00 25. " TS2  ,Channel 2 End of Transfer Status" "-,Requested"
eventfld.long 0x00 24. "        TS3  ,Channel 3 End of Transfer Status" "-,Requested"
eventfld.long 0x00 23. "        RI0  ,Channel 0 Error Status" "-,Error"
textline "                      "
eventfld.long 0x00 22. " RI1  ,Channel 1 Error Status" "-,Error"
eventfld.long 0x00 21. "            RI2  ,Channel 2 Error Status" "-,Error"
eventfld.long 0x00 20. "            RI3  ,Channel 3 Error Status" "-,Error"
textline "                      "
eventfld.long 0x00 19. " IR0  ,Internal DMA Request Channel 0" "-,Pending"
eventfld.long 0x00 18. "          IR1  ,Internal DMA Request Channel 1" "-,Pending"
eventfld.long 0x00 17. "          IR2  ,Internal DMA Request Channel 2" "-,Pending"
textline "                      "
eventfld.long 0x00 16. " IR3  ,Internal DMA Request Channel 3" "-,Pending"
eventfld.long 0x00 15. "          ER0  ,External DMA Request Channel 0" "-,Pending"
eventfld.long 0x00 14. "          ER1  ,External DMA Request Channel 1" "-,Pending"
textline "                      "
eventfld.long 0x00 13. " ER2  ,External DMA Request Channel 2" "-,Pending"
eventfld.long 0x00 12. "          ER3  ,External DMA Request Channel 3" "-,Pending"
eventfld.long 0x00 11. "          CB0  ,Channel 0 Busy" "-,Busy"
textline "                      "
eventfld.long 0x00 10. " CB1  ,Channel 1 Busy" "-,Busy"
eventfld.long 0x00 9. "             CB2  ,Channel 2 Busy" "-,Busy"
eventfld.long 0x00 8. "             CB3  ,Channel 3 Busy" "-,Busy"
textline "                      "
eventfld.long 0x00 7. " SG0  ,Scatter/Gather Status Channel 0" "-,In progress"
eventfld.long 0x00 6. "      SG1  ,Scatter/Gather Status Channel 1" "-,In progress"
eventfld.long 0x00 5. "      SG2  ,Scatter/Gather Status Channel 2" "-,In progress"
textline "                      "
eventfld.long 0x00 4. " SG3  ,Scatter/Gather Status Channel 3" "-,In progress"    
group dcr:0x0123++0x00
line.long 0x00 "DMA2P30_SGC,DMA to PLB 3 Scatter/Gather Command Register"
bitfld.long 0x00 31. " SSG0 ,Start Scatter/Gather for channel 0" "-,Enabled"
bitfld.long 0x00 30. "          SSG1 ,Start Scatter/Gather for channel 1" "-,Enabled"
bitfld.long 0x00 29. "          SSG2 ,Start Scatter/Gather for channel 2" "-,Enabled"
textline "                      "
bitfld.long 0x00 28. " SSG3 ,Start Scatter/Gather for channel 3" "-,Enabled"
bitfld.long 0x00 15. "          EM0  ,Enable Mask for channel 0" "Enabled,-"
bitfld.long 0x00 14. "          EM1  ,Enable Mask for channel 1" "Enabled,-"
textline "                      "
bitfld.long 0x00 13. " EM2  ,Enable Mask for channel 2" "Enabled,-"
bitfld.long 0x00 12. "          EM3  ,Enable Mask for channel 3" "Enabled,-"    
group dcr:0x124++0x00
line.long 0x00 "DMA2P30_ADR,DMA to PLB3 Address Decode Register"
hexmask.long.byte 0x00 24.--31. 1 " ADRD ,Address Decode Compare Field"
group dcr:0x125++0x00
line.long 0x00 "DMA2P30_SLP,DMA to PLB 3 Sleep Mode Register"
bitfld.long 0x00 27.--31. " IDU  ,Idle Timer Upper" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x00 22.--26. "               IDL  ,Idle Timer Lower" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x00 21. "               SME  ,Sleep Mode Enable" "-,Enabled"    
group dcr:0x126++0x00
line.long 0x00 "DMA2P30_POL,DMA to PLB 3 Polarity Configuration Register"
bitfld.long 0x00 31. " R0P  ,DMAReq0 Polarity" "High,Low"
bitfld.long 0x00 30. "             A0P  ,DMAAck0 Polarity" "High,Low"
bitfld.long 0x00 29. "             E0P  ,EOT0[TC0] Polarity" "High,Low"
textline "                      "
bitfld.long 0x00 28. " R1P  ,DMAReq1 Polarity" "High,Low"
bitfld.long 0x00 27. "             A1P  ,DMAAck1 Polarity" "High,Low"
bitfld.long 0x00 26. "             E1P  ,EOT1[TC1] Polarity" "High,Low"
textline "                      "
bitfld.long 0x00 25. " R2P  ,DMAReq2 Polarity" "High,Low"
bitfld.long 0x00 24. "             A2P  ,DMAAck2 Polarity" "High,Low"
bitfld.long 0x00 23. "             E2P  ,EOT2[TC2] Polarity" "High,Low"
textline "                      "
bitfld.long 0x00 22. " R3P  ,DMAReq3 Polarity" "High,Low"
bitfld.long 0x00 21. "             A3P  ,DMAAck3 Polarity" "High,Low"
bitfld.long 0x00 20. "             E3P  ,EOT3[TC3] Polarity" "High,Low"    
width 0x0B
endif
tree.end
sif (cpu()=="PPC440GX")
width 0xA
group dcr:0x120++0x0
line.long 0x0 "DMA0_SR,DMA Status Register 0"
eventfld.long 0x00 31. " CS0  ,Channel 0 Terminal Count Status" "-,Reached"
eventfld.long 0x00 30. "      CS1  ,Channel 1 Terminal Count Status" "-,Reached"
eventfld.long 0x00 29. "      CS2  ,Channel 2 Terminal Count Status" "-,Reached"
eventfld.long 0x00 28. "      CS3  ,Channel 3 Terminal Count Status" "-,Reached"
textline "                   "
eventfld.long 0x00 27. " TS0  ,Channel 0 End of Transfer Status" "-,Requested"
eventfld.long 0x00 26. "    TS1  ,Channel 1 End of Transfer Status" "-,Requested"
eventfld.long 0x00 25. "    TS2  ,Channel 2 End of Transfer Status" "-,Requested"
eventfld.long 0x00 24. "    TS3  ,Channel 3 End of Transfer Status" "-,Requested"
textline "                   "
eventfld.long 0x00 23. " RI0  ,Channel 0 Error Status" "-,Error"
eventfld.long 0x00 22. "        RI1  ,Channel 1 Error Status" "-,Error"
eventfld.long 0x00 21. "        RI2  ,Channel 2 Error Status" "-,Error"
eventfld.long 0x00 20. "        RI3  ,Channel 3 Error Status" "-,Error"
textline "                   "
eventfld.long 0x00 19. " IR0  ,Internal DMA Request 0" "-,Pending"
eventfld.long 0x00 18. "      IR1  ,Internal DMA Request 1" "-,Pending"
eventfld.long 0x00 17. "      IR2  ,Internal DMA Request 2" "-,Pending"
eventfld.long 0x00 16. "      IR3  ,Internal DMA Request 3" "-,Pending"
textline "                   "
eventfld.long 0x00 15. " ER0  ,External DMA Request 0" "-,Pending"
eventfld.long 0x00 14. "      ER1  ,External DMA Request 1" "-,Pending"
eventfld.long 0x00 13. "      ER2  ,External DMA Request 2" "-,Pending"
eventfld.long 0x00 12. "      ER3  ,External DMA Request 3" "-,Pending"
textline "                   "
eventfld.long 0x00 11. " CB0  ,Channel Busy 0" "-,Active"
eventfld.long 0x00 10. "       CB1  ,Channel Busy 1" "-,Active"
eventfld.long 0x00 9. "       CB2  ,Channel Busy 2" "-,Active"
eventfld.long 0x00 8. "       CB3  ,Channel Busy 3" "-,Active"
textline "                   "
eventfld.long 0x00 7. " SG0  ,Scatter/Gather Status 0" "-,In progress"
eventfld.long 0x00 6. "  SG1  ,Scatter/Gather Status 1" "-,In progress"
eventfld.long 0x00 5. "  SG2  ,Scatter/Gather Status 2" "-,In progress"
eventfld.long 0x00 4. "  SG3  ,Scatter/Gather Status 3" "-,In progress"
group dcr:0x123++0x0
line.long 0x0 "DMA0_SGC,DMA Scatter/Gather Command Register 0"
bitfld.long 0x00 31. " SSG0 ,Start Scatter/Gather for channel 0" "-,Enabled"
bitfld.long 0x00 30. "      SSG1 ,Start Scatter/Gather for channel 1" "-,Enabled"
bitfld.long 0x00 29. "      SSG2 ,Start Scatter/Gather for channel 2" "-,Enabled"
bitfld.long 0x00 28. "      SSG3 ,Start Scatter/Gather for channel 3" "-,Enabled"
textline "                   "
bitfld.long 0x00 27. " SGL0 ,Scatter/Gather Descriptor Table Location for channel 0" "PLB,OPB"
bitfld.long 0x00 26. "          SGL1 ,Scatter/Gather Descriptor Table Location for channel 1" "PLB,OPB"
bitfld.long 0x00 25. "          SGL2 ,Scatter/Gather Descriptor Table Location for channel 2" "PLB,OPB"
bitfld.long 0x00 24. "          SGL3 ,Scatter/Gather Descriptor Table Location for channel 3" "PLB,OPB"
textline "                   "
bitfld.long 0x00 15. " EM0  ,Enable Mask for channel 0" "Ignored,Allowed"
bitfld.long 0x00 14. "      EM1  ,Enable Mask for channel 1" "Ignored,Allowed"
bitfld.long 0x00 13. "      EM2  ,Enable Mask for channel 2" "Ignored,Allowed"
bitfld.long 0x00 12. "      EM3  ,Enable Mask for channel 3" "Ignored,Allowed"
group dcr:0x125++0x1
line.long 0x0 "DMA0_SLP,DMA Sleep Mode Register 0"
bitfld.long 0x00 27.--31. " IDU  ,Idle Timer Upper" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x00 22.--26. "           IDL  ,Idle Timer Lower" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x00 21. "           SME  ,Sleep Mode Enable" "-,Enabled"
line.long 0x4 "DMA0_POL,DMA Polarity Configuration Register 0"
bitfld.long 0x4 31. " R0P ,DMAReq0 Polarity" "High,Low"
bitfld.long 0x4 30. "  A0P ,DMAAck0 Polarity" "High,Low"
bitfld.long 0x4 29. "  E0P ,EOT0[TC0] Polarity" "High,Low"
textline "                   "
bitfld.long 0x4 28. " R1P ,DMAReq1 Polarity" "High,Low"
bitfld.long 0x4 27. "  A1P ,DMAAck1 Polarity" "High,Low"
bitfld.long 0x4 26. "  E1P ,EOT1[TC1] Polarity" "High,Low"
textline "                   "
bitfld.long 0x4 25. " R2P ,DMAReq2 Polarity" "High,Low"
bitfld.long 0x4 24. "  A2P ,DMAAck2 Polarity" "High,Low"
bitfld.long 0x4 23. "  E2P ,EOT2[TC2] Polarity" "High,Low"
textline "                   "
bitfld.long 0x4 22. " R3P ,DMAReq3 Polarity" "High,Low"
bitfld.long 0x4 21. "  A3P ,DMAAck3 Polarity" "High,Low"
bitfld.long 0x4 20. "  E3P ,EOT3[TC3] Polarity" "High,Low"
width 0x0b
tree "Channel 0" 
if (((data.long(dcr:(0x100+(0*0x8))))&0x300000)==0x000000)
group dcr:(0x100+(0*8))++0x0
line.long 0x0 "DMA0_CR0,DMA Channel Control Register 0 0"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "             CIE ,Channel Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 20.--21. " TM  ,Transfer mode" "Peripheral,Reserved,Software-initiated,Device-paced"
bitfld.long 0x00 29. "  TD  ,Transfer Direction" "Memory-to-peripheral,Peripheral-to-memory"
textline "                    "
bitfld.long 0x00 28. " PL  ,Peripheral Location/Destination Memory Location" "External bus,OPB"
bitfld.long 0x00 25.--27. "        PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
textline "                    "
bitfld.long 0x00 24. " DAI ,Destination Address Increment" "-,Incremented"
bitfld.long 0x00 23. "         SAI ,Source Address Increment" "-,Incremented"
textline "                    "
bitfld.long 0x00 22. " BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 18.--19. "             PSC ,Peripheral Setup Cycles" "-,1 cycle,2 cycles,3 cycles"
textline "                    "
bitfld.long 0x00 12.--17. " PWC ,Peripheral Wait Cycles" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles,8 cycles,9 cycles,10 cycles,11 cycles,12 cycles,13 cycles,14 cycles,15 cycles,16 cycles,17 cycles,18 cycles,19 cycles,20 cycles,21 cycles,22 cycles,23 cycles,24 cycles,25 cycles,26 cycles,27 cycles,28 cycles,29 cycles,30 cycles,31 cycles,32 cycles,33 cycles,34 cycles,35 cycles,36 cycles,37 cycles,38 cycles,39 cycles,40 cycles,41 cycles,42 cycles,43 cycles,44 cycles,45 cycles,46 cycles,47 cycles,48 cycles,49 cycles,50 cycles,51 cycles,52 cycles,53 cycles,54 cycles,55 cycles,56 cycles,57 cycles,58 cycles,59 cycles,60 cycles,61 cycles,62 cycles,63 cycles"
bitfld.long 0x00 9.--11. "           PHC ,Peripheral Hold Cycles" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
textline "                    "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOT0[TC0]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "           TCE ,Terminal Count (TC) Enable" "-,Stopped"
textline "                    "
bitfld.long 0x00 5.--6. " CP  ,Channel Priority" "Low,Medium low,Medium high,High"
bitfld.long 0x00 3.--4. "         PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
textline "                    "
bitfld.long 0x00 2. " DEC ,Address Decrement" "SAI/DAI,Decremented"
bitfld.long 0x00 1. "         SL  ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x100+(0*0x8))))&0x300000)==0x300000)
group dcr:(0x100+(0*8))++0x0
line.long 0x0 "DMA0_CR0,DMA Channel Control Register 0 0"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "             CIE ,Channel Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 20.--21. " TM  ,Transfer mode" "Peripheral,Reserved,Software-initiated,Device-paced"
bitfld.long 0x00 29. "  TD  ,Transfer Direction" "Destination,Source"
textline "                    "
bitfld.long 0x00 28. " PL  ,Peripheral Location/Destination Memory Location" "PLB,OPB"
bitfld.long 0x00 25.--27. "                 PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
textline "                    "
bitfld.long 0x00 24. " DAI ,Destination Address Increment" "-,Incremented"
bitfld.long 0x00 23. "         SAI ,Source Address Increment" "-,Incremented"
textline "                    "
bitfld.long 0x00 22. " BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 18.--19. "             PSC ,Peripheral Setup Cycles" "-,1 cycle,2 cycles,3 cycles"
textline "                    "
bitfld.long 0x00 12.--17. " PWC ,Peripheral Wait Cycles" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles,8 cycles,9 cycles,10 cycles,11 cycles,12 cycles,13 cycles,14 cycles,15 cycles,16 cycles,17 cycles,18 cycles,19 cycles,20 cycles,21 cycles,22 cycles,23 cycles,24 cycles,25 cycles,26 cycles,27 cycles,28 cycles,29 cycles,30 cycles,31 cycles,32 cycles,33 cycles,34 cycles,35 cycles,36 cycles,37 cycles,38 cycles,39 cycles,40 cycles,41 cycles,42 cycles,43 cycles,44 cycles,45 cycles,46 cycles,47 cycles,48 cycles,49 cycles,50 cycles,51 cycles,52 cycles,53 cycles,54 cycles,55 cycles,56 cycles,57 cycles,58 cycles,59 cycles,60 cycles,61 cycles,62 cycles,63 cycles"
bitfld.long 0x00 9.--11. "           PHC ,Peripheral Hold Cycles" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
textline "                    "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOT0[TC0]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "           TCE ,Terminal Count (TC) Enable" "-,Stopped"
textline "                    "
bitfld.long 0x00 5.--6. " CP  ,Channel Priority" "Low,Medium low,Medium high,High"
bitfld.long 0x00 3.--4. "         PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
textline "                    "
bitfld.long 0x00 2. " DEC ,Address Decrement" "SAI/DAI,Decremented"
bitfld.long 0x00 1. "         SL  ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x100+(0*0x8))))&0x200000)==0x200000)
group dcr:(0x100+(0*8))++0x0
line.long 0x0 "DMA0_CR0,DMA Channel Control Register 0 0"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "             CIE ,Channel Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 20.--21. " TM  ,Transfer mode" "Peripheral,Reserved,Software-initiated,Device-paced"
bitfld.long 0x00 28. "  PL  ,Peripheral Location/Destination Memory Location" "PLB,OPB"
textline "                    "
bitfld.long 0x00 25.--27. " PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "            DAI ,Destination Address Increment" "-,Incremented"
textline "                    "
bitfld.long 0x00 23. " SAI ,Source Address Increment" "-,Incremented"
bitfld.long 0x00 22. "         BEN ,Buffer Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 18.--19. " PSC ,Peripheral Setup Cycles" "-,1 cycle,2 cycles,3 cycles"
bitfld.long 0x00 12.--17. "            PWC ,Peripheral Wait Cycles" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles,8 cycles,9 cycles,10 cycles,11 cycles,12 cycles,13 cycles,14 cycles,15 cycles,16 cycles,17 cycles,18 cycles,19 cycles,20 cycles,21 cycles,22 cycles,23 cycles,24 cycles,25 cycles,26 cycles,27 cycles,28 cycles,29 cycles,30 cycles,31 cycles,32 cycles,33 cycles,34 cycles,35 cycles,36 cycles,37 cycles,38 cycles,39 cycles,40 cycles,41 cycles,42 cycles,43 cycles,44 cycles,45 cycles,46 cycles,47 cycles,48 cycles,49 cycles,50 cycles,51 cycles,52 cycles,53 cycles,54 cycles,55 cycles,56 cycles,57 cycles,58 cycles,59 cycles,60 cycles,61 cycles,62 cycles,63 cycles"
textline "                    "
bitfld.long 0x00 9.--11. " PHC ,Peripheral Hold Cycles" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
bitfld.long 0x00 8. "            ETD ,End-of-Transfer/Terminal Count (EOT0[TC0]) Pin Direction" "EOT input,TC output"
textline "                    "
bitfld.long 0x00 7. " TCE ,Terminal Count (TC) Enable" "-,Stopped"
bitfld.long 0x00 5.--6. "             CP  ,Channel Priority" "Low,Medium low,Medium high,High"
textline "                    "
bitfld.long 0x00 3.--4. " PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "         DEC ,Address Decrement" "SAI/DAI,Decremented"
textline "                    "
bitfld.long 0x00 1. " SL  ,Source Address Location/Memory Location" "PLB,OPB"
else
group dcr:(0x100+(0*8))++0x0
line.long 0x0 "DMA0_CR0,DMA Channel Control Register 0 0"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "             CIE ,Channel Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 20.--21. " TM  ,Transfer mode" "Peripheral,Reserved,Software-initiated,Device-paced"
bitfld.long 0x00 25.--27. "  PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
textline "                    "
bitfld.long 0x00 24. " DAI ,Destination Address Increment" "-,Incremented"
bitfld.long 0x00 23. "         SAI ,Source Address Increment" "-,Incremented"
textline "                    "
bitfld.long 0x00 22. " BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 18.--19. "             PSC ,Peripheral Setup Cycles" "-,1 cycle,2 cycles,3 cycles"
textline "                    "
bitfld.long 0x00 12.--17. " PWC ,Peripheral Wait Cycles" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles,8 cycles,9 cycles,10 cycles,11 cycles,12 cycles,13 cycles,14 cycles,15 cycles,16 cycles,17 cycles,18 cycles,19 cycles,20 cycles,21 cycles,22 cycles,23 cycles,24 cycles,25 cycles,26 cycles,27 cycles,28 cycles,29 cycles,30 cycles,31 cycles,32 cycles,33 cycles,34 cycles,35 cycles,36 cycles,37 cycles,38 cycles,39 cycles,40 cycles,41 cycles,42 cycles,43 cycles,44 cycles,45 cycles,46 cycles,47 cycles,48 cycles,49 cycles,50 cycles,51 cycles,52 cycles,53 cycles,54 cycles,55 cycles,56 cycles,57 cycles,58 cycles,59 cycles,60 cycles,61 cycles,62 cycles,63 cycles"
bitfld.long 0x00 9.--11. "           PHC ,Peripheral Hold Cycles" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
textline "                    "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOT0[TC0]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "           TCE ,Terminal Count (TC) Enable" "-,Stopped"
textline "                    "
bitfld.long 0x00 5.--6. " CP  ,Channel Priority" "Low,Medium low,Medium high,High"
bitfld.long 0x00 3.--4. "         PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
textline "                    "
bitfld.long 0x00 2. " DEC ,Address Decrement" "SAI/DAI,Decremented"
bitfld.long 0x00 1. "         SL  ,Source Address Location/Memory Location" "PLB,OPB"
endif
group dcr:(0x101+(0*8))++0x6
line.long 0x0 "DMA0_CT0,DMA Count and Control Register 0 0"
bitfld.long 0x0 29. " TCIE ,Terminal Count Interrupt Enable" "-,Enabled"
bitfld.long 0x0 28. "  ETIE ,EOT Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.long 0x0 27. " EIE  ,Error Interrupt Enable" "-,Enabled"
bitfld.long 0x0 24.--26. "  SID  ,Subchannel ID" "0,1,2,3,4,5,6,7"
textline "                    "
bitfld.long 0x0 23. " BTEN ,Burst Enable" "-,Enabled"
bitfld.long 0x0 21.--22. "  BSIZ ,Burst Size" "Burst of 2,Burst of 4,Burst of 8,Burst of 16"
textline "                    "
bitfld.long 0x0 20. " PCE  ,Parity Check Enable" "-,Enabled"
hexmask.long 0x0 0.--19. 1. "  TC   ,Transfer Count"
line.long 0x4 "DMA0_SAH0,DMA Source Address High Register 0 0"
line.long 0x8 "DMA0_SAL0,DMA Source Address Low Register 0 0"
line.long 0xC "DMA0_DAH0,DMA Destination Address High Register 0 0"
line.long 0x10 "DMA0_DAL0,DMA Destination Address Low Register 0 0"
line.long 0x14 "DMA0_SGH0,DMA Scatter/Gather Descriptor Address High Register 0 0"
line.long 0x18 "DMA0_SGL0,DMA Scatter/Gather Descriptor Address Low Register 0 0"
tree.end
tree "Channel 1" 
if (((data.long(dcr:(0x100+(1*0x8))))&0x300000)==0x000000)
group dcr:(0x100+(1*8))++0x0
line.long 0x0 "DMA0_CR1,DMA Channel Control Register 0 1"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "             CIE ,Channel Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 20.--21. " TM  ,Transfer mode" "Peripheral,Reserved,Software-initiated,Device-paced"
bitfld.long 0x00 29. "  TD  ,Transfer Direction" "Memory-to-peripheral,Peripheral-to-memory"
textline "                    "
bitfld.long 0x00 28. " PL  ,Peripheral Location/Destination Memory Location" "External bus,OPB"
bitfld.long 0x00 25.--27. "        PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
textline "                    "
bitfld.long 0x00 24. " DAI ,Destination Address Increment" "-,Incremented"
bitfld.long 0x00 23. "         SAI ,Source Address Increment" "-,Incremented"
textline "                    "
bitfld.long 0x00 22. " BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 18.--19. "             PSC ,Peripheral Setup Cycles" "-,1 cycle,2 cycles,3 cycles"
textline "                    "
bitfld.long 0x00 12.--17. " PWC ,Peripheral Wait Cycles" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles,8 cycles,9 cycles,10 cycles,11 cycles,12 cycles,13 cycles,14 cycles,15 cycles,16 cycles,17 cycles,18 cycles,19 cycles,20 cycles,21 cycles,22 cycles,23 cycles,24 cycles,25 cycles,26 cycles,27 cycles,28 cycles,29 cycles,30 cycles,31 cycles,32 cycles,33 cycles,34 cycles,35 cycles,36 cycles,37 cycles,38 cycles,39 cycles,40 cycles,41 cycles,42 cycles,43 cycles,44 cycles,45 cycles,46 cycles,47 cycles,48 cycles,49 cycles,50 cycles,51 cycles,52 cycles,53 cycles,54 cycles,55 cycles,56 cycles,57 cycles,58 cycles,59 cycles,60 cycles,61 cycles,62 cycles,63 cycles"
bitfld.long 0x00 9.--11. "           PHC ,Peripheral Hold Cycles" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
textline "                    "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOT1[TC1]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "           TCE ,Terminal Count (TC) Enable" "-,Stopped"
textline "                    "
bitfld.long 0x00 5.--6. " CP  ,Channel Priority" "Low,Medium low,Medium high,High"
bitfld.long 0x00 3.--4. "         PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
textline "                    "
bitfld.long 0x00 2. " DEC ,Address Decrement" "SAI/DAI,Decremented"
bitfld.long 0x00 1. "         SL  ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x100+(1*0x8))))&0x300000)==0x300000)
group dcr:(0x100+(1*8))++0x0
line.long 0x0 "DMA0_CR1,DMA Channel Control Register 0 1"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "             CIE ,Channel Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 20.--21. " TM  ,Transfer mode" "Peripheral,Reserved,Software-initiated,Device-paced"
bitfld.long 0x00 29. "  TD  ,Transfer Direction" "Destination,Source"
textline "                    "
bitfld.long 0x00 28. " PL  ,Peripheral Location/Destination Memory Location" "PLB,OPB"
bitfld.long 0x00 25.--27. "                 PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
textline "                    "
bitfld.long 0x00 24. " DAI ,Destination Address Increment" "-,Incremented"
bitfld.long 0x00 23. "         SAI ,Source Address Increment" "-,Incremented"
textline "                    "
bitfld.long 0x00 22. " BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 18.--19. "             PSC ,Peripheral Setup Cycles" "-,1 cycle,2 cycles,3 cycles"
textline "                    "
bitfld.long 0x00 12.--17. " PWC ,Peripheral Wait Cycles" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles,8 cycles,9 cycles,10 cycles,11 cycles,12 cycles,13 cycles,14 cycles,15 cycles,16 cycles,17 cycles,18 cycles,19 cycles,20 cycles,21 cycles,22 cycles,23 cycles,24 cycles,25 cycles,26 cycles,27 cycles,28 cycles,29 cycles,30 cycles,31 cycles,32 cycles,33 cycles,34 cycles,35 cycles,36 cycles,37 cycles,38 cycles,39 cycles,40 cycles,41 cycles,42 cycles,43 cycles,44 cycles,45 cycles,46 cycles,47 cycles,48 cycles,49 cycles,50 cycles,51 cycles,52 cycles,53 cycles,54 cycles,55 cycles,56 cycles,57 cycles,58 cycles,59 cycles,60 cycles,61 cycles,62 cycles,63 cycles"
bitfld.long 0x00 9.--11. "           PHC ,Peripheral Hold Cycles" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
textline "                    "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOT1[TC1]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "           TCE ,Terminal Count (TC) Enable" "-,Stopped"
textline "                    "
bitfld.long 0x00 5.--6. " CP  ,Channel Priority" "Low,Medium low,Medium high,High"
bitfld.long 0x00 3.--4. "         PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
textline "                    "
bitfld.long 0x00 2. " DEC ,Address Decrement" "SAI/DAI,Decremented"
bitfld.long 0x00 1. "         SL  ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x100+(1*0x8))))&0x200000)==0x200000)
group dcr:(0x100+(1*8))++0x0
line.long 0x0 "DMA0_CR1,DMA Channel Control Register 0 1"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "             CIE ,Channel Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 20.--21. " TM  ,Transfer mode" "Peripheral,Reserved,Software-initiated,Device-paced"
bitfld.long 0x00 28. "  PL  ,Peripheral Location/Destination Memory Location" "PLB,OPB"
textline "                    "
bitfld.long 0x00 25.--27. " PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "            DAI ,Destination Address Increment" "-,Incremented"
textline "                    "
bitfld.long 0x00 23. " SAI ,Source Address Increment" "-,Incremented"
bitfld.long 0x00 22. "         BEN ,Buffer Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 18.--19. " PSC ,Peripheral Setup Cycles" "-,1 cycle,2 cycles,3 cycles"
bitfld.long 0x00 12.--17. "            PWC ,Peripheral Wait Cycles" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles,8 cycles,9 cycles,10 cycles,11 cycles,12 cycles,13 cycles,14 cycles,15 cycles,16 cycles,17 cycles,18 cycles,19 cycles,20 cycles,21 cycles,22 cycles,23 cycles,24 cycles,25 cycles,26 cycles,27 cycles,28 cycles,29 cycles,30 cycles,31 cycles,32 cycles,33 cycles,34 cycles,35 cycles,36 cycles,37 cycles,38 cycles,39 cycles,40 cycles,41 cycles,42 cycles,43 cycles,44 cycles,45 cycles,46 cycles,47 cycles,48 cycles,49 cycles,50 cycles,51 cycles,52 cycles,53 cycles,54 cycles,55 cycles,56 cycles,57 cycles,58 cycles,59 cycles,60 cycles,61 cycles,62 cycles,63 cycles"
textline "                    "
bitfld.long 0x00 9.--11. " PHC ,Peripheral Hold Cycles" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
bitfld.long 0x00 8. "            ETD ,End-of-Transfer/Terminal Count (EOT1[TC1]) Pin Direction" "EOT input,TC output"
textline "                    "
bitfld.long 0x00 7. " TCE ,Terminal Count (TC) Enable" "-,Stopped"
bitfld.long 0x00 5.--6. "             CP  ,Channel Priority" "Low,Medium low,Medium high,High"
textline "                    "
bitfld.long 0x00 3.--4. " PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "         DEC ,Address Decrement" "SAI/DAI,Decremented"
textline "                    "
bitfld.long 0x00 1. " SL  ,Source Address Location/Memory Location" "PLB,OPB"
else
group dcr:(0x100+(1*8))++0x0
line.long 0x0 "DMA0_CR1,DMA Channel Control Register 0 1"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "             CIE ,Channel Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 20.--21. " TM  ,Transfer mode" "Peripheral,Reserved,Software-initiated,Device-paced"
bitfld.long 0x00 25.--27. "  PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
textline "                    "
bitfld.long 0x00 24. " DAI ,Destination Address Increment" "-,Incremented"
bitfld.long 0x00 23. "         SAI ,Source Address Increment" "-,Incremented"
textline "                    "
bitfld.long 0x00 22. " BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 18.--19. "             PSC ,Peripheral Setup Cycles" "-,1 cycle,2 cycles,3 cycles"
textline "                    "
bitfld.long 0x00 12.--17. " PWC ,Peripheral Wait Cycles" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles,8 cycles,9 cycles,10 cycles,11 cycles,12 cycles,13 cycles,14 cycles,15 cycles,16 cycles,17 cycles,18 cycles,19 cycles,20 cycles,21 cycles,22 cycles,23 cycles,24 cycles,25 cycles,26 cycles,27 cycles,28 cycles,29 cycles,30 cycles,31 cycles,32 cycles,33 cycles,34 cycles,35 cycles,36 cycles,37 cycles,38 cycles,39 cycles,40 cycles,41 cycles,42 cycles,43 cycles,44 cycles,45 cycles,46 cycles,47 cycles,48 cycles,49 cycles,50 cycles,51 cycles,52 cycles,53 cycles,54 cycles,55 cycles,56 cycles,57 cycles,58 cycles,59 cycles,60 cycles,61 cycles,62 cycles,63 cycles"
bitfld.long 0x00 9.--11. "           PHC ,Peripheral Hold Cycles" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
textline "                    "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOT1[TC1]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "           TCE ,Terminal Count (TC) Enable" "-,Stopped"
textline "                    "
bitfld.long 0x00 5.--6. " CP  ,Channel Priority" "Low,Medium low,Medium high,High"
bitfld.long 0x00 3.--4. "         PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
textline "                    "
bitfld.long 0x00 2. " DEC ,Address Decrement" "SAI/DAI,Decremented"
bitfld.long 0x00 1. "         SL  ,Source Address Location/Memory Location" "PLB,OPB"
endif
group dcr:(0x101+(1*8))++0x6
line.long 0x0 "DMA0_CT1,DMA Count and Control Register 0 1"
bitfld.long 0x0 29. " TCIE ,Terminal Count Interrupt Enable" "-,Enabled"
bitfld.long 0x0 28. "  ETIE ,EOT Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.long 0x0 27. " EIE  ,Error Interrupt Enable" "-,Enabled"
bitfld.long 0x0 24.--26. "  SID  ,Subchannel ID" "0,1,2,3,4,5,6,7"
textline "                    "
bitfld.long 0x0 23. " BTEN ,Burst Enable" "-,Enabled"
bitfld.long 0x0 21.--22. "  BSIZ ,Burst Size" "Burst of 2,Burst of 4,Burst of 8,Burst of 16"
textline "                    "
bitfld.long 0x0 20. " PCE  ,Parity Check Enable" "-,Enabled"
hexmask.long 0x0 0.--19. 1. "  TC   ,Transfer Count"
line.long 0x4 "DMA0_SAH1,DMA Source Address High Register 0 1"
line.long 0x8 "DMA0_SAL1,DMA Source Address Low Register 0 1"
line.long 0xC "DMA0_DAH1,DMA Destination Address High Register 0 1"
line.long 0x10 "DMA0_DAL1,DMA Destination Address Low Register 0 1"
line.long 0x14 "DMA0_SGH1,DMA Scatter/Gather Descriptor Address High Register 0 1"
line.long 0x18 "DMA0_SGL1,DMA Scatter/Gather Descriptor Address Low Register 0 1"
tree.end
tree "Channel 2" 
if (((data.long(dcr:(0x100+(2*0x8))))&0x300000)==0x000000)
group dcr:(0x100+(2*8))++0x0
line.long 0x0 "DMA0_CR2,DMA Channel Control Register 0 2"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "             CIE ,Channel Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 20.--21. " TM  ,Transfer mode" "Peripheral,Reserved,Software-initiated,Device-paced"
bitfld.long 0x00 29. "  TD  ,Transfer Direction" "Memory-to-peripheral,Peripheral-to-memory"
textline "                    "
bitfld.long 0x00 28. " PL  ,Peripheral Location/Destination Memory Location" "External bus,OPB"
bitfld.long 0x00 25.--27. "        PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
textline "                    "
bitfld.long 0x00 24. " DAI ,Destination Address Increment" "-,Incremented"
bitfld.long 0x00 23. "         SAI ,Source Address Increment" "-,Incremented"
textline "                    "
bitfld.long 0x00 22. " BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 18.--19. "             PSC ,Peripheral Setup Cycles" "-,1 cycle,2 cycles,3 cycles"
textline "                    "
bitfld.long 0x00 12.--17. " PWC ,Peripheral Wait Cycles" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles,8 cycles,9 cycles,10 cycles,11 cycles,12 cycles,13 cycles,14 cycles,15 cycles,16 cycles,17 cycles,18 cycles,19 cycles,20 cycles,21 cycles,22 cycles,23 cycles,24 cycles,25 cycles,26 cycles,27 cycles,28 cycles,29 cycles,30 cycles,31 cycles,32 cycles,33 cycles,34 cycles,35 cycles,36 cycles,37 cycles,38 cycles,39 cycles,40 cycles,41 cycles,42 cycles,43 cycles,44 cycles,45 cycles,46 cycles,47 cycles,48 cycles,49 cycles,50 cycles,51 cycles,52 cycles,53 cycles,54 cycles,55 cycles,56 cycles,57 cycles,58 cycles,59 cycles,60 cycles,61 cycles,62 cycles,63 cycles"
bitfld.long 0x00 9.--11. "           PHC ,Peripheral Hold Cycles" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
textline "                    "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOT2[TC2]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "           TCE ,Terminal Count (TC) Enable" "-,Stopped"
textline "                    "
bitfld.long 0x00 5.--6. " CP  ,Channel Priority" "Low,Medium low,Medium high,High"
bitfld.long 0x00 3.--4. "         PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
textline "                    "
bitfld.long 0x00 2. " DEC ,Address Decrement" "SAI/DAI,Decremented"
bitfld.long 0x00 1. "         SL  ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x100+(2*0x8))))&0x300000)==0x300000)
group dcr:(0x100+(2*8))++0x0
line.long 0x0 "DMA0_CR2,DMA Channel Control Register 0 2"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "             CIE ,Channel Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 20.--21. " TM  ,Transfer mode" "Peripheral,Reserved,Software-initiated,Device-paced"
bitfld.long 0x00 29. "  TD  ,Transfer Direction" "Destination,Source"
textline "                    "
bitfld.long 0x00 28. " PL  ,Peripheral Location/Destination Memory Location" "PLB,OPB"
bitfld.long 0x00 25.--27. "                 PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
textline "                    "
bitfld.long 0x00 24. " DAI ,Destination Address Increment" "-,Incremented"
bitfld.long 0x00 23. "         SAI ,Source Address Increment" "-,Incremented"
textline "                    "
bitfld.long 0x00 22. " BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 18.--19. "             PSC ,Peripheral Setup Cycles" "-,1 cycle,2 cycles,3 cycles"
textline "                    "
bitfld.long 0x00 12.--17. " PWC ,Peripheral Wait Cycles" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles,8 cycles,9 cycles,10 cycles,11 cycles,12 cycles,13 cycles,14 cycles,15 cycles,16 cycles,17 cycles,18 cycles,19 cycles,20 cycles,21 cycles,22 cycles,23 cycles,24 cycles,25 cycles,26 cycles,27 cycles,28 cycles,29 cycles,30 cycles,31 cycles,32 cycles,33 cycles,34 cycles,35 cycles,36 cycles,37 cycles,38 cycles,39 cycles,40 cycles,41 cycles,42 cycles,43 cycles,44 cycles,45 cycles,46 cycles,47 cycles,48 cycles,49 cycles,50 cycles,51 cycles,52 cycles,53 cycles,54 cycles,55 cycles,56 cycles,57 cycles,58 cycles,59 cycles,60 cycles,61 cycles,62 cycles,63 cycles"
bitfld.long 0x00 9.--11. "           PHC ,Peripheral Hold Cycles" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
textline "                    "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOT2[TC2]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "           TCE ,Terminal Count (TC) Enable" "-,Stopped"
textline "                    "
bitfld.long 0x00 5.--6. " CP  ,Channel Priority" "Low,Medium low,Medium high,High"
bitfld.long 0x00 3.--4. "         PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
textline "                    "
bitfld.long 0x00 2. " DEC ,Address Decrement" "SAI/DAI,Decremented"
bitfld.long 0x00 1. "         SL  ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x100+(2*0x8))))&0x200000)==0x200000)
group dcr:(0x100+(2*8))++0x0
line.long 0x0 "DMA0_CR2,DMA Channel Control Register 0 2"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "             CIE ,Channel Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 20.--21. " TM  ,Transfer mode" "Peripheral,Reserved,Software-initiated,Device-paced"
bitfld.long 0x00 28. "  PL  ,Peripheral Location/Destination Memory Location" "PLB,OPB"
textline "                    "
bitfld.long 0x00 25.--27. " PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "            DAI ,Destination Address Increment" "-,Incremented"
textline "                    "
bitfld.long 0x00 23. " SAI ,Source Address Increment" "-,Incremented"
bitfld.long 0x00 22. "         BEN ,Buffer Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 18.--19. " PSC ,Peripheral Setup Cycles" "-,1 cycle,2 cycles,3 cycles"
bitfld.long 0x00 12.--17. "            PWC ,Peripheral Wait Cycles" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles,8 cycles,9 cycles,10 cycles,11 cycles,12 cycles,13 cycles,14 cycles,15 cycles,16 cycles,17 cycles,18 cycles,19 cycles,20 cycles,21 cycles,22 cycles,23 cycles,24 cycles,25 cycles,26 cycles,27 cycles,28 cycles,29 cycles,30 cycles,31 cycles,32 cycles,33 cycles,34 cycles,35 cycles,36 cycles,37 cycles,38 cycles,39 cycles,40 cycles,41 cycles,42 cycles,43 cycles,44 cycles,45 cycles,46 cycles,47 cycles,48 cycles,49 cycles,50 cycles,51 cycles,52 cycles,53 cycles,54 cycles,55 cycles,56 cycles,57 cycles,58 cycles,59 cycles,60 cycles,61 cycles,62 cycles,63 cycles"
textline "                    "
bitfld.long 0x00 9.--11. " PHC ,Peripheral Hold Cycles" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
bitfld.long 0x00 8. "            ETD ,End-of-Transfer/Terminal Count (EOT2[TC2]) Pin Direction" "EOT input,TC output"
textline "                    "
bitfld.long 0x00 7. " TCE ,Terminal Count (TC) Enable" "-,Stopped"
bitfld.long 0x00 5.--6. "             CP  ,Channel Priority" "Low,Medium low,Medium high,High"
textline "                    "
bitfld.long 0x00 3.--4. " PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "         DEC ,Address Decrement" "SAI/DAI,Decremented"
textline "                    "
bitfld.long 0x00 1. " SL  ,Source Address Location/Memory Location" "PLB,OPB"
else
group dcr:(0x100+(2*8))++0x0
line.long 0x0 "DMA0_CR2,DMA Channel Control Register 0 2"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "             CIE ,Channel Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 20.--21. " TM  ,Transfer mode" "Peripheral,Reserved,Software-initiated,Device-paced"
bitfld.long 0x00 25.--27. "  PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
textline "                    "
bitfld.long 0x00 24. " DAI ,Destination Address Increment" "-,Incremented"
bitfld.long 0x00 23. "         SAI ,Source Address Increment" "-,Incremented"
textline "                    "
bitfld.long 0x00 22. " BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 18.--19. "             PSC ,Peripheral Setup Cycles" "-,1 cycle,2 cycles,3 cycles"
textline "                    "
bitfld.long 0x00 12.--17. " PWC ,Peripheral Wait Cycles" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles,8 cycles,9 cycles,10 cycles,11 cycles,12 cycles,13 cycles,14 cycles,15 cycles,16 cycles,17 cycles,18 cycles,19 cycles,20 cycles,21 cycles,22 cycles,23 cycles,24 cycles,25 cycles,26 cycles,27 cycles,28 cycles,29 cycles,30 cycles,31 cycles,32 cycles,33 cycles,34 cycles,35 cycles,36 cycles,37 cycles,38 cycles,39 cycles,40 cycles,41 cycles,42 cycles,43 cycles,44 cycles,45 cycles,46 cycles,47 cycles,48 cycles,49 cycles,50 cycles,51 cycles,52 cycles,53 cycles,54 cycles,55 cycles,56 cycles,57 cycles,58 cycles,59 cycles,60 cycles,61 cycles,62 cycles,63 cycles"
bitfld.long 0x00 9.--11. "           PHC ,Peripheral Hold Cycles" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
textline "                    "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOT2[TC2]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "           TCE ,Terminal Count (TC) Enable" "-,Stopped"
textline "                    "
bitfld.long 0x00 5.--6. " CP  ,Channel Priority" "Low,Medium low,Medium high,High"
bitfld.long 0x00 3.--4. "         PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
textline "                    "
bitfld.long 0x00 2. " DEC ,Address Decrement" "SAI/DAI,Decremented"
bitfld.long 0x00 1. "         SL  ,Source Address Location/Memory Location" "PLB,OPB"
endif
group dcr:(0x101+(2*8))++0x6
line.long 0x0 "DMA0_CT2,DMA Count and Control Register 0 2"
bitfld.long 0x0 29. " TCIE ,Terminal Count Interrupt Enable" "-,Enabled"
bitfld.long 0x0 28. "  ETIE ,EOT Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.long 0x0 27. " EIE  ,Error Interrupt Enable" "-,Enabled"
bitfld.long 0x0 24.--26. "  SID  ,Subchannel ID" "0,1,2,3,4,5,6,7"
textline "                    "
bitfld.long 0x0 23. " BTEN ,Burst Enable" "-,Enabled"
bitfld.long 0x0 21.--22. "  BSIZ ,Burst Size" "Burst of 2,Burst of 4,Burst of 8,Burst of 16"
textline "                    "
bitfld.long 0x0 20. " PCE  ,Parity Check Enable" "-,Enabled"
hexmask.long 0x0 0.--19. 1. "  TC   ,Transfer Count"
line.long 0x4 "DMA0_SAH2,DMA Source Address High Register 0 2"
line.long 0x8 "DMA0_SAL2,DMA Source Address Low Register 0 2"
line.long 0xC "DMA0_DAH2,DMA Destination Address High Register 0 2"
line.long 0x10 "DMA0_DAL2,DMA Destination Address Low Register 0 2"
line.long 0x14 "DMA0_SGH2,DMA Scatter/Gather Descriptor Address High Register 0 2"
line.long 0x18 "DMA0_SGL2,DMA Scatter/Gather Descriptor Address Low Register 0 2"
tree.end
tree "Channel 3" 
if (((data.long(dcr:(0x100+(3*0x8))))&0x300000)==0x000000)
group dcr:(0x100+(3*8))++0x0
line.long 0x0 "DMA0_CR3,DMA Channel Control Register 0 3"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "             CIE ,Channel Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 20.--21. " TM  ,Transfer mode" "Peripheral,Reserved,Software-initiated,Device-paced"
bitfld.long 0x00 29. "  TD  ,Transfer Direction" "Memory-to-peripheral,Peripheral-to-memory"
textline "                    "
bitfld.long 0x00 28. " PL  ,Peripheral Location/Destination Memory Location" "External bus,OPB"
bitfld.long 0x00 25.--27. "        PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
textline "                    "
bitfld.long 0x00 24. " DAI ,Destination Address Increment" "-,Incremented"
bitfld.long 0x00 23. "         SAI ,Source Address Increment" "-,Incremented"
textline "                    "
bitfld.long 0x00 22. " BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 18.--19. "             PSC ,Peripheral Setup Cycles" "-,1 cycle,2 cycles,3 cycles"
textline "                    "
bitfld.long 0x00 12.--17. " PWC ,Peripheral Wait Cycles" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles,8 cycles,9 cycles,10 cycles,11 cycles,12 cycles,13 cycles,14 cycles,15 cycles,16 cycles,17 cycles,18 cycles,19 cycles,20 cycles,21 cycles,22 cycles,23 cycles,24 cycles,25 cycles,26 cycles,27 cycles,28 cycles,29 cycles,30 cycles,31 cycles,32 cycles,33 cycles,34 cycles,35 cycles,36 cycles,37 cycles,38 cycles,39 cycles,40 cycles,41 cycles,42 cycles,43 cycles,44 cycles,45 cycles,46 cycles,47 cycles,48 cycles,49 cycles,50 cycles,51 cycles,52 cycles,53 cycles,54 cycles,55 cycles,56 cycles,57 cycles,58 cycles,59 cycles,60 cycles,61 cycles,62 cycles,63 cycles"
bitfld.long 0x00 9.--11. "           PHC ,Peripheral Hold Cycles" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
textline "                    "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOT3[TC3]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "           TCE ,Terminal Count (TC) Enable" "-,Stopped"
textline "                    "
bitfld.long 0x00 5.--6. " CP  ,Channel Priority" "Low,Medium low,Medium high,High"
bitfld.long 0x00 3.--4. "         PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
textline "                    "
bitfld.long 0x00 2. " DEC ,Address Decrement" "SAI/DAI,Decremented"
bitfld.long 0x00 1. "         SL  ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x100+(3*0x8))))&0x300000)==0x300000)
group dcr:(0x100+(3*8))++0x0
line.long 0x0 "DMA0_CR3,DMA Channel Control Register 0 3"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "             CIE ,Channel Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 20.--21. " TM  ,Transfer mode" "Peripheral,Reserved,Software-initiated,Device-paced"
bitfld.long 0x00 29. "  TD  ,Transfer Direction" "Destination,Source"
textline "                    "
bitfld.long 0x00 28. " PL  ,Peripheral Location/Destination Memory Location" "PLB,OPB"
bitfld.long 0x00 25.--27. "                 PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
textline "                    "
bitfld.long 0x00 24. " DAI ,Destination Address Increment" "-,Incremented"
bitfld.long 0x00 23. "         SAI ,Source Address Increment" "-,Incremented"
textline "                    "
bitfld.long 0x00 22. " BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 18.--19. "             PSC ,Peripheral Setup Cycles" "-,1 cycle,2 cycles,3 cycles"
textline "                    "
bitfld.long 0x00 12.--17. " PWC ,Peripheral Wait Cycles" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles,8 cycles,9 cycles,10 cycles,11 cycles,12 cycles,13 cycles,14 cycles,15 cycles,16 cycles,17 cycles,18 cycles,19 cycles,20 cycles,21 cycles,22 cycles,23 cycles,24 cycles,25 cycles,26 cycles,27 cycles,28 cycles,29 cycles,30 cycles,31 cycles,32 cycles,33 cycles,34 cycles,35 cycles,36 cycles,37 cycles,38 cycles,39 cycles,40 cycles,41 cycles,42 cycles,43 cycles,44 cycles,45 cycles,46 cycles,47 cycles,48 cycles,49 cycles,50 cycles,51 cycles,52 cycles,53 cycles,54 cycles,55 cycles,56 cycles,57 cycles,58 cycles,59 cycles,60 cycles,61 cycles,62 cycles,63 cycles"
bitfld.long 0x00 9.--11. "           PHC ,Peripheral Hold Cycles" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
textline "                    "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOT3[TC3]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "           TCE ,Terminal Count (TC) Enable" "-,Stopped"
textline "                    "
bitfld.long 0x00 5.--6. " CP  ,Channel Priority" "Low,Medium low,Medium high,High"
bitfld.long 0x00 3.--4. "         PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
textline "                    "
bitfld.long 0x00 2. " DEC ,Address Decrement" "SAI/DAI,Decremented"
bitfld.long 0x00 1. "         SL  ,Source Address Location/Memory Location" "PLB,OPB"
elif (((data.long(dcr:(0x100+(3*0x8))))&0x200000)==0x200000)
group dcr:(0x100+(3*8))++0x0
line.long 0x0 "DMA0_CR3,DMA Channel Control Register 0 3"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "             CIE ,Channel Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 20.--21. " TM  ,Transfer mode" "Peripheral,Reserved,Software-initiated,Device-paced"
bitfld.long 0x00 28. "  PL  ,Peripheral Location/Destination Memory Location" "PLB,OPB"
textline "                    "
bitfld.long 0x00 25.--27. " PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "            DAI ,Destination Address Increment" "-,Incremented"
textline "                    "
bitfld.long 0x00 23. " SAI ,Source Address Increment" "-,Incremented"
bitfld.long 0x00 22. "         BEN ,Buffer Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 18.--19. " PSC ,Peripheral Setup Cycles" "-,1 cycle,2 cycles,3 cycles"
bitfld.long 0x00 12.--17. "            PWC ,Peripheral Wait Cycles" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles,8 cycles,9 cycles,10 cycles,11 cycles,12 cycles,13 cycles,14 cycles,15 cycles,16 cycles,17 cycles,18 cycles,19 cycles,20 cycles,21 cycles,22 cycles,23 cycles,24 cycles,25 cycles,26 cycles,27 cycles,28 cycles,29 cycles,30 cycles,31 cycles,32 cycles,33 cycles,34 cycles,35 cycles,36 cycles,37 cycles,38 cycles,39 cycles,40 cycles,41 cycles,42 cycles,43 cycles,44 cycles,45 cycles,46 cycles,47 cycles,48 cycles,49 cycles,50 cycles,51 cycles,52 cycles,53 cycles,54 cycles,55 cycles,56 cycles,57 cycles,58 cycles,59 cycles,60 cycles,61 cycles,62 cycles,63 cycles"
textline "                    "
bitfld.long 0x00 9.--11. " PHC ,Peripheral Hold Cycles" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
bitfld.long 0x00 8. "            ETD ,End-of-Transfer/Terminal Count (EOT3[TC3]) Pin Direction" "EOT input,TC output"
textline "                    "
bitfld.long 0x00 7. " TCE ,Terminal Count (TC) Enable" "-,Stopped"
bitfld.long 0x00 5.--6. "             CP  ,Channel Priority" "Low,Medium low,Medium high,High"
textline "                    "
bitfld.long 0x00 3.--4. " PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
bitfld.long 0x00 2. "         DEC ,Address Decrement" "SAI/DAI,Decremented"
textline "                    "
bitfld.long 0x00 1. " SL  ,Source Address Location/Memory Location" "PLB,OPB"
else
group dcr:(0x100+(3*8))++0x0
line.long 0x0 "DMA0_CR3,DMA Channel Control Register 0 3"
bitfld.long 0x00 31. " CE  ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "             CIE ,Channel Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 20.--21. " TM  ,Transfer mode" "Peripheral,Reserved,Software-initiated,Device-paced"
bitfld.long 0x00 25.--27. "  PW  ,Peripheral Width/Transfer Width" "8 bits,16 bits,32 bits,64 bits,128 bits,Reserved,Reserved,Reserved"
textline "                    "
bitfld.long 0x00 24. " DAI ,Destination Address Increment" "-,Incremented"
bitfld.long 0x00 23. "         SAI ,Source Address Increment" "-,Incremented"
textline "                    "
bitfld.long 0x00 22. " BEN ,Buffer Enable" "-,Enabled"
bitfld.long 0x00 18.--19. "             PSC ,Peripheral Setup Cycles" "-,1 cycle,2 cycles,3 cycles"
textline "                    "
bitfld.long 0x00 12.--17. " PWC ,Peripheral Wait Cycles" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles,8 cycles,9 cycles,10 cycles,11 cycles,12 cycles,13 cycles,14 cycles,15 cycles,16 cycles,17 cycles,18 cycles,19 cycles,20 cycles,21 cycles,22 cycles,23 cycles,24 cycles,25 cycles,26 cycles,27 cycles,28 cycles,29 cycles,30 cycles,31 cycles,32 cycles,33 cycles,34 cycles,35 cycles,36 cycles,37 cycles,38 cycles,39 cycles,40 cycles,41 cycles,42 cycles,43 cycles,44 cycles,45 cycles,46 cycles,47 cycles,48 cycles,49 cycles,50 cycles,51 cycles,52 cycles,53 cycles,54 cycles,55 cycles,56 cycles,57 cycles,58 cycles,59 cycles,60 cycles,61 cycles,62 cycles,63 cycles"
bitfld.long 0x00 9.--11. "           PHC ,Peripheral Hold Cycles" "-,1 cycle,2 cycles,3 cycles,4 cycles,5 cycles,6 cycles,7 cycles"
textline "                    "
bitfld.long 0x00 8. " ETD ,End-of-Transfer/Terminal Count (EOT3[TC3]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "           TCE ,Terminal Count (TC) Enable" "-,Stopped"
textline "                    "
bitfld.long 0x00 5.--6. " CP  ,Channel Priority" "Low,Medium low,Medium high,High"
bitfld.long 0x00 3.--4. "         PF  ,Memory Read Prefetch Transfer" "1 quadword,2 quadwords,4 quadwords,8 quadwords"
textline "                    "
bitfld.long 0x00 2. " DEC ,Address Decrement" "SAI/DAI,Decremented"
bitfld.long 0x00 1. "         SL  ,Source Address Location/Memory Location" "PLB,OPB"
endif
group dcr:(0x101+(3*8))++0x6
line.long 0x0 "DMA0_CT3,DMA Count and Control Register 0 3"
bitfld.long 0x0 29. " TCIE ,Terminal Count Interrupt Enable" "-,Enabled"
bitfld.long 0x0 28. "  ETIE ,EOT Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.long 0x0 27. " EIE  ,Error Interrupt Enable" "-,Enabled"
bitfld.long 0x0 24.--26. "  SID  ,Subchannel ID" "0,1,2,3,4,5,6,7"
textline "                    "
bitfld.long 0x0 23. " BTEN ,Burst Enable" "-,Enabled"
bitfld.long 0x0 21.--22. "  BSIZ ,Burst Size" "Burst of 2,Burst of 4,Burst of 8,Burst of 16"
textline "                    "
bitfld.long 0x0 20. " PCE  ,Parity Check Enable" "-,Enabled"
hexmask.long 0x0 0.--19. 1. "  TC   ,Transfer Count"
line.long 0x4 "DMA0_SAH3,DMA Source Address High Register 0 3"
line.long 0x8 "DMA0_SAL3,DMA Source Address Low Register 0 3"
line.long 0xC "DMA0_DAH3,DMA Destination Address High Register 0 3"
line.long 0x10 "DMA0_DAL3,DMA Destination Address Low Register 0 3"
line.long 0x14 "DMA0_SGH3,DMA Scatter/Gather Descriptor Address High Register 0 3"
line.long 0x18 "DMA0_SGL3,DMA Scatter/Gather Descriptor Address Low Register 0 3"
tree.end
elif (cpu()=="PPC440GP")
width 14.
group dcr:0x120++0x0
line.long 0x0 "DMA0_SR,DMA Status Register"
eventfld.long 0x00 31. " CS0  ,Channel 0 Terminal Count Status" "-,Occurred"
eventfld.long 0x00 30. "       CS1  ,Channel 1 Terminal Count Status" "-,Occurred"
eventfld.long 0x00 29. "       CS2  ,Channel 2 Terminal Count Status" "-,Occurred"
eventfld.long 0x00 28. "       CS3  ,Channel 3 Terminal Count Status" "-,Occurred"
textline "                       "
eventfld.long 0x00 27. " TS0  ,Channel 0 End of Transfer Status" "Not requested,Requested"
eventfld.long 0x00 26. "  TS1  ,Channel 1 End of Transfer Status" "Not requested,Requested"
eventfld.long 0x00 25. "  TS2  ,Channel 2 End of Transfer Status" "Not requested,Requested"
eventfld.long 0x00 24. "  TS3  ,Channel 3 End of Transfer Status" "Not requested,Requested"
textline "                       "
eventfld.long 0x00 23. " RI0  ,Channel 0 Error Status" "-,Error"
eventfld.long 0x00 22. "          RI1  ,Channel 1 Error Status" "-,Error"
eventfld.long 0x00 21. "          RI2  ,Channel 2 Error Status" "-,Error"
eventfld.long 0x00 20. "          RI3  ,Channel 3 Error Status" "-,Error"
textline "                       "
eventfld.long 0x00 19. " IR0  ,Internal DMA Request" "-,Pending"
eventfld.long 0x00 18. "        IR1  ,Internal DMA Request" "-,Pending"
eventfld.long 0x00 17. "        IR2  ,Internal DMA Request" "-,Pending"
eventfld.long 0x00 16. "        IR3  ,Internal DMA Request" "-,Pending"
textline "                       "
eventfld.long 0x00 15. " ER0  ,External DMA Request" "-,Pending"
eventfld.long 0x00 14. "        ER1  ,External DMA Request" "-,Pending"
eventfld.long 0x00 13. "        ER2  ,External DMA Request" "-,Pending"
eventfld.long 0x00 12. "        ER3  ,External DMA Request" "-,Pending"
textline "                       "
eventfld.long 0x00 11. " CB0  ,Channel Busy" "Idle,Active"
eventfld.long 0x00 10. "         CB1  ,Channel Busy" "Idle,Active"
eventfld.long 0x00 9. "         CB2  ,Channel Busy" "Idle,Active"
eventfld.long 0x00 8. "         CB3  ,Channel Busy" "Idle,Active"
textline "                       "
eventfld.long 0x00 7. " SG0  ,Scatter/Gather Status" "-,Occurred"
eventfld.long 0x00 6. "       SG1  ,Scatter/Gather Status" "-,Occurred"
eventfld.long 0x00 5. "       SG2  ,Scatter/Gather Status" "-,Occurred"
eventfld.long 0x00 4. "       SG3  ,Scatter/Gather Status" "-,Occurred"
group dcr:0x123++0x0
line.long 0x0 "DMA0_SGC,DMA Scatter/Gather Command Register"
bitfld.long 0x00 31. " SSG0 ,Start Scatter/Gather for channel 0" "-,Enabled"
bitfld.long 0x00 30. "        SSG1 ,Start Scatter/Gather for channel 1" "-,Enabled"
bitfld.long 0x00 29. "        SSG2 ,Start Scatter/Gather for channel 2" "-,Enabled"
bitfld.long 0x00 28. "        SSG3 ,Start Scatter/Gather for channel 3" "-,Enabled"
textline "                       "
bitfld.long 0x00 27. " SGL0 ,Scatter/Gather Descriptor Table Location for channel 0" "PLB,OPB"
bitfld.long 0x00 26. "            SGL1 ,Scatter/Gather Descriptor Table Location for channel 1" "PLB,OPB"
bitfld.long 0x00 25. "            SGL2 ,Scatter/Gather Descriptor Table Location for channel 2" "PLB,OPB"
bitfld.long 0x00 24. "            SGL3 ,Scatter/Gather Descriptor Table Location for channel 3" "PLB,OPB"
textline "                       "
bitfld.long 0x00 15. " EM0  ,Enable Mask for channels 0" "Ignored,Allowed"
bitfld.long 0x00 14. "        EM1  ,Enable Mask for channels 1" "Ignored,Allowed"
bitfld.long 0x00 13. "        EM2  ,Enable Mask for channels 2" "Ignored,Allowed"
bitfld.long 0x00 12. "        EM4  ,Enable Mask for channels 3" "Ignored,Allowed"
group dcr:0x125++0x0
line.long 0x0 "DMA0_SLP,DMA Sleep Mode Register"
bitfld.long 0x00 27.--31. " IDU  ,Idle Timer Upper" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x00 22.--26. "             IDL  ,Idle Timer Lower" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
bitfld.long 0x00 21. "             SME  ,Sleep Mode Enable" "-,Enabled"
group dcr:0x126++0x0
line.long 0x0 "DMA0_POL,DMA Polarity Configuration Register"
bitfld.long 0x00 31. " R0P  ,DMAReq0 Polarity" "Low,High"
bitfld.long 0x00 30. "           A0P  ,DMAAck0 Polarity" "Low,High"
bitfld.long 0x00 29. "           E0P  ,EOT0[TC0] Polarity" "Low,High"
bitfld.long 0x00 28. "           R1P  ,DMAReq1 Polarity" "Low,High"
textline "                       "
bitfld.long 0x00 27. " A1P  ,DMAAck1 Polarity" "Low,High"
bitfld.long 0x00 26. "           E1P  ,EOT1[TC1] Polarity" "Low,High"
bitfld.long 0x00 25. "           R2P  ,DMAReq2 Polarity" "Low,High"
bitfld.long 0x00 24. "           A2P  ,DMAAck2 Polarity" "Low,High"
textline "                       "
bitfld.long 0x00 23. " E2P  ,EOT2[TC2] Polarity" "Low,High"
bitfld.long 0x00 22. "           R3P  ,DMAReq3 Polarity" "Low,High"
bitfld.long 0x00 21. "           A3P  ,DMAAck3 Polarity" "Low,High"
bitfld.long 0x00 20. "           E3P  ,EOT3[TC3] Polarity" "Low,High"
width 0x0b
tree "Channel 0" 
group dcr:(0x100+0*8+0)++0x0
line.long 0x0 "DMA0_CR0,IDMA Channel Control Register 0"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "                              CIE  ,Channel Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 29. " TD   ,In peripheral mode/In device-paced memory-to-memory mode" "Memory-to-peripheral/Destination,peripheral-to-memory/Source"
bitfld.long 0x00 28. "     PL   ,Peripheral Location or Destination Memory Location (mem-to-mem/per-to-mem or mem-to-per)" "PLB/external bus,OPB"
textline "                    "
bitfld.long 0x00 25.--27. " PW   ,Peripheral Width/Transfer Width" "Byte,Halfword,Word,Doubleword,Quadword,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "                           DAI  ,Destination Address Increment" "Do not increment,Increment"
textline "                    "
bitfld.long 0x00 23. " SAI  ,Source Address Increment" "Do not increment,Increment"
bitfld.long 0x00 22. "                     BEN  ,Buffer Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 20.--21. " TM   ,Transfer mode" "Peripheral,Reserved,Software-initiated memory-to-memory,Device-paced memory-to-memory"
bitfld.long 0x00 18.--19. "  PSC  ,Peripheral Setup Cycles 0-3" "00,01,10,11"
textline "                    "
hexmask.long.byte 0x00 12.--17. 1. " PWC  ,Peripheral Wait Cycles 0-63"
bitfld.long 0x00 9.--11. "                                   PHC  ,Peripheral Hold Cycles 0-7" "00,01,10,11,Reserved,Reserved,Reserved,Reserved"
textline "                    "
bitfld.long 0x00 8. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "                            TCE  ,Terminal Count (TC) Enable" "Do not stop,Stop"
textline "                    "
bitfld.long 0x00 5.--6. " CP   ,Channel Priority" "Low,Medium Low,Medium High,High"
bitfld.long 0x00 3.--4. "                          PF   ,Memory Read Prefetch Transfer" "1,2,4,8"
textline "                    "
bitfld.long 0x00 2. " DEC  ,Address Decrement" "SAI and DAI fields control,Memory address decremented"
bitfld.long 0x00 1. "           SL   ,Source Address Location/Memory Location" "PLB,OPB"
group dcr:(0x100+0*8+1)++0x0
line.long 0x0 "DMA0_CTC0,DMA Count and Control Register 0"
bitfld.long 0x00 29. " TCIE ,Terminal Count Interrupt Enable" "-,Enabled"
bitfld.long 0x00 28. "                              ETIE ,EOT Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 27. " EIE  ,Error Interrupt Enable" "-,Enabled"
bitfld.long 0x00 24.--26. "                              SID  ,Subchannel ID" "000,001,010,011,100,101,110,111"
textline "                    "
bitfld.long 0x00 23. " BTEN ,Burst Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "                              BSIZ ,Burst Size" "2,4,8,16"
textline "                    "
bitfld.long 0x00 20. " PCE  ,Parity Check Enable" "-,Enabled"
hexmask.long 0x00 0.--19. 1. "                              TC   ,Transfer Count"
group dcr:(0x100+0*8+2)++0x0
line.long 0x0 "DMA0_SAH0,DMA Source Address High Register 0"
hexmask.long 0x00 0.--3. 1. " USA  ,Upper 4-bits of source address for memory-to-memory and memory-to-peripheral transfers"
group dcr:(0x100+0*8+3)++0x0
line.long 0x0 "DMA0_SAL0,DMA Source Address Low Register 0"
hexmask.long.long 0x00 0.--31. 1. " LSA  ,Lower 32-bits of source address for memory-to-memory and memory-to-peripheral transfers"
group dcr:(0x100+0*8+4)++0x0
line.long 0x0 "DMA0_DAH0,DMA Destination Address High Register 0"
hexmask.long.long 0x00 0.--3. 1. " UDA  ,Upper 4-bits of destination address for memory-to-memory and peripheral-to-memory transfers"
group dcr:(0x100+0*8+5)++0x0
line.long 0x0 "DMA0_DAL0,DMA Destination Address Low Register 0"
hexmask.long.long 0x00 0.--31. 1. " LDA  ,Lower 32-bits of destination address for memory-to-memory and peripheral-to-memory transfers"
group dcr:(0x100+0*8+6)++0x0
line.long 0x0 "DMA0_SGH0,DMA Scatter/Gather Descriptor Address High Register 0"
hexmask.long.long 0x00 0.--3. 1. " USGD ,Upper 4-bits of address of next scatter/gather descriptor table"
group dcr:(0x100+0*8+7)++0x0
line.long 0x0 "DMA0_SGL0,DMA Scatter/Gather Descriptor Address Low Register 0"
hexmask.long.long 0x00 0.--31. 1. " LSGD ,Lower 32-bits of address of next scatter/gather descriptor table"

tree.end
tree "Channel 1" 
group dcr:(0x100+1*8+0)++0x0
line.long 0x0 "DMA0_CR1,IDMA Channel Control Register 1"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "                              CIE  ,Channel Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 29. " TD   ,In peripheral mode/In device-paced memory-to-memory mode" "Memory-to-peripheral/Destination,peripheral-to-memory/Source"
bitfld.long 0x00 28. "     PL   ,Peripheral Location or Destination Memory Location (mem-to-mem/per-to-mem or mem-to-per)" "PLB/external bus,OPB"
textline "                    "
bitfld.long 0x00 25.--27. " PW   ,Peripheral Width/Transfer Width" "Byte,Halfword,Word,Doubleword,Quadword,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "                           DAI  ,Destination Address Increment" "Do not increment,Increment"
textline "                    "
bitfld.long 0x00 23. " SAI  ,Source Address Increment" "Do not increment,Increment"
bitfld.long 0x00 22. "                     BEN  ,Buffer Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 20.--21. " TM   ,Transfer mode" "Peripheral,Reserved,Software-initiated memory-to-memory,Device-paced memory-to-memory"
bitfld.long 0x00 18.--19. "  PSC  ,Peripheral Setup Cycles 0-3" "00,01,10,11"
textline "                    "
hexmask.long.byte 0x00 12.--17. 1. " PWC  ,Peripheral Wait Cycles 0-63"
bitfld.long 0x00 9.--11. "                                   PHC  ,Peripheral Hold Cycles 0-7" "00,01,10,11,Reserved,Reserved,Reserved,Reserved"
textline "                    "
bitfld.long 0x00 8. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "                            TCE  ,Terminal Count (TC) Enable" "Do not stop,Stop"
textline "                    "
bitfld.long 0x00 5.--6. " CP   ,Channel Priority" "Low,Medium Low,Medium High,High"
bitfld.long 0x00 3.--4. "                          PF   ,Memory Read Prefetch Transfer" "1,2,4,8"
textline "                    "
bitfld.long 0x00 2. " DEC  ,Address Decrement" "SAI and DAI fields control,Memory address decremented"
bitfld.long 0x00 1. "           SL   ,Source Address Location/Memory Location" "PLB,OPB"
group dcr:(0x100+1*8+1)++0x0
line.long 0x0 "DMA0_CTC1,DMA Count and Control Register 1"
bitfld.long 0x00 29. " TCIE ,Terminal Count Interrupt Enable" "-,Enabled"
bitfld.long 0x00 28. "                              ETIE ,EOT Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 27. " EIE  ,Error Interrupt Enable" "-,Enabled"
bitfld.long 0x00 24.--26. "                              SID  ,Subchannel ID" "000,001,010,011,100,101,110,111"
textline "                    "
bitfld.long 0x00 23. " BTEN ,Burst Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "                              BSIZ ,Burst Size" "2,4,8,16"
textline "                    "
bitfld.long 0x00 20. " PCE  ,Parity Check Enable" "-,Enabled"
hexmask.long 0x00 0.--19. 1. "                              TC   ,Transfer Count"
group dcr:(0x100+1*8+2)++0x0
line.long 0x0 "DMA0_SAH1,DMA Source Address High Register 1"
hexmask.long 0x00 0.--3. 1. " USA  ,Upper 4-bits of source address for memory-to-memory and memory-to-peripheral transfers"
group dcr:(0x100+1*8+3)++0x0
line.long 0x0 "DMA0_SAL1,DMA Source Address Low Register 1"
hexmask.long.long 0x00 0.--31. 1. " LSA  ,Lower 32-bits of source address for memory-to-memory and memory-to-peripheral transfers"
group dcr:(0x100+1*8+4)++0x0
line.long 0x0 "DMA0_DAH1,DMA Destination Address High Register 1"
hexmask.long.long 0x00 0.--3. 1. " UDA  ,Upper 4-bits of destination address for memory-to-memory and peripheral-to-memory transfers"
group dcr:(0x100+1*8+5)++0x0
line.long 0x0 "DMA0_DAL1,DMA Destination Address Low Register 1"
hexmask.long.long 0x00 0.--31. 1. " LDA  ,Lower 32-bits of destination address for memory-to-memory and peripheral-to-memory transfers"
group dcr:(0x100+1*8+6)++0x0
line.long 0x0 "DMA0_SGH1,DMA Scatter/Gather Descriptor Address High Register 1"
hexmask.long.long 0x00 0.--3. 1. " USGD ,Upper 4-bits of address of next scatter/gather descriptor table"
group dcr:(0x100+1*8+7)++0x0
line.long 0x0 "DMA0_SGL1,DMA Scatter/Gather Descriptor Address Low Register 1"
hexmask.long.long 0x00 0.--31. 1. " LSGD ,Lower 32-bits of address of next scatter/gather descriptor table"

tree.end
tree "Channel 2" 
group dcr:(0x100+2*8+0)++0x0
line.long 0x0 "DMA0_CR2,IDMA Channel Control Register 2"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "                              CIE  ,Channel Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 29. " TD   ,In peripheral mode/In device-paced memory-to-memory mode" "Memory-to-peripheral/Destination,peripheral-to-memory/Source"
bitfld.long 0x00 28. "     PL   ,Peripheral Location or Destination Memory Location (mem-to-mem/per-to-mem or mem-to-per)" "PLB/external bus,OPB"
textline "                    "
bitfld.long 0x00 25.--27. " PW   ,Peripheral Width/Transfer Width" "Byte,Halfword,Word,Doubleword,Quadword,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "                           DAI  ,Destination Address Increment" "Do not increment,Increment"
textline "                    "
bitfld.long 0x00 23. " SAI  ,Source Address Increment" "Do not increment,Increment"
bitfld.long 0x00 22. "                     BEN  ,Buffer Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 20.--21. " TM   ,Transfer mode" "Peripheral,Reserved,Software-initiated memory-to-memory,Device-paced memory-to-memory"
bitfld.long 0x00 18.--19. "  PSC  ,Peripheral Setup Cycles 0-3" "00,01,10,11"
textline "                    "
hexmask.long.byte 0x00 12.--17. 1. " PWC  ,Peripheral Wait Cycles 0-63"
bitfld.long 0x00 9.--11. "                                   PHC  ,Peripheral Hold Cycles 0-7" "00,01,10,11,Reserved,Reserved,Reserved,Reserved"
textline "                    "
bitfld.long 0x00 8. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "                            TCE  ,Terminal Count (TC) Enable" "Do not stop,Stop"
textline "                    "
bitfld.long 0x00 5.--6. " CP   ,Channel Priority" "Low,Medium Low,Medium High,High"
bitfld.long 0x00 3.--4. "                          PF   ,Memory Read Prefetch Transfer" "1,2,4,8"
textline "                    "
bitfld.long 0x00 2. " DEC  ,Address Decrement" "SAI and DAI fields control,Memory address decremented"
bitfld.long 0x00 1. "           SL   ,Source Address Location/Memory Location" "PLB,OPB"
group dcr:(0x100+2*8+1)++0x0
line.long 0x0 "DMA0_CTC2,DMA Count and Control Register 2"
bitfld.long 0x00 29. " TCIE ,Terminal Count Interrupt Enable" "-,Enabled"
bitfld.long 0x00 28. "                              ETIE ,EOT Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 27. " EIE  ,Error Interrupt Enable" "-,Enabled"
bitfld.long 0x00 24.--26. "                              SID  ,Subchannel ID" "000,001,010,011,100,101,110,111"
textline "                    "
bitfld.long 0x00 23. " BTEN ,Burst Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "                              BSIZ ,Burst Size" "2,4,8,16"
textline "                    "
bitfld.long 0x00 20. " PCE  ,Parity Check Enable" "-,Enabled"
hexmask.long 0x00 0.--19. 1. "                              TC   ,Transfer Count"
group dcr:(0x100+2*8+2)++0x0
line.long 0x0 "DMA0_SAH2,DMA Source Address High Register 2"
hexmask.long 0x00 0.--3. 1. " USA  ,Upper 4-bits of source address for memory-to-memory and memory-to-peripheral transfers"
group dcr:(0x100+2*8+3)++0x0
line.long 0x0 "DMA0_SAL2,DMA Source Address Low Register 2"
hexmask.long.long 0x00 0.--31. 1. " LSA  ,Lower 32-bits of source address for memory-to-memory and memory-to-peripheral transfers"
group dcr:(0x100+2*8+4)++0x0
line.long 0x0 "DMA0_DAH2,DMA Destination Address High Register 2"
hexmask.long.long 0x00 0.--3. 1. " UDA  ,Upper 4-bits of destination address for memory-to-memory and peripheral-to-memory transfers"
group dcr:(0x100+2*8+5)++0x0
line.long 0x0 "DMA0_DAL2,DMA Destination Address Low Register 2"
hexmask.long.long 0x00 0.--31. 1. " LDA  ,Lower 32-bits of destination address for memory-to-memory and peripheral-to-memory transfers"
group dcr:(0x100+2*8+6)++0x0
line.long 0x0 "DMA0_SGH2,DMA Scatter/Gather Descriptor Address High Register 2"
hexmask.long.long 0x00 0.--3. 1. " USGD ,Upper 4-bits of address of next scatter/gather descriptor table"
group dcr:(0x100+2*8+7)++0x0
line.long 0x0 "DMA0_SGL2,DMA Scatter/Gather Descriptor Address Low Register 2"
hexmask.long.long 0x00 0.--31. 1. " LSGD ,Lower 32-bits of address of next scatter/gather descriptor table"

tree.end
tree "Channel 3" 
group dcr:(0x100+3*8+0)++0x0
line.long 0x0 "DMA0_CR3,IDMA Channel Control Register 3"
bitfld.long 0x00 31. " CE   ,Channel Enable" "-,Enabled"
bitfld.long 0x00 30. "                              CIE  ,Channel Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 29. " TD   ,In peripheral mode/In device-paced memory-to-memory mode" "Memory-to-peripheral/Destination,peripheral-to-memory/Source"
bitfld.long 0x00 28. "     PL   ,Peripheral Location or Destination Memory Location (mem-to-mem/per-to-mem or mem-to-per)" "PLB/external bus,OPB"
textline "                    "
bitfld.long 0x00 25.--27. " PW   ,Peripheral Width/Transfer Width" "Byte,Halfword,Word,Doubleword,Quadword,Reserved,Reserved,Reserved"
bitfld.long 0x00 24. "                           DAI  ,Destination Address Increment" "Do not increment,Increment"
textline "                    "
bitfld.long 0x00 23. " SAI  ,Source Address Increment" "Do not increment,Increment"
bitfld.long 0x00 22. "                     BEN  ,Buffer Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 20.--21. " TM   ,Transfer mode" "Peripheral,Reserved,Software-initiated memory-to-memory,Device-paced memory-to-memory"
bitfld.long 0x00 18.--19. "  PSC  ,Peripheral Setup Cycles 0-3" "00,01,10,11"
textline "                    "
hexmask.long.byte 0x00 12.--17. 1. " PWC  ,Peripheral Wait Cycles 0-63"
bitfld.long 0x00 9.--11. "                                   PHC  ,Peripheral Hold Cycles 0-7" "00,01,10,11,Reserved,Reserved,Reserved,Reserved"
textline "                    "
bitfld.long 0x00 8. " ETD  ,End-of-Transfer/Terminal Count (EOTn[TCn]) Pin Direction" "EOT input,TC output"
bitfld.long 0x00 7. "                            TCE  ,Terminal Count (TC) Enable" "Do not stop,Stop"
textline "                    "
bitfld.long 0x00 5.--6. " CP   ,Channel Priority" "Low,Medium Low,Medium High,High"
bitfld.long 0x00 3.--4. "                          PF   ,Memory Read Prefetch Transfer" "1,2,4,8"
textline "                    "
bitfld.long 0x00 2. " DEC  ,Address Decrement" "SAI and DAI fields control,Memory address decremented"
bitfld.long 0x00 1. "           SL   ,Source Address Location/Memory Location" "PLB,OPB"
group dcr:(0x100+3*8+1)++0x0
line.long 0x0 "DMA0_CTC3,DMA Count and Control Register 3"
bitfld.long 0x00 29. " TCIE ,Terminal Count Interrupt Enable" "-,Enabled"
bitfld.long 0x00 28. "                              ETIE ,EOT Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 27. " EIE  ,Error Interrupt Enable" "-,Enabled"
bitfld.long 0x00 24.--26. "                              SID  ,Subchannel ID" "000,001,010,011,100,101,110,111"
textline "                    "
bitfld.long 0x00 23. " BTEN ,Burst Enable" "-,Enabled"
bitfld.long 0x00 21.--22. "                              BSIZ ,Burst Size" "2,4,8,16"
textline "                    "
bitfld.long 0x00 20. " PCE  ,Parity Check Enable" "-,Enabled"
hexmask.long 0x00 0.--19. 1. "                              TC   ,Transfer Count"
group dcr:(0x100+3*8+2)++0x0
line.long 0x0 "DMA0_SAH3,DMA Source Address High Register 3"
hexmask.long 0x00 0.--3. 1. " USA  ,Upper 4-bits of source address for memory-to-memory and memory-to-peripheral transfers"
group dcr:(0x100+3*8+3)++0x0
line.long 0x0 "DMA0_SAL3,DMA Source Address Low Register 3"
hexmask.long.long 0x00 0.--31. 1. " LSA  ,Lower 32-bits of source address for memory-to-memory and memory-to-peripheral transfers"
group dcr:(0x100+3*8+4)++0x0
line.long 0x0 "DMA0_DAH3,DMA Destination Address High Register 3"
hexmask.long.long 0x00 0.--3. 1. " UDA  ,Upper 4-bits of destination address for memory-to-memory and peripheral-to-memory transfers"
group dcr:(0x100+3*8+5)++0x0
line.long 0x0 "DMA0_DAL3,DMA Destination Address Low Register 3"
hexmask.long.long 0x00 0.--31. 1. " LDA  ,Lower 32-bits of destination address for memory-to-memory and peripheral-to-memory transfers"
group dcr:(0x100+3*8+6)++0x0
line.long 0x0 "DMA0_SGH3,DMA Scatter/Gather Descriptor Address High Register 3"
hexmask.long.long 0x00 0.--3. 1. " USGD ,Upper 4-bits of address of next scatter/gather descriptor table"
group dcr:(0x100+3*8+7)++0x0
line.long 0x0 "DMA0_SGL3,DMA Scatter/Gather Descriptor Address Low Register 3"
hexmask.long.long 0x00 0.--31. 1. " LSGD ,Lower 32-bits of address of next scatter/gather descriptor table"

tree.end
endif
tree.end
;tree.open "DMA (Direct Memory Access Controllers)"
tree "IMU (I2O Messaging Unit)"
tree "I20/DMA Device Control Registers"
sif ((cpu()=="PPC440SP")||(cpu()=="PPC440SPE"))
;I2O/DMA Device Control Registers
width 14.
endian.le
group dcr:0x0060++0x03
line.long 0x00 "I2O0_LLIRQ0L,Low Latency PLB Write Interrupt Region 0 Base Low Register"
hexmask.long 0x00 3.--31. 1. " LLIRQOL ,Write Interrupt Region 0 Base Address Low"
group dcr:0x0061++0x03
line.long 0x00 "I2O0_LLIRQ0H,Low Latency PLB Write Interrupt Region 0 Base High Register"
hexmask.long 0x00 0.--31. 1. " LLIRQOH ,Write Interrupt Region 0 Base Address High"
group dcr:0x0062++0x03
line.long 0x00 "I2O0_LLWR0M,Low Latency PLB Write Interrupt Region 0 Mask/Atribute Register"
hexmask.long 0x00 3.--31. 1. " MASK    ,Mask"
bitfld.long 0x00 0. "  ENBL ,Enable Interrupt for Region 0" "-,Enabled"
group dcr:0x0063++0x03
line.long 0x00 "I2O0_LLIRQ1L,Low Latency PLB Write Interrupt Region 1 Base Low Register"
hexmask.long 0x00 3.--31. 1. " LLIRQ1L ,Write Interrupt Region 1 Base Address Low"
group dcr:0x0064++0x03
line.long 0x00 "I2O0_LLIRQ1H,Low Latency PLB Write Interrupt Region 1 Base High Register"
hexmask.long 0x00 0.--31. 1. " LLIRQ1H ,Write Interrupt Region 1 Base Address High"
group dcr:0x0065++0x03
line.long 0x00 "I2O0_LLWR1M,Low Latency PLB Write Interrupt Region 1 Mask/Atribute Register"
hexmask.long 0x00 3.--31. 1. " MASK    ,Mask"
bitfld.long 0x00 0. "  ENBL ,Enable Interrupt for Region 1" "-,Enabled"
group dcr:0x0066++0x03
line.long 0x00 "I2O0_IBAL,I2O Base Address Low Register"
hexmask.long 0x00 12.--31. 0x1000 " RIBL    ,I2O/DMA Register Interface Base Address Low"
bitfld.long 0x00 0. "  ENBL ,I2O/DMA Register Enable" "-,Enabled"
group dcr:0x0067++0x03
line.long 0x00 "I2O0_IBAH,I2O Base Address High Register"
hexmask.long 0x00 0.--31. 1. " IBAH    ,I2O/DMA Register Interface Base Address High"
rgroup dcr:0x0068++0x03
line.long 0x00 "I2O0_DMA0_ST,DMA Port 0 Status"
hexmask.long 0x00 0.--20. 1. " DP0S    ,DMA Port 0 Status"
rgroup dcr:0x0069++0x03
line.long 0x00 "I2O0_DMA1_ST,DMA Port 1 Status"
hexmask.long 0x00 0.--20. 1. " DP1S    ,DMA Port 1 Status"
rgroup dcr:0x006A++0x03
line.long 0x00 "I2O0_ISTAT,I2O Status Register"
hexmask.long.word 0x00 0.--9. 1. " ISTS    ,I2O Status"
rgroup dcr:0x006B++0x03
line.long 0x00 "I2O0_DMA0_OP,DMA Obervability Port 0 Register"
hexmask.long 0x00 0.--31. 1. " DOPP0   ,DMA Observability Port 0"
rgroup dcr:0x006C++0x03
line.long 0x00 "I2O0_DMA1_OP,DMA Obervability Port 1 Register"
hexmask.long 0x00 0.--31. 1. " DOPP1   ,DMA Observability Port 1"
rgroup dcr:0x006D++0x03
line.long 0x00 "I2O0_SEAT,Slave Error Attribute Register"
hexmask.long 0x00 0.--31. 1. " SEATR   ,Slave Error Attribute"
rgroup dcr:0x006E++0x03
line.long 0x00 "I2O0_SEAD,Slave Error Address Register"
hexmask.long 0x00 0.--31. 1. " SEADR   ,Slave Error Address"
rgroup dcr:0x006F++0x03
line.long 0x00 "I2O0_I2O_OP,I2O Observability Port Register"
hexmask.long 0x00 0.--31. 1. " IOPRT   ,I2O Observability Port"
group dcr:0x0070++0x03
line.long 0x00 "I2O_HWR0L,High Brandwidth PLB Write Interrupt Region 0 Base Low Register"
hexmask.long 0x00 3.--31. 1. " HWR0L   ,Write Interrupt Region 0 Base Address Low"
group dcr:0x0071++0x03
line.long 0x00 "I2O0_HWR0H,High Brandwidth PLB Write Interrupt Region 0 Base High Register"
hexmask.long 0x00 0.--31. 1. " HWR0H   ,Write Interrupt Region 0 Base Address High"
group dcr:0x0072++0x03
line.long 0x00 "I2O0_HWR0M,High Brandwidth PLB Write Interrupt Region 0 Mask/Atribute Register"
hexmask.long 0x00 3.--31. 1. " MASK    ,Mask"
bitfld.long 0x00 0. "  ENBL ,Enable Interrupt for Region 0" "-,Enabled"
group dcr:0x0073++0x03
line.long 0x00 "I2O_HWR1L,High Brandwidth PLB Write Interrupt Region 1 Base Low Register"
hexmask.long 0x00 3.--31. 1. " HWR1L   ,Write Interrupt Region 1 Base Address Low"
group dcr:0x0074++0x03
line.long 0x00 "I2O0_HWR1H,High Brandwidth PLB Write Interrupt Region 1 Base High Register"
hexmask.long 0x00 0.--31. 1. " HWR1H   ,Write Interrupt Region 1 Base Address High"
group dcr:0x0075++0x03
line.long 0x00 "I2O0_HWR1M,High Brandwidth PLB Write Interrupt Region 1 Mask/Atribute Register"
hexmask.long 0x00 3.--31. 1. " MASK    ,Mask"
bitfld.long 0x00 0. "  ENBL ,Enable Interrupt for Region 1" "-,Enabled"
group dcr:0x0076++0x03
line.long 0x00 "I2O0_MISCC,Miscellaneous Configuration Register"
bitfld.long 0x00 0. " PXLAT   ,POM2 Translation" "Low,High"
endian.def
width 0xB
endif
tree.end
tree "Memory Mapped DMA Registers"
sif ((cpu()=="PPC440SP")||(cpu()=="PPC440SPE"))
;Memory Mapped DMA Registers
width 17.
endian.le
SIF (cpu()=="PPC440SP")
base ad:0x0:0x100100000
ENDIF
SIF (cpu()=="PPC440SPE")
base ad:0x4:0x00100000
ENDIF
wgroup 0x100++0x03
line.long 0x00 "I2O0_DMA0_CPFPL,DMA 0 Command Pointer FIFO Port Low Register"
hexmask.long 0x00 4.--31. 1. " CDBP  ,CDB Pointer Address Low"
bitfld.long 0x00 3. "  NOINT ,No interrupt" "Interrupt,-"
bitfld.long 0x00 2. "  ADSZ  ,Address Size" "64bit,32bit"
wgroup 0x104++0x03
line.long 0x00 "I2O0_DMA0_CPFPH,DMA 0 Command Pointer FIFO Port High Register"
hexmask.long 0x00 0.--31. 1. " CPFPH ,CDB Pointer Address High"
rgroup 0x108++0x03
line.long 0x00 "I2O0_DMA0_CSFPL,DMA 0 Completion Status FIFO Port Low Register"
hexmask.long 0x00 4.--31. 1. " CDBPL ,CDB Pointer"
bitfld.long 0x00 3. "  NOINT ,No Interrupt" "-,Interrupt"
bitfld.long 0x00 2. "  ADSIZ ,Address Size" "64bit,32bit"
textline "                          "
bitfld.long 0x00 0.--1. " CSTAT ,Status" "0,1,2,3"
rgroup 0x10C++0x03
line.long 0x00 "I2O0_DMA0_CSFPH,DMA Completion Status FIFO Port High Register"
hexmask.long 0x00 0.--31. 1. " CSTAT ,Completion Status"
group 0x110++0x03
line.long 0x00 "I2O0_DMA0_DSTS,DMA 0 Status Register"
bitfld.long 0x00 19.--20. " FAERR ,FIFO Access Error" "Pointer read,Pointer write,Status read,Status write"
bitfld.long 0x00 16.--18. "      FMERR ,Status of DMA FIFO Manager PLB Master" "Normal,Wrong slave size,MRdErr/MWrErr,MIRQ asserted,Mtimeout asserted,Reserved,Reserved,Reserved"
bitfld.long 0x00 13.--15. "  RSERR ,Status of the PLB Slave" "Normal,Rd/Wr,Full FIFO,No DMA FIFO,High low port order error,Reserved,Reserved,Reserved"
textline "                          "
bitfld.long 0x00 10.--12. " PWERR ,Status of the DMA Data Transfer Engine PLB Master" "Normal,Wrong slave size,MWrErr,MIRQ asserted,Mtimeout asserted,Reserved,Reserved,Reserved"
bitfld.long 0x00 7.--9. "  PRERR ,Status of the DMA Data Transfer Engine PLB Master" "Normal,Wrong slave size,MRdErr,MIRQ asserted,Mtimeout asserted,Reserved,Reserved,Reserved"
eventfld.long 0x00 6. "  DHALT ,DMA Halted" "Not halted,Halted"
textline "                          "
bitfld.long 0x00 5. " PMIRQ ,PLB MIRQ Asserted" "Not asserted,Asserted"
bitfld.long 0x00 4. "       VALER ,Valid Error" "-,Error"
bitfld.long 0x00 3. "              ILLOP ,Illegal Opcode Decode From a CDB" "-,Occurred"
group 0x114++0x03
line.long 0x00 "I2O0_DMA0_CFG,DMA 0 Configuration Register"
bitfld.long 0x00 31. " DXEPD ,DMA Data Transfer Engine PLB Prefetch Disable" "-,Disabled"
bitfld.long 0x00 30. "           DXERO ,DMA Data Transfer Engine PLB Relaxed Ordering" "No ordering,Ordering"
bitfld.long 0x00 26.--27. "        DXEPR ,DMA Data Transfer Engine PLB Priority" "0,1,2,3"
textline "                          "
bitfld.long 0x00 23.--24. " DFMPP ,DMA FIFO Manager PLB Priority" "0,1,2,3"
bitfld.long 0x00 20. "                  NOHLT ,No Halt on Error" "Halt,No halt"
bitfld.long 0x00 19. "            FALGN ,Force 64-byte Alignment" "16B address,64B address"
group 0x120++0x01
line.word 0x00 "I2O0_DMA0_CPFHP,DMA 0 Command Pointer FIFO Head Pointer Register"
hexmask.word 0x00 0.--13. 1. "     CPFHP ,Command Pointer FIFO Head Pointer"
group 0x122++0x01
line.word 0x00 "I2O0_DMA0_CPFTP,DMA 0 Command Pointer FIFO Tail Pointer"
bitfld.word 0x00 14. "     FIFOF ,FIFO Full" "Not full,Full"
hexmask.word 0x00 0.--13. 1. "           CPFTP ,Command Pointer FIFO Tail Pointer"
group 0x124++0x01
line.word 0x00 "I2O0_DMA0_CSFHP,DMA 0 Command Status FIFO Head Pointer Register"
hexmask.word 0x00 0.--13. 1. "     CSFHP ,Command Status FIFO Head Pointer"
group 0x126++0x01
line.word 0x00 "I2O0_DMA0_CSFTP,DMA 0 Command Status FIFO Tail Pointer"
bitfld.word 0x00 14. "     FIFOF ,FIFO Full" "Not full,Full"
hexmask.word 0x00 0.--13. 1. "           CSFTP ,Command Status FIFO Tail Pointer"
rgroup 0x130++0x03
line.long 0x00 "I2O0_DMA0_ACPL,DMA 0 Active Command Pointer Low Register"
hexmask.long 0x00 4.--31. 1. " ACPL  ,Active Command Pointer"
bitfld.long 0x00 3. "       NOINT ,No interrupt" "Interrupt,-"
bitfld.long 0x00 2. "  ADSIZ ,Address Size" "32bit,64bit"
rgroup 0x134++0x03
line.long 0x00 "I2O0_DMA0_ACPH,DMA 0 Active Command Pointer High Register"
hexmask.long 0x00 0.--31. 1. " ACPH  ,Active Command Pointer High"
rgroup 0x138++0x03
line.long 0x00 "I2O0_DMA0_S1BPL,DMA 0 SG1 Buffer Pointer Low Register"
hexmask.long 0x00 0.--31. 1. " S1BPL ,SG1 Buffer Pointer Low"
rgroup 0x13C++0x03
line.long 0x00 "I2O0_DMA0_S1BPH,DMA 0 SG1 Buffer Pointer High Register"
hexmask.long 0x00 0.--31. 1. " S1BPH ,SG1 Buffer Pointer High"
rgroup 0x140++0x03
line.long 0x00 "I2O0_DMA0_S2BPL,DMA 0 SG2 Buffer Pointer Low Register"
hexmask.long 0x00 0.--31. 1. " S2BPL ,SG2 Buffer Pointer Low"
rgroup 0x144++0x03
line.long 0x00 "I2O0_DMA0_S2BPH,DMA 0 SG2 Buffer Pointer High Register"
hexmask.long 0x00 0.--31. 1. " S2BPH ,SG2 Buffer Pointer High"
rgroup 0x148++0x03
line.long 0x00 "I2O0_DMA0_S3BPL,DMA 0 SG3 Buffer Pointer Low Register"
hexmask.long 0x00 0.--31. 1. " S3BPL ,SG3 Buffer Pointer Low"
rgroup 0x14C++0x03
line.long 0x00 "I2O0_DMA0_S3BPH,DMA 0 SG3 Buffer Pointer High Register"
hexmask.long 0x00 0.--31. 1. " S3BPH ,SG3 Buffer Pointer High"
group 0x160++0x03
line.long 0x00 "I2O0_DMA0_EARL,DMA 0 Error Address Register Low"
hexmask.long 0x00 0.--31. 1. " EARL  ,Error Address Low"
group 0x164++0x03
line.long 0x00 "I2O0_DMA0_EARH,DMA 0 Error Address Register High"
hexmask.long 0x00 0.--31. 1. " EARH  ,Error Address High"
rgroup 0x170++0x03
line.long 0x00 "I2O0_DMA0_SEAT,DMA 0 Slave Error Attribute Register"
bitfld.long 0x00 22.--24. " ERXTY ,Error Transfer Type" "-,Reserved,Read error,Read aborted,Write error,Write aborted,Reserved,Reserved"
hexmask.long.byte 0x00 18.--21. 1. "  MID   ,Master ID"
hexmask.long.byte 0x00 16.--17. 1. "         MSIZ  ,Master Size"
textline "                          "
hexmask.long.word 0x00 0.--15. 1. " BEX   ,Byte Enables for Transfer"
rgroup 0x174++0x03
line.long 0x00 "I2O0_DMA0_SEAD,DMA 0 Slave Error Address Register"
hexmask.long 0x00 0.--31. 1. " SEADR ,Slave Error Address"
rgroup 0x178++0x03
line.long 0x00 "I2O0_DMA0_OP,DMA 0 Observability Port Register"
bitfld.long 0x00 29.--31. " ECSMS ,DMA Engine Control State Machine State" "000,001,010,011,100,101,110,111"
bitfld.long 0x00 28. "            ECSWP ,DMA Engine Completion Status Write Pending" "0,1"
bitfld.long 0x00 26.--27. "          MCMSD ,PLB Bus Master Control State Machine State (Drain)" "00,01,10,11"
textline "                          "
bitfld.long 0x00 23.--25. " MCCXS ,PLB Bus Master Control Current Transfer State (Drain)" "000,001,010,011,100,101,110,111"
bitfld.long 0x00 21.--22. "            MCSMS ,PLB Bus Master Control State Machine State (Fill)" "00,01,10,11"
bitfld.long 0x00 18.--20. "         MCXTF ,PLB Bus Master Control Current Transfer Type (Fill)" "000,001,010,011,100,101,110,111"
textline "                          "
bitfld.long 0x00 15.--17. " EPMAS ,DMA Engine PLB Master Address State Machine State" "000,001,010,011,100,101,110,111"
bitfld.long 0x00 13.--14. "            EPMRS ,DMA Engine PLB Master Read State Machine State" "00,01,10,11"
bitfld.long 0x00 11.--12. "         EPMWS ,DMA Engine PLB Master Write State Machine State" "00,01,10,11"
textline "                          "
bitfld.long 0x00 9.--10. " EPMCX ,DMA Engine PLB Master Control Current Transfer Type (Write)" "00,01,10,11"
bitfld.long 0x00 7.--8. "             EPMFF ,DMA Engine PLB Master Front State Machine State (Fill)" "00,01,10,11"
bitfld.long 0x00 5.--6. "         EPMFD ,DMA Engine PLB Master Front State Machine State (Drain)" "00,01,10,11"
textline "                          "
bitfld.long 0x00 4. " EPMAR ,DMA Engine PLB Master Arbitration State" "0,1"
bitfld.long 0x00 3. "              PFUPS ,DMA Data Path FIFO Underrun (Primary/Secondary)" "0,1"
bitfld.long 0x00 2. "          PFOPS ,DMA Data Path FIFO Overflow (Primary/Secondary)" "0,1"
textline "                          "
bitfld.long 0x00 0.--1. " RBETQ ,DMA Register (Back End) TQ State Machine State" "00,01,10,11"
group 0x17C++0x03
line.long 0x00 "I2O0_DMA0_FSIZ,DMA 0 FIFO Size"
bitfld.long 0x00 12. " DFENB ,DMA FIFO Enable" "-,Enabled"
hexmask.long.word 0x00 0.--10. 1. "        DFSZ  ,DMA FIFO Size"
wgroup 0x200++0x03
line.long 0x00 "I2O0_DMA1_CPFPL,DMA 1 Command Pointer FIFO Port Low Register"
hexmask.long 0x00 4.--31. 1. " CDBP  ,CDB Pointer Address Low"
bitfld.long 0x00 3. "  NOINT ,No interrupt" "Interrupt,-"
bitfld.long 0x00 2. "  ADSZ  ,Address Size" "64bit,32bit"
wgroup 0x204++0x03
line.long 0x00 "I2O0_DMA1_CPFPH,DMA 1 Command Pointer FIFO Port High Register"
hexmask.long 0x00 0.--31. 1. " CPFPH ,CDB Pointer Address High"
rgroup 0x208++0x03
line.long 0x00 "I2O0_DMA1_CSFPL,DMA 1 Completion Status FIFO Port Low Register"
hexmask.long 0x00 4.--31. 1. " CDBPL ,CDB Pointer"
bitfld.long 0x00 3. "  NOINT ,No Interrupt" "-,Interrupt"
bitfld.long 0x00 2. "  ADSIZ ,Address Size" "64bit,32bit"
textline "                          "
bitfld.long 0x00 0.--1. " CSTAT ,Status" "0,1,2,3"
rgroup 0x20C++0x03
line.long 0x00 "I2O0_DMA1_CSFPH,DMA Completion Status FIFO Port High Register"
hexmask.long 0x00 0.--31. 1. " CSTAT ,Completion Status"
group 0x210++0x03
line.long 0x00 "I2O0_DMA1_DSTS,DMA 1 Status Register"
bitfld.long 0x00 19.--20. " FAERR ,FIFO Access Error" "Pointer read,Pointer write,Status read,Status write"
bitfld.long 0x00 16.--18. "      FMERR ,Status of DMA FIFO Manager PLB Master" "Normal,Wrong slave size,MRdErr/MWrErr,MIRQ asserted,Mtimeout asserted,Reserved,Reserved,Reserved"
bitfld.long 0x00 13.--15. "  RSERR ,Status of the PLB Slave" "Normal,Rd/Wr,Full FIFO,No DMA FIFO,High low port order error,Reserved,Reserved,Reserved"
textline "                          "
bitfld.long 0x00 10.--12. " PWERR ,Status of the DMA Data Transfer Engine PLB Master" "Normal,Wrong slave size,MWrErr,MIRQ asserted,Mtimeout asserted,Reserved,Reserved,Reserved"
bitfld.long 0x00 7.--9. "  PRERR ,Status of the DMA Data Transfer Engine PLB Master" "Normal,Wrong slave size,MRdErr,MIRQ asserted,Mtimeout asserted,Reserved,Reserved,Reserved"
eventfld.long 0x00 6. "  DHALT ,DMA Halted" "Not halted,Halted"
textline "                          "
bitfld.long 0x00 5. " PMIRQ ,PLB MIRQ Asserted" "Not asserted,Asserted"
bitfld.long 0x00 4. "       VALER ,Valid Error" "-,Error"
bitfld.long 0x00 3. "              ILLOP ,Illegal Opcode Decode From a CDB" "-,Occurred"
group 0x214++0x03
line.long 0x00 "I2O0_DMA1_CFG,DMA 1 Configuration Register"
bitfld.long 0x00 31. " DXEPD ,DMA Data Transfer Engine PLB Prefetch Disable" "-,Disabled"
bitfld.long 0x00 30. "           DXERO ,DMA Data Transfer Engine PLB Relaxed Ordering" "No ordering,Ordering"
bitfld.long 0x00 26.--27. "        DXEPR ,DMA Data Transfer Engine PLB Priority" "0,1,2,3"
textline "                          "
bitfld.long 0x00 23.--24. " DFMPP ,DMA FIFO Manager PLB Priority" "0,1,2,3"
bitfld.long 0x00 20. "                  NOHLT ,No Halt on Error" "Halt,No halt"
bitfld.long 0x00 19. "            FALGN ,Force 64-byte Alignment" "16B address,64B address"
group 0x220++0x01
line.word 0x00 "I2O0_DMA1_CPFHP,DMA 1 Command Pointer FIFO Head Pointer Register"
hexmask.word 0x00 0.--13. 1. "     CPFHP ,Command Pointer FIFO Head Pointer"
group 0x222++0x01
line.word 0x00 "I2O0_DMA1_CPFTP,DMA 1 Command Pointer FIFO Tail Pointer"
bitfld.word 0x00 14. "     FIFOF ,FIFO Full" "Not full,Full"
hexmask.word 0x00 0.--13. 1. "           CPFTP ,Command Pointer FIFO Tail Pointer"
group 0x224++0x01
line.word 0x00 "I2O0_DMA1_CSFHP,DMA 1 Command Status FIFO Head Pointer Register"
hexmask.word 0x00 0.--13. 1. "     CSFHP ,Command Status FIFO Head Pointer"
group 0x226++0x01
line.word 0x00 "I2O0_DMA1_CSFTP,DMA 1 Command Status FIFO Tail Pointer"
bitfld.word 0x00 14. "     FIFOF ,FIFO Full" "Not full,Full"
hexmask.word 0x00 0.--13. 1. "           CSFTP ,Command Status FIFO Tail Pointer"
rgroup 0x230++0x03
line.long 0x00 "I2O0_DMA1_ACPL,DMA 1 Active Command Pointer Low Register"
hexmask.long 0x00 4.--31. 1. " ACPL  ,Active Command Pointer"
bitfld.long 0x00 3. "       NOINT ,No interrupt" "Interrupt,-"
bitfld.long 0x00 2. "  ADSIZ ,Address Size" "32bit,64bit"
rgroup 0x234++0x03
line.long 0x00 "I2O0_DMA1_ACPH,DMA 1 Active Command Pointer High Register"
hexmask.long 0x00 0.--31. 1. " ACPH  ,Active Command Pointer High"
rgroup 0x238++0x03
line.long 0x00 "I2O0_DMA1_S1BPL,DMA 1 SG1 Buffer Pointer Low Register"
hexmask.long 0x00 0.--31. 1. " S1BPL ,SG1 Buffer Pointer Low"
rgroup 0x23C++0x03
line.long 0x00 "I2O0_DMA1_S1BPH,DMA 1 SG1 Buffer Pointer High Register"
hexmask.long 0x00 0.--31. 1. " S1BPH ,SG1 Buffer Pointer High"
rgroup 0x240++0x03
line.long 0x00 "I2O0_DMA1_S2BPL,DMA 1 SG2 Buffer Pointer Low Register"
hexmask.long 0x00 0.--31. 1. " S2BPL ,SG2 Buffer Pointer Low"
rgroup 0x244++0x03
line.long 0x00 "I2O0_DMA1_S2BPH,DMA 1 SG2 Buffer Pointer High Register"
hexmask.long 0x00 0.--31. 1. " S2BPH ,SG2 Buffer Pointer High"
rgroup 0x248++0x03
line.long 0x00 "I2O0_DMA1_S3BPL,DMA 1 SG3 Buffer Pointer Low Register"
hexmask.long 0x00 0.--31. 1. " S3BPL ,SG3 Buffer Pointer Low"
rgroup 0x24C++0x03
line.long 0x00 "I2O0_DMA1_S3BPH,DMA 1 SG3 Buffer Pointer High Register"
hexmask.long 0x00 0.--31. 1. " S3BPH ,SG3 Buffer Pointer High"
group 0x260++0x03
line.long 0x00 "I2O0_DMA1_EARL,DMA 1 Error Address Register Low"
hexmask.long 0x00 0.--31. 1. " EARL  ,Error Address Low"
group 0x264++0x03
line.long 0x00 "I2O0_DMA1_EARH,DMA 1 Error Address Register High"
hexmask.long 0x00 0.--31. 1. " EARH  ,Error Address High"
rgroup 0x270++0x03
line.long 0x00 "I2O0_DMA1_SEAT,DMA 1 Slave Error Attribute Register"
bitfld.long 0x00 22.--24. " ERXTY ,Error Transfer Type" "-,Reserved,Read error,Read aborted,Write error,Write aborted,Reserved,Reserved"
hexmask.long.byte 0x00 18.--21. 1. "  MID   ,Master ID"
hexmask.long.byte 0x00 16.--17. 1. "         MSIZ  ,Master Size"
textline "                          "
hexmask.long.word 0x00 0.--15. 1. " BEX   ,Byte Enables for Transfer"
rgroup 0x274++0x03
line.long 0x00 "I2O0_DMA1_SEAD,DMA 1 Slave Error Address Register"
hexmask.long 0x00 0.--31. 1. " SEADR ,Slave Error Address"
rgroup 0x278++0x03
line.long 0x00 "I2O0_DMA1_OP,DMA 1 Observability Port Register"
bitfld.long 0x00 29.--31. " ECSMS ,DMA Engine Control State Machine State" "000,001,010,011,100,101,110,111"
bitfld.long 0x00 28. "            ECSWP ,DMA Engine Completion Status Write Pending" "0,1"
bitfld.long 0x00 26.--27. "          MCMSD ,PLB Bus Master Control State Machine State (Drain)" "00,01,10,11"
textline "                          "
bitfld.long 0x00 23.--25. " MCCXS ,PLB Bus Master Control Current Transfer State (Drain)" "000,001,010,011,100,101,110,111"
bitfld.long 0x00 21.--22. "            MCSMS ,PLB Bus Master Control State Machine State (Fill)" "00,01,10,11"
bitfld.long 0x00 18.--20. "         MCXTF ,PLB Bus Master Control Current Transfer Type (Fill)" "000,001,010,011,100,101,110,111"
textline "                          "
bitfld.long 0x00 15.--17. " EPMAS ,DMA Engine PLB Master Address State Machine State" "000,001,010,011,100,101,110,111"
bitfld.long 0x00 13.--14. "            EPMRS ,DMA Engine PLB Master Read State Machine State" "00,01,10,11"
bitfld.long 0x00 11.--12. "         EPMWS ,DMA Engine PLB Master Write State Machine State" "00,01,10,11"
textline "                          "
bitfld.long 0x00 9.--10. " EPMCX ,DMA Engine PLB Master Control Current Transfer Type (Write)" "00,01,10,11"
bitfld.long 0x00 7.--8. "             EPMFF ,DMA Engine PLB Master Front State Machine State (Fill)" "00,01,10,11"
bitfld.long 0x00 5.--6. "         EPMFD ,DMA Engine PLB Master Front State Machine State (Drain)" "00,01,10,11"
textline "                          "
bitfld.long 0x00 4. " EPMAR ,DMA Engine PLB Master Arbitration State" "0,1"
bitfld.long 0x00 3. "              PFUPS ,DMA Data Path FIFO Underrun (Primary/Secondary)" "0,1"
bitfld.long 0x00 2. "          PFOPS ,DMA Data Path FIFO Overflow (Primary/Secondary)" "0,1"
textline "                          "
bitfld.long 0x00 0.--1. " RBETQ ,DMA Register (Back End) TQ State Machine State" "00,01,10,11"
group 0x27C++0x03
line.long 0x00 "I2O0_DMA1_FSIZ,DMA 1 FIFO Size"
bitfld.long 0x00 12. " DFENB ,DMA FIFO Enable" "-,Enabled"
hexmask.long.word 0x00 0.--10. 1. "        DFSZ  ,DMA FIFO Size"
endian.def
width 0xB
endif
tree.end
tree "Memory Mapped I2O Registers"
sif (cpu()=="PPC440GX")
base ANC:0x0:0xFFFF0000
width 0xC
group.long 0x90++0x1F
line.long 0x0 "IMU0_IMR0,IMU Inbound Message Register 0 0"
line.long 0x4 "IMU0_IMR1,IMU Inbound Message Register 0 1"
line.long 0x8 "IMU0_OMR0,IMU Outbound Message Register 0 0"
line.long 0xC "IMU0_OMR1,IMU Outbound Message Register 0 1"
line.long 0x10 "IMU0_IDR,IMU Inbound Doorbell Register 0"
eventfld.long 0x10 31. " IRQD  ,IRQ Doorbell Interrupt" "-,Interrupt"
eventfld.long 0x10 30. "  IDI0  ,Inbound Doorbell Interrupt 0" "-,Interrupt"
eventfld.long 0x10 29. "  IDI1  ,Inbound Doorbell Interrupt 1" "-,Interrupt"
eventfld.long 0x10 28. "  IDI2  ,Inbound Doorbell Interrupt 2" "-,Interrupt"
textline "                     "
eventfld.long 0x10 27. " IDI3  ,Inbound Doorbell Interrupt 3" "-,Interrupt"
eventfld.long 0x10 26. "  IDI4  ,Inbound Doorbell Interrupt 4" "-,Interrupt"
eventfld.long 0x10 25. "  IDI5  ,Inbound Doorbell Interrupt 5" "-,Interrupt"
eventfld.long 0x10 24. "  IDI6  ,Inbound Doorbell Interrupt 6" "-,Interrupt"
textline "                     "
eventfld.long 0x10 23. " IDI7  ,Inbound Doorbell Interrupt 7" "-,Interrupt"
eventfld.long 0x10 22. "  IDI8  ,Inbound Doorbell Interrupt 8" "-,Interrupt"
eventfld.long 0x10 21. "  IDI9  ,Inbound Doorbell Interrupt 9" "-,Interrupt"
eventfld.long 0x10 20. "  IDI10 ,Inbound Doorbell Interrupt 10" "-,Interrupt"
textline "                     "
eventfld.long 0x10 19. " IDI11 ,Inbound Doorbell Interrupt 11" "-,Interrupt"
eventfld.long 0x10 18. "  IDI12 ,Inbound Doorbell Interrupt 12" "-,Interrupt"
eventfld.long 0x10 17. "  IDI13 ,Inbound Doorbell Interrupt 13" "-,Interrupt"
eventfld.long 0x10 16. "  IDI14 ,Inbound Doorbell Interrupt 14" "-,Interrupt"
textline "                     "
eventfld.long 0x10 15. " IDI15 ,Inbound Doorbell Interrupt 15" "-,Interrupt"
eventfld.long 0x10 14. "  IDI16 ,Inbound Doorbell Interrupt 16" "-,Interrupt"
eventfld.long 0x10 13. "  IDI17 ,Inbound Doorbell Interrupt 17" "-,Interrupt"
eventfld.long 0x10 12. "  IDI18 ,Inbound Doorbell Interrupt 18" "-,Interrupt"
textline "                     "
eventfld.long 0x10 11. " IDI19 ,Inbound Doorbell Interrupt 19" "-,Interrupt"
eventfld.long 0x10 10. "  IDI20 ,Inbound Doorbell Interrupt 20" "-,Interrupt"
eventfld.long 0x10 9. "  IDI21 ,Inbound Doorbell Interrupt 21" "-,Interrupt"
eventfld.long 0x10 8. "  IDI22 ,Inbound Doorbell Interrupt 22" "-,Interrupt"
textline "                     "
eventfld.long 0x10 7. " IDI23 ,Inbound Doorbell Interrupt 23" "-,Interrupt"
eventfld.long 0x10 6. "  IDI24 ,Inbound Doorbell Interrupt 24" "-,Interrupt"
eventfld.long 0x10 5. "  IDI25 ,Inbound Doorbell Interrupt 25" "-,Interrupt"
eventfld.long 0x10 4. "  IDI26 ,Inbound Doorbell Interrupt 26" "-,Interrupt"
textline "                     "
eventfld.long 0x10 3. " IDI27 ,Inbound Doorbell Interrupt 27" "-,Interrupt"
eventfld.long 0x10 2. "  IDI28 ,Inbound Doorbell Interrupt 28" "-,Interrupt"
eventfld.long 0x10 1. "  IDI29 ,Inbound Doorbell Interrupt 29" "-,Interrupt"
eventfld.long 0x10 0. "  IDI30 ,Inbound Doorbell Interrupt 30" "-,Interrupt"
line.long 0x14 "IMU0_IISR,IMU Inbound Interrupt Status Register 0"
eventfld.long 0x14 5. " OFQ   ,Outbound Free Queue Full Interrupt" "-,Interrupt"
bitfld.long 0x14 4. "  IPQ   ,Inbound Post Queue Interrupt" "-,Interrupt"
bitfld.long 0x14 3. "  IRQD  ,Inbound IRQ Doorbell Interrupt" "-,Interrupt"
bitfld.long 0x14 2. "  IDI   ,Inbound Doorbell Interrupt" "-,Interrupt"
textline "                     "
eventfld.long 0x14 1. " IM1   ,Inbound Message 1 Interrupt" "-,Interrupt"
eventfld.long 0x14 0. "  IM0   ,Inbound Message 0 Interrupt" "-,Interrupt"
line.long 0x18 "IMU0_IIMR,IMU Inbound Interrupt Mask Register 0"
bitfld.long 0x18 5. " OFQF  ,Outbound Free Queue Full Interrupt Mask" "-,Masked"
bitfld.long 0x18 4. "     IPQM  ,Inbound Post Queue Interrupt Mask" "-,Masked"
bitfld.long 0x18 3. "     IRQM  ,Inbound IRQ Doorbell Interrupt Mask" "-,Masked"
bitfld.long 0x18 2. "     IDIM  ,Inbound Doorbell Interrupt Mask" "-,Masked"
textline "                     "
bitfld.long 0x18 1. " IM1M  ,Inbound Message 1 Interrupt Mask" "-,Masked"
bitfld.long 0x18 0. "     IM0M  ,Inbound Message 0 Interrupt Mask" "-,Masked"
line.long 0x1C "IMU0_ODR,IMU Outbound Doorbell Register 0"
bitfld.long 0x1C 31. " ODI0  ,Outbound Doorbell Interrupt 0" "-,Interrupt"
bitfld.long 0x1C 30. "  ODI1  ,Outbound Doorbell Interrupt 1" "-,Interrupt"
bitfld.long 0x1C 29. "  ODI2  ,Outbound Doorbell Interrupt 2" "-,Interrupt"
bitfld.long 0x1C 28. "  ODI3  ,Outbound Doorbell Interrupt 3" "-,Interrupt"
textline "                     "
bitfld.long 0x1C 27. " ODI4  ,Outbound Doorbell Interrupt 4" "-,Interrupt"
bitfld.long 0x1C 26. "  ODI5  ,Outbound Doorbell Interrupt 5" "-,Interrupt"
bitfld.long 0x1C 25. "  ODI6  ,Outbound Doorbell Interrupt 6" "-,Interrupt"
bitfld.long 0x1C 24. "  ODI7  ,Outbound Doorbell Interrupt 7" "-,Interrupt"
textline "                     "
bitfld.long 0x1C 23. " ODI8  ,Outbound Doorbell Interrupt 8" "-,Interrupt"
bitfld.long 0x1C 22. "  ODI9  ,Outbound Doorbell Interrupt 9" "-,Interrupt"
bitfld.long 0x1C 21. "  ODI10 ,Outbound Doorbell Interrupt 10" "-,Interrupt"
bitfld.long 0x1C 20. "  ODI11 ,Outbound Doorbell Interrupt 11" "-,Interrupt"
textline "                     "
bitfld.long 0x1C 19. " ODI12 ,Outbound Doorbell Interrupt 12" "-,Interrupt"
bitfld.long 0x1C 18. "  ODI13 ,Outbound Doorbell Interrupt 13" "-,Interrupt"
bitfld.long 0x1C 17. "  ODI14 ,Outbound Doorbell Interrupt 14" "-,Interrupt"
bitfld.long 0x1C 16. "  ODI15 ,Outbound Doorbell Interrupt 15" "-,Interrupt"
textline "                     "
bitfld.long 0x1C 15. " ODI16 ,Outbound Doorbell Interrupt 16" "-,Interrupt"
bitfld.long 0x1C 14. "  ODI17 ,Outbound Doorbell Interrupt 17" "-,Interrupt"
bitfld.long 0x1C 13. "  ODI18 ,Outbound Doorbell Interrupt 18" "-,Interrupt"
bitfld.long 0x1C 12. "  ODI19 ,Outbound Doorbell Interrupt 19" "-,Interrupt"
textline "                     "
bitfld.long 0x1C 11. " ODI20 ,Outbound Doorbell Interrupt 20" "-,Interrupt"
bitfld.long 0x1C 10. "  ODI21 ,Outbound Doorbell Interrupt 21" "-,Interrupt"
bitfld.long 0x1C 9. "  ODI22 ,Outbound Doorbell Interrupt 22" "-,Interrupt"
bitfld.long 0x1C 8. "  ODI23 ,Outbound Doorbell Interrupt 23" "-,Interrupt"
textline "                     "
bitfld.long 0x1C 7. " ODI24 ,Outbound Doorbell Interrupt 24" "-,Interrupt"
bitfld.long 0x1C 6. "  ODI25 ,Outbound Doorbell Interrupt 25" "-,Interrupt"
bitfld.long 0x1C 5. "  ODI26 ,Outbound Doorbell Interrupt 26" "-,Interrupt"
bitfld.long 0x1C 4. "  ODI27 ,Outbound Doorbell Interrupt 27" "-,Interrupt"
textline "                     "
bitfld.long 0x1C 3. " ODI28 ,Outbound Doorbell Interrupt 28" "-,Interrupt"
bitfld.long 0x1C 2. "  ODI29 ,Outbound Doorbell Interrupt 29" "-,Interrupt"
bitfld.long 0x1C 1. "  ODI30 ,Outbound Doorbell Interrupt 30" "-,Interrupt"
bitfld.long 0x1C 0. "  ODI31 ,Outbound Doorbell Interrupt 31" "-,Interrupt"
hgroup.long 0xB0++0x3
hide.long 0x0 "IMU0_OISR,IMU Outbound Interrupt Status Register 0"
in
group.long 0xB4++0x3
line.long 0x0 "IMU0_OIMR,IMU Outbound Interrupt Mask Register 0"
bitfld.long 0x0 3. " OPQM  ,Outbound Post Queue Interrupt Mask" "-,Masked"
bitfld.long 0x0 2. "     ODIM  ,Outbound Doorbell Interrupt Mask" "-,Masked"
bitfld.long 0x0 1. "     OM1M  ,Outbound Message 1 Interrupt Mask" "-,Masked"
bitfld.long 0x0 0. "     OM0M  ,Outbound Message 0 Interrupt Mask" "-,Masked"
hgroup.long 0x40++0x3
hide.long 0x0 "IMU0_IQPR,IMU Inbound Queue Port Register 0"
in
hgroup.long 0x44++0x3
hide.long 0x0 "IMU0_OQPR,IMU Outbound Queue Port Register 0"    
in
group.long 0xd0++0xB
line.long 0x0 "IMU0_CFG,IMU Configuration Register 0"    
bitfld.long 0x00 1.--5. " CQSZ ,Circular Queue Size" "Reserved,4 K Entries,8 K Entries,Reserved,16 K Entries,Reserved,Reserved,Reserved,32 K Entries,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,64 K Entries,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 0. "  CQE ,Circular Queue Enable" "-,Enabled"
line.long 0x4 "IMU0_QBAHR,IMU Queue Base Address High Register 0"
line.long 0x8 "IMU0_QBALR,IMU Queue Base Address Low Register 0"
hexmask.long 0x8 20.--31. 0x100000 " QBA  ,Queue Base Address"
group.long 0xe0++0x33
line.long 0x0 "IMU0_IFHPR,IMU Inbound Free Head Pointer Register 0"    
hexmask.long 0x00 20.--31. 0x100000 " QBA  ,Queue Base Address"
hexmask.long 0x00 2.--19. 4. "   IFHP ,Inbound Free Head Pointer"
line.long 0x4 "IMU0_IFTPR,IMU Inbound Free Tail Pointer Register 0"    
hexmask.long 0x4 20.--31. 0x100000 " QBA  ,Queue Base Address"
hexmask.long 0x4 2.--19. 4. "   IFTP ,Inbound Free Tail Pointer"
line.long 0x8 "IMU0_IPHPR,IMU Inbound Post Head Pointer Register 0"    
hexmask.long 0x8 20.--31. 0x100000 " QBA  ,Queue Base Address"
hexmask.long 0x8 2.--19. 4. "   IPHP ,Inbound Post Head Pointer"
line.long 0xC "IMU0_IPTPR,IMU Inbound Post Tail Pointer Register 0"
hexmask.long 0xC 20.--31. 0x100000 " QBA  ,Queue Base Address"
hexmask.long 0xC 2.--19. 4. "   IPTP ,Inbound Post Tail Pointer"
line.long 0x10 "IMU0_OFHPR,IMU Outbound Free Head Pointer Register 0"
hexmask.long 0x10 20.--31. 0x100000 " QBA  ,Queue Base Address"
hexmask.long 0x10 2.--19. 4. "   OFHP ,Outbound Free Head Pointer"
line.long 0x14 "IMU0_OFTPR,IMU Outbound Free Tail Pointer Register 0"    
hexmask.long 0x14 20.--31. 0x100000 " QBA  ,Queue Base Address"
hexmask.long 0x14 2.--19. 4. "   OFTP ,Outbound Free Tail Pointer"
line.long 0x18 "IMU0_OPHPR,IMU Outbound Post Head Pointer Register 0"    
hexmask.long 0x18 20.--31. 0x100000 " QBA  ,Queue Base Address"
hexmask.long 0x18 2.--19. 4. "   OPHP ,Outbound Post Head Pointer"
line.long 0x1C "IMU0_OPTPR,IMU Outbound Post Tail Pointer Register 0"
hexmask.long 0x1C 20.--31. 0x100000 " QBA  ,Queue Base Address"
hexmask.long 0x1C 2.--19. 4. "   OPTP ,Outbound Post Tail Pointer"
line.long 0x20 "IMU0_BESR,IMU PLB Bus Error Status Register 0"    
bitfld.long 0x20 31. " TO   ,PLB Timeout" "-,Timeout"
bitfld.long 0x20 30. "    WRME ,PLB Write Master Error" "-,Error"
bitfld.long 0x20 29. "      RDME ,PLB Read Master Error" "-,Error"
bitfld.long 0x20 28. "      IRQ  ,PLB IRQ Error" "-,Error"
line.long 0x24 "IMU0_BEMR,IMU PLB Bus Error Masking Register 0"
bitfld.long 0x24 31. " EM   ,PLB Error Mask" "-,Masked"
line.long 0x28 "IMU0_BEAR,IMU PLB Bus Error Address Register 0"    
hexmask.long 0x28 20.--31. 0x100000 " QBA  ,Queue Base Address"
hexmask.long 0x28 2.--19. 4. "   EA   ,Error Address"
line.long 0x2C "IMU0_MIRQ,IMU PLB IRQ Register 0"
eventfld.long 0x2C 31. " IRQ0 ,PLBS_IRQ 0" "-,Generated"
eventfld.long 0x2C 30. "  IRQ1 ,PLBS_IRQ 1" "-,Generated"
eventfld.long 0x2C 29. "  IRQ2 ,PLBS_IRQ 2" "-,Generated"
eventfld.long 0x2C 28. "  IRQ3 ,PLBS_IRQ 3" "-,Generated"
textline "                     "
eventfld.long 0x2C 27. " IRQ4 ,PLBS_IRQ 4" "-,Generated"
eventfld.long 0x2C 26. "  IRQ5 ,PLBS_IRQ 5" "-,Generated"
eventfld.long 0x2C 25. "  IRQ6 ,PLBS_IRQ 6" "-,Generated"
eventfld.long 0x2C 24. "  IRQ7 ,PLBS_IRQ 7" "-,Generated"
line.long 0x30 "IMU0_PPR,IMU PLB Programmable Register 0"    
bitfld.long 0x30 30.--31. " PR   ,PLB Priority" "Lowest,Highest,Reserved,Reserved"
bitfld.long 0x30 29. "   LE   ,PLB Lock Error" "-,Error"
group.long 0x130++0x3
line.long 0x0 "IMU0_SLP,IMU Sleep Register 0"    
bitfld.long 0x00 27.--31. " ITU  ,IDLE Timer Upper" "0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F,10,11,12,13,14,15,16,17,18,19,1A,1B,1C,1D,1E,1F"
bitfld.long 0x00 22.--26. "         ITL  ,IDLE Timer Lower" "0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F,10,11,12,13,14,15,16,17,18,19,1A,1B,1C,1D,1E,1F"
bitfld.long 0x00 21. "         SME  ,Sleep Mode Enable" "-,Enabled"
hgroup.long 0x138++0x3
hide.long 0x0 "IMU0_SR,IMU Core Status Register 0"
in
rgroup.long 0x134++0x3
line.long 0x0 "IMU0_REVID,IMU Revision ID Register 0"
hexmask.long.word 0x0 8.--19. 1. " RN   ,Revision Number"
hexmask.long.byte 0x0 0.--7. 1. "       BRN  ,Branch Revision Number"
width 0xB
elif ((cpu()=="PPC440SP")||(cpu()=="PPC440SPE"))
;Memory Mapped I2O Registers
width 12.
endian.le
SIF (CPU()=="PPC440SP")
base ad:0x1:0x00100000
ENDIF
SIF (CPU()=="PPC440SPE")
base ad:0x4:0x00100000
ENDIF
group 0x00++0x03
line.long 0x00 "I2O0_ISTS,I2O Status Register"
bitfld.long 0x00 10. " PMQA  ,PLB MIRQ Asserted" "Not asserted,Asserted"
bitfld.long 0x00 6.--9. "      FACCS ,I2O FIFO Accessed" "Reset state,Inbound post list FIFO write,Inbound post list FIFO read,Inbound free list FIFO write,Inbound free list FIFO read,Outbound post list FIFO write,Outbound post list FIFO read,Outbound free list FIFO write,Outbound free list FIFO read,Free CDB pointer FIFO read,Free CDB Pointer FIFO write,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                     "
bitfld.long 0x00 3.--5. " STIPM ,Status of the I2O PLB Master" "Normal,Wrong slave size,MErr,MIRQ,Mtimeout,Reserved,Reserved,Reserved"
bitfld.long 0x00 0.--2. "  STIPS ,Status of the I2O PLB Slave" "Normal,R/W to reserved address,Full FIFO,No FIFO,Reserved,Reserved,Reserved,Reserved"
rgroup 0x04++0x03
line.long 0x00 "I2O0_ISEAT,I2O Slave Error Attribute Register"
bitfld.long 0x00 22.--24. " ERRTT   ,Error Transfer Type" "-,Reserved,Read error,Read aborted,Write error,Write aborted,Reserved,Reserved"
hexmask.long.byte 0x00 18.--21. 1. "  MASID   ,Master ID of the PLB Transfer"
hexmask.long.byte 0x00 16.--17. 1. "               MASIZ   ,Size of the PLB Master"
textline "                     "
hexmask.long.word 0x00 0.--15. 1. " BENB    ,Byte Enables for the Transfer"
rgroup 0x08++0x03
line.long 0x00 "I2O0_ISEAD,I2O Slave Error Address Register"
hexmask.long 0x00 0.--31. 1. " ISEAD   ,Slave Error Address"
group 0x20++0x03
line.long 0x00 "I2O0_IDBELL,I2O Inbound Doorbell Register"
hexmask.long 0x00 0.--31. 1. " IDBELL  ,    Host Inbound Doorbell Register"
rgroup 0x30++0x03
line.long 0x00 "I2O0_IHIS,I2O Host Interrupt Status Register"
bitfld.long 0x00 31. " UNIRQ   ,Unassigned Interrupt" "-,Interrupt"
bitfld.long 0x00 3. "      OPLNE   ,Outbound Post List FIFO Not Empty" "Empty,Not empty"
bitfld.long 0x00 2. "        GDIRQ   ,General Outbound Doorbell" "Low,High"
textline "                     "
bitfld.long 0x00 0. " PMIRQ   ,Performant Mode Completion" "Low,High"
rgroup 0x34++0x03
line.long 0x00 "I2O0_IHIM,I2O Host Interrupt Mask Register"
bitfld.long 0x00 31. " UNIRQ   ,Unassigned Interrupt" "-,Enabled"
bitfld.long 0x00 3. "        OPLNE   ,Outbound Post List FIFO Not Empty Mask" "-,Enabled"
bitfld.long 0x00 2. "          GDIRQ   ,General Outbound Doorbell" "-,Enabled"
textline "                     "
bitfld.long 0x00 0. " PMIRQ   ,Performant Mode Completion" "-,Enabled"
group 0x40++0x03
line.long 0x00 "I2O0_IHIQ,I2O Host Inbound Queue Port (32-bit version) Register"
hexmask.long 0x00 0.--31. 1. " HIP32   ,Host Inbound Queue Port 32-bit Version"
group 0x44++0x03
line.long 0x00 "I2O0_IHOQ,I2O Host Outbound Queue Port (32-bit version) Register"
hexmask.long 0x00 0.--31. 1. " HOP32   ,Host Outbound Queue Port 32-bit Version"
rgroup 0x50++0x03
line.long 0x00 "I2O0_IOPIS,I2O IOP Interrupt Status Register"
bitfld.long 0x00 12. " IERR    ,I2O Error" "-,Error"
bitfld.long 0x00 8. "          P1DE    ,Port 1 DMA Error" "-,Error"
bitfld.long 0x00 7. "            P1DCP   ,Port 1 DMA Command Pointer FIFO Full" "Not full,Full"
textline "                     "
bitfld.long 0x00 6. " P1DCA   ,Port 1 DMA Comand Status FIFO Attention" "Not full,Full"
bitfld.long 0x00 5. "       P0DE    ,Port 0 DMA Error" "-,Error"
bitfld.long 0x00 4. "            P0DCP   ,Port 0 DMA Command Pointer FIFO Full" "Not full,Full"
textline "                     "
bitfld.long 0x00 3. " P0DCA   ,Port 0 DMA Command Status FIFO Attention" "Not full,Full"
bitfld.long 0x00 2. "       IDSET   ,Inbound Doorbell Set" "Normal,Write operation"
bitfld.long 0x00 0. "  IPLNE   ,Inbound Post List FIFO Not Empty" "Empty,Not empty"
rgroup 0x54++0x03
line.long 0x00 "I2O0_IOPIM,I2O IOP Interrupt Mask Register"
bitfld.long 0x00 12. " IERM    ,I2O Error Mask" "Not masked,Masked"
bitfld.long 0x00 8. "     P1EM    ,Port 1 DMA Error Mask" "Not masked,Masked"
bitfld.long 0x00 7. "       P1FFM   ,Port 1 DMA Command Pointer FIFO Full Mask" "Not masked,Masked"
textline "                     "
bitfld.long 0x00 6. " P1SNE   ,Port 1 DMA Comand Status FIFO Not Empty Mask" "Not masked,Masked"
bitfld.long 0x00 5. "     P0EM    ,Port 0 DMA Error Mask" "Not masked,Masked"
bitfld.long 0x00 4. "       P0FFM   ,Port 0 DMA Command Pointer FIFO Full Mask" "Not masked,Masked"
textline "                     "
bitfld.long 0x00 3. " P0SNE   ,Port 0 DMA Command Status FIFO Not Empty Mask" "Not masked,Masked"
bitfld.long 0x00 2. "     IDSM    ,Inbound Doorbell Set Mask" "Not masked,Masked"
bitfld.long 0x00 0. "       IPNEM   ,Inbound Post List FIFO Not Empty Mask" "Not masked,Masked"
group 0x58++0x03
line.long 0x00 "I2O0_IOPIQ,I2O IOP Inbound Queue Port (32-bit version) Register"
hexmask.long 0x00 0.--31. 1. " IOPIQ   ,IOP Inbound Queue Port 32-bit Version"
group 0x5C++0x03
line.long 0x00 "I2O0_IOPOQ,I2O IOP Outbound Queue Port (32-bit version) Register"
hexmask.long 0x00 0.--31. 1. " IOPOQ   ,IOP Outbound Queue Port 32-bit Version"
group 0x60++0x01
line.word 0x00 "I2O0_IIFLH,I2O Inbound Free List Head Pointer Register"
hexmask.word 0x00 0.--14. 1. "     IIFLH   ,I2O Inbound Free List Head Pointer"
group 0x62++0x01
line.word 0x00 "I2O0_IIFLT,I2O Inbound Free List Tail Pointer Register"
bitfld.word 0x00 15. "     FIFOF   ,FIFO Full" "Not full,Full"
hexmask.word 0x00 0.--14. 1. "       IIFLT   ,Inbound Free List Tail Pointer"
group 0x64++0x01
line.word 0x00 "I2O0_IIPLH,I2O Inbound Post List Head Pointer Register"
hexmask.word 0x00 0.--14. 1. "     IIPLH   ,I2O Inbound Post List Head Pointer"
group 0x66++0x01
line.word 0x00 "I2O0_IIPLT,I2O Inbound Post List Tail Pointer Register"
bitfld.word 0x00 15. "     FIFOF   ,FIFO Full" "Not full,Full"
hexmask.word 0x00 0.--14. 1. "       IIPLT   ,Inbound Post List Tail Pointer"
group 0x68++0x01
line.word 0x00 "I2O0_IOFLH,I2O Outbound Free List Head Pointer Register"
hexmask.word 0x00 0.--14. 1. "     IOFLH   ,I2O Outbound Free List Head Pointer"
group 0x6A++0x01
line.word 0x00 "I2O0_IOFLT,I2O Outbound Free List Tail Pointer Register"
bitfld.word 0x00 15. "     FIFOF   ,FIFO Full" "Not full,Full"
hexmask.word 0x00 0.--14. 1. "       IOFLT   ,Outbound Free List Tail Pointer"
group 0x6C++0x01
line.word 0x00 "I2O0_IOPLH,I2O Outbound Post List Head Pointer Register"
hexmask.word 0x00 0.--14. 1. "     IOPLH   ,I2O Outbound Post List Head Pointer"
group 0x6E++0x01
line.word 0x00 "I2O0_IOPLT,I2O Outbound Post List Tail Pointer Register"
bitfld.word 0x00 15. "     FIFOF   ,FIFO Full" "Not full,Full"
hexmask.word 0x00 0.--14. 1. "       IOPLT   ,Outbound Post List Tail Pointer"
wgroup 0x70++0x03
line.long 0x00 "I2O0_IIDC,I2O Inbound Doorbell Clear Register"
hexmask.long 0x00 0.--31. 1. " IIDC    ,Inbound Doorbell Clear"
group 0x74++0x03
line.long 0x00 "I2O0_ICTL,I2O Control Register"
bitfld.long 0x00 4. " PULP1   ,Pulls use DMA Port 1" "Port 0,Port 1"
bitfld.long 0x00 2.--3. "         PLBPR   ,I2O Control PLB Priority" "0,1,2,3"
bitfld.long 0x00 1. "                PULEN   ,I2O Pull Enable" "-,Enabled"
wgroup 0x78++0x03
line.long 0x00 "I2O0_IFCPP,I2O Free CDB Pointer Port (32-bit version) Register"
hexmask.long 0x00 0.--31. 1. " IFCPP   ,Free CDB Pointer Port"
group 0x80++0x03
line.long 0x00 "I2O0_MFAC0,MFA Size Count 0"
hexmask.long 0x00 0.--15. 1. " ISGC0  ,MFA Size Count 0"
group 0x82++0x03
line.long 0x00 "I2O0_MFAC1,MFA Size Count 1"
hexmask.long 0x00 0.--15. 1. " ISGC1  ,MFA Size Count 1"
group 0x84++0x03
line.long 0x00 "I2O0_MFAC2,MFA Size Count 2"
hexmask.long 0x00 0.--15. 1. " ISGC2  ,MFA Size Count 2"
group 0x86++0x03
line.long 0x00 "I2O0_MFAC3,MFA Size Count 3"
hexmask.long 0x00 0.--15. 1. " ISGC3  ,MFA Size Count 3"
group 0x88++0x03
line.long 0x00 "I2O0_MFAC4,MFA Size Count 4"
hexmask.long 0x00 0.--15. 1. " ISGC4  ,MFA Size Count 4"
group 0x8A++0x03
line.long 0x00 "I2O0_MFAC5,MFA Size Count 5"
hexmask.long 0x00 0.--15. 1. " ISGC5  ,MFA Size Count 5"
group 0x8C++0x03
line.long 0x00 "I2O0_MFAC6,MFA Size Count 6"
hexmask.long 0x00 0.--15. 1. " ISGC6  ,MFA Size Count 6"
group 0x8E++0x03
line.long 0x00 "I2O0_MFAC7,MFA Size Count 7"
hexmask.long 0x00 0.--15. 1. " ISGC7  ,MFA Size Count 7"
group 0x90++0x01
line.word 0x00 "I2O0_IFCFH,I2O Free CDB FIFO Head Pointer Register"
bitfld.word 0x00 15. "     FFUL    ,Free CDB FIFO Full" "Not full,Full"
hexmask.word 0x00 0.--14. 1. "       FCFTP   ,Free CDB FIFO Head Pointer"
group 0x92++0x01
line.word 0x00 "I2O0_IFCHT,I2O Free CDB FIFO Tail Pointer Register"
bitfld.word 0x00 15. "     FIFOF   ,Free CDB FIFO Full" "Not full,Full"
hexmask.word 0x00 0.--14. 1. "       TPTR    ,Free CDB FIFO Tail Pointer"
group 0x98++0x03
line.long 0x00 "I2O0_IIFMC,I2O Interrupt Frequency Mode Control Register"
bitfld.long 0x00 31. " INTDM   ,Interrupt Delay Mode" "Trailing edge,Leading edge"
hexmask.long 0x00 0.--23. 1. "  INTDV   ,Interrupt Delay Value"
group 0x9C++0x03
line.long 0x00 "I2O0_IODB,I2O Outbound Doorbell Register"
bitfld.long 0x00 31. " UNIRQ   ,Unassigned Interrupt" "-,Interrupt"
bitfld.long 0x00 30. "      GDIRQ30 ,General Outbound Doorbell Interrupt Request Bit 30" "-,Interrupt"
bitfld.long 0x00 29. "        GDIRQ29 ,General Outbound Doorbell Interrupt Request Bit 29" "-,Interrupt"
textline "                     "
bitfld.long 0x00 28. " GDIRQ28 ,General Outbound Doorbell Interrupt Request Bit 28" "-,Interrupt"
bitfld.long 0x00 27. "      GDIRQ27 ,General Outbound Doorbell Interrupt Request Bit 27" "-,Interrupt"
bitfld.long 0x00 26. "        GDIRQ26 ,General Outbound Doorbell Interrupt Request Bit 26" "-,Interrupt"
textline "                     "
bitfld.long 0x00 25. " GDIRQ25 ,General Outbound Doorbell Interrupt Request Bit 25" "-,Interrupt"
bitfld.long 0x00 24. "      GDIRQ24 ,General Outbound Doorbell Interrupt Request Bit 24" "-,Interrupt"
bitfld.long 0x00 23. "        GDIRQ23 ,General Outbound Doorbell Interrupt Request Bit 23" "-,Interrupt"
textline "                     "
bitfld.long 0x00 22. " GDIRQ22 ,General Outbound Doorbell Interrupt Request Bit 22" "-,Interrupt"
bitfld.long 0x00 21. "      GDIRQ21 ,General Outbound Doorbell Interrupt Request Bit 21" "-,Interrupt"
bitfld.long 0x00 20. "        GDIRQ20 ,General Outbound Doorbell Interrupt Request Bit 20" "-,Interrupt"
textline "                     "
bitfld.long 0x00 19. " GDIRQ19 ,General Outbound Doorbell Interrupt Request Bit 19" "-,Interrupt"
bitfld.long 0x00 18. "      GDIRQ18 ,General Outbound Doorbell Interrupt Request Bit 18" "-,Interrupt"
bitfld.long 0x00 17. "        GDIRQ17 ,General Outbound Doorbell Interrupt Request Bit 17" "-,Interrupt"
textline "                     "
bitfld.long 0x00 16. " GDIRQ16 ,General Outbound Doorbell Interrupt Request Bit 16" "-,Interrupt"
bitfld.long 0x00 15. "      GDIRQ15 ,General Outbound Doorbell Interrupt Request Bit 15" "-,Interrupt"
bitfld.long 0x00 14. "        GDIRQ14 ,General Outbound Doorbell Interrupt Request Bit 14" "-,Interrupt"
textline "                     "
bitfld.long 0x00 13. " GDIRQ13 ,General Outbound Doorbell Interrupt Request Bit 13" "-,Interrupt"
bitfld.long 0x00 12. "      GDIRQ12 ,General Outbound Doorbell Interrupt Request Bit 12" "-,Interrupt"
bitfld.long 0x00 11. "        GDIRQ11 ,General Outbound Doorbell Interrupt Request Bit 11" "-,Interrupt"
textline "                     "
bitfld.long 0x00 10. " GDIRQ10 ,General Outbound Doorbell Interrupt Request Bit 10" "-,Interrupt"
bitfld.long 0x00 9. "      GDIRQ9  ,General Outbound Doorbell Interrupt Request Bit 9" "-,Interrupt"
bitfld.long 0x00 8. "        GDIRQ8  ,General Outbound Doorbell Interrupt Request Bit 8" "-,Interrupt"
textline "                     "
bitfld.long 0x00 7. " GDIRQ7  ,General Outbound Doorbell Interrupt Request Bit 7" "-,Interrupt"
bitfld.long 0x00 6. "      GDIRQ6  ,General Outbound Doorbell Interrupt Request Bit 6" "-,Interrupt"
bitfld.long 0x00 5. "        GDIRQ5  ,General Outbound Doorbell Interrupt Request Bit 5" "-,Interrupt"
textline "                     "
bitfld.long 0x00 4. " GDIRQ4  ,General Outbound Doorbell Interrupt Request Bit 4" "-,Interrupt"
bitfld.long 0x00 3. "      GDIRQ3  ,General Outbound Doorbell Interrupt Request Bit 3" "-,Interrupt"
bitfld.long 0x00 2. "        GDIRQ2  ,General Outbound Doorbell Interrupt Request Bit 2" "-,Interrupt"
textline "                     "
bitfld.long 0x00 1. " GDIRQ1  ,General Outbound Doorbell Interrupt Request Bit 1" "-,Interrupt"
bitfld.long 0x00 0. "      PMIRQ   ,Performant Mode Completion" "Low,High"
wgroup 0xA0++0x03
line.long 0x00 "I2O0_IODBC,I2O Outbound Doorbell Clear Register"
bitfld.long 0x00 31. " UNIRQ   ,Unassigned Interrupt" "Not cleared,Cleared"
bitfld.long 0x00 30. "    GDIRQ30 ,General Outbound Doorbell Interrupt Request Bit 30" "-,Interrupt"
bitfld.long 0x00 29. "        GDIRQ29 ,General Outbound Doorbell Interrupt Request Bit 29" "-,Interrupt"
textline "                     "
bitfld.long 0x00 28. " GDIRQ28 ,General Outbound Doorbell Interrupt Request Bit 28" "-,Interrupt"
bitfld.long 0x00 27. "      GDIRQ27 ,General Outbound Doorbell Interrupt Request Bit 27" "-,Interrupt"
bitfld.long 0x00 26. "        GDIRQ26 ,General Outbound Doorbell Interrupt Request Bit 26" "-,Interrupt"
textline "                     "
bitfld.long 0x00 25. " GDIRQ25 ,General Outbound Doorbell Interrupt Request Bit 25" "-,Interrupt"
bitfld.long 0x00 24. "      GDIRQ24 ,General Outbound Doorbell Interrupt Request Bit 24" "-,Interrupt"
bitfld.long 0x00 23. "        GDIRQ23 ,General Outbound Doorbell Interrupt Request Bit 23" "-,Interrupt"
textline "                     "
bitfld.long 0x00 22. " GDIRQ22 ,General Outbound Doorbell Interrupt Request Bit 22" "-,Interrupt"
bitfld.long 0x00 21. "      GDIRQ21 ,General Outbound Doorbell Interrupt Request Bit 21" "-,Interrupt"
bitfld.long 0x00 20. "        GDIRQ20 ,General Outbound Doorbell Interrupt Request Bit 20" "-,Interrupt"
textline "                     "
bitfld.long 0x00 19. " GDIRQ19 ,General Outbound Doorbell Interrupt Request Bit 19" "-,Interrupt"
bitfld.long 0x00 18. "      GDIRQ18 ,General Outbound Doorbell Interrupt Request Bit 18" "-,Interrupt"
bitfld.long 0x00 17. "        GDIRQ17 ,General Outbound Doorbell Interrupt Request Bit 17" "-,Interrupt"
textline "                     "
bitfld.long 0x00 16. " GDIRQ16 ,General Outbound Doorbell Interrupt Request Bit 16" "-,Interrupt"
bitfld.long 0x00 15. "      GDIRQ15 ,General Outbound Doorbell Interrupt Request Bit 15" "-,Interrupt"
bitfld.long 0x00 14. "        GDIRQ14 ,General Outbound Doorbell Interrupt Request Bit 14" "-,Interrupt"
textline "                     "
bitfld.long 0x00 13. " GDIRQ13 ,General Outbound Doorbell Interrupt Request Bit 13" "-,Interrupt"
bitfld.long 0x00 12. "      GDIRQ12 ,General Outbound Doorbell Interrupt Request Bit 12" "-,Interrupt"
bitfld.long 0x00 11. "        GDIRQ11 ,General Outbound Doorbell Interrupt Request Bit 11" "-,Interrupt"
textline "                     "
bitfld.long 0x00 10. " GDIRQ10 ,General Outbound Doorbell Interrupt Request Bit 10" "-,Interrupt"
bitfld.long 0x00 9. "      GDIRQ9  ,General Outbound Doorbell Interrupt Request Bit 9" "-,Interrupt"
bitfld.long 0x00 8. "        GDIRQ8  ,General Outbound Doorbell Interrupt Request Bit 8" "-,Interrupt"
textline "                     "
bitfld.long 0x00 7. " GDIRQ7  ,General Outbound Doorbell Interrupt Request Bit 7" "-,Interrupt"
bitfld.long 0x00 6. "      GDIRQ6  ,General Outbound Doorbell Interrupt Request Bit 6" "-,Interrupt"
bitfld.long 0x00 5. "        GDIRQ5  ,General Outbound Doorbell Interrupt Request Bit 5" "-,Interrupt"
textline "                     "
bitfld.long 0x00 4. " GDIRQ4  ,General Outbound Doorbell Interrupt Request Bit 4" "-,Interrupt"
bitfld.long 0x00 3. "      GDIRQ3  ,General Outbound Doorbell Interrupt Request Bit 3" "-,Interrupt"
bitfld.long 0x00 2. "        GDIRQ2  ,General Outbound Doorbell Interrupt Request Bit 2" "-,Interrupt"
textline "                     "
bitfld.long 0x00 1. " GDIRQ1  ,General Outbound Doorbell Interrupt Request Bit 1" "-,Interrupt"
bitfld.long 0x00 0. "      PMIRQ   ,Performant Mode Completion" "Not cleared,Cleared"
group 0xA4++0x03
line.long 0x00 "I2O0_IFBAL,I2O FIFO Base Address Low Register"
hexmask.long 0x00 12.--31. 0x1000 " IFBAL   ,I2O FIFO Base Address Low"
group 0xA8++0x03
line.long 0x00 "I2O0_IFBAH,I2O FIFO Base Address High Register"
hexmask.long 0x00 0.--31. 1. " IFBAH   ,I2O FIFO Base Address High"
group 0xAC++0x03
line.long 0x00 "I2O0_IFSIZ,I2O FIFO Size Register"
bitfld.long 0x00 28. " CDBFE   ,I2O Free CDB List FIFO Enable" "-,Enabled"
hexmask.long.word 0x00 16.--27. 1. "        CDBFS   ,I2O Free CDB List FIFO Size"
bitfld.long 0x00 15. "             OPLFE   ,Outbound Post List FIFO Enable" "-,Enabled"
textline "                     "
bitfld.long 0x00 14. " OFLFE   ,Outbound Free List FIFO Enable" "-,Enabled"
bitfld.long 0x00 13. "        IPLFE   ,Inbound Post List FIFO Enable" "-,Enabled"
bitfld.long 0x00 12. "          IFLFE   ,Inbound Free List FIFO Enable" "-,Enabled"
textline "                     "
hexmask.long.word 0x00 0.--11. 1. " IFSIZ   ,I2O FIFO Size"
group 0xB0++0x03
line.long 0x00 "I2O0_ISPD0,I2O Scratchpad 0"
hexmask.long 0x00 0.--31. 1. " ISPD0  ,Scrachpad 0"
group 0xB4++0x03
line.long 0x00 "I2O0_ISPD1,I2O Scratchpad 1"
hexmask.long 0x00 0.--31. 1. " ISPD1  ,Scrachpad 1"
group 0xB8++0x03
line.long 0x00 "I2O0_ISPD2,I2O Scratchpad 2"
hexmask.long 0x00 0.--31. 1. " ISPD2  ,Scrachpad 2"
group 0xBC++0x03
line.long 0x00 "I2O0_ISPD3,I2O Scratchpad 3"
hexmask.long 0x00 0.--31. 1. " ISPD3  ,Scrachpad 3"
group 0xC0++0x07
line.long 0x00 "I2O0_IHIPL,I2O Host Inbound Queue Port Low (64-bit version) Register"
line.long 0x04 "I2O0_IHIPH,I2O Host Inbound Queue Port High (64-bit version) Register"
group 0xC8++0x07
line.long 0x00 "I2O0_IHOPL,I2O Host Outbound Queue Port Low (64-bit version) Register"
line.long 0x04 "I2O0_IHOPH,I2O Host Outbound Queue Port High (64-bit version) Register"
group 0xD0++0x07
line.long 0x00 "I2O0_IIIPL,I2O IOP Inbound Queue Port Low (64-bit version) Register"
line.long 0x04 "I2O0_IIIPH,I2O IOP Inbound Queue Port High (64-bit version) Register"
group 0xD8++0x07
line.long 0x00 "I2O0_IIOPL,I2O IOP Outbound Queue Port Low (64-bit version) Register"
line.long 0x04 "I2O0_IIOPH,I2O IOP Outbound Queue Port High (64-bit version) Register"
group 0xE0++0x07
line.long 0x00 "I2O0_IFCPL,I2O Free CDB Pointer Port Low (64-bit version) Register"
line.long 0x04 "I2O0_IFCPH,I2O Free CDB Pointer Port High (64-bit version) Register"
rgroup 0xF0++0x03
line.long 0x00 "I2O0_IOPT,I20 Observability Port Register"
hexmask.long.word 0x00 22.--31. 1. " RRVEC   ,I2O Register Request Vector"
bitfld.long 0x00 21. "           PULSL   ,I2O Pull Select" "Not selected,Selected"
bitfld.long 0x00 8.--10. "     PSSM    ,PLB Slave State Machine" "00,01,10,11,?..."
textline "                     "
bitfld.long 0x00 6.--7. " MPMPS   ,FIFO Manager PLB Master Port Select" "00,01,10,11"
bitfld.long 0x00 3.--5. "             MPMSM   ,FIFO Manager PLB Master State Machine State" "00,01,10,11,?..."
bitfld.long 0x00 0.--2. "               BESMS   ,I2O Register (Back End) State Machine State" "00,01,10,11,?..."
endian.def
width 0xB
endif
tree.end
tree.end
;tree "IMU (I2O Messaging Unit)"
tree "MAL (Memory Access Layer)"
sif (cpu()=="PPC440GX")
width 15.
group dcr:0xf++0x0
saveout dcr:0xe %l 0x02A0
line.long 0x0 "SDR0_MALRBL,MAL Receive Burst Length Register 0"
bitfld.long 0x00 28.--30. " RBL0 ,MAL Receive Burst Length 0" "Reserved,Reserved,Reserved,Reserved,Reserved,64 words,Reserved,Reserved"
bitfld.long 0x00 24.--26. "  RBL1 ,MAL Receive Burst Length 1" "Reserved,Reserved,Reserved,Reserved,Reserved,64 words,Reserved,Reserved"
textline "                        "        
bitfld.long 0x00 20.--22. " RBL2 ,MAL Receive Burst Length 2" "Reserved,Reserved,Reserved,Reserved,Reserved,64 words,Reserved,Reserved"
bitfld.long 0x00 16.--18. "  RBL3 ,MAL Receive Burst Length 3" "Reserved,Reserved,Reserved,Reserved,Reserved,64 words,Reserved,Reserved"
group dcr:0xf++0x0
saveout dcr:0xe %l 0x02E0
line.long 0x0 "SDR0_MALRBS,MAL Receive Bus Size Register 0"
bitfld.long 0x00 28.--31. " RBS  ,MAL Receive Bus Size" "Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,128-bit"
group dcr:0xf++0x0
saveout dcr:0xe %l 0x0280
line.long 0x0 "SDR0_MALTBL,MAL Transmit Burst Length Register 0"
bitfld.long 0x00 28.--30. " TBL0 ,MAL Transfer Burst Length 0" "Reserved,Reserved,Reserved,Reserved,Reserved,64 words,Reserved,Reserved"
bitfld.long 0x00 24.--26. "  TBL1 ,MAL Transfer Burst Length 1" "Reserved,Reserved,Reserved,Reserved,Reserved,64 words,Reserved,Reserved"
textline "                        "        
bitfld.long 0x00 20.--22. " TBL2 ,MAL Transfer Burst Length 2" "Reserved,Reserved,Reserved,Reserved,Reserved,64 words,Reserved,Reserved"
bitfld.long 0x00 16.--18. "  TBL3 ,MAL Transfer Burst Length 3" "Reserved,Reserved,Reserved,Reserved,Reserved,64 words,Reserved,Reserved"
group dcr:0xf++0x0
saveout dcr:0xe %l 0x02C0
line.long 0x0 "SDR0_MALTBS,MAL Transmit Bus Size Register 0"
bitfld.long 0x00 28.--31. " TBS  ,MAL Transfer Bus Size" "Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,128-bit"
group dcr:0x180++0x2
line.long 0x0 "MAL0_CFG,MAL Configuration Register 0"
bitfld.long 0x00 31. " SR    ,MAL Software Reset" "-,Reset"
bitfld.long 0x00 22.--23. "         RPP   ,Read PLB Priority" "Lowest,Medium lower,Medium higher,Highest"
textline "                        "        
bitfld.long 0x00 20.--21. " RMBS  ,Read Max Burst Size" "4 transfers,8 transfers,16 transfers,32 transfers"
bitfld.long 0x00 18.--19. "  WPP   ,Write PLB Priority" "Lowest,Medium lower,Medium higher,Highest"
textline "                        "        
bitfld.long 0x00 16.--17. " WMBS  ,Write Max Burst Size" "4 transfers,8 transfers,16 transfers,32 transfers"
bitfld.long 0x00 15. "  PLBLE ,PLB Lock Error" "-,Applied"
textline "                        "
bitfld.long 0x00 14. " PLBB  ,PLB Burst" "-,Allowed"
bitfld.long 0x00 7. "       OPBBL ,OPB Bus Lock" "-,Locked"
textline "                        "
bitfld.long 0x00 2. " EOPIE ,End of Packet Interrupt Enable" "-,Enabled"
bitfld.long 0x00 1. "       LEA   ,Locked Error Active" "-,Active"
textline "                        "        
bitfld.long 0x00 0. " SD    ,MAL Scroll Descriptor" "-,Enabled"
line.long 0x4 "MAL0_ESR,MAL Error Status Register 0"
eventfld.long 0x4 31. " EVB            ,Error Valid Bit" "-,Valid"
eventfld.long 0x4 30. "       CIDT           ,Channel ID Type" "TX,RX"
textline "                        "        
eventfld.long 0x4 25.--29. " CID            ,Channel ID Number" "Channel 0,Channel 1,Channel 2,Channel 3,Channel 4,Channel 5,Channel 6,Channel 7,Channel 8,Channel 9,Channel 10,Channel 11,Channel 12,Channel 13,Channel 14,Channel 15,Channel 16,Channel 17,Channel 18,Channel 19,Channel 20,Channel 21,Channel 22,Channel 23,Channel 24,Channel 25,Channel 26,Channel 27,Channel 28,Channel 29,Channel 30,Channel 31"
eventfld.long 0x4 23. "  PTE            ,PLB Timeout Error" "-,Error"
textline "                        "        
eventfld.long 0x4 22. " PRE            ,PLB Read Error" "-,Error"
eventfld.long 0x4 21. "       PWE            ,PLB Write Error" "-,Error"
textline "                        "
eventfld.long 0x4 20. " DE             ,Descriptor Error" "-,Error"
eventfld.long 0x4 18. "       OTE            ,OPB Timeout Error" "-,Error"
textline "                        "
eventfld.long 0x4 17. " OSE            ,OPB Slave Error" "-,Error"
eventfld.long 0x4 16. "       PEIN           ,PLB Bus Error Indication" "-,Error"
textline "                        "        
eventfld.long 0x4 7. " PTEI           ,PLB Timeout Error Interrupt" "-,Error"
eventfld.long 0x4 6. "       PREI           ,PLB Read Error Interrupt" "-,Error"
textline "                        "
eventfld.long 0x4 5. " PWEI           ,PLB Write Error Interrupt" "-,Error"
eventfld.long 0x4 4. "       DEI            ,Descriptor Error Interrupt" "-,Error"
textline "                        "        
eventfld.long 0x4 2. " OTEI           ,OPB Timeout Error Interrupt" "-,Error"
eventfld.long 0x4 1. "       OSEI           ,OPB Slave Error Interrupt" "-,Error"
textline "                        "        
eventfld.long 0x4 0. " PBEI           ,PLB Bus Error Interrupt" "-,Error"
line.long 0x8 "MAL0_IER,MAL Interrupt Enable Register 0"
bitfld.long 0x8 7. " PT             ,PLB Timeout Interrupt" "-,Enabled"
bitfld.long 0x8 6. "     PRE            ,PLB Read Error Interrupt" "-,Enabled"
textline "                        "
bitfld.long 0x8 5. " PWE            ,PLB Write Error Interrupt" "-,Enabled"
bitfld.long 0x8 4. "     DE             ,Descriptor Error Interrupt" "-,Enabled"
textline "                        "        
bitfld.long 0x8 2. " OTE            ,OPB Timeout Error Interrupt" "-,Enabled"
bitfld.long 0x8 1. "     OE             ,OPB Error Interrupt" "-,Enabled"
textline "                        "
bitfld.long 0x8 0. " PE             ,PLB Error Interrupt" "-,Enabled"
group dcr:0x184++0x0
line.long 0x0 "MAL0_TXCAR,TX Channel_Active Register 0"
setclrfld.long 0x00 31. 0x00 31. 0x04 31. " TCA0_Clear/Set ,Transmit Channel 0 Active" "-,Enabled"
setclrfld.long 0x00 30. 0x00 30. 0x04 30. "     TCA1_Clear/Set ,Transmit Channel 1 Active" "-,Enabled"
textline "                        "      
setclrfld.long 0x00 29. 0x00 29. 0x04 29. " TCA2_Clear/Set ,Transmit Channel 2 Active" "-,Enabled"
setclrfld.long 0x00 28. 0x00 28. 0x04 28. "     TCA3_Clear/Set ,Transmit Channel 3 Active" "-,Enabled"    
group dcr:0x186++0x3
line.long 0x0 "MAL0_TXEOBISR,TX End of Buffer Interrupt Status Register 0"
eventfld.long 0x00 31. " TCEI0          ,Transmit Channel 0 End-of-Buffer Interrupt" "-,Interrupt"
eventfld.long 0x00 30. "   TCEI1          ,Transmit Channel 1 End-of-Buffer Interrupt" "-,Interrupt"
textline "                        "      
eventfld.long 0x00 29. " TCEI2          ,Transmit Channel 2 End-of-Buffer Interrupt" "-,Interrupt"
eventfld.long 0x00 28. "   TCEI3          ,Transmit Channel 3 End-of-Buffer Interrupt" "-,Interrupt"
line.long 0x4 "MAL0_TXDEIR,Descriptor Error Interrupt Register 0"
eventfld.long 0x4 31. " TXDE0          ,Transmit Descriptor Error Interrupt 0" "-,Interrupt"
eventfld.long 0x4 30. "   TXDE1          ,Transmit Descriptor Error Interrupt 1" "-,Interrupt"
textline "                        "      
eventfld.long 0x4 29. " TXDE2          ,Transmit Descriptor Error Interrupt 2" "-,Interrupt"
eventfld.long 0x4 28. "   TXDE3          ,Transmit Descriptor Error Interrupt 3" "-,Interrupt"
line.long 0x8 "MAL0_TXTATTRR,TX PLB Attribute Register 0"
hexmask.long.word 0x8 16.--31. 1. " TXPLBSA        ,TX PLB Storage Attributes"
line.long 0xC "MAL0_TXBADDR,TX Descriptor Base Address Register 0"
bitfld.long 0xC 0.--3. " DBA            ,Descriptor Base Address" "0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F"
group dcr:0x190++0x0
line.long 0x0 "MAL0_RXCAR,RX Channel Active"
setclrfld.long 0x0 31. 0x0 31. 0x4 31. " RCA0_Clear/Set ,Receive Channel 0 Active" "-,Enabled"
setclrfld.long 0x0 30. 0x0 30. 0x4 30. "     RCA1_Clear/Set ,Receive Channel 1 Active" "-,Enabled"
textline "                        "      
setclrfld.long 0x0 29. 0x0 29. 0x4 29. " RCA2_Clear/Set ,Receive Channel 2 Active" "-,Enabled"
setclrfld.long 0x0 28. 0x0 28. 0x4 28. "     RCA3_Clear/Set ,Receive Channel 3 Active" "-,Enabled"
group dcr:0x192++0x3
line.long 0x0 "MAL0_RXEOBISR,RX End of Buffer Interrupt Status Register 0"
eventfld.long 0x00 31. " RCEI0          ,Receive Channel 0 End-of-Buffer Interrupt" "-,Interrupt"
eventfld.long 0x00 30. "   RCEI1          ,Receive Channel 1 End-of-Buffer Interrupt" "-,Interrupt"
textline "                        "      
eventfld.long 0x00 29. " RCEI2          ,Receive Channel 2 End-of-Buffer Interrupt" "-,Interrupt"
eventfld.long 0x00 28. "   RCEI3          ,Receive Channel 3 End-of-Buffer Interrupt" "-,Interrupt"
line.long 0x4 "MAL0_RXDEIR,RX Descriptor Error Interrupt Register"
eventfld.long 0x4 31. " RXDE0          ,Receive Descriptor Error Interrupt 0" "-,Interrupt"
eventfld.long 0x4 30. "   RXDE1          ,Receive Descriptor Error Interrupt 1" "-,Interrupt"
textline "                        "      
eventfld.long 0x4 29. " RXDE2          ,Receive Descriptor Error Interrupt 2" "-,Interrupt"
eventfld.long 0x4 28. "   RXDE3          ,Receive Descriptor Error Interrupt 3" "-,Interrupt"
line.long 0x8 "MAL0_RXTATTRR,RX PLB Attribute Register"
hexmask.long.word 0x8 16.--31. 1. " RXPLBSA        ,RX PLB Storage Attributes"
line.long 0xC "MAL0_RXBADDR,RX Descriptor Base Address Register 0"
bitfld.long 0xC 0.--3. " DBA            ,Descriptor Base Address" "0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F"
group dcr:0x1a0++0x3
line.long 0x0 "MAL0_TXCTP0R,Channel TX 0 Table Pointer Register 0"
line.long 0x4 "MAL0_TXCTP1R,Channel TX 1 Table Pointer Register 0"
line.long 0x8 "MAL0_TXCTP2R,Channel TX 2 Table Pointer Register 0"
line.long 0xC "MAL0_TXCTP3R,Channel TX 3 Table Pointer Register 0"
group dcr:0x1c0++0x3
line.long 0x0 "MAL0_RXCTP0R,Channel RX 0 Table Pointer Register 0"
line.long 0x4 "MAL0_RXCTP1R,Channel RX 1 Table Pointer Register 0"
line.long 0x8 "MAL0_RXCTP2R,Channel RX 2 Table Pointer Register 0"
line.long 0xC "MAL0_RXCTP3R,Channel RX 3 Table Pointer Register 0"
group dcr:0x1E0++0x3
line.long 0x0 "MAL0_RCBS0,RX Channel 0 Buffer Size Register 0"
hexmask.long.word 0x00 0.--7. 0x10 " RCBS           ,Receive Channel Buffer Size"
line.long 0x4 "MAL0_RCBS1,RX Channel 1 Buffer Size Register 0"
hexmask.long.word 0x4 0.--7. 0x10 " RCBS           ,Receive Channel Buffer Size"
line.long 0x8 "MAL0_RCBS2,RX Channel 2 Buffer Size Register 0"
hexmask.long.word 0x8 0.--7. 0x10 " RCBS           ,Receive Channel Buffer Size"
line.long 0xC "MAL0_RCBS3,RX Channel 3 Buffer Size Register 0"
hexmask.long.word 0xC 0.--7. 0x10 " RCBS           ,Receive Channel Buffer Size"
width 0xB
elif (cpu()=="PPC440GP")
width 15.
group dcr:0x180++0x0
line.long 0x0 "MAL0_CFG,Configuration Register"
bitfld.long 0x00 31. " SR             ,MAL Software Reset" "Completed,Reset"
bitfld.long 0x00 22.--23. "                 RPP            ,Read PLB Priority" "Lowest,Reserved,Reserved,Highest"
textline "                        "        
bitfld.long 0x00 20.--21. " RMBS           ,Read Max Burst Size" "4,8,16,32"
bitfld.long 0x00 18.--19. "                        WPP            ,Write PLB Priority" "Lowest,Reserved,Reserved,Highest"
textline "                        "        
bitfld.long 0x00 16.--17. " WMBS           ,Write Max Burst Size" "4,8,16,32"
bitfld.long 0x00 15. "                        PLBLE          ,PLB Lock Error" "Not applied,Applied"
textline "                        "
bitfld.long 0x00 14. " PLBB           ,PLB Burst" "Not allowed,Allowed"
bitfld.long 0x00 7. "               OPBBL          ,OPB Bus Lock" "Not locked,Locked"
textline "                        "        
bitfld.long 0x00 2. " EOPIE          ,End of Packet Interrupt Enable" "Generate if I bit is set,Generate"
bitfld.long 0x00 1. "  LEA            ,Locked Error Active" "Non-locked mode,Locked Mode"
textline "                        "        
bitfld.long 0x00 0. " SD             ,MAL Scroll Descriptor" "-,Enabled"
group dcr:0x181++0x0
line.long 0x0 "MAL0_ESR,Error Status Register"
eventfld.long 0x00 31. " EVB            ,Error Valid Bit (bits 1:15)" "Available for latching,Contain last error"
eventfld.long 0x00 30. "    CIDT           ,Channel ID Type" "RX,TX"
textline "                        "        
eventfld.long 0x00 25.--29. " CID            ,Channel ID Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
eventfld.long 0x00 23. "                        PTE            ,PLB Timeout Error" "-,Error"
textline "                        "        
eventfld.long 0x00 22. " PRE            ,PLB Read Error" "-,Error"
eventfld.long 0x00 21. "                     PWE            ,PLB Write Error" "-,Error"
textline "                        "
eventfld.long 0x00 20. " DE             ,Descriptor Error" "-,Error"
eventfld.long 0x00 18. "                     OTE            ,OPB Timeout Error" "-,Error"
textline "                        "        
eventfld.long 0x00 17. " OSE            ,OPB Slave Error" "-,Error"
eventfld.long 0x00 16. "                     PEIN           ,PLB Bus Error Indication" "-,Error"
textline "                        "        
eventfld.long 0x00 7. " PTEI           ,PLB Timeout Error Interrupt" "-,Error"
eventfld.long 0x00 6. "                     PREI           ,PLB Read Error Interrupt" "-,Error"
textline "                        "
eventfld.long 0x00 5. " PWEI           ,PLB Write Error Interrupt" "-,Error"
eventfld.long 0x00 4. "                     DEI            ,Descriptor Error Interrupt" "-,Error"
textline "                        "        
eventfld.long 0x00 2. " OTEI           ,OPB Timeout Error Interrupt" "-,Error"
eventfld.long 0x00 1. "                     OSEI           ,OPB Slave Error Interrupt" "-,Error"
textline "                        "        
eventfld.long 0x00 0. " PBEI           ,PLB Bus Error Interrupt" "-,Error"
group dcr:0x182++0x0
line.long 0x0 "MAL0_IER,Interrupt Enable Register"
bitfld.long 0x00 7. " PT             ,PLB Timeout Interrupt" "-,Enabled"
bitfld.long 0x00 6. "                   PRE            ,PLB Read Error Interrupt" "-,Enabled"
textline "                        "        
bitfld.long 0x00 5. " PWE            ,PLB Write Error Interrupt" "-,Enabled"
bitfld.long 0x00 4. "                   DE             ,Descriptor Error Interrupt" "-,Enabled"
textline "                        "        
bitfld.long 0x00 2. " OTE            ,OPB Timeout Error Interrupt" "-,Enabled"
bitfld.long 0x00 1. "                   OE             ,OPB Error Interrupt" "-,Enabled"
textline "                        "
bitfld.long 0x00 0. " PE             ,PLB Error Interrupt" "-,Enabled"
group dcr:0x184++0x01
line.long 0x0 "MAL0_TXCASR,TX Channel Active"
setclrfld.long 0x00 31. 0x00 31. 0x04 31. " TCA0_Clear/Set ,Transmit Channel 0 Active" "-,Enabled"
setclrfld.long 0x00 30. 0x00 30. 0x04 30. "                   TCA1_Clear/Set ,Transmit Channel 1 Active" "-,Enabled"
textline "                        "        
setclrfld.long 0x00 29. 0x00 29. 0x04 29. " TCA2_Clear/Set ,Transmit Channel 2 Active" "-,Enabled"
setclrfld.long 0x00 28. 0x00 28. 0x04 28. "                   TCA3_Clear/Set ,Transmit Channel 3 Active" "-,Enabled"    
group dcr:0x186++0x0
line.long 0x0 "MAL0_TXEOBISR,TX End of Buffer Interrupt Status Register"
eventfld.long 0x00 31. " TCEI0          ,Transmit Channel 0 End-of-Buffer Interrupt" "Not finished,Finished"
eventfld.long 0x00 30. "              TCEI1          ,Transmit Channel 1 End-of-Buffer Interrupt" "Not finished,Finished"
textline "                        "        
eventfld.long 0x00 29. " TCEI2          ,Transmit Channel 2 End-of-Buffer Interrupt" "Not finished,Finished"
eventfld.long 0x00 28. "              TCEI3          ,Transmit Channel 3 End-of-Buffer Interrupt" "Not finished,Finished"
group dcr:0x187++0x0
line.long 0x0 "MAL0_TXDEIR,TX Descriptor Error Interrupt Register"
eventfld.long 0x00 31. " TXDE0          ,Transmit Channel 0 Descriptor Error Interrupt" "-,Error"
eventfld.long 0x00 30. "                     TXDE1          ,Transmit Channel 1 Descriptor Error Interrupt" "-,Error"
textline "                        "        
eventfld.long 0x00 29. " TXDE2          ,Transmit Channel 2 Descriptor Error Interrupt" "-,Error"
eventfld.long 0x00 28. "                     TXDE3          ,Transmit Channel 3 Descriptor Error Interrupt" "-,Error"
group dcr:0x188++0x0
line.long 0x0 "MAL0_TXTATTRR,TX PLB Attribute Register"
hexmask.long.word 0x00 16.--31. 1. " TXTATTRR       ,TX PLB Storage Attributes"
group dcr:0x189++0x0
line.long 0x0 "MAL0_TXBADDR,TX Descriptor Base Address Register"
hexmask.long.byte 0x00 0.--3. 1. " DBA            ,Descriptor Base Address"
group dcr:0x190++0x01
line.long 0x0 "MAL0_RXCASR,RX Channel Active"
setclrfld.long 0x00 31. 0x00 31. 0x04 31. " RCA0_Clear/Set ,Receive Channel 0 Active" "-,Enabled"
setclrfld.long 0x00 30. 0x00 30. 0x04 30. "                   RCA1_Clear/Set ,Receive Channel 1 Active" "-,Enabled"
group dcr:0x192++0x0
line.long 0x0 "MAL0_RXEOBISR,RX End of Buffer Interrupt Status Register"
eventfld.long 0x00 31. " RCEI0          ,Receive Channel 0 End-of-Buffer Interrupt" "Not finished,Finished"
eventfld.long 0x00 30. "              RCEI1          ,Receive Channel 1 End-of-Buffer Interrupt" "Not finished,Finished"
textline "                        "        
eventfld.long 0x00 29. " RCEI2          ,Receive Channel 2 End-of-Buffer Interrupt" "Not finished,Finished"
eventfld.long 0x00 28. "              RCEI3          ,Receive Channel 3 End-of-Buffer Interrupt" "Not finished,Finished"
group dcr:0x193++0x0
line.long 0x0 "MAL0_RXDEIR,RX Descriptor Error Interrupt Register"
eventfld.long 0x00 31. " RXDE0          ,Receive Channel 0 Descriptor Error Interrupt" "-,Error"
eventfld.long 0x00 30. "                     RXDE1          ,Receive Channel 1 Descriptor Error Interrupt" "-,Error"
group dcr:0x194++0x01
line.long 0x0 "MAL0_RXTATTRR,RX PLB Attribute Register"
hexmask.long.word 0x00 16.--31. 1. " RXTATTRR       ,RX PLB Storage Attributes"
line.long 0x04 "MAL0_RXBADDR,RX Descriptor Base Address Register"
hexmask.long 0x04 0.--3. 1. " DBA            ,Descriptor Base Address"
group dcr:0x1a0++0x0
line.long 0x0 "MAL0_TXCTP0R,Channel TX 0 Channel Table Pointer Register"
hexmask.long.long 0x00 0.--31. 1. " TP0R           ,Channel Table Pointer"
group dcr:0x1a1++0x0
line.long 0x0 "MAL0_TXCTP1R,Channel TX 1 Channel Table Pointer Register"
hexmask.long.long 0x00 0.--31. 1. " TP1R           ,Channel Table Pointer"
group dcr:0x1a2++0x0
line.long 0x0 "MAL0_TXCTP2R,Channel TX 2 Channel Table Pointer Register"
hexmask.long.long 0x00 0.--31. 1. " TP2R           ,Channel Table Pointer"
group dcr:0x1a3++0x0
line.long 0x0 "MAL0_TXCTP3R,Channel TX 3 Channel Table Pointer Register"
hexmask.long.long 0x00 0.--31. 1. " TP3R           ,Channel Table Pointer"
group dcr:0x1c0++0x0
line.long 0x0 "MAL0_RXCTP0R,Channel RX 0 Channel Table Pointer Register"
hexmask.long.long 0x00 0.--31. 1. " RP0R           ,Channel Table Pointer"
group dcr:0x1c1++0x0
line.long 0x0 "MAL0_RXCTP1R,Channel RX 1 Channel Table Pointer Register"
hexmask.long.long 0x00 0.--31. 1. " RP1R           ,Channel Table Pointer"
group dcr:0x1E0++0x0
line.long 0x0 "MAL0_RCBS0,Channel RX Channel 0 Buffer Size Registers"
hexmask.long.byte 0x00 0.--7. 1. " BS0            ,Receive Channel Buffer Size"
group dcr:0x1E1++0x0
line.long 0x0 "MAL0_RCBS1,Channel RX Channel 1 Buffer Size Registers"
hexmask.long.byte 0x00 0.--7. 1. " BS1            ,Receive Channel Buffer Size"
elif ((cpu()=="PPC440EPX")||(cpu()=="PPC440GRX"))
;Memory Access Layer
width 0x0F
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x02A0
line.long 0x00 "SDR0_MALRBL,MAL Receive Burst Length Register"
bitfld.long 0x00 28.--30. " RBL0  ,MAL Receive Burst Length 0" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 24.--26. "          RBL1   ,MAL Receive Burst Length 1" "0,1,2,3,4,5,6,7"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x02E0
line.long 0x00 "SDR0_MALRBS,MAL Receive Bus Size Register"
bitfld.long 0x00 28.--31. " RBS   ,MAL Receive Bus Size" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x0280
line.long 0x00 "SDR0_MALTBL,MAL Transmit Burst Length Register"
bitfld.long 0x00 28.--30. " TBL0  ,MAL Transmit Burst Length 0" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 24.--26. "          TBL1   ,MAL Transmit Burst Length 1" "0,1,2,3,4,5,6,7"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x02C0
line.long 0x00 "SDR0_MALTBS,MAL Transmit Bus Size Register"
bitfld.long 0x00 28.--31. " TBS   ,MAL Transmit Bus Size" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
group dcr:0x0180++0x00
line.long 0x00 "MAL0_CFG,MAL,Configuration Register"
bitfld.long 0x00 31. " SR    ,MAL Software Reset" "-,Reset"
bitfld.long 0x00 22.--23. "      RPP    ,Read PLB Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 20.--21. "    RMBS   ,Read Max Burst Size" "4,8,16,32"
textline "                        "
bitfld.long 0x00 18.--19. " WPP   ,Write PLB Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 16.--17. "    WMBS   ,Write Max Burst Size" "4,8,16,32"
bitfld.long 0x00 15. "         PLBLE  ,PLB Lock Error" "-,Error"
textline "                        "
bitfld.long 0x00 14. " PLBB  ,PLB Burst" "-,Allowed"
bitfld.long 0x00 7. "    OPBBL  ,OPB Bus Lock" "-,Locked"
bitfld.long 0x00 2. "     EOPIE  ,End of Packet Interrupt Enable" "-,Enabled"
textline "                        "
bitfld.long 0x00 1. " LEA   ,Locked Error Active" "-,Error"
bitfld.long 0x00 0. "      SD     ,MAL Scroll Descriptor" "-,Scroll"
group dcr:0x0184++0x00
line.long 0x000 "MAL0_TXCASR,Transmit Channel Active Set Register"
bitfld.long 0x000 31. " TCAS0 ,Transmit Channel 0 Active Set" "-,Enabled"
bitfld.long 0x000 30. "    TCAS1  ,Transmit Channel 1 Active Set" "-,Enabled"
group dcr:0x185++0x00
line.long 0x00 "MAL0_TXCARR,Transmit Channel Active Reset Register"
bitfld.long 0x00 31. " TCAR0 ,Transmit Channel 0 Active Reset" "-,Enabled"
bitfld.long 0x00 30. "    TCAR1  ,Transmit Channel 1 Active Reset" "-,Enabled"
group dcr:0x0190++0x00
line.long 0x00 "MAL0_RXCASR,Receive Channel Active Set Register"
bitfld.long 0x00 31. " RCAS0 ,Receive Channel 0 Active Set" "-,Enabled"
bitfld.long 0x00 30. "    RCAS1  ,Receive Channel 1 Active Set" "-,Enabled"
group dcr:0x191++0x00
line.long 0x00 "MAL0_RXCARR,Receive Channel Active Reset Register"
bitfld.long 0x00 31. " RCAR0 ,Receive Channel 0 Active Reset" "-,Enabled"
bitfld.long 0x00 30. "    RCAR1  ,Receive Channel 1 Active Reset" "-,Enabled"
group dcr:0x186++0x00
line.long 0x00 "MAL0_TXEOBISR,Transmit End of Buffer Interrupt Status Register"
eventfld.long 0x00 31. " TCEI0 ,Transmit Channel 0 End of Buffer Interrupt" "-,End"
eventfld.long 0x00 30. "        TCEI1  ,Transmit Channel 1 End of Buffer Interrupt" "-,End"
group dcr:0x192++0x00
line.long 0x00 "MAL0_RXEOBISR,Receive End of Buffer Interrupt Status Register"
eventfld.long 0x00 31. " RCEI0 ,Receive Channel 0 End of Buffer Interrupt" "-,End"
eventfld.long 0x00 30. "        RCEI1  ,Receive Channel 1 End of Buffer Interrupt" "-,End"
group dcr:0x181++0x00
line.long 0x000 "MAL0_ESR,MAL Error Status Register"
eventfld.long 0x00 31. " EVB   ,Error Valid Bit" "-,Valid"
eventfld.long 0x00 30. "      CIDT   ,Channel ID Type" "RX,TX"
hexmask.long.byte 0x00 25.--29. 1. "         CID    ,Channel ID"
textline "                        "
eventfld.long 0x00 23. " PTE   ,PLB Timeout Error" "-,Error"
eventfld.long 0x00 22. "      PRE    ,PLB Read Error" "-,Error"
eventfld.long 0x00 21. "      PWE    ,PLB Write Error" "-,Error"
textline "                        "
eventfld.long 0x00 20. " DE    ,Descriptor Error" "-,Error"
eventfld.long 0x00 18. "      OTE    ,OPB Timeout Error" "-,Error"
eventfld.long 0x00 17. "      OSE    ,OPB Slave Error" "-,Error"
textline "                        "
eventfld.long 0x00 16. " PEIN  ,PLB Bus Error Indication" "-,Error"
eventfld.long 0x00 7. "      PTEI   ,PLB Timeout Error Interrupt" "-,Interrupt"
eventfld.long 0x00 6. "  PREI   ,PLB Read Error Interrupt" "-,Interrupt"
textline "                        "
eventfld.long 0x00 5. " PWEI  ,PLB Write Error Interrupt" "-,Interrupt"
eventfld.long 0x00 4. "  DEI    ,Descriptor Error Interrupt" "-,Interrupt"
eventfld.long 0x00 2. "  OTEI   ,OPB Timeout Error Interrupt" "-,Interrupt"
textline "                        "
eventfld.long 0x00 1. " OSEI  ,OPB Slave Error Interrupt" "-,Interrupt"
eventfld.long 0x00 0. "  PBEI   ,PLB Bus Error Interrupt" "-,Interrupt"
group dcr:0x182++0x00
line.long 0x00 "MAL0_IER,MAL Interrupt Enable Register"
bitfld.long 0x00 7. " PT    ,PLB Timeout Interrupt" "-,Enabled"
bitfld.long 0x00 6. "    PRE    ,PLB Read Error Interrupt" "-,Enabled"
bitfld.long 0x00 5. "    PWE    ,PLB Write Error Interrupt" "-,Enabled"
textline "                        "
bitfld.long 0x00 4. " DE    ,Descriptor Error Interrupt" "-,Enabled"
bitfld.long 0x00 2. "    OTE    ,OPB Timeout Error Interrupt" "-,Enabled"
bitfld.long 0x00 1. "    OE     ,OPB Error Interrupt" "-,Enabled"
textline "                        "
bitfld.long 0x00 0. " PE    ,PLB Error Interrupt" "-,Enabled"
group dcr:0x187++0x00
line.long 0x00 "MAL0_TXDEIR,Transmit Descriptor Error Interrupt Register"
eventfld.long 0x00 31. " TXDE0 ,Transmit Channel 0 Descriptor Error Interrupt" "-,Interrupt"
eventfld.long 0x00 30. "  TXDE1  ,Transmit Channel 1 Descriptor Error Interrupt" "-,Interrupt"
group dcr:0x193++0x00
line.long 0x00 "MAL0_RXDEIR,Receive Descriptor Error Interrupt Register"
eventfld.long 0x00 31. " RXDE0 ,Receive Channel 0 Descriptor Error Interrupt" "-,Interrupt"
eventfld.long 0x00 30. "  RXDE1  ,Receive Channel 1 Descriptor Error Interrupt" "-,Interrupt"
group dcr:0x188++0x00
line.long 0x00 "MAL0_TXTATTRR,TX PLB Attribute Register"
hexmask.long.word 0x00 16.--31. 1. " PLBSA ,TX PLB Storage Attributes"
group dcr:0x194++0x00
line.long 0x00 "MAL0_RXTATTRR,RX PLB Attribute Register"
hexmask.long.word 0x00 16.--31. 1. " PLBSA ,RX PLB Storage Attributes"
group dcr:0x189++0x00
line.long 0x00 "MAL0_TXBADDR,TX Descriptor Base Address Register"
bitfld.long 0x00 0.--3. " DBA   ,Descriptor Base Address" "0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F"
group dcr:0x195++0x00
line.long 0x00 "MAL0_RXBADDR,RX Descriptor Base Address Register"
bitfld.long 0x00 0.--3. " DBA   ,Descriptor Base Address" "0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F"
group dcr:0x1A0++0x00
line.long 0x00 "MAL0_TXCTP0R,TX Channel 0 Table Pointer Register"
group dcr:0x1A1++0x00
line.long 0x00 "MAL0_TXCTP1R,TX Channel 1 Table Pointer Register"
group dcr:0x1C0++0x00
line.long 0x00 "MAL0_RXCTP0R,RX Channel 0 Table Pointer Register"
group dcr:0x1C1++0x00
line.long 0x00 "MAL0_RXCTP1R,RX Channel 1 Table Pointer Register"
group dcr:0x1E0++0x00
line.long 0x00 "MAL0_RCBS0,RX Channel 0 Buffer Size Register"
hexmask.long.byte 0x00 0.--7. 1. " RCBS  ,Receive Channel Buffer Size"
group dcr:0x1E1++0x00
line.long 0x00 "MAL0_RCBS1,RX Channel 1 Buffer Size Register"
hexmask.long.byte 0x00 0.--7. 1. " RCBS  ,Receive Channel Buffer Size"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x430B
line.long 0x00 "SDR0_ICCRTX,Interrupt Coalescing Control Transmit Register"
hexmask.long.word 0x00 23.--31. 1. " FTHR0 ,Frame Count Threshold 0"
bitfld.long 0x00 22. "       FLUSH0 ,Flush with no Interrupt 0" "-,Flushed"
bitfld.long 0x00 21. "    FLUWI0 ,Flush with Interrupt 0" "-,Flushed"
textline "                        "
hexmask.long.word 0x00 12.--20. 1. " FTHR1 ,Frame Count Threshold 1" 
bitfld.long 0x00 11. "       FLUSH1 ,Flush with no Interrupt 1" "-,Flushed"
bitfld.long 0x00 10. "    FLUWI1 ,Flush with Interrupt 1" "-,Flushed"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x430C
line.long 0x00 "SDR0_ICCRRX,Interrupt Coalescing Control Receive Register"
hexmask.long.word 0x00 23.--31. 1. " FTHR0 ,Frame Count Threshold 0" 
bitfld.long 0x00 22. "       FLUSH0 ,Flush with no Interrupt 0" "-,Flushed"
bitfld.long 0x00 21. "    FLUWI0 ,Flush with Interrupt 0" "-,Flushed"
textline "                        "
hexmask.long.word 0x00 12.--20. 1. " FTHR1 ,Frame Count Threshold 1"
bitfld.long 0x00 11. "       FLUSH1 ,Flush with no Interrupt 1" "-,Flushed"
bitfld.long 0x00 10. "    FLUWI1 ,Flush with Interrupt 1" "-,Flushed"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x430D
line.long 0x00 "SDR0_ICTRTX0,Interrupt Coalescing Timer Register Transmit Channel 0"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x430E
line.long 0x00 "SDR0_ICTRTX1,Interrupt Coalescing Timer Register Transmit Channel 1"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x430F
line.long 0x00 "SDR0_ICTRRX0,Interrupt Coalescing Timer Register Receive Channel 0"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4310
line.long 0x00 "SDR0_ICTRRX1,Interrupt Coalescing Timer Register Receive Channel 1"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4307
line.long 0x00 "SDR0_ICSRTX0,Interrupt Coalescing Status Register Transmit Channel 0"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4308
line.long 0x00 "SDR0_ICSRTX1,Interrupt Coalescing Status Register Transmit Channel 1"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4309
line.long 0x00 "SDR0_ICSRRX0,Interrupt Coalescing Status Register Receive Channel 0"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x430A
line.long 0x00 "SDR0_ICSRRX1,Interrupt Coalescing Status Register Receive Channel 1"
width 0x0B
elif (cpu()=="PPC440GR")
;Memory Access Layer
width 15.
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x02A0
line.long 0x00 "SDR0_MALRBL,MAL Receive Burst Length Register"
bitfld.long 0x00 29.--30. " RBL0  ,MAL Receive Burst Length 0" "2 words,4 words,8 words,16 words"
bitfld.long 0x00 25.--26. "      RBL1  ,MAL Receive Burst Length 1" "2 words,4 words,8 words,16 words"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x0280
line.long 0x00 "SDR0_MALTBL,MAL Transmit Burst Length Register"
bitfld.long 0x00 29.--30. " TBL0  ,MAL Transmit Burst Length 0" "2 words,4 words,8 words,16 words"
bitfld.long 0x00 25.--26. "      TBL1  ,MAL Transmit Burst Length 1" "2 words,4 words,8 words,16 words"
group dcr:0x0180++0x00
line.long 0x00 "MAL0_CFG,MAL,Configuration Register"
bitfld.long 0x00 31. " SR    ,MAL Software Reset" "-,Reset"
bitfld.long 0x00 22.--23. "         PLBP  ,PLB Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 21. "    GA    ,Guarded Active" "-,Active"
textline "                        "
bitfld.long 0x00 20. " OA    ,Ordered Active" "-,Active"
bitfld.long 0x00 19. "        PLBLE ,PLB Lock Error" "-,Error"
bitfld.long 0x00 15.--18. "      PLBLT ,PLB Latency Timer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "                        "
bitfld.long 0x00 14. " PLBB  ,PLB Burst" "-,Burst"
bitfld.long 0x00  7. "         OPBBL ,OPB Bus Lock" "-,Locked"
bitfld.long 0x00  2. "     EOPIE ,End of Packet Interrupt Enable" "-,Enabled"
textline "                        "
bitfld.long 0x00  1. " LEA   ,Locked Error Active" "-,Active"
bitfld.long 0x00  0. "        SD    ,MAL Scroll Descriptor" "Not scrolled,Scrolled"
group dcr:0x0184++0x00
line.long 0x00 "MAL0_TXCASR,Transmit Channel Active Set Register"
bitfld.long 0x00 31. " CH0   ,Transmit Channel 0 Active Set" "-,Enabled"
bitfld.long 0x00 30. "       CH1   ,Transmit Channel 1 Active Set" "-,Enabled"
bitfld.long 0x00 29. "    CH2   ,Transmit Channel 2 Active Set" "-,Enabled"
textline "                        "
bitfld.long 0x00 28. " CH3   ,Transmit Channel 3 Active Set" "-,Enabled"
group dcr:0x185++0x00
line.long 0x00 "MAL0_TXCARR,Transmit Channel Active Reset Register"
bitfld.long 0x00 31. " CH0   ,Transmit Channel 0 Active Reset" "-,Enabled"
bitfld.long 0x00 30. "       CH1   ,Transmit Channel 1 Active Reset" "-,Enabled"
bitfld.long 0x00 29. "    CH2   ,Transmit Channel 2 Active Reset" "-,Enabled"
textline "                        "
bitfld.long 0x00 28. " CH3   ,Transmit Channel 3 Active Reset" "-,Enabled"
group dcr:0x0190++0x00
line.long 0x00 "MAL0_RXCASR,Receive Channel Active Set Register"
bitfld.long 0x00 31. " CH0   ,Receive Channel 0 Active Set" "-,Enabled"
bitfld.long 0x00 30. "       CH1   ,Receive Channel 1 Active Set" "-,Enabled"
group dcr:0x0191++0x00
line.long 0x00 "MAL0_RXCARR,Receive Channel Active Reset Register"
bitfld.long 0x00 31. " CH0   ,Receive Channel 0 Active Reset" "-,Enabled"
bitfld.long 0x00 30. "       CH1   ,Receive Channel 1 Active Reset" "-,Enabled"
group dcr:0x186++0x00
line.long 0x00 "MAL0_TXEOBISR,Transmit End of Buffer Interrupt Status Register"
eventfld.long 0x00 31. " CH0   ,Transmit Channel 0 End of Buffer Interrupt" "-,Interrupt"
eventfld.long 0x00 30. "     CH1   ,Transmit Channel 1 End of Buffer Interrupt" "-,Interrupt"
eventfld.long 0x00 29. "  CH2   ,Transmit Channel 2 End of Buffer Interrupt" "-,Interrupt"
textline "                        "
eventfld.long 0x00 28. " CH3   ,Transmit Channel 3 End of Buffer Interrupt" "-,Interrupt"
group dcr:0x192++0x00
line.long 0x00 "MAL0_RXEOBISR,Receive End of Buffer Interrupt Status Register"
eventfld.long 0x00 31. " CH0   ,Receive Channel 0 End of Buffer Interrupt" "-,Interrupt"
eventfld.long 0x00 30. "     CH1   ,Receive Channel 1 End of Buffer Interrupt" "-,Interrupt"
group dcr:0x0181++0x00
line.long 0x00 "MAL0_ESR,MAL,Error Status Register"
eventfld.long 0x00 31. " EVB   ,Error Valid Bit" "-,Valid"
hexmask.long.byte 0x00 25.--30. 1. "         CID   ,Channel ID"
eventfld.long 0x00 20. "         DE    ,Descriptor Error" "-,Error"
textline "                        "
eventfld.long 0x00 19. " ONE   ,OPB Non-fullword Error" "-,Error"
eventfld.long 0x00 18. "         OTE   ,OPB Timeout Error" "-,Error"
eventfld.long 0x00 17. "      OSE   ,OPB Slave Error" "-,Error"
textline "                        "
eventfld.long 0x00 16. " PEIN  ,PLB Bus Error Indication" "-,Error"
eventfld.long 0x00 4. "         DEI   ,Descriptor Error Interrupt" "-,Interrupt"
eventfld.long 0x00 3. "  ONEI  ,OPB Non-fullword Error Interrupt" "-,Interrupt"
textline "                        "
eventfld.long 0x00 2. " OTEI  ,OPB Timeout Error Interrupt" "-,Interrupt"
eventfld.long 0x00 1. "     OSEI  ,OPB Slave Error Interrupt" "-,Interrupt"
eventfld.long 0x00 0. "  PBEI  ,PLB Bus Error Interrupt" "-,Interrupt"
group dcr:0x0182++0x00
line.long 0x00 "MAL0_IER,MAL,Interrupt Enable Register"
bitfld.long 0x00 4. " DE    ,Descriptor Error" "-,Enabled"
bitfld.long 0x00 3. "       NWE   ,Non_W_Err_Int_Enable" "-,Enabled"
bitfld.long 0x00 2. "    TO    ,Time_Out_Int_Enable" "-,Enabled"
textline "                        "
bitfld.long 0x00 1. " OPB   ,OPB_Err_Int_Enable" "-,Enabled"
bitfld.long 0x00 0. "       PLB   ,PLB_Err_Int_Enable" "-,Enabled"
group dcr:0x187++0x00
line.long 0x00 "MAL0_TXDEIR,Transmit Descriptor Error Interrupt Register"
eventfld.long 0x00 31. " CH0   ,Transmit Channel 0 Descriptor Error Interrupt" "-,Error"
eventfld.long 0x00 30. "         CH1   ,Transmit Channel 1 Descriptor Error Interrupt" "-,Error"
eventfld.long 0x00 29. "      CH2   ,Transmit Channel 2 Descriptor Error Interrupt" "-,Error"
textline "                        "
eventfld.long 0x00 28. " CH3   ,Transmit Channel 3 Descriptor Error Interrupt" "-,Error"
group dcr:0x193++0x00
line.long 0x00 "MAL0_RXDEIR,Receive Descriptor Error Interrupt Register"
eventfld.long 0x00 31. " CH0   ,Receive Channel 0 Descriptor Error Interrupt" "-,Error"
eventfld.long 0x00 30. "         CH1   ,Receive Channel 1 Descriptor Error Interrupt" "-,Error"
group dcr:0x01A0++0x00
line.long 0x00 "MAL0_TXCTP0R,Transmit Channel 0 Table Pointer Register"
group dcr:0x01A1++0x00
line.long 0x00 "MAL0_TXCTP1R,Transmit Channel 1 Table Pointer Register"
group dcr:0x01A2++0x00
line.long 0x00 "MAL0_TXCTP2R,Transmit Channel 2 Table Pointer Register"
group dcr:0x01A3++0x00
line.long 0x00 "MAL0_TXCTP3R,Transmit Channel 3 Table Pointer Register"
group dcr:0x01C0++0x00
line.long 0x000 "MAL0_RXCTP0R,Receive Channel 0 Table Pointer Register"
group dcr:0x01C1++0x00
line.long 0x00 "MAL0_RXCTP1R,Receive Channel 1 Table Pointer Register"
group dcr:0x01E0++0x00
line.long 0x000 "MAL0_RCBS0,Receive Channel 0 Buffer Size Register"
hexmask.long.byte 0x000 0.--7. 1. " RCBS0 ,Receive Channel 0 Buffer Size"
group dcr:0x01E1++0x00
line.long 0x00 "MAL0_RCBS1,Receive Channel 1 Buffer Size Register"
hexmask.long.byte 0x00 0.--7. 1. " RCBS1 ,Receive Channel 1 Buffer Size"
width 0x0B
elif (cpu()=="PPC440EP")
;Memory Access Layer
width 0x0F
group dcr:0x000F++0x00
out dcr:0x000E %l 0x02A0
line.long 0x00 "SDR0_MALRBL,MAL Receive Burst Length Register"
bitfld.long 0x00 28.--30. " RBL0  ,MAL Receive Burst Length 0" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 24.--26. "            RBL1  ,MAL Receive Burst Length 1" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 20.--22. "           RBL2 ,MAL Receive Burst Length 2" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 16.--18. "             RBL3  ,MAL Receive Burst Length 3" "0,1,2,3,4,5,6,7"
group dcr:0x000F++0x00
out dcr:0x000E %l 0x02E0
line.long 0x00 "SDR0_MALRBS,MAL Receive Bus Size Register"
bitfld.long 0x00 31. " RBS   ,MAL Receive Bus Size" "Reserved,128 bit"
group dcr:0x000F++0x00
out dcr:0x000E %l 0x0280
line.long 0x00 "SDR0_MALTBL,MAL Transmit Burst Length Register"
bitfld.long 0x00 28.--30. " TBL0  ,MAL Transmit Burst Length 0" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 24.--26. "            TBL1  ,MAL Transmit Burst Length 1" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 20.--22. "           TBL2 ,MAL Transmit Burst Length 2" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 16.--18. "             TBL3  ,MAL Transmit Burst Length 3" "0,1,2,3,4,5,6,7"
group dcr:0x000F++0x00
out dcr:0x000E %l 0x02C0
line.long 0x00 "SDR0_MALTBS,MAL Transmit Bus Size Register"
bitfld.long 0x00 31. " TBS   ,MAL Transmit Bus Size" "Reserved,128 bit"
group dcr:0x0180++0x2
line.long 0x000 "MAL0_CFG,MAL,Configuration Register"
bitfld.long 0x000 31. " SR    ,MAL Software Reset" "-,Reset"
bitfld.long 0x000 22.--23. "        PLBP  ,PLB Priority" "Lowest,Low,High,Highest"
bitfld.long 0x000 21. "     GA   ,Guarded Active" "Not applied,Applied"
bitfld.long 0x000 20. "   OA    ,Ordered Active" "Not applied,Applied"
textline "                        "
bitfld.long 0x000 19. " PLBLE ,PLB Lock Error" "NOt applied,Applied"
bitfld.long 0x000 15.--18. "  PLBLT ,PLB Latency Timer" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x000 14. "          PLBB ,PLB Burst" "Not allowed,Allowed"
bitfld.long 0x000 7. "   OPBBL ,OPB Bus Lock" "Not locked,Locked"
textline "                        "
bitfld.long 0x000 2. " EOPIE ,End of Packet Interrupt Enable" "-,Enabled"
bitfld.long 0x000 1. "      LEA   ,Locked Error Active" "Not active,Active"
bitfld.long 0x000 0. "  SD   ,MAL Scroll Descriptor" "Not scrolled,Scrolled"
line.long 0x004 "MAL0_ESR,MAL,Error Status Register"
eventfld.long 0x004 31. " EVB   ,Error Valid Bit" "Not valid,Valid"
hexmask.long.byte 0x004 25.--30. 1. "    CID   ,Channel ID"
eventfld.long 0x004 20. "          DE   ,Descriptor Error" "-,Error"
eventfld.long 0x004 19. "         ONE   ,OPB Non-fullword Error" "-,Error"
textline "                        "
eventfld.long 0x004 18. " OTE   ,OPB Timeout Error" "-,Error"
eventfld.long 0x004 17. "        OSE   ,OPB Slave Error" "-,Error"
eventfld.long 0x004 16. "       PEIN ,PLB Bus Error Indication" "-,Error"
eventfld.long 0x004 4. "         DEI   ,Descriptor Error Interrupt" "-,Error"
textline "                        "
eventfld.long 0x004 3. " ONEI  ,OPB Non-fullword Error Interrupt" "-,Error"
eventfld.long 0x004 2. "        OTEI  ,OPB Timeout Error Interrupt" "-,Error"
eventfld.long 0x004 1. "       OSEI ,OPB Slave Error Interrupt" "-,Error"
eventfld.long 0x004 0. "         PBEI  ,PLB Bus Error Interrupt" "-,Error"
line.long 0x008 "MAL0_IER,MAL,Interrupt Enable Register"
bitfld.long 0x008 4. " DE    ,Descriptor Error" "-,Enabled"
bitfld.long 0x008 3. "      NWE   ,Non_W_Err_Int_Enable" "-,Enabled"
bitfld.long 0x008 2. "     TO   ,Time_Out_Int_Enable" "-,Enabled"
bitfld.long 0x008 1. "       OPB   ,OPB_Err_Int_Enable" "-,Enabled"
textline "                        "
bitfld.long 0x008 0. " PLB   ,PLB_Err_Int_Enable" "-,Enabled"
;    line.long 0x00C "MAL0_DBR,MAL Debug Register"
group dcr:0x0184++0x3
line.long 0x000 "MAL0_TXCASR,Transmit Channel Active Set Register"
bitfld.long 0x000 31. " CH0   ,Transmit Channel 0 Active Set" "-,Enabled"
bitfld.long 0x000 30. "      CH1   ,Transmit Channel 1 Active Set" "-,Enabled"
bitfld.long 0x000 29. "     CH2  ,Transmit Channel 2 Active Set" "-,Enabled"
bitfld.long 0x000 28. "       CH3   ,Transmit Channel 3 Active Set" "-,Enabled"
line.long 0x004 "MAL0_TXCARR,Transmit Channel Active Reset Register"
bitfld.long 0x004 31. " CH0   ,Transmit Channel 0 Active Reset" "-,Enabled"
bitfld.long 0x004 30. "      CH1   ,Transmit Channel 1 Active Reset" "-,Enabled"
bitfld.long 0x004 29. "     CH2  ,Transmit Channel 2 Active Reset" "-,Enabled"
bitfld.long 0x004 28. "       CH3   ,Transmit Channel 3 Active Reset" "-,Enabled"
line.long 0x008 "MAL0_TXEOBISR,Transmit End of Buffer Interrupt Status Register"
eventfld.long 0x008 31. " CH0   ,Transmit Channel 0 End of Buffer Interrupt" "No,Yes"
eventfld.long 0x008 30. "          CH1   ,Transmit Channel 1 End of Buffer Interrupt" "No,Yes"
eventfld.long 0x008 29. "         CH2  ,Transmit Channel 2 End of Buffer Interrupt" "No,Yes"
eventfld.long 0x008 28. "           CH3   ,Transmit Channel 3 End of Buffer Interrupt" "No,Yes"
line.long 0x00C "MAL0_TXDEIR,Transmit Descriptor Error Interrupt Register"
eventfld.long 0x00C 31. " CH0   ,Transmit Channel 0 Descriptor Error Interrupt" "-,Error"
eventfld.long 0x00C 30. "        CH1   ,Transmit Channel 1 Descriptor Error Interrupt" "-,Error"
eventfld.long 0x00C 29. "       CH2  ,Transmit Channel 2 Descriptor Error Interrupt" "-,Error"
eventfld.long 0x00C 28. "         CH3   ,Transmit Channel 3 Descriptor Error Interrupt" "-,Error"
group dcr:0x0190++0x3
line.long 0x000 "MAL0_RXCASR,Receive Channel Active Set Register"
bitfld.long 0x000 31. " CH0   ,Receive Channel 0 Active Set" "-,Enabled"
bitfld.long 0x000 30. "      CH1   ,Receive Channel 1 Active Set" "-,Enabled"
line.long 0x004 "MAL0_RXCARR,Receive Channel Active Reset Register"
bitfld.long 0x004 31. " CH0   ,Receive Channel 0 Active Reset" "-,Enabled"
bitfld.long 0x004 30. "      CH1   ,Receive Channel 1 Active Reset" "-,Enabled"
line.long 0x008 "MAL0_RXEOBISR,Receive End of Buffer Interrupt Status Register"
eventfld.long 0x008 31. " CH0   ,Receive Channel 0 End of Buffer Interrupt" "No,Yes"
eventfld.long 0x008 30. "          CH1   ,Receive Channel 1 End of Buffer Interrupt" "No,Yes"
line.long 0x00C "MAL0_RXDEIR,Receive Descriptor Error Interrupt Register"
eventfld.long 0x00C 31. " CH0   ,Receive Channel 0 Descriptor Error Interrupt" "-,Error"
eventfld.long 0x00C 30. "        CH1   ,Receive Channel 1 Descriptor Error Interrupt" "-,Error"
group dcr:0x01A0++0x3
line.long 0x000 "MAL0_TXCTP0R,Transmit Channel 0 Table Pointer Register"
line.long 0x004 "MAL0_TXCTP1R,Transmit Channel 1 Table Pointer Register"
line.long 0x008 "MAL0_TXCTP2R,Transmit Channel 2 Table Pointer Register"
line.long 0x00C "MAL0_TXCTP3R,Transmit Channel 3 Table Pointer Register"
group dcr:0x01C0++0x1
line.long 0x000 "MAL0_RXCTP0R,Receive Channel 0 Table Pointer Register"
line.long 0x004 "MAL0_RXCTP1R,Receive Channel 1 Table Pointer Register"
group dcr:0x01E0++0x1
line.long 0x000 "MAL0_RCBS0,Receive Channel 0 Buffer Size Register"
hexmask.long.byte 0x000 0.--7. 1. " RCBS0 ,Receive Channel 0 Buffer Size"
line.long 0x004 "MAL0_RCBS1,Receive Channel 1 Buffer Size Register"
hexmask.long.byte 0x004 0.--7. 1. " RCBS1 ,Receive Channel 1 Buffer Size"
width 0x0B
elif ((cpu()=="PPC440SP")||(cpu()=="PPC440SPE"))
;Memory Access Layer
width 15.
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x02A0
line.long 0x00 "SDR0_MALRBL,MAL Receive Burst Length Register"
bitfld.long 0x00 28.--30. " RBL0  ,MAL Receive Burst Length 0" "0,1,2,3,4,5,6,7"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x02E0
line.long 0x00 "SDR0_MALRBS,MAL Receive Bus Size Register"
hexmask.long.byte 0x00 28.--31. 1. " RBS   ,MAL Receive Bus Size"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x0280
line.long 0x00 "SDR0_MALTBL,MAL Transmit Burst Length Register"
bitfld.long 0x00 28.--30. " TBL0  ,MAL Transmit Burst Length 0" "0,1,2,3,4,5,6,7"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x02C0
line.long 0x00 "SDR0_MALTBS,MAL Transmit Bus Size Register"
hexmask.long.word 0x00 28.--31. 1. " TBS   ,MAL Transmit Bus Size"
group dcr:0x0180++0x03
line.long 0x00 "MAL0_CFG,MAL Configuration Register"
bitfld.long 0x00 31. " SR    ,MAL Software Reset" "-,Reset"
bitfld.long 0x00 22.--23. "            RPP   ,Read PLB Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 20.--21. "       RMBS  ,Read Max Burst Size" "4,8,16,32"
textline "                        "
bitfld.long 0x00 18.--19. " WPP   ,Write PLB Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 16.--17. "          WMBS  ,Write Max Burst Size" "4,8,16,32"
bitfld.long 0x00 15. "            PLBLE ,PLB Lock Error" "-,Error"
textline "                        "
bitfld.long 0x00 14. " PLBB  ,PLB Burst" "Not allowed,Allowed"
bitfld.long 0x00 7. "      OPBBL ,OPB Bus Lock" "Not locked,Locked"
bitfld.long 0x00 2. "    EOPIE ,End of Packet Interrupt Enable" "-,Enabled"
textline "                        "
bitfld.long 0x00 1. " LEA   ,Locked Error Active" "Non-locked mode,Locked mode"
bitfld.long 0x00 0. "  SD    ,MAL Scroll Descriptor" "Not scrolled,Scrolled"
rgroup dcr:0x0181++0x03
line.long 0x00 "MAL0_ESR,MAL Error Status Register"
eventfld.long 0x00 31. " EVB   ,Error Valid Bit" "Not valid,Valid"
bitfld.long 0x00 30. "        CIDT  ,Channel ID Type" "RX,TX"
bitfld.long 0x00 25.--29. "            CID   ,Channel ID Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
textline "                        "
eventfld.long 0x00 23. " PTE   ,PLB Timeout Error" "-,Error"
eventfld.long 0x00 22. "            PRE   ,PLB Read Error" "-,Error"
eventfld.long 0x00 21. "         PWE   ,PLB Write Error" "-,Error"
textline "                        "
eventfld.long 0x00 20. " DE    ,Descriptor Error" "-,Error"
eventfld.long 0x00 18. "            OTE   ,OPB Timeout Error" "-,Error"
eventfld.long 0x00 17. "         OSE   ,OPB Slave Error" "-,Error"
textline "                        "
eventfld.long 0x00 16. " PEIN  ,PLB Bus Error Indication" "-,Error"
eventfld.long 0x00 7. "            PTEI  ,PLB Timeout Error Interrupt" "-,Error"
eventfld.long 0x00 6. "         PREI  ,PLB Read Error Interrupt" "-,Error"
textline "                        "
eventfld.long 0x00 5. " PWEI  ,PLB Write Error Interrupt" "-,Error"
eventfld.long 0x00 4. "            DEI   ,Descriptor Error Interrupt" "-,Error"
eventfld.long 0x00 2. "         OTEI  ,OPB Timeout Error Interrupt" "-,Error"
textline "                        "
eventfld.long 0x00 1. " OSEI  ,OPB Slave Error Interrupt" "-,Error"
eventfld.long 0x00 0. "            PBEI  ,PLB Bus Error Interrupt" "-,Error"
group dcr:0x0182++0x03
line.long 0x00 "MAL0_IER,MAL Interrupt Enable Register"
bitfld.long 0x00 7. " PT    ,PLB Timeout Interrupt" "-,Enabled"
bitfld.long 0x00 6. "          PRE   ,PLB Read Error Interrupt" "-,Enabled"
bitfld.long 0x00 5. "       PWE   ,PLB Write Error Interrupt" "-,Enabled"
textline "                        "
bitfld.long 0x00 4. " DE    ,Descriptor Error Interrupt" "-,Enabled"
bitfld.long 0x00 2. "          OTE   ,OPB Timeout Error Interrupt" "-,Enabled"
bitfld.long 0x00 1. "       OE    ,OPB Error Interrupt" "-,Enabled"
textline "                        "
bitfld.long 0x00 0. " PE    ,PLB Error Interrupt" "-,Enabled"
group dcr:0x0184++0x03
line.long 0x00 "MAL0_TXCASR,TX Channel Active Set Register"
bitfld.long 0x00 31. " TCAS  ,Transmit Channel Active Set" "-,Enabled"
group dcr:0x0185++0x03
line.long 0x00 "MAL0_TXCARR,TX Channel Active Reset Register"
bitfld.long 0x00 31. " TCAR  ,Transmit Channel Active Reset" "Enabled,-"
group dcr:0x0186++0x03
line.long 0x00 "MAL0_TXEOBISR,TX End of Buffer Interrupt Status Register"
eventfld.long 0x00 31. " TCEI  ,Transmit Channel End-of-Buffer Interrupt" "-,Interrupt"
group dcr:0x0187++0x03
line.long 0x00 "MAL0_TXDEIR,TX Descriptor Error Interrupt Register"
eventfld.long 0x00 31. " TXDE  ,Transmit Descriptor Error Interrupt" "-,Interrupt"
group dcr:0x0188++0x03
line.long 0x00 "MAL0_TXTATTRR,TX PLB Attribute Register"
hexmask.long.word 0x00 16.--31. 1. " TXPSA ,TX PLB Storage Attributes"
group dcr:0x0189++0x03
line.long 0x00 "MAL0_TXBADDR,TX Descriptor Base Address Register"
hexmask.long.byte 0x00 0.--3. 1. " DBA   ,Descriptor Base Address"
group dcr:0x0190++0x03
line.long 0x00 "MAL0_RXCASR,RX Channel Active Set Register"
bitfld.long 0x00 31. " RCAS  ,Receive Channel Active Set" "-,Enabled"
group dcr:0x0191++0x03
line.long 0x00 "MAL0_RXCARR,RX Channel Active Reset Register"
bitfld.long 0x00 31. " RCAR  ,Receive Channel Active Reset" "Enabled,-"
group dcr:0x0192++0x03
line.long 0x00 "MAL0_RXEOBISR,RX End of Buffer Interrupt Status Register"
eventfld.long 0x00 31. " RCEI  ,Receive Channel End-of-Buffer Interrupt" "-,Interrupt"
group dcr:0x0193++0x03
line.long 0x00 "MAL0_RXDEIR,RX Descriptro Error Interrupt Register"
eventfld.long 0x00 31. " RXDE  ,Receive Descriptor Error Interrupt" "-,Interrupt"
group dcr:0x0194++0x03
line.long 0x00 "MAL0_RXTATTRR,RX PLB Attribute Register"
hexmask.long.word 0x00 16.--31. 1. " RXPSA ,RX PLB Storage Attributes"
group dcr:0x0195++0x03
line.long 0x00 "MAL0_RXBADDR,RX Descriptor Base Address Register"
hexmask.long.byte 0x00 0.--3. 1. " DBA   ,Descriptor Base Address"
group dcr:0x01A0++0x03
line.long 0x00 "MAL0_TXCTP0R,TX Channel Table Pointer Register"
group dcr:0x01C0++0x03
line.long 0x00 "MAL0_RXCTP0R,RX Channel Table Pointer Register"
group dcr:0x01E0++0x03
line.long 0x00 "MAL0_RCBS0,RX Channel Buffer Size Register"
hexmask.long.byte 0x00 0.--7. 1. " RCBS  ,Receive Channel Buffer Size"
width 0x0B
endif
tree.end
;tree "MAL (Memory Access Layer)"
tree "ZMII (EMAC to PHY Interface Bridge)"
sif (cpu()=="PPC440GX")
base ANC:0x1:0x40000000
width 14.
group.long 0x780++0xB
line.long 0x0 "ZMII0_FER,Function Enable Register 0"
bitfld.long 0x00 31. " MDI0 ,EMAC0 MDI Enable" "-,Enabled"
bitfld.long 0x00 30. "  SMII0 ,EMAC0 SMII Enable" "-,Enabled"
bitfld.long 0x00 29. "  RMII0 ,EMAC0 RMII Enable" "-,Enabled"
bitfld.long 0x00 28. "  MII0 ,EMAC0 MII Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 27. " MDI1 ,EMAC1 MDI Enable" "-,Enabled"
bitfld.long 0x00 26. "  SMII1 ,EMAC1 SMII Enable" "-,Enabled"
bitfld.long 0x00 25. "  RMII1 ,EMAC1 RMII Enable" "-,Enabled"
bitfld.long 0x00 24. "  MII1 ,EMAC1 MII Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 23. " MDI2 ,EMAC2 MDI Enable" "-,Enabled"
bitfld.long 0x00 22. "  SMII2 ,EMAC2 SMII Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 19. " MDI3 ,EMAC3 MDI Enable" "-,Enabled"
bitfld.long 0x00 18. "  SMII3 ,EMAC3 SMII Enable" "-,Enabled"
line.long 0x4 "ZMII0_SSR,Speed Select Register 0"
bitfld.long 0x4 30. " SCI0 ,EMAC0 Suppress Collision Indication" "-,Suppressed"
bitfld.long 0x4 29. "  FSS0 ,EMAC0 Force Speed Selection" "-,Override"
bitfld.long 0x4 28. "  SP0 ,EMAC0 Speed Selection" "10 Mbps,100 Mbps"
textline "                       "
bitfld.long 0x4 26. " SCI1 ,EMAC1 Suppress Collision Indication" "-,Suppressed"
bitfld.long 0x4 25. "  FSS1 ,EMAC1 Force Speed Selection" "-,Override"
bitfld.long 0x4 24. "  SP1 ,EMAC1 Speed Selection" "10 Mbps,100 Mbps"
textline "                       "
bitfld.long 0x4 22. " SCI2 ,EMAC2 Suppress Collision Indication" "-,Suppressed"
bitfld.long 0x4 21. "  FSS2 ,EMAC2 Force Speed Selection" "-,Override"
bitfld.long 0x4 20. "  SP2 ,EMAC2 Speed Selection" "10 Mbps,100 Mbps"
textline "                       "
bitfld.long 0x4 18. " SCI3 ,EMAC3 Suppress Collision Indication" "-,Suppressed"
bitfld.long 0x4 17. "  FSS3 ,EMAC3 Force Speed Selection" "-,Override"
bitfld.long 0x4 16. "  SP3 ,EMAC3 Speed Selection" "10 Mbps,100 Mbps"
line.long 0x8 "ZMII0_SMIISR,ZMII Status Register 0"
bitfld.long 0x8 31. " E01    ,EMAC0RxD Set to 1" "0,1"
bitfld.long 0x8 30. "          E0C    ,EMAC0RxD False Carrier Detected" "-,Detected"
bitfld.long 0x8 29. "   E0N ,EMAC0RxD Nibble" "-,Valid"
bitfld.long 0x8 28. "     E0J ,EMAC0RxD Jabber" "-,Error"
textline "                       "
bitfld.long 0x8 27. " E0L    ,EMAC0RxD Link" "Down,Up"
bitfld.long 0x8 26. "       E0D    ,EMAC0RxD Duplex" "Half,Full"
bitfld.long 0x8 25. "       E0S ,EMAC0RxD Speed" "10 MBit,100 MBit"
bitfld.long 0x8 24. "  E0F ,EMAC0RxD from Previous Frame" "-,Error"
textline "                       "    
bitfld.long 0x8 23. " E11    ,EMAC1RxD Set to 1" "0,1"
bitfld.long 0x8 22. "          E1C    ,EMAC1RxD False Carrier Detected" "-,Detected"
bitfld.long 0x8 21. "   E1N ,EMAC1RxD Nibble" "-,Valid"
bitfld.long 0x8 20. "     E1J ,EMAC1RxD Jabber" "-,Error"
textline "                       "
bitfld.long 0x8 19. " E1L    ,EMAC1RxD Link" "Down,Up"
bitfld.long 0x8 18. "       E1D    ,EMAC1RxD Duplex" "Half,Full"
bitfld.long 0x8 17. "       E1S ,EMAC1RxD Speed" "10 MBit,100 MBit"
bitfld.long 0x8 16. "  E1F ,EMAC1RxD from Previous Frame" "-,Error"
textline "                       "
bitfld.long 0x8 15. " E21    ,EMAC2RxD Set to 1" "0,1"
bitfld.long 0x8 14. "          E2C    ,EMAC2RxD False Carrier Detected" "-,Detected"
bitfld.long 0x8 13. "   E2N ,EMAC2RxD Nibble" "-,Valid"
bitfld.long 0x8 12. "     E2J ,EMAC2RxD Jabber" "-,Error"
textline "                       "
bitfld.long 0x8 11. " E2L    ,EMAC2RxD Link" "Down,Up"
bitfld.long 0x8 10. "       E2D    ,EMAC2RxD Duplex" "Half,Full"
bitfld.long 0x8 9. "       E2S ,EMAC2RxD Speed" "10 MBit,100 MBit"
bitfld.long 0x8 8. "  E2F ,EMAC2RxD from Previous Frame" "-,Error"
textline "                       "
bitfld.long 0x8 7. " E31    ,EMAC3RxD Set to 1" "0,1"
bitfld.long 0x8 6. "          E3C    ,EMAC3RxD False Carrier Detected" "-,Detected"
bitfld.long 0x8 5. "   E3N ,EMAC3RxD Nibble" "-,Valid"
bitfld.long 0x8 4. "     E3J ,EMAC3RxD Jabber" "-,Error"
textline "                       "
bitfld.long 0x8 3. " E3L    ,EMAC3RxD Link" "Down,Up"
bitfld.long 0x8 2. "       E3D    ,EMAC3RxD Duplex" "Half,Full"
bitfld.long 0x8 1. "       E3S ,EMAC3RxD Speed" "10 MBit,100 MBit"
bitfld.long 0x8 0. "  E3F ,EMAC3RxD from Previous Frame" "-,Error"
group.long 0x790++0x7
line.long 0x0 "RGMII0_FER,RGMII Function Enable Register 0"
bitfld.long 0x00 4.--6. " RGMII3 ,EMAC3 RGMII Enable" "-,-,-,-,RTBI,RGMII,TBI,GMII"
bitfld.long 0x00 0.--2. "      RGMII2 ,EMAC2 RGMII Enable" "-,-,-,-,RTBI,RGMII,TBI,GMII"
line.long 0x4 "RGMII0_SSR,Speed Selection Register 0"
bitfld.long 0x4 8.--10. " SP3    ,EMAC3 Speed Selection" "10 Mbps,Reserved,100 Mbps,Reserved,1000 Mbps,Reserved,Reserved,Reserved"
bitfld.long 0x4 0.--2. "  SP2    ,EMAC2 Speed Selection" "10 Mbps,Reserved,100 Mbps,Reserved,1000 Mbps,Reserved,Reserved,Reserved"
width 0xB
elif (cpu()=="PPC440GP")
width 14.
group ANC:0x1:0x40000780++0x3
line.long 0x0 "ZMII0_FER,Function Enable Register"
bitfld.long 0x00 31. " MDI0  ,EMAC0 MDI Enable" "Ignored,Driven to the PHY"
bitfld.long 0x00 30. "  SMII0 ,EMAC0 SMII Enable" "-,Enabled"
bitfld.long 0x00 29. "                RMII0 ,EMAC0 RMII Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 28. " MII0  ,EMAC0 MII Enable" "-,Enabled"
bitfld.long 0x00 27. "            MDI1  ,EMAC1 MDI Enable" "Ignored,Driven to the PHY"
bitfld.long 0x00 26. "      SMII1 ,EMAC1 SMII Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 25. " RMII1 ,EMAC0 RMII Enable" "-,Enabled"
bitfld.long 0x00 24. "            MII1  ,EMAC0 MII Enable" "-,Enabled"
group ANC:0x1:0x40000784++0x3
line.long 0x0 "ZMII0_SSR,ZMII Speed Select Register"
bitfld.long 0x00 30. " SCI0  ,EMAC0 Suppress Collision Indication" "Asserted,Deasserted"
bitfld.long 0x00 29. "         FSS0  ,EMAC0 Force Speed Selection" "SP0 not overrides IPG,SP0 overrides IPG"
bitfld.long 0x00 28. "  SP0   ,EMAC0 Speed Selection" "10 Mbps,100 Mbps"
textline "                       "
bitfld.long 0x00 26. " SCI1  ,EMAC1 Suppress Collision Indication" "Asserted,Deasserted"
bitfld.long 0x00 25. "         FSS1  ,EMAC1 Force Speed Selection" "SP1 not overrides IPG,SP1 overrides IPG"
bitfld.long 0x00 24. "  SP1   ,EMAC1 Speed Selection" "10 Mbps,100 Mbps"
group ANC:0x1:0x40000788++0x3
line.long 0x0 "ZMII0_SMIISR,ZMII SMII Status Register"
bitfld.long 0x00 31. " E0F   ,EMAC0RxD from Previous Frame" "0,1"
bitfld.long 0x00 30. "                  E0S   ,EMAC0RxD Speed" "10 MBit,100 MBit"
bitfld.long 0x00 29. "               E0D   ,EMAC0RxD Duplex" "Half,Full"
textline "                       "
bitfld.long 0x00 28. " E0L   ,EMAC0RxD Link" "Down,Up"
bitfld.long 0x00 27. "               E0J   ,EMAC0RxD Jabber" "-,Error"
bitfld.long 0x00 26. "                  E0N   ,EMAC0RxD Nibble" "Invalid,Valid"
textline "                       "
bitfld.long 0x00 25. " E0C   ,EMAC0RxD False Carrier Detected" "Not detected,Detected"
bitfld.long 0x00 24. "       E01   ,EMAC0RxD Set to 1" "0,1"
bitfld.long 0x00 23. "                      E1F   ,EMAC1RxD from Previous Frame" "0,1"
textline "                       "
bitfld.long 0x00 22. " E1S   ,EMAC1RxD Speed" "10 MBit,100 MBit"
bitfld.long 0x00 21. "           E1D   ,EMAC1RxD Duplex" "Half,Full"
bitfld.long 0x00 20. "                   E1L   ,EMAC1RxD Link" "Down,Up"
textline "                       "
bitfld.long 0x00 19. " E1J   ,EMAC1RxD Jabber" "-,Error"
bitfld.long 0x00 18. "              E1N   ,EMAC1RxD Nibble" "Invalid,Valid"
bitfld.long 0x00 17. "                E1C   ,EMAC1RxD False Carrier Detected" "Not detected,Detected"
textline "                       "
bitfld.long 0x00 16. " E11   ,EMAC1RxD Set to 1" "0,1"
elif ((cpu()=="PPC440EPX")||(cpu()=="PPC440GRX"))
base ANC:0x1:0xef600d00
;EMAC to PHY Interface Bridge
width 0x0C
group 0x00++0x03
line.long 0x00 "ZMII0_FER,Function Enable Register"
bitfld.long 0x00 31. " MDI0     ,EMAC0 MDI Enable" "-,Enabled"
bitfld.long 0x00 30. "       SMII0    ,EMAC0 SMII Enable" "-,Enabled"
bitfld.long 0x00 28. "    MII0     ,EMAC0 MII Enable" "-,Enabled"
textline "                     "
bitfld.long 0x00 27. " MDI1     ,EMAC1 MDI Enable" "-,Enabled"
bitfld.long 0x00 26. "       SMII1    ,EMAC1 SMII Enable" "-,Enabled"
bitfld.long 0x00 24. "    MII1     ,EMAC1 MII Enable" "-,Enabled"
group 0x04++0x03
line.long 0x00 "ZMII0_SSR,ZMII Speed Select Register"
bitfld.long 0x00 30. " SCI0     ,EMAC0 Suppress Collision Indication" "Asserted,-"
bitfld.long 0x00 29. "      FSS0     ,EMAC0 Force Speed Selection" "-,Override"
bitfld.long 0x00 28. "   SP0      ,EMAC0 Speed Selection" "10 Mbps,100 Mbps"
textline "                     "
bitfld.long 0x00 26. " SCI1     ,EMAC1 Suppress Collision Indication" "Asserted,-"
bitfld.long 0x00 25. "      FSS1     ,EMAC1 Force Speed Selection" "-,Override"
bitfld.long 0x00 24. "   SP1      ,EMAC1 Speed Selection" "10 Mbps,100 Mbps"
group 0x08++0x03
line.long 0x00 "ZMII0_SMIISR,ZMII SMII Status Register"
bitfld.long 0x00 31. " E01      ,EMAC0RxD Set to 1" "0,1"
bitfld.long 0x00 30. "             E0C      ,EMAC0RxD False Carrier Detected" "-,Detected"
bitfld.long 0x00 29. "   E0N      ,EMAC0RxD Nibble" "Invalid,Valid"
textline "                     "
bitfld.long 0x00 28. " E0J      ,EMAC0RxD Jabber" "-,Error"
bitfld.long 0x00 27. "         E0L      ,EMAC0RxD Link" "Down,Up"
bitfld.long 0x00 26. "       E0D      ,EMAC0RxD Duplex" "Half,Full"
textline "                     "
bitfld.long 0x00 25. " E0S      ,EMAC0RxD Speed" "10 Mbps,100 Mbps"
bitfld.long 0x00 24. "      E0F      ,EMAC0RxD from Previous Frame" "-,Error"
bitfld.long 0x00 23. "      E11      ,EMAC1RxD Set to 1" "0,1"
textline "                     "
bitfld.long 0x00 22. " E1C      ,EMAC1RxD False Carrier Detected" "-,Detected"
bitfld.long 0x00 21. "      E1N      ,EMAC1RxD Nibble" "Invalid,Valid"
bitfld.long 0x00 20. "    E1J      ,EMAC1RxD Jabber" "-,Error"
textline "                     "
bitfld.long 0x00 19. " E1L      ,EMAC1RxD Link" "Down,Up"
bitfld.long 0x00 18. "          E1D      ,EMAC1RxD Duplex" "Half,Full"
bitfld.long 0x00 17. "       E1S      ,EMAC1RxD Speed" "10 Mbps,100 Mbps"
textline "                     "
bitfld.long 0x00 16. " E1F      ,EMAC1RxD from Previous Frame" "-,Error"
base ANC:0x1:0xEF601000
group 0x00++0x03
line.long 0x00 "RGMII0_FER,RGMII Function Enable Register"
bitfld.long 0x00 19. " MDIOEN0  ,MDIO EMAC 0" "-,Enabled"
bitfld.long 0x00 18. "       MDIOEN1  ,MDIO EMAC 1" "-,Enabled"
bitfld.long 0x00 6. "    CH1CFG25 ,Channel 1 Enable" "-,Enabled"
textline "                     "
bitfld.long 0x00 5. " CH1CFG26 ,Channel 1 Mode" "Reduced,Pass-through"
bitfld.long 0x00 4. "  CH1CFG27 ,Channel 1 Configuration" "TBI,GMII"
bitfld.long 0x00 2. "       CH0CFG29 ,Channel 0 Enable" "-,Enabled"
textline "                     "
bitfld.long 0x00 1. " CH0CFG30 ,Channel 0 Mode" "Reduced,Pass-through"
bitfld.long 0x00 0. "  CH0CFG31 ,Channel 0 Configuration" "TBI,GMII"
group 0x04++0x03
line.long 0x00 "RGMII0_SSR,Speed Selection Register"
bitfld.long 0x00 8.--10. " SP1      ,EMAC 1 Speed Selection" "10 Mbps,Reserved,100 Mbps,Reserved,1000 Mbps,Reserved,Reserved,Reserved"
bitfld.long 0x00 0.--2. "     SP0      ,EMAC 0 Speed Selection" "10 Mbps,Reserved,100 Mbps,Reserved,1000 Mbps,Reserved,Reserved,Reserved"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4102
line.long 0x00 "SDR0_PCF2,Ethernet PLL Configuration Register"
bitfld.long 0x00 29.--31. " SELECT   ,Ethernet Pin Select EMAC 1" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 25.--28. "             RANGEA   ,PLLOUTA Frequency Selector" "0000,0001,0010,0011,0100,0101,0110,0111,1000,1001,1010,1011,1100,1101,1110,1111"
bitfld.long 0x00 22.--24. "       RANGEB   ,PLLOUTB/C frequency Selector" "000,001,010,011,100,101,110,111"
textline "                     "
bitfld.long 0x00 17.--21. " MULTI    ,Frequency Multiplication Selector" "00000,00001,00010,00011,00100,00101,00110,00111,01000,01001,01010,01011,01100,01101,01110,01111,10000,10001,10010,10011,10100,10101,10110,10111,11000,11001,11010,11011,11100,11101,11110,11111"
hexmask.long.word 0x00 7.--16. 1. "         TUNE     ,Loop Stability Tuning Bits"
width 0x0B
elif ((cpu()=="PPC440EP")||(cpu()=="PPC440GR"))
;EMAC to PHY Interface Bridge
width 0x0C
group ANC:0x0:0xEF600D00++0x0b
line.long 0x00 "ZMII0_FER,ZMII Function Enable Register"
bitfld.long 0x00 31. " MDI0  ,EMAC0 MDI Enable" "-,Enabled"
bitfld.long 0x00 30. "       SMII0 ,EMAC0 SMII Enable" "-,Enabled"
bitfld.long 0x00 29. "         RMII0 ,EMAC0 RMII Enable" "-,Enabled"
textline "                     "
bitfld.long 0x00 28. " MII0  ,EMAC0 MII Enable" "-,Enabled"
bitfld.long 0x00 27. "       MDI1  ,EMAC1 MDI Enable" "-,Enabled"
bitfld.long 0x00 26. "         SMII1 ,EMAC1 SMII Enable" "-,Enabled"
textline "                     "
bitfld.long 0x00 25. " RMII1 ,EMAC1 RMII Enable" "-,Enabled"
bitfld.long 0x00 24. "       MII1  ,EMAC1 MII Enable" "-,Enabled"
line.long 0x04 "ZMII0_SSR,ZMII Speed Select Register"
bitfld.long 0x04 30. " SCI0  ,EMAC0 Suppress Collision Indication" "Asserted,Deasserted"
bitfld.long 0x04 29. "    FSS0  ,EMAC0 Force Speed Selection" "Not overridden,Overridden"
bitfld.long 0x04 28. "  SP0   ,EMAC0 Speed Selection" "10Mbps,100Mbps"
textline "                     "
bitfld.long 0x04 26. " SCI1  ,EMAC1 Suppress Collision Indication" "Asserted,Deasserted"
bitfld.long 0x04 25. "    FSS1  ,EMAC1 Force Speed Selection" "Not overridden,Overridden"
bitfld.long 0x04 24. "  SP1   ,EMAC1 Speed Selection" "10Mbps,100Mbps"
line.long 0x08 "ZMII0_SMIISR,ZMII SMII Status Register"
bitfld.long 0x08 31. " E01   ,EMAC0RxD Set to 1" "-,Set"
bitfld.long 0x08 30. "           E0C   ,EMAC0RxD False Carrier Detected" "-,Detected"
bitfld.long 0x08 29. "        E0N   ,EMAC0RxD Nibble" "Invalid,Valid"
textline "                     "
bitfld.long 0x08 28. " E0J   ,EMAC0RxD Jabber" "-,Error"
bitfld.long 0x08 27. "         E0L   ,EMAC0RxD Link" "Down,Up"
bitfld.long 0x08 26. "            E0D   ,EMAC0RxD Duplex" "Half,Full"
textline "                     "
bitfld.long 0x08 25. " E0S   ,EMAC0RxD Speed" "10Mbps,100Mbps"
bitfld.long 0x08 24. "       E0F   ,EMAC0RxD from Previous Frame" "-,Error"
bitfld.long 0x08 23. "           E11   ,EMAC1RxD Set to 1" "-,Set"
textline "                     "
bitfld.long 0x08 22. " E1C   ,EMAC1RxD False Carrier Detected" "-,Detected"
bitfld.long 0x08 21. "      E1N   ,EMAC1RxD Nibble" "Invalid,Valid"
bitfld.long 0x08 20. "         E1J   ,EMAC1RxD Jabber" "-,Error"
textline "                     "
bitfld.long 0x08 19. " E1L   ,EMAC1RxD Link" "Down,Up"
bitfld.long 0x08 18. "          E1D   ,EMAC1RxD Duplex" "Half,Full"
bitfld.long 0x08 17. "            E1S   ,EMAC1RxD Speed" "10Mbps,100Mbps"
textline "                     "
bitfld.long 0x08 16. " E1F   ,EMAC1RxD from Previous Frame" "-,Error"
width 0x0B
endif
tree.end
;tree "ZMII (EMAC to PHY Interface Bridge)"
tree.open "EMAC (Ethernet Media Access Controllers)"
sif (cpu()=="PPC440GX")
tree "EMAC0"
width 13.
group.long (0x800+0)++0x3
line.long 0x0 "EMAC0_MR0,Mode Register 0 0"
bitfld.long 0x00 31. " RXI    ,Receive MAC Idle" "-,Idle"
bitfld.long 0x00 30. "                    TXI  ,Transmit MAC Idle" "-,Idle"
textline "                      "
bitfld.long 0x00 29. " SRST   ,EMAC Software Reset" "-,Reset"
bitfld.long 0x00 28. "                   TXE  ,Transmit MAC Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 27. " RXE    ,Receive MAC Enable" "-,Enabled"
bitfld.long 0x00 26. "                 WKE  ,Wake-Up Enable" "-,Enabled"
group.long (0x804+0)++0x3
line.long 0x0 "EMAC0_MR1,Mode Register 0 1"
bitfld.long 0x0 31. " FDE    ,Full-Duplex Enable" "-,Enabled"
bitfld.long 0x0 30. "                 ILE  ,Internal Loop-back Enable" "-,Enabled"
textline "                      "
bitfld.long 0x0 29. " VLE    ,VLAN Enable" "-,Enabled"
bitfld.long 0x0 28. "                 EIFC ,Enable Integrated Flow Control" "-,Enabled"
textline "                      "
bitfld.long 0x0 27. " APP    ,Allow Pause Packet" "-,Enabled"
bitfld.long 0x0 24. "                 IST  ,Ignore SQE test" "-,Ignored"
textline "                      "
bitfld.long 0x0 22.--23. " MF     ,Medium Frequency" "10 Mbps,100 Mbps,Reserved,Reserved"
bitfld.long 0x0 19.--21. "                RFS  ,Receive (RX) FIFO Size" "512 bytes,1 KB,2 KB,4 KB,Reserved,Reserved,Reserved,Reserved"
textline "                      "
bitfld.long 0x0 16.--18. " TFS    ,Transmit (TX) FIFO Size" "512 bytes,1 KB,2 KB,4 KB,8 KB,16 KB,Reserved,Reserved"
bitfld.long 0x0 15. "               TR   ,Transmit Request" "Single,Multiple"
textline "                      "
bitfld.long 0x0 12.--14. " MWSW   ,Maximum Waiting Status Words" "-,1 status,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x0 11. "                JPSM ,Jumbo Packet Support Mode" "-,Enabled"
textline "                      "
bitfld.long 0x0 6.--10. " IPPA   ,Internal PCS PHY Address" "0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F,10,11,12,13,14,15,16,17,18,19,1A,1B,1C,1D,1E,1F"
bitfld.long 0x0 3.--5. "                      OBCI ,OPB Bus Clock Indication" "50 MHz,66 MHz,83 MHz,100 MHz,>100 MHz,Reserved,Reserved,Reserved"
group.long (0x808+0)++0x47
line.long 0x0 "EMAC0_TMR0,Transmit Mode Register 0 0"
bitfld.long 0x0 31. " GNP    ,Get New Packet" "-,Ready"
bitfld.long 0x0 0.--2. "                   TFAE ,TX FIFO Almost Empty" "Reserved,2 entries/32 cycles,4 entries/64 cycles,8 entries/128 cycles,16 entries/256 cycles,32 entries/512 cycles,64 entries/1024 cycles,128 entries/2048 cycles/disabled"
line.long 0x4 "EMAC0_TMR1,Transmit Mode Register 0 1"
bitfld.long 0x4 27.--31. " TLR    ,Transmit Low Request" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
hexmask.long.word 0x4 14.--23. 1. "                      TUR  ,Transmit Urgent Request"
line.long 0x8 "EMAC0_RMR,Receive Mode Register 0"
bitfld.long 0x8 31. " SP     ,Strip Padding" "-,Stripped"
bitfld.long 0x8 30. "                SFCS ,Strip FCS" "-,Stripped"
textline "                      "
bitfld.long 0x8 29. " RRP    ,Receive Runt Packets" "-,Received"
bitfld.long 0x8 28. "                RFP  ,Allow Receive Packets with a FCS Error" "-,Allowed"
textline "                      "
bitfld.long 0x8 27. " ROP    ,Receive Oversize Packet" "-,Received"
bitfld.long 0x8 26. "                RPIR ,Receive Packets with In Range Error" "-,Received"
textline "                      "
bitfld.long 0x8 25. " PPP    ,Propagate Pause Packet" "-,Propagated"
bitfld.long 0x8 24. "              PME  ,Promiscuous Mode Enable" "-,Enabled"
textline "                      "
bitfld.long 0x8 23. " PMME   ,Promiscuous Multicast Mode Enable" "-,Enabled"
bitfld.long 0x8 22. "                 IAE  ,Individual Address Enable" "-,Enabled"
textline "                      "
bitfld.long 0x8 21. " MIAE   ,Multiple Individual Address Enable" "-,Enabled"
bitfld.long 0x8 20. "                 BAE  ,Broadcast Address Enable" "-,Enabled"
textline "                      "
bitfld.long 0x8 19. " MAE    ,Multicast Address Enable" "-,Enabled"
bitfld.long 0x8 0.--2. "                 RFAF ,RX FIFO Almost Full" "Reserved,2 entries/32 cycles,4 entries/64 cycles,8 entries/128 cycles,16 entries/256 cycles,32 entries/512 cycles,64 entries/1024 cycles,128 entries/2048 cycles/disabled"
line.long 0xC "EMAC0_ISR,Interrupt Status Register 0"
eventfld.long 0xC 29. " TxPE   ,TX Parity Error" "-,Error"
eventfld.long 0xC 28. "                   RxPE ,RX Parity Error" "-,Error"
textline "                      "
eventfld.long 0xC 27. " TxUE   ,TX Underrun Event" "-,Underrun"
eventfld.long 0xC 26. "                RxOE ,RX Overrun Event" "-,Overrun"
textline "                      "
eventfld.long 0xC 25. " OVR    ,Overrun" "-,Error"
eventfld.long 0xC 24. "                   PP   ,Pause Packet" "-,Pause"
textline "                      "
eventfld.long 0xC 23. " BP     ,Bad Packet" "-,Error"
eventfld.long 0xC 22. "                   RP   ,Runt Packet" "-,Runt"
textline "                      "
eventfld.long 0xC 21. " SE     ,Short Event" "-,Short"
eventfld.long 0xC 20. "                   ALE  ,Alignment Error" "-,Error"
textline "                      "
eventfld.long 0xC 19. " BFCS   ,Bad FCS" "-,Error"
eventfld.long 0xC 18. "                   PTLE ,Packet Too Long Error" "-,Error"
textline "                      "
eventfld.long 0xC 17. " ORE    ,Out Of Range Error" "-,Error"
eventfld.long 0xC 16. "                   IRE  ,In Range Error" "-,Error"
textline "                      "
eventfld.long 0xC 8. " DB     ,Dead Bit" "-,Error/SQE"
eventfld.long 0xC 7. "               SE0  ,Signal Quality Error 0" "-,Error"
textline "                      "
eventfld.long 0xC 6. " TE0    ,Transmit Error 0" "-,Error"
eventfld.long 0xC 1. "                   MOS  ,MMA Operation Succeeded" "-,Succeeded"
textline "                      "
eventfld.long 0xC 0. " MOF    ,MMA Operation Failed" "-,Failed"
line.long 0x10 "EMAC0_ISER,Interrupt Status Enable Register 0"
bitfld.long 0x10 29. " TxPE   ,TX Parity Error" "-,Enabled"
bitfld.long 0x10 28. "                 RxPE ,RX Parity Error" "-,Enabled"
textline "                      "
bitfld.long 0x10 27. " TxUE   ,TX Underrun Event" "-,Enabled"
bitfld.long 0x10 26. "                 RxOE ,RX Overrun Event" "-,Enabled"
textline "                      "
bitfld.long 0x10 25. " OVR    ,Overrun" "-,Enabled"
bitfld.long 0x10 24. "                 PP   ,Pause Packet" "-,Enabled"
textline "                      "
bitfld.long 0x10 23. " BP     ,Bad Packet" "-,Enabled"
bitfld.long 0x10 22. "                 RP   ,Runt Packet" "-,Enabled"
textline "                      "
bitfld.long 0x10 21. " SE     ,Short Event" "-,Enabled"
bitfld.long 0x10 20. "                 ALE  ,Alignment Error" "-,Enabled"
textline "                      "
bitfld.long 0x10 19. " BFCS   ,Bad FCS" "-,Enabled"
bitfld.long 0x10 18. "                 PTLE ,Packet Too Long Error" "-,Enabled"
textline "                      "
bitfld.long 0x10 17. " ORE    ,Out Of Range Error" "-,Enabled"
bitfld.long 0x10 16. "                 IRE  ,In Range Error" "-,Enabled"
textline "                      "
bitfld.long 0x10 7. " SQE    ,SQE Error" "-,Enabled"
bitfld.long 0x10 6. "                 TxE  ,Transmit Error" "-,Enabled"
textline "                      "
bitfld.long 0x10 1. " MOS    ,MMA Operation Succeeded" "-,Enabled"
bitfld.long 0x10 0. "                 MOF  ,MMA Operation Failed" "-,Enabled"
line.long 0x14 "EMAC0_IAHR,Individual Address High 0"
hexmask.long.word 0x14 0.--15. 1. " HO     ,Receive and Transmit High Order"
line.long 0x18 "EMAC0_IALR,Individual Address Low 0"
line.long 0x1C "EMAC0_VTPID,VLAN TPID Register 0"
hexmask.long.word 0x1C 0.--15. 1. " VIDT   ,VLAN ID tag"
line.long 0x20 "EMAC0_VTCI,VLAN TCI Register 0"
hexmask.long.word 0x20 0.--15. 1. " VTCI   ,VLAN TCI tag"
line.long 0x24 "EMAC0_PTR,Pause Timer Register 0"
hexmask.long.word 0x24 0.--15. 1. " TVF    ,Timer Value Field"
line.long 0x28 "EMAC0_IAHT1,Individual Address Hash Table 0 1"
hexmask.long.word 0x28 0.--15. 1. " IAHN   ,Individual Address Hash Number"
line.long 0x2C "EMAC0_IAHT2,Individual Address Hash Table 0 2"
hexmask.long.word 0x2C 0.--15. 1. " IAHN   ,Individual Address Hash Number"
line.long 0x30 "EMAC0_IAHT3,Individual Address Hash Table 0 3"
hexmask.long.word 0x30 0.--15. 1. " IAHN   ,Individual Address Hash Number"
line.long 0x34 "EMAC0_IAHT4,Individual Address Hash Table 0 4"
hexmask.long.word 0x34 0.--15. 1. " IAHN   ,Individual Address Hash Number"
line.long 0x38 "EMAC0_GAHT1,Group Address Hash Table 0 1"
hexmask.long.word 0x38 0.--15. 1. " GAHN   ,Group Address Hash Number"
line.long 0x3C "EMAC0_GAHT2,Group Address Hash Table 0 2"
hexmask.long.word 0x3C 0.--15. 1. " GAHN   ,Group Address Hash Number"
line.long 0x40 "EMAC0_GAHT3,Group Address Hash Table 0 3"
hexmask.long.word 0x40 0.--15. 1. " GAHN   ,Group Address Hash Number"
line.long 0x44 "EMAC0_GAHT4,Group Address Hash Table 0 4"
hexmask.long.word 0x44 0.--15. 1. " GAHN   ,Group Address Hash Number"
rgroup.long (0x850+0)++0x7
line.long 0x0 "EMAC0_LSAH,Last Source Address High 0"
hexmask.long.word 0x00 0.--15. 1. " LSAHOH ,Last Source Address High-Order Halfword"
line.long 0x4 "EMAC0_LSAL,Last Source Address Low 0"
group.long (0x858+0)++0x3
line.long 0x0 "EMAC0_IPGVR,Inter-Packet Gap Value Register 0"
hexmask.long.byte 0x00 0.--5. 1. " IPG    ,Inter-Packet Gap"
hgroup.long (0x85C+0)++0x3
hide.long 0x0 "EMAC0_STACR,STA Control Register 0"
in
group.long (0x860+0)++0x7
line.long 0x0 "EMAC0_TRTR,Transmit Request Threshold Register 0"
hexmask.long.byte 0x00 24.--31. 1. " TRT    ,Transmit Request Threshold"
line.long 0x4 "EMAC0_RWMR,Receive Low/High Water Mark Register 0"
hexmask.long.word 0x4 22.--31. 1. " RLWM   ,Receive Low Water Mark"
hexmask.long.word 0x4 6.--15. 1. "                    RHWM ,Receive High Water Mark"
rgroup.long (0x868+0)++0x7
line.long 0x0 "EMAC0_OCTX,Octets transmitted 0"
line.long 0x4 "EMAC0_OCRX,Received Octects Register 0"
group.long (0x870+0)++0x3
line.long 0x0 "EMAC0_IPCR,Internal PCS Configuration Register 0"
hexmask.long 0x00 10.--31. 1. " OUI    ,OUI Value"
hexmask.long.byte 0x00 4.--9. 1. "                MMN  ,Manufacturer Model Number"
textline "                      "
hexmask.long.byte 0x00 0.--3. 1. " REVID  ,Revision Number"
width 0xb
tree.end
tree "EMAC1"
width 13.
group.long (0x800+0x100)++0x3
line.long 0x0 "EMAC1_MR0,Mode Register 1 0"
bitfld.long 0x00 31. " RXI    ,Receive MAC Idle" "-,Idle"
bitfld.long 0x00 30. "                    TXI  ,Transmit MAC Idle" "-,Idle"
textline "                      "
bitfld.long 0x00 29. " SRST   ,EMAC Software Reset" "-,Reset"
bitfld.long 0x00 28. "                   TXE  ,Transmit MAC Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 27. " RXE    ,Receive MAC Enable" "-,Enabled"
bitfld.long 0x00 26. "                 WKE  ,Wake-Up Enable" "-,Enabled"
group.long (0x804+0x100)++0x3
line.long 0x0 "EMAC1_MR1,Mode Register 1 1"
bitfld.long 0x0 31. " FDE    ,Full-Duplex Enable" "-,Enabled"
bitfld.long 0x0 30. "                 ILE  ,Internal Loop-back Enable" "-,Enabled"
textline "                      "
bitfld.long 0x0 29. " VLE    ,VLAN Enable" "-,Enabled"
bitfld.long 0x0 28. "                 EIFC ,Enable Integrated Flow Control" "-,Enabled"
textline "                      "
bitfld.long 0x0 27. " APP    ,Allow Pause Packet" "-,Enabled"
bitfld.long 0x0 24. "                 IST  ,Ignore SQE test" "-,Ignored"
textline "                      "
bitfld.long 0x0 22.--23. " MF     ,Medium Frequency" "10 Mbps,100 Mbps,Reserved,Reserved"
bitfld.long 0x0 19.--21. "                RFS  ,Receive (RX) FIFO Size" "512 bytes,1 KB,2 KB,4 KB,Reserved,Reserved,Reserved,Reserved"
textline "                      "
bitfld.long 0x0 16.--18. " TFS    ,Transmit (TX) FIFO Size" "512 bytes,1 KB,2 KB,4 KB,8 KB,16 KB,Reserved,Reserved"
bitfld.long 0x0 15. "               TR   ,Transmit Request" "Single,Multiple"
textline "                      "
bitfld.long 0x0 12.--14. " MWSW   ,Maximum Waiting Status Words" "-,1 status,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x0 11. "                JPSM ,Jumbo Packet Support Mode" "-,Enabled"
textline "                      "
bitfld.long 0x0 6.--10. " IPPA   ,Internal PCS PHY Address" "0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F,10,11,12,13,14,15,16,17,18,19,1A,1B,1C,1D,1E,1F"
bitfld.long 0x0 3.--5. "                      OBCI ,OPB Bus Clock Indication" "50 MHz,66 MHz,83 MHz,100 MHz,>100 MHz,Reserved,Reserved,Reserved"
group.long (0x808+0x100)++0x47
line.long 0x0 "EMAC1_TMR0,Transmit Mode Register 1 0"
bitfld.long 0x0 31. " GNP    ,Get New Packet" "-,Ready"
bitfld.long 0x0 0.--2. "                   TFAE ,TX FIFO Almost Empty" "Reserved,2 entries/32 cycles,4 entries/64 cycles,8 entries/128 cycles,16 entries/256 cycles,32 entries/512 cycles,64 entries/1024 cycles,128 entries/2048 cycles/disabled"
line.long 0x4 "EMAC1_TMR1,Transmit Mode Register 1 1"
bitfld.long 0x4 27.--31. " TLR    ,Transmit Low Request" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
hexmask.long.word 0x4 14.--23. 1. "                      TUR  ,Transmit Urgent Request"
line.long 0x8 "EMAC1_RMR,Receive Mode Register 1"
bitfld.long 0x8 31. " SP     ,Strip Padding" "-,Stripped"
bitfld.long 0x8 30. "                SFCS ,Strip FCS" "-,Stripped"
textline "                      "
bitfld.long 0x8 29. " RRP    ,Receive Runt Packets" "-,Received"
bitfld.long 0x8 28. "                RFP  ,Allow Receive Packets with a FCS Error" "-,Allowed"
textline "                      "
bitfld.long 0x8 27. " ROP    ,Receive Oversize Packet" "-,Received"
bitfld.long 0x8 26. "                RPIR ,Receive Packets with In Range Error" "-,Received"
textline "                      "
bitfld.long 0x8 25. " PPP    ,Propagate Pause Packet" "-,Propagated"
bitfld.long 0x8 24. "              PME  ,Promiscuous Mode Enable" "-,Enabled"
textline "                      "
bitfld.long 0x8 23. " PMME   ,Promiscuous Multicast Mode Enable" "-,Enabled"
bitfld.long 0x8 22. "                 IAE  ,Individual Address Enable" "-,Enabled"
textline "                      "
bitfld.long 0x8 21. " MIAE   ,Multiple Individual Address Enable" "-,Enabled"
bitfld.long 0x8 20. "                 BAE  ,Broadcast Address Enable" "-,Enabled"
textline "                      "
bitfld.long 0x8 19. " MAE    ,Multicast Address Enable" "-,Enabled"
bitfld.long 0x8 0.--2. "                 RFAF ,RX FIFO Almost Full" "Reserved,2 entries/32 cycles,4 entries/64 cycles,8 entries/128 cycles,16 entries/256 cycles,32 entries/512 cycles,64 entries/1024 cycles,128 entries/2048 cycles/disabled"
line.long 0xC "EMAC1_ISR,Interrupt Status Register 1"
eventfld.long 0xC 29. " TxPE   ,TX Parity Error" "-,Error"
eventfld.long 0xC 28. "                   RxPE ,RX Parity Error" "-,Error"
textline "                      "
eventfld.long 0xC 27. " TxUE   ,TX Underrun Event" "-,Underrun"
eventfld.long 0xC 26. "                RxOE ,RX Overrun Event" "-,Overrun"
textline "                      "
eventfld.long 0xC 25. " OVR    ,Overrun" "-,Error"
eventfld.long 0xC 24. "                   PP   ,Pause Packet" "-,Pause"
textline "                      "
eventfld.long 0xC 23. " BP     ,Bad Packet" "-,Error"
eventfld.long 0xC 22. "                   RP   ,Runt Packet" "-,Runt"
textline "                      "
eventfld.long 0xC 21. " SE     ,Short Event" "-,Short"
eventfld.long 0xC 20. "                   ALE  ,Alignment Error" "-,Error"
textline "                      "
eventfld.long 0xC 19. " BFCS   ,Bad FCS" "-,Error"
eventfld.long 0xC 18. "                   PTLE ,Packet Too Long Error" "-,Error"
textline "                      "
eventfld.long 0xC 17. " ORE    ,Out Of Range Error" "-,Error"
eventfld.long 0xC 16. "                   IRE  ,In Range Error" "-,Error"
textline "                      "
eventfld.long 0xC 8. " DB     ,Dead Bit" "-,Error/SQE"
eventfld.long 0xC 7. "               SE0  ,Signal Quality Error 0" "-,Error"
textline "                      "
eventfld.long 0xC 6. " TE0    ,Transmit Error 0" "-,Error"
eventfld.long 0xC 1. "                   MOS  ,MMA Operation Succeeded" "-,Succeeded"
textline "                      "
eventfld.long 0xC 0. " MOF    ,MMA Operation Failed" "-,Failed"
line.long 0x10 "EMAC1_ISER,Interrupt Status Enable Register 1"
bitfld.long 0x10 29. " TxPE   ,TX Parity Error" "-,Enabled"
bitfld.long 0x10 28. "                 RxPE ,RX Parity Error" "-,Enabled"
textline "                      "
bitfld.long 0x10 27. " TxUE   ,TX Underrun Event" "-,Enabled"
bitfld.long 0x10 26. "                 RxOE ,RX Overrun Event" "-,Enabled"
textline "                      "
bitfld.long 0x10 25. " OVR    ,Overrun" "-,Enabled"
bitfld.long 0x10 24. "                 PP   ,Pause Packet" "-,Enabled"
textline "                      "
bitfld.long 0x10 23. " BP     ,Bad Packet" "-,Enabled"
bitfld.long 0x10 22. "                 RP   ,Runt Packet" "-,Enabled"
textline "                      "
bitfld.long 0x10 21. " SE     ,Short Event" "-,Enabled"
bitfld.long 0x10 20. "                 ALE  ,Alignment Error" "-,Enabled"
textline "                      "
bitfld.long 0x10 19. " BFCS   ,Bad FCS" "-,Enabled"
bitfld.long 0x10 18. "                 PTLE ,Packet Too Long Error" "-,Enabled"
textline "                      "
bitfld.long 0x10 17. " ORE    ,Out Of Range Error" "-,Enabled"
bitfld.long 0x10 16. "                 IRE  ,In Range Error" "-,Enabled"
textline "                      "
bitfld.long 0x10 7. " SQE    ,SQE Error" "-,Enabled"
bitfld.long 0x10 6. "                 TxE  ,Transmit Error" "-,Enabled"
textline "                      "
bitfld.long 0x10 1. " MOS    ,MMA Operation Succeeded" "-,Enabled"
bitfld.long 0x10 0. "                 MOF  ,MMA Operation Failed" "-,Enabled"
line.long 0x14 "EMAC1_IAHR,Individual Address High 1"
hexmask.long.word 0x14 0.--15. 1. " HO     ,Receive and Transmit High Order"
line.long 0x18 "EMAC1_IALR,Individual Address Low 1"
line.long 0x1C "EMAC1_VTPID,VLAN TPID Register 1"
hexmask.long.word 0x1C 0.--15. 1. " VIDT   ,VLAN ID tag"
line.long 0x20 "EMAC1_VTCI,VLAN TCI Register 1"
hexmask.long.word 0x20 0.--15. 1. " VTCI   ,VLAN TCI tag"
line.long 0x24 "EMAC1_PTR,Pause Timer Register 1"
hexmask.long.word 0x24 0.--15. 1. " TVF    ,Timer Value Field"
line.long 0x28 "EMAC1_IAHT1,Individual Address Hash Table 1 1"
hexmask.long.word 0x28 0.--15. 1. " IAHN   ,Individual Address Hash Number"
line.long 0x2C "EMAC1_IAHT2,Individual Address Hash Table 1 2"
hexmask.long.word 0x2C 0.--15. 1. " IAHN   ,Individual Address Hash Number"
line.long 0x30 "EMAC1_IAHT3,Individual Address Hash Table 1 3"
hexmask.long.word 0x30 0.--15. 1. " IAHN   ,Individual Address Hash Number"
line.long 0x34 "EMAC1_IAHT4,Individual Address Hash Table 1 4"
hexmask.long.word 0x34 0.--15. 1. " IAHN   ,Individual Address Hash Number"
line.long 0x38 "EMAC1_GAHT1,Group Address Hash Table 1 1"
hexmask.long.word 0x38 0.--15. 1. " GAHN   ,Group Address Hash Number"
line.long 0x3C "EMAC1_GAHT2,Group Address Hash Table 1 2"
hexmask.long.word 0x3C 0.--15. 1. " GAHN   ,Group Address Hash Number"
line.long 0x40 "EMAC1_GAHT3,Group Address Hash Table 1 3"
hexmask.long.word 0x40 0.--15. 1. " GAHN   ,Group Address Hash Number"
line.long 0x44 "EMAC1_GAHT4,Group Address Hash Table 1 4"
hexmask.long.word 0x44 0.--15. 1. " GAHN   ,Group Address Hash Number"
rgroup.long (0x850+0x100)++0x7
line.long 0x0 "EMAC1_LSAH,Last Source Address High 1"
hexmask.long.word 0x00 0.--15. 1. " LSAHOH ,Last Source Address High-Order Halfword"
line.long 0x4 "EMAC1_LSAL,Last Source Address Low 1"
group.long (0x858+0x100)++0x3
line.long 0x0 "EMAC1_IPGVR,Inter-Packet Gap Value Register 1"
hexmask.long.byte 0x00 0.--5. 1. " IPG    ,Inter-Packet Gap"
hgroup.long (0x85C+0x100)++0x3
hide.long 0x0 "EMAC1_STACR,STA Control Register 1"
in
group.long (0x860+0x100)++0x7
line.long 0x0 "EMAC1_TRTR,Transmit Request Threshold Register 1"
hexmask.long.byte 0x00 24.--31. 1. " TRT    ,Transmit Request Threshold"
line.long 0x4 "EMAC1_RWMR,Receive Low/High Water Mark Register 1"
hexmask.long.word 0x4 22.--31. 1. " RLWM   ,Receive Low Water Mark"
hexmask.long.word 0x4 6.--15. 1. "                    RHWM ,Receive High Water Mark"
rgroup.long (0x868+0x100)++0x7
line.long 0x0 "EMAC1_OCTX,Octets transmitted 1"
line.long 0x4 "EMAC1_OCRX,Received Octects Register 1"
group.long (0x870+0x100)++0x3
line.long 0x0 "EMAC1_IPCR,Internal PCS Configuration Register 1"
hexmask.long 0x00 10.--31. 1. " OUI    ,OUI Value"
hexmask.long.byte 0x00 4.--9. 1. "                MMN  ,Manufacturer Model Number"
textline "                      "
hexmask.long.byte 0x00 0.--3. 1. " REVID  ,Revision Number"
width 0xb
tree.end
tree "EMAC2"
width 13.
group.long (0x800+0x400)++0x3
line.long 0x0 "EMAC2_MR0,Mode Register 2 0"
bitfld.long 0x00 31. " RXI    ,Receive MAC Idle" "-,Idle"
bitfld.long 0x00 30. "                    TXI  ,Transmit MAC Idle" "-,Idle"
textline "                      "
bitfld.long 0x00 29. " SRST   ,EMAC Software Reset" "-,Reset"
bitfld.long 0x00 28. "                   TXE  ,Transmit MAC Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 27. " RXE    ,Receive MAC Enable" "-,Enabled"
bitfld.long 0x00 26. "                 WKE  ,Wake-Up Enable" "-,Enabled"
group.long (0x804+0x400)++0x3
line.long 0x0 "EMAC2_MR1,Mode Register 2 1"
bitfld.long 0x0 31. " FDE    ,Full-Duplex Enable" "-,Enabled"
bitfld.long 0x0 30. "                 ILE  ,Internal Loop-back Enable" "-,Enabled"
textline "                      "
bitfld.long 0x0 29. " VLE    ,VLAN Enable" "-,Enabled"
bitfld.long 0x0 28. "                 EIFC ,Enable Integrated Flow Control" "-,Enabled"
textline "                      "
bitfld.long 0x0 27. " APP    ,Allow Pause Packet" "-,Enabled"
bitfld.long 0x0 24. "                 IST  ,Ignore SQE test" "-,Ignored"
textline "                      "
bitfld.long 0x0 22.--23. " MF     ,Medium Frequency" "10 Mbps,100 Mbps,1000 Mbps without GPCS,1000 Mbps with GPCS"
bitfld.long 0x0 19.--21. "  RFS  ,Receive (RX) FIFO Size" "512 bytes,1 KB,2 KB,4 KB,8 KB,16 KB,Reserved,Reserved"
textline "                      "
bitfld.long 0x0 16.--18. " TFS    ,Transmit (TX) FIFO Size" "512 bytes,1 KB,2 KB,4 KB,8 KB,16 KB,Reserved,Reserved"
bitfld.long 0x0 15. "               TR   ,Transmit Request" "Single,Multiple"
textline "                      "
bitfld.long 0x0 12.--14. " MWSW   ,Maximum Waiting Status Words" "-,1 status,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x0 11. "                JPSM ,Jumbo Packet Support Mode" "-,Enabled"
textline "                      "
bitfld.long 0x0 6.--10. " IPPA   ,Internal PCS PHY Address" "0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F,10,11,12,13,14,15,16,17,18,19,1A,1B,1C,1D,1E,1F"
bitfld.long 0x0 3.--5. "                      OBCI ,OPB Bus Clock Indication" "50 MHz,66 MHz,83 MHz,100 MHz,>100 MHz,Reserved,Reserved,Reserved"
group.long (0x808+0x400)++0x47
line.long 0x0 "EMAC2_TMR0,Transmit Mode Register 2 0"
bitfld.long 0x0 31. " GNP    ,Get New Packet" "-,Ready"
bitfld.long 0x0 0.--2. "                   TFAE ,TX FIFO Almost Empty" "Reserved,2 entries/32 cycles,4 entries/64 cycles,8 entries/128 cycles,16 entries/256 cycles,32 entries/512 cycles,64 entries/1024 cycles,128 entries/2048 cycles/disabled"
line.long 0x4 "EMAC2_TMR1,Transmit Mode Register 2 1"
bitfld.long 0x4 27.--31. " TLR    ,Transmit Low Request" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
hexmask.long.word 0x4 14.--23. 1. "                      TUR  ,Transmit Urgent Request"
line.long 0x8 "EMAC2_RMR,Receive Mode Register 2"
bitfld.long 0x8 31. " SP     ,Strip Padding" "-,Stripped"
bitfld.long 0x8 30. "                SFCS ,Strip FCS" "-,Stripped"
textline "                      "
bitfld.long 0x8 29. " RRP    ,Receive Runt Packets" "-,Received"
bitfld.long 0x8 28. "                RFP  ,Allow Receive Packets with a FCS Error" "-,Allowed"
textline "                      "
bitfld.long 0x8 27. " ROP    ,Receive Oversize Packet" "-,Received"
bitfld.long 0x8 26. "                RPIR ,Receive Packets with In Range Error" "-,Received"
textline "                      "
bitfld.long 0x8 25. " PPP    ,Propagate Pause Packet" "-,Propagated"
bitfld.long 0x8 24. "              PME  ,Promiscuous Mode Enable" "-,Enabled"
textline "                      "
bitfld.long 0x8 23. " PMME   ,Promiscuous Multicast Mode Enable" "-,Enabled"
bitfld.long 0x8 22. "                 IAE  ,Individual Address Enable" "-,Enabled"
textline "                      "
bitfld.long 0x8 21. " MIAE   ,Multiple Individual Address Enable" "-,Enabled"
bitfld.long 0x8 20. "                 BAE  ,Broadcast Address Enable" "-,Enabled"
textline "                      "
bitfld.long 0x8 19. " MAE    ,Multicast Address Enable" "-,Enabled"
bitfld.long 0x8 0.--2. "                 RFAF ,RX FIFO Almost Full" "Reserved,2 entries/32 cycles,4 entries/64 cycles,8 entries/128 cycles,16 entries/256 cycles,32 entries/512 cycles,64 entries/1024 cycles,128 entries/2048 cycles/disabled"
line.long 0xC "EMAC2_ISR,Interrupt Status Register 2"
eventfld.long 0xC 29. " TxPE   ,TX Parity Error" "-,Error"
eventfld.long 0xC 28. "                   RxPE ,RX Parity Error" "-,Error"
textline "                      "
eventfld.long 0xC 27. " TxUE   ,TX Underrun Event" "-,Underrun"
eventfld.long 0xC 26. "                RxOE ,RX Overrun Event" "-,Overrun"
textline "                      "
eventfld.long 0xC 25. " OVR    ,Overrun" "-,Error"
eventfld.long 0xC 24. "                   PP   ,Pause Packet" "-,Pause"
textline "                      "
eventfld.long 0xC 23. " BP     ,Bad Packet" "-,Error"
eventfld.long 0xC 22. "                   RP   ,Runt Packet" "-,Runt"
textline "                      "
eventfld.long 0xC 21. " SE     ,Short Event" "-,Short"
eventfld.long 0xC 20. "                   ALE  ,Alignment Error" "-,Error"
textline "                      "
eventfld.long 0xC 19. " BFCS   ,Bad FCS" "-,Error"
eventfld.long 0xC 18. "                   PTLE ,Packet Too Long Error" "-,Error"
textline "                      "
eventfld.long 0xC 17. " ORE    ,Out Of Range Error" "-,Error"
eventfld.long 0xC 16. "                   IRE  ,In Range Error" "-,Error"
textline "                      "
eventfld.long 0xC 8. " DB     ,Dead Bit" "-,Error/SQE"
eventfld.long 0xC 7. "               SE0  ,Signal Quality Error 0" "-,Error"
textline "                      "
eventfld.long 0xC 6. " TE0    ,Transmit Error 0" "-,Error"
eventfld.long 0xC 1. "                   MOS  ,MMA Operation Succeeded" "-,Succeeded"
textline "                      "
eventfld.long 0xC 0. " MOF    ,MMA Operation Failed" "-,Failed"
line.long 0x10 "EMAC2_ISER,Interrupt Status Enable Register 2"
bitfld.long 0x10 29. " TxPE   ,TX Parity Error" "-,Enabled"
bitfld.long 0x10 28. "                 RxPE ,RX Parity Error" "-,Enabled"
textline "                      "
bitfld.long 0x10 27. " TxUE   ,TX Underrun Event" "-,Enabled"
bitfld.long 0x10 26. "                 RxOE ,RX Overrun Event" "-,Enabled"
textline "                      "
bitfld.long 0x10 25. " OVR    ,Overrun" "-,Enabled"
bitfld.long 0x10 24. "                 PP   ,Pause Packet" "-,Enabled"
textline "                      "
bitfld.long 0x10 23. " BP     ,Bad Packet" "-,Enabled"
bitfld.long 0x10 22. "                 RP   ,Runt Packet" "-,Enabled"
textline "                      "
bitfld.long 0x10 21. " SE     ,Short Event" "-,Enabled"
bitfld.long 0x10 20. "                 ALE  ,Alignment Error" "-,Enabled"
textline "                      "
bitfld.long 0x10 19. " BFCS   ,Bad FCS" "-,Enabled"
bitfld.long 0x10 18. "                 PTLE ,Packet Too Long Error" "-,Enabled"
textline "                      "
bitfld.long 0x10 17. " ORE    ,Out Of Range Error" "-,Enabled"
bitfld.long 0x10 16. "                 IRE  ,In Range Error" "-,Enabled"
textline "                      "
bitfld.long 0x10 7. " SQE    ,SQE Error" "-,Enabled"
bitfld.long 0x10 6. "                 TxE  ,Transmit Error" "-,Enabled"
textline "                      "
bitfld.long 0x10 1. " MOS    ,MMA Operation Succeeded" "-,Enabled"
bitfld.long 0x10 0. "                 MOF  ,MMA Operation Failed" "-,Enabled"
line.long 0x14 "EMAC2_IAHR,Individual Address High 2"
hexmask.long.word 0x14 0.--15. 1. " HO     ,Receive and Transmit High Order"
line.long 0x18 "EMAC2_IALR,Individual Address Low 2"
line.long 0x1C "EMAC2_VTPID,VLAN TPID Register 2"
hexmask.long.word 0x1C 0.--15. 1. " VIDT   ,VLAN ID tag"
line.long 0x20 "EMAC2_VTCI,VLAN TCI Register 2"
hexmask.long.word 0x20 0.--15. 1. " VTCI   ,VLAN TCI tag"
line.long 0x24 "EMAC2_PTR,Pause Timer Register 2"
hexmask.long.word 0x24 0.--15. 1. " TVF    ,Timer Value Field"
line.long 0x28 "EMAC2_IAHT1,Individual Address Hash Table 2 1"
hexmask.long.word 0x28 0.--15. 1. " IAHN   ,Individual Address Hash Number"
line.long 0x2C "EMAC2_IAHT2,Individual Address Hash Table 2 2"
hexmask.long.word 0x2C 0.--15. 1. " IAHN   ,Individual Address Hash Number"
line.long 0x30 "EMAC2_IAHT3,Individual Address Hash Table 2 3"
hexmask.long.word 0x30 0.--15. 1. " IAHN   ,Individual Address Hash Number"
line.long 0x34 "EMAC2_IAHT4,Individual Address Hash Table 2 4"
hexmask.long.word 0x34 0.--15. 1. " IAHN   ,Individual Address Hash Number"
line.long 0x38 "EMAC2_GAHT1,Group Address Hash Table 2 1"
hexmask.long.word 0x38 0.--15. 1. " GAHN   ,Group Address Hash Number"
line.long 0x3C "EMAC2_GAHT2,Group Address Hash Table 2 2"
hexmask.long.word 0x3C 0.--15. 1. " GAHN   ,Group Address Hash Number"
line.long 0x40 "EMAC2_GAHT3,Group Address Hash Table 2 3"
hexmask.long.word 0x40 0.--15. 1. " GAHN   ,Group Address Hash Number"
line.long 0x44 "EMAC2_GAHT4,Group Address Hash Table 2 4"
hexmask.long.word 0x44 0.--15. 1. " GAHN   ,Group Address Hash Number"
rgroup.long (0x850+0x400)++0x7
line.long 0x0 "EMAC2_LSAH,Last Source Address High 2"
hexmask.long.word 0x00 0.--15. 1. " LSAHOH ,Last Source Address High-Order Halfword"
line.long 0x4 "EMAC2_LSAL,Last Source Address Low 2"
group.long (0x858+0x400)++0x3
line.long 0x0 "EMAC2_IPGVR,Inter-Packet Gap Value Register 2"
hexmask.long.byte 0x00 0.--5. 1. " IPG    ,Inter-Packet Gap"
hgroup.long (0x85C+0x400)++0x3
hide.long 0x0 "EMAC2_STACR,STA Control Register 2"
in
group.long (0x860+0x400)++0x7
line.long 0x0 "EMAC2_TRTR,Transmit Request Threshold Register 2"
hexmask.long.byte 0x00 24.--31. 1. " TRT    ,Transmit Request Threshold"
line.long 0x4 "EMAC2_RWMR,Receive Low/High Water Mark Register 2"
hexmask.long.word 0x4 22.--31. 1. " RLWM   ,Receive Low Water Mark"
hexmask.long.word 0x4 6.--15. 1. "                    RHWM ,Receive High Water Mark"
rgroup.long (0x868+0x400)++0x7
line.long 0x0 "EMAC2_OCTX,Octets transmitted 2"
line.long 0x4 "EMAC2_OCRX,Received Octects Register 2"
group.long (0x870+0x400)++0x3
line.long 0x0 "EMAC2_IPCR,Internal PCS Configuration Register 2"
hexmask.long 0x00 10.--31. 1. " OUI    ,OUI Value"
hexmask.long.byte 0x00 4.--9. 1. "                MMN  ,Manufacturer Model Number"
textline "                      "
hexmask.long.byte 0x00 0.--3. 1. " REVID  ,Revision Number"
width 0xb
tree.end
tree "EMAC3"
width 13.
group.long (0x800+0x600)++0x3
line.long 0x0 "EMAC3_MR0,Mode Register 3 0"
bitfld.long 0x00 31. " RXI    ,Receive MAC Idle" "-,Idle"
bitfld.long 0x00 30. "                    TXI  ,Transmit MAC Idle" "-,Idle"
textline "                      "
bitfld.long 0x00 29. " SRST   ,EMAC Software Reset" "-,Reset"
bitfld.long 0x00 28. "                   TXE  ,Transmit MAC Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 27. " RXE    ,Receive MAC Enable" "-,Enabled"
bitfld.long 0x00 26. "                 WKE  ,Wake-Up Enable" "-,Enabled"
group.long (0x804+0x600)++0x3
line.long 0x0 "EMAC3_MR1,Mode Register 3 1"
bitfld.long 0x0 31. " FDE    ,Full-Duplex Enable" "-,Enabled"
bitfld.long 0x0 30. "                 ILE  ,Internal Loop-back Enable" "-,Enabled"
textline "                      "
bitfld.long 0x0 29. " VLE    ,VLAN Enable" "-,Enabled"
bitfld.long 0x0 28. "                 EIFC ,Enable Integrated Flow Control" "-,Enabled"
textline "                      "
bitfld.long 0x0 27. " APP    ,Allow Pause Packet" "-,Enabled"
bitfld.long 0x0 24. "                 IST  ,Ignore SQE test" "-,Ignored"
textline "                      "
bitfld.long 0x0 22.--23. " MF     ,Medium Frequency" "10 Mbps,100 Mbps,1000 Mbps without GPCS,1000 Mbps with GPCS"
bitfld.long 0x0 19.--21. "  RFS  ,Receive (RX) FIFO Size" "512 bytes,1 KB,2 KB,4 KB,8 KB,16 KB,Reserved,Reserved"
textline "                      "
bitfld.long 0x0 16.--18. " TFS    ,Transmit (TX) FIFO Size" "512 bytes,1 KB,2 KB,4 KB,8 KB,16 KB,Reserved,Reserved"
bitfld.long 0x0 15. "               TR   ,Transmit Request" "Single,Multiple"
textline "                      "
bitfld.long 0x0 12.--14. " MWSW   ,Maximum Waiting Status Words" "-,1 status,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x0 11. "                JPSM ,Jumbo Packet Support Mode" "-,Enabled"
textline "                      "
bitfld.long 0x0 6.--10. " IPPA   ,Internal PCS PHY Address" "0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F,10,11,12,13,14,15,16,17,18,19,1A,1B,1C,1D,1E,1F"
bitfld.long 0x0 3.--5. "                      OBCI ,OPB Bus Clock Indication" "50 MHz,66 MHz,83 MHz,100 MHz,>100 MHz,Reserved,Reserved,Reserved"
group.long (0x808+0x600)++0x47
line.long 0x0 "EMAC3_TMR0,Transmit Mode Register 3 0"
bitfld.long 0x0 31. " GNP    ,Get New Packet" "-,Ready"
bitfld.long 0x0 0.--2. "                   TFAE ,TX FIFO Almost Empty" "Reserved,2 entries/32 cycles,4 entries/64 cycles,8 entries/128 cycles,16 entries/256 cycles,32 entries/512 cycles,64 entries/1024 cycles,128 entries/2048 cycles/disabled"
line.long 0x4 "EMAC3_TMR1,Transmit Mode Register 3 1"
bitfld.long 0x4 27.--31. " TLR    ,Transmit Low Request" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
hexmask.long.word 0x4 14.--23. 1. "                      TUR  ,Transmit Urgent Request"
line.long 0x8 "EMAC3_RMR,Receive Mode Register 3"
bitfld.long 0x8 31. " SP     ,Strip Padding" "-,Stripped"
bitfld.long 0x8 30. "                SFCS ,Strip FCS" "-,Stripped"
textline "                      "
bitfld.long 0x8 29. " RRP    ,Receive Runt Packets" "-,Received"
bitfld.long 0x8 28. "                RFP  ,Allow Receive Packets with a FCS Error" "-,Allowed"
textline "                      "
bitfld.long 0x8 27. " ROP    ,Receive Oversize Packet" "-,Received"
bitfld.long 0x8 26. "                RPIR ,Receive Packets with In Range Error" "-,Received"
textline "                      "
bitfld.long 0x8 25. " PPP    ,Propagate Pause Packet" "-,Propagated"
bitfld.long 0x8 24. "              PME  ,Promiscuous Mode Enable" "-,Enabled"
textline "                      "
bitfld.long 0x8 23. " PMME   ,Promiscuous Multicast Mode Enable" "-,Enabled"
bitfld.long 0x8 22. "                 IAE  ,Individual Address Enable" "-,Enabled"
textline "                      "
bitfld.long 0x8 21. " MIAE   ,Multiple Individual Address Enable" "-,Enabled"
bitfld.long 0x8 20. "                 BAE  ,Broadcast Address Enable" "-,Enabled"
textline "                      "
bitfld.long 0x8 19. " MAE    ,Multicast Address Enable" "-,Enabled"
bitfld.long 0x8 0.--2. "                 RFAF ,RX FIFO Almost Full" "Reserved,2 entries/32 cycles,4 entries/64 cycles,8 entries/128 cycles,16 entries/256 cycles,32 entries/512 cycles,64 entries/1024 cycles,128 entries/2048 cycles/disabled"
line.long 0xC "EMAC3_ISR,Interrupt Status Register 3"
eventfld.long 0xC 29. " TxPE   ,TX Parity Error" "-,Error"
eventfld.long 0xC 28. "                   RxPE ,RX Parity Error" "-,Error"
textline "                      "
eventfld.long 0xC 27. " TxUE   ,TX Underrun Event" "-,Underrun"
eventfld.long 0xC 26. "                RxOE ,RX Overrun Event" "-,Overrun"
textline "                      "
eventfld.long 0xC 25. " OVR    ,Overrun" "-,Error"
eventfld.long 0xC 24. "                   PP   ,Pause Packet" "-,Pause"
textline "                      "
eventfld.long 0xC 23. " BP     ,Bad Packet" "-,Error"
eventfld.long 0xC 22. "                   RP   ,Runt Packet" "-,Runt"
textline "                      "
eventfld.long 0xC 21. " SE     ,Short Event" "-,Short"
eventfld.long 0xC 20. "                   ALE  ,Alignment Error" "-,Error"
textline "                      "
eventfld.long 0xC 19. " BFCS   ,Bad FCS" "-,Error"
eventfld.long 0xC 18. "                   PTLE ,Packet Too Long Error" "-,Error"
textline "                      "
eventfld.long 0xC 17. " ORE    ,Out Of Range Error" "-,Error"
eventfld.long 0xC 16. "                   IRE  ,In Range Error" "-,Error"
textline "                      "
eventfld.long 0xC 8. " DB     ,Dead Bit" "-,Error/SQE"
eventfld.long 0xC 7. "               SE0  ,Signal Quality Error 0" "-,Error"
textline "                      "
eventfld.long 0xC 6. " TE0    ,Transmit Error 0" "-,Error"
eventfld.long 0xC 1. "                   MOS  ,MMA Operation Succeeded" "-,Succeeded"
textline "                      "
eventfld.long 0xC 0. " MOF    ,MMA Operation Failed" "-,Failed"
line.long 0x10 "EMAC3_ISER,Interrupt Status Enable Register 3"
bitfld.long 0x10 29. " TxPE   ,TX Parity Error" "-,Enabled"
bitfld.long 0x10 28. "                 RxPE ,RX Parity Error" "-,Enabled"
textline "                      "
bitfld.long 0x10 27. " TxUE   ,TX Underrun Event" "-,Enabled"
bitfld.long 0x10 26. "                 RxOE ,RX Overrun Event" "-,Enabled"
textline "                      "
bitfld.long 0x10 25. " OVR    ,Overrun" "-,Enabled"
bitfld.long 0x10 24. "                 PP   ,Pause Packet" "-,Enabled"
textline "                      "
bitfld.long 0x10 23. " BP     ,Bad Packet" "-,Enabled"
bitfld.long 0x10 22. "                 RP   ,Runt Packet" "-,Enabled"
textline "                      "
bitfld.long 0x10 21. " SE     ,Short Event" "-,Enabled"
bitfld.long 0x10 20. "                 ALE  ,Alignment Error" "-,Enabled"
textline "                      "
bitfld.long 0x10 19. " BFCS   ,Bad FCS" "-,Enabled"
bitfld.long 0x10 18. "                 PTLE ,Packet Too Long Error" "-,Enabled"
textline "                      "
bitfld.long 0x10 17. " ORE    ,Out Of Range Error" "-,Enabled"
bitfld.long 0x10 16. "                 IRE  ,In Range Error" "-,Enabled"
textline "                      "
bitfld.long 0x10 7. " SQE    ,SQE Error" "-,Enabled"
bitfld.long 0x10 6. "                 TxE  ,Transmit Error" "-,Enabled"
textline "                      "
bitfld.long 0x10 1. " MOS    ,MMA Operation Succeeded" "-,Enabled"
bitfld.long 0x10 0. "                 MOF  ,MMA Operation Failed" "-,Enabled"
line.long 0x14 "EMAC3_IAHR,Individual Address High 3"
hexmask.long.word 0x14 0.--15. 1. " HO     ,Receive and Transmit High Order"
line.long 0x18 "EMAC3_IALR,Individual Address Low 3"
line.long 0x1C "EMAC3_VTPID,VLAN TPID Register 3"
hexmask.long.word 0x1C 0.--15. 1. " VIDT   ,VLAN ID tag"
line.long 0x20 "EMAC3_VTCI,VLAN TCI Register 3"
hexmask.long.word 0x20 0.--15. 1. " VTCI   ,VLAN TCI tag"
line.long 0x24 "EMAC3_PTR,Pause Timer Register 3"
hexmask.long.word 0x24 0.--15. 1. " TVF    ,Timer Value Field"
line.long 0x28 "EMAC3_IAHT1,Individual Address Hash Table 3 1"
hexmask.long.word 0x28 0.--15. 1. " IAHN   ,Individual Address Hash Number"
line.long 0x2C "EMAC3_IAHT2,Individual Address Hash Table 3 2"
hexmask.long.word 0x2C 0.--15. 1. " IAHN   ,Individual Address Hash Number"
line.long 0x30 "EMAC3_IAHT3,Individual Address Hash Table 3 3"
hexmask.long.word 0x30 0.--15. 1. " IAHN   ,Individual Address Hash Number"
line.long 0x34 "EMAC3_IAHT4,Individual Address Hash Table 3 4"
hexmask.long.word 0x34 0.--15. 1. " IAHN   ,Individual Address Hash Number"
line.long 0x38 "EMAC3_GAHT1,Group Address Hash Table 3 1"
hexmask.long.word 0x38 0.--15. 1. " GAHN   ,Group Address Hash Number"
line.long 0x3C "EMAC3_GAHT2,Group Address Hash Table 3 2"
hexmask.long.word 0x3C 0.--15. 1. " GAHN   ,Group Address Hash Number"
line.long 0x40 "EMAC3_GAHT3,Group Address Hash Table 3 3"
hexmask.long.word 0x40 0.--15. 1. " GAHN   ,Group Address Hash Number"
line.long 0x44 "EMAC3_GAHT4,Group Address Hash Table 3 4"
hexmask.long.word 0x44 0.--15. 1. " GAHN   ,Group Address Hash Number"
rgroup.long (0x850+0x600)++0x7
line.long 0x0 "EMAC3_LSAH,Last Source Address High 3"
hexmask.long.word 0x00 0.--15. 1. " LSAHOH ,Last Source Address High-Order Halfword"
line.long 0x4 "EMAC3_LSAL,Last Source Address Low 3"
group.long (0x858+0x600)++0x3
line.long 0x0 "EMAC3_IPGVR,Inter-Packet Gap Value Register 3"
hexmask.long.byte 0x00 0.--5. 1. " IPG    ,Inter-Packet Gap"
hgroup.long (0x85C+0x600)++0x3
hide.long 0x0 "EMAC3_STACR,STA Control Register 3"
in
group.long (0x860+0x600)++0x7
line.long 0x0 "EMAC3_TRTR,Transmit Request Threshold Register 3"
hexmask.long.byte 0x00 24.--31. 1. " TRT    ,Transmit Request Threshold"
line.long 0x4 "EMAC3_RWMR,Receive Low/High Water Mark Register 3"
hexmask.long.word 0x4 22.--31. 1. " RLWM   ,Receive Low Water Mark"
hexmask.long.word 0x4 6.--15. 1. "                    RHWM ,Receive High Water Mark"
rgroup.long (0x868+0x600)++0x7
line.long 0x0 "EMAC3_OCTX,Octets transmitted 3"
line.long 0x4 "EMAC3_OCRX,Received Octects Register 3"
group.long (0x870+0x600)++0x3
line.long 0x0 "EMAC3_IPCR,Internal PCS Configuration Register 3"
hexmask.long 0x00 10.--31. 1. " OUI    ,OUI Value"
hexmask.long.byte 0x00 4.--9. 1. "                MMN  ,Manufacturer Model Number"
textline "                      "
hexmask.long.byte 0x00 0.--3. 1. " REVID  ,Revision Number"
width 0xb
tree.end
elif (cpu()=="PPC440GP")
width 0x0b
tree "EMAC0"
group ANC:0x1:(0x40000800+0)++0x3
line.long 0x0 "EMAC0_MR0,Function Enable Register"
bitfld.long 0x00 31. " RXI   ,Receive MAC Idle" "No idle,Idle"
bitfld.long 0x00 30. "                 TXI  ,Transmit MAC Idle" "No idle,Idle"
textline "                    "
bitfld.long 0x00 29. " SRST  ,EMAC Software Reset" "-,Reset"
bitfld.long 0x00 28. "                   TXE  ,Transmit MAC Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 27. " RXE   ,Receive MAC Enable" "-,Enabled"
bitfld.long 0x00 26. "                 WKE  ,Wake-Up Enable" "-,Enabled"
group ANC:0x1:(0x40000804+0)++0x3
line.long 0x0 "EMAC0_MR1,Function Enable Register"
bitfld.long 0x00 31. " FDE   ,Full-Duplex Enable" "-,Enabled"
bitfld.long 0x00 30. "                 ILE  ,Internal Loop-back Enable" "No wrap back,Wrap back"
textline "                    "
bitfld.long 0x00 29. " VLE   ,VLAN Enable" "-,Enabled"
bitfld.long 0x00 28. "                 EIFC ,Enable Integrated Flow Control" "-,Enabled"
textline "                    "
bitfld.long 0x00 27. " APP   ,Allow Pause Packet" "-,Enabled"
bitfld.long 0x00 24. "                 IST  ,Ignore SQE test" "Wait,Do not wait"
textline "                    "
bitfld.long 0x00 22.--23. " MF    ,Medium Frequency" "10 Mbps,100 Mbps,Reserved,Reserved"
bitfld.long 0x00 20.--21. "                RFS  ,Receive (RX) FIFO Size" "512 bytes,1 KB,2 KB,4 KB"
textline "                    "
bitfld.long 0x00 18.--19. " TFS   ,Transmit (TX) FIFO Size" "Reserved,1 KB,2 KB,Reserved"
bitfld.long 0x00 15.--16. "                TR0  ,Transmit Request 0" "Single,Multiple,Dependent,Reserved"
textline "                    "
bitfld.long 0x00 13.--14. " TR1   ,Transmit Request 1" "Single,Multiple,Dependent,Reserved"
group ANC:0x1:(0x40000808+0)++0x3
line.long 0x0 "EMAC0_TMR0,Transmit Mode Register 0"
bitfld.long 0x00 31. " GNP0  ,Get New Packet 0" "No effect,Ready for transmission"
bitfld.long 0x00 30. "  GNP1 ,Get New Packet 1" "No effect,Ready for transmission"
textline "                    "
bitfld.long 0x00 29. " GNPD  ,Get New Packet for Dependent Mode" "No effect,Ready for transmission"
bitfld.long 0x00 28. "  FC   ,First Channel" "Channel 0,Channel 1"
group ANC:0x1:(0x4000080c+0)++0x3
line.long 0x0 "EMAC0_TMR1,Transmit Mode Register 1"
bitfld.long 0x00 27.--31. " TLR   ,Transmit Low Request" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
hexmask.long.word 0x00 16.--23. 1. "                      TUR  ,Transmit Urgent Request"
group ANC:0x1:(0x40000810+0)++0x3
line.long 0x0 "EMAC0_RMR,Receive Mode Register"
bitfld.long 0x00 31. " SP    ,Strip Padding" "Do not strip,Strip"
bitfld.long 0x00 30. "            SFCS ,Strip FCS" "Do not strip,Strip"
textline "                    "
bitfld.long 0x00 29. " RRP   ,Receive Runt Packets" "Discard,Receive"
bitfld.long 0x00 28. "                 RFP  ,Allow Receive Packets with a FCS Error" "Discard,Receive"
textline "                    "
bitfld.long 0x00 27. " ROP   ,Receive Oversize Packet" "Discard,Receive"
bitfld.long 0x00 26. "                 RPIR ,Receive Packets with In Range Error" "Discard,Receive"
textline "                    "
bitfld.long 0x00 25. " PPP   ,Propagate Pause Packet" "Do not propagate,Propagate"
bitfld.long 0x00 24. "        PME  ,Promiscuous Mode Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 23. " PMME  ,Promiscuous Multicast Mode Enable" "-,Enabled"
bitfld.long 0x00 22. "                 IAE  ,Individual Address Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 21. " MIAE  ,Multiple Individual Address Enable" "-,Enabled"
bitfld.long 0x00 20. "                 BAE  ,Broadcast Address Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 19. " MAE   ,Multicast Address Enable" "-,Enabled"
group ANC:0x1:(0x40000814+0)++0x3
line.long 0x0 "EMAC0_ISR,Interrupt Status Register"
bitfld.long 0x00 25. " OVR   ,Overrun" "-,Error"
bitfld.long 0x00 24. "                   PP   ,Received Pause Packet" "No,Yes"
textline "                    "
bitfld.long 0x00 23. " BP    ,Bad Packet" "No,Yes"
bitfld.long 0x00 22. "                     RP   ,Received Runt Packet" "No,Yes"
textline "                    "
bitfld.long 0x00 21. " SE    ,Short Event" "No event    ,Event   "
bitfld.long 0x00 20. "            ALE  ,Alignment Error" "-,Error"
textline "                    "
bitfld.long 0x00 19. " BFCS  ,Bad FCS" "-,Error"
bitfld.long 0x00 18. "                   PTLE ,Packet Too Long Error" "-,Error"
textline "                    "
bitfld.long 0x00 17. " ORE   ,Out Of Range Error" "-,Error"
bitfld.long 0x00 16. "                   IRE  ,In Range Error" "-,Error"
textline "                    "
bitfld.long 0x00 9. " DBDM  ,Dead Bit Dependent Mode" "-,Error"
bitfld.long 0x00 8. "                   DB0  ,Dead Bit 0" "-,Error"
textline "                    "
bitfld.long 0x00 7. " SE0   ,Signal Quality Error 0" "-,Error"
bitfld.long 0x00 6. "                   TE0  ,Transmit Error" "-,Error"
textline "                    "
bitfld.long 0x00 5. " DB1   ,Dead Bit 1" "-,Error"
bitfld.long 0x00 4. "                   SE1  ,Signal Quality Error 1" "-,Error"
textline "                    "
bitfld.long 0x00 3. " TE1   ,Transmit Error" "-,Error"
bitfld.long 0x00 1. "                   MOS  ,MMA Operation Succeeded" "Invalid,Valid"
textline "                    "
bitfld.long 0x00 0. " MOF   ,MMA Operation Failed" "Valid,Invalid"
group ANC:0x1:(0x40000818+0)++0x3
line.long 0x0 "EMAC0_ISER,Interrupt Status Enable Register"
bitfld.long 0x00 25. " OVR   ,Overrun" "Masked,Not masked"
bitfld.long 0x00 24. "              PP   ,Received Pause Packet" "Masked,Not masked"
textline "                    "
bitfld.long 0x00 23. " BP    ,Bad Packet" "Masked,Not masked"
bitfld.long 0x00 22. "              RP   ,Received Runt Packet" "Masked,Not masked"
textline "                    "
bitfld.long 0x00 21. " SE    ,Short Event" "Masked,Not masked"
bitfld.long 0x00 20. "              ALE  ,Alignment Error" "Masked,Not masked"
textline "                    "
bitfld.long 0x00 19. " BFCS  ,Bad FCS" "Masked,Not masked"
bitfld.long 0x00 18. "              PTLE ,Packet Too Long Error" "Masked,Not masked"
textline "                    "
bitfld.long 0x00 17. " ORE   ,Out Of Range Error" "Masked,Not masked"
bitfld.long 0x00 16. "              IRE  ,In Range Error" "Masked,Not masked"
textline "                    "
bitfld.long 0x00 7. " SE0   ,Signal Quality Error" "Masked,Not masked"
bitfld.long 0x00 6. "              TE0  ,Transmit Error" "Masked,Not masked"
textline "                    "
bitfld.long 0x00 4. " SE1   ,Signal Quality Error" "Masked,Not masked"
bitfld.long 0x00 3. "              TE1  ,Transmit Error" "Masked,Not masked"
textline "                    "
bitfld.long 0x00 1. " MOS   ,MMA Operation Succeeded" "Masked,Not masked"
bitfld.long 0x00 0. "              MOF  ,MMA Operation Failed" "Masked,Not masked"
group ANC:0x1:(0x4000081c+0)++0x3
line.long 0x0 "EMAC0_IAHR,Individual Address High"
hexmask.long.word 0x00 0.--15. 1. " HO    ,Receive and Transmit High Order"
group ANC:0x1:(0x40000820+0)++0x3
line.long 0x0 "EMAC0_IALR,Individual Address Low"
hexmask.long.long 0x00 0.--31. 1. " LO    ,Receive and Transmit Low Order"
group ANC:0x1:(0x40000824+0)++0x3
line.long 0x0 "EMAC0_VTPID,VLAN TPID Register"
hexmask.long.word 0x00 0.--15. 1. " VIDT  ,VLAN ID tag"
group ANC:0x1:(0x40000828+0)++0x3
line.long 0x0 "EMAC0_VTCI,VLAN TCI Register"
hexmask.long.word 0x00 0.--15. 1. " VTCI  ,VLAN TCI tag"
group ANC:0x1:(0x4000082c+0)++0x3
line.long 0x0 "EMAC0_PTR,Pause Timer Register"
hexmask.long.word 0x00 0.--15. 1. " TVF   ,Timer Value Field"
group ANC:0x1:(0x40000830+0)++0x3
line.long 0x0 "EMAC0_IAHT1,Individual Address Hash Table 1"
hexmask.long.word 0x00 0.--15. 1. " IAHT1 ,Table 1 Individual Address Hash Number "
group ANC:0x1:(0x40000834+0)++0x3
line.long 0x0 "EMAC0_IAHT2,Individual Address Hash Table 2"
hexmask.long.word 0x00 0.--15. 1. " IAHT2 ,Table 2 Individual Address Hash Number "
group ANC:0x1:(0x40000838+0)++0x3
line.long 0x0 "EMAC0_IAHT3,Individual Address Hash Table 3"
hexmask.long.word 0x00 0.--15. 1. " IAHT3 ,Table 3 Individual Address Hash Number "
group ANC:0x1:(0x4000083c+0)++0x3
line.long 0x0 "EMAC0_IAHT4,Individual Address Hash Table 4"
hexmask.long.word 0x00 0.--15. 1. " IAHT4 ,Table 4 Individual Address Hash Number "
group ANC:0x1:(0x40000840+0)++0x3
line.long 0x0 "EMAC0_GAHT1,Group Address Hash Table 1"
hexmask.long.word 0x00 0.--15. 1. " GAHT1 ,Table 1 Group Address Hash Number "
group ANC:0x1:(0x40000844+0)++0x3
line.long 0x0 "EMAC0_GAHT2,Group Address Hash Table 2"
hexmask.long.word 0x00 0.--15. 1. " GAHT2 ,Table 2 Group Address Hash Number "
group ANC:0x1:(0x40000848+0)++0x3
line.long 0x0 "EMAC0_GAHT3,Group Address Hash Table 3"
hexmask.long.word 0x00 0.--15. 1. " GAHT3 ,Table 3 Group Address Hash Number "
group ANC:0x1:(0x4000084c+0)++0x3
line.long 0x0 "EMAC0_GAHT4,Group Address Hash Table 4"
hexmask.long.word 0x00 0.--15. 1. " GAHT4 ,Table 4 Group Address Hash Number "
rgroup ANC:0x1:(0x40000850+0)++0x3
line.long 0x0 "EMAC0_LSAH,Last Source Address High"
hexmask.long.word 0x00 0.--15. 1. " LSAH  ,Last Source Address High-Order Halfword "
rgroup ANC:0x1:(0x40000854+0)++0x3
line.long 0x0 "EMAC0_LSAL,Last Source Address Low"
hexmask.long.long 0x00 0.--31. 1. " LSAL  ,Last Source Address Low-Order Word "
group ANC:0x1:(0x40000858+0)++0x3
line.long 0x0 "EMAC0_IPGVR,Inter-Packet Gap Value Register"
hexmask.long.byte 0x00 0.--5. 1. " IPGVR ,Inter-Packet Gap "
group ANC:0x1:(0x4000085c+0)++0x3
line.long 0x0 "EMAC0_STACR,STA Control Register"
hexmask.long.word 0x00 16.--31. 1. " PHYD  ,PHY data"
bitfld.long 0x00 15. "                    OC   ,Operation Complete" "Not Completed,Completed"
textline "                    "
bitfld.long 0x00 14. " PHYE  ,PHY Error" "-,Error"
bitfld.long 0x00 12.--13. "                   STAC ,STA Command" "Reserved,Read,Write,Reserved"
textline "                    "
bitfld.long 0x00 10.--11. " OPBC  ,OPB Bus Clock Frequency" "50 MHz,66 MHz,83 MHz,100 MHz"
bitfld.long 0x00 5.--9. "                 PCDA ,PHY Command Destination Address" "00000,00001,00010,00011,00100,00101,00110,00111,01000,01001,01010,01011,01100,01101,01110,01111,10000,10001,10010,10011,10100,10101,10110,10111,11000,11001,11010,11011,11100,11101,11110,11111"
textline "                    "
bitfld.long 0x00 0.--4. " PRA   ,PHY Register Address" "00000,00001,00010,00011,00100,00101,00110,00111,01000,01001,01010,01011,01100,01101,01110,01111,10000,10001,10010,10011,10100,10101,10110,10111,11000,11001,11010,11011,11100,11101,11110,11111"
group ANC:0x1:(0x40000860+0)++0x3
line.long 0x0 "EMAC0_TRTR,Transmit Request Threshold Register"
hexmask.long.byte 0x00 27.--31. 1. " TRT   ,Transmit Request Threshold"
group ANC:0x1:(0x40000864+0)++0x3
line.long 0x0 "EMAC0_RWMR,Transmit Request Threshold Register"
hexmask.long.word 0x00 23.--31. 1. " RLWM  ,Receive Low Water Mark"
hexmask.long.word 0x00 7.--15. 1. "                    RHWM ,Receive High Water Mark"
rgroup ANC:0x1:(0x40000868+0)++0x3
line.long 0x0 "EMAC0_OCTX,Number of octets (bytes) transmitted"
hexmask.long.long 0x00 0.--31. 1. " OCTX  ,Number of octets (bytes) transmitted"
rgroup ANC:0x1:(0x4000086c+0)++0x3
line.long 0x0 "EMAC0_OCRX,Received Octects Register"
hexmask.long.long 0x00 0.--31. 1. " OCRX  ,Number of octets (bytes) received"
tree.end
tree "EMAC1"
group ANC:0x1:(0x40000800+0x100)++0x3
line.long 0x0 "EMAC1_MR0,Function Enable Register"
bitfld.long 0x00 31. " RXI   ,Receive MAC Idle" "No idle,Idle"
bitfld.long 0x00 30. "                 TXI  ,Transmit MAC Idle" "No idle,Idle"
textline "                    "
bitfld.long 0x00 29. " SRST  ,EMAC Software Reset" "-,Reset"
bitfld.long 0x00 28. "                   TXE  ,Transmit MAC Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 27. " RXE   ,Receive MAC Enable" "-,Enabled"
bitfld.long 0x00 26. "                 WKE  ,Wake-Up Enable" "-,Enabled"
group ANC:0x1:(0x40000804+0x100)++0x3
line.long 0x0 "EMAC1_MR1,Function Enable Register"
bitfld.long 0x00 31. " FDE   ,Full-Duplex Enable" "-,Enabled"
bitfld.long 0x00 30. "                 ILE  ,Internal Loop-back Enable" "No wrap back,Wrap back"
textline "                    "
bitfld.long 0x00 29. " VLE   ,VLAN Enable" "-,Enabled"
bitfld.long 0x00 28. "                 EIFC ,Enable Integrated Flow Control" "-,Enabled"
textline "                    "
bitfld.long 0x00 27. " APP   ,Allow Pause Packet" "-,Enabled"
bitfld.long 0x00 24. "                 IST  ,Ignore SQE test" "Wait,Do not wait"
textline "                    "
bitfld.long 0x00 22.--23. " MF    ,Medium Frequency" "10 Mbps,100 Mbps,Reserved,Reserved"
bitfld.long 0x00 20.--21. "                RFS  ,Receive (RX) FIFO Size" "512 bytes,1 KB,2 KB,4 KB"
textline "                    "
bitfld.long 0x00 18.--19. " TFS   ,Transmit (TX) FIFO Size" "Reserved,1 KB,2 KB,Reserved"
bitfld.long 0x00 15.--16. "                TR0  ,Transmit Request 0" "Single,Multiple,Dependent,Reserved"
textline "                    "
bitfld.long 0x00 13.--14. " TR1   ,Transmit Request 1" "Single,Multiple,Dependent,Reserved"
group ANC:0x1:(0x40000808+0x100)++0x3
line.long 0x0 "EMAC1_TMR0,Transmit Mode Register 0"
bitfld.long 0x00 31. " GNP0  ,Get New Packet 0" "No effect,Ready for transmission"
bitfld.long 0x00 30. "  GNP1 ,Get New Packet 1" "No effect,Ready for transmission"
textline "                    "
bitfld.long 0x00 29. " GNPD  ,Get New Packet for Dependent Mode" "No effect,Ready for transmission"
bitfld.long 0x00 28. "  FC   ,First Channel" "Channel 0,Channel 1"
group ANC:0x1:(0x4000080c+0x100)++0x3
line.long 0x0 "EMAC1_TMR1,Transmit Mode Register 1"
bitfld.long 0x00 27.--31. " TLR   ,Transmit Low Request" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31"
hexmask.long.word 0x00 16.--23. 1. "                      TUR  ,Transmit Urgent Request"
group ANC:0x1:(0x40000810+0x100)++0x3
line.long 0x0 "EMAC1_RMR,Receive Mode Register"
bitfld.long 0x00 31. " SP    ,Strip Padding" "Do not strip,Strip"
bitfld.long 0x00 30. "            SFCS ,Strip FCS" "Do not strip,Strip"
textline "                    "
bitfld.long 0x00 29. " RRP   ,Receive Runt Packets" "Discard,Receive"
bitfld.long 0x00 28. "                 RFP  ,Allow Receive Packets with a FCS Error" "Discard,Receive"
textline "                    "
bitfld.long 0x00 27. " ROP   ,Receive Oversize Packet" "Discard,Receive"
bitfld.long 0x00 26. "                 RPIR ,Receive Packets with In Range Error" "Discard,Receive"
textline "                    "
bitfld.long 0x00 25. " PPP   ,Propagate Pause Packet" "Do not propagate,Propagate"
bitfld.long 0x00 24. "        PME  ,Promiscuous Mode Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 23. " PMME  ,Promiscuous Multicast Mode Enable" "-,Enabled"
bitfld.long 0x00 22. "                 IAE  ,Individual Address Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 21. " MIAE  ,Multiple Individual Address Enable" "-,Enabled"
bitfld.long 0x00 20. "                 BAE  ,Broadcast Address Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 19. " MAE   ,Multicast Address Enable" "-,Enabled"
group ANC:0x1:(0x40000814+0x100)++0x3
line.long 0x0 "EMAC1_ISR,Interrupt Status Register"
bitfld.long 0x00 25. " OVR   ,Overrun" "-,Error"
bitfld.long 0x00 24. "                   PP   ,Received Pause Packet" "No,Yes"
textline "                    "
bitfld.long 0x00 23. " BP    ,Bad Packet" "No,Yes"
bitfld.long 0x00 22. "                     RP   ,Received Runt Packet" "No,Yes"
textline "                    "
bitfld.long 0x00 21. " SE    ,Short Event" "No event    ,Event   "
bitfld.long 0x00 20. "            ALE  ,Alignment Error" "-,Error"
textline "                    "
bitfld.long 0x00 19. " BFCS  ,Bad FCS" "-,Error"
bitfld.long 0x00 18. "                   PTLE ,Packet Too Long Error" "-,Error"
textline "                    "
bitfld.long 0x00 17. " ORE   ,Out Of Range Error" "-,Error"
bitfld.long 0x00 16. "                   IRE  ,In Range Error" "-,Error"
textline "                    "
bitfld.long 0x00 9. " DBDM  ,Dead Bit Dependent Mode" "-,Error"
bitfld.long 0x00 8. "                   DB0  ,Dead Bit 0" "-,Error"
textline "                    "
bitfld.long 0x00 7. " SE0   ,Signal Quality Error 0" "-,Error"
bitfld.long 0x00 6. "                   TE0  ,Transmit Error" "-,Error"
textline "                    "
bitfld.long 0x00 5. " DB1   ,Dead Bit 1" "-,Error"
bitfld.long 0x00 4. "                   SE1  ,Signal Quality Error 1" "-,Error"
textline "                    "
bitfld.long 0x00 3. " TE1   ,Transmit Error" "-,Error"
bitfld.long 0x00 1. "                   MOS  ,MMA Operation Succeeded" "Invalid,Valid"
textline "                    "
bitfld.long 0x00 0. " MOF   ,MMA Operation Failed" "Valid,Invalid"
group ANC:0x1:(0x40000818+0x100)++0x3
line.long 0x0 "EMAC1_ISER,Interrupt Status Enable Register"
bitfld.long 0x00 25. " OVR   ,Overrun" "Masked,Not masked"
bitfld.long 0x00 24. "              PP   ,Received Pause Packet" "Masked,Not masked"
textline "                    "
bitfld.long 0x00 23. " BP    ,Bad Packet" "Masked,Not masked"
bitfld.long 0x00 22. "              RP   ,Received Runt Packet" "Masked,Not masked"
textline "                    "
bitfld.long 0x00 21. " SE    ,Short Event" "Masked,Not masked"
bitfld.long 0x00 20. "              ALE  ,Alignment Error" "Masked,Not masked"
textline "                    "
bitfld.long 0x00 19. " BFCS  ,Bad FCS" "Masked,Not masked"
bitfld.long 0x00 18. "              PTLE ,Packet Too Long Error" "Masked,Not masked"
textline "                    "
bitfld.long 0x00 17. " ORE   ,Out Of Range Error" "Masked,Not masked"
bitfld.long 0x00 16. "              IRE  ,In Range Error" "Masked,Not masked"
textline "                    "
bitfld.long 0x00 7. " SE0   ,Signal Quality Error" "Masked,Not masked"
bitfld.long 0x00 6. "              TE0  ,Transmit Error" "Masked,Not masked"
textline "                    "
bitfld.long 0x00 4. " SE1   ,Signal Quality Error" "Masked,Not masked"
bitfld.long 0x00 3. "              TE1  ,Transmit Error" "Masked,Not masked"
textline "                    "
bitfld.long 0x00 1. " MOS   ,MMA Operation Succeeded" "Masked,Not masked"
bitfld.long 0x00 0. "              MOF  ,MMA Operation Failed" "Masked,Not masked"
group ANC:0x1:(0x4000081c+0x100)++0x3
line.long 0x0 "EMAC1_IAHR,Individual Address High"
hexmask.long.word 0x00 0.--15. 1. " HO    ,Receive and Transmit High Order"
group ANC:0x1:(0x40000820+0x100)++0x3
line.long 0x0 "EMAC1_IALR,Individual Address Low"
hexmask.long.long 0x00 0.--31. 1. " LO    ,Receive and Transmit Low Order"
group ANC:0x1:(0x40000824+0x100)++0x3
line.long 0x0 "EMAC1_VTPID,VLAN TPID Register"
hexmask.long.word 0x00 0.--15. 1. " VIDT  ,VLAN ID tag"
group ANC:0x1:(0x40000828+0x100)++0x3
line.long 0x0 "EMAC1_VTCI,VLAN TCI Register"
hexmask.long.word 0x00 0.--15. 1. " VTCI  ,VLAN TCI tag"
group ANC:0x1:(0x4000082c+0x100)++0x3
line.long 0x0 "EMAC1_PTR,Pause Timer Register"
hexmask.long.word 0x00 0.--15. 1. " TVF   ,Timer Value Field"
group ANC:0x1:(0x40000830+0x100)++0x3
line.long 0x0 "EMAC1_IAHT1,Individual Address Hash Table 1"
hexmask.long.word 0x00 0.--15. 1. " IAHT1 ,Table 1 Individual Address Hash Number "
group ANC:0x1:(0x40000834+0x100)++0x3
line.long 0x0 "EMAC1_IAHT2,Individual Address Hash Table 2"
hexmask.long.word 0x00 0.--15. 1. " IAHT2 ,Table 2 Individual Address Hash Number "
group ANC:0x1:(0x40000838+0x100)++0x3
line.long 0x0 "EMAC1_IAHT3,Individual Address Hash Table 3"
hexmask.long.word 0x00 0.--15. 1. " IAHT3 ,Table 3 Individual Address Hash Number "
group ANC:0x1:(0x4000083c+0x100)++0x3
line.long 0x0 "EMAC1_IAHT4,Individual Address Hash Table 4"
hexmask.long.word 0x00 0.--15. 1. " IAHT4 ,Table 4 Individual Address Hash Number "
group ANC:0x1:(0x40000840+0x100)++0x3
line.long 0x0 "EMAC1_GAHT1,Group Address Hash Table 1"
hexmask.long.word 0x00 0.--15. 1. " GAHT1 ,Table 1 Group Address Hash Number "
group ANC:0x1:(0x40000844+0x100)++0x3
line.long 0x0 "EMAC1_GAHT2,Group Address Hash Table 2"
hexmask.long.word 0x00 0.--15. 1. " GAHT2 ,Table 2 Group Address Hash Number "
group ANC:0x1:(0x40000848+0x100)++0x3
line.long 0x0 "EMAC1_GAHT3,Group Address Hash Table 3"
hexmask.long.word 0x00 0.--15. 1. " GAHT3 ,Table 3 Group Address Hash Number "
group ANC:0x1:(0x4000084c+0x100)++0x3
line.long 0x0 "EMAC1_GAHT4,Group Address Hash Table 4"
hexmask.long.word 0x00 0.--15. 1. " GAHT4 ,Table 4 Group Address Hash Number "
rgroup ANC:0x1:(0x40000850+0x100)++0x3
line.long 0x0 "EMAC1_LSAH,Last Source Address High"
hexmask.long.word 0x00 0.--15. 1. " LSAH  ,Last Source Address High-Order Halfword "
rgroup ANC:0x1:(0x40000854+0x100)++0x3
line.long 0x0 "EMAC1_LSAL,Last Source Address Low"
hexmask.long.long 0x00 0.--31. 1. " LSAL  ,Last Source Address Low-Order Word "
group ANC:0x1:(0x40000858+0x100)++0x3
line.long 0x0 "EMAC1_IPGVR,Inter-Packet Gap Value Register"
hexmask.long.byte 0x00 0.--5. 1. " IPGVR ,Inter-Packet Gap "
group ANC:0x1:(0x4000085c+0x100)++0x3
line.long 0x0 "EMAC1_STACR,STA Control Register"
hexmask.long.word 0x00 16.--31. 1. " PHYD  ,PHY data"
bitfld.long 0x00 15. "                    OC   ,Operation Complete" "Not Completed,Completed"
textline "                    "
bitfld.long 0x00 14. " PHYE  ,PHY Error" "-,Error"
bitfld.long 0x00 12.--13. "                   STAC ,STA Command" "Reserved,Read,Write,Reserved"
textline "                    "
bitfld.long 0x00 10.--11. " OPBC  ,OPB Bus Clock Frequency" "50 MHz,66 MHz,83 MHz,100 MHz"
bitfld.long 0x00 5.--9. "                 PCDA ,PHY Command Destination Address" "00000,00001,00010,00011,00100,00101,00110,00111,01000,01001,01010,01011,01100,01101,01110,01111,10000,10001,10010,10011,10100,10101,10110,10111,11000,11001,11010,11011,11100,11101,11110,11111"
textline "                    "
bitfld.long 0x00 0.--4. " PRA   ,PHY Register Address" "00000,00001,00010,00011,00100,00101,00110,00111,01000,01001,01010,01011,01100,01101,01110,01111,10000,10001,10010,10011,10100,10101,10110,10111,11000,11001,11010,11011,11100,11101,11110,11111"
group ANC:0x1:(0x40000860+0x100)++0x3
line.long 0x0 "EMAC1_TRTR,Transmit Request Threshold Register"
hexmask.long.byte 0x00 27.--31. 1. " TRT   ,Transmit Request Threshold"
group ANC:0x1:(0x40000864+0x100)++0x3
line.long 0x0 "EMAC1_RWMR,Transmit Request Threshold Register"
hexmask.long.word 0x00 23.--31. 1. " RLWM  ,Receive Low Water Mark"
hexmask.long.word 0x00 7.--15. 1. "                    RHWM ,Receive High Water Mark"
rgroup ANC:0x1:(0x40000868+0x100)++0x3
line.long 0x0 "EMAC1_OCTX,Number of octets (bytes) transmitted"
hexmask.long.long 0x00 0.--31. 1. " OCTX  ,Number of octets (bytes) transmitted"
rgroup ANC:0x1:(0x4000086c+0x100)++0x3
line.long 0x0 "EMAC1_OCRX,Received Octects Register"
hexmask.long.long 0x00 0.--31. 1. " OCRX  ,Number of octets (bytes) received"
tree.end
elif (cpu()=="PPC440EP")
;Ethernet Media Access Controllers
;includes emac_x.ph
tree "EMAC 0"
width 17.
group dcr:0x000f++0x00
saveout dcr:0x000e %l (0x4301+(0*3.))
line.long 0x00 "SDR0_EMAC0RXST,EMAC0 RX Status Register"
bitfld.long 0x00 29. " FOR  ,RXFIFO Overrun" "Not overrun,Overrun"
bitfld.long 0x00 28. "       BC   ,Broadcast Address" "Not received,Received"
bitfld.long 0x00 27. "      MC    ,Multicast Address" "Not received,Received"
textline "                          "
bitfld.long 0x00 26. " UC   ,Unicast Address" "Not received,Received"
bitfld.long 0x00 23.--25. "      UPR  ,User Priority Field" "Priority 0,Priority 1,Priority 2,Priority 3,Priority 4,Priority 5,Priority 6,Priority 7"
bitfld.long 0x00 22. "        VLAN  ,RX VLAN Tagged Frame" "Not received,Received"
textline "                          "
bitfld.long 0x00 21. " LOOP ,Received in Loop-Back Mode" "Not received,Received"
bitfld.long 0x00 20. "      UOP  ,Rx Unsupported Opcode" "Not received,Received"
bitfld.long 0x00 19. "      CPF   ,RX Control Pause Frame" "Not received,Received"
textline "                          "
bitfld.long 0x00 18. " CF   ,RX Control Frame" "Not received,Received"
bitfld.long 0x00 17. "      MSIZ ,1024-Max Size Bytes Received" "Not received,Received"
bitfld.long 0x00 16. "      1023  ,512-1023 Bytes Received" "Not received,Received"
textline "                          "
bitfld.long 0x00 15. " 511  ,256-511 Bytes Received" "Not received,Received"
bitfld.long 0x00 14. "      255  ,128-255 Bytes Received" "Not received,Received"
bitfld.long 0x00 13. "      127   ,65-127 Bytes Received" "Not received,Received"
textline "                          "
bitfld.long 0x00 12. " 64   ,64 Bytes Received" "Not received,Received"
bitfld.long 0x00 11. "      RUNT ,Runt Frame" "Not received,Received"
bitfld.long 0x00 10. "      SEVT  ,Short Event" "PHY_RX_DV>=SEMT,PHY_RX_DV<SEMT"
textline "                          "
bitfld.long 0x00 9. " AERR ,Alignment Error" "-,Error"
bitfld.long 0x00 8. "             SERR ,Received With Symbol Error" "-,Error"
bitfld.long 0x00 6. "             BURST ,Received Burst" "Carrier event<slot time,Carrier event>=slot time"
textline "                          "
bitfld.long 0x00 5. " FL2  ,Frame is too Long" "Not too long,Too long"
bitfld.long 0x00 4. "      OERR ,Out of Range Length Error" "-,Error"
bitfld.long 0x00 3. "             IERR  ,In Range Length Error" "-,Error"
textline "                          "
bitfld.long 0x00 2. " LOST ,Frame Lost Due to Internal EMAC Receive Error" "Not lost,Lost"
bitfld.long 0x00 1. "          BFCS ,Bad FCS in the Received Frame" "FCS correct,FCS incorrect"
bitfld.long 0x00 0. "     RXOK  ,Receive OK" "Receive correct,Receive incorrect"
group dcr:0x000f++0x00
saveout dcr:0x000e %l (0x4302+(0*3.))
line.long 0x00 "SDR0_EMAC0TXST,EMAC0 TX Status Register"
bitfld.long 0x00 25. " FUR  ,TXFIFO Underrun" "Not underrun,Underrun"
bitfld.long 0x00 24. "      BC   ,Broadcast Address" "Not transmitted,Transmitted"
bitfld.long 0x00 23. "   MC    ,Multicast Address" "Not transmitted,Transmitted"
textline "                          "
bitfld.long 0x00 22. " UC   ,Unicast Address" "Not transmitted,Transmitted"
bitfld.long 0x00 21. "   FP   ,Frame Paused by Control Packet" "Not paused,Paused"
bitfld.long 0x00 20. "        BFCS  ,Bad FCS in The Transmitted Frame" "FCS correct,FCS incorrect"
textline "                          "
bitfld.long 0x00 19. " CPF  ,TX Control Pause Frame" "Not transmitted,Transmitted"
bitfld.long 0x00 18. "   CF   ,TX Control Frame" "Not transmitted,Transmitted"
bitfld.long 0x00 17. "   MSIZ  ,1024-Maxsize Bytes Transmitted" "Not transmitted,Transmitted"
textline "                          "
bitfld.long 0x00 16. " 1023 ,512-1023 Bytes Transmitted" "Not transmitted,Transmitted"
bitfld.long 0x00 15. "   511  ,256-511 Bytes Transmitted" "Not transmitted,Transmitted"
bitfld.long 0x00 14. "   255   ,128-255 Bytes Transmitted" "Not transmitted,Transmitted"
textline "                          "
bitfld.long 0x00 13. " 127  ,65-127 Bytes Transmitted" "Not transmitted,Transmitted"
bitfld.long 0x00 12. "   64   ,64 Bytes Transmitted" "Not transmitted,Transmitted"
bitfld.long 0x00 11. "   SQE   ,SQE Indication" "SQE not failed,SQE failed"
textline "                          "
bitfld.long 0x00 10. " LOC  ,Loss of Carrier Sense" "Not lost,Lost"
bitfld.long 0x00 7. "          IERR ,EMAC Internal Error" "-,Error"
bitfld.long 0x00 6. "             EDF   ,Excessive Deferral" "Not deferred,Deferred"
textline "                          "
bitfld.long 0x00 5. " ECOL ,Excessive Collisions" "Not collided,Collided"
bitfld.long 0x00 4. "      LCOL ,Late Collision" "Not collided,Collided"
bitfld.long 0x00 3. "      DFFR  ,Deferred Frame" "Not deferred,Deferred"
textline "                          "
bitfld.long 0x00 2. " MCOL ,Multiple Collision Frame" "Not collided,Collided"
bitfld.long 0x00 1. "      SCOL ,Single Collision Frame" "Not collided,Collided"
bitfld.long 0x00 0. "      TXOK  ,Transmit OK" "Transmit incorrect,Transmit correct"
rgroup dcr:(0x4303+(0*3.))++0x00
line.long 0x00 "SDR0_EMAC0REJCNT,EMAC0 RX Packet Reject Counter"
group ANC:0x0:(0xEF600E00+(0x100*0))++0x4F
line.long 0x00 "EMAC0_MR0,EMAC 0 Mode Register 0"
bitfld.long 0x00 31. " RXI  ,Receive MAC Idle" "Processing,Idle"
bitfld.long 0x00 30. "        TXI  ,Transmit MAC Idle" "Processing,Idle"
bitfld.long 0x00 29. "        SRST  ,EMAC Software Reset" "-,Reset"
textline "                          "
bitfld.long 0x00 28. " TXE  ,Transmit MAC Enable" "-,Enabled"
bitfld.long 0x00 27. "           RXE  ,Receive MAC Enable" "-,Enabled"
bitfld.long 0x00 26. "           WKE   ,Wake-Up Enable" "-,Enabled"
line.long 0x04 "EMAC0_MR1,EMAC 0 Mode Register 1"
bitfld.long 0x04 31. " FDE  ,Full-Duplex Enable" "-,Enabled"
bitfld.long 0x04 30. "           ILE  ,Internal Loop-back Enable" "-,Enabled"
bitfld.long 0x04 29. "           VLE   ,VLAN Enable" "-,Enabled" 
textline "                          "
bitfld.long 0x04 28. " EIFC ,Enable Integrated Flow Control" "-,Enabled"  
bitfld.long 0x04 27. "           APP  ,Allow Pause Packet" "-,Enabled"  
bitfld.long 0x04 24. "           IST   ,Ignore SQE test" "Not ignored,Ignored" 
textline "                          "
bitfld.long 0x04 22.--23. " MF   ,Medium Frequency" "10Mbps,100Mbps,Reserved,Reserved"
bitfld.long 0x04 20.--21. "          RFS  ,Receive (RX) FIFO Size" "512B,1KB,2KB,4KB"
bitfld.long 0x04 18.--19. "              TFS   ,Transmit (TX) FIFO Size" "Reserved,1KB,2KB,Reserved"
textline "                          "
bitfld.long 0x04 15.--16. " TR0  ,Transmit Request 0" "Single packet,Multiple packets,Dependent mode,Reserved"
bitfld.long 0x04 13.--14. "  TR1  ,Transmit Request 1" "Single packet,Multiple packets,Dependent mode,Reserved"
bitfld.long 0x04 12. "  JE    ," "0,1" 
line.long 0x08 "EMAC0_TMR0,EMAC 0 Transmit Mode Register 0"
bitfld.long 0x08 31. " GNP0 ,Get New Packet 0" "Not ready,Ready"
bitfld.long 0x08 30. "         GNP1 ,Get New Packet 1" "Not ready,Ready"
bitfld.long 0x08 29. "         GNFD  ,Get New Packet for Dependent Mode" "Not ready,Ready"
textline "                          "
bitfld.long 0x08 28. " FC   ,First Channel" "Channel 0,Channel 1"
line.long 0x0C "EMAC0_TMR1,EMAC 0 Transmit Mode Register 1"
hexmask.long.byte 0x0C 27.--31. 1. " TLR  ,Transmit Low Request"
hexmask.long.byte 0x0C 16.--23. 1. "                TUR  ,Transmit Urgent Request"
line.long 0x10 "EMAC0_RMR,EMAC 0 Receive Mode Register"
bitfld.long 0x10 31. " SP   ,Strip Padding" "No strip,Strip"
bitfld.long 0x10 30. "          SFCS ,Strip FCS" "No strip,Strip"
bitfld.long 0x10 29. "          RRP   ,Receive Runt Packets" "Discard,Receive"
textline "                          "
bitfld.long 0x10 28. " RFP  ,Allow Receive Packets with a FCS Error" "Discard,Receive"
bitfld.long 0x10 27. "           ROP  ,Receive Oversize Packet" "Discard,Receive"
bitfld.long 0x10 26. "           RPIR  ,Receive Packets with In Range Error" "Discard,Receive"
textline "                          "
bitfld.long 0x10 25. " PPP  ,Propagate Pause Packet" "Not propagate,Propagate"
bitfld.long 0x10 24. "     PME  ,Promiscuous Mode Enable" "-,Enabled"
bitfld.long 0x10 23. "           PMME  ,Promiscuous Multicast Mode Enable" "-,Enabled"
textline "                          "
bitfld.long 0x10 22. " IAE  ,Individual Address Enable" "-,Enabled"
bitfld.long 0x10 21. "           MIAE ,Multiple Individual Address Enable" "-,Enabled"
bitfld.long 0x10 20. "           BAE   ,Broadcast Address Enable" "-,Enabled"
textline "                          "
bitfld.long 0x10 19. " MAE  ,Multicast Address Enable" "-,Enabled"
line.long 0x14 "EMAC0_ISR,EMAC 0 Interrupt Status Register"
eventfld.long 0x14 25. " OVR  ,Overrun" "No overrun,Overrun"
eventfld.long 0x14 24. "        PP   ,Pause Packet" "No pause,Pause"
eventfld.long 0x14 23. "          BP    ,Bad Packet" "-,Error"
textline "                          "
eventfld.long 0x14 22. " RP   ,Runt Packet" "Not received,Received"
eventfld.long 0x14 21. "      SE   ,Short Event" "No short,Short"
eventfld.long 0x14 20. "          ALE   ,Alignment Error" "-,Error"
textline "                          "
eventfld.long 0x14 19. " BFCS ,Bad FCS" "-,Error"
eventfld.long 0x14 18. "             PTLE ,Packet Too Long Error" "-,Error"
eventfld.long 0x14 17. "             ORE   ,Out Of Range Error" "-,Error"
textline "                          "
eventfld.long 0x14 16. " IRE  ,In Range Error" "-,Error"
eventfld.long 0x14 9. "             DBDM ,Dead Bit Dependent Mode" "-,Error"
eventfld.long 0x14 8. "             DB0   ,Dead Bit 0" "-,Error"
textline "                          "
eventfld.long 0x14 7. " SE0  ,Signal Quality Error" "-,Error"
eventfld.long 0x14 6. "             TE0  ,Transmit Error" "-,Error"
eventfld.long 0x14 5. "             DB1   ,Dead Bit 1" "-,Error"
textline "                          "
eventfld.long 0x14 4. " SE1  ,Signal Quality Error 1" "-,Error"
eventfld.long 0x14 3. "             TE1  ,Transmit Error 1" "-,Error"
eventfld.long 0x14 1. "             MOS   ,MMA Operation Succeeded" "0,1"
textline "                          "
eventfld.long 0x14 0. " MOF  ,MMA Operation Failed" "0,1"
line.long 0x18 "EMAC0_ISER,EMAC 0 Interrupt Status Enable Register"
bitfld.long 0x18 25. " OVR  ,Overrun" "-,Enabled"
bitfld.long 0x18 24. "           PP   ,Pause Packet" "-,Enabled"
bitfld.long 0x18 23. "           BP    ,Bad Packet" "-,Enabled"
textline "                          "
bitfld.long 0x18 22. " RP   ,Runt Packet" "-,Enabled"
bitfld.long 0x18 21. "           SE   ,Short Event" "-,Enabled"
bitfld.long 0x18 20. "           ALE   ,Alignment Error" "-,Enabled"
textline "                          "
bitfld.long 0x18 19. " BFCS ,Bad FCS" "-,Enabled"
bitfld.long 0x18 18. "           PTLE ,Packet Too Long Error" "-,Enabled"
bitfld.long 0x18 17. "           ORE   ,Out Of Range Error" "-,Enabled"
textline "                          "
bitfld.long 0x18 16. " IRE  ,In Range Error" "-,Enabled"
bitfld.long 0x18 9. "           DBDM ,Dead Bit Dependent Mode" "-,Enabled"
bitfld.long 0x18 8. "           DB0   ,Dead Bit 0" "-,Enabled"
textline "                          "
bitfld.long 0x18 7. " SE0  ,Signal Quality Error" "-,Enabled"
bitfld.long 0x18 6. "           TE0  ,Transmit Error" "-,Enabled"
bitfld.long 0x18 5. "           DB1   ,Dead Bit 1" "-,Enabled"
textline "                          "
bitfld.long 0x18 4. " SE1  ,Signal Quality Error 1" "-,Enabled"
bitfld.long 0x18 3. "           TE1  ,Transmit Error 1" "-,Enabled"
bitfld.long 0x18 1. "           MOS   ,MMA Operation Succeeded" "-,Enabled"
textline "                          "
bitfld.long 0x18 0. " MOF  ,MMA Operation Failed" "-,Enabled"
line.long 0x1C "EMAC0_IAHR,EMAC 0 Individual Address High"
hexmask.long.word 0x1C 0.--15. 1. " HO   ,High Order halfword"
line.long 0x20 "EMAC0_IALR,EMAC 0 Individual Address Low"
hexmask.long.word 0x20 0.--15. 1. " LO   ,Low Order halfword"
line.long 0x24 "EMAC0_VTPID,EMAC 0 VLAN TPID Register"
hexmask.long.word 0x24 0.--15. 1. " VIDT ,Tag Protocol Identifier"
line.long 0x28 "EMAC0_VTCI,EMAC 0 VLAN TCI Register"
hexmask.long.word 0x28 0.--15. 1. " VTCI ,Tag Control Information"
line.long 0x2C "EMAC0_PTR,EMAC 0 Pause Timer Register"
hexmask.long.word 0x2C 0.--15. 1. " TVF  ,Timer Value Field" 
line.long 0x30 "EMAC0_IAHT1,EMAC 0 Individual Address Hash Table 1"
hexmask.long.word 0x30 0.--15. 1. " IAHN ,Individual Address Hash Number"
line.long 0x34 "EMAC0_IAHT2,EMAC 0 Individual Address Hash Table 2"
hexmask.long.word 0x34 0.--15. 1. " IAHN ,Individual Address Hash Number"
line.long 0x38 "EMAC0_IAHT3,EMAC 0 Individual Address Hash Table 3"
hexmask.long.word 0x38 0.--15. 1. " IAHN ,Individual Address Hash Number"
line.long 0x3C "EMAC0_IAHT4,EMAC 0 Individual Address Hash Table 4"
hexmask.long.word 0x3C 0.--15. 1. " IAHN ,Individual Address Hash Number"
line.long 0x40 "EMAC0_GAHT1,EMAC 0 Group Address Hash Table 1"
hexmask.long.word 0x40 0.--15. 1. " GAHN ,Group Address Hash Number"  
line.long 0x44 "EMAC0_GAHT2,EMAC 0 Group Address Hash Table 2"
hexmask.long.word 0x44 0.--15. 1. " GAHN ,Group Address Hash Number"  
line.long 0x48 "EMAC0_GAHT3,EMAC 0 Group Address Hash Table 3"
hexmask.long.word 0x48 0.--15. 1. " GAHN ,Group Address Hash Number"  
line.long 0x4C "EMAC0_GAHT4,EMAC 0 Group Address Hash Table 4"
hexmask.long.word 0x4C 0.--15. 1. " GAHN ,Group Address Hash Number"  
rgroup (0xEF600E50+(0x100*0))++0x07
line.long 0x00 "EMAC0_LSAH,EMAC 0 Last Source Address High"
hexmask.long.word 0x00 0.--15. 1. " LSA  ,Last Source Address High-Order Halfword"    
line.long 0x04 "EMAC0_LSAL,EMAC 0 Last Source Address Low"
hexmask.long.word 0x04 0.--15. 1. " LSA  ,Last Source Address Low-Order Word"   
group (0xEF600E58+(0x100*0))++0x0F
line.long 0x00 "EMAC0_IPGVR,EMAC 0 Inter-Packet Gap Value Register"
hexmask.long.byte 0x00 0.--5. 1. " IFG  ,Inter-Packet Gap"
line.long 0x04 "EMAC0_STACR,EMAC 0 STA Control Register"
hexmask.long.byte 0x04 16.--31. 1. " PHYD ,PHY data"
bitfld.long 0x04 15. "                OC   ,Operation Complete" "Not complete,Complete"
bitfld.long 0x04 14. "      PHYE  ,PHY Error" "-,Error"
textline "                          "
bitfld.long 0x04 12.--13. " STAC ,STA Command" "Reserved,Read,Write,Reserved"
bitfld.long 0x04 10.--11. "          OPBC ,OPB Bus Clock Frequency" "50MHz,66MHz,83MHz,100MHz"
hexmask.long.byte 0x04 5.--9. 1. "            PCDA  ,PHY Command Destination Address" 
textline "                          "
hexmask.long.byte 0x04 0.--4. 1. " PRA  ,PHY Register Address" 
line.long 0x08 "EMAC0_TRTR,EMAC 0 Transmit Request Threshold Register"
bitfld.long 0x08 27.--31. " TRT  ,Transmit Request Threshold" "64,128,192,256,320,384,448,512,576,640,704,768,832,896,960,1024,1088,1152,1216,1280,1344,1408,1472,1536,1600,1664,1728,1792,1856,1920,1984,2048"
line.long 0x0C "EMAC0_RWMR,EMAC 0 Receive Low/High Water Mark Register"
hexmask.long.word 0x0C 23.--31. 1. " RLWM ,Receive Low Water Mark"
hexmask.long.word 0x0C 7.--15. 1. "              RHWM ,Receive High Water Mark"
rgroup (0xEF600E68+(0x100*0))++0x07
line.long 0x00 "EMAC0_OCTX,EMAC 0 Number of Octets Transimitted"
line.long 0x04 "EMAC0_OCRX,EMAC 0 Number of Octets Received"
width 0x0B
tree.end
tree "EMAC 1"
width 17.
group dcr:0x000f++0x00
saveout dcr:0x000e %l (0x4301+(1*3.))
line.long 0x00 "SDR1_EMAC1RXST,EMAC1 RX Status Register"
bitfld.long 0x00 29. " FOR  ,RXFIFO Overrun" "Not overrun,Overrun"
bitfld.long 0x00 28. "       BC   ,Broadcast Address" "Not received,Received"
bitfld.long 0x00 27. "      MC    ,Multicast Address" "Not received,Received"
textline "                          "
bitfld.long 0x00 26. " UC   ,Unicast Address" "Not received,Received"
bitfld.long 0x00 23.--25. "      UPR  ,User Priority Field" "Priority 0,Priority 1,Priority 2,Priority 3,Priority 4,Priority 5,Priority 6,Priority 7"
bitfld.long 0x00 22. "        VLAN  ,RX VLAN Tagged Frame" "Not received,Received"
textline "                          "
bitfld.long 0x00 21. " LOOP ,Received in Loop-Back Mode" "Not received,Received"
bitfld.long 0x00 20. "      UOP  ,Rx Unsupported Opcode" "Not received,Received"
bitfld.long 0x00 19. "      CPF   ,RX Control Pause Frame" "Not received,Received"
textline "                          "
bitfld.long 0x00 18. " CF   ,RX Control Frame" "Not received,Received"
bitfld.long 0x00 17. "      MSIZ ,1024-Max Size Bytes Received" "Not received,Received"
bitfld.long 0x00 16. "      1023  ,512-1023 Bytes Received" "Not received,Received"
textline "                          "
bitfld.long 0x00 15. " 511  ,256-511 Bytes Received" "Not received,Received"
bitfld.long 0x00 14. "      255  ,128-255 Bytes Received" "Not received,Received"
bitfld.long 0x00 13. "      127   ,65-127 Bytes Received" "Not received,Received"
textline "                          "
bitfld.long 0x00 12. " 64   ,64 Bytes Received" "Not received,Received"
bitfld.long 0x00 11. "      RUNT ,Runt Frame" "Not received,Received"
bitfld.long 0x00 10. "      SEVT  ,Short Event" "PHY_RX_DV>=SEMT,PHY_RX_DV<SEMT"
textline "                          "
bitfld.long 0x00 9. " AERR ,Alignment Error" "-,Error"
bitfld.long 0x00 8. "             SERR ,Received With Symbol Error" "-,Error"
bitfld.long 0x00 6. "             BURST ,Received Burst" "Carrier event<slot time,Carrier event>=slot time"
textline "                          "
bitfld.long 0x00 5. " FL2  ,Frame is too Long" "Not too long,Too long"
bitfld.long 0x00 4. "      OERR ,Out of Range Length Error" "-,Error"
bitfld.long 0x00 3. "             IERR  ,In Range Length Error" "-,Error"
textline "                          "
bitfld.long 0x00 2. " LOST ,Frame Lost Due to Internal EMAC Receive Error" "Not lost,Lost"
bitfld.long 0x00 1. "          BFCS ,Bad FCS in the Received Frame" "FCS correct,FCS incorrect"
bitfld.long 0x00 0. "     RXOK  ,Receive OK" "Receive correct,Receive incorrect"
group dcr:0x000f++0x00
saveout dcr:0x000e %l (0x4302+(1*3.))
line.long 0x00 "SDR1_EMAC1TXST,EMAC1 TX Status Register"
bitfld.long 0x00 25. " FUR  ,TXFIFO Underrun" "Not underrun,Underrun"
bitfld.long 0x00 24. "      BC   ,Broadcast Address" "Not transmitted,Transmitted"
bitfld.long 0x00 23. "   MC    ,Multicast Address" "Not transmitted,Transmitted"
textline "                          "
bitfld.long 0x00 22. " UC   ,Unicast Address" "Not transmitted,Transmitted"
bitfld.long 0x00 21. "   FP   ,Frame Paused by Control Packet" "Not paused,Paused"
bitfld.long 0x00 20. "        BFCS  ,Bad FCS in The Transmitted Frame" "FCS correct,FCS incorrect"
textline "                          "
bitfld.long 0x00 19. " CPF  ,TX Control Pause Frame" "Not transmitted,Transmitted"
bitfld.long 0x00 18. "   CF   ,TX Control Frame" "Not transmitted,Transmitted"
bitfld.long 0x00 17. "   MSIZ  ,1024-Maxsize Bytes Transmitted" "Not transmitted,Transmitted"
textline "                          "
bitfld.long 0x00 16. " 1023 ,512-1023 Bytes Transmitted" "Not transmitted,Transmitted"
bitfld.long 0x00 15. "   511  ,256-511 Bytes Transmitted" "Not transmitted,Transmitted"
bitfld.long 0x00 14. "   255   ,128-255 Bytes Transmitted" "Not transmitted,Transmitted"
textline "                          "
bitfld.long 0x00 13. " 127  ,65-127 Bytes Transmitted" "Not transmitted,Transmitted"
bitfld.long 0x00 12. "   64   ,64 Bytes Transmitted" "Not transmitted,Transmitted"
bitfld.long 0x00 11. "   SQE   ,SQE Indication" "SQE not failed,SQE failed"
textline "                          "
bitfld.long 0x00 10. " LOC  ,Loss of Carrier Sense" "Not lost,Lost"
bitfld.long 0x00 7. "          IERR ,EMAC Internal Error" "-,Error"
bitfld.long 0x00 6. "             EDF   ,Excessive Deferral" "Not deferred,Deferred"
textline "                          "
bitfld.long 0x00 5. " ECOL ,Excessive Collisions" "Not collided,Collided"
bitfld.long 0x00 4. "      LCOL ,Late Collision" "Not collided,Collided"
bitfld.long 0x00 3. "      DFFR  ,Deferred Frame" "Not deferred,Deferred"
textline "                          "
bitfld.long 0x00 2. " MCOL ,Multiple Collision Frame" "Not collided,Collided"
bitfld.long 0x00 1. "      SCOL ,Single Collision Frame" "Not collided,Collided"
bitfld.long 0x00 0. "      TXOK  ,Transmit OK" "Transmit incorrect,Transmit correct"
rgroup dcr:(0x4303+(1*3.))++0x00
line.long 0x00 "SDR1_EMAC1REJCNT,EMAC1 RX Packet Reject Counter"
group ANC:0x0:(0xEF600E00+(0x100*1))++0x4F
line.long 0x00 "EMAC1_MR0,EMAC 1 Mode Register 0"
bitfld.long 0x00 31. " RXI  ,Receive MAC Idle" "Processing,Idle"
bitfld.long 0x00 30. "        TXI  ,Transmit MAC Idle" "Processing,Idle"
bitfld.long 0x00 29. "        SRST  ,EMAC Software Reset" "-,Reset"
textline "                          "
bitfld.long 0x00 28. " TXE  ,Transmit MAC Enable" "-,Enabled"
bitfld.long 0x00 27. "           RXE  ,Receive MAC Enable" "-,Enabled"
bitfld.long 0x00 26. "           WKE   ,Wake-Up Enable" "-,Enabled"
line.long 0x04 "EMAC1_MR1,EMAC 1 Mode Register 1"
bitfld.long 0x04 31. " FDE  ,Full-Duplex Enable" "-,Enabled"
bitfld.long 0x04 30. "           ILE  ,Internal Loop-back Enable" "-,Enabled"
bitfld.long 0x04 29. "           VLE   ,VLAN Enable" "-,Enabled" 
textline "                          "
bitfld.long 0x04 28. " EIFC ,Enable Integrated Flow Control" "-,Enabled"  
bitfld.long 0x04 27. "           APP  ,Allow Pause Packet" "-,Enabled"  
bitfld.long 0x04 24. "           IST   ,Ignore SQE test" "Not ignored,Ignored" 
textline "                          "
bitfld.long 0x04 22.--23. " MF   ,Medium Frequency" "10Mbps,100Mbps,Reserved,Reserved"
bitfld.long 0x04 20.--21. "          RFS  ,Receive (RX) FIFO Size" "512B,1KB,2KB,4KB"
bitfld.long 0x04 18.--19. "              TFS   ,Transmit (TX) FIFO Size" "Reserved,1KB,2KB,Reserved"
textline "                          "
bitfld.long 0x04 15.--16. " TR0  ,Transmit Request 0" "Single packet,Multiple packets,Dependent mode,Reserved"
bitfld.long 0x04 13.--14. "  TR1  ,Transmit Request 1" "Single packet,Multiple packets,Dependent mode,Reserved"
bitfld.long 0x04 12. "  JE    ," "0,1" 
line.long 0x08 "EMAC1_TMR0,EMAC 1 Transmit Mode Register 0"
bitfld.long 0x08 31. " GNP0 ,Get New Packet 0" "Not ready,Ready"
bitfld.long 0x08 30. "         GNP1 ,Get New Packet 1" "Not ready,Ready"
bitfld.long 0x08 29. "         GNFD  ,Get New Packet for Dependent Mode" "Not ready,Ready"
textline "                          "
bitfld.long 0x08 28. " FC   ,First Channel" "Channel 0,Channel 1"
line.long 0x0C "EMAC1_TMR1,EMAC 1 Transmit Mode Register 1"
hexmask.long.byte 0x0C 27.--31. 1. " TLR  ,Transmit Low Request"
hexmask.long.byte 0x0C 16.--23. 1. "                TUR  ,Transmit Urgent Request"
line.long 0x10 "EMAC1_RMR,EMAC 1 Receive Mode Register"
bitfld.long 0x10 31. " SP   ,Strip Padding" "No strip,Strip"
bitfld.long 0x10 30. "          SFCS ,Strip FCS" "No strip,Strip"
bitfld.long 0x10 29. "          RRP   ,Receive Runt Packets" "Discard,Receive"
textline "                          "
bitfld.long 0x10 28. " RFP  ,Allow Receive Packets with a FCS Error" "Discard,Receive"
bitfld.long 0x10 27. "           ROP  ,Receive Oversize Packet" "Discard,Receive"
bitfld.long 0x10 26. "           RPIR  ,Receive Packets with In Range Error" "Discard,Receive"
textline "                          "
bitfld.long 0x10 25. " PPP  ,Propagate Pause Packet" "Not propagate,Propagate"
bitfld.long 0x10 24. "     PME  ,Promiscuous Mode Enable" "-,Enabled"
bitfld.long 0x10 23. "           PMME  ,Promiscuous Multicast Mode Enable" "-,Enabled"
textline "                          "
bitfld.long 0x10 22. " IAE  ,Individual Address Enable" "-,Enabled"
bitfld.long 0x10 21. "           MIAE ,Multiple Individual Address Enable" "-,Enabled"
bitfld.long 0x10 20. "           BAE   ,Broadcast Address Enable" "-,Enabled"
textline "                          "
bitfld.long 0x10 19. " MAE  ,Multicast Address Enable" "-,Enabled"
line.long 0x14 "EMAC1_ISR,EMAC 1 Interrupt Status Register"
eventfld.long 0x14 25. " OVR  ,Overrun" "No overrun,Overrun"
eventfld.long 0x14 24. "        PP   ,Pause Packet" "No pause,Pause"
eventfld.long 0x14 23. "          BP    ,Bad Packet" "-,Error"
textline "                          "
eventfld.long 0x14 22. " RP   ,Runt Packet" "Not received,Received"
eventfld.long 0x14 21. "      SE   ,Short Event" "No short,Short"
eventfld.long 0x14 20. "          ALE   ,Alignment Error" "-,Error"
textline "                          "
eventfld.long 0x14 19. " BFCS ,Bad FCS" "-,Error"
eventfld.long 0x14 18. "             PTLE ,Packet Too Long Error" "-,Error"
eventfld.long 0x14 17. "             ORE   ,Out Of Range Error" "-,Error"
textline "                          "
eventfld.long 0x14 16. " IRE  ,In Range Error" "-,Error"
eventfld.long 0x14 9. "             DBDM ,Dead Bit Dependent Mode" "-,Error"
eventfld.long 0x14 8. "             DB0   ,Dead Bit 0" "-,Error"
textline "                          "
eventfld.long 0x14 7. " SE0  ,Signal Quality Error" "-,Error"
eventfld.long 0x14 6. "             TE0  ,Transmit Error" "-,Error"
eventfld.long 0x14 5. "             DB1   ,Dead Bit 1" "-,Error"
textline "                          "
eventfld.long 0x14 4. " SE1  ,Signal Quality Error 1" "-,Error"
eventfld.long 0x14 3. "             TE1  ,Transmit Error 1" "-,Error"
eventfld.long 0x14 1. "             MOS   ,MMA Operation Succeeded" "0,1"
textline "                          "
eventfld.long 0x14 0. " MOF  ,MMA Operation Failed" "0,1"
line.long 0x18 "EMAC1_ISER,EMAC 1 Interrupt Status Enable Register"
bitfld.long 0x18 25. " OVR  ,Overrun" "-,Enabled"
bitfld.long 0x18 24. "           PP   ,Pause Packet" "-,Enabled"
bitfld.long 0x18 23. "           BP    ,Bad Packet" "-,Enabled"
textline "                          "
bitfld.long 0x18 22. " RP   ,Runt Packet" "-,Enabled"
bitfld.long 0x18 21. "           SE   ,Short Event" "-,Enabled"
bitfld.long 0x18 20. "           ALE   ,Alignment Error" "-,Enabled"
textline "                          "
bitfld.long 0x18 19. " BFCS ,Bad FCS" "-,Enabled"
bitfld.long 0x18 18. "           PTLE ,Packet Too Long Error" "-,Enabled"
bitfld.long 0x18 17. "           ORE   ,Out Of Range Error" "-,Enabled"
textline "                          "
bitfld.long 0x18 16. " IRE  ,In Range Error" "-,Enabled"
bitfld.long 0x18 9. "           DBDM ,Dead Bit Dependent Mode" "-,Enabled"
bitfld.long 0x18 8. "           DB0   ,Dead Bit 0" "-,Enabled"
textline "                          "
bitfld.long 0x18 7. " SE0  ,Signal Quality Error" "-,Enabled"
bitfld.long 0x18 6. "           TE0  ,Transmit Error" "-,Enabled"
bitfld.long 0x18 5. "           DB1   ,Dead Bit 1" "-,Enabled"
textline "                          "
bitfld.long 0x18 4. " SE1  ,Signal Quality Error 1" "-,Enabled"
bitfld.long 0x18 3. "           TE1  ,Transmit Error 1" "-,Enabled"
bitfld.long 0x18 1. "           MOS   ,MMA Operation Succeeded" "-,Enabled"
textline "                          "
bitfld.long 0x18 0. " MOF  ,MMA Operation Failed" "-,Enabled"
line.long 0x1C "EMAC1_IAHR,EMAC 1 Individual Address High"
hexmask.long.word 0x1C 0.--15. 1. " HO   ,High Order halfword"
line.long 0x20 "EMAC1_IALR,EMAC 1 Individual Address Low"
hexmask.long.word 0x20 0.--15. 1. " LO   ,Low Order halfword"
line.long 0x24 "EMAC1_VTPID,EMAC 1 VLAN TPID Register"
hexmask.long.word 0x24 0.--15. 1. " VIDT ,Tag Protocol Identifier"
line.long 0x28 "EMAC1_VTCI,EMAC 1 VLAN TCI Register"
hexmask.long.word 0x28 0.--15. 1. " VTCI ,Tag Control Information"
line.long 0x2C "EMAC1_PTR,EMAC 1 Pause Timer Register"
hexmask.long.word 0x2C 0.--15. 1. " TVF  ,Timer Value Field" 
line.long 0x30 "EMAC1_IAHT1,EMAC 1 Individual Address Hash Table 1"
hexmask.long.word 0x30 0.--15. 1. " IAHN ,Individual Address Hash Number"
line.long 0x34 "EMAC1_IAHT2,EMAC 1 Individual Address Hash Table 2"
hexmask.long.word 0x34 0.--15. 1. " IAHN ,Individual Address Hash Number"
line.long 0x38 "EMAC1_IAHT3,EMAC 1 Individual Address Hash Table 3"
hexmask.long.word 0x38 0.--15. 1. " IAHN ,Individual Address Hash Number"
line.long 0x3C "EMAC1_IAHT4,EMAC 1 Individual Address Hash Table 4"
hexmask.long.word 0x3C 0.--15. 1. " IAHN ,Individual Address Hash Number"
line.long 0x40 "EMAC1_GAHT1,EMAC 1 Group Address Hash Table 1"
hexmask.long.word 0x40 0.--15. 1. " GAHN ,Group Address Hash Number"  
line.long 0x44 "EMAC1_GAHT2,EMAC 1 Group Address Hash Table 2"
hexmask.long.word 0x44 0.--15. 1. " GAHN ,Group Address Hash Number"  
line.long 0x48 "EMAC1_GAHT3,EMAC 1 Group Address Hash Table 3"
hexmask.long.word 0x48 0.--15. 1. " GAHN ,Group Address Hash Number"  
line.long 0x4C "EMAC1_GAHT4,EMAC 1 Group Address Hash Table 4"
hexmask.long.word 0x4C 0.--15. 1. " GAHN ,Group Address Hash Number"  
rgroup (0xEF600E50+(0x100*1))++0x07
line.long 0x00 "EMAC1_LSAH,EMAC 1 Last Source Address High"
hexmask.long.word 0x00 0.--15. 1. " LSA  ,Last Source Address High-Order Halfword"    
line.long 0x04 "EMAC1_LSAL,EMAC 1 Last Source Address Low"
hexmask.long.word 0x04 0.--15. 1. " LSA  ,Last Source Address Low-Order Word"   
group (0xEF600E58+(0x100*1))++0x0F
line.long 0x00 "EMAC1_IPGVR,EMAC 1 Inter-Packet Gap Value Register"
hexmask.long.byte 0x00 0.--5. 1. " IFG  ,Inter-Packet Gap"
line.long 0x04 "EMAC1_STACR,EMAC 1 STA Control Register"
hexmask.long.byte 0x04 16.--31. 1. " PHYD ,PHY data"
bitfld.long 0x04 15. "                OC   ,Operation Complete" "Not complete,Complete"
bitfld.long 0x04 14. "      PHYE  ,PHY Error" "-,Error"
textline "                          "
bitfld.long 0x04 12.--13. " STAC ,STA Command" "Reserved,Read,Write,Reserved"
bitfld.long 0x04 10.--11. "          OPBC ,OPB Bus Clock Frequency" "50MHz,66MHz,83MHz,100MHz"
hexmask.long.byte 0x04 5.--9. 1. "            PCDA  ,PHY Command Destination Address" 
textline "                          "
hexmask.long.byte 0x04 0.--4. 1. " PRA  ,PHY Register Address" 
line.long 0x08 "EMAC1_TRTR,EMAC 1 Transmit Request Threshold Register"
bitfld.long 0x08 27.--31. " TRT  ,Transmit Request Threshold" "64,128,192,256,320,384,448,512,576,640,704,768,832,896,960,1024,1088,1152,1216,1280,1344,1408,1472,1536,1600,1664,1728,1792,1856,1920,1984,2048"
line.long 0x0C "EMAC1_RWMR,EMAC 1 Receive Low/High Water Mark Register"
hexmask.long.word 0x0C 23.--31. 1. " RLWM ,Receive Low Water Mark"
hexmask.long.word 0x0C 7.--15. 1. "              RHWM ,Receive High Water Mark"
rgroup (0xEF600E68+(0x100*1))++0x07
line.long 0x00 "EMAC1_OCTX,EMAC 1 Number of Octets Transimitted"
line.long 0x04 "EMAC1_OCRX,EMAC 1 Number of Octets Received"
width 0x0B
tree.end
width 0x0B
elif ((cpu()=="PPC440SP")||(cpu()=="PPC440SPE"))
;Ethernet Media Access Controller
width 13.
SIF (cpu()=="PPC440SP")
base ad:0x1:0xF0000800
ENDIF
SIF (cpu()=="PPC440SPE")
base ad:0x4:0xF0000800
ENDIF
group 0x00++0x03
line.long 0x00 "EMAC0_MR0,EMAC Mode Register 0"
bitfld.long 0x00 31. " RXI    ,Receive MAC Idle" "Processing,Idle"
bitfld.long 0x00 30. "       TXI    ,Transmit MAC Idle" "Processing,Idle"
bitfld.long 0x00 29. "     SRST  ,EMAC Software Reset" "-,Reset"
textline "                      "
bitfld.long 0x00 28. " TXE    ,Transmit MAC Enable" "-,Enabled"
bitfld.long 0x00 27. "              RXE   ,Receive MAC Enable" "-,Enabled"
bitfld.long 0x00 26. "        WKE   ,Wake-Up Enable" "-,Enabled"
group 0x04++0x03
line.long 0x00 "EMAC0_MR1,EMAC Mode Register 1"
bitfld.long 0x00 31. " FDE    ,Full-Duplex Enable" "-,Enabled"
bitfld.long 0x00 30. "          ILE    ,Internal Loop-back Enable" "-,Enabled"
bitfld.long 0x00 29. "        VLE   ,VLAN Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 28. " EIFC   ,Enable Integrated Flow Control" "-,Enabled"
bitfld.long 0x00 27. "          APP    ,Allow Pause Packet" "-,Enabled"
bitfld.long 0x00 24. "        IST   ,Ignore SQE test" "Not ignored,Ignored"
textline "                      "
bitfld.long 0x00 22.--23. " MF     ,Medium Frequency" "10Mbps,100Mbps,1Gbps (no GPCS),1Gbps (GPCS)"
bitfld.long 0x00 19.--21. "  RFS    ,Receive (RX) FIFO Size" "512B,1KB,2KB,4KB,8KB,16KB,Reserved,Reserved"
bitfld.long 0x00 16.--18. "       TFS   ,Transmit (TX) FIFO Size" "512B,1KB,2KB,4KB,8KB,16KB,Reserved,Reserved"
textline "                      "
bitfld.long 0x00 15. " TR     ,Transmit Request" "Single,Multiple"
bitfld.long 0x00 12.--14. "         MWSW   ,Maximum Waiting Status Words" "Wait,No wait,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 11. "       JPSM  ,Jumbo Packet Support Mode" "-,Enabled"
textline "                      "
hexmask.long.byte 0x00 6.--10. 1. " IPPA   ,Internal PCS PHY Address"
bitfld.long 0x00 3.--5. "               OBCI   ,OPB Bus Clock Indication" "50MHz,66MHz,83MHz,100MHz,Above 100MHz,Reserved,Reserved,Reserved"
group 0x08++0x03
line.long 0x00 "EMAC0_TMR0,EMAC Transmit Mode Register 0"
bitfld.long 0x00 31. " GNP    ,Get New Packet" "No effect,Ready"
bitfld.long 0x00 0.--2. "        TFAE   ,TX FIFO Almost Empty(number of entries limit/value of PHY clock cycles limit)" "Reserved,2/32,4/64,8/128,16/256,32/512,64/1024,128/2048"
group 0x0C++0x03
line.long 0x00 "EMAC0_TMR1,EMAC Transmit Mode Register 1"
hexmask.long.byte 0x00 27.--31. 1. " TLR    ,Transmit Low Request"
hexmask.long.word 0x00 14.--23. 1. "               TUR    ,Transmit Urgent Request"
group 0x10++0x03
line.long 0x00 "EMAC0_RMR,EMAC Receive Mode Register"
bitfld.long 0x00 31. " SP     ,Strip Padding" "No strip,Strip"
bitfld.long 0x00 30. "         SFCS   ,Strip FCS" "No strip,Strip"
bitfld.long 0x00 29. "       RRP   ,Receive Runt Packets" "Discard,Receive"
textline "                      "
bitfld.long 0x00 28. " RFP    ,Allow Receive Packets with a FCS Error" "Discard,Receive"
bitfld.long 0x00 27. "          ROP    ,Receive Oversize Packet" "Discard,Receive"
bitfld.long 0x00 26. "        RPIR  ,Receive Packets with In Range Error" "Discard,Receive"
textline "                      "
bitfld.long 0x00 25. " PPP    ,Propagate Pause Packet" "Not propagate,Propagate"
bitfld.long 0x00 24. "    PME    ,Promiscuous Mode Enable" "-,Enabled"
bitfld.long 0x00 23. "        PMME  ,Promiscuous Multicast Mode Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 22. " IAE    ,Individual Address Enable" "-,Enabled"
bitfld.long 0x00 21. "          MIAE   ,Multiple Individual Address Enable" "-,Enabled"
bitfld.long 0x00 20. "        BAE   ,Broadcast Address Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 19. " MAE    ,Multicast Address Enable" "-,Enabled"
bitfld.long 0x00 0.--2. "          RFAF   ,RX FIFO Almost Full (number of entries limit/value of PHY clock cycles limit)" "Reserved,2/32,4/64,8/128,16/256,32/512,64/1024,128/2048"
group 0x14++0x03
line.long 0x00 "EMAC0_ISR,EMAC Interrupt Status Register"
bitfld.long 0x00 29. " TXPE   ,TX Parity Error" "-,Error"
bitfld.long 0x00 28. "            RXPE   ,RX Parity Error" "-,Error"
bitfld.long 0x00 27. "          TXUE  ,TX Underrun Event" "No underrun,Underrun"
textline "                      "
bitfld.long 0x00 26. " RXOE   ,RX Overrun Event" "No event,Event"
bitfld.long 0x00 25. "         OVR    ,Overrun" "-,Error"
bitfld.long 0x00 24. "          PP    ,Pause Packet" "No packet,Packet"
textline "                      "
bitfld.long 0x00 23. " BP     ,Bad Packet" "-,Error"
bitfld.long 0x00 22. "            RP     ,Runt Packet" "Not received,Received"
bitfld.long 0x00 21. "   SE    ,Short Event" "No event,Event"
textline "                      "
bitfld.long 0x00 20. " ALE    ,Alignment Error" "-,Error"
bitfld.long 0x00 19. "            BFCS   ,Bad FCS" "-,Error"
bitfld.long 0x00 18. "          PTLE  ,Packet Too Long Error" "-,Error"
textline "                      "
bitfld.long 0x00 17. " ORE    ,Out of Range Error" "-,Error"
bitfld.long 0x00 16. "            IRE    ,In Range Error" "-,Error"
bitfld.long 0x00 8. "          DB    ,Dead Bit" "-,Error"
textline "                      "
bitfld.long 0x00 7. " SE     ,Signal Quality Error" "-,Error"
bitfld.long 0x00 6. "            TE     ,Transmit Error" "-,Error"
bitfld.long 0x00 1. "          MOS   ,MMA Operation Succeeded" "Not succeeded,Succeeded"
textline "                      "
bitfld.long 0x00 0. " MOF    ,MMA Operation Failed" "Not failed,Failed"
group 0x18++0x03
line.long 0x00 "EMAC0_ISER,EMAC Interrupt Status Enable Register"
bitfld.long 0x00 29. " TXPE   ,TX Parity Error" "-,Error"
bitfld.long 0x00 28. "            RXPE   ,RX Parity Error" "-,Error"
bitfld.long 0x00 27. "          TXUE  ,TX Underrun Event" "No underrun,Underrun"
textline "                      "
bitfld.long 0x00 26. " RXOE   ,RX Overrun Event" "No event,Event"
bitfld.long 0x00 25. "         OVR    ,Overrun" "-,Error"
bitfld.long 0x00 24. "          PP    ,Pause Packet" "No packet,Packet"
textline "                      "
bitfld.long 0x00 23. " BP     ,Bad Packet" "-,Error"
bitfld.long 0x00 22. "            RP     ,Runt Packet" "No packet,Packet"
bitfld.long 0x00 21. "      SE    ,Short Event" "No event,Event"
textline "                      "
bitfld.long 0x00 20. " ALE    ,Alignment Error" "-,Error"
bitfld.long 0x00 19. "            BFCS   ,Bad FCS" "-,Error"
bitfld.long 0x00 18. "          PTLE  ,Packet Too Long Error" "-,Error"
textline "                      "
bitfld.long 0x00 17. " ORE    ,Out of Range Error" "-,Error"
bitfld.long 0x00 16. "            IRE    ,In Range Error" "-,Error"
bitfld.long 0x00 7. "          SQE   ,Signal Quality Error" "-,Error"
textline "                      "
bitfld.long 0x00 6. " TxE    ,Transmit Error" "-,Error"
bitfld.long 0x00 1. "            MOS    ,MMA Operation Succeeded" "Not succeeded,Succeeded"
bitfld.long 0x00 0. "  MOF   ,MMA Operation Failed" "Not failed,Failed"
group 0x1C++0x03
line.long 0x00 "EMAC0_IAHR,EMAC Individual Address High Register"
hexmask.long.word 0x00 0.--15. 1. " HO     ,Receive and Transmit High Order"
group 0x20++0x03
line.long 0x00 "EMAC0_IALR,EMAC Individual Address Low Register"
hexmask.long 0x00 0.--31. 1. " LO     ,Receive and Transmit Low Order"
group 0x24++0x03
line.long 0x00 "EMAC0_VTPID,EMAC VLAN TPID Register"
hexmask.long.word 0x00 0.--15. 1. " VIDT   ,VLAN ID Tag"
group 0x28++0x03
line.long 0x00 "EMAC0_VTCI,EMAC VLAN Register"
hexmask.long.word 0x00 0.--15. 1. " VTCI   ,VLAN TCI Tag"
group 0x2C++0x03
line.long 0x00 "EMAC0_PTR,EMAC Pause Timer Register"
hexmask.long.word 0x00 0.--15. 1. " TVF    ,Timer Value Field"
group 0x30++0x03
line.long 0x00 "EMAC0_IAHT1,EMAC Individual Address Hash Table 1"
hexmask.long.word 0x00 0.--15. 1. " IAHN   ,Individual Address Hash Number"
group 0x34++0x03
line.long 0x00 "EMAC0_IAHT2,EMAC Individual Address Hash Table 2"
hexmask.long.word 0x00 0.--15. 1. " IAHN   ,Individual Address Hash Number"
group 0x38++0x03
line.long 0x00 "EMAC0_IAHT3,EMAC Individual Address Hash Table 3"
hexmask.long.word 0x00 0.--15. 1. " IAHN   ,Individual Address Hash Number"
group 0x3C++0x03
line.long 0x00 "EMAC0_IAHT4,EMAC Individual Address Hash Table 4"
hexmask.long.word 0x00 0.--15. 1. " IAHN   ,Individual Address Hash Number"
group 0x40++0x03
line.long 0x00 "EMAC0_GAHT1,EMAC Group Address Hash Table 1"
hexmask.long.word 0x00 0.--15. 1. " GAHN   ,Group Address Hash Number"
group 0x44++0x03
line.long 0x00 "EMAC0_GAHT2,EMAC Group Address Hash Table 2"
hexmask.long.word 0x00 0.--15. 1. " GAHN   ,Group Address Hash Number"
group 0x48++0x03
line.long 0x00 "EMAC0_GAHT3,EMAC Group Address Hash Table 3"
hexmask.long.word 0x00 0.--15. 1. " GAHN   ,Group Address Hash Number"
group 0x4C++0x03
line.long 0x00 "EMAC0_GAHT4,EMAC Group Address Hash Table 4"
hexmask.long.word 0x00 0.--15. 1. " GAHN   ,Group Address Hash Number"
rgroup 0x50++0x07
line.long 0x00 "EMAC0_LSAH,EMAC Last Source Address High Register"
hexmask.long.word 0x00 0.--15. 1. " LSAHH  ,Last Source Address High-Order Halfword"
line.long 0x04 "EMAC0_LSAL,EMAC Last Source Address Low Register"
hexmask.long 0x00 0.--31. 1. " LSALW  ,Last Source Address Low-Order Word"
group 0x58++0x03
line.long 0x00 "EMAC0_IPGVR,EMAC Inter-Packet Gap Value Register"
hexmask.long.byte 0x00 0.--5. 1. " IPG    ,Inter-Packet Gap"
group 0x5C++0x03
line.long 0x00 "EMAC0_STACR,EMAC STA Control Register"
SIF (cpu()=="PPC440SP")
hexmask.long.word 0x00 16.--31. 1. " PHYD   ,PHY data"
bitfld.long 0x00 15. "             OC     ,Operation Complete" "Not complete,Complete"
bitfld.long 0x00 14. "   PHYE  ,PHY Error" "-,Error"
textline "                      "
bitfld.long 0x00 12.--13. " STAC   ,STA Command" "Reserved,Read,Write,Reserved"
hexmask.long.byte 0x00 5.--9. 1. "         PCDA   ,PHY Command Destination Address"
hexmask.long.byte 0x00 0.--4. 1. "             PRA   ,PHY Register Address"
ENDIF
SIF (cpu()=="PPC440SPE")
hexmask.long.word 0x00 16.--31. 1. " PHYD   ,PHY data"
bitfld.long 0x00 15. "             OC     ,Operation Complete" "Not complete,Complete"
bitfld.long 0x00 14. "   PHYE  ,PHY Error" "-,Error"
textline "                      "
bitfld.long 0x00 13. " IMS    ,Indirect Mode Selection" "Indirect,MIO/MDIO"
bitfld.long 0x00 11.--12. "         STAOPC ,STA Opcode" "Address,Write,Read,Read"
hexmask.long.byte 0x00 5.--9. 1. "        PADR  ,PHY Command Destination Address"
textline "                      "
hexmask.long.byte 0x00 0.--4. 1. " DEVADR ,PHY Register Address"
ENDIF
group 0x60++0x03
line.long 0x00 "EMAC0_TRTR,EMAC Transmit Request Threshold Register"
hexmask.long.byte 0x00 24.--31. 1. " TRT    ,Transmit Request Threshold"
group 0x64++0x03
line.long 0x00 "EMAC0_RWMR,EMAC Receive Low/High Water Mark Register"
hexmask.long.word 0x00 22.--31. 1. " RLWM   ,Receive Low Water Mark"
hexmask.long.word 0x00 6.--15. 1. "             RHWM   ,Receive High Water Mark"
rgroup 0x68++0x07
line.long 0x00 "EMAC0_OCTX,EMAC Transmitted Octets Register"
hexmask.long 0x00 0.--31. 1. " OCTX   ,Number of Octets Transmitted"
line.long 0x04 "EMAC0_OCRX,EMAC Received Octets Register"
hexmask.long 0x00 0.--31. 1. " OCRX   ,Number of Octets Received"
group 0x70++0x03
line.long 0x00 "EMAC0_IPCR,EMAC Internal PCS Configuration Register"
hexmask.long 0x00 10.--31. 1. " OUI    ,OUI Value"
hexmask.long.byte 0x00 4.--9. 1. "         MMN    ,Manufacturer Model Number"
hexmask.long.byte 0x00 0.--3. 1. "             REVID ,Revision Number"
rgroup 0x74++0x03
line.long 0x00 "EMAC0_REVID,EMAC Revision ID Register"
SIF (cpu()=="PPC440SP")
hexmask.long 0x00 0.--31. 1. " REVID  ,Revision Number"
ENDIF
SIF (cpu()=="PPC440SPE")
hexmask.long 0x00 0.--19. 1. " REVID  ,Revision Number"
ENDIF
width 0xB
endif
tree "EMAC 0"
sif (cpu()=="PPC440GRX")
width 18.
group dcr:0x000f++0x00
saveout dcr:0x000e %l (0x4301+(0*2.))
line.long 0x00 "SDR0_EMAC0RXST,EMAC0 RX Status Register"
bitfld.long 0x00 29. " FOR  ,RXFIFO Overrun" "-,Overrun"
bitfld.long 0x00 28. "      BC   ,Broadcast Address" "-,Received"
bitfld.long 0x00 27. "     MC    ,Multicast Address" "-,Received"
textline "                           "
bitfld.long 0x00 26. " UC   ,Unicast Address" "-,Received"
bitfld.long 0x00 23.--25. "     UPR  ,User Priority Field" "Priority 0,Priority 1,Priority 2,Priority 3,Priority 4,Priority 5,Priority 6,Priority 7"
bitfld.long 0x00 22. "   VLAN  ,RX VLAN Tagged Frame" "-,Received"
textline "                           "
bitfld.long 0x00 21. " LOOP ,Received in Loop-Back Mode" "-,Received"
bitfld.long 0x00 20. "     UOP  ,Rx Unsupported Opcode" "-,Received"
bitfld.long 0x00 19. "     CPF   ,RX Control Pause Frame" "-,Received"
textline "                           "
bitfld.long 0x00 18. " CF   ,RX Control Frame" "-,Received"
bitfld.long 0x00 17. "     MSIZ ,1024-Max Size Bytes Received" "-,Received"
bitfld.long 0x00 16. "     1023  ,512-1023 Bytes Received" "-,Received"
textline "                           "
bitfld.long 0x00 15. " 511  ,256-511 Bytes Received" "-,Received"
bitfld.long 0x00 14. "     255  ,128-255 Bytes Received" "-,Received"
bitfld.long 0x00 13. "     127   ,65-127 Bytes Received" "-,Received"
textline "                           "
bitfld.long 0x00 12. " 64   ,64 Bytes Received" "-,Received"
bitfld.long 0x00 11. "     RUNT ,Runt Frame" "-,Received"
bitfld.long 0x00 10. "     SEVT  ,Short Event" ",Occurred"
textline "                           "
bitfld.long 0x00 9. " AERR ,Alignment Error" "-,Error"
bitfld.long 0x00 8. "        SERR ,Received With Symbol Error" "-,Error"
bitfld.long 0x00 6. "        BURST ,Received Burst" "Carrier event<slot time,Carrier event>=slot time"
textline "                           "
bitfld.long 0x00 5. " FL2  ,Frame is too Long" "-,Too long"
bitfld.long 0x00 4. "     OERR ,Out of Range Length Error" "-,Error"
bitfld.long 0x00 3. "        IERR  ,In Range Length Error" "-,Error"
textline "                           "
bitfld.long 0x00 2. " LOST ,Frame Lost Due to Internal EMAC Receive Error" "-,Lost"
bitfld.long 0x00 1. "         BFCS ,Bad FCS in the Received Frame" "Correct,Incorrect"
bitfld.long 0x00 0. "    RXOK  ,Receive OK" "Correct,Incorrect"
group dcr:0x000f++0x00
saveout dcr:0x000e %l (0x4302+(0*2.))
line.long 0x00 "SDR0_EMAC0TXST,EMAC0 TX Status Register"
bitfld.long 0x00 25. " FUR  ,TXFIFO Underrun" "-,Underrun"
bitfld.long 0x00 24. "     BC   ,Broadcast Address" "-,Transmitted"
bitfld.long 0x00 23. "  MC    ,Multicast Address" "-,Transmitted"
textline "                           "
bitfld.long 0x00 22. " UC   ,Unicast Address" "-,Transmitted"
bitfld.long 0x00 21. "  FP   ,Frame Paused by Control Packet" "-,Paused"
bitfld.long 0x00 20. "       BFCS  ,Bad FCS in The Transmitted Frame" "Correct,Incorrect"
textline "                           "
bitfld.long 0x00 19. " CPF  ,TX Control Pause Frame" "-,Transmitted"
bitfld.long 0x00 18. "  CF   ,TX Control Frame" "-,Transmitted"
bitfld.long 0x00 17. "  MSIZ  ,1024-Maxsize Bytes Transmitted" "-,Transmitted"
textline "                           "
bitfld.long 0x00 16. " 1023 ,512-1023 Bytes Transmitted" "-,Transmitted"
bitfld.long 0x00 15. "  511  ,256-511 Bytes Transmitted" "-,Transmitted"
bitfld.long 0x00 14. "  255   ,128-255 Bytes Transmitted" "-,Transmitted"
textline "                           "
bitfld.long 0x00 13. " 127  ,65-127 Bytes Transmitted" "-,Transmitted"
bitfld.long 0x00 12. "  64   ,64 Bytes Transmitted" "-,Transmitted"
bitfld.long 0x00 11. "  SQE   ,SQE Indication" "-,Failed"
textline "                           "
bitfld.long 0x00 10. " LOC  ,Loss of Carrier Sense" "-,Lost"
bitfld.long 0x00 7. "         IERR ,EMAC Internal Error" "-,Error"
bitfld.long 0x00 6. "        EDF   ,Excessive Deferral" "-,Deferred"
textline "                           "
bitfld.long 0x00 5. " ECOL ,Excessive Collisions" "-,Collided"
bitfld.long 0x00 4. "     LCOL ,Late Collision" "-,Collided"
bitfld.long 0x00 3. "     DFFR  ,Deferred Frame" "-,Deferred"
textline "                           "
bitfld.long 0x00 2. " MCOL ,Multiple Collision Frame" "-,Collided"
bitfld.long 0x00 1. "     SCOL ,Single Collision Frame" "-,Collided"
bitfld.long 0x00 0. "     TXOK  ,Transmit OK" "Incorrect,Correct"
rgroup dcr:0x000f++0x00
saveout dcr:0x000e %l (0x4305+(0*1.))
line.long 0x00 "SDR0_EMAC0REJCNT,EMAC0 RX Packet Reject Counter Register"
width 13.
base ANC:0x1:0xEF600E00
group 0x00++0x03
line.long 0x00 "EMAC0_MR0,EMAC 0 Mode Register 0"
bitfld.long 0x00 31. " RXI  ,Receive MAC Idle" "Processing,Idle"
bitfld.long 0x00 30. "        TXI  ,Transmit MAC Idle" "Processing,Idle"
bitfld.long 0x00 29. "  SRST ,EMAC Software Reset" "-,Reset"
textline "                      "
bitfld.long 0x00 28. " TXE  ,Transmit MAC Enable" "-,Enabled"
bitfld.long 0x00 27. "           RXE  ,Receive MAC Enable" "-,Enabled"
bitfld.long 0x00 26. "     WKE  ,Wake-Up Enable" "-,Enabled"
group 0x04++0x03
line.long 0x00 "EMAC0_MR1,EMAC 0 Mode Register 1"
bitfld.long 0x00 31. " FDE  ,Full-Duplex Enable" "-,Enabled"
bitfld.long 0x00 30. "           ILE  ,Internal Loop-back Enable" "-,Enabled"
bitfld.long 0x00 29. "     VLE  ,VLAN Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 28. " EIFC ,Enable Integrated Flow Control" "-,Enabled"
bitfld.long 0x00 27. "           APP  ,Allow Pause Packet" "-,Enabled"
bitfld.long 0x00 24. "     IST  ,Ignore SQE test" "-,Ignored"
textline "                      "
bitfld.long 0x00 22.--23. " MF   ,Medium Frequency" "10 Mbps,100 Mbps,1000 Mbps wo/GPCS,1000 Mbps w/GPCS"
bitfld.long 0x00 19.--21. " RFS  ,Receive (RX) FIFO Size" "512 bytes,1 KB,2 KB,4 KB,8 KB,16 KB,Reserved,Reserved"
bitfld.long 0x00 16.--18. "   TFS  ,Transmit (TX) FIFO Size" "512 bytes,1 KB,2 KB,4 KB,8 KB,16 KB,Reserved,Reserved"
textline "                      "
bitfld.long 0x00 15. " TR   ,Transmit Request" "Single,Multiple"
bitfld.long 0x00 12.--14. "          MWSW ,Maximum Waiting Status Words" "Not sent,Sent,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 11. "    JPSM ,Jumbo Packet Support Mode" "-,Enabled"
textline "                      "
bitfld.long 0x00 6.--10. " IPPA ,Internal PCS PHY Address" "00000,00001,00010,00011,00100,00101,00110,00111,01000,01001,01010,01011,01100,01101,01110,01111,10000,10001,10010,10011,10100,10101,10110,10111,11000,11001,11010,11011,11100,11101,11110,11111"
bitfld.long 0x00 3.--5. "             OBCI ,OPB Bus Clock Indication" "50 MHz,66 MHZ,83 MHz,100 MHz,> 100 MHz,Reserved,Reserved,Reserved"
group 0x08++0x03
line.long 0x00 "EMAC0_TMR0,EMAC 0 Transmit Mode Register 0"
bitfld.long 0x00 31. " GNP  ,Get New Packet" "-,Ready"
bitfld.long 0x00 0.--2. "             TFAE ,TX FIFO Almost Empty (entries limit / limit in PHY clock cycles)" "Reserved,2/32,4/64,8/128,16/256,32/512,64/1024,128/2048"
group 0x0c++0x03
line.long 0x00 "EMAC0_TMR1,EMAC 0 Transmit Mode Register 1"
hexmask.long.byte 0x00 27.--31. 1. " TLR  ,Transmit Low Request"
hexmask.long.word 0x00 14.--23. 1. "                TUR  ,Transmit Urgent Request"
group 0x10++0x03
line.long 0x00 "EMAC0_RMR,EMAC 0 Receive Mode Register"
bitfld.long 0x00 31. " SP   ,Strip Padding" "-,Strip"
bitfld.long 0x00 30. "             SFCS ,Strip FCS" "-,Strip"
bitfld.long 0x00 29. "       RRP  ,Receive Runt Packets" "Discarded,Received"
textline "                      "
bitfld.long 0x00 28. " RFP  ,Allow Receive Packets with a FCS Error" "Discarded,Received"
bitfld.long 0x00 27. "         ROP  ,Receive Oversize Packet" "Discarded,Received"
bitfld.long 0x00 26. "   RPIR ,Receive Packets with In Range Error" "Discarded,Received"
textline "                      "
bitfld.long 0x00 25. " PPP  ,Propagate Pause Packet" "-,Propagated"
bitfld.long 0x00 24. "        PME  ,Promiscuous Mode Enable" "-,Enabled"
bitfld.long 0x00 23. "     PMME ,Promiscuous Multicast Mode Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 22. " IAE  ,Individual Address Enable" "-,Enabled"
bitfld.long 0x00 21. "           MIAE ,Multiple Individual Address Enable" "-,Enabled"
bitfld.long 0x00 20. "     BAE  ,Broadcast Address Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 19. " MAE  ,Multicast Address Enable" "-,Enabled"
bitfld.long 0x00 0.--2. "           RFAF ,RX FIFO Almost Full (entries limit / limit in PHY clock cycles)" "Reserved,2/32,4/64,8/128,16/256,32/512,64/1024,128/2048"
group 0x14++0x03
line.long 0x00 "EMAC0_ISR,EMAC 0 Interrupt Status Register"
eventfld.long 0x00 29. " TXPE ,TX Parity Error" "-,Interrupt"
eventfld.long 0x00 28. "         RXPE ,RX Parity Error" "-,Interrupt"
eventfld.long 0x00 27. "   TXUE ,TX Underrun Event" "-,Interrupt"
textline "                      "
eventfld.long 0x00 26. " RXOE ,RX Overrun Event" "-,Interrupt"
eventfld.long 0x00 25. "         OVR  ,Overrun" "-,Interrupt"
eventfld.long 0x00 24. "   PP   ,Pause Packet" "-,Interrupt"
textline "                      "
eventfld.long 0x00 23. " BP   ,Bad Packet" "-,Interrupt"
eventfld.long 0x00 22. "         RP   ,Runt Packet" "-,Interrupt"
eventfld.long 0x00 21. "   SE   ,Short Event" "-,Interrupt"
textline "                      "
eventfld.long 0x00 20. " ALE  ,Alignment Error" "-,Interrupt"
eventfld.long 0x00 19. "         BFCS ,Bad FCS" "-,Interrupt"
eventfld.long 0x00 18. "   PTLE ,Packet Too Long Error" "-,Interrupt"
textline "                      "
eventfld.long 0x00 17. " ORE  ,Out Of Range Error" "-,Interrupt"
eventfld.long 0x00 16. "         IRE  ,In Range Error" "-,Interrupt"
eventfld.long 0x00 8. "   DB   ,Dead Bit" "-,Interrupt"
textline "                      "
eventfld.long 0x00 7. " SE0  ,Signal Quality Error" "-,Interrupt"
eventfld.long 0x00 6. "         TE0  ,Transmit Error" "-,Interrupt"
eventfld.long 0x00 1. "   MOS  ,MMA Operation Succeeded" "-,Interrupt"
textline "                      "
eventfld.long 0x00 0. " MOF  ,MMA Operation Failed" "-,Interrupt"
group 0x18++0x03
line.long 0x00 "EMAC0_ISER,EMAC 0 Interrupt Status Enable Register"
bitfld.long 0x00 29. " TXPE ,TX Parity Error" "-,Enabled"
bitfld.long 0x00 28. "           RXPE ,RX Parity Error" "-,Enabled"
bitfld.long 0x00 27. "     TXUE ,TX Underrun Event" "-,Enabled"
textline "                      "
bitfld.long 0x00 26. " RXOE ,RX Overrun Event" "-,Enabled"
bitfld.long 0x00 25. "           OVR  ,Overrun" "-,Enabled"
bitfld.long 0x00 24. "     PP   ,Pause Packet" "-,Enabled"
textline "                      "
bitfld.long 0x00 23. " BP   ,Bad Packet" "-,Enabled"
bitfld.long 0x00 22. "           RP   ,Runt Packet" "-,Enabled"
bitfld.long 0x00 21. "     SE   ,Short Event" "-,Enabled"
textline "                      "
bitfld.long 0x00 20. " ALE  ,Alignment Error" "-,Enabled"
bitfld.long 0x00 19. "           BFCS ,Bad FCS" "-,Enabled"
bitfld.long 0x00 18. "     PTLE ,Packet Too Long Error" "-,Enabled"
textline "                      "
bitfld.long 0x00 17. " ORE  ,Out Of Range Error" "-,Enabled"
bitfld.long 0x00 16. "           IRE  ,In Range Error" "-,Enabled"
bitfld.long 0x00 7. "     SQE  ,SQE Error" "-,Enabled"
textline "                      "
bitfld.long 0x00 6. " TXE  ,Transmit Error" "-,Enabled"
bitfld.long 0x00 1. "           MOS  ,MMA Operation Succeeded" "-,Enabled"
bitfld.long 0x00 0. "     MOF  ,MMA Operation Failed" "-,Enabled"
group 0x1c++0x03
line.long 0x00 "EMAC0_IAHR,EMAC 0 Individual Address High Register"
hexmask.long.word 0x00 0.--15. 1. " HO     ,Receive and Transmit High Order"
group 0x20--0x4f
line.long 0x00 "EMAC0_IALR,EMAC 0 Individual Address Low Register"
hexmask.long 0x00 0.--31. 1. " LO     ,Receive and Transmit Low Order"
line.long 0x04 "EMAC0_VTPID,EMAC 0 VLAN TPID Register"
hexmask.long.word 0x04 0.--15. 1. " VIDT   ,VLAN ID Tag"
line.long 0x08 "EMAC0_VTCI,EMAC 0 VLAN TCI Register"
hexmask.long.word 0x08 0.--15. 1. " VTCI   ,VLAN TCI Tag"
line.long 0x0C "EMAC0_PTR,EMAC 0 Pause Timer Register"
hexmask.long.word 0x0C 0.--15. 1. " TVF    ,Timer Value Field" 
line.long 0x10 "EMAC0_IAHT1,EMAC 0 Individual Address Hash Table 1 Register"
hexmask.long.word 0x10 0.--15. 1. " IAHN   ,Individual Address Hash Number"
line.long 0x14 "EMAC0_IAHT2,EMAC 0 Individual Address Hash Table 2 Register"
hexmask.long.word 0x14 0.--15. 1. " IAHN   ,Individual Address Hash Number"
line.long 0x18 "EMAC0_IAHT3,EMAC 0 Individual Address Hash Table 3 Register"
hexmask.long.word 0x18 0.--15. 1. " IAHN   ,Individual Address Hash Number"
line.long 0x1C "EMAC0_IAHT4,EMAC 0 Individual Address Hash Table 4 Register"
hexmask.long.word 0x1C 0.--15. 1. " IAHN   ,Individual Address Hash Number"
line.long 0x20 "EMAC0_GAHT1,EMAC 0 Group Address Hash Table 1 Register"
hexmask.long.word 0x20 0.--15. 1. " GAHN   ,Group Address Hash Number"  
line.long 0x24 "EMAC0_GAHT2,EMAC 0 Group Address Hash Table 2 Register"
hexmask.long.word 0x24 0.--15. 1. " GAHN   ,Group Address Hash Number"  
line.long 0x28 "EMAC0_GAHT3,EMAC 0 Group Address Hash Table 3 Register"
hexmask.long.word 0x28 0.--15. 1. " GAHN   ,Group Address Hash Number"
line.long 0x2C "EMAC0_GAHT4,EMAC 0 Group Address Hash Table 4 Register"
hexmask.long.word 0x2C 0.--15. 1. " GAHN   ,Group Address Hash Number"  
rgroup 0x50--0x57
line.long 0x00 "EMAC0_LSAH,EMAC 0 Last Source Address High Register"
hexmask.long.word 0x00 0.--15. 1. " LSAHW  ,Last Source Address High-Order Halfword"    
line.long 0x04 "EMAC0_LSAL,EMAC 0 Last Source Address Low Register"
hexmask.long 0x04 0.--31. 1. " LSALW  ,Last Source Address Low-Order Word"   
group 0x58++0x03
line.long 0x00 "EMAC0_IPGVR,EMAC 0 Inter-Packet Gap Value Register"
hexmask.long.byte 0x00 0.--5. 1. " IFG    ,Inter-Packet Gap"
if (((data.long(asd:(0x1:0xEF600E00+0x5C)))&0x2000)==0x2000)
group 0x5c++0x03
line.long 0x00 "EMAC0_STACR,EMAC 0 STA Control Register"
hexmask.long.word 0x00 16.--31. 1. " PHYD   ,PHY Data"
bitfld.long 0x00 15. "      OC     ,MMA Go Bit/Operation Complete" "Completed,Started"
bitfld.long 0x00 14. "  PHYE  ,PHY Error" "-,Error"
textline "                      "
bitfld.long 0x00 13. " IMS    ,Indirect Mode Selection" "Indirect,MIO/MDIO"
bitfld.long 0x00 11.--12. "  STAOPC ,STA Opcode" "Address,Write,Read,Reserved"
bitfld.long 0x00 5.--9. "         PADR  ,PHY Command Destination Address" "00000,00001,00010,00011,00100,00101,00110,00111,01000,01001,01010,01011,01100,01101,01110,01111,10000,10001,10010,10011,10100,10101,10110,10111,11000,11001,11010,11011,11100,11101,11110,11111"
textline "                      "
bitfld.long 0x00 0.--4. " DEVADR ,PHY Register Address" "00000,00001,00010,00011,00100,00101,00110,00111,01000,01001,01010,01011,01100,01101,01110,01111,10000,10001,10010,10011,10100,10101,10110,10111,11000,11001,11010,11011,11100,11101,11110,11111"
else
group 0x5c++0x03
line.long 0x00 "EMAC0_STACR,EMAC 0 STA Control Register"
hexmask.long.word 0x00 16.--31. 1. " PHYD   ,PHY Data"
bitfld.long 0x00 15. "      OC     ,MMA Go Bit/Operation Complete" "Completed,Started"
bitfld.long 0x00 14. "  PHYE  ,PHY Error" "-,Error"
textline "                      "
bitfld.long 0x00 13. " IMS    ,Indirect Mode Selection" "Indirect,MIO/MDIO"
bitfld.long 0x00 11.--12. "  STAOPC ,STA Opcode" "Reserved,Write,Read,Reserved"
bitfld.long 0x00 5.--9. "   PADR  ,PHY Command Destination Address" "00000,00001,00010,00011,00100,00101,00110,00111,01000,01001,01010,01011,01100,01101,01110,01111,10000,10001,10010,10011,10100,10101,10110,10111,11000,11001,11010,11011,11100,11101,11110,11111"
textline "                      "
bitfld.long 0x00 0.--4. " DEVADR ,PHY Register Address" "00000,00001,00010,00011,00100,00101,00110,00111,01000,01001,01010,01011,01100,01101,01110,01111,10000,10001,10010,10011,10100,10101,10110,10111,11000,11001,11010,11011,11100,11101,11110,11111"
endif
group 0x60++0x03
line.long 0x00 "EMAC0_TRTR,EMAC 0 Transmit Request Threshold Register"
hexmask.long.byte 0x00 24.--31. 1. " TRT    ,Transmit Request Threshold"
group 0x64++0x03
line.long 0x00 "EMAC0_RWMR,EMAC 0 Receive Low/High Water Mark Register"
hexmask.long.word 0x00 22.--31. 1. " RLWM   ,Receive Low Water Mark"
hexmask.long.word 0x00 6.--15. 1. "      RHWM   ,Receive High Water Mark"
rgroup 0x68--0x6f
line.long 0x00 "EMAC0_OCTX,EMAC 0 Number of Octets Transimitted Register"
line.long 0x04 "EMAC0_OCRX,EMAC 0 Number of Octets Received Register"
group 0x70++0x03
line.long 0x00 "EMAC0_IPCR,Internal PCS Configuration Register"
hexmask.long 0x00 10.--31. 1. " OUI    ,OUI Value"
hexmask.long.byte 0x00 4.--9. 1. "  MMN    ,Manufacturer Model Number"
bitfld.long 0x00 0.--3. "         REVID ,Revision Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"

elif (cpu()=="PPC440EPX")
width 18.
group dcr:0x000f++0x00
saveout dcr:0x000e %l (0x4301+(0*2.))
line.long 0x00 "SDR0_EMAC0RXST,EMAC0 RX Status Register"
bitfld.long 0x00 29. " FOR  ,RXFIFO Overrun" "-,Overrun"
bitfld.long 0x00 28. "      BC   ,Broadcast Address" "-,Received"
bitfld.long 0x00 27. "     MC    ,Multicast Address" "-,Received"
textline "                           "
bitfld.long 0x00 26. " UC   ,Unicast Address" "-,Received"
bitfld.long 0x00 23.--25. "     UPR  ,User Priority Field" "Priority 0,Priority 1,Priority 2,Priority 3,Priority 4,Priority 5,Priority 6,Priority 7"
bitfld.long 0x00 22. "   VLAN  ,RX VLAN Tagged Frame" "-,Received"
textline "                           "
bitfld.long 0x00 21. " LOOP ,Received in Loop-Back Mode" "-,Received"
bitfld.long 0x00 20. "     UOP  ,Rx Unsupported Opcode" "-,Received"
bitfld.long 0x00 19. "     CPF   ,RX Control Pause Frame" "-,Received"
textline "                           "
bitfld.long 0x00 18. " CF   ,RX Control Frame" "-,Received"
bitfld.long 0x00 17. "     MSIZ ,1024-Max Size Bytes Received" "-,Received"
bitfld.long 0x00 16. "     1023  ,512-1023 Bytes Received" "-,Received"
textline "                           "
bitfld.long 0x00 15. " 511  ,256-511 Bytes Received" "-,Received"
bitfld.long 0x00 14. "     255  ,128-255 Bytes Received" "-,Received"
bitfld.long 0x00 13. "     127   ,65-127 Bytes Received" "-,Received"
textline "                           "
bitfld.long 0x00 12. " 64   ,64 Bytes Received" "-,Received"
bitfld.long 0x00 11. "     RUNT ,Runt Frame" "-,Received"
bitfld.long 0x00 10. "     SEVT  ,Short Event" ",Occurred"
textline "                           "
bitfld.long 0x00 9. " AERR ,Alignment Error" "-,Error"
bitfld.long 0x00 8. "        SERR ,Received With Symbol Error" "-,Error"
bitfld.long 0x00 6. "        BURST ,Received Burst" "Carrier event<slot time,Carrier event>=slot time"
textline "                           "
bitfld.long 0x00 5. " F2L  ,Frame is too Long" "-,Too long"
bitfld.long 0x00 4. "     OERR ,Out of Range Length Error" "-,Error"
bitfld.long 0x00 3. "        IERR  ,In Range Length Error" "-,Error"
textline "                           "
bitfld.long 0x00 2. " LOST ,Frame Lost Due to Internal EMAC Receive Error" "-,Lost"
bitfld.long 0x00 1. "         BFCS ,Bad FCS in the Received Frame" "Correct,Incorrect"
bitfld.long 0x00 0. "    RXOK  ,Receive OK" "Correct,Incorrect"
group dcr:0x000f++0x00
saveout dcr:0x000e %l (0x4302+(0*2.))
line.long 0x00 "SDR0_EMAC0TXST,EMAC0 TX Status Register"
bitfld.long 0x00 25. " FUR  ,TXFIFO Underrun" "-,Underrun"
bitfld.long 0x00 24. "     BC   ,Broadcast Address" "-,Transmitted"
bitfld.long 0x00 23. "  MC    ,Multicast Address" "-,Transmitted"
textline "                           "
bitfld.long 0x00 22. " UC   ,Unicast Address" "-,Transmitted"
bitfld.long 0x00 21. "  FP   ,Frame Paused by Control Packet" "-,Paused"
bitfld.long 0x00 20. "       BFCS  ,Bad FCS in The Transmitted Frame" "Correct,Incorrect"
textline "                           "
bitfld.long 0x00 19. " CPF  ,TX Control Pause Frame" "-,Transmitted"
bitfld.long 0x00 18. "  CF   ,TX Control Frame" "-,Transmitted"
bitfld.long 0x00 17. "  MSIZ  ,1024-Maxsize Bytes Transmitted" "-,Transmitted"
textline "                           "
bitfld.long 0x00 16. " 1023 ,512-1023 Bytes Transmitted" "-,Transmitted"
bitfld.long 0x00 15. "  511  ,256-511 Bytes Transmitted" "-,Transmitted"
bitfld.long 0x00 14. "  255   ,128-255 Bytes Transmitted" "-,Transmitted"
textline "                           "
bitfld.long 0x00 13. " 127  ,65-127 Bytes Transmitted" "-,Transmitted"
bitfld.long 0x00 12. "  64   ,64 Bytes Transmitted" "-,Transmitted"
bitfld.long 0x00 11. "  SQE   ,SQE Indication" "-,Failed"
textline "                           "
bitfld.long 0x00 10. " LOC  ,Loss of Carrier Sense" "-,Lost"
bitfld.long 0x00 7. "         IERR ,EMAC Internal Error" "-,Error"
bitfld.long 0x00 6. "        EDF   ,Excessive Deferral" "-,Deferred"
textline "                           "
bitfld.long 0x00 5. " ECOL ,Excessive Collisions" "-,Collided"
bitfld.long 0x00 4. "     LCOL ,Late Collision" "-,Collided"
bitfld.long 0x00 3. "     DFFR  ,Deferred Frame" "-,Deferred"
textline "                           "
bitfld.long 0x00 2. " MCOL ,Multiple Collision Frame" "-,Collided"
bitfld.long 0x00 1. "     SCOL ,Single Collision Frame" "-,Collided"
bitfld.long 0x00 0. "     TXOK  ,Transmit OK" "Incorrect,Correct"
rgroup dcr:0x000f++0x00
saveout dcr:0x000e %l (0x4305+(0*1.))
line.long 0x00 "SDR0_EMAC0REJCNT,EMAC0 RX Packet Reject Counter Register"
width 13.
base ANC:0x1:0xEF600E00
group 0x00++0x03
line.long 0x00 "EMAC0_MR0,EMAC 0 Mode Register 0"
bitfld.long 0x00 31. " RXI  ,Receive MAC Idle" "Processing,Idle"
bitfld.long 0x00 30. "        TXI  ,Transmit MAC Idle" "Processing,Idle"
bitfld.long 0x00 29. "  SRST ,EMAC Software Reset" "-,Reset"
textline "                      "
bitfld.long 0x00 28. " TXE  ,Transmit MAC Enable" "-,Enabled"
bitfld.long 0x00 27. "           RXE  ,Receive MAC Enable" "-,Enabled"
bitfld.long 0x00 26. "     WKE  ,Wake-Up Enable" "-,Enabled"
group 0x04++0x03
line.long 0x00 "EMAC0_MR1,EMAC 0 Mode Register 1"
bitfld.long 0x00 31. " FDE  ,Full-Duplex Enable" "-,Enabled"
bitfld.long 0x00 30. "           ILE  ,Internal Loop-back Enable" "-,Enabled"
bitfld.long 0x00 29. "     VLE  ,VLAN Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 28. " EIFC ,Enable Integrated Flow Control" "-,Enabled"
bitfld.long 0x00 27. "           APP  ,Allow Pause Packet" "-,Enabled"
bitfld.long 0x00 24. "     IST  ,Ignore SQE test" "-,Ignored"
textline "                      "
bitfld.long 0x00 22.--23. " MF   ,Medium Frequency" "10 Mbps,100 Mbps,1000 Mbps wo/GPCS,1000 Mbps w/GPCS"
bitfld.long 0x00 19.--21. " RFS  ,Receive (RX) FIFO Size" "512 bytes,1 KB,2 KB,4 KB,8 KB,16 KB,Reserved,Reserved"
bitfld.long 0x00 16.--18. "   TFS  ,Transmit (TX) FIFO Size" "512 bytes,1 KB,2 KB,4 KB,8 KB,16 KB,Reserved,Reserved"
textline "                      "
bitfld.long 0x00 15. " TR   ,Transmit Request" "Single,Multiple"
bitfld.long 0x00 12.--14. "          MWSW ,Maximum Waiting Status Words" "Not sent,Sent,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 11. "    JPSM ,Jumbo Packet Support Mode" "-,Enabled"
textline "                      "
bitfld.long 0x00 6.--10. " IPPA ,Internal PCS PHY Address" "00000,00001,00010,00011,00100,00101,00110,00111,01000,01001,01010,01011,01100,01101,01110,01111,10000,10001,10010,10011,10100,10101,10110,10111,11000,11001,11010,11011,11100,11101,11110,11111"
bitfld.long 0x00 3.--5. "             OBCI ,OPB Bus Clock Indication" "50 MHz,66 MHZ,83 MHz,100 MHz,> 100 MHz,Reserved,Reserved,Reserved"
group 0x08++0x03
line.long 0x00 "EMAC0_TMR0,EMAC 0 Transmit Mode Register 0"
bitfld.long 0x00 31. " GNP  ,Get New Packet" "-,Ready"
bitfld.long 0x00 0.--2. "             TFAE ,TX FIFO Almost Empty (entries limit / limit in PHY clock cycles)" "Reserved,2/32,4/64,8/128,16/256,32/512,64/1024,128/2048"
group 0x0c++0x03
line.long 0x00 "EMAC0_TMR1,EMAC 0 Transmit Mode Register 1"
hexmask.long.byte 0x00 27.--31. 1. " TLR  ,Transmit Low Request"
hexmask.long.word 0x00 14.--23. 1. "                TUR  ,Transmit Urgent Request"
group 0x10++0x03
line.long 0x00 "EMAC0_RMR,EMAC 0 Receive Mode Register"
bitfld.long 0x00 31. " SP   ,Strip Padding" "-,Strip"
bitfld.long 0x00 30. "             SFCS ,Strip FCS" "-,Strip"
bitfld.long 0x00 29. "       RRP  ,Receive Runt Packets" "Discarded,Received"
textline "                      "
bitfld.long 0x00 28. " RFP  ,Allow Receive Packets with a FCS Error" "Discarded,Received"
bitfld.long 0x00 27. "         ROP  ,Receive Oversize Packet" "Discarded,Received"
bitfld.long 0x00 26. "   RPIR ,Receive Packets with In Range Error" "Discarded,Received"
textline "                      "
bitfld.long 0x00 25. " PPP  ,Propagate Pause Packet" "-,Propagated"
bitfld.long 0x00 24. "        PME  ,Promiscuous Mode Enable" "-,Enabled"
bitfld.long 0x00 23. "     PMME ,Promiscuous Multicast Mode Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 22. " IAE  ,Individual Address Enable" "-,Enabled"
bitfld.long 0x00 21. "           MIAE ,Multiple Individual Address Enable" "-,Enabled"
bitfld.long 0x00 20. "     BAE  ,Broadcast Address Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 19. " MAE  ,Multicast Address Enable" "-,Enabled"
bitfld.long 0x00 0.--2. "           RFAF ,RX FIFO Almost Full (entries limit / limit in PHY clock cycles)" "Reserved,2/32,4/64,8/128,16/256,32/512,64/1024,128/2048"
group 0x14++0x03
line.long 0x00 "EMAC0_ISR,EMAC 0 Interrupt Status Register"
eventfld.long 0x00 29. " TXPE ,TX Parity Error" "-,Interrupt"
eventfld.long 0x00 28. "         RXPE ,RX Parity Error" "-,Interrupt"
eventfld.long 0x00 27. "   TXUE ,TX Underrun Event" "-,Interrupt"
textline "                      "
eventfld.long 0x00 26. " RXOE ,RX Overrun Event" "-,Interrupt"
eventfld.long 0x00 25. "         OVR  ,Overrun" "-,Interrupt"
eventfld.long 0x00 24. "   PP   ,Pause Packet" "-,Interrupt"
textline "                      "
eventfld.long 0x00 23. " BP   ,Bad Packet" "-,Interrupt"
eventfld.long 0x00 22. "         RP   ,Runt Packet" "-,Interrupt"
eventfld.long 0x00 21. "   SE   ,Short Event" "-,Interrupt"
textline "                      "
eventfld.long 0x00 20. " ALE  ,Alignment Error" "-,Interrupt"
eventfld.long 0x00 19. "         BFCS ,Bad FCS" "-,Interrupt"
eventfld.long 0x00 18. "   PTLE ,Packet Too Long Error" "-,Interrupt"
textline "                      "
eventfld.long 0x00 17. " ORE  ,Out Of Range Error" "-,Interrupt"
eventfld.long 0x00 16. "         IRE  ,In Range Error" "-,Interrupt"
eventfld.long 0x00 8. "   DB   ,Dead Bit" "-,Interrupt"
textline "                      "
eventfld.long 0x00 7. " SE0  ,Signal Quality Error" "-,Interrupt"
eventfld.long 0x00 6. "         TE0  ,Transmit Error" "-,Interrupt"
eventfld.long 0x00 1. "   MOS  ,MMA Operation Succeeded" "-,Interrupt"
textline "                      "
eventfld.long 0x00 0. " MOF  ,MMA Operation Failed" "-,Interrupt"
group 0x18++0x03
line.long 0x00 "EMAC0_ISER,EMAC 0 Interrupt Status Enable Register"
bitfld.long 0x00 29. " TXPE ,TX Parity Error" "-,Enabled"
bitfld.long 0x00 28. "           RXPE ,RX Parity Error" "-,Enabled"
bitfld.long 0x00 27. "     TXUE ,TX Underrun Event" "-,Enabled"
textline "                      "
bitfld.long 0x00 26. " RXOE ,RX Overrun Event" "-,Enabled"
bitfld.long 0x00 25. "           OVR  ,Overrun" "-,Enabled"
bitfld.long 0x00 24. "     PP   ,Pause Packet" "-,Enabled"
textline "                      "
bitfld.long 0x00 23. " BP   ,Bad Packet" "-,Enabled"
bitfld.long 0x00 22. "           RP   ,Runt Packet" "-,Enabled"
bitfld.long 0x00 21. "     SE   ,Short Event" "-,Enabled"
textline "                      "
bitfld.long 0x00 20. " ALE  ,Alignment Error" "-,Enabled"
bitfld.long 0x00 19. "           BFCS ,Bad FCS" "-,Enabled"
bitfld.long 0x00 18. "     PTLE ,Packet Too Long Error" "-,Enabled"
textline "                      "
bitfld.long 0x00 17. " ORE  ,Out Of Range Error" "-,Enabled"
bitfld.long 0x00 16. "           IRE  ,In Range Error" "-,Enabled"
bitfld.long 0x00 7. "     SQE  ,SQE Error" "-,Enabled"
textline "                      "
bitfld.long 0x00 6. " TXE  ,Transmit Error" "-,Enabled"
bitfld.long 0x00 1. "           MOS  ,MMA Operation Succeeded" "-,Enabled"
bitfld.long 0x00 0. "     MOF  ,MMA Operation Failed" "-,Enabled"
group 0x1c++0x03
line.long 0x00 "EMAC0_IAHR,EMAC 0 Individual Address High Register"
hexmask.long.word 0x00 0.--15. 1. " HO     ,Receive and Transmit High Order"
group 0x20--0x4f
line.long 0x00 "EMAC0_IALR,EMAC 0 Individual Address Low Register"
hexmask.long 0x00 0.--31. 1. " LO     ,Receive and Transmit Low Order"
line.long 0x04 "EMAC0_VTPID,EMAC 0 VLAN TPID Register"
hexmask.long.word 0x04 0.--15. 1. " VIDT   ,VLAN ID Tag"
line.long 0x08 "EMAC0_VTCI,EMAC 0 VLAN TCI Register"
hexmask.long.word 0x08 0.--15. 1. " VTCI   ,VLAN TCI Tag"
line.long 0x0C "EMAC0_PTR,EMAC 0 Pause Timer Register"
hexmask.long.word 0x0C 0.--15. 1. " TVF    ,Timer Value Field" 
line.long 0x10 "EMAC0_IAHT1,EMAC 0 Individual Address Hash Table 1 Register"
hexmask.long.word 0x10 0.--15. 1. " IAHN   ,Individual Address Hash Number"
line.long 0x14 "EMAC0_IAHT2,EMAC 0 Individual Address Hash Table 2 Register"
hexmask.long.word 0x14 0.--15. 1. " IAHN   ,Individual Address Hash Number"
line.long 0x18 "EMAC0_IAHT3,EMAC 0 Individual Address Hash Table 3 Register"
hexmask.long.word 0x18 0.--15. 1. " IAHN   ,Individual Address Hash Number"
line.long 0x1C "EMAC0_IAHT4,EMAC 0 Individual Address Hash Table 4 Register"
hexmask.long.word 0x1C 0.--15. 1. " IAHN   ,Individual Address Hash Number"
line.long 0x20 "EMAC0_GAHT1,EMAC 0 Group Address Hash Table 1 Register"
hexmask.long.word 0x20 0.--15. 1. " GAHN   ,Group Address Hash Number"  
line.long 0x24 "EMAC0_GAHT2,EMAC 0 Group Address Hash Table 2 Register"
hexmask.long.word 0x24 0.--15. 1. " GAHN   ,Group Address Hash Number"  
line.long 0x28 "EMAC0_GAHT3,EMAC 0 Group Address Hash Table 3 Register"
hexmask.long.word 0x28 0.--15. 1. " GAHN   ,Group Address Hash Number"
line.long 0x2C "EMAC0_GAHT4,EMAC 0 Group Address Hash Table 4 Register"
hexmask.long.word 0x2C 0.--15. 1. " GAHN   ,Group Address Hash Number"  
rgroup 0x50--0x57
line.long 0x00 "EMAC0_LSAH,EMAC 0 Last Source Address High Register"
hexmask.long.word 0x00 0.--15. 1. " LSAHHW ,Last Source Address High-Order Halfword"    
line.long 0x04 "EMAC0_LSAL,EMAC 0 Last Source Address Low Register"
hexmask.long 0x04 0.--31. 1. " LSALW  ,Last Source Address Low-Order Word"   
group 0x58++0x03
line.long 0x00 "EMAC0_IPGVR,EMAC 0 Inter-Packet Gap Value Register"
hexmask.long.byte 0x00 0.--5. 1. " IPG    ,Inter-Packet Gap"
group 0x5c++0x03
line.long 0x00 "EMAC0_STACR,EMAC 0 STA Control Register"
hexmask.long.word 0x00 16.--31. 1. " PHYD   ,PHY Data"
bitfld.long 0x00 15. "      OC     ,MMA Go Bit/Operation Complete" "Completed,Started"
bitfld.long 0x00 14. "  PHYE  ,PHY Error" "-,Error"
textline "                      "
bitfld.long 0x00 13. " IMS    ,Indirect Mode Selection" "Indirect,MIO/MDIO"
bitfld.long 0x00 11.--12. "  STAOPC ,STA Opcode" "00,01,10,11"
bitfld.long 0x00 5.--9. "         PADR  ,PHY Command Destination Address" "00000,00001,00010,00011,00100,00101,00110,00111,01000,01001,01010,01011,01100,01101,01110,01111,10000,10001,10010,10011,10100,10101,10110,10111,11000,11001,11010,11011,11100,11101,11110,11111"
textline "                      "
bitfld.long 0x00 0.--4. " DEVADR ,PHY Register Address" "00000,00001,00010,00011,00100,00101,00110,00111,01000,01001,01010,01011,01100,01101,01110,01111,10000,10001,10010,10011,10100,10101,10110,10111,11000,11001,11010,11011,11100,11101,11110,11111"
group 0x60++0x03
line.long 0x00 "EMAC0_TRTR,EMAC 0 Transmit Request Threshold Register"
hexmask.long.byte 0x00 24.--31. 1. " TRT    ,Transmit Request Threshold"
group 0x64++0x03
line.long 0x00 "EMAC0_RWMR,EMAC 0 Receive Low/High Water Mark Register"
hexmask.long.word 0x00 22.--31. 1. " RLWM   ,Receive Low Water Mark"
hexmask.long.word 0x00 6.--15. 1. "      RHWM   ,Receive High Water Mark"
rgroup 0x68--0x6f
line.long 0x00 "EMAC0_OCTX,EMAC 0 Number of Octets Transimitted Register"
line.long 0x04 "EMAC0_OCRX,EMAC 0 Number of Octets Received Register"
group 0x70++0x03
line.long 0x00 "EMAC0_IPCR,Internal PCS Configuration Register"
hexmask.long 0x00 10.--31. 1. " OUI    ,OUI Value"
hexmask.long.byte 0x00 4.--9. 1. "  MMN    ,Manufacturer Model Number"
bitfld.long 0x00 0.--3. "         REVID ,Revision Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"

elif (cpu()=="PPC440GR")
width 18.
group dcr:0x000f++0x00 "Packet Reject Registers"
saveout dcr:0x000e %l (0x4301+(0*3.))
line.long 0x00 "SDR0_EMAC0RXST,EMAC0 RX Status Register"
bitfld.long 0x00 29. " FOR  ,RXFIFO Overrun" "-,Overrun"
bitfld.long 0x00 28. "      BC   ,Broadcast Address" "-,Received"
bitfld.long 0x00 27. "     MC    ,Multicast Address" "-,Received"
textline "                           "
bitfld.long 0x00 26. " UC   ,Unicast Address" "-,Received"
bitfld.long 0x00 23.--25. "     UPR  ,User Priority Field" "Priority 0,Priority 1,Priority 2,Priority 3,Priority 4,Priority 5,Priority 6,Priority 7"
bitfld.long 0x00 22. "   VLAN  ,RX VLAN Tagged Frame" "-,Received"
textline "                           "
bitfld.long 0x00 21. " LOOP ,Received in Loop-Back Mode" "-,Received"
bitfld.long 0x00 20. "     UOP  ,Rx Unsupported Opcode" "-,Received"
bitfld.long 0x00 19. "     CPF   ,RX Control Pause Frame" "-,Received"
textline "                           "
bitfld.long 0x00 18. " CF   ,RX Control Frame" "-,Received"
bitfld.long 0x00 17. "     MSIZ ,1024-Max Size Bytes Received" "-,Received"
bitfld.long 0x00 16. "     1023  ,512-1023 Bytes Received" "-,Received"
textline "                           "
bitfld.long 0x00 15. " 511  ,256-511 Bytes Received" "-,Received"
bitfld.long 0x00 14. "     255  ,128-255 Bytes Received" "-,Received"
bitfld.long 0x00 13. "     127   ,65-127 Bytes Received" "-,Received"
textline "                           "
bitfld.long 0x00 12. " 64   ,64 Bytes Received" "-,Received"
bitfld.long 0x00 11. "     RUNT ,Runt Frame" "-,Received"
bitfld.long 0x00 10. "     SEVT  ,Short Event" ",Occurred"
textline "                           "
bitfld.long 0x00 9. " AERR ,Alignment Error" "-,Error"
bitfld.long 0x00 8. "        SERR ,Received With Symbol Error" "-,Error"
bitfld.long 0x00 6. "        BURST ,Received Burst" "Carrier event<slot time,Carrier event>=slot time"
textline "                           "
bitfld.long 0x00 5. " FL2  ,Frame is too Long" "-,Too long"
bitfld.long 0x00 4. "     OERR ,Out of Range Length Error" "-,Error"
bitfld.long 0x00 3. "        IERR  ,In Range Length Error" "-,Error"
textline "                           "
bitfld.long 0x00 2. " LOST ,Frame Lost Due to Internal EMAC Receive Error" "-,Lost"
bitfld.long 0x00 1. "         BFCS ,Bad FCS in the Received Frame" "Correct,Incorrect"
bitfld.long 0x00 0. "    RXOK  ,Receive OK" "Correct,Incorrect"
group dcr:0x000f++0x00
saveout dcr:0x000e %l (0x4302+(0*3.))
line.long 0x00 "SDR0_EMAC0TXST,EMAC0 TX Status Register"
bitfld.long 0x00 25. " FUR  ,TXFIFO Underrun" "-,Underrun"
bitfld.long 0x00 24. "     BC   ,Broadcast Address" "-,Transmitted"
bitfld.long 0x00 23. "  MC    ,Multicast Address" "-,Transmitted"
textline "                           "
bitfld.long 0x00 22. " UC   ,Unicast Address" "-,Transmitted"
bitfld.long 0x00 21. "  FP   ,Frame Paused by Control Packet" "-,Paused"
bitfld.long 0x00 20. "       BFCS  ,Bad FCS in The Transmitted Frame" "Correct,Incorrect"
textline "                           "
bitfld.long 0x00 19. " CPF  ,TX Control Pause Frame" "-,Transmitted"
bitfld.long 0x00 18. "  CF   ,TX Control Frame" "-,Transmitted"
bitfld.long 0x00 17. "  MSIZ  ,1024-Maxsize Bytes Transmitted" "-,Transmitted"
textline "                           "
bitfld.long 0x00 16. " 1023 ,512-1023 Bytes Transmitted" "-,Transmitted"
bitfld.long 0x00 15. "  511  ,256-511 Bytes Transmitted" "-,Transmitted"
bitfld.long 0x00 14. "  255   ,128-255 Bytes Transmitted" "-,Transmitted"
textline "                           "
bitfld.long 0x00 13. " 127  ,65-127 Bytes Transmitted" "-,Transmitted"
bitfld.long 0x00 12. "  64   ,64 Bytes Transmitted" "-,Transmitted"
bitfld.long 0x00 11. "  SQE   ,SQE Indication" "-,Failed"
textline "                           "
bitfld.long 0x00 10. " LOC  ,Loss of Carrier Sense" "-,Lost"
bitfld.long 0x00 7. "         IERR ,EMAC Internal Error" "-,Error"
bitfld.long 0x00 6. "        EDF   ,Excessive Deferral" "-,Deferred"
textline "                           "
bitfld.long 0x00 5. " ECOL ,Excessive Collisions" "-,Collided"
bitfld.long 0x00 4. "     LCOL ,Late Collision" "-,Collided"
bitfld.long 0x00 3. "     DFFR  ,Deferred Frame" "-,Deferred"
textline "                           "
bitfld.long 0x00 2. " MCOL ,Multiple Collision Frame" "-,Collided"
bitfld.long 0x00 1. "     SCOL ,Single Collision Frame" "-,Collided"
bitfld.long 0x00 0. "     TXOK  ,Transmit OK" "Incorrect,Correct"
rgroup dcr:0x000f++0x00
saveout dcr:0x000e %l (0x4303+(0*3.))
line.long 0x00 "SDR0_EMAC0REJCNT,EMAC0 RX Packet Reject Counter Register"
width 13.
base ANC:0x0:0xef600e00
group 0x00++0x03 "EMAC Registers"
line.long 0x00 "EMAC0_MR0,EMAC 0 Mode Register 0"
bitfld.long 0x00 31. " RXI  ,Receive MAC Idle" "Processing,Idle"
bitfld.long 0x00 30. "        TXI  ,Transmit MAC Idle" "Processing,Idle"
bitfld.long 0x00 29. "        SRST ,EMAC Software Reset" "-,Reset"
textline "                      "
bitfld.long 0x00 28. " TXE  ,Transmit MAC Enable" "-,Enabled"
bitfld.long 0x00 27. "           RXE  ,Receive MAC Enable" "-,Enabled"
bitfld.long 0x00 26. "           WKE  ,Wake-Up Enable" "-,Enabled"
group 0x04++0x03
line.long 0x00 "EMAC0_MR1,EMAC 0 Mode Register 1"
bitfld.long 0x00 31. " FDE  ,Full-Duplex Enable" "-,Enabled"
bitfld.long 0x00 30. "           ILE  ,Internal Loop-back Enable" "-,Enabled"
bitfld.long 0x00 29. "           VLE  ,VLAN Enable" "-,Enabled" 
textline "                      "
bitfld.long 0x00 28. " EIFC ,Enable Integrated Flow Control" "-,Enabled"  
bitfld.long 0x00 27. "           APP  ,Allow Pause Packet" "-,Enabled"  
bitfld.long 0x00 24. "           IST  ,Ignore SQE test" "-,Ignored" 
textline "                      "
bitfld.long 0x00 22.--23. " MF   ,Medium Frequency" "10Mbps,100Mbps,Reserved,Reserved"
bitfld.long 0x00 20.--21. "          RFS  ,Receive (RX) FIFO Size" "512B,1KB,2KB,4KB"
bitfld.long 0x00 18.--19. "              TFS  ,Transmit (TX) FIFO Size" "Reserved,1KB,2KB,Reserved"
textline "                      "
bitfld.long 0x00 15.--16. " TR0  ,Transmit Request 0" "Single packet,Multiple packets,Dependent mode,Reserved"
bitfld.long 0x00 13.--14. "  TR1  ,Transmit Request 1" "Single packet,Multiple packets,Dependent mode,Reserved"
bitfld.long 0x00 12. "  JE   ,Jumbo Packet Support Mode" "-,Enabled"
group 0x08++0x03
line.long 0x00 "EMAC0_TMR0,EMAC 0 Transmit Mode Register 0"
bitfld.long 0x00 31. " GNP0 ,Get New Packet" "-,Ready"
bitfld.long 0x00 30. "             GNP1 ,Get New Packet 1" "-,Ready"
bitfld.long 0x00 29. "             GNFD ,Get New Packet for Dependent Mode" "-,Ready"
textline "                      "
bitfld.long 0x00 28. " FC   ,First Channel" "Channel 0,Channel 1"
group 0x0c++0x03
line.long 0x00 "EMAC0_TMR1,EMAC 0 Transmit Mode Register 1"
hexmask.long.byte 0x00 27.--31. 1. " TLR  ,Transmit Low Request"
hexmask.long.byte 0x00 16.--23. 1. "                TUR  ,Transmit Urgent Request"
group 0x10++0x03
line.long 0x00 "EMAC0_RMR,EMAC 0 Receive Mode Register"
bitfld.long 0x00 31. " SP   ,Strip Padding" "-,Strip"
bitfld.long 0x00 30. "             SFCS ,Strip FCS" "-,Strip"
bitfld.long 0x00 29. "             RRP  ,Receive Runt Packets" "Discarded,Received"
textline "                      "
bitfld.long 0x00 28. " RFP  ,Allow Receive Packets with a FCS Error" "Discarded,Received"
bitfld.long 0x00 27. "         ROP  ,Receive Oversize Packet" "Discarded,Received"
bitfld.long 0x00 26. "         RPIR ,Receive Packets with In Range Error" "Discarded,Received"
textline "                      "
bitfld.long 0x00 25. " PPP  ,Propagate Pause Packet" "-,Propagated"
bitfld.long 0x00 24. "        PME  ,Promiscuous Mode Enable" "-,Enabled"
bitfld.long 0x00 23. "           PMME ,Promiscuous Multicast Mode Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 22. " IAE  ,Individual Address Enable" "-,Enabled"
bitfld.long 0x00 21. "           MIAE ,Multiple Individual Address Enable" "-,Enabled"
bitfld.long 0x00 20. "           BAE  ,Broadcast Address Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 19. " MAE  ,Multicast Address Enable" "-,Enabled"
group 0x14++0x03
line.long 0x00 "EMAC0_ISR,EMAC 0 Interrupt Status Register"
eventfld.long 0x00 25. " OVR  ,Overrun" "-,Overrun"
eventfld.long 0x00 24. "           PP   ,Pause Packet" "-,Received"
eventfld.long 0x00 23. "          BP   ,Bad Packet" "-,Error"
textline "                      "
eventfld.long 0x00 22. " RP   ,Runt Packet" "-,Received"
eventfld.long 0x00 21. "          SE   ,Short Event" "-,Occurred"
eventfld.long 0x00 20. "          ALE  ,Alignment Error" "-,Error"
textline "                      "
eventfld.long 0x00 19. " BFCS ,Bad FCS" "-,Error"
eventfld.long 0x00 18. "             PTLE ,Packet Too Long Error" "-,Error"
eventfld.long 0x00 17. "             ORE  ,Out Of Range Error" "-,Error"
textline "                      "
eventfld.long 0x00 16. " IRE  ,In Range Error" "-,Error"
eventfld.long 0x00 9. "             DBDM ,Dead Bit Dependent Mode" "-,Error"
eventfld.long 0x00 8. "             DB   ,Dead Bit" "-,Error"
textline "                      "
eventfld.long 0x00 7. " SE0  ,Signal Quality Error" "-,Error"
eventfld.long 0x00 6. "             TE0  ,Transmit Error" "-,Error"
eventfld.long 0x00 5. "             DB1  ,Dead Bit 1" "-,Error"
textline "                      "
eventfld.long 0x00 4. " SE1  ,Signal Quality Error 1" "-,Error"
eventfld.long 0x00 3. "             TE1  ,Transmit Error 1" "-,Error"
eventfld.long 0x00 1. "             MOS  ,MMA Operation Succeeded" "-,Failed"
textline "                      "
eventfld.long 0x00 0. " MOF  ,MMA Operation Failed" "-,Failed"
group 0x18++0x03
line.long 0x00 "EMAC0_ISER,EMAC 0 Interrupt Status Enable Register"
bitfld.long 0x00 25. " OVR  ,Overrun" "-,Enabled"
bitfld.long 0x00 24. "           PP   ,Pause Packet" "-,Enabled"
bitfld.long 0x00 23. "           BP   ,Bad Packet" "-,Enabled"
textline "                      "
bitfld.long 0x00 22. " RP   ,Runt Packet" "-,Enabled"
bitfld.long 0x00 21. "           SE   ,Short Event" "-,Enabled"
bitfld.long 0x00 20. "           ALE  ,Alignment Error" "-,Enabled"
textline "                      "
bitfld.long 0x00 19. " BFCS ,Bad FCS" "-,Enabled"
bitfld.long 0x00 18. "           PTLE ,Packet Too Long Error" "-,Enabled"
bitfld.long 0x00 17. "           ORE  ,Out Of Range Error" "-,Enabled"
textline "                      "
bitfld.long 0x00 16. " IRE  ,In Range Error" "-,Enabled"
bitfld.long 0x00 9. "           DBDM ,Dead Bit Dependent Mode" "-,Enabled"
bitfld.long 0x00 8. "           DB0  ,Dead Bit 0" "-,Enabled"
textline "                      "
bitfld.long 0x00 7. " SE0  ,SQE Error" "-,Enabled"
bitfld.long 0x00 6. "           TE0  ,Transmit Error" "-,Enabled"
bitfld.long 0x00 5. "           DB1  ,Dead Bit 1" "-,Enabled"
textline "                      "
bitfld.long 0x00 4. " SE1  ,SQE Error 1" "-,Enabled"
bitfld.long 0x00 3. "           TE1  ,Transmit Error 1" "-,Enabled"
bitfld.long 0x00 1. "           MOS  ,MMA Operation Succeeded" "-,Enabled"
textline "                      "
bitfld.long 0x00 0. " MOF  ,MMA Operation Failed" "-,Enabled"
group 0x1c++0x03
line.long 0x00 "EMAC0_IAHR,EMAC 0 Individual Address High Register"
hexmask.long.word 0x00 0.--15. 1. " HO   ,Receive and Transmit High Order"
group 0x20--0x4f
line.long 0x00 "EMAC0_IALR,EMAC 0 Individual Address Low Register"
hexmask.long.word 0x00 0.--15. 1. " LO   ,Receive and Transmit Low Order"
line.long 0x04 "EMAC0_VTPID,EMAC 0 VLAN TPID Register"
hexmask.long.word 0x04 0.--15. 1. " VIDT ,VLAN ID Tag"
line.long 0x08 "EMAC0_VTCI,EMAC 0 VLAN TCI Register"
hexmask.long.word 0x08 0.--15. 1. " VTCI ,VLAN TCI Tag"
line.long 0x0C "EMAC0_PTR,EMAC 0 Pause Timer Register"
hexmask.long.word 0x0C 0.--15. 1. " TVF  ,Timer Value Field" 
line.long 0x10 "EMAC0_IAHT1,EMAC 0 Individual Address Hash Table 1 Register"
hexmask.long.word 0x10 0.--15. 1. " IAHN ,Individual Address Hash Number"
line.long 0x14 "EMAC0_IAHT2,EMAC 0 Individual Address Hash Table 2 Register"
hexmask.long.word 0x14 0.--15. 1. " IAHN ,Individual Address Hash Number"
line.long 0x18 "EMAC0_IAHT3,EMAC 0 Individual Address Hash Table 3 Register"
hexmask.long.word 0x18 0.--15. 1. " IAHN ,Individual Address Hash Number"
line.long 0x1C "EMAC0_IAHT4,EMAC 0 Individual Address Hash Table 4 Register"
hexmask.long.word 0x1C 0.--15. 1. " IAHN ,Individual Address Hash Number"
line.long 0x20 "EMAC0_GAHT1,EMAC 0 Group Address Hash Table 1 Register"
hexmask.long.word 0x20 0.--15. 1. " GAHN ,Group Address Hash Number"  
line.long 0x24 "EMAC0_GAHT2,EMAC 0 Group Address Hash Table 2 Register"
hexmask.long.word 0x24 0.--15. 1. " GAHN ,Group Address Hash Number"  
line.long 0x28 "EMAC0_GAHT3,EMAC 0 Group Address Hash Table 3 Register"
hexmask.long.word 0x28 0.--15. 1. " GAHN ,Group Address Hash Number"
line.long 0x2C "EMAC0_GAHT4,EMAC 0 Group Address Hash Table 4 Register"
hexmask.long.word 0x2C 0.--15. 1. " GAHN ,Group Address Hash Number"  
rgroup 0x50--0x57
line.long 0x00 "EMAC0_LSAH,EMAC 0 Last Source Address High Register"
hexmask.long.word 0x00 0.--15. 1. " LSA  ,Last Source Address High-Order Halfword"    
line.long 0x04 "EMAC0_LSAL,EMAC 0 Last Source Address Low Register"
hexmask.long.word 0x04 0.--15. 1. " LSA  ,Last Source Address Low-Order Word"   
group 0x58--0x67
line.long 0x00 "EMAC0_IPGVR,EMAC 0 Inter-Packet Gap Value Register"
hexmask.long.byte 0x00 0.--5. 1. " IFG  ,Inter-Packet Gap"
line.long 0x04 "EMAC0_STACR,EMAC 0 STA Control Register"
hexmask.long.byte 0x04 16.--31. 1. " PHYD ,PHY Data"
bitfld.long 0x04 15. "                OC   ,Operation Complete" "-,Completed"
bitfld.long 0x04 14. "         PHYE ,PHY Error" "-,Error"
textline "                      "
bitfld.long 0x04 12.--13. " STAC ,STA Command" "Reserved,Read,Write,Reserved"
bitfld.long 0x04 10.--11. "          OPBC ,OPB Bus Clock Frequency" "50MHz,66MHz,83MHz,100MHz"
hexmask.long.byte 0x04 5.--9. 1. "            PCDA ,PHY Command Destination Address" 
textline "                      "
hexmask.long.byte 0x04 0.--4. 1. " PRA  ,PHY Register Address" 
line.long 0x08 "EMAC0_TRTR,EMAC 0 Transmit Request Threshold Register"
bitfld.long 0x08 27.--31. " TRT  ,Transmit Request Threshold" "64,128,192,256,320,384,448,512,576,640,704,768,832,896,960,1024,1088,1152,1216,1280,1344,1408,1472,1536,1600,1664,1728,1792,1856,1920,1984,2048"
line.long 0x0C "EMAC0_RWMR,EMAC 0 Receive Low/High Water Mark Register"
hexmask.long.word 0x0C 23.--31. 1. " RLWM ,Receive Low Water Mark"
hexmask.long.word 0x0C  7.--15. 1. "              RHWM ,Receive High Water Mark"
rgroup 0x68--0x6f
line.long 0x00 "EMAC0_OCTX,EMAC 0 Number of Octets Transimitted Register"
line.long 0x04 "EMAC0_OCRX,EMAC 0 Number of Octets Received Register"

endif
tree.end
tree "EMAC 1"
sif (cpu()=="PPC440GRX")
width 18.
group dcr:0x000f++0x00
saveout dcr:0x000e %l (0x4301+(1*2.))
line.long 0x00 "SDR0_EMAC1RXST,EMAC1 RX Status Register"
bitfld.long 0x00 29. " FOR  ,RXFIFO Overrun" "-,Overrun"
bitfld.long 0x00 28. "      BC   ,Broadcast Address" "-,Received"
bitfld.long 0x00 27. "     MC    ,Multicast Address" "-,Received"
textline "                           "
bitfld.long 0x00 26. " UC   ,Unicast Address" "-,Received"
bitfld.long 0x00 23.--25. "     UPR  ,User Priority Field" "Priority 0,Priority 1,Priority 2,Priority 3,Priority 4,Priority 5,Priority 6,Priority 7"
bitfld.long 0x00 22. "   VLAN  ,RX VLAN Tagged Frame" "-,Received"
textline "                           "
bitfld.long 0x00 21. " LOOP ,Received in Loop-Back Mode" "-,Received"
bitfld.long 0x00 20. "     UOP  ,Rx Unsupported Opcode" "-,Received"
bitfld.long 0x00 19. "     CPF   ,RX Control Pause Frame" "-,Received"
textline "                           "
bitfld.long 0x00 18. " CF   ,RX Control Frame" "-,Received"
bitfld.long 0x00 17. "     MSIZ ,1024-Max Size Bytes Received" "-,Received"
bitfld.long 0x00 16. "     1023  ,512-1023 Bytes Received" "-,Received"
textline "                           "
bitfld.long 0x00 15. " 511  ,256-511 Bytes Received" "-,Received"
bitfld.long 0x00 14. "     255  ,128-255 Bytes Received" "-,Received"
bitfld.long 0x00 13. "     127   ,65-127 Bytes Received" "-,Received"
textline "                           "
bitfld.long 0x00 12. " 64   ,64 Bytes Received" "-,Received"
bitfld.long 0x00 11. "     RUNT ,Runt Frame" "-,Received"
bitfld.long 0x00 10. "     SEVT  ,Short Event" ",Occurred"
textline "                           "
bitfld.long 0x00 9. " AERR ,Alignment Error" "-,Error"
bitfld.long 0x00 8. "        SERR ,Received With Symbol Error" "-,Error"
bitfld.long 0x00 6. "        BURST ,Received Burst" "Carrier event<slot time,Carrier event>=slot time"
textline "                           "
bitfld.long 0x00 5. " FL2  ,Frame is too Long" "-,Too long"
bitfld.long 0x00 4. "     OERR ,Out of Range Length Error" "-,Error"
bitfld.long 0x00 3. "        IERR  ,In Range Length Error" "-,Error"
textline "                           "
bitfld.long 0x00 2. " LOST ,Frame Lost Due to Internal EMAC Receive Error" "-,Lost"
bitfld.long 0x00 1. "         BFCS ,Bad FCS in the Received Frame" "Correct,Incorrect"
bitfld.long 0x00 0. "    RXOK  ,Receive OK" "Correct,Incorrect"
group dcr:0x000f++0x00
saveout dcr:0x000e %l (0x4302+(1*2.))
line.long 0x00 "SDR0_EMAC1TXST,EMAC1 TX Status Register"
bitfld.long 0x00 25. " FUR  ,TXFIFO Underrun" "-,Underrun"
bitfld.long 0x00 24. "     BC   ,Broadcast Address" "-,Transmitted"
bitfld.long 0x00 23. "  MC    ,Multicast Address" "-,Transmitted"
textline "                           "
bitfld.long 0x00 22. " UC   ,Unicast Address" "-,Transmitted"
bitfld.long 0x00 21. "  FP   ,Frame Paused by Control Packet" "-,Paused"
bitfld.long 0x00 20. "       BFCS  ,Bad FCS in The Transmitted Frame" "Correct,Incorrect"
textline "                           "
bitfld.long 0x00 19. " CPF  ,TX Control Pause Frame" "-,Transmitted"
bitfld.long 0x00 18. "  CF   ,TX Control Frame" "-,Transmitted"
bitfld.long 0x00 17. "  MSIZ  ,1024-Maxsize Bytes Transmitted" "-,Transmitted"
textline "                           "
bitfld.long 0x00 16. " 1023 ,512-1023 Bytes Transmitted" "-,Transmitted"
bitfld.long 0x00 15. "  511  ,256-511 Bytes Transmitted" "-,Transmitted"
bitfld.long 0x00 14. "  255   ,128-255 Bytes Transmitted" "-,Transmitted"
textline "                           "
bitfld.long 0x00 13. " 127  ,65-127 Bytes Transmitted" "-,Transmitted"
bitfld.long 0x00 12. "  64   ,64 Bytes Transmitted" "-,Transmitted"
bitfld.long 0x00 11. "  SQE   ,SQE Indication" "-,Failed"
textline "                           "
bitfld.long 0x00 10. " LOC  ,Loss of Carrier Sense" "-,Lost"
bitfld.long 0x00 7. "         IERR ,EMAC Internal Error" "-,Error"
bitfld.long 0x00 6. "        EDF   ,Excessive Deferral" "-,Deferred"
textline "                           "
bitfld.long 0x00 5. " ECOL ,Excessive Collisions" "-,Collided"
bitfld.long 0x00 4. "     LCOL ,Late Collision" "-,Collided"
bitfld.long 0x00 3. "     DFFR  ,Deferred Frame" "-,Deferred"
textline "                           "
bitfld.long 0x00 2. " MCOL ,Multiple Collision Frame" "-,Collided"
bitfld.long 0x00 1. "     SCOL ,Single Collision Frame" "-,Collided"
bitfld.long 0x00 0. "     TXOK  ,Transmit OK" "Incorrect,Correct"
rgroup dcr:0x000f++0x00
saveout dcr:0x000e %l (0x4305+(1*1.))
line.long 0x00 "SDR0_EMAC1REJCNT,EMAC1 RX Packet Reject Counter Register"
width 13.
base ANC:0x1:0xEF600F00
group 0x00++0x03
line.long 0x00 "EMAC1_MR0,EMAC 1 Mode Register 0"
bitfld.long 0x00 31. " RXI  ,Receive MAC Idle" "Processing,Idle"
bitfld.long 0x00 30. "        TXI  ,Transmit MAC Idle" "Processing,Idle"
bitfld.long 0x00 29. "  SRST ,EMAC Software Reset" "-,Reset"
textline "                      "
bitfld.long 0x00 28. " TXE  ,Transmit MAC Enable" "-,Enabled"
bitfld.long 0x00 27. "           RXE  ,Receive MAC Enable" "-,Enabled"
bitfld.long 0x00 26. "     WKE  ,Wake-Up Enable" "-,Enabled"
group 0x04++0x03
line.long 0x00 "EMAC1_MR1,EMAC 1 Mode Register 1"
bitfld.long 0x00 31. " FDE  ,Full-Duplex Enable" "-,Enabled"
bitfld.long 0x00 30. "           ILE  ,Internal Loop-back Enable" "-,Enabled"
bitfld.long 0x00 29. "     VLE  ,VLAN Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 28. " EIFC ,Enable Integrated Flow Control" "-,Enabled"
bitfld.long 0x00 27. "           APP  ,Allow Pause Packet" "-,Enabled"
bitfld.long 0x00 24. "     IST  ,Ignore SQE test" "-,Ignored"
textline "                      "
bitfld.long 0x00 22.--23. " MF   ,Medium Frequency" "10 Mbps,100 Mbps,1000 Mbps wo/GPCS,1000 Mbps w/GPCS"
bitfld.long 0x00 19.--21. " RFS  ,Receive (RX) FIFO Size" "512 bytes,1 KB,2 KB,4 KB,8 KB,16 KB,Reserved,Reserved"
bitfld.long 0x00 16.--18. "   TFS  ,Transmit (TX) FIFO Size" "512 bytes,1 KB,2 KB,4 KB,8 KB,16 KB,Reserved,Reserved"
textline "                      "
bitfld.long 0x00 15. " TR   ,Transmit Request" "Single,Multiple"
bitfld.long 0x00 12.--14. "          MWSW ,Maximum Waiting Status Words" "Not sent,Sent,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 11. "    JPSM ,Jumbo Packet Support Mode" "-,Enabled"
textline "                      "
bitfld.long 0x00 6.--10. " IPPA ,Internal PCS PHY Address" "00000,00001,00010,00011,00100,00101,00110,00111,01000,01001,01010,01011,01100,01101,01110,01111,10000,10001,10010,10011,10100,10101,10110,10111,11000,11001,11010,11011,11100,11101,11110,11111"
bitfld.long 0x00 3.--5. "             OBCI ,OPB Bus Clock Indication" "50 MHz,66 MHZ,83 MHz,100 MHz,> 100 MHz,Reserved,Reserved,Reserved"
group 0x08++0x03
line.long 0x00 "EMAC1_TMR0,EMAC 1 Transmit Mode Register 0"
bitfld.long 0x00 31. " GNP  ,Get New Packet" "-,Ready"
bitfld.long 0x00 0.--2. "             TFAE ,TX FIFO Almost Empty (entries limit / limit in PHY clock cycles)" "Reserved,2/32,4/64,8/128,16/256,32/512,64/1024,128/2048"
group 0x0c++0x03
line.long 0x00 "EMAC1_TMR1,EMAC 1 Transmit Mode Register 1"
hexmask.long.byte 0x00 27.--31. 1. " TLR  ,Transmit Low Request"
hexmask.long.word 0x00 14.--23. 1. "                TUR  ,Transmit Urgent Request"
group 0x10++0x03
line.long 0x00 "EMAC1_RMR,EMAC 1 Receive Mode Register"
bitfld.long 0x00 31. " SP   ,Strip Padding" "-,Strip"
bitfld.long 0x00 30. "             SFCS ,Strip FCS" "-,Strip"
bitfld.long 0x00 29. "       RRP  ,Receive Runt Packets" "Discarded,Received"
textline "                      "
bitfld.long 0x00 28. " RFP  ,Allow Receive Packets with a FCS Error" "Discarded,Received"
bitfld.long 0x00 27. "         ROP  ,Receive Oversize Packet" "Discarded,Received"
bitfld.long 0x00 26. "   RPIR ,Receive Packets with In Range Error" "Discarded,Received"
textline "                      "
bitfld.long 0x00 25. " PPP  ,Propagate Pause Packet" "-,Propagated"
bitfld.long 0x00 24. "        PME  ,Promiscuous Mode Enable" "-,Enabled"
bitfld.long 0x00 23. "     PMME ,Promiscuous Multicast Mode Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 22. " IAE  ,Individual Address Enable" "-,Enabled"
bitfld.long 0x00 21. "           MIAE ,Multiple Individual Address Enable" "-,Enabled"
bitfld.long 0x00 20. "     BAE  ,Broadcast Address Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 19. " MAE  ,Multicast Address Enable" "-,Enabled"
bitfld.long 0x00 0.--2. "           RFAF ,RX FIFO Almost Full (entries limit / limit in PHY clock cycles)" "Reserved,2/32,4/64,8/128,16/256,32/512,64/1024,128/2048"
group 0x14++0x03
line.long 0x00 "EMAC1_ISR,EMAC 1 Interrupt Status Register"
eventfld.long 0x00 29. " TXPE ,TX Parity Error" "-,Interrupt"
eventfld.long 0x00 28. "         RXPE ,RX Parity Error" "-,Interrupt"
eventfld.long 0x00 27. "   TXUE ,TX Underrun Event" "-,Interrupt"
textline "                      "
eventfld.long 0x00 26. " RXOE ,RX Overrun Event" "-,Interrupt"
eventfld.long 0x00 25. "         OVR  ,Overrun" "-,Interrupt"
eventfld.long 0x00 24. "   PP   ,Pause Packet" "-,Interrupt"
textline "                      "
eventfld.long 0x00 23. " BP   ,Bad Packet" "-,Interrupt"
eventfld.long 0x00 22. "         RP   ,Runt Packet" "-,Interrupt"
eventfld.long 0x00 21. "   SE   ,Short Event" "-,Interrupt"
textline "                      "
eventfld.long 0x00 20. " ALE  ,Alignment Error" "-,Interrupt"
eventfld.long 0x00 19. "         BFCS ,Bad FCS" "-,Interrupt"
eventfld.long 0x00 18. "   PTLE ,Packet Too Long Error" "-,Interrupt"
textline "                      "
eventfld.long 0x00 17. " ORE  ,Out Of Range Error" "-,Interrupt"
eventfld.long 0x00 16. "         IRE  ,In Range Error" "-,Interrupt"
eventfld.long 0x00 8. "   DB   ,Dead Bit" "-,Interrupt"
textline "                      "
eventfld.long 0x00 7. " SE0  ,Signal Quality Error" "-,Interrupt"
eventfld.long 0x00 6. "         TE0  ,Transmit Error" "-,Interrupt"
eventfld.long 0x00 1. "   MOS  ,MMA Operation Succeeded" "-,Interrupt"
textline "                      "
eventfld.long 0x00 0. " MOF  ,MMA Operation Failed" "-,Interrupt"
group 0x18++0x03
line.long 0x00 "EMAC1_ISER,EMAC 1 Interrupt Status Enable Register"
bitfld.long 0x00 29. " TXPE ,TX Parity Error" "-,Enabled"
bitfld.long 0x00 28. "           RXPE ,RX Parity Error" "-,Enabled"
bitfld.long 0x00 27. "     TXUE ,TX Underrun Event" "-,Enabled"
textline "                      "
bitfld.long 0x00 26. " RXOE ,RX Overrun Event" "-,Enabled"
bitfld.long 0x00 25. "           OVR  ,Overrun" "-,Enabled"
bitfld.long 0x00 24. "     PP   ,Pause Packet" "-,Enabled"
textline "                      "
bitfld.long 0x00 23. " BP   ,Bad Packet" "-,Enabled"
bitfld.long 0x00 22. "           RP   ,Runt Packet" "-,Enabled"
bitfld.long 0x00 21. "     SE   ,Short Event" "-,Enabled"
textline "                      "
bitfld.long 0x00 20. " ALE  ,Alignment Error" "-,Enabled"
bitfld.long 0x00 19. "           BFCS ,Bad FCS" "-,Enabled"
bitfld.long 0x00 18. "     PTLE ,Packet Too Long Error" "-,Enabled"
textline "                      "
bitfld.long 0x00 17. " ORE  ,Out Of Range Error" "-,Enabled"
bitfld.long 0x00 16. "           IRE  ,In Range Error" "-,Enabled"
bitfld.long 0x00 7. "     SQE  ,SQE Error" "-,Enabled"
textline "                      "
bitfld.long 0x00 6. " TXE  ,Transmit Error" "-,Enabled"
bitfld.long 0x00 1. "           MOS  ,MMA Operation Succeeded" "-,Enabled"
bitfld.long 0x00 0. "     MOF  ,MMA Operation Failed" "-,Enabled"
group 0x1c++0x03
line.long 0x00 "EMAC1_IAHR,EMAC 1 Individual Address High Register"
hexmask.long.word 0x00 0.--15. 1. " HO     ,Receive and Transmit High Order"
group 0x20--0x4f
line.long 0x00 "EMAC1_IALR,EMAC 1 Individual Address Low Register"
hexmask.long 0x00 0.--31. 1. " LO     ,Receive and Transmit Low Order"
line.long 0x04 "EMAC1_VTPID,EMAC 1 VLAN TPID Register"
hexmask.long.word 0x04 0.--15. 1. " VIDT   ,VLAN ID Tag"
line.long 0x08 "EMAC1_VTCI,EMAC 1 VLAN TCI Register"
hexmask.long.word 0x08 0.--15. 1. " VTCI   ,VLAN TCI Tag"
line.long 0x0C "EMAC1_PTR,EMAC 1 Pause Timer Register"
hexmask.long.word 0x0C 0.--15. 1. " TVF    ,Timer Value Field" 
line.long 0x10 "EMAC1_IAHT1,EMAC 1 Individual Address Hash Table 1 Register"
hexmask.long.word 0x10 0.--15. 1. " IAHN   ,Individual Address Hash Number"
line.long 0x14 "EMAC1_IAHT2,EMAC 1 Individual Address Hash Table 2 Register"
hexmask.long.word 0x14 0.--15. 1. " IAHN   ,Individual Address Hash Number"
line.long 0x18 "EMAC1_IAHT3,EMAC 1 Individual Address Hash Table 3 Register"
hexmask.long.word 0x18 0.--15. 1. " IAHN   ,Individual Address Hash Number"
line.long 0x1C "EMAC1_IAHT4,EMAC 1 Individual Address Hash Table 4 Register"
hexmask.long.word 0x1C 0.--15. 1. " IAHN   ,Individual Address Hash Number"
line.long 0x20 "EMAC1_GAHT1,EMAC 1 Group Address Hash Table 1 Register"
hexmask.long.word 0x20 0.--15. 1. " GAHN   ,Group Address Hash Number"  
line.long 0x24 "EMAC1_GAHT2,EMAC 1 Group Address Hash Table 2 Register"
hexmask.long.word 0x24 0.--15. 1. " GAHN   ,Group Address Hash Number"  
line.long 0x28 "EMAC1_GAHT3,EMAC 1 Group Address Hash Table 3 Register"
hexmask.long.word 0x28 0.--15. 1. " GAHN   ,Group Address Hash Number"
line.long 0x2C "EMAC1_GAHT4,EMAC 1 Group Address Hash Table 4 Register"
hexmask.long.word 0x2C 0.--15. 1. " GAHN   ,Group Address Hash Number"  
rgroup 0x50--0x57
line.long 0x00 "EMAC1_LSAH,EMAC 1 Last Source Address High Register"
hexmask.long.word 0x00 0.--15. 1. " LSAHW  ,Last Source Address High-Order Halfword"    
line.long 0x04 "EMAC1_LSAL,EMAC 1 Last Source Address Low Register"
hexmask.long 0x04 0.--31. 1. " LSALW  ,Last Source Address Low-Order Word"   
group 0x58++0x03
line.long 0x00 "EMAC1_IPGVR,EMAC 1 Inter-Packet Gap Value Register"
hexmask.long.byte 0x00 0.--5. 1. " IFG    ,Inter-Packet Gap"
if (((data.long(asd:(0x1:0xEF600F00+0x5C)))&0x2000)==0x2000)
group 0x5c++0x03
line.long 0x00 "EMAC1_STACR,EMAC 1 STA Control Register"
hexmask.long.word 0x00 16.--31. 1. " PHYD   ,PHY Data"
bitfld.long 0x00 15. "      OC     ,MMA Go Bit/Operation Complete" "Completed,Started"
bitfld.long 0x00 14. "  PHYE  ,PHY Error" "-,Error"
textline "                      "
bitfld.long 0x00 13. " IMS    ,Indirect Mode Selection" "Indirect,MIO/MDIO"
bitfld.long 0x00 11.--12. "  STAOPC ,STA Opcode" "Address,Write,Read,Reserved"
bitfld.long 0x00 5.--9. "         PADR  ,PHY Command Destination Address" "00000,00001,00010,00011,00100,00101,00110,00111,01000,01001,01010,01011,01100,01101,01110,01111,10000,10001,10010,10011,10100,10101,10110,10111,11000,11001,11010,11011,11100,11101,11110,11111"
textline "                      "
bitfld.long 0x00 0.--4. " DEVADR ,PHY Register Address" "00000,00001,00010,00011,00100,00101,00110,00111,01000,01001,01010,01011,01100,01101,01110,01111,10000,10001,10010,10011,10100,10101,10110,10111,11000,11001,11010,11011,11100,11101,11110,11111"
else
group 0x5c++0x03
line.long 0x00 "EMAC1_STACR,EMAC 1 STA Control Register"
hexmask.long.word 0x00 16.--31. 1. " PHYD   ,PHY Data"
bitfld.long 0x00 15. "      OC     ,MMA Go Bit/Operation Complete" "Completed,Started"
bitfld.long 0x00 14. "  PHYE  ,PHY Error" "-,Error"
textline "                      "
bitfld.long 0x00 13. " IMS    ,Indirect Mode Selection" "Indirect,MIO/MDIO"
bitfld.long 0x00 11.--12. "  STAOPC ,STA Opcode" "Reserved,Write,Read,Reserved"
bitfld.long 0x00 5.--9. "   PADR  ,PHY Command Destination Address" "00000,00001,00010,00011,00100,00101,00110,00111,01000,01001,01010,01011,01100,01101,01110,01111,10000,10001,10010,10011,10100,10101,10110,10111,11000,11001,11010,11011,11100,11101,11110,11111"
textline "                      "
bitfld.long 0x00 0.--4. " DEVADR ,PHY Register Address" "00000,00001,00010,00011,00100,00101,00110,00111,01000,01001,01010,01011,01100,01101,01110,01111,10000,10001,10010,10011,10100,10101,10110,10111,11000,11001,11010,11011,11100,11101,11110,11111"
endif
group 0x60++0x03
line.long 0x00 "EMAC1_TRTR,EMAC 1 Transmit Request Threshold Register"
hexmask.long.byte 0x00 24.--31. 1. " TRT    ,Transmit Request Threshold"
group 0x64++0x03
line.long 0x00 "EMAC1_RWMR,EMAC 1 Receive Low/High Water Mark Register"
hexmask.long.word 0x00 22.--31. 1. " RLWM   ,Receive Low Water Mark"
hexmask.long.word 0x00 6.--15. 1. "      RHWM   ,Receive High Water Mark"
rgroup 0x68--0x6f
line.long 0x00 "EMAC1_OCTX,EMAC 1 Number of Octets Transimitted Register"
line.long 0x04 "EMAC1_OCRX,EMAC 1 Number of Octets Received Register"
group 0x70++0x03
line.long 0x00 "EMAC1_IPCR,Internal PCS Configuration Register"
hexmask.long 0x00 10.--31. 1. " OUI    ,OUI Value"
hexmask.long.byte 0x00 4.--9. 1. "  MMN    ,Manufacturer Model Number"
bitfld.long 0x00 0.--3. "         REVID ,Revision Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"

elif (cpu()=="PPC440EPX")
width 18.
group dcr:0x000f++0x00
saveout dcr:0x000e %l (0x4301+(1*2.))
line.long 0x00 "SDR0_EMAC1RXST,EMAC1 RX Status Register"
bitfld.long 0x00 29. " FOR  ,RXFIFO Overrun" "-,Overrun"
bitfld.long 0x00 28. "      BC   ,Broadcast Address" "-,Received"
bitfld.long 0x00 27. "     MC    ,Multicast Address" "-,Received"
textline "                           "
bitfld.long 0x00 26. " UC   ,Unicast Address" "-,Received"
bitfld.long 0x00 23.--25. "     UPR  ,User Priority Field" "Priority 0,Priority 1,Priority 2,Priority 3,Priority 4,Priority 5,Priority 6,Priority 7"
bitfld.long 0x00 22. "   VLAN  ,RX VLAN Tagged Frame" "-,Received"
textline "                           "
bitfld.long 0x00 21. " LOOP ,Received in Loop-Back Mode" "-,Received"
bitfld.long 0x00 20. "     UOP  ,Rx Unsupported Opcode" "-,Received"
bitfld.long 0x00 19. "     CPF   ,RX Control Pause Frame" "-,Received"
textline "                           "
bitfld.long 0x00 18. " CF   ,RX Control Frame" "-,Received"
bitfld.long 0x00 17. "     MSIZ ,1024-Max Size Bytes Received" "-,Received"
bitfld.long 0x00 16. "     1023  ,512-1023 Bytes Received" "-,Received"
textline "                           "
bitfld.long 0x00 15. " 511  ,256-511 Bytes Received" "-,Received"
bitfld.long 0x00 14. "     255  ,128-255 Bytes Received" "-,Received"
bitfld.long 0x00 13. "     127   ,65-127 Bytes Received" "-,Received"
textline "                           "
bitfld.long 0x00 12. " 64   ,64 Bytes Received" "-,Received"
bitfld.long 0x00 11. "     RUNT ,Runt Frame" "-,Received"
bitfld.long 0x00 10. "     SEVT  ,Short Event" ",Occurred"
textline "                           "
bitfld.long 0x00 9. " AERR ,Alignment Error" "-,Error"
bitfld.long 0x00 8. "        SERR ,Received With Symbol Error" "-,Error"
bitfld.long 0x00 6. "        BURST ,Received Burst" "Carrier event<slot time,Carrier event>=slot time"
textline "                           "
bitfld.long 0x00 5. " F2L  ,Frame is too Long" "-,Too long"
bitfld.long 0x00 4. "     OERR ,Out of Range Length Error" "-,Error"
bitfld.long 0x00 3. "        IERR  ,In Range Length Error" "-,Error"
textline "                           "
bitfld.long 0x00 2. " LOST ,Frame Lost Due to Internal EMAC Receive Error" "-,Lost"
bitfld.long 0x00 1. "         BFCS ,Bad FCS in the Received Frame" "Correct,Incorrect"
bitfld.long 0x00 0. "    RXOK  ,Receive OK" "Correct,Incorrect"
group dcr:0x000f++0x00
saveout dcr:0x000e %l (0x4302+(1*2.))
line.long 0x00 "SDR0_EMAC1TXST,EMAC1 TX Status Register"
bitfld.long 0x00 25. " FUR  ,TXFIFO Underrun" "-,Underrun"
bitfld.long 0x00 24. "     BC   ,Broadcast Address" "-,Transmitted"
bitfld.long 0x00 23. "  MC    ,Multicast Address" "-,Transmitted"
textline "                           "
bitfld.long 0x00 22. " UC   ,Unicast Address" "-,Transmitted"
bitfld.long 0x00 21. "  FP   ,Frame Paused by Control Packet" "-,Paused"
bitfld.long 0x00 20. "       BFCS  ,Bad FCS in The Transmitted Frame" "Correct,Incorrect"
textline "                           "
bitfld.long 0x00 19. " CPF  ,TX Control Pause Frame" "-,Transmitted"
bitfld.long 0x00 18. "  CF   ,TX Control Frame" "-,Transmitted"
bitfld.long 0x00 17. "  MSIZ  ,1024-Maxsize Bytes Transmitted" "-,Transmitted"
textline "                           "
bitfld.long 0x00 16. " 1023 ,512-1023 Bytes Transmitted" "-,Transmitted"
bitfld.long 0x00 15. "  511  ,256-511 Bytes Transmitted" "-,Transmitted"
bitfld.long 0x00 14. "  255   ,128-255 Bytes Transmitted" "-,Transmitted"
textline "                           "
bitfld.long 0x00 13. " 127  ,65-127 Bytes Transmitted" "-,Transmitted"
bitfld.long 0x00 12. "  64   ,64 Bytes Transmitted" "-,Transmitted"
bitfld.long 0x00 11. "  SQE   ,SQE Indication" "-,Failed"
textline "                           "
bitfld.long 0x00 10. " LOC  ,Loss of Carrier Sense" "-,Lost"
bitfld.long 0x00 7. "         IERR ,EMAC Internal Error" "-,Error"
bitfld.long 0x00 6. "        EDF   ,Excessive Deferral" "-,Deferred"
textline "                           "
bitfld.long 0x00 5. " ECOL ,Excessive Collisions" "-,Collided"
bitfld.long 0x00 4. "     LCOL ,Late Collision" "-,Collided"
bitfld.long 0x00 3. "     DFFR  ,Deferred Frame" "-,Deferred"
textline "                           "
bitfld.long 0x00 2. " MCOL ,Multiple Collision Frame" "-,Collided"
bitfld.long 0x00 1. "     SCOL ,Single Collision Frame" "-,Collided"
bitfld.long 0x00 0. "     TXOK  ,Transmit OK" "Incorrect,Correct"
rgroup dcr:0x000f++0x00
saveout dcr:0x000e %l (0x4305+(1*1.))
line.long 0x00 "SDR0_EMAC1REJCNT,EMAC1 RX Packet Reject Counter Register"
width 13.
base ANC:0x1:0xEF600F00
group 0x00++0x03
line.long 0x00 "EMAC1_MR0,EMAC 1 Mode Register 0"
bitfld.long 0x00 31. " RXI  ,Receive MAC Idle" "Processing,Idle"
bitfld.long 0x00 30. "        TXI  ,Transmit MAC Idle" "Processing,Idle"
bitfld.long 0x00 29. "  SRST ,EMAC Software Reset" "-,Reset"
textline "                      "
bitfld.long 0x00 28. " TXE  ,Transmit MAC Enable" "-,Enabled"
bitfld.long 0x00 27. "           RXE  ,Receive MAC Enable" "-,Enabled"
bitfld.long 0x00 26. "     WKE  ,Wake-Up Enable" "-,Enabled"
group 0x04++0x03
line.long 0x00 "EMAC1_MR1,EMAC 1 Mode Register 1"
bitfld.long 0x00 31. " FDE  ,Full-Duplex Enable" "-,Enabled"
bitfld.long 0x00 30. "           ILE  ,Internal Loop-back Enable" "-,Enabled"
bitfld.long 0x00 29. "     VLE  ,VLAN Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 28. " EIFC ,Enable Integrated Flow Control" "-,Enabled"
bitfld.long 0x00 27. "           APP  ,Allow Pause Packet" "-,Enabled"
bitfld.long 0x00 24. "     IST  ,Ignore SQE test" "-,Ignored"
textline "                      "
bitfld.long 0x00 22.--23. " MF   ,Medium Frequency" "10 Mbps,100 Mbps,1000 Mbps wo/GPCS,1000 Mbps w/GPCS"
bitfld.long 0x00 19.--21. " RFS  ,Receive (RX) FIFO Size" "512 bytes,1 KB,2 KB,4 KB,8 KB,16 KB,Reserved,Reserved"
bitfld.long 0x00 16.--18. "   TFS  ,Transmit (TX) FIFO Size" "512 bytes,1 KB,2 KB,4 KB,8 KB,16 KB,Reserved,Reserved"
textline "                      "
bitfld.long 0x00 15. " TR   ,Transmit Request" "Single,Multiple"
bitfld.long 0x00 12.--14. "          MWSW ,Maximum Waiting Status Words" "Not sent,Sent,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 11. "    JPSM ,Jumbo Packet Support Mode" "-,Enabled"
textline "                      "
bitfld.long 0x00 6.--10. " IPPA ,Internal PCS PHY Address" "00000,00001,00010,00011,00100,00101,00110,00111,01000,01001,01010,01011,01100,01101,01110,01111,10000,10001,10010,10011,10100,10101,10110,10111,11000,11001,11010,11011,11100,11101,11110,11111"
bitfld.long 0x00 3.--5. "             OBCI ,OPB Bus Clock Indication" "50 MHz,66 MHZ,83 MHz,100 MHz,> 100 MHz,Reserved,Reserved,Reserved"
group 0x08++0x03
line.long 0x00 "EMAC1_TMR0,EMAC 1 Transmit Mode Register 0"
bitfld.long 0x00 31. " GNP  ,Get New Packet" "-,Ready"
bitfld.long 0x00 0.--2. "             TFAE ,TX FIFO Almost Empty (entries limit / limit in PHY clock cycles)" "Reserved,2/32,4/64,8/128,16/256,32/512,64/1024,128/2048"
group 0x0c++0x03
line.long 0x00 "EMAC1_TMR1,EMAC 1 Transmit Mode Register 1"
hexmask.long.byte 0x00 27.--31. 1. " TLR  ,Transmit Low Request"
hexmask.long.word 0x00 14.--23. 1. "                TUR  ,Transmit Urgent Request"
group 0x10++0x03
line.long 0x00 "EMAC1_RMR,EMAC 1 Receive Mode Register"
bitfld.long 0x00 31. " SP   ,Strip Padding" "-,Strip"
bitfld.long 0x00 30. "             SFCS ,Strip FCS" "-,Strip"
bitfld.long 0x00 29. "       RRP  ,Receive Runt Packets" "Discarded,Received"
textline "                      "
bitfld.long 0x00 28. " RFP  ,Allow Receive Packets with a FCS Error" "Discarded,Received"
bitfld.long 0x00 27. "         ROP  ,Receive Oversize Packet" "Discarded,Received"
bitfld.long 0x00 26. "   RPIR ,Receive Packets with In Range Error" "Discarded,Received"
textline "                      "
bitfld.long 0x00 25. " PPP  ,Propagate Pause Packet" "-,Propagated"
bitfld.long 0x00 24. "        PME  ,Promiscuous Mode Enable" "-,Enabled"
bitfld.long 0x00 23. "     PMME ,Promiscuous Multicast Mode Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 22. " IAE  ,Individual Address Enable" "-,Enabled"
bitfld.long 0x00 21. "           MIAE ,Multiple Individual Address Enable" "-,Enabled"
bitfld.long 0x00 20. "     BAE  ,Broadcast Address Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 19. " MAE  ,Multicast Address Enable" "-,Enabled"
bitfld.long 0x00 0.--2. "           RFAF ,RX FIFO Almost Full (entries limit / limit in PHY clock cycles)" "Reserved,2/32,4/64,8/128,16/256,32/512,64/1024,128/2048"
group 0x14++0x03
line.long 0x00 "EMAC1_ISR,EMAC 1 Interrupt Status Register"
eventfld.long 0x00 29. " TXPE ,TX Parity Error" "-,Interrupt"
eventfld.long 0x00 28. "         RXPE ,RX Parity Error" "-,Interrupt"
eventfld.long 0x00 27. "   TXUE ,TX Underrun Event" "-,Interrupt"
textline "                      "
eventfld.long 0x00 26. " RXOE ,RX Overrun Event" "-,Interrupt"
eventfld.long 0x00 25. "         OVR  ,Overrun" "-,Interrupt"
eventfld.long 0x00 24. "   PP   ,Pause Packet" "-,Interrupt"
textline "                      "
eventfld.long 0x00 23. " BP   ,Bad Packet" "-,Interrupt"
eventfld.long 0x00 22. "         RP   ,Runt Packet" "-,Interrupt"
eventfld.long 0x00 21. "   SE   ,Short Event" "-,Interrupt"
textline "                      "
eventfld.long 0x00 20. " ALE  ,Alignment Error" "-,Interrupt"
eventfld.long 0x00 19. "         BFCS ,Bad FCS" "-,Interrupt"
eventfld.long 0x00 18. "   PTLE ,Packet Too Long Error" "-,Interrupt"
textline "                      "
eventfld.long 0x00 17. " ORE  ,Out Of Range Error" "-,Interrupt"
eventfld.long 0x00 16. "         IRE  ,In Range Error" "-,Interrupt"
eventfld.long 0x00 8. "   DB   ,Dead Bit" "-,Interrupt"
textline "                      "
eventfld.long 0x00 7. " SE0  ,Signal Quality Error" "-,Interrupt"
eventfld.long 0x00 6. "         TE0  ,Transmit Error" "-,Interrupt"
eventfld.long 0x00 1. "   MOS  ,MMA Operation Succeeded" "-,Interrupt"
textline "                      "
eventfld.long 0x00 0. " MOF  ,MMA Operation Failed" "-,Interrupt"
group 0x18++0x03
line.long 0x00 "EMAC1_ISER,EMAC 1 Interrupt Status Enable Register"
bitfld.long 0x00 29. " TXPE ,TX Parity Error" "-,Enabled"
bitfld.long 0x00 28. "           RXPE ,RX Parity Error" "-,Enabled"
bitfld.long 0x00 27. "     TXUE ,TX Underrun Event" "-,Enabled"
textline "                      "
bitfld.long 0x00 26. " RXOE ,RX Overrun Event" "-,Enabled"
bitfld.long 0x00 25. "           OVR  ,Overrun" "-,Enabled"
bitfld.long 0x00 24. "     PP   ,Pause Packet" "-,Enabled"
textline "                      "
bitfld.long 0x00 23. " BP   ,Bad Packet" "-,Enabled"
bitfld.long 0x00 22. "           RP   ,Runt Packet" "-,Enabled"
bitfld.long 0x00 21. "     SE   ,Short Event" "-,Enabled"
textline "                      "
bitfld.long 0x00 20. " ALE  ,Alignment Error" "-,Enabled"
bitfld.long 0x00 19. "           BFCS ,Bad FCS" "-,Enabled"
bitfld.long 0x00 18. "     PTLE ,Packet Too Long Error" "-,Enabled"
textline "                      "
bitfld.long 0x00 17. " ORE  ,Out Of Range Error" "-,Enabled"
bitfld.long 0x00 16. "           IRE  ,In Range Error" "-,Enabled"
bitfld.long 0x00 7. "     SQE  ,SQE Error" "-,Enabled"
textline "                      "
bitfld.long 0x00 6. " TXE  ,Transmit Error" "-,Enabled"
bitfld.long 0x00 1. "           MOS  ,MMA Operation Succeeded" "-,Enabled"
bitfld.long 0x00 0. "     MOF  ,MMA Operation Failed" "-,Enabled"
group 0x1c++0x03
line.long 0x00 "EMAC1_IAHR,EMAC 1 Individual Address High Register"
hexmask.long.word 0x00 0.--15. 1. " HO     ,Receive and Transmit High Order"
group 0x20--0x4f
line.long 0x00 "EMAC1_IALR,EMAC 1 Individual Address Low Register"
hexmask.long 0x00 0.--31. 1. " LO     ,Receive and Transmit Low Order"
line.long 0x04 "EMAC1_VTPID,EMAC 1 VLAN TPID Register"
hexmask.long.word 0x04 0.--15. 1. " VIDT   ,VLAN ID Tag"
line.long 0x08 "EMAC1_VTCI,EMAC 1 VLAN TCI Register"
hexmask.long.word 0x08 0.--15. 1. " VTCI   ,VLAN TCI Tag"
line.long 0x0C "EMAC1_PTR,EMAC 1 Pause Timer Register"
hexmask.long.word 0x0C 0.--15. 1. " TVF    ,Timer Value Field" 
line.long 0x10 "EMAC1_IAHT1,EMAC 1 Individual Address Hash Table 1 Register"
hexmask.long.word 0x10 0.--15. 1. " IAHN   ,Individual Address Hash Number"
line.long 0x14 "EMAC1_IAHT2,EMAC 1 Individual Address Hash Table 2 Register"
hexmask.long.word 0x14 0.--15. 1. " IAHN   ,Individual Address Hash Number"
line.long 0x18 "EMAC1_IAHT3,EMAC 1 Individual Address Hash Table 3 Register"
hexmask.long.word 0x18 0.--15. 1. " IAHN   ,Individual Address Hash Number"
line.long 0x1C "EMAC1_IAHT4,EMAC 1 Individual Address Hash Table 4 Register"
hexmask.long.word 0x1C 0.--15. 1. " IAHN   ,Individual Address Hash Number"
line.long 0x20 "EMAC1_GAHT1,EMAC 1 Group Address Hash Table 1 Register"
hexmask.long.word 0x20 0.--15. 1. " GAHN   ,Group Address Hash Number"  
line.long 0x24 "EMAC1_GAHT2,EMAC 1 Group Address Hash Table 2 Register"
hexmask.long.word 0x24 0.--15. 1. " GAHN   ,Group Address Hash Number"  
line.long 0x28 "EMAC1_GAHT3,EMAC 1 Group Address Hash Table 3 Register"
hexmask.long.word 0x28 0.--15. 1. " GAHN   ,Group Address Hash Number"
line.long 0x2C "EMAC1_GAHT4,EMAC 1 Group Address Hash Table 4 Register"
hexmask.long.word 0x2C 0.--15. 1. " GAHN   ,Group Address Hash Number"  
rgroup 0x50--0x57
line.long 0x00 "EMAC1_LSAH,EMAC 1 Last Source Address High Register"
hexmask.long.word 0x00 0.--15. 1. " LSAHHW ,Last Source Address High-Order Halfword"    
line.long 0x04 "EMAC1_LSAL,EMAC 1 Last Source Address Low Register"
hexmask.long 0x04 0.--31. 1. " LSALW  ,Last Source Address Low-Order Word"   
group 0x58++0x03
line.long 0x00 "EMAC1_IPGVR,EMAC 1 Inter-Packet Gap Value Register"
hexmask.long.byte 0x00 0.--5. 1. " IPG    ,Inter-Packet Gap"
group 0x5c++0x03
line.long 0x00 "EMAC1_STACR,EMAC 1 STA Control Register"
hexmask.long.word 0x00 16.--31. 1. " PHYD   ,PHY Data"
bitfld.long 0x00 15. "      OC     ,MMA Go Bit/Operation Complete" "Completed,Started"
bitfld.long 0x00 14. "  PHYE  ,PHY Error" "-,Error"
textline "                      "
bitfld.long 0x00 13. " IMS    ,Indirect Mode Selection" "Indirect,MIO/MDIO"
bitfld.long 0x00 11.--12. "  STAOPC ,STA Opcode" "00,01,10,11"
bitfld.long 0x00 5.--9. "         PADR  ,PHY Command Destination Address" "00000,00001,00010,00011,00100,00101,00110,00111,01000,01001,01010,01011,01100,01101,01110,01111,10000,10001,10010,10011,10100,10101,10110,10111,11000,11001,11010,11011,11100,11101,11110,11111"
textline "                      "
bitfld.long 0x00 0.--4. " DEVADR ,PHY Register Address" "00000,00001,00010,00011,00100,00101,00110,00111,01000,01001,01010,01011,01100,01101,01110,01111,10000,10001,10010,10011,10100,10101,10110,10111,11000,11001,11010,11011,11100,11101,11110,11111"
group 0x60++0x03
line.long 0x00 "EMAC1_TRTR,EMAC 1 Transmit Request Threshold Register"
hexmask.long.byte 0x00 24.--31. 1. " TRT    ,Transmit Request Threshold"
group 0x64++0x03
line.long 0x00 "EMAC1_RWMR,EMAC 1 Receive Low/High Water Mark Register"
hexmask.long.word 0x00 22.--31. 1. " RLWM   ,Receive Low Water Mark"
hexmask.long.word 0x00 6.--15. 1. "      RHWM   ,Receive High Water Mark"
rgroup 0x68--0x6f
line.long 0x00 "EMAC1_OCTX,EMAC 1 Number of Octets Transimitted Register"
line.long 0x04 "EMAC1_OCRX,EMAC 1 Number of Octets Received Register"
group 0x70++0x03
line.long 0x00 "EMAC1_IPCR,Internal PCS Configuration Register"
hexmask.long 0x00 10.--31. 1. " OUI    ,OUI Value"
hexmask.long.byte 0x00 4.--9. 1. "  MMN    ,Manufacturer Model Number"
bitfld.long 0x00 0.--3. "         REVID ,Revision Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"

elif (cpu()=="PPC440GR")
width 18.
group dcr:0x000f++0x00 "Packet Reject Registers"
saveout dcr:0x000e %l (0x4301+(1*3.))
line.long 0x00 "SDR0_EMAC1RXST,EMAC1 RX Status Register"
bitfld.long 0x00 29. " FOR  ,RXFIFO Overrun" "-,Overrun"
bitfld.long 0x00 28. "      BC   ,Broadcast Address" "-,Received"
bitfld.long 0x00 27. "     MC    ,Multicast Address" "-,Received"
textline "                           "
bitfld.long 0x00 26. " UC   ,Unicast Address" "-,Received"
bitfld.long 0x00 23.--25. "     UPR  ,User Priority Field" "Priority 0,Priority 1,Priority 2,Priority 3,Priority 4,Priority 5,Priority 6,Priority 7"
bitfld.long 0x00 22. "   VLAN  ,RX VLAN Tagged Frame" "-,Received"
textline "                           "
bitfld.long 0x00 21. " LOOP ,Received in Loop-Back Mode" "-,Received"
bitfld.long 0x00 20. "     UOP  ,Rx Unsupported Opcode" "-,Received"
bitfld.long 0x00 19. "     CPF   ,RX Control Pause Frame" "-,Received"
textline "                           "
bitfld.long 0x00 18. " CF   ,RX Control Frame" "-,Received"
bitfld.long 0x00 17. "     MSIZ ,1024-Max Size Bytes Received" "-,Received"
bitfld.long 0x00 16. "     1023  ,512-1023 Bytes Received" "-,Received"
textline "                           "
bitfld.long 0x00 15. " 511  ,256-511 Bytes Received" "-,Received"
bitfld.long 0x00 14. "     255  ,128-255 Bytes Received" "-,Received"
bitfld.long 0x00 13. "     127   ,65-127 Bytes Received" "-,Received"
textline "                           "
bitfld.long 0x00 12. " 64   ,64 Bytes Received" "-,Received"
bitfld.long 0x00 11. "     RUNT ,Runt Frame" "-,Received"
bitfld.long 0x00 10. "     SEVT  ,Short Event" ",Occurred"
textline "                           "
bitfld.long 0x00 9. " AERR ,Alignment Error" "-,Error"
bitfld.long 0x00 8. "        SERR ,Received With Symbol Error" "-,Error"
bitfld.long 0x00 6. "        BURST ,Received Burst" "Carrier event<slot time,Carrier event>=slot time"
textline "                           "
bitfld.long 0x00 5. " FL2  ,Frame is too Long" "-,Too long"
bitfld.long 0x00 4. "     OERR ,Out of Range Length Error" "-,Error"
bitfld.long 0x00 3. "        IERR  ,In Range Length Error" "-,Error"
textline "                           "
bitfld.long 0x00 2. " LOST ,Frame Lost Due to Internal EMAC Receive Error" "-,Lost"
bitfld.long 0x00 1. "         BFCS ,Bad FCS in the Received Frame" "Correct,Incorrect"
bitfld.long 0x00 0. "    RXOK  ,Receive OK" "Correct,Incorrect"
group dcr:0x000f++0x00
saveout dcr:0x000e %l (0x4302+(1*3.))
line.long 0x00 "SDR0_EMAC1TXST,EMAC1 TX Status Register"
bitfld.long 0x00 25. " FUR  ,TXFIFO Underrun" "-,Underrun"
bitfld.long 0x00 24. "     BC   ,Broadcast Address" "-,Transmitted"
bitfld.long 0x00 23. "  MC    ,Multicast Address" "-,Transmitted"
textline "                           "
bitfld.long 0x00 22. " UC   ,Unicast Address" "-,Transmitted"
bitfld.long 0x00 21. "  FP   ,Frame Paused by Control Packet" "-,Paused"
bitfld.long 0x00 20. "       BFCS  ,Bad FCS in The Transmitted Frame" "Correct,Incorrect"
textline "                           "
bitfld.long 0x00 19. " CPF  ,TX Control Pause Frame" "-,Transmitted"
bitfld.long 0x00 18. "  CF   ,TX Control Frame" "-,Transmitted"
bitfld.long 0x00 17. "  MSIZ  ,1024-Maxsize Bytes Transmitted" "-,Transmitted"
textline "                           "
bitfld.long 0x00 16. " 1023 ,512-1023 Bytes Transmitted" "-,Transmitted"
bitfld.long 0x00 15. "  511  ,256-511 Bytes Transmitted" "-,Transmitted"
bitfld.long 0x00 14. "  255   ,128-255 Bytes Transmitted" "-,Transmitted"
textline "                           "
bitfld.long 0x00 13. " 127  ,65-127 Bytes Transmitted" "-,Transmitted"
bitfld.long 0x00 12. "  64   ,64 Bytes Transmitted" "-,Transmitted"
bitfld.long 0x00 11. "  SQE   ,SQE Indication" "-,Failed"
textline "                           "
bitfld.long 0x00 10. " LOC  ,Loss of Carrier Sense" "-,Lost"
bitfld.long 0x00 7. "         IERR ,EMAC Internal Error" "-,Error"
bitfld.long 0x00 6. "        EDF   ,Excessive Deferral" "-,Deferred"
textline "                           "
bitfld.long 0x00 5. " ECOL ,Excessive Collisions" "-,Collided"
bitfld.long 0x00 4. "     LCOL ,Late Collision" "-,Collided"
bitfld.long 0x00 3. "     DFFR  ,Deferred Frame" "-,Deferred"
textline "                           "
bitfld.long 0x00 2. " MCOL ,Multiple Collision Frame" "-,Collided"
bitfld.long 0x00 1. "     SCOL ,Single Collision Frame" "-,Collided"
bitfld.long 0x00 0. "     TXOK  ,Transmit OK" "Incorrect,Correct"
rgroup dcr:0x000f++0x00
saveout dcr:0x000e %l (0x4303+(1*3.))
line.long 0x00 "SDR0_EMAC1REJCNT,EMAC1 RX Packet Reject Counter Register"
width 13.
base ANC:0x0:0xef600f00
group 0x00++0x03 "EMAC Registers"
line.long 0x00 "EMAC1_MR0,EMAC 1 Mode Register 0"
bitfld.long 0x00 31. " RXI  ,Receive MAC Idle" "Processing,Idle"
bitfld.long 0x00 30. "        TXI  ,Transmit MAC Idle" "Processing,Idle"
bitfld.long 0x00 29. "        SRST ,EMAC Software Reset" "-,Reset"
textline "                      "
bitfld.long 0x00 28. " TXE  ,Transmit MAC Enable" "-,Enabled"
bitfld.long 0x00 27. "           RXE  ,Receive MAC Enable" "-,Enabled"
bitfld.long 0x00 26. "           WKE  ,Wake-Up Enable" "-,Enabled"
group 0x04++0x03
line.long 0x00 "EMAC1_MR1,EMAC 1 Mode Register 1"
bitfld.long 0x00 31. " FDE  ,Full-Duplex Enable" "-,Enabled"
bitfld.long 0x00 30. "           ILE  ,Internal Loop-back Enable" "-,Enabled"
bitfld.long 0x00 29. "           VLE  ,VLAN Enable" "-,Enabled" 
textline "                      "
bitfld.long 0x00 28. " EIFC ,Enable Integrated Flow Control" "-,Enabled"  
bitfld.long 0x00 27. "           APP  ,Allow Pause Packet" "-,Enabled"  
bitfld.long 0x00 24. "           IST  ,Ignore SQE test" "-,Ignored" 
textline "                      "
bitfld.long 0x00 22.--23. " MF   ,Medium Frequency" "10Mbps,100Mbps,Reserved,Reserved"
bitfld.long 0x00 20.--21. "          RFS  ,Receive (RX) FIFO Size" "512B,1KB,2KB,4KB"
bitfld.long 0x00 18.--19. "              TFS  ,Transmit (TX) FIFO Size" "Reserved,1KB,2KB,Reserved"
textline "                      "
bitfld.long 0x00 15.--16. " TR0  ,Transmit Request 0" "Single packet,Multiple packets,Dependent mode,Reserved"
bitfld.long 0x00 13.--14. "  TR1  ,Transmit Request 1" "Single packet,Multiple packets,Dependent mode,Reserved"
bitfld.long 0x00 12. "  JE   ,Jumbo Packet Support Mode" "-,Enabled"
group 0x08++0x03
line.long 0x00 "EMAC1_TMR0,EMAC 1 Transmit Mode Register 0"
bitfld.long 0x00 31. " GNP0 ,Get New Packet" "-,Ready"
bitfld.long 0x00 30. "             GNP1 ,Get New Packet 1" "-,Ready"
bitfld.long 0x00 29. "             GNFD ,Get New Packet for Dependent Mode" "-,Ready"
textline "                      "
bitfld.long 0x00 28. " FC   ,First Channel" "Channel 0,Channel 1"
group 0x0c++0x03
line.long 0x00 "EMAC1_TMR1,EMAC 1 Transmit Mode Register 1"
hexmask.long.byte 0x00 27.--31. 1. " TLR  ,Transmit Low Request"
hexmask.long.byte 0x00 16.--23. 1. "                TUR  ,Transmit Urgent Request"
group 0x10++0x03
line.long 0x00 "EMAC1_RMR,EMAC 1 Receive Mode Register"
bitfld.long 0x00 31. " SP   ,Strip Padding" "-,Strip"
bitfld.long 0x00 30. "             SFCS ,Strip FCS" "-,Strip"
bitfld.long 0x00 29. "             RRP  ,Receive Runt Packets" "Discarded,Received"
textline "                      "
bitfld.long 0x00 28. " RFP  ,Allow Receive Packets with a FCS Error" "Discarded,Received"
bitfld.long 0x00 27. "         ROP  ,Receive Oversize Packet" "Discarded,Received"
bitfld.long 0x00 26. "         RPIR ,Receive Packets with In Range Error" "Discarded,Received"
textline "                      "
bitfld.long 0x00 25. " PPP  ,Propagate Pause Packet" "-,Propagated"
bitfld.long 0x00 24. "        PME  ,Promiscuous Mode Enable" "-,Enabled"
bitfld.long 0x00 23. "           PMME ,Promiscuous Multicast Mode Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 22. " IAE  ,Individual Address Enable" "-,Enabled"
bitfld.long 0x00 21. "           MIAE ,Multiple Individual Address Enable" "-,Enabled"
bitfld.long 0x00 20. "           BAE  ,Broadcast Address Enable" "-,Enabled"
textline "                      "
bitfld.long 0x00 19. " MAE  ,Multicast Address Enable" "-,Enabled"
group 0x14++0x03
line.long 0x00 "EMAC1_ISR,EMAC 1 Interrupt Status Register"
eventfld.long 0x00 25. " OVR  ,Overrun" "-,Overrun"
eventfld.long 0x00 24. "           PP   ,Pause Packet" "-,Received"
eventfld.long 0x00 23. "          BP   ,Bad Packet" "-,Error"
textline "                      "
eventfld.long 0x00 22. " RP   ,Runt Packet" "-,Received"
eventfld.long 0x00 21. "          SE   ,Short Event" "-,Occurred"
eventfld.long 0x00 20. "          ALE  ,Alignment Error" "-,Error"
textline "                      "
eventfld.long 0x00 19. " BFCS ,Bad FCS" "-,Error"
eventfld.long 0x00 18. "             PTLE ,Packet Too Long Error" "-,Error"
eventfld.long 0x00 17. "             ORE  ,Out Of Range Error" "-,Error"
textline "                      "
eventfld.long 0x00 16. " IRE  ,In Range Error" "-,Error"
eventfld.long 0x00 9. "             DBDM ,Dead Bit Dependent Mode" "-,Error"
eventfld.long 0x00 8. "             DB   ,Dead Bit" "-,Error"
textline "                      "
eventfld.long 0x00 7. " SE0  ,Signal Quality Error" "-,Error"
eventfld.long 0x00 6. "             TE0  ,Transmit Error" "-,Error"
eventfld.long 0x00 5. "             DB1  ,Dead Bit 1" "-,Error"
textline "                      "
eventfld.long 0x00 4. " SE1  ,Signal Quality Error 1" "-,Error"
eventfld.long 0x00 3. "             TE1  ,Transmit Error 1" "-,Error"
eventfld.long 0x00 1. "             MOS  ,MMA Operation Succeeded" "-,Failed"
textline "                      "
eventfld.long 0x00 0. " MOF  ,MMA Operation Failed" "-,Failed"
group 0x18++0x03
line.long 0x00 "EMAC1_ISER,EMAC 1 Interrupt Status Enable Register"
bitfld.long 0x00 25. " OVR  ,Overrun" "-,Enabled"
bitfld.long 0x00 24. "           PP   ,Pause Packet" "-,Enabled"
bitfld.long 0x00 23. "           BP   ,Bad Packet" "-,Enabled"
textline "                      "
bitfld.long 0x00 22. " RP   ,Runt Packet" "-,Enabled"
bitfld.long 0x00 21. "           SE   ,Short Event" "-,Enabled"
bitfld.long 0x00 20. "           ALE  ,Alignment Error" "-,Enabled"
textline "                      "
bitfld.long 0x00 19. " BFCS ,Bad FCS" "-,Enabled"
bitfld.long 0x00 18. "           PTLE ,Packet Too Long Error" "-,Enabled"
bitfld.long 0x00 17. "           ORE  ,Out Of Range Error" "-,Enabled"
textline "                      "
bitfld.long 0x00 16. " IRE  ,In Range Error" "-,Enabled"
bitfld.long 0x00 9. "           DBDM ,Dead Bit Dependent Mode" "-,Enabled"
bitfld.long 0x00 8. "           DB0  ,Dead Bit 0" "-,Enabled"
textline "                      "
bitfld.long 0x00 7. " SE0  ,SQE Error" "-,Enabled"
bitfld.long 0x00 6. "           TE0  ,Transmit Error" "-,Enabled"
bitfld.long 0x00 5. "           DB1  ,Dead Bit 1" "-,Enabled"
textline "                      "
bitfld.long 0x00 4. " SE1  ,SQE Error 1" "-,Enabled"
bitfld.long 0x00 3. "           TE1  ,Transmit Error 1" "-,Enabled"
bitfld.long 0x00 1. "           MOS  ,MMA Operation Succeeded" "-,Enabled"
textline "                      "
bitfld.long 0x00 0. " MOF  ,MMA Operation Failed" "-,Enabled"
group 0x1c++0x03
line.long 0x00 "EMAC1_IAHR,EMAC 1 Individual Address High Register"
hexmask.long.word 0x00 0.--15. 1. " HO   ,Receive and Transmit High Order"
group 0x20--0x4f
line.long 0x00 "EMAC1_IALR,EMAC 1 Individual Address Low Register"
hexmask.long.word 0x00 0.--15. 1. " LO   ,Receive and Transmit Low Order"
line.long 0x04 "EMAC1_VTPID,EMAC 1 VLAN TPID Register"
hexmask.long.word 0x04 0.--15. 1. " VIDT ,VLAN ID Tag"
line.long 0x08 "EMAC1_VTCI,EMAC 1 VLAN TCI Register"
hexmask.long.word 0x08 0.--15. 1. " VTCI ,VLAN TCI Tag"
line.long 0x0C "EMAC1_PTR,EMAC 1 Pause Timer Register"
hexmask.long.word 0x0C 0.--15. 1. " TVF  ,Timer Value Field" 
line.long 0x10 "EMAC1_IAHT1,EMAC 1 Individual Address Hash Table 1 Register"
hexmask.long.word 0x10 0.--15. 1. " IAHN ,Individual Address Hash Number"
line.long 0x14 "EMAC1_IAHT2,EMAC 1 Individual Address Hash Table 2 Register"
hexmask.long.word 0x14 0.--15. 1. " IAHN ,Individual Address Hash Number"
line.long 0x18 "EMAC1_IAHT3,EMAC 1 Individual Address Hash Table 3 Register"
hexmask.long.word 0x18 0.--15. 1. " IAHN ,Individual Address Hash Number"
line.long 0x1C "EMAC1_IAHT4,EMAC 1 Individual Address Hash Table 4 Register"
hexmask.long.word 0x1C 0.--15. 1. " IAHN ,Individual Address Hash Number"
line.long 0x20 "EMAC1_GAHT1,EMAC 1 Group Address Hash Table 1 Register"
hexmask.long.word 0x20 0.--15. 1. " GAHN ,Group Address Hash Number"  
line.long 0x24 "EMAC1_GAHT2,EMAC 1 Group Address Hash Table 2 Register"
hexmask.long.word 0x24 0.--15. 1. " GAHN ,Group Address Hash Number"  
line.long 0x28 "EMAC1_GAHT3,EMAC 1 Group Address Hash Table 3 Register"
hexmask.long.word 0x28 0.--15. 1. " GAHN ,Group Address Hash Number"
line.long 0x2C "EMAC1_GAHT4,EMAC 1 Group Address Hash Table 4 Register"
hexmask.long.word 0x2C 0.--15. 1. " GAHN ,Group Address Hash Number"  
rgroup 0x50--0x57
line.long 0x00 "EMAC1_LSAH,EMAC 1 Last Source Address High Register"
hexmask.long.word 0x00 0.--15. 1. " LSA  ,Last Source Address High-Order Halfword"    
line.long 0x04 "EMAC1_LSAL,EMAC 1 Last Source Address Low Register"
hexmask.long.word 0x04 0.--15. 1. " LSA  ,Last Source Address Low-Order Word"   
group 0x58--0x67
line.long 0x00 "EMAC1_IPGVR,EMAC 1 Inter-Packet Gap Value Register"
hexmask.long.byte 0x00 0.--5. 1. " IFG  ,Inter-Packet Gap"
line.long 0x04 "EMAC1_STACR,EMAC 1 STA Control Register"
hexmask.long.byte 0x04 16.--31. 1. " PHYD ,PHY Data"
bitfld.long 0x04 15. "                OC   ,Operation Complete" "-,Completed"
bitfld.long 0x04 14. "         PHYE ,PHY Error" "-,Error"
textline "                      "
bitfld.long 0x04 12.--13. " STAC ,STA Command" "Reserved,Read,Write,Reserved"
bitfld.long 0x04 10.--11. "          OPBC ,OPB Bus Clock Frequency" "50MHz,66MHz,83MHz,100MHz"
hexmask.long.byte 0x04 5.--9. 1. "            PCDA ,PHY Command Destination Address" 
textline "                      "
hexmask.long.byte 0x04 0.--4. 1. " PRA  ,PHY Register Address" 
line.long 0x08 "EMAC1_TRTR,EMAC 1 Transmit Request Threshold Register"
bitfld.long 0x08 27.--31. " TRT  ,Transmit Request Threshold" "64,128,192,256,320,384,448,512,576,640,704,768,832,896,960,1024,1088,1152,1216,1280,1344,1408,1472,1536,1600,1664,1728,1792,1856,1920,1984,2048"
line.long 0x0C "EMAC1_RWMR,EMAC 1 Receive Low/High Water Mark Register"
hexmask.long.word 0x0C 23.--31. 1. " RLWM ,Receive Low Water Mark"
hexmask.long.word 0x0C  7.--15. 1. "              RHWM ,Receive High Water Mark"
rgroup 0x68--0x6f
line.long 0x00 "EMAC1_OCTX,EMAC 1 Number of Octets Transimitted Register"
line.long 0x04 "EMAC1_OCRX,EMAC 1 Number of Octets Received Register"

endif
tree.end
tree.end
;tree.open "EMAC (Ethernet Media Access Controllers)"
tree.open "UART (Serial Port Operations)"
base ANC:0x0:0x00000000
sif (cpu()=="PPC440GX")
base ANC:0x1:0x40000000
tree "UART0"
width 12.
group dcr:0xF++0x0
saveout dcr:0xE %l 0x120
line.long 0x0 "SDR0_UART0,UART Configuration Register 0 0"
bitfld.long 0x00 28.--31. " U0ICS    ,UART 0 Internal Clock Source" "Reserved,Reserved,PLB,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 23. "         U0EC  ,UART 0 EXT Clock Enable" "-,Enabled"
textline "                     "
bitfld.long 0x00 22. " U0DTE    ,UART 0 DMA Transmit Enable" "-,Enabled"
bitfld.long 0x00 21. "          U0DRE ,UART 0 DMA Receive Enable" "-,Enabled"
textline "                     "
bitfld.long 0x00 20. " U0DC     ,UART 0 DMA Clear" "-,Cleared"
hexmask.long.byte 0x00 0.--7. 1. "          U0DIV ,UART 0 Divider"
group dcr:0xF++0x0
saveout dcr:0xE %l 0x121
line.long 0x0 "SDR0_UART1,UART Configuration Register 0 1"
bitfld.long 0x00 28.--31. " U1ICS    ,UART 1 Internal Clock Source" "Reserved,Reserved,PLB,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 23. "         U1EC  ,UART 1 EXT Clock Enable" "-,Enabled"
textline "                     "
bitfld.long 0x00 22. " U1DTE    ,UART 1 DMA Transmit Enable" "-,Enabled"
bitfld.long 0x00 21. "          U1DRE ,UART 1 DMA Receive Enable" "-,Enabled"
textline "                     "
bitfld.long 0x00 20. " U1DC     ,UART 1 DMA Clear" "-,Cleared"
hexmask.long.byte 0x00 0.--7. 1. "          U1DIV ,UART 1 Divider"
if (((data.byte(ad:(0x1:0x40000000+0x203+0x000)))&0x80)==0x00)
hgroup.byte (0x200+0x000)++0x0
hide.byte 0x0 "UART0_RBR,Receiver Buffer Register 0"
in
wgroup.byte (0x200+0x000)++0x0
line.byte 0x0 "UART0_THR,Transmitter Holding Register 0"
group.byte (0x201+0x000)++0x0
line.byte 0x0 "UART0_IER,Interrupt Enable Register 0"
bitfld.byte 0x00 3. " EDSSI    ,Modem Status Interrupt" "-,Enabled"
bitfld.byte 0x00 2. "          ELSI  ,Receiver Line Status Interrupt enable" "-,Enabled"
bitfld.byte 0x00 1. "   ETBEI ,Transmitter Holding Register Empty Interrupt enable" "-,Enabled"
textline "                 "
bitfld.byte 0x00 0. " ERBFI    ,Received Data Available Interrupt enable" "-,Enabled"
else
group.byte (0x200+0x000)++0x1
line.byte 0x0 "UART0_DLL,UART0 Baud-Rate Divisor Latch (LSB) Register"
line.byte 0x1 "UART0_DLM,UART0 Baud-Rate Divisor Latch (MSB) Register"
endif
hgroup.byte (0x202+0x000)++0x0
hide.byte 0x0 "UART0_IIR,Interrupt Identification Register 0"
in
wgroup.byte (0x202+0x000)++0x0
line.byte 0x0 "UART0_FCR,FIFO Control Register 0"
bitfld.byte 0x00 6.--7. " RFTL     ,Receiver FIFO Trigger Level" "1 byte,16 bytes,32 bytes,56 bytes"
bitfld.byte 0x00 3. "         DMS   ,DMA Mode Select" "Single,Multiple"
bitfld.byte 0x00 2. "  TFR   ,Transmitter FIFO Reset" "-,Reset"
textline "                 "
bitfld.byte 0x00 1. " RFR      ,Receiver FIFO Reset" "-,Reset"
bitfld.byte 0x00 0. "            FE    ,FIFO Enable" "-,Enabled"
if (((data.byte(ad:(0x1:0x40000000+0x203+0x000)))&0x3)==0x0)
group.byte (0x203+0x000)++0x0
line.byte 0x0 "UART0_LCR,Line Control Register 0"
bitfld.byte 0x00 7. " DLAB     ,Divisor Latch Access Bit" "RBR/THR/IER,Divisor Latches"
bitfld.byte 0x00 6. "  SB    ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "   SP    ,Sticky Parity" "-,Enabled"
textline "                 "
bitfld.byte 0x00 4. " EPS      ,Even Parity Select" "Odd,Even"
bitfld.byte 0x00 3. "             PEN   ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "   SBS   ,Stop Bit Select" "1 bit,1.5 bits"
textline "                 "
bitfld.byte 0x00 0.--1. " WLS[1:0] ,Word Length Select Bits 0 and 1" "5-bit,6-bit,7-bit,8-bit"
else
group.byte (0x203+0x000)++0x0
line.byte 0x0 "UART0_LCR,Line Control Register 0"
bitfld.byte 0x00 7. " DLAB     ,Divisor Latch Access Bit" "RBR/THR/IER,Divisor Latches"
bitfld.byte 0x00 6. "  SB    ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "   SP    ,Sticky Parity" "-,Enabled"
textline "                 "
bitfld.byte 0x00 4. " EPS      ,Even Parity Select" "Odd,Even"
bitfld.byte 0x00 3. "             PEN   ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "   SBS   ,Stop Bit Select" "1 bit,2 bits"
textline "                 "
bitfld.byte 0x00 0.--1. " WLS[1:0] ,Word Length Select Bits 0 and 1" "5-bit,6-bit,7-bit,8-bit"
endif
group.byte (0x204+0x000)++0x0
line.byte 0x0 "UART0_MCR,Modem Control Register 0"
bitfld.byte 0x0 5. " AFC      ,Auto Flow Control" "-,Enabled"
bitfld.byte 0x0 4. "          LOOP  ,Loopback Mode" "-,Enabled"
bitfld.byte 0x0 3. "   OUT2  ,User Output 2" "-,Active"
textline "                 "
bitfld.byte 0x0 2. " OUT1     ,User Output 1" "-,Active"
bitfld.byte 0x0 1. "           RTS   ,Request To Send" "-,Active"
bitfld.byte 0x0 0. "    DTR   ,Data Terminal Ready" "-,Active"
hgroup.byte (0x205+0x000)++0x0
hide.byte 0x0 "UART0_LSR,Line Status Register 0"
in
hgroup.byte (0x206+0x000)++0x0
hide.byte 0x0 "UART0_MSR,Modem Status Register 0"
in
group.byte (0x207+0x000)++0x0
line.byte 0x0 "UART0_SCR,Scratchpad Register 0"
width 0xb
tree.end
tree "UART1"
width 12.
group dcr:0xF++0x0
saveout dcr:0xE %l 0x120
line.long 0x0 "SDR0_UART0,UART Configuration Register 0 0"
bitfld.long 0x00 28.--31. " U0ICS    ,UART 0 Internal Clock Source" "Reserved,Reserved,PLB,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 23. "         U0EC  ,UART 0 EXT Clock Enable" "-,Enabled"
textline "                     "
bitfld.long 0x00 22. " U0DTE    ,UART 0 DMA Transmit Enable" "-,Enabled"
bitfld.long 0x00 21. "          U0DRE ,UART 0 DMA Receive Enable" "-,Enabled"
textline "                     "
bitfld.long 0x00 20. " U0DC     ,UART 0 DMA Clear" "-,Cleared"
hexmask.long.byte 0x00 0.--7. 1. "          U0DIV ,UART 0 Divider"
group dcr:0xF++0x0
saveout dcr:0xE %l 0x121
line.long 0x0 "SDR0_UART1,UART Configuration Register 0 1"
bitfld.long 0x00 28.--31. " U1ICS    ,UART 1 Internal Clock Source" "Reserved,Reserved,PLB,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 23. "         U1EC  ,UART 1 EXT Clock Enable" "-,Enabled"
textline "                     "
bitfld.long 0x00 22. " U1DTE    ,UART 1 DMA Transmit Enable" "-,Enabled"
bitfld.long 0x00 21. "          U1DRE ,UART 1 DMA Receive Enable" "-,Enabled"
textline "                     "
bitfld.long 0x00 20. " U1DC     ,UART 1 DMA Clear" "-,Cleared"
hexmask.long.byte 0x00 0.--7. 1. "          U1DIV ,UART 1 Divider"
if (((data.byte(ad:(0x1:0x40000000+0x203+0x100)))&0x80)==0x00)
hgroup.byte (0x200+0x100)++0x0
hide.byte 0x0 "UART1_RBR,Receiver Buffer Register 1"
in
wgroup.byte (0x200+0x100)++0x0
line.byte 0x0 "UART1_THR,Transmitter Holding Register 1"
group.byte (0x201+0x100)++0x0
line.byte 0x0 "UART1_IER,Interrupt Enable Register 1"
bitfld.byte 0x00 3. " EDSSI    ,Modem Status Interrupt" "-,Enabled"
bitfld.byte 0x00 2. "          ELSI  ,Receiver Line Status Interrupt enable" "-,Enabled"
bitfld.byte 0x00 1. "   ETBEI ,Transmitter Holding Register Empty Interrupt enable" "-,Enabled"
textline "                 "
bitfld.byte 0x00 0. " ERBFI    ,Received Data Available Interrupt enable" "-,Enabled"
else
group.byte (0x200+0x100)++0x1
line.byte 0x0 "UART1_DLL,UART1 Baud-Rate Divisor Latch (LSB) Register"
line.byte 0x1 "UART1_DLM,UART1 Baud-Rate Divisor Latch (MSB) Register"
endif
hgroup.byte (0x202+0x100)++0x0
hide.byte 0x0 "UART1_IIR,Interrupt Identification Register 1"
in
wgroup.byte (0x202+0x100)++0x0
line.byte 0x0 "UART1_FCR,FIFO Control Register 1"
bitfld.byte 0x00 6.--7. " RFTL     ,Receiver FIFO Trigger Level" "1 byte,16 bytes,32 bytes,56 bytes"
bitfld.byte 0x00 3. "         DMS   ,DMA Mode Select" "Single,Multiple"
bitfld.byte 0x00 2. "  TFR   ,Transmitter FIFO Reset" "-,Reset"
textline "                 "
bitfld.byte 0x00 1. " RFR      ,Receiver FIFO Reset" "-,Reset"
bitfld.byte 0x00 0. "            FE    ,FIFO Enable" "-,Enabled"
if (((data.byte(ad:(0x1:0x40000000+0x203+0x100)))&0x3)==0x0)
group.byte (0x203+0x100)++0x0
line.byte 0x0 "UART1_LCR,Line Control Register 1"
bitfld.byte 0x00 7. " DLAB     ,Divisor Latch Access Bit" "RBR/THR/IER,Divisor Latches"
bitfld.byte 0x00 6. "  SB    ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "   SP    ,Sticky Parity" "-,Enabled"
textline "                 "
bitfld.byte 0x00 4. " EPS      ,Even Parity Select" "Odd,Even"
bitfld.byte 0x00 3. "             PEN   ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "   SBS   ,Stop Bit Select" "1 bit,1.5 bits"
textline "                 "
bitfld.byte 0x00 0.--1. " WLS[1:0] ,Word Length Select Bits 0 and 1" "5-bit,6-bit,7-bit,8-bit"
else
group.byte (0x203+0x100)++0x0
line.byte 0x0 "UART1_LCR,Line Control Register 1"
bitfld.byte 0x00 7. " DLAB     ,Divisor Latch Access Bit" "RBR/THR/IER,Divisor Latches"
bitfld.byte 0x00 6. "  SB    ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "   SP    ,Sticky Parity" "-,Enabled"
textline "                 "
bitfld.byte 0x00 4. " EPS      ,Even Parity Select" "Odd,Even"
bitfld.byte 0x00 3. "             PEN   ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "   SBS   ,Stop Bit Select" "1 bit,2 bits"
textline "                 "
bitfld.byte 0x00 0.--1. " WLS[1:0] ,Word Length Select Bits 0 and 1" "5-bit,6-bit,7-bit,8-bit"
endif
group.byte (0x204+0x100)++0x0
line.byte 0x0 "UART1_MCR,Modem Control Register 1"
bitfld.byte 0x0 5. " AFC      ,Auto Flow Control" "-,Enabled"
bitfld.byte 0x0 4. "          LOOP  ,Loopback Mode" "-,Enabled"
bitfld.byte 0x0 3. "   OUT2  ,User Output 2" "-,Active"
textline "                 "
bitfld.byte 0x0 2. " OUT1     ,User Output 1" "-,Active"
bitfld.byte 0x0 1. "           RTS   ,Request To Send" "-,Active"
bitfld.byte 0x0 0. "    DTR   ,Data Terminal Ready" "-,Active"
hgroup.byte (0x205+0x100)++0x0
hide.byte 0x0 "UART1_LSR,Line Status Register 1"
in
hgroup.byte (0x206+0x100)++0x0
hide.byte 0x0 "UART1_MSR,Modem Status Register 1"
in
group.byte (0x207+0x100)++0x0
line.byte 0x0 "UART1_SCR,Scratchpad Register 1"
width 0xb
tree.end
elif (cpu()=="PPC440GP")
base ANC:0x1:0x40000000
tree "UART0"
width 0xb
if (((data.byte(ANC:0x1:(0x40000203+0x000)))&0x80)==0x00)
group ANC:0x1:(0x40000200+0x000)++0x0
hide.byte 0x0 "UART0_RBR,UART0 Receiver Buffer Register"
hexmask.byte 0x00 0.--7. 1. " RBR   ,Data bit"
wgroup ANC:0x1:(0x40000200+0x000)++0x0
line.byte 0x0 "UART0_THR,UART0 Transmitter Holding Register"
hexmask.byte 0x00 0.--7. 1. " THR   ,Data bit"
group ANC:0x1:(0x40000201+0x000)++0x0
line.byte 0x0 "UART0_IER,UART0 Interrupt Enable Register"
bitfld.byte 0x00 3. " EDSSI ,Modem Status Interrupt" "-,Enabled"
bitfld.byte 0x00 2. "                  ELSI ,Receiver Line Status Interrupt enable" "-,Enabled"
bitfld.byte 0x00 1. "      ETBEI ,Transmitter Holding Register Empty Interrupt enable" "-,Enabled"
textline "                "
bitfld.byte 0x00 0. " ERBFI ,Received Data Available Interrupt enable" "-,Enabled"
elif (((data.byte(ANC:0x1:(0x40000203+0x000)))&0x80)==0x80)
group ANC:0x1:(0x40000200+0x000)++0x0
line.byte 0x0 "UART0_DLL,UART0 Divisor Latch (LSB)"
hexmask.byte 0x00 0.--7. 1. " DLL   ,Data bit"
group ANC:0x1:(0x40000201+0x000)++0x0
line.byte 0x0 "UART0_DLM,UART0 Divisor Latch (MSB)"
hexmask.byte 0x00 0.--7. 1. " DLM   ,Data bit"
endif
group ANC:0x1:(0x40000202+0x000)++0x0
hide.byte 0x0 "UART0_IIR,UART0 Interrupt Identification Register"
bitfld.byte 0x00 6.--7. " FCI   ,FIFO Control Indicator" "-,Reserved,Reserved,Enabled"
bitfld.byte 0x00 1.--3. "                 IPL  ,Interrupt Priority Level" "Level 4,Level 3,Level 2,Level 1,Reserved,Reserved,Level 2,Reserved"
bitfld.byte 0x00 0. "     IP    ,Interrupt Pending" "Pending,-"
wgroup ANC:0x1:(0x40000202+0x000)++0x0
line.byte 0x0 "UART0_FCR,UART0 FIFO Control Register"
bitfld.byte 0x00 6.--7. " RFTL  ,Receiver FIFO Trigger Level" "1 byte,16 bytes,32 bytes,56 bytes"
bitfld.byte 0x00 3. "                 DMS  ,DMA Mode Select" "Mode 0,Mode 1"
bitfld.byte 0x00 2. "       TFR   ,Transmitter FIFO Reset" "Completed,Reset"
textline "                "
bitfld.byte 0x00 1. " RFR   ,Receiver FIFO Reset" "Completed,Reset"
bitfld.byte 0x00 0. "                FE   ,FIFO Enable" "-,Enabled"
group ANC:0x1:(0x40000203+0x000)++0x0
line.byte 0x0 "UART0_LCR,UART0 Line Control Register"
bitfld.byte 0x00 7. " DLAB  ,Divisor Latch Access Bit" "Address RBR THR IER,Address Divisor Latches"
bitfld.byte 0x00 6. "  SB   ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "      SP    ,Sticky Parity" "-,Enabled"
textline "                "
bitfld.byte 0x00 4. " EPS   ,Even Parity Select" "Odd,Even"
bitfld.byte 0x00 3. "                     PEN  ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "      SBS   ,Stop Bit Select" "1 bit,1.5 or 2 bits"
textline "                "
bitfld.byte 0x00 0.--1. " WLS   ,Word Length Select Bits " "5-bit,6-bit,7-bit,8-bit"
group ANC:0x1:(0x40000204+0x000)++0x0
line.byte 0x0 "UART0_MCR,UART0 Modem Control Register"
bitfld.byte 0x00 5. " AFC   ,Auto Flow Control" "-,Enabled"
bitfld.byte 0x00 4. "                  LOOP ,Loopback Mode" "-,Enabled"
bitfld.byte 0x00 3. "      OUT2  ,User Output 2" "Inactive,Active"
textline "                "
bitfld.byte 0x00 2. " OUT1  ,User Output 2" "Inactive,Active"
bitfld.byte 0x00 1. "                 RTS  ,Request To Send" "Inactive,Active"
bitfld.byte 0x00 0. "     DTR   ,Data Terminal Ready" "Inactive,Active"
group ANC:0x1:(0x40000205+0x000)++0x0
line.byte 0x0 "UART0_LSR,UART0 Line Status Register"
bitfld.byte 0x00 7. " RFE   ,Receiver FIFO Error Indicator" "-,Error"
bitfld.byte 0x00 6. "                    TEMT ,Transmitter Empty Indicator" "Not empty,Empty"
bitfld.byte 0x00 5. "    THRE  ,Transmitter Holding Register Empty Indicator" "Not empty,Empty"
textline "                "
bitfld.byte 0x00 4. " BI    ,Break Interrupt Indicator" "-,Occurred"
bitfld.byte 0x00 3. "                 FE   ,Framing Error Indicator" "-,Error"
bitfld.byte 0x00 2. "        PE    ,Parity Error Indicator" "-,Error"
textline "                "
bitfld.byte 0x00 1. " OE    ,Overrun Error Indicator" "-,Error"
bitfld.byte 0x00 0. "                    DR   ,Receiver Data Ready Indicator" "-,Occurred"
group ANC:0x1:(0x40000206+0x000)++0x0
line.byte 0x0 "UART0_MSR,UART0 Modem Status Register"
bitfld.byte 0x00 7. " DCD   ,Data Carrier Detect" "No,Yes"
bitfld.byte 0x00 6. "                      RI   ,Ring Indicator" "Off,On"
bitfld.byte 0x00 5. "          DSR   ,Data Set Ready" "Not ready,Ready"
textline "                "
bitfld.byte 0x00 4. " CTS   ,Clear To Send" "No,Yes"
bitfld.byte 0x00 3. "                      DDCD ,Delta Data Carrier Detect" "MSR read,DCD changed"
bitfld.byte 0x00 2. "  TERI  ,Trailing Edge of Ring Indicator" "MSR read,RI changed(0->1)"
textline "                "
bitfld.byte 0x00 1. " DDSR  ,Delta Data Set Ready" "MSR read,DSR changed"
bitfld.byte 0x00 0. "              DCTS ,Delta Clear To Send" "MSR read,CTS changed"
group ANC:0x1:(0x40000207+0x000)++0x0
line.byte 0x0 "UART0_SCR,UART0 Scratch Register"
hexmask.byte 0x00 0.--7. 1. " SCR   ,Data bit"
width 0xb

tree.end
tree "UART1"
width 0xb
if (((data.byte(ANC:0x1:(0x40000203+0x100)))&0x80)==0x00)
group ANC:0x1:(0x40000200+0x100)++0x0
hide.byte 0x0 "UART1_RBR,UART1 Receiver Buffer Register"
hexmask.byte 0x00 0.--7. 1. " RBR   ,Data bit"
wgroup ANC:0x1:(0x40000200+0x100)++0x0
line.byte 0x0 "UART1_THR,UART1 Transmitter Holding Register"
hexmask.byte 0x00 0.--7. 1. " THR   ,Data bit"
group ANC:0x1:(0x40000201+0x100)++0x0
line.byte 0x0 "UART1_IER,UART1 Interrupt Enable Register"
bitfld.byte 0x00 3. " EDSSI ,Modem Status Interrupt" "-,Enabled"
bitfld.byte 0x00 2. "                  ELSI ,Receiver Line Status Interrupt enable" "-,Enabled"
bitfld.byte 0x00 1. "      ETBEI ,Transmitter Holding Register Empty Interrupt enable" "-,Enabled"
textline "                "
bitfld.byte 0x00 0. " ERBFI ,Received Data Available Interrupt enable" "-,Enabled"
elif (((data.byte(ANC:0x1:(0x40000203+0x100)))&0x80)==0x80)
group ANC:0x1:(0x40000200+0x100)++0x0
line.byte 0x0 "UART1_DLL,UART1 Divisor Latch (LSB)"
hexmask.byte 0x00 0.--7. 1. " DLL   ,Data bit"
group ANC:0x1:(0x40000201+0x100)++0x0
line.byte 0x0 "UART1_DLM,UART1 Divisor Latch (MSB)"
hexmask.byte 0x00 0.--7. 1. " DLM   ,Data bit"
endif
group ANC:0x1:(0x40000202+0x100)++0x0
hide.byte 0x0 "UART1_IIR,UART1 Interrupt Identification Register"
bitfld.byte 0x00 6.--7. " FCI   ,FIFO Control Indicator" "-,Reserved,Reserved,Enabled"
bitfld.byte 0x00 1.--3. "                 IPL  ,Interrupt Priority Level" "Level 4,Level 3,Level 2,Level 1,Reserved,Reserved,Level 2,Reserved"
bitfld.byte 0x00 0. "     IP    ,Interrupt Pending" "Pending,-"
wgroup ANC:0x1:(0x40000202+0x100)++0x0
line.byte 0x0 "UART1_FCR,UART1 FIFO Control Register"
bitfld.byte 0x00 6.--7. " RFTL  ,Receiver FIFO Trigger Level" "1 byte,16 bytes,32 bytes,56 bytes"
bitfld.byte 0x00 3. "                 DMS  ,DMA Mode Select" "Mode 0,Mode 1"
bitfld.byte 0x00 2. "       TFR   ,Transmitter FIFO Reset" "Completed,Reset"
textline "                "
bitfld.byte 0x00 1. " RFR   ,Receiver FIFO Reset" "Completed,Reset"
bitfld.byte 0x00 0. "                FE   ,FIFO Enable" "-,Enabled"
group ANC:0x1:(0x40000203+0x100)++0x0
line.byte 0x0 "UART1_LCR,UART1 Line Control Register"
bitfld.byte 0x00 7. " DLAB  ,Divisor Latch Access Bit" "Address RBR THR IER,Address Divisor Latches"
bitfld.byte 0x00 6. "  SB   ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "      SP    ,Sticky Parity" "-,Enabled"
textline "                "
bitfld.byte 0x00 4. " EPS   ,Even Parity Select" "Odd,Even"
bitfld.byte 0x00 3. "                     PEN  ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "      SBS   ,Stop Bit Select" "1 bit,1.5 or 2 bits"
textline "                "
bitfld.byte 0x00 0.--1. " WLS   ,Word Length Select Bits " "5-bit,6-bit,7-bit,8-bit"
group ANC:0x1:(0x40000204+0x100)++0x0
line.byte 0x0 "UART1_MCR,UART1 Modem Control Register"
bitfld.byte 0x00 5. " AFC   ,Auto Flow Control" "-,Enabled"
bitfld.byte 0x00 4. "                  LOOP ,Loopback Mode" "-,Enabled"
bitfld.byte 0x00 3. "      OUT2  ,User Output 2" "Inactive,Active"
textline "                "
bitfld.byte 0x00 2. " OUT1  ,User Output 2" "Inactive,Active"
bitfld.byte 0x00 1. "                 RTS  ,Request To Send" "Inactive,Active"
bitfld.byte 0x00 0. "     DTR   ,Data Terminal Ready" "Inactive,Active"
group ANC:0x1:(0x40000205+0x100)++0x0
line.byte 0x0 "UART1_LSR,UART1 Line Status Register"
bitfld.byte 0x00 7. " RFE   ,Receiver FIFO Error Indicator" "-,Error"
bitfld.byte 0x00 6. "                    TEMT ,Transmitter Empty Indicator" "Not empty,Empty"
bitfld.byte 0x00 5. "    THRE  ,Transmitter Holding Register Empty Indicator" "Not empty,Empty"
textline "                "
bitfld.byte 0x00 4. " BI    ,Break Interrupt Indicator" "-,Occurred"
bitfld.byte 0x00 3. "                 FE   ,Framing Error Indicator" "-,Error"
bitfld.byte 0x00 2. "        PE    ,Parity Error Indicator" "-,Error"
textline "                "
bitfld.byte 0x00 1. " OE    ,Overrun Error Indicator" "-,Error"
bitfld.byte 0x00 0. "                    DR   ,Receiver Data Ready Indicator" "-,Occurred"
group ANC:0x1:(0x40000206+0x100)++0x0
line.byte 0x0 "UART1_MSR,UART1 Modem Status Register"
bitfld.byte 0x00 7. " DCD   ,Data Carrier Detect" "No,Yes"
bitfld.byte 0x00 6. "                      RI   ,Ring Indicator" "Off,On"
bitfld.byte 0x00 5. "          DSR   ,Data Set Ready" "Not ready,Ready"
textline "                "
bitfld.byte 0x00 4. " CTS   ,Clear To Send" "No,Yes"
bitfld.byte 0x00 3. "                      DDCD ,Delta Data Carrier Detect" "MSR read,DCD changed"
bitfld.byte 0x00 2. "  TERI  ,Trailing Edge of Ring Indicator" "MSR read,RI changed(0->1)"
textline "                "
bitfld.byte 0x00 1. " DDSR  ,Delta Data Set Ready" "MSR read,DSR changed"
bitfld.byte 0x00 0. "              DCTS ,Delta Clear To Send" "MSR read,CTS changed"
group ANC:0x1:(0x40000207+0x100)++0x0
line.byte 0x0 "UART1_SCR,UART1 Scratch Register"
hexmask.byte 0x00 0.--7. 1. " SCR   ,Data bit"
width 0xb

tree.end
elif (cpu()=="PPC440EP")
;UART - Serial Port Operations
;includes: uart_x.ph
tree "UART 0"
width 0x0B
group.long dcr:0x000F++0x00
out dcr:0x000E %l (0x0120+0)
line.long 0x00 "SDR0_UART0,UART Configuration Register 0"
bitfld.long 0x00 28.--31. " U0ICS ,UART 0 Internal Clock Source" "Reserved,Reserved,PLB,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 23. "         U0EC  ,UART 0 EXT Clock Enable" "Internal,External"
bitfld.long 0x00 22. "     U0DTE ,UART 0 DMA Transmit Enable" "-,Enabled"
bitfld.long 0x00 21. "      U0DRE ,UART 0 DMA Receive Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 20. " U0DC  ,UART 0 DMA Clear" "No clear,Clear"
hexmask.long. 0x00 0.--7. 1. "         U0DIV ,UART 0 Divider"
if ((data.byte(ANC:0x0:0xEF600303+(0x100*0))&0x80)==0x00)
wgroup (ANC:0x0:0xEF600300+(0x100*0))++0x00
hide.byte 0x00 "UART0_RBR,UART 0 Receiver Buffer Register"
in
line.byte 0x00 "UART0_THR,UART 0 Transmitter Holding Register"
group (ANC:0x0:0xEF600301+(0x100*0))++0x00
line.byte 0x00 "UART0_IER,UART 0 Interrupt Enable Register"
bitfld.byte 0x00 3. "     EDSSI  ,Modem Status Interrupt" "-,Enabled"
bitfld.byte 0x00 2. "          ELSI   ,Receiver Line Status Interrupt enable" "-,Enabled"
bitfld.byte 0x00 1. "      ETBEI  ,Transmitter Holding Register Empty Interrupt" "-,Enabled"
bitfld.byte 0x00 0. "      ERBFI  ,Received Data Available Interrupt enable" "-,Enabled"
else
group (ANC:0x0:0xEF600300+(0x100*0))++0x01
line.byte 0x00 "UART0_DLL,UART 0 Divisor Latch (LSB)"
line.byte 0x01 "UART0_DLM,UART 0 Divisor Latch (MSB)"
endif
rgroup (ANC:0x0:0xEF600302+(0x100*0))++0x00
line.byte 0x00 "UART0_IIR,UART 0 Interrupt Identification Register"
bitfld.byte 0x00 6.--7. "     FE     ,FIFO Control Indicator" "-,Reserved,Reserved,Enabled"
bitfld.byte 0x00 1.--3. "         INTID  ,Interrupt Priority Level" "Level 4,Level 3,Level 2,Level 1,Reserved,Reserved,Level 2,Reserved"
bitfld.byte 0x00 0. "     INTP   ,Interrupt Pending" "Pending,-"
wgroup (ANC:0x0:0xEF600302+(0x100*0))++0x00
line.byte 0x00 "UART0_FCR,UART 0 FIFO Control Register"
bitfld.byte 0x00 6.--7. "     RFTL   ,Receiver FIFO Trigger Level" "01 byte,16 bytes,32 bytes,56 bytes"
bitfld.byte 0x00 3. "         DMS    ,DMA Mode Select" "Single,Multiple"
bitfld.byte 0x00 2. "     TFR    ,Transmitter FIFO Reset" "-,Reset"
bitfld.byte 0x00 1. "        RFR    ,Receiver FIFO Reset" "-,Reset"
textline "                    "
bitfld.byte 0x00 0. " FE     ,FIFO Enable" "-,Enabled"
if ((data.byte(ANC:0x0:0xEF600303+(0x100*0))&0x03)==0x00)
group (ANC:0x0:0xEF600303+(0x100*0))++0x00
line.byte 0x00 "UART0_LCR,UART 0 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR THR IER,Divisor Latches"
bitfld.byte 0x00 6. "  SB     ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "      SP     ,Sticky Parity" "-,Enabled"
bitfld.byte 0x00 4. "      EPS    ,Even Parity Select" "Odd,Even"
textline "                    "
bitfld.byte 0x00 3. " PEN    ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "          SBS    ,Stop Bit Select" "1 bit,1.5 bits"
bitfld.byte 0x00 0.--1. "     WLS    ,Word Length Select Bits" "5-bit,6-bit,7-bit,8-bit"
else
group (ANC:0x0:0xEF600303+(0x100*0))++0x00
line.byte 0x00 "UART0_LCR,UART 0 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR THR IER,Divisor Latches"
bitfld.byte 0x00 6. "  SB     ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "      SP     ,Sticky Parity" "-,Enabled"
bitfld.byte 0x00 4. "      EPS    ,Even Parity Select" "Odd,Even"
textline "                    "
bitfld.byte 0x00 3. " PEN    ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "          SBS    ,Stop Bit Select" "1 bit,2 bits  "
bitfld.byte 0x00 0.--1. "     WLS    ,Word Length Select Bits" "5-bit,6-bit,7-bit,8-bit"
endif
group (ANC:0x0:0xEF600304+(0x100*0))++0x03
line.byte 0x00 "UART0_MCR,UART 0 Modem Control Register"
bitfld.byte 0x00 5. "     AFC    ,Auto Flow Control" "-,Enabled"
bitfld.byte 0x00 4. "          LOOP   ,Loopback Mode" "-,Enabled"
bitfld.byte 0x00 3. "      OUT2   ,User Output 2" "Inactive(H),Active(L)"
bitfld.byte 0x00 2. "  OUT1   ,User Output 1" "Inactive(H),Active(L)"
textline "                    "
bitfld.byte 0x00 1. " RTS    ,Request To Send" "Inactive(H),Active(L)"
bitfld.byte 0x00 0. "      DTR    ,Data Terminal Ready" "Inactive(H),Active(L)"
line.byte 0x01 "UART0_LSR,UART 0 Line Status Register"
bitfld.byte 0x01 7. "     RFE    ,Receiver FIFO Error Indicator" "-,Error"
bitfld.byte 0x01 6. "            TEMT   ,Transmitter Empty Indicator" "Not empty,Empty"
bitfld.byte 0x01 5. "    THRE   ,Transmitter Holding Register Empty Indicator" "Not empty,Empty"
bitfld.byte 0x01 4. "    BI     ,Break Interrupt Indicator" "-,Occurred"
textline "                    "
bitfld.byte 0x01 3. " FE     ,Framing Error Indicator" "-,Error"
bitfld.byte 0x01 2. "            PE     ,Parity Error Indicator" "-,Error"
bitfld.byte 0x01 1. "        OE     ,Overrun Error Indicator" "-,Error"
bitfld.byte 0x01 0. "        DR     ,Receiver Data Ready Indicator" "Not ready,Ready"
line.byte 0x02 "UART0_MSR,UART 0 Modem Status Register"
bitfld.byte 0x02 7. "     DCD    ,Data Carrier Detect" "Not detected ,Detected"
bitfld.byte 0x02 6. "    RI     ,Ring Indicator" "Not rang,Rang"
bitfld.byte 0x02 5. "     DSR    ,Data Set Ready" "Not ready,Ready"
bitfld.byte 0x02 4. "    CTS    ,Clear To Send" "Not clear,Clear"
textline "                    "
bitfld.byte 0x02 3. " DDCD   ,Delta Data Carrier Detect" "Not detected ,Detected"
bitfld.byte 0x02 2. "    TERI   ,Trailing Edge of Ring Indicator" "Not rang,Rang"
bitfld.byte 0x02 1. "     DDSR   ,Delta Data Set Ready" "Not ready,Ready"
bitfld.byte 0x02 0. "    DCTS   ,Delta Clear To Send" "Not clear,Clear"
line.byte 0x03 "UART0_SCR,UART 0 Scratch Register"
width 0x0B
tree.end
tree "UART 1"
width 0x0B
group.long dcr:0x000F++0x00
out dcr:0x000E %l (0x0120+1)
line.long 0x00 "SDR0_UART1,UART Configuration Register 1"
bitfld.long 0x00 28.--31. " U1ICS ,UART 1 Internal Clock Source" "Reserved,Reserved,PLB,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 23. "         U1EC  ,UART 1 EXT Clock Enable" "Internal,External"
bitfld.long 0x00 22. "     U1DTE ,UART 1 DMA Transmit Enable" "-,Enabled"
bitfld.long 0x00 21. "      U1DRE ,UART 1 DMA Receive Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 20. " U1DC  ,UART 1 DMA Clear" "No clear,Clear"
hexmask.long. 0x00 0.--7. 1. "         U1DIV ,UART 1 Divider"
if ((data.byte(ANC:0x0:0xEF600303+(0x100*1))&0x80)==0x00)
wgroup (ANC:0x0:0xEF600300+(0x100*1))++0x00
hide.byte 0x00 "UART0_RBR,UART 1 Receiver Buffer Register"
in
line.byte 0x00 "UART0_THR,UART 1 Transmitter Holding Register"
group (ANC:0x0:0xEF600301+(0x100*1))++0x00
line.byte 0x00 "UART0_IER,UART 1 Interrupt Enable Register"
bitfld.byte 0x00 3. "     EDSSI  ,Modem Status Interrupt" "-,Enabled"
bitfld.byte 0x00 2. "          ELSI   ,Receiver Line Status Interrupt enable" "-,Enabled"
bitfld.byte 0x00 1. "      ETBEI  ,Transmitter Holding Register Empty Interrupt" "-,Enabled"
bitfld.byte 0x00 0. "      ERBFI  ,Received Data Available Interrupt enable" "-,Enabled"
else
group (ANC:0x0:0xEF600300+(0x100*1))++0x01
line.byte 0x00 "UART0_DLL,UART 1 Divisor Latch (LSB)"
line.byte 0x01 "UART0_DLM,UART 1 Divisor Latch (MSB)"
endif
rgroup (ANC:0x0:0xEF600302+(0x100*1))++0x00
line.byte 0x00 "UART0_IIR,UART 1 Interrupt Identification Register"
bitfld.byte 0x00 6.--7. "     FE     ,FIFO Control Indicator" "-,Reserved,Reserved,Enabled"
bitfld.byte 0x00 1.--3. "         INTID  ,Interrupt Priority Level" "Level 4,Level 3,Level 2,Level 1,Reserved,Reserved,Level 2,Reserved"
bitfld.byte 0x00 0. "     INTP   ,Interrupt Pending" "Pending,-"
wgroup (ANC:0x0:0xEF600302+(0x100*1))++0x00
line.byte 0x00 "UART0_FCR,UART 1 FIFO Control Register"
bitfld.byte 0x00 6.--7. "     RFTL   ,Receiver FIFO Trigger Level" "01 byte,16 bytes,32 bytes,56 bytes"
bitfld.byte 0x00 3. "         DMS    ,DMA Mode Select" "Single,Multiple"
bitfld.byte 0x00 2. "     TFR    ,Transmitter FIFO Reset" "-,Reset"
bitfld.byte 0x00 1. "        RFR    ,Receiver FIFO Reset" "-,Reset"
textline "                    "
bitfld.byte 0x00 0. " FE     ,FIFO Enable" "-,Enabled"
if ((data.byte(ANC:0x0:0xEF600303+(0x100*1))&0x03)==0x00)
group (ANC:0x0:0xEF600303+(0x100*1))++0x00
line.byte 0x00 "UART0_LCR,UART 1 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR THR IER,Divisor Latches"
bitfld.byte 0x00 6. "  SB     ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "      SP     ,Sticky Parity" "-,Enabled"
bitfld.byte 0x00 4. "      EPS    ,Even Parity Select" "Odd,Even"
textline "                    "
bitfld.byte 0x00 3. " PEN    ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "          SBS    ,Stop Bit Select" "1 bit,1.5 bits"
bitfld.byte 0x00 0.--1. "     WLS    ,Word Length Select Bits" "5-bit,6-bit,7-bit,8-bit"
else
group (ANC:0x0:0xEF600303+(0x100*1))++0x00
line.byte 0x00 "UART0_LCR,UART 1 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR THR IER,Divisor Latches"
bitfld.byte 0x00 6. "  SB     ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "      SP     ,Sticky Parity" "-,Enabled"
bitfld.byte 0x00 4. "      EPS    ,Even Parity Select" "Odd,Even"
textline "                    "
bitfld.byte 0x00 3. " PEN    ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "          SBS    ,Stop Bit Select" "1 bit,2 bits  "
bitfld.byte 0x00 0.--1. "     WLS    ,Word Length Select Bits" "5-bit,6-bit,7-bit,8-bit"
endif
group (ANC:0x0:0xEF600304+(0x100*1))++0x03
line.byte 0x00 "UART0_MCR,UART 1 Modem Control Register"
bitfld.byte 0x00 5. "     AFC    ,Auto Flow Control" "-,Enabled"
bitfld.byte 0x00 4. "          LOOP   ,Loopback Mode" "-,Enabled"
bitfld.byte 0x00 3. "      OUT2   ,User Output 2" "Inactive(H),Active(L)"
bitfld.byte 0x00 2. "  OUT1   ,User Output 1" "Inactive(H),Active(L)"
textline "                    "
bitfld.byte 0x00 1. " RTS    ,Request To Send" "Inactive(H),Active(L)"
bitfld.byte 0x00 0. "      DTR    ,Data Terminal Ready" "Inactive(H),Active(L)"
line.byte 0x01 "UART0_LSR,UART 1 Line Status Register"
bitfld.byte 0x01 7. "     RFE    ,Receiver FIFO Error Indicator" "-,Error"
bitfld.byte 0x01 6. "            TEMT   ,Transmitter Empty Indicator" "Not empty,Empty"
bitfld.byte 0x01 5. "    THRE   ,Transmitter Holding Register Empty Indicator" "Not empty,Empty"
bitfld.byte 0x01 4. "    BI     ,Break Interrupt Indicator" "-,Occurred"
textline "                    "
bitfld.byte 0x01 3. " FE     ,Framing Error Indicator" "-,Error"
bitfld.byte 0x01 2. "            PE     ,Parity Error Indicator" "-,Error"
bitfld.byte 0x01 1. "        OE     ,Overrun Error Indicator" "-,Error"
bitfld.byte 0x01 0. "        DR     ,Receiver Data Ready Indicator" "Not ready,Ready"
line.byte 0x02 "UART0_MSR,UART 1 Modem Status Register"
bitfld.byte 0x02 7. "     DCD    ,Data Carrier Detect" "Not detected ,Detected"
bitfld.byte 0x02 6. "    RI     ,Ring Indicator" "Not rang,Rang"
bitfld.byte 0x02 5. "     DSR    ,Data Set Ready" "Not ready,Ready"
bitfld.byte 0x02 4. "    CTS    ,Clear To Send" "Not clear,Clear"
textline "                    "
bitfld.byte 0x02 3. " DDCD   ,Delta Data Carrier Detect" "Not detected ,Detected"
bitfld.byte 0x02 2. "    TERI   ,Trailing Edge of Ring Indicator" "Not rang,Rang"
bitfld.byte 0x02 1. "     DDSR   ,Delta Data Set Ready" "Not ready,Ready"
bitfld.byte 0x02 0. "    DCTS   ,Delta Clear To Send" "Not clear,Clear"
line.byte 0x03 "UART0_SCR,UART 1 Scratch Register"
width 0x0B
tree.end
tree "UART 2"
width 0x0B
group.long dcr:0x000F++0x00
out dcr:0x000E %l (0x0120+2)
line.long 0x00 "SDR0_UART2,UART Configuration Register 2"
bitfld.long 0x00 28.--31. " U2ICS ,UART 2 Internal Clock Source" "Reserved,Reserved,PLB,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 23. "         U2EC  ,UART 2 EXT Clock Enable" "Internal,External"
bitfld.long 0x00 22. "     U2DTE ,UART 2 DMA Transmit Enable" "-,Enabled"
bitfld.long 0x00 21. "      U2DRE ,UART 2 DMA Receive Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 20. " U2DC  ,UART 2 DMA Clear" "No clear,Clear"
hexmask.long. 0x00 0.--7. 1. "         U2DIV ,UART 2 Divider"
if ((data.byte(ANC:0x0:0xEF600303+(0x100*2))&0x80)==0x00)
wgroup (ANC:0x0:0xEF600300+(0x100*2))++0x00
hide.byte 0x00 "UART0_RBR,UART 2 Receiver Buffer Register"
in
line.byte 0x00 "UART0_THR,UART 2 Transmitter Holding Register"
group (ANC:0x0:0xEF600301+(0x100*2))++0x00
line.byte 0x00 "UART0_IER,UART 2 Interrupt Enable Register"
bitfld.byte 0x00 3. "     EDSSI  ,Modem Status Interrupt" "-,Enabled"
bitfld.byte 0x00 2. "          ELSI   ,Receiver Line Status Interrupt enable" "-,Enabled"
bitfld.byte 0x00 1. "      ETBEI  ,Transmitter Holding Register Empty Interrupt" "-,Enabled"
bitfld.byte 0x00 0. "      ERBFI  ,Received Data Available Interrupt enable" "-,Enabled"
else
group (ANC:0x0:0xEF600300+(0x100*2))++0x01
line.byte 0x00 "UART0_DLL,UART 2 Divisor Latch (LSB)"
line.byte 0x01 "UART0_DLM,UART 2 Divisor Latch (MSB)"
endif
rgroup (ANC:0x0:0xEF600302+(0x100*2))++0x00
line.byte 0x00 "UART0_IIR,UART 2 Interrupt Identification Register"
bitfld.byte 0x00 6.--7. "     FE     ,FIFO Control Indicator" "-,Reserved,Reserved,Enabled"
bitfld.byte 0x00 1.--3. "         INTID  ,Interrupt Priority Level" "Level 4,Level 3,Level 2,Level 1,Reserved,Reserved,Level 2,Reserved"
bitfld.byte 0x00 0. "     INTP   ,Interrupt Pending" "Pending,-"
wgroup (ANC:0x0:0xEF600302+(0x100*2))++0x00
line.byte 0x00 "UART0_FCR,UART 2 FIFO Control Register"
bitfld.byte 0x00 6.--7. "     RFTL   ,Receiver FIFO Trigger Level" "01 byte,16 bytes,32 bytes,56 bytes"
bitfld.byte 0x00 3. "         DMS    ,DMA Mode Select" "Single,Multiple"
bitfld.byte 0x00 2. "     TFR    ,Transmitter FIFO Reset" "-,Reset"
bitfld.byte 0x00 1. "        RFR    ,Receiver FIFO Reset" "-,Reset"
textline "                    "
bitfld.byte 0x00 0. " FE     ,FIFO Enable" "-,Enabled"
if ((data.byte(ANC:0x0:0xEF600303+(0x100*2))&0x03)==0x00)
group (ANC:0x0:0xEF600303+(0x100*2))++0x00
line.byte 0x00 "UART0_LCR,UART 2 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR THR IER,Divisor Latches"
bitfld.byte 0x00 6. "  SB     ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "      SP     ,Sticky Parity" "-,Enabled"
bitfld.byte 0x00 4. "      EPS    ,Even Parity Select" "Odd,Even"
textline "                    "
bitfld.byte 0x00 3. " PEN    ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "          SBS    ,Stop Bit Select" "1 bit,1.5 bits"
bitfld.byte 0x00 0.--1. "     WLS    ,Word Length Select Bits" "5-bit,6-bit,7-bit,8-bit"
else
group (ANC:0x0:0xEF600303+(0x100*2))++0x00
line.byte 0x00 "UART0_LCR,UART 2 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR THR IER,Divisor Latches"
bitfld.byte 0x00 6. "  SB     ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "      SP     ,Sticky Parity" "-,Enabled"
bitfld.byte 0x00 4. "      EPS    ,Even Parity Select" "Odd,Even"
textline "                    "
bitfld.byte 0x00 3. " PEN    ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "          SBS    ,Stop Bit Select" "1 bit,2 bits  "
bitfld.byte 0x00 0.--1. "     WLS    ,Word Length Select Bits" "5-bit,6-bit,7-bit,8-bit"
endif
group (ANC:0x0:0xEF600304+(0x100*2))++0x03
line.byte 0x00 "UART0_MCR,UART 2 Modem Control Register"
bitfld.byte 0x00 5. "     AFC    ,Auto Flow Control" "-,Enabled"
bitfld.byte 0x00 4. "          LOOP   ,Loopback Mode" "-,Enabled"
bitfld.byte 0x00 3. "      OUT2   ,User Output 2" "Inactive(H),Active(L)"
bitfld.byte 0x00 2. "  OUT1   ,User Output 1" "Inactive(H),Active(L)"
textline "                    "
bitfld.byte 0x00 1. " RTS    ,Request To Send" "Inactive(H),Active(L)"
bitfld.byte 0x00 0. "      DTR    ,Data Terminal Ready" "Inactive(H),Active(L)"
line.byte 0x01 "UART0_LSR,UART 2 Line Status Register"
bitfld.byte 0x01 7. "     RFE    ,Receiver FIFO Error Indicator" "-,Error"
bitfld.byte 0x01 6. "            TEMT   ,Transmitter Empty Indicator" "Not empty,Empty"
bitfld.byte 0x01 5. "    THRE   ,Transmitter Holding Register Empty Indicator" "Not empty,Empty"
bitfld.byte 0x01 4. "    BI     ,Break Interrupt Indicator" "-,Occurred"
textline "                    "
bitfld.byte 0x01 3. " FE     ,Framing Error Indicator" "-,Error"
bitfld.byte 0x01 2. "            PE     ,Parity Error Indicator" "-,Error"
bitfld.byte 0x01 1. "        OE     ,Overrun Error Indicator" "-,Error"
bitfld.byte 0x01 0. "        DR     ,Receiver Data Ready Indicator" "Not ready,Ready"
line.byte 0x02 "UART0_MSR,UART 2 Modem Status Register"
bitfld.byte 0x02 7. "     DCD    ,Data Carrier Detect" "Not detected ,Detected"
bitfld.byte 0x02 6. "    RI     ,Ring Indicator" "Not rang,Rang"
bitfld.byte 0x02 5. "     DSR    ,Data Set Ready" "Not ready,Ready"
bitfld.byte 0x02 4. "    CTS    ,Clear To Send" "Not clear,Clear"
textline "                    "
bitfld.byte 0x02 3. " DDCD   ,Delta Data Carrier Detect" "Not detected ,Detected"
bitfld.byte 0x02 2. "    TERI   ,Trailing Edge of Ring Indicator" "Not rang,Rang"
bitfld.byte 0x02 1. "     DDSR   ,Delta Data Set Ready" "Not ready,Ready"
bitfld.byte 0x02 0. "    DCTS   ,Delta Clear To Send" "Not clear,Clear"
line.byte 0x03 "UART0_SCR,UART 2 Scratch Register"
width 0x0B
tree.end
tree "UART 3"
width 0x0B
group.long dcr:0x000F++0x00
out dcr:0x000E %l (0x0120+3)
line.long 0x00 "SDR0_UART3,UART Configuration Register 3"
bitfld.long 0x00 28.--31. " U3ICS ,UART 3 Internal Clock Source" "Reserved,Reserved,PLB,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 23. "         U3EC  ,UART 3 EXT Clock Enable" "Internal,External"
bitfld.long 0x00 22. "     U3DTE ,UART 3 DMA Transmit Enable" "-,Enabled"
bitfld.long 0x00 21. "      U3DRE ,UART 3 DMA Receive Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 20. " U3DC  ,UART 3 DMA Clear" "No clear,Clear"
hexmask.long. 0x00 0.--7. 1. "         U3DIV ,UART 3 Divider"
if ((data.byte(ANC:0x0:0xEF600303+(0x100*3))&0x80)==0x00)
wgroup (ANC:0x0:0xEF600300+(0x100*3))++0x00
hide.byte 0x00 "UART0_RBR,UART 3 Receiver Buffer Register"
in
line.byte 0x00 "UART0_THR,UART 3 Transmitter Holding Register"
group (ANC:0x0:0xEF600301+(0x100*3))++0x00
line.byte 0x00 "UART0_IER,UART 3 Interrupt Enable Register"
bitfld.byte 0x00 3. "     EDSSI  ,Modem Status Interrupt" "-,Enabled"
bitfld.byte 0x00 2. "          ELSI   ,Receiver Line Status Interrupt enable" "-,Enabled"
bitfld.byte 0x00 1. "      ETBEI  ,Transmitter Holding Register Empty Interrupt" "-,Enabled"
bitfld.byte 0x00 0. "      ERBFI  ,Received Data Available Interrupt enable" "-,Enabled"
else
group (ANC:0x0:0xEF600300+(0x100*3))++0x01
line.byte 0x00 "UART0_DLL,UART 3 Divisor Latch (LSB)"
line.byte 0x01 "UART0_DLM,UART 3 Divisor Latch (MSB)"
endif
rgroup (ANC:0x0:0xEF600302+(0x100*3))++0x00
line.byte 0x00 "UART0_IIR,UART 3 Interrupt Identification Register"
bitfld.byte 0x00 6.--7. "     FE     ,FIFO Control Indicator" "-,Reserved,Reserved,Enabled"
bitfld.byte 0x00 1.--3. "         INTID  ,Interrupt Priority Level" "Level 4,Level 3,Level 2,Level 1,Reserved,Reserved,Level 2,Reserved"
bitfld.byte 0x00 0. "     INTP   ,Interrupt Pending" "Pending,-"
wgroup (ANC:0x0:0xEF600302+(0x100*3))++0x00
line.byte 0x00 "UART0_FCR,UART 3 FIFO Control Register"
bitfld.byte 0x00 6.--7. "     RFTL   ,Receiver FIFO Trigger Level" "01 byte,16 bytes,32 bytes,56 bytes"
bitfld.byte 0x00 3. "         DMS    ,DMA Mode Select" "Single,Multiple"
bitfld.byte 0x00 2. "     TFR    ,Transmitter FIFO Reset" "-,Reset"
bitfld.byte 0x00 1. "        RFR    ,Receiver FIFO Reset" "-,Reset"
textline "                    "
bitfld.byte 0x00 0. " FE     ,FIFO Enable" "-,Enabled"
if ((data.byte(ANC:0x0:0xEF600303+(0x100*3))&0x03)==0x00)
group (ANC:0x0:0xEF600303+(0x100*3))++0x00
line.byte 0x00 "UART0_LCR,UART 3 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR THR IER,Divisor Latches"
bitfld.byte 0x00 6. "  SB     ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "      SP     ,Sticky Parity" "-,Enabled"
bitfld.byte 0x00 4. "      EPS    ,Even Parity Select" "Odd,Even"
textline "                    "
bitfld.byte 0x00 3. " PEN    ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "          SBS    ,Stop Bit Select" "1 bit,1.5 bits"
bitfld.byte 0x00 0.--1. "     WLS    ,Word Length Select Bits" "5-bit,6-bit,7-bit,8-bit"
else
group (ANC:0x0:0xEF600303+(0x100*3))++0x00
line.byte 0x00 "UART0_LCR,UART 3 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR THR IER,Divisor Latches"
bitfld.byte 0x00 6. "  SB     ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "      SP     ,Sticky Parity" "-,Enabled"
bitfld.byte 0x00 4. "      EPS    ,Even Parity Select" "Odd,Even"
textline "                    "
bitfld.byte 0x00 3. " PEN    ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "          SBS    ,Stop Bit Select" "1 bit,2 bits  "
bitfld.byte 0x00 0.--1. "     WLS    ,Word Length Select Bits" "5-bit,6-bit,7-bit,8-bit"
endif
group (ANC:0x0:0xEF600304+(0x100*3))++0x03
line.byte 0x00 "UART0_MCR,UART 3 Modem Control Register"
bitfld.byte 0x00 5. "     AFC    ,Auto Flow Control" "-,Enabled"
bitfld.byte 0x00 4. "          LOOP   ,Loopback Mode" "-,Enabled"
bitfld.byte 0x00 3. "      OUT2   ,User Output 2" "Inactive(H),Active(L)"
bitfld.byte 0x00 2. "  OUT1   ,User Output 1" "Inactive(H),Active(L)"
textline "                    "
bitfld.byte 0x00 1. " RTS    ,Request To Send" "Inactive(H),Active(L)"
bitfld.byte 0x00 0. "      DTR    ,Data Terminal Ready" "Inactive(H),Active(L)"
line.byte 0x01 "UART0_LSR,UART 3 Line Status Register"
bitfld.byte 0x01 7. "     RFE    ,Receiver FIFO Error Indicator" "-,Error"
bitfld.byte 0x01 6. "            TEMT   ,Transmitter Empty Indicator" "Not empty,Empty"
bitfld.byte 0x01 5. "    THRE   ,Transmitter Holding Register Empty Indicator" "Not empty,Empty"
bitfld.byte 0x01 4. "    BI     ,Break Interrupt Indicator" "-,Occurred"
textline "                    "
bitfld.byte 0x01 3. " FE     ,Framing Error Indicator" "-,Error"
bitfld.byte 0x01 2. "            PE     ,Parity Error Indicator" "-,Error"
bitfld.byte 0x01 1. "        OE     ,Overrun Error Indicator" "-,Error"
bitfld.byte 0x01 0. "        DR     ,Receiver Data Ready Indicator" "Not ready,Ready"
line.byte 0x02 "UART0_MSR,UART 3 Modem Status Register"
bitfld.byte 0x02 7. "     DCD    ,Data Carrier Detect" "Not detected ,Detected"
bitfld.byte 0x02 6. "    RI     ,Ring Indicator" "Not rang,Rang"
bitfld.byte 0x02 5. "     DSR    ,Data Set Ready" "Not ready,Ready"
bitfld.byte 0x02 4. "    CTS    ,Clear To Send" "Not clear,Clear"
textline "                    "
bitfld.byte 0x02 3. " DDCD   ,Delta Data Carrier Detect" "Not detected ,Detected"
bitfld.byte 0x02 2. "    TERI   ,Trailing Edge of Ring Indicator" "Not rang,Rang"
bitfld.byte 0x02 1. "     DDSR   ,Delta Data Set Ready" "Not ready,Ready"
bitfld.byte 0x02 0. "    DCTS   ,Delta Clear To Send" "Not clear,Clear"
line.byte 0x03 "UART0_SCR,UART 3 Scratch Register"
width 0x0B
tree.end
endif
tree "UART 0"
sif ((cpu()=="PPC440EPX")||(cpu()=="PPC440GRX"))
base ANC:0x1:0xef600300
width 11.
group.long dcr:0x000F++0x00
saveout dcr:0x000E %l (0x0120+0)
line.long 0x00 "SDR0_UART0,UART Configuration Register 0"
bitfld.long 0x00 28.--31. " U0ICS ,UART 0 Internal Clock Source" "Reserved,Reserved,PLB,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 23. "         U0EC ,UART 0 EXT Clock Enable" "Internal,External"
bitfld.long 0x00 22. "       U0DTE ,UART 0 DMA Transmit Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 21. " U0DRE ,UART 0 DMA Receive Enable" "-,Enabled"
bitfld.long 0x00 20. "          U0DC ,UART 0 DMA Clear" "-,Cleared"
hexmask.long.byte 0x00 0.--7. 1. "        U0DIV ,UART 0 Divider"
if ((data.byte(ANC:0x1:0xEF600303+(0x100*0))&0x80)==0x00)
rgroup 0x00++0x00
hide.byte 0x00 "UART0_RBR,UART 0 Receiver Buffer Register"
in
wgroup 0x00++0x00
line.byte 0x00 "UART0_THR,UART 0 Transmitter Holding Register"
group 0x01++0x00
line.byte 0x00 "UART0_IER,UART 0 Interrupt Enable Register"
bitfld.byte 0x00 3. "     EDSSI  ,Modem Status Interrupt" "-,Enabled"
bitfld.byte 0x00 2. "          ELSI  ,Receiver Line Status Interrupt Enable" "-,Enabled"
bitfld.byte 0x00 1. "        ETBEI  ,Transmitter Holding Register Empty Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.byte 0x00 0. " ERBFI  ,Received Data Available Interrupt Enable" "-,Enabled"
else
group 0x00++0x01
line.byte 0x00 "UART0_DLL,UART 0 Divisor Latch (LSB) Register"
line.byte 0x01 "UART0_DLM,UART 0 Divisor Latch (MSB) Register"
endif
rgroup 0x02++0x00
line.byte 0x00 "UART0_IIR,UART 0 Interrupt Identification Register"
bitfld.byte 0x00 6.--7. "     FE     ,FIFO Control Indicator" "-,Reserved,Reserved,Enabled"
bitfld.byte 0x00 1.--3. "         INTID ,Interrupt Priority Level" "Level 4,Level 3,Level 2,Level 1,Reserved,Reserved,Level 2,Reserved"
bitfld.byte 0x00 0. "       INTP   ,Interrupt Pending" "Pending,-"
wgroup 0x02++0x00
line.byte 0x00 "UART0_FCR,UART 0 FIFO Control Register"
bitfld.byte 0x00 6.--7. "     RFTL   ,Receiver FIFO Trigger Level" "1 byte,16 bytes,32 bytes,56 bytes"
bitfld.byte 0x00 3. "         DMS   ,DMA Mode Select" "Single,Multiple"
bitfld.byte 0x00 2. "       TFR    ,Transmitter FIFO Reset" "-,Reset"
textline "                    "
bitfld.byte 0x00 1. " RFR    ,Receiver FIFO Reset" "-,Reset"
bitfld.byte 0x00 0. "            FE    ,FIFO Enable" "-,Enabled"
if (((data.byte(ANC:0x1:0xEF600303+(0x100*0))&0x03)==0x00)&&(((data.byte(ANC:0x1:0xEF600303+(0x100*0))&0x08)==0x08)))
group 0x03++0x00
line.byte 0x00 "UART0_LCR,UART 0 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR/THR/IER,Divisor Latches"
bitfld.byte 0x00 6. "  SB    ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "        SP     ,Sticky Parity" "-,Enabled"
textline "                    "
bitfld.byte 0x00 4. " EPS    ,Even Parity Select" "Odd,Even"
bitfld.byte 0x00 3. "             PEN   ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "        SBS    ,Stop Bit Select" "1 bit,1.5 bits"
textline "                    "
bitfld.byte 0x00 0.--1. " WLS    ,Word Length Select Bits" "5-bit,6-bit,7-bit,8-bit"
elif ((((data.byte(ANC:0x1:0xEF600303+(0x100*0))&0x03)==0x01)||((data.byte(ANC:0x1:0xEF600303+(0x100*0))&0x03)==0x02)||((data.byte(ANC:0x1:0xEF600303+(0x100*0))&0x03)==0x03))&&(((data.byte(ANC:0x1:0xEF600303+(0x100*0))&0x08)==0x08)))
group 0x03++0x00
line.byte 0x00 "UART0_LCR,UART 0 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR/THR/IER,Divisor Latches"
bitfld.byte 0x00 6. "  SB    ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "        SP     ,Sticky Parity" "-,Enabled"
textline "                    "
bitfld.byte 0x00 4. " EPS    ,Even Parity Select" "Odd,Even"
bitfld.byte 0x00 3. "             PEN   ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "        SBS    ,Stop Bit Select" "1 bit,2 bits"
textline "                    "
bitfld.byte 0x00 0.--1. " WLS    ,Word Length Select Bits" "5-bit,6-bit,7-bit,8-bit"
elif ((((data.byte(ANC:0x1:0xEF600303+(0x100*0))&0x03)==0x01)||((data.byte(ANC:0x1:0xEF600303+(0x100*0))&0x03)==0x02)||((data.byte(ANC:0x1:0xEF600303+(0x100*0))&0x03)==0x03))&&(((data.byte(ANC:0x1:0xEF600303+(0x100*0))&0x08)==0x00)))
group 0x03++0x00
line.byte 0x00 "UART0_LCR,UART 0 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR/THR/IER,Divisor Latches"
bitfld.byte 0x00 6. "  SB    ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "        SP     ,Sticky Parity" "-,Enabled"
textline "                    "
bitfld.byte 0x00 3. "                         PEN   ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "        SBS    ,Stop Bit Select" "1 bit,2 bits"
textline "                    "
bitfld.byte 0x00 0.--1. " WLS    ,Word Length Select Bits" "5-bit,6-bit,7-bit,8-bit"
else
group 0x03++0x00
line.byte 0x00 "UART0_LCR,UART 0 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR/THR/IER,Divisor Latches"
bitfld.byte 0x00 6. "  SB    ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "        SP     ,Sticky Parity" "-,Enabled"
textline "                    "
bitfld.byte 0x00 3. "                         PEN   ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "        SBS    ,Stop Bit Select" "1 bit,1.5 bits"
textline "                    "
bitfld.byte 0x00 0.--1. " WLS    ,Word Length Select Bits" "5-bit,6-bit,7-bit,8-bit"
endif
group 0x04++0x00
line.byte 0x00 "UART0_MCR,UART 0 Modem Control Register"
bitfld.byte 0x00 5. "     AFC    ,Auto Flow Control" "-,Enabled"
bitfld.byte 0x00 4. "          LOOP  ,Loopback Mode" "-,Enabled"
bitfld.byte 0x00 3. "        OUT2   ,User Output 2" "Inactive(H),Active(L)"
textline "                    "
bitfld.byte 0x00 2. " OUT1   ,User Output 1" "Inactive(H),Active(L)"
bitfld.byte 0x00 1. "      RTS   ,Request To Send" "Inactive(H),Active(L)"
bitfld.byte 0x00 0. "    DTR    ,Data Terminal Ready" "Inactive(H),Active(L)"
rgroup 0x05++0x0
line.byte 0x00 "UART0_LSR,UART 0 Line Status Register"
bitfld.byte 0x00 7. "     RFE    ,Receiver FIFO Error Indicator" "-,Error"
bitfld.byte 0x00 6. "            TEMT  ,Transmitter Empty Indicator" "-,Empty"
bitfld.byte 0x00 5. "          THRE   ,Transmitter Holding Register Empty Indicator" "-,Empty"
textline "                    "
bitfld.byte 0x00 4. " BI     ,Break Interrupt Indicator" "-,Occurred"
bitfld.byte 0x00 3. "         FE    ,Framing Error Indicator" "-,Error"
bitfld.byte 0x00 2. "          PE     ,Parity Error Indicator" "-,Error"
textline "                    "
bitfld.byte 0x00 1. " OE     ,Overrun Error Indicator" "-,Error"
bitfld.byte 0x00 0. "            DR    ,Receiver Data Ready Indicator" "-,Ready"
group 0x06++0x1    
line.byte 0x00 "UART0_MSR,UART 0 Modem Status Register"
bitfld.byte 0x00 7. "     DCD    ,Data Carrier Detect" "-,Detected"
bitfld.byte 0x00 6. "         RI    ,Ring Indicator" "-,Rang"
bitfld.byte 0x00 5. "           DSR    ,Data Set Ready" "-,Ready"
textline "                    "
bitfld.byte 0x00 4. " CTS    ,Clear To Send" "-,Clear"
bitfld.byte 0x00 3. "            DDCD  ,Delta Data Carrier Detect" "-,Changed"
bitfld.byte 0x00 2. "        TERI   ,Trailing Edge of Ring Indicator" "-,Changed"
textline "                    "
bitfld.byte 0x00 1. " DDSR   ,Delta Data Set Ready" "-,Changed"
bitfld.byte 0x00 0. "          DCTS  ,Delta Clear To Send" "-,Changed"
line.byte 0x01 "UART0_SCR,UART 0 Scratch Register"
elif (cpu()=="PPC440GR")
base ANC:0x0:0xef600300
width 11.
group.long dcr:0x000F++0x00
saveout dcr:0x000E %l (0x0120+0)
line.long 0x00 "SDR0_UART0,UART Configuration Register 0"
bitfld.long 0x00 28.--31. " U0ICS ,UART 0 Internal Clock Source" "Reserved,Reserved,PLB,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 23. "         U0EC ,UART 0 EXT Clock Enable" "Internal,External"
bitfld.long 0x00 22. "       U0DTE ,UART 0 DMA Transmit Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 21. " U0DRE ,UART 0 DMA Receive Enable" "-,Enabled"
bitfld.long 0x00 20. "          U0DC ,UART 0 DMA Clear" "-,Cleared"
hexmask.long.byte 0x00 0.--7. 1. "        U0DIV ,UART 0 Divider"
if ((data.byte(ANC:0x0:0xEF600303+(0x100*0))&0x80)==0x00)
rgroup 0x00++0x00
hide.byte 0x00 "UART0_RBR,UART 0 Receiver Buffer Register"
in
wgroup 0x00++0x00
line.byte 0x00 "UART0_THR,UART 0 Transmitter Holding Register"
group 0x01++0x00
line.byte 0x00 "UART0_IER,UART 0 Interrupt Enable Register"
bitfld.byte 0x00 3. "     EDSSI  ,Modem Status Interrupt" "-,Enabled"
bitfld.byte 0x00 2. "         ELSI  ,Receiver Line Status Interrupt Enable" "-,Enabled"
bitfld.byte 0x00 1. "       ETBEI  ,Transmitter Holding Register Empty Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.byte 0x00 0. " ERBFI  ,Received Data Available Interrupt Enable" "-,Enabled"
else
group 0x00++0x01
line.byte 0x00 "UART0_DLL,UART 0 Divisor Latch (LSB) Register"
line.byte 0x01 "UART0_DLM,UART 0 Divisor Latch (MSB) Register"
endif
rgroup 0x02++0x00
line.byte 0x00 "UART0_IIR,UART 0 Interrupt Identification Register"
bitfld.byte 0x00 6.--7. "     FE     ,FIFO Control Indicator" "-,Reserved,Reserved,Enabled"
bitfld.byte 0x00 1.--3. "        INTID ,Interrupt Priority Level" "Level 4,Level 3,Level 2,Level 1,Reserved,Reserved,Level 2,Reserved"
bitfld.byte 0x00 0. "      INTP   ,Interrupt Pending" "Pending,-"
wgroup 0x02++0x00
line.byte 0x00 "UART0_FCR,UART 0 FIFO Control Register"
bitfld.byte 0x00 6.--7. "     RFTL   ,Receiver FIFO Trigger Level" "1 byte,16 bytes,32 bytes,56 bytes"
bitfld.byte 0x00 3. "        DMS   ,DMA Mode Select" "Single,Multiple"
bitfld.byte 0x00 2. "      TFR    ,Transmitter FIFO Reset" "-,Reset"
textline "                    "
bitfld.byte 0x00 1. " RFR    ,Receiver FIFO Reset" "-,Reset"
bitfld.byte 0x00 0. "           FE    ,FIFO Enable" "-,Enabled"
if ((data.byte(ANC:0x0:0xEF600303+(0x100*0))&0x03)==0x00)
group 0x03++0x00
line.byte 0x00 "UART0_LCR,UART 0 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR/THR/IER,Divisor Latches"
bitfld.byte 0x00 6. " SB    ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "       SP     ,Sticky Parity" "-,Enabled"
textline "                    "
bitfld.byte 0x00 4. " EPS    ,Even Parity Select" "Odd,Even"
bitfld.byte 0x00 3. "            PEN   ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "       SBS    ,Stop Bit Select" "1 bit,1.5 bits"
textline "                    "
bitfld.byte 0x00 0.--1. " WLS    ,Word Length Select Bits" "5-bit,6-bit,7-bit,8-bit"
else
group 0x03++0x00
line.byte 0x00 "UART0_LCR,UART 0 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR/THR/IER,Divisor Latches"
bitfld.byte 0x00 6. " SB    ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "       SP     ,Sticky Parity" "-,Enabled"
textline "                    "
bitfld.byte 0x00 4. " EPS    ,Even Parity Select" "Odd,Even"
bitfld.byte 0x00 3. "            PEN   ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "       SBS    ,Stop Bit Select" "1 bit,2 bits  "
textline "                    "
bitfld.byte 0x00 0.--1. " WLS    ,Word Length Select Bits" "5-bit,6-bit,7-bit,8-bit"
endif
group 0x04++0x03
line.byte 0x00 "UART0_MCR,UART 0 Modem Control Register"
bitfld.byte 0x00 5. "     AFC    ,Auto Flow Control" "-,Enabled"
bitfld.byte 0x00 4. "         LOOP  ,Loopback Mode" "-,Enabled"
bitfld.byte 0x00 3. "       OUT2   ,User Output 2" "Inactive(H),Active(L)"
textline "                    "
bitfld.byte 0x00 2. " OUT1   ,User Output 1" "Inactive(H),Active(L)"
bitfld.byte 0x00 1. "     RTS   ,Request To Send" "Inactive(H),Active(L)"
bitfld.byte 0x00 0. "   DTR    ,Data Terminal Ready" "Inactive(H),Active(L)"
line.byte 0x01 "UART0_LSR,UART 0 Line Status Register"
bitfld.byte 0x01 7. "     RFE    ,Receiver FIFO Error Indicator" "-,Error"
bitfld.byte 0x01 6. "           TEMT  ,Transmitter Empty Indicator" "-,Empty"
bitfld.byte 0x01 5. "         THRE   ,Transmitter Holding Register Empty Indicator" "-,Empty"
textline "                    "
bitfld.byte 0x01 4. " BI     ,Break Interrupt Indicator" "-,Occurred"
bitfld.byte 0x01 3. "        FE    ,Framing Error Indicator" "-,Error"
bitfld.byte 0x01 2. "         PE     ,Parity Error Indicator" "-,Error"
textline "                    "
bitfld.byte 0x01 1. " OE     ,Overrun Error Indicator" "-,Error"
bitfld.byte 0x01 0. "           DR    ,Receiver Data Ready Indicator" "-,Ready"
line.byte 0x02 "UART0_MSR,UART 0 Modem Status Register"
bitfld.byte 0x02 7. "     DCD    ,Data Carrier Detect" "-,Detected"
bitfld.byte 0x02 6. "        RI    ,Ring Indicator" "-,Rang"
bitfld.byte 0x02 5. "          DSR    ,Data Set Ready" "-,Ready"
textline "                    "
bitfld.byte 0x02 4. " CTS    ,Clear To Send" "-,Clear"
bitfld.byte 0x02 3. "           DDCD  ,Delta Data Carrier Detect" "-,Detected"
bitfld.byte 0x02 2. "      TERI   ,Trailing Edge of Ring Indicator" "-,Rang"
textline "                    "
bitfld.byte 0x02 1. " DDSR   ,Delta Data Set Ready" "-,Ready"
bitfld.byte 0x02 0. "           DCTS  ,Delta Clear To Send" "-,Clear"
line.byte 0x03 "UART0_SCR,UART 0 Scratch Register"
elif ((cpu()=="PPC440SP")||(cpu()=="PPC440SPE"))
;UART Serial Port Operations
width 11.
group dcr:0x00F++0x03
saveout dcr:0x00E %l 0x120
line.long 0x00 "SDR0_UART0,UART 0 Configuration Register"
bitfld.long 0x00 28.--31. " U0ICS ,UART 0 Internal Clock Source" "Reserved,Reserved,PLB,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 23. "     U0EC ,UART 0 EXT Clock Enable" "Internal,External"
hexmask.long.byte 0x00 0.--7. 1. "   U0DIV ,UART 0 Divider"
SIF (cpu()=="PPC440SP")
base ad:0x1:0xF0000000
ENDIF
SIF (cpu()=="PPC440SPE")
base ad:0x4:0xf0000000
ENDIF
if ((data.byte(ad:0x00:1F0000203+(0x100*0))&0x80)==0x00)
rgroup (0x200+(0x100*0))++0x00
hide.byte 0x00 "UART0_RBR,UART 0 Receiver Buffer Register"
in
wgroup (0x200+(0x100*0))++0x00
line.byte 0x00 "UART0_THR,UART 0 Transmitter Holding Register"
group (0x201+(0x100*0))++0x00
line.byte 0x00 "UART0_IER,UART 0 Interrupt Enable Register"
bitfld.byte 0x00 3. "     EDSSI  ,Modem Status Interrupt" "-,Enabled"
bitfld.byte 0x00 2. "      ELSI  ,Receiver Line Status Interrupt Enable" "-,Enabled"
bitfld.byte 0x00 1. "    ETBEI  ,Transmiter Holding Register Empty Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.byte 0x00 0. " ERBFI  ,Received Data Available Interrupt Enable" "-,Enabled"
else
group (0x200+(0x100*0))++0x01
line.byte 0x00 "UART0_DLL,UART0 Divisor Latch (LSB)"
line.byte 0x01 "UART0_DLM,UART0 Divisor Latch (MSB)"
endif
rgroup (0x202+(0x100*0))++0x00
line.byte 0x00 "UART0_IIR,UART 0 Interrupt Identyfication Register"
bitfld.byte 0x00 6.--7. "     FCI    ,FIFO Control Indicator" "-,Reserved,Reserved,Enabled"
bitfld.byte 0x00 1.--3. "     IPL   ,Interrupt Priority Level" "4,3,2,1,Reserved,Reserved,2,Reserved"
bitfld.byte 0x00 0. "   IP     ,Interrupt Pending" "Pending,-"
wgroup (0x202+(0x100*0))++0x00
line.byte 0x00 "UART0_FCR,UART 0 FIFO Control Register"
bitfld.byte 0x00 6.--7. "     RFTL   ,Receive FIFO Trigger Level" "1B,16B,32B,56B"
bitfld.byte 0x00 3. "          DMS   ,DMA Mode Select" "Single,Multiple"
bitfld.byte 0x00 2. "   TFR    ,Transmitter FIFO Reset" "-,Reset"
textline "                    "
bitfld.byte 0x00 1. " RFR    ,Receiver FIFO Reset" "-,Reset"
bitfld.byte 0x00 0. "        FE    ,FIFO Enable" "-,Enabled"
group (0x203+(0x100*0))++0x00
line.byte 0x00    "UART0_LCR,UART 0 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR/THR/IER,DLL/DLM"
bitfld.byte 0x00 6. "  SB    ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "    SP     ,Sticky Parity" "-,Enabled"
textline "                    "
bitfld.byte 0x00 4. " EPS    ,Even Parity Select" "Odd,Even"
bitfld.byte 0x00 3. "         PEN   ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "    SBS    ,Stop Bit Select" "1 bit,1.5/2 bits"
textline "                    "
bitfld.byte 0x00 0.--1. " WLS    ,Word Length Select Bits" "5bit,6bit,7bit,8bit"
group (0x204+(0x100*0))++0x00
line.byte 0x00 "UART0_MCR,UART 0 Modem Control Register"
bitfld.byte 0x00 5. "     AFC    ,Auto Flow Control" "-,Enabled"
bitfld.byte 0x00 4. "      LOOP  ,Loopback Mode" "-,Enabled"
bitfld.byte 0x00 3. "    OUT2   ,User Output 2" "Inactive,Active"
textline "                    "
bitfld.byte 0x00 2. " OUT1   ,User Output 1" "Inactive,Active"
bitfld.byte 0x00 1. "     RTS   ,Request To Send" "Inactive,Active"
bitfld.byte 0x00 0. "   DTR    ,Data Terminal Ready" "Inactive,Active"
group (0x205+(0x100*0))++0x00
line.byte 0x00 "UART0_LSR,UART 0 Line Status Register"
bitfld.byte 0x00 7. "     RFE    ,Receiver FIFO Error Inticator" "-,Error"
bitfld.byte 0x00 6. "        TEMT  ,Transmitter Empty Indicator" "Not empty,Empty"
bitfld.byte 0x00 5. "  THRE   ,Transmitter Holdint Register Empty Indicator" "Not empty,Empty"
textline "                    "
bitfld.byte 0x00 4. " BI     ,Break Interrupt Indicator" "-,Interrupt"
bitfld.byte 0x00 3. "    FE    ,Framing Error Indicator" "-,Error"
bitfld.byte 0x00 2. "      PE     ,Parity Error Indicator" "-,Error"
textline "                    "
bitfld.byte 0x00 1. " OE     ,Overrun Error Indicator" "-,Error"
bitfld.byte 0x00 0. "        DR    ,Receiver Data Ready Indicator" "Not ready,Ready"
group (0x206+(0x100*0))++0x00
line.byte 0x00 "UART0_MSR,UART 0 Modem Status Register"
bitfld.byte 0x00 7. "     DCD    ,Data Carrier Detect" "-,Detected"
bitfld.byte 0x00 6. "     RI    ,Ring Indicator" "-,Ring"
bitfld.byte 0x00 5. "       DSR    ,Data Set Ready" "-,Ready"
textline "                    "
bitfld.byte 0x00 4. " CTS    ,Clear To Send" "0,1"
bitfld.byte 0x00 3. "            DDCD  ,Delta Data Carrier Detect" "-,Detected"
bitfld.byte 0x00 2. "   TERI   ,Trailing Edge of Ring Indicator" "-,Ring"
textline "                    "
bitfld.byte 0x00 1. " DDSR   ,Delta Data Set Ready" "-,Ready"
bitfld.byte 0x00 0. "        DCTS  ,Delta Clear To Send" "0,1"
group (0x207+(0x100*0))++0x00
line.byte 0x00 "UART0_SCR,UART 0 Scratchpad Register"
width 0xB
endif
tree.end
tree "UART 1"
sif ((cpu()=="PPC440EPX")||(cpu()=="PPC440GRX"))
base ANC:0x1:0xef600400
width 11.
group.long dcr:0x000F++0x00
saveout dcr:0x000E %l (0x0120+1)
line.long 0x00 "SDR0_UART1,UART Configuration Register 1"
bitfld.long 0x00 28.--31. " U1ICS ,UART 1 Internal Clock Source" "Reserved,Reserved,PLB,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 23. "         U1EC ,UART 1 EXT Clock Enable" "Internal,External"
bitfld.long 0x00 22. "       U1DTE ,UART 1 DMA Transmit Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 21. " U1DRE ,UART 1 DMA Receive Enable" "-,Enabled"
bitfld.long 0x00 20. "          U1DC ,UART 1 DMA Clear" "-,Cleared"
hexmask.long.byte 0x00 0.--7. 1. "        U1DIV ,UART 1 Divider"
if ((data.byte(ANC:0x1:0xEF600303+(0x100*1))&0x80)==0x00)
rgroup 0x00++0x00
hide.byte 0x00 "UART1_RBR,UART 1 Receiver Buffer Register"
in
wgroup 0x00++0x00
line.byte 0x00 "UART1_THR,UART 1 Transmitter Holding Register"
group 0x01++0x00
line.byte 0x00 "UART1_IER,UART 1 Interrupt Enable Register"
bitfld.byte 0x00 3. "     EDSSI  ,Modem Status Interrupt" "-,Enabled"
bitfld.byte 0x00 2. "          ELSI  ,Receiver Line Status Interrupt Enable" "-,Enabled"
bitfld.byte 0x00 1. "        ETBEI  ,Transmitter Holding Register Empty Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.byte 0x00 0. " ERBFI  ,Received Data Available Interrupt Enable" "-,Enabled"
else
group 0x00++0x01
line.byte 0x00 "UART1_DLL,UART 1 Divisor Latch (LSB) Register"
line.byte 0x01 "UART1_DLM,UART 1 Divisor Latch (MSB) Register"
endif
rgroup 0x02++0x00
line.byte 0x00 "UART1_IIR,UART 1 Interrupt Identification Register"
bitfld.byte 0x00 6.--7. "     FE     ,FIFO Control Indicator" "-,Reserved,Reserved,Enabled"
bitfld.byte 0x00 1.--3. "         INTID ,Interrupt Priority Level" "Level 4,Level 3,Level 2,Level 1,Reserved,Reserved,Level 2,Reserved"
bitfld.byte 0x00 0. "       INTP   ,Interrupt Pending" "Pending,-"
wgroup 0x02++0x00
line.byte 0x00 "UART0_FCR,UART 1 FIFO Control Register"
bitfld.byte 0x00 6.--7. "     RFTL   ,Receiver FIFO Trigger Level" "1 byte,16 bytes,32 bytes,56 bytes"
bitfld.byte 0x00 3. "         DMS   ,DMA Mode Select" "Single,Multiple"
bitfld.byte 0x00 2. "       TFR    ,Transmitter FIFO Reset" "-,Reset"
textline "                    "
bitfld.byte 0x00 1. " RFR    ,Receiver FIFO Reset" "-,Reset"
bitfld.byte 0x00 0. "            FE    ,FIFO Enable" "-,Enabled"
if (((data.byte(ANC:0x1:0xEF600303+(0x100*1))&0x03)==0x00)&&(((data.byte(ANC:0x1:0xEF600303+(0x100*1))&0x08)==0x08)))
group 0x03++0x00
line.byte 0x00 "UART1_LCR,UART 1 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR/THR/IER,Divisor Latches"
bitfld.byte 0x00 6. "  SB    ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "        SP     ,Sticky Parity" "-,Enabled"
textline "                    "
bitfld.byte 0x00 4. " EPS    ,Even Parity Select" "Odd,Even"
bitfld.byte 0x00 3. "             PEN   ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "        SBS    ,Stop Bit Select" "1 bit,1.5 bits"
textline "                    "
bitfld.byte 0x00 0.--1. " WLS    ,Word Length Select Bits" "5-bit,6-bit,7-bit,8-bit"
elif ((((data.byte(ANC:0x1:0xEF600303+(0x100*1))&0x03)==0x01)||((data.byte(ANC:0x1:0xEF600303+(0x100*1))&0x03)==0x02)||((data.byte(ANC:0x1:0xEF600303+(0x100*1))&0x03)==0x03))&&(((data.byte(ANC:0x1:0xEF600303+(0x100*1))&0x08)==0x08)))
group 0x03++0x00
line.byte 0x00 "UART0_LCR,UART 1 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR/THR/IER,Divisor Latches"
bitfld.byte 0x00 6. "  SB    ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "        SP     ,Sticky Parity" "-,Enabled"
textline "                    "
bitfld.byte 0x00 4. " EPS    ,Even Parity Select" "Odd,Even"
bitfld.byte 0x00 3. "             PEN   ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "        SBS    ,Stop Bit Select" "1 bit,2 bits"
textline "                    "
bitfld.byte 0x00 0.--1. " WLS    ,Word Length Select Bits" "5-bit,6-bit,7-bit,8-bit"
elif ((((data.byte(ANC:0x1:0xEF600303+(0x100*1))&0x03)==0x01)||((data.byte(ANC:0x1:0xEF600303+(0x100*1))&0x03)==0x02)||((data.byte(ANC:0x1:0xEF600303+(0x100*1))&0x03)==0x03))&&(((data.byte(ANC:0x1:0xEF600303+(0x100*1))&0x08)==0x00)))
group 0x03++0x00
line.byte 0x00 "UART0_LCR,UART 1 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR/THR/IER,Divisor Latches"
bitfld.byte 0x00 6. "  SB    ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "        SP     ,Sticky Parity" "-,Enabled"
textline "                    "
bitfld.byte 0x00 3. "                         PEN   ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "        SBS    ,Stop Bit Select" "1 bit,2 bits"
textline "                    "
bitfld.byte 0x00 0.--1. " WLS    ,Word Length Select Bits" "5-bit,6-bit,7-bit,8-bit"
else
group 0x03++0x00
line.byte 0x00 "UART0_LCR,UART 1 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR/THR/IER,Divisor Latches"
bitfld.byte 0x00 6. "  SB    ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "        SP     ,Sticky Parity" "-,Enabled"
textline "                    "
bitfld.byte 0x00 3. "                         PEN   ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "        SBS    ,Stop Bit Select" "1 bit,1.5 bits"
textline "                    "
bitfld.byte 0x00 0.--1. " WLS    ,Word Length Select Bits" "5-bit,6-bit,7-bit,8-bit"
endif
group 0x04++0x00
line.byte 0x00 "UART0_MCR,UART 1 Modem Control Register"
bitfld.byte 0x00 5. "     AFC    ,Auto Flow Control" "-,Enabled"
bitfld.byte 0x00 4. "          LOOP  ,Loopback Mode" "-,Enabled"
bitfld.byte 0x00 3. "        OUT2   ,User Output 2" "Inactive(H),Active(L)"
textline "                    "
bitfld.byte 0x00 2. " OUT1   ,User Output 1" "Inactive(H),Active(L)"
bitfld.byte 0x00 1. "      RTS   ,Request To Send" "Inactive(H),Active(L)"
bitfld.byte 0x00 0. "    DTR    ,Data Terminal Ready" "Inactive(H),Active(L)"
rgroup 0x05++0x0
line.byte 0x00 "UART0_LSR,UART 1 Line Status Register"
bitfld.byte 0x00 7. "     RFE    ,Receiver FIFO Error Indicator" "-,Error"
bitfld.byte 0x00 6. "            TEMT  ,Transmitter Empty Indicator" "-,Empty"
bitfld.byte 0x00 5. "          THRE   ,Transmitter Holding Register Empty Indicator" "-,Empty"
textline "                    "
bitfld.byte 0x00 4. " BI     ,Break Interrupt Indicator" "-,Occurred"
bitfld.byte 0x00 3. "         FE    ,Framing Error Indicator" "-,Error"
bitfld.byte 0x00 2. "          PE     ,Parity Error Indicator" "-,Error"
textline "                    "
bitfld.byte 0x00 1. " OE     ,Overrun Error Indicator" "-,Error"
bitfld.byte 0x00 0. "            DR    ,Receiver Data Ready Indicator" "-,Ready"
group 0x06++0x1    
line.byte 0x00 "UART0_MSR,UART 1 Modem Status Register"
bitfld.byte 0x00 7. "     DCD    ,Data Carrier Detect" "-,Detected"
bitfld.byte 0x00 6. "         RI    ,Ring Indicator" "-,Rang"
bitfld.byte 0x00 5. "           DSR    ,Data Set Ready" "-,Ready"
textline "                    "
bitfld.byte 0x00 4. " CTS    ,Clear To Send" "-,Clear"
bitfld.byte 0x00 3. "            DDCD  ,Delta Data Carrier Detect" "-,Changed"
bitfld.byte 0x00 2. "        TERI   ,Trailing Edge of Ring Indicator" "-,Changed"
textline "                    "
bitfld.byte 0x00 1. " DDSR   ,Delta Data Set Ready" "-,Changed"
bitfld.byte 0x00 0. "          DCTS  ,Delta Clear To Send" "-,Changed"
line.byte 0x01 "UART0_SCR,UART 1 Scratch Register"
elif (cpu()=="PPC440GR")
base ANC:0x0:0xef600400
width 11.
group.long dcr:0x000F++0x00
saveout dcr:0x000E %l (0x0120+1)
line.long 0x00 "SDR0_UART1,UART Configuration Register 1"
bitfld.long 0x00 28.--31. " U1ICS ,UART 1 Internal Clock Source" "Reserved,Reserved,PLB,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 23. "         U1EC ,UART 1 EXT Clock Enable" "Internal,External"
bitfld.long 0x00 22. "       U1DTE ,UART 1 DMA Transmit Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 21. " U1DRE ,UART 1 DMA Receive Enable" "-,Enabled"
bitfld.long 0x00 20. "          U1DC ,UART 1 DMA Clear" "-,Cleared"
hexmask.long.byte 0x00 0.--7. 1. "        U1DIV ,UART 1 Divider"
if ((data.byte(ANC:0x0:0xEF600303+(0x100*1))&0x80)==0x00)
rgroup 0x00++0x00
hide.byte 0x00 "UART1_RBR,UART 1 Receiver Buffer Register"
in
wgroup 0x00++0x00
line.byte 0x00 "UART1_THR,UART 1 Transmitter Holding Register"
group 0x01++0x00
line.byte 0x00 "UART1_IER,UART 1 Interrupt Enable Register"
bitfld.byte 0x00 3. "     EDSSI  ,Modem Status Interrupt" "-,Enabled"
bitfld.byte 0x00 2. "         ELSI  ,Receiver Line Status Interrupt Enable" "-,Enabled"
bitfld.byte 0x00 1. "       ETBEI  ,Transmitter Holding Register Empty Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.byte 0x00 0. " ERBFI  ,Received Data Available Interrupt Enable" "-,Enabled"
else
group 0x00++0x01
line.byte 0x00 "UART1_DLL,UART 1 Divisor Latch (LSB) Register"
line.byte 0x01 "UART1_DLM,UART 1 Divisor Latch (MSB) Register"
endif
rgroup 0x02++0x00
line.byte 0x00 "UART1_IIR,UART 1 Interrupt Identification Register"
bitfld.byte 0x00 6.--7. "     FE     ,FIFO Control Indicator" "-,Reserved,Reserved,Enabled"
bitfld.byte 0x00 1.--3. "        INTID ,Interrupt Priority Level" "Level 4,Level 3,Level 2,Level 1,Reserved,Reserved,Level 2,Reserved"
bitfld.byte 0x00 0. "      INTP   ,Interrupt Pending" "Pending,-"
wgroup 0x02++0x00
line.byte 0x00 "UART0_FCR,UART 1 FIFO Control Register"
bitfld.byte 0x00 6.--7. "     RFTL   ,Receiver FIFO Trigger Level" "1 byte,16 bytes,32 bytes,56 bytes"
bitfld.byte 0x00 3. "        DMS   ,DMA Mode Select" "Single,Multiple"
bitfld.byte 0x00 2. "      TFR    ,Transmitter FIFO Reset" "-,Reset"
textline "                    "
bitfld.byte 0x00 1. " RFR    ,Receiver FIFO Reset" "-,Reset"
bitfld.byte 0x00 0. "           FE    ,FIFO Enable" "-,Enabled"
if ((data.byte(ANC:0x0:0xEF600303+(0x100*1))&0x03)==0x00)
group 0x03++0x00
line.byte 0x00 "UART1_LCR,UART 1 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR/THR/IER,Divisor Latches"
bitfld.byte 0x00 6. " SB    ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "       SP     ,Sticky Parity" "-,Enabled"
textline "                    "
bitfld.byte 0x00 4. " EPS    ,Even Parity Select" "Odd,Even"
bitfld.byte 0x00 3. "            PEN   ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "       SBS    ,Stop Bit Select" "1 bit,1.5 bits"
textline "                    "
bitfld.byte 0x00 0.--1. " WLS    ,Word Length Select Bits" "5-bit,6-bit,7-bit,8-bit"
else
group 0x03++0x00
line.byte 0x00 "UART0_LCR,UART 1 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR/THR/IER,Divisor Latches"
bitfld.byte 0x00 6. " SB    ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "       SP     ,Sticky Parity" "-,Enabled"
textline "                    "
bitfld.byte 0x00 4. " EPS    ,Even Parity Select" "Odd,Even"
bitfld.byte 0x00 3. "            PEN   ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "       SBS    ,Stop Bit Select" "1 bit,2 bits  "
textline "                    "
bitfld.byte 0x00 0.--1. " WLS    ,Word Length Select Bits" "5-bit,6-bit,7-bit,8-bit"
endif
group 0x04++0x03
line.byte 0x00 "UART0_MCR,UART 1 Modem Control Register"
bitfld.byte 0x00 5. "     AFC    ,Auto Flow Control" "-,Enabled"
bitfld.byte 0x00 4. "         LOOP  ,Loopback Mode" "-,Enabled"
bitfld.byte 0x00 3. "       OUT2   ,User Output 2" "Inactive(H),Active(L)"
textline "                    "
bitfld.byte 0x00 2. " OUT1   ,User Output 1" "Inactive(H),Active(L)"
bitfld.byte 0x00 1. "     RTS   ,Request To Send" "Inactive(H),Active(L)"
bitfld.byte 0x00 0. "   DTR    ,Data Terminal Ready" "Inactive(H),Active(L)"
line.byte 0x01 "UART0_LSR,UART 1 Line Status Register"
bitfld.byte 0x01 7. "     RFE    ,Receiver FIFO Error Indicator" "-,Error"
bitfld.byte 0x01 6. "           TEMT  ,Transmitter Empty Indicator" "-,Empty"
bitfld.byte 0x01 5. "         THRE   ,Transmitter Holding Register Empty Indicator" "-,Empty"
textline "                    "
bitfld.byte 0x01 4. " BI     ,Break Interrupt Indicator" "-,Occurred"
bitfld.byte 0x01 3. "        FE    ,Framing Error Indicator" "-,Error"
bitfld.byte 0x01 2. "         PE     ,Parity Error Indicator" "-,Error"
textline "                    "
bitfld.byte 0x01 1. " OE     ,Overrun Error Indicator" "-,Error"
bitfld.byte 0x01 0. "           DR    ,Receiver Data Ready Indicator" "-,Ready"
line.byte 0x02 "UART0_MSR,UART 1 Modem Status Register"
bitfld.byte 0x02 7. "     DCD    ,Data Carrier Detect" "-,Detected"
bitfld.byte 0x02 6. "        RI    ,Ring Indicator" "-,Rang"
bitfld.byte 0x02 5. "          DSR    ,Data Set Ready" "-,Ready"
textline "                    "
bitfld.byte 0x02 4. " CTS    ,Clear To Send" "-,Clear"
bitfld.byte 0x02 3. "           DDCD  ,Delta Data Carrier Detect" "-,Detected"
bitfld.byte 0x02 2. "      TERI   ,Trailing Edge of Ring Indicator" "-,Rang"
textline "                    "
bitfld.byte 0x02 1. " DDSR   ,Delta Data Set Ready" "-,Ready"
bitfld.byte 0x02 0. "           DCTS  ,Delta Clear To Send" "-,Clear"
line.byte 0x03 "UART0_SCR,UART 1 Scratch Register"
elif ((cpu()=="PPC440SP")||(cpu()=="PPC440SPE"))
;UART Serial Port Operations
width 11.
group dcr:0x00F++0x03
saveout dcr:0x00E %l 0x121
line.long 0x00 "SDR0_UART1,UART 1 Configuration Register"
bitfld.long 0x00 28.--31. " U1ICS ,UART 1 Internal Clock Source" "Reserved,Reserved,PLB,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 23. "     U1EC ,UART 1 EXT Clock Enable" "Internal,External"
hexmask.long.byte 0x00 0.--7. 1. "   U1DIV ,UART 1 Divider"
SIF (cpu()=="PPC440SP")
base ad:0x1:0xF0000000
ENDIF
SIF (cpu()=="PPC440SPE")
base ad:0x4:0xf0000000
ENDIF
if ((data.byte(ad:0x00:1F0000203+(0x100*1))&0x80)==0x00)
rgroup (0x200+(0x100*1))++0x00
hide.byte 0x00 "UART1_RBR,UART 1 Receiver Buffer Register"
in
wgroup (0x200+(0x100*1))++0x00
line.byte 0x00 "UART1_THR,UART 1 Transmitter Holding Register"
group (0x201+(0x100*1))++0x00
line.byte 0x00 "UART1_IER,UART 1 Interrupt Enable Register"
bitfld.byte 0x00 3. "     EDSSI  ,Modem Status Interrupt" "-,Enabled"
bitfld.byte 0x00 2. "      ELSI  ,Receiver Line Status Interrupt Enable" "-,Enabled"
bitfld.byte 0x00 1. "    ETBEI  ,Transmiter Holding Register Empty Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.byte 0x00 0. " ERBFI  ,Received Data Available Interrupt Enable" "-,Enabled"
else
group (0x200+(0x100*1))++0x01
line.byte 0x00 "UART1_DLL,UART1 Divisor Latch (LSB)"
line.byte 0x01 "UART1_DLM,UART1 Divisor Latch (MSB)"
endif
rgroup (0x202+(0x100*1))++0x00
line.byte 0x00 "UART1_IIR,UART 1 Interrupt Identyfication Register"
bitfld.byte 0x00 6.--7. "     FCI    ,FIFO Control Indicator" "-,Reserved,Reserved,Enabled"
bitfld.byte 0x00 1.--3. "     IPL   ,Interrupt Priority Level" "4,3,2,1,Reserved,Reserved,2,Reserved"
bitfld.byte 0x00 0. "   IP     ,Interrupt Pending" "Pending,-"
wgroup (0x202+(0x100*1))++0x00
line.byte 0x00 "UART1_FCR,UART 1 FIFO Control Register"
bitfld.byte 0x00 6.--7. "     RFTL   ,Receive FIFO Trigger Level" "1B,16B,32B,56B"
bitfld.byte 0x00 3. "          DMS   ,DMA Mode Select" "Single,Multiple"
bitfld.byte 0x00 2. "   TFR    ,Transmitter FIFO Reset" "-,Reset"
textline "                    "
bitfld.byte 0x00 1. " RFR    ,Receiver FIFO Reset" "-,Reset"
bitfld.byte 0x00 0. "        FE    ,FIFO Enable" "-,Enabled"
group (0x203+(0x100*1))++0x00
line.byte 0x00    "UART1_LCR,UART 1 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR/THR/IER,DLL/DLM"
bitfld.byte 0x00 6. "  SB    ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "    SP     ,Sticky Parity" "-,Enabled"
textline "                    "
bitfld.byte 0x00 4. " EPS    ,Even Parity Select" "Odd,Even"
bitfld.byte 0x00 3. "         PEN   ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "    SBS    ,Stop Bit Select" "1 bit,1.5/2 bits"
textline "                    "
bitfld.byte 0x00 0.--1. " WLS    ,Word Length Select Bits" "5bit,6bit,7bit,8bit"
group (0x204+(0x100*1))++0x00
line.byte 0x00 "UART1_MCR,UART 1 Modem Control Register"
bitfld.byte 0x00 5. "     AFC    ,Auto Flow Control" "-,Enabled"
bitfld.byte 0x00 4. "      LOOP  ,Loopback Mode" "-,Enabled"
bitfld.byte 0x00 3. "    OUT2   ,User Output 2" "Inactive,Active"
textline "                    "
bitfld.byte 0x00 2. " OUT1   ,User Output 1" "Inactive,Active"
bitfld.byte 0x00 1. "     RTS   ,Request To Send" "Inactive,Active"
bitfld.byte 0x00 0. "   DTR    ,Data Terminal Ready" "Inactive,Active"
group (0x205+(0x100*1))++0x00
line.byte 0x00 "UART1_LSR,UART 1 Line Status Register"
bitfld.byte 0x00 7. "     RFE    ,Receiver FIFO Error Inticator" "-,Error"
bitfld.byte 0x00 6. "        TEMT  ,Transmitter Empty Indicator" "Not empty,Empty"
bitfld.byte 0x00 5. "  THRE   ,Transmitter Holdint Register Empty Indicator" "Not empty,Empty"
textline "                    "
bitfld.byte 0x00 4. " BI     ,Break Interrupt Indicator" "-,Interrupt"
bitfld.byte 0x00 3. "    FE    ,Framing Error Indicator" "-,Error"
bitfld.byte 0x00 2. "      PE     ,Parity Error Indicator" "-,Error"
textline "                    "
bitfld.byte 0x00 1. " OE     ,Overrun Error Indicator" "-,Error"
bitfld.byte 0x00 0. "        DR    ,Receiver Data Ready Indicator" "Not ready,Ready"
group (0x206+(0x100*1))++0x00
line.byte 0x00 "UART1_MSR,UART 1 Modem Status Register"
bitfld.byte 0x00 7. "     DCD    ,Data Carrier Detect" "-,Detected"
bitfld.byte 0x00 6. "     RI    ,Ring Indicator" "-,Ring"
bitfld.byte 0x00 5. "       DSR    ,Data Set Ready" "-,Ready"
textline "                    "
bitfld.byte 0x00 4. " CTS    ,Clear To Send" "0,1"
bitfld.byte 0x00 3. "            DDCD  ,Delta Data Carrier Detect" "-,Detected"
bitfld.byte 0x00 2. "   TERI   ,Trailing Edge of Ring Indicator" "-,Ring"
textline "                    "
bitfld.byte 0x00 1. " DDSR   ,Delta Data Set Ready" "-,Ready"
bitfld.byte 0x00 0. "        DCTS  ,Delta Clear To Send" "0,1"
group (0x207+(0x100*1))++0x00
line.byte 0x00 "UART1_SCR,UART 1 Scratchpad Register"
width 0xB
endif
tree.end
tree "UART 2"
sif ((cpu()=="PPC440EPX")||(cpu()=="PPC440GRX"))
base ANC:0x1:0xef600500
width 11.
group.long dcr:0x000F++0x00
saveout dcr:0x000E %l (0x0120+2)
line.long 0x00 "SDR0_UART2,UART Configuration Register 2"
bitfld.long 0x00 28.--31. " U2ICS ,UART 2 Internal Clock Source" "Reserved,Reserved,PLB,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 23. "         U2EC ,UART 2 EXT Clock Enable" "Internal,External"
bitfld.long 0x00 22. "       U2DTE ,UART 2 DMA Transmit Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 21. " U2DRE ,UART 2 DMA Receive Enable" "-,Enabled"
bitfld.long 0x00 20. "          U2DC ,UART 2 DMA Clear" "-,Cleared"
hexmask.long.byte 0x00 0.--7. 1. "        U2DIV ,UART 2 Divider"
if ((data.byte(ANC:0x1:0xEF600303+(0x100*2))&0x80)==0x00)
rgroup 0x00++0x00
hide.byte 0x00 "UART2_RBR,UART 2 Receiver Buffer Register"
in
wgroup 0x00++0x00
line.byte 0x00 "UART2_THR,UART 2 Transmitter Holding Register"
group 0x01++0x00
line.byte 0x00 "UART2_IER,UART 2 Interrupt Enable Register"
bitfld.byte 0x00 3. "     EDSSI  ,Modem Status Interrupt" "-,Enabled"
bitfld.byte 0x00 2. "          ELSI  ,Receiver Line Status Interrupt Enable" "-,Enabled"
bitfld.byte 0x00 1. "        ETBEI  ,Transmitter Holding Register Empty Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.byte 0x00 0. " ERBFI  ,Received Data Available Interrupt Enable" "-,Enabled"
else
group 0x00++0x01
line.byte 0x00 "UART2_DLL,UART 2 Divisor Latch (LSB) Register"
line.byte 0x01 "UART2_DLM,UART 2 Divisor Latch (MSB) Register"
endif
rgroup 0x02++0x00
line.byte 0x00 "UART2_IIR,UART 2 Interrupt Identification Register"
bitfld.byte 0x00 6.--7. "     FE     ,FIFO Control Indicator" "-,Reserved,Reserved,Enabled"
bitfld.byte 0x00 1.--3. "         INTID ,Interrupt Priority Level" "Level 4,Level 3,Level 2,Level 1,Reserved,Reserved,Level 2,Reserved"
bitfld.byte 0x00 0. "       INTP   ,Interrupt Pending" "Pending,-"
wgroup 0x02++0x00
line.byte 0x00 "UART0_FCR,UART 2 FIFO Control Register"
bitfld.byte 0x00 6.--7. "     RFTL   ,Receiver FIFO Trigger Level" "1 byte,16 bytes,32 bytes,56 bytes"
bitfld.byte 0x00 3. "         DMS   ,DMA Mode Select" "Single,Multiple"
bitfld.byte 0x00 2. "       TFR    ,Transmitter FIFO Reset" "-,Reset"
textline "                    "
bitfld.byte 0x00 1. " RFR    ,Receiver FIFO Reset" "-,Reset"
bitfld.byte 0x00 0. "            FE    ,FIFO Enable" "-,Enabled"
if (((data.byte(ANC:0x1:0xEF600303+(0x100*2))&0x03)==0x00)&&(((data.byte(ANC:0x1:0xEF600303+(0x100*2))&0x08)==0x08)))
group 0x03++0x00
line.byte 0x00 "UART2_LCR,UART 2 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR/THR/IER,Divisor Latches"
bitfld.byte 0x00 6. "  SB    ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "        SP     ,Sticky Parity" "-,Enabled"
textline "                    "
bitfld.byte 0x00 4. " EPS    ,Even Parity Select" "Odd,Even"
bitfld.byte 0x00 3. "             PEN   ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "        SBS    ,Stop Bit Select" "1 bit,1.5 bits"
textline "                    "
bitfld.byte 0x00 0.--1. " WLS    ,Word Length Select Bits" "5-bit,6-bit,7-bit,8-bit"
elif ((((data.byte(ANC:0x1:0xEF600303+(0x100*2))&0x03)==0x01)||((data.byte(ANC:0x1:0xEF600303+(0x100*2))&0x03)==0x02)||((data.byte(ANC:0x1:0xEF600303+(0x100*2))&0x03)==0x03))&&(((data.byte(ANC:0x1:0xEF600303+(0x100*2))&0x08)==0x08)))
group 0x03++0x00
line.byte 0x00 "UART0_LCR,UART 2 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR/THR/IER,Divisor Latches"
bitfld.byte 0x00 6. "  SB    ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "        SP     ,Sticky Parity" "-,Enabled"
textline "                    "
bitfld.byte 0x00 4. " EPS    ,Even Parity Select" "Odd,Even"
bitfld.byte 0x00 3. "             PEN   ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "        SBS    ,Stop Bit Select" "1 bit,2 bits"
textline "                    "
bitfld.byte 0x00 0.--1. " WLS    ,Word Length Select Bits" "5-bit,6-bit,7-bit,8-bit"
elif ((((data.byte(ANC:0x1:0xEF600303+(0x100*2))&0x03)==0x01)||((data.byte(ANC:0x1:0xEF600303+(0x100*2))&0x03)==0x02)||((data.byte(ANC:0x1:0xEF600303+(0x100*2))&0x03)==0x03))&&(((data.byte(ANC:0x1:0xEF600303+(0x100*2))&0x08)==0x00)))
group 0x03++0x00
line.byte 0x00 "UART0_LCR,UART 2 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR/THR/IER,Divisor Latches"
bitfld.byte 0x00 6. "  SB    ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "        SP     ,Sticky Parity" "-,Enabled"
textline "                    "
bitfld.byte 0x00 3. "                         PEN   ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "        SBS    ,Stop Bit Select" "1 bit,2 bits"
textline "                    "
bitfld.byte 0x00 0.--1. " WLS    ,Word Length Select Bits" "5-bit,6-bit,7-bit,8-bit"
else
group 0x03++0x00
line.byte 0x00 "UART0_LCR,UART 2 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR/THR/IER,Divisor Latches"
bitfld.byte 0x00 6. "  SB    ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "        SP     ,Sticky Parity" "-,Enabled"
textline "                    "
bitfld.byte 0x00 3. "                         PEN   ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "        SBS    ,Stop Bit Select" "1 bit,1.5 bits"
textline "                    "
bitfld.byte 0x00 0.--1. " WLS    ,Word Length Select Bits" "5-bit,6-bit,7-bit,8-bit"
endif
group 0x04++0x00
line.byte 0x00 "UART0_MCR,UART 2 Modem Control Register"
bitfld.byte 0x00 5. "     AFC    ,Auto Flow Control" "-,Enabled"
bitfld.byte 0x00 4. "          LOOP  ,Loopback Mode" "-,Enabled"
bitfld.byte 0x00 3. "        OUT2   ,User Output 2" "Inactive(H),Active(L)"
textline "                    "
bitfld.byte 0x00 2. " OUT1   ,User Output 1" "Inactive(H),Active(L)"
bitfld.byte 0x00 1. "      RTS   ,Request To Send" "Inactive(H),Active(L)"
bitfld.byte 0x00 0. "    DTR    ,Data Terminal Ready" "Inactive(H),Active(L)"
rgroup 0x05++0x0
line.byte 0x00 "UART0_LSR,UART 2 Line Status Register"
bitfld.byte 0x00 7. "     RFE    ,Receiver FIFO Error Indicator" "-,Error"
bitfld.byte 0x00 6. "            TEMT  ,Transmitter Empty Indicator" "-,Empty"
bitfld.byte 0x00 5. "          THRE   ,Transmitter Holding Register Empty Indicator" "-,Empty"
textline "                    "
bitfld.byte 0x00 4. " BI     ,Break Interrupt Indicator" "-,Occurred"
bitfld.byte 0x00 3. "         FE    ,Framing Error Indicator" "-,Error"
bitfld.byte 0x00 2. "          PE     ,Parity Error Indicator" "-,Error"
textline "                    "
bitfld.byte 0x00 1. " OE     ,Overrun Error Indicator" "-,Error"
bitfld.byte 0x00 0. "            DR    ,Receiver Data Ready Indicator" "-,Ready"
group 0x06++0x1    
line.byte 0x00 "UART0_MSR,UART 2 Modem Status Register"
bitfld.byte 0x00 7. "     DCD    ,Data Carrier Detect" "-,Detected"
bitfld.byte 0x00 6. "         RI    ,Ring Indicator" "-,Rang"
bitfld.byte 0x00 5. "           DSR    ,Data Set Ready" "-,Ready"
textline "                    "
bitfld.byte 0x00 4. " CTS    ,Clear To Send" "-,Clear"
bitfld.byte 0x00 3. "            DDCD  ,Delta Data Carrier Detect" "-,Changed"
bitfld.byte 0x00 2. "        TERI   ,Trailing Edge of Ring Indicator" "-,Changed"
textline "                    "
bitfld.byte 0x00 1. " DDSR   ,Delta Data Set Ready" "-,Changed"
bitfld.byte 0x00 0. "          DCTS  ,Delta Clear To Send" "-,Changed"
line.byte 0x01 "UART0_SCR,UART 2 Scratch Register"
elif (cpu()=="PPC440GR")
base ANC:0x0:0xef600500
width 11.
group.long dcr:0x000F++0x00
saveout dcr:0x000E %l (0x0120+2)
line.long 0x00 "SDR0_UART2,UART Configuration Register 2"
bitfld.long 0x00 28.--31. " U2ICS ,UART 2 Internal Clock Source" "Reserved,Reserved,PLB,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 23. "         U2EC ,UART 2 EXT Clock Enable" "Internal,External"
bitfld.long 0x00 22. "       U2DTE ,UART 2 DMA Transmit Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 21. " U2DRE ,UART 2 DMA Receive Enable" "-,Enabled"
bitfld.long 0x00 20. "          U2DC ,UART 2 DMA Clear" "-,Cleared"
hexmask.long.byte 0x00 0.--7. 1. "        U2DIV ,UART 2 Divider"
if ((data.byte(ANC:0x0:0xEF600303+(0x100*2))&0x80)==0x00)
rgroup 0x00++0x00
hide.byte 0x00 "UART2_RBR,UART 2 Receiver Buffer Register"
in
wgroup 0x00++0x00
line.byte 0x00 "UART2_THR,UART 2 Transmitter Holding Register"
group 0x01++0x00
line.byte 0x00 "UART2_IER,UART 2 Interrupt Enable Register"
bitfld.byte 0x00 3. "     EDSSI  ,Modem Status Interrupt" "-,Enabled"
bitfld.byte 0x00 2. "         ELSI  ,Receiver Line Status Interrupt Enable" "-,Enabled"
bitfld.byte 0x00 1. "       ETBEI  ,Transmitter Holding Register Empty Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.byte 0x00 0. " ERBFI  ,Received Data Available Interrupt Enable" "-,Enabled"
else
group 0x00++0x01
line.byte 0x00 "UART2_DLL,UART 2 Divisor Latch (LSB) Register"
line.byte 0x01 "UART2_DLM,UART 2 Divisor Latch (MSB) Register"
endif
rgroup 0x02++0x00
line.byte 0x00 "UART2_IIR,UART 2 Interrupt Identification Register"
bitfld.byte 0x00 6.--7. "     FE     ,FIFO Control Indicator" "-,Reserved,Reserved,Enabled"
bitfld.byte 0x00 1.--3. "        INTID ,Interrupt Priority Level" "Level 4,Level 3,Level 2,Level 1,Reserved,Reserved,Level 2,Reserved"
bitfld.byte 0x00 0. "      INTP   ,Interrupt Pending" "Pending,-"
wgroup 0x02++0x00
line.byte 0x00 "UART0_FCR,UART 2 FIFO Control Register"
bitfld.byte 0x00 6.--7. "     RFTL   ,Receiver FIFO Trigger Level" "1 byte,16 bytes,32 bytes,56 bytes"
bitfld.byte 0x00 3. "        DMS   ,DMA Mode Select" "Single,Multiple"
bitfld.byte 0x00 2. "      TFR    ,Transmitter FIFO Reset" "-,Reset"
textline "                    "
bitfld.byte 0x00 1. " RFR    ,Receiver FIFO Reset" "-,Reset"
bitfld.byte 0x00 0. "           FE    ,FIFO Enable" "-,Enabled"
if ((data.byte(ANC:0x0:0xEF600303+(0x100*2))&0x03)==0x00)
group 0x03++0x00
line.byte 0x00 "UART2_LCR,UART 2 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR/THR/IER,Divisor Latches"
bitfld.byte 0x00 6. " SB    ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "       SP     ,Sticky Parity" "-,Enabled"
textline "                    "
bitfld.byte 0x00 4. " EPS    ,Even Parity Select" "Odd,Even"
bitfld.byte 0x00 3. "            PEN   ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "       SBS    ,Stop Bit Select" "1 bit,1.5 bits"
textline "                    "
bitfld.byte 0x00 0.--1. " WLS    ,Word Length Select Bits" "5-bit,6-bit,7-bit,8-bit"
else
group 0x03++0x00
line.byte 0x00 "UART0_LCR,UART 2 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR/THR/IER,Divisor Latches"
bitfld.byte 0x00 6. " SB    ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "       SP     ,Sticky Parity" "-,Enabled"
textline "                    "
bitfld.byte 0x00 4. " EPS    ,Even Parity Select" "Odd,Even"
bitfld.byte 0x00 3. "            PEN   ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "       SBS    ,Stop Bit Select" "1 bit,2 bits  "
textline "                    "
bitfld.byte 0x00 0.--1. " WLS    ,Word Length Select Bits" "5-bit,6-bit,7-bit,8-bit"
endif
group 0x04++0x03
line.byte 0x00 "UART0_MCR,UART 2 Modem Control Register"
bitfld.byte 0x00 5. "     AFC    ,Auto Flow Control" "-,Enabled"
bitfld.byte 0x00 4. "         LOOP  ,Loopback Mode" "-,Enabled"
bitfld.byte 0x00 3. "       OUT2   ,User Output 2" "Inactive(H),Active(L)"
textline "                    "
bitfld.byte 0x00 2. " OUT1   ,User Output 1" "Inactive(H),Active(L)"
bitfld.byte 0x00 1. "     RTS   ,Request To Send" "Inactive(H),Active(L)"
bitfld.byte 0x00 0. "   DTR    ,Data Terminal Ready" "Inactive(H),Active(L)"
line.byte 0x01 "UART0_LSR,UART 2 Line Status Register"
bitfld.byte 0x01 7. "     RFE    ,Receiver FIFO Error Indicator" "-,Error"
bitfld.byte 0x01 6. "           TEMT  ,Transmitter Empty Indicator" "-,Empty"
bitfld.byte 0x01 5. "         THRE   ,Transmitter Holding Register Empty Indicator" "-,Empty"
textline "                    "
bitfld.byte 0x01 4. " BI     ,Break Interrupt Indicator" "-,Occurred"
bitfld.byte 0x01 3. "        FE    ,Framing Error Indicator" "-,Error"
bitfld.byte 0x01 2. "         PE     ,Parity Error Indicator" "-,Error"
textline "                    "
bitfld.byte 0x01 1. " OE     ,Overrun Error Indicator" "-,Error"
bitfld.byte 0x01 0. "           DR    ,Receiver Data Ready Indicator" "-,Ready"
line.byte 0x02 "UART0_MSR,UART 2 Modem Status Register"
bitfld.byte 0x02 7. "     DCD    ,Data Carrier Detect" "-,Detected"
bitfld.byte 0x02 6. "        RI    ,Ring Indicator" "-,Rang"
bitfld.byte 0x02 5. "          DSR    ,Data Set Ready" "-,Ready"
textline "                    "
bitfld.byte 0x02 4. " CTS    ,Clear To Send" "-,Clear"
bitfld.byte 0x02 3. "           DDCD  ,Delta Data Carrier Detect" "-,Detected"
bitfld.byte 0x02 2. "      TERI   ,Trailing Edge of Ring Indicator" "-,Rang"
textline "                    "
bitfld.byte 0x02 1. " DDSR   ,Delta Data Set Ready" "-,Ready"
bitfld.byte 0x02 0. "           DCTS  ,Delta Clear To Send" "-,Clear"
line.byte 0x03 "UART0_SCR,UART 2 Scratch Register"
elif ((cpu()=="PPC440SP")||(cpu()=="PPC440SPE"))
;UART Serial Port Operations
width 11.
group dcr:0x00F++0x03
saveout dcr:0x00E %l 0x122
line.long 0x00 "SDR0_UART2,UART 2 Configuration Register"
bitfld.long 0x00 28.--31. " U2ICS ,UART 2 Internal Clock Source" "Reserved,Reserved,PLB,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 23. "     U2EC ,UART 2 EXT Clock Enable" "Internal,External"
hexmask.long.byte 0x00 0.--7. 1. "   U2DIV ,UART 2 Divider"
SIF (cpu()=="PPC440SP")
base ad:0x1:0xF0000000
ENDIF
SIF (cpu()=="PPC440SPE")
base ad:0x4:0xf0000000
ENDIF
if ((data.byte(ad:0x00:1F0000203+(0x100*4))&0x80)==0x00)
rgroup (0x200+(0x100*4))++0x00
hide.byte 0x00 "UART2_RBR,UART 2 Receiver Buffer Register"
in
wgroup (0x200+(0x100*4))++0x00
line.byte 0x00 "UART2_THR,UART 2 Transmitter Holding Register"
group (0x201+(0x100*4))++0x00
line.byte 0x00 "UART2_IER,UART 2 Interrupt Enable Register"
bitfld.byte 0x00 3. "     EDSSI  ,Modem Status Interrupt" "-,Enabled"
bitfld.byte 0x00 2. "      ELSI  ,Receiver Line Status Interrupt Enable" "-,Enabled"
bitfld.byte 0x00 1. "    ETBEI  ,Transmiter Holding Register Empty Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.byte 0x00 0. " ERBFI  ,Received Data Available Interrupt Enable" "-,Enabled"
else
group (0x200+(0x100*4))++0x01
line.byte 0x00 "UART2_DLL,UART2 Divisor Latch (LSB)"
line.byte 0x01 "UART2_DLM,UART2 Divisor Latch (MSB)"
endif
rgroup (0x202+(0x100*4))++0x00
line.byte 0x00 "UART2_IIR,UART 2 Interrupt Identyfication Register"
bitfld.byte 0x00 6.--7. "     FCI    ,FIFO Control Indicator" "-,Reserved,Reserved,Enabled"
bitfld.byte 0x00 1.--3. "     IPL   ,Interrupt Priority Level" "4,3,2,1,Reserved,Reserved,2,Reserved"
bitfld.byte 0x00 0. "   IP     ,Interrupt Pending" "Pending,-"
wgroup (0x202+(0x100*4))++0x00
line.byte 0x00 "UART2_FCR,UART 2 FIFO Control Register"
bitfld.byte 0x00 6.--7. "     RFTL   ,Receive FIFO Trigger Level" "1B,16B,32B,56B"
bitfld.byte 0x00 3. "          DMS   ,DMA Mode Select" "Single,Multiple"
bitfld.byte 0x00 2. "   TFR    ,Transmitter FIFO Reset" "-,Reset"
textline "                    "
bitfld.byte 0x00 1. " RFR    ,Receiver FIFO Reset" "-,Reset"
bitfld.byte 0x00 0. "        FE    ,FIFO Enable" "-,Enabled"
group (0x203+(0x100*4))++0x00
line.byte 0x00    "UART2_LCR,UART 2 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR/THR/IER,DLL/DLM"
bitfld.byte 0x00 6. "  SB    ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "    SP     ,Sticky Parity" "-,Enabled"
textline "                    "
bitfld.byte 0x00 4. " EPS    ,Even Parity Select" "Odd,Even"
bitfld.byte 0x00 3. "         PEN   ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "    SBS    ,Stop Bit Select" "1 bit,1.5/2 bits"
textline "                    "
bitfld.byte 0x00 0.--1. " WLS    ,Word Length Select Bits" "5bit,6bit,7bit,8bit"
group (0x204+(0x100*4))++0x00
line.byte 0x00 "UART2_MCR,UART 2 Modem Control Register"
bitfld.byte 0x00 5. "     AFC    ,Auto Flow Control" "-,Enabled"
bitfld.byte 0x00 4. "      LOOP  ,Loopback Mode" "-,Enabled"
bitfld.byte 0x00 3. "    OUT2   ,User Output 2" "Inactive,Active"
textline "                    "
bitfld.byte 0x00 2. " OUT1   ,User Output 1" "Inactive,Active"
bitfld.byte 0x00 1. "     RTS   ,Request To Send" "Inactive,Active"
bitfld.byte 0x00 0. "   DTR    ,Data Terminal Ready" "Inactive,Active"
group (0x205+(0x100*4))++0x00
line.byte 0x00 "UART2_LSR,UART 2 Line Status Register"
bitfld.byte 0x00 7. "     RFE    ,Receiver FIFO Error Inticator" "-,Error"
bitfld.byte 0x00 6. "        TEMT  ,Transmitter Empty Indicator" "Not empty,Empty"
bitfld.byte 0x00 5. "  THRE   ,Transmitter Holdint Register Empty Indicator" "Not empty,Empty"
textline "                    "
bitfld.byte 0x00 4. " BI     ,Break Interrupt Indicator" "-,Interrupt"
bitfld.byte 0x00 3. "    FE    ,Framing Error Indicator" "-,Error"
bitfld.byte 0x00 2. "      PE     ,Parity Error Indicator" "-,Error"
textline "                    "
bitfld.byte 0x00 1. " OE     ,Overrun Error Indicator" "-,Error"
bitfld.byte 0x00 0. "        DR    ,Receiver Data Ready Indicator" "Not ready,Ready"
group (0x206+(0x100*4))++0x00
line.byte 0x00 "UART2_MSR,UART 2 Modem Status Register"
bitfld.byte 0x00 7. "     DCD    ,Data Carrier Detect" "-,Detected"
bitfld.byte 0x00 6. "     RI    ,Ring Indicator" "-,Ring"
bitfld.byte 0x00 5. "       DSR    ,Data Set Ready" "-,Ready"
textline "                    "
bitfld.byte 0x00 4. " CTS    ,Clear To Send" "0,1"
bitfld.byte 0x00 3. "            DDCD  ,Delta Data Carrier Detect" "-,Detected"
bitfld.byte 0x00 2. "   TERI   ,Trailing Edge of Ring Indicator" "-,Ring"
textline "                    "
bitfld.byte 0x00 1. " DDSR   ,Delta Data Set Ready" "-,Ready"
bitfld.byte 0x00 0. "        DCTS  ,Delta Clear To Send" "0,1"
group (0x207+(0x100*4))++0x00
line.byte 0x00 "UART2_SCR,UART 2 Scratchpad Register"
width 0xB
endif
tree.end
tree "UART 3"
sif ((cpu()=="PPC440EPX")||(cpu()=="PPC440GRX"))
base ANC:0x1:0xef600600
width 11.
group.long dcr:0x000F++0x00
saveout dcr:0x000E %l (0x0120+3)
line.long 0x00 "SDR0_UART3,UART Configuration Register 3"
bitfld.long 0x00 28.--31. " U3ICS ,UART 3 Internal Clock Source" "Reserved,Reserved,PLB,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 23. "         U3EC ,UART 3 EXT Clock Enable" "Internal,External"
bitfld.long 0x00 22. "       U3DTE ,UART 3 DMA Transmit Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 21. " U3DRE ,UART 3 DMA Receive Enable" "-,Enabled"
bitfld.long 0x00 20. "          U3DC ,UART 3 DMA Clear" "-,Cleared"
hexmask.long.byte 0x00 0.--7. 1. "        U3DIV ,UART 3 Divider"
if ((data.byte(ANC:0x1:0xEF600303+(0x100*3))&0x80)==0x00)
rgroup 0x00++0x00
hide.byte 0x00 "UART3_RBR,UART 3 Receiver Buffer Register"
in
wgroup 0x00++0x00
line.byte 0x00 "UART3_THR,UART 3 Transmitter Holding Register"
group 0x01++0x00
line.byte 0x00 "UART3_IER,UART 3 Interrupt Enable Register"
bitfld.byte 0x00 3. "     EDSSI  ,Modem Status Interrupt" "-,Enabled"
bitfld.byte 0x00 2. "          ELSI  ,Receiver Line Status Interrupt Enable" "-,Enabled"
bitfld.byte 0x00 1. "        ETBEI  ,Transmitter Holding Register Empty Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.byte 0x00 0. " ERBFI  ,Received Data Available Interrupt Enable" "-,Enabled"
else
group 0x00++0x01
line.byte 0x00 "UART3_DLL,UART 3 Divisor Latch (LSB) Register"
line.byte 0x01 "UART3_DLM,UART 3 Divisor Latch (MSB) Register"
endif
rgroup 0x02++0x00
line.byte 0x00 "UART3_IIR,UART 3 Interrupt Identification Register"
bitfld.byte 0x00 6.--7. "     FE     ,FIFO Control Indicator" "-,Reserved,Reserved,Enabled"
bitfld.byte 0x00 1.--3. "         INTID ,Interrupt Priority Level" "Level 4,Level 3,Level 2,Level 1,Reserved,Reserved,Level 2,Reserved"
bitfld.byte 0x00 0. "       INTP   ,Interrupt Pending" "Pending,-"
wgroup 0x02++0x00
line.byte 0x00 "UART0_FCR,UART 3 FIFO Control Register"
bitfld.byte 0x00 6.--7. "     RFTL   ,Receiver FIFO Trigger Level" "1 byte,16 bytes,32 bytes,56 bytes"
bitfld.byte 0x00 3. "         DMS   ,DMA Mode Select" "Single,Multiple"
bitfld.byte 0x00 2. "       TFR    ,Transmitter FIFO Reset" "-,Reset"
textline "                    "
bitfld.byte 0x00 1. " RFR    ,Receiver FIFO Reset" "-,Reset"
bitfld.byte 0x00 0. "            FE    ,FIFO Enable" "-,Enabled"
if (((data.byte(ANC:0x1:0xEF600303+(0x100*3))&0x03)==0x00)&&(((data.byte(ANC:0x1:0xEF600303+(0x100*3))&0x08)==0x08)))
group 0x03++0x00
line.byte 0x00 "UART3_LCR,UART 3 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR/THR/IER,Divisor Latches"
bitfld.byte 0x00 6. "  SB    ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "        SP     ,Sticky Parity" "-,Enabled"
textline "                    "
bitfld.byte 0x00 4. " EPS    ,Even Parity Select" "Odd,Even"
bitfld.byte 0x00 3. "             PEN   ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "        SBS    ,Stop Bit Select" "1 bit,1.5 bits"
textline "                    "
bitfld.byte 0x00 0.--1. " WLS    ,Word Length Select Bits" "5-bit,6-bit,7-bit,8-bit"
elif ((((data.byte(ANC:0x1:0xEF600303+(0x100*3))&0x03)==0x01)||((data.byte(ANC:0x1:0xEF600303+(0x100*3))&0x03)==0x02)||((data.byte(ANC:0x1:0xEF600303+(0x100*3))&0x03)==0x03))&&(((data.byte(ANC:0x1:0xEF600303+(0x100*3))&0x08)==0x08)))
group 0x03++0x00
line.byte 0x00 "UART0_LCR,UART 3 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR/THR/IER,Divisor Latches"
bitfld.byte 0x00 6. "  SB    ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "        SP     ,Sticky Parity" "-,Enabled"
textline "                    "
bitfld.byte 0x00 4. " EPS    ,Even Parity Select" "Odd,Even"
bitfld.byte 0x00 3. "             PEN   ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "        SBS    ,Stop Bit Select" "1 bit,2 bits"
textline "                    "
bitfld.byte 0x00 0.--1. " WLS    ,Word Length Select Bits" "5-bit,6-bit,7-bit,8-bit"
elif ((((data.byte(ANC:0x1:0xEF600303+(0x100*3))&0x03)==0x01)||((data.byte(ANC:0x1:0xEF600303+(0x100*3))&0x03)==0x02)||((data.byte(ANC:0x1:0xEF600303+(0x100*3))&0x03)==0x03))&&(((data.byte(ANC:0x1:0xEF600303+(0x100*3))&0x08)==0x00)))
group 0x03++0x00
line.byte 0x00 "UART0_LCR,UART 3 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR/THR/IER,Divisor Latches"
bitfld.byte 0x00 6. "  SB    ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "        SP     ,Sticky Parity" "-,Enabled"
textline "                    "
bitfld.byte 0x00 3. "                         PEN   ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "        SBS    ,Stop Bit Select" "1 bit,2 bits"
textline "                    "
bitfld.byte 0x00 0.--1. " WLS    ,Word Length Select Bits" "5-bit,6-bit,7-bit,8-bit"
else
group 0x03++0x00
line.byte 0x00 "UART0_LCR,UART 3 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR/THR/IER,Divisor Latches"
bitfld.byte 0x00 6. "  SB    ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "        SP     ,Sticky Parity" "-,Enabled"
textline "                    "
bitfld.byte 0x00 3. "                         PEN   ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "        SBS    ,Stop Bit Select" "1 bit,1.5 bits"
textline "                    "
bitfld.byte 0x00 0.--1. " WLS    ,Word Length Select Bits" "5-bit,6-bit,7-bit,8-bit"
endif
group 0x04++0x00
line.byte 0x00 "UART0_MCR,UART 3 Modem Control Register"
bitfld.byte 0x00 5. "     AFC    ,Auto Flow Control" "-,Enabled"
bitfld.byte 0x00 4. "          LOOP  ,Loopback Mode" "-,Enabled"
bitfld.byte 0x00 3. "        OUT2   ,User Output 2" "Inactive(H),Active(L)"
textline "                    "
bitfld.byte 0x00 2. " OUT1   ,User Output 1" "Inactive(H),Active(L)"
bitfld.byte 0x00 1. "      RTS   ,Request To Send" "Inactive(H),Active(L)"
bitfld.byte 0x00 0. "    DTR    ,Data Terminal Ready" "Inactive(H),Active(L)"
rgroup 0x05++0x0
line.byte 0x00 "UART0_LSR,UART 3 Line Status Register"
bitfld.byte 0x00 7. "     RFE    ,Receiver FIFO Error Indicator" "-,Error"
bitfld.byte 0x00 6. "            TEMT  ,Transmitter Empty Indicator" "-,Empty"
bitfld.byte 0x00 5. "          THRE   ,Transmitter Holding Register Empty Indicator" "-,Empty"
textline "                    "
bitfld.byte 0x00 4. " BI     ,Break Interrupt Indicator" "-,Occurred"
bitfld.byte 0x00 3. "         FE    ,Framing Error Indicator" "-,Error"
bitfld.byte 0x00 2. "          PE     ,Parity Error Indicator" "-,Error"
textline "                    "
bitfld.byte 0x00 1. " OE     ,Overrun Error Indicator" "-,Error"
bitfld.byte 0x00 0. "            DR    ,Receiver Data Ready Indicator" "-,Ready"
group 0x06++0x1    
line.byte 0x00 "UART0_MSR,UART 3 Modem Status Register"
bitfld.byte 0x00 7. "     DCD    ,Data Carrier Detect" "-,Detected"
bitfld.byte 0x00 6. "         RI    ,Ring Indicator" "-,Rang"
bitfld.byte 0x00 5. "           DSR    ,Data Set Ready" "-,Ready"
textline "                    "
bitfld.byte 0x00 4. " CTS    ,Clear To Send" "-,Clear"
bitfld.byte 0x00 3. "            DDCD  ,Delta Data Carrier Detect" "-,Changed"
bitfld.byte 0x00 2. "        TERI   ,Trailing Edge of Ring Indicator" "-,Changed"
textline "                    "
bitfld.byte 0x00 1. " DDSR   ,Delta Data Set Ready" "-,Changed"
bitfld.byte 0x00 0. "          DCTS  ,Delta Clear To Send" "-,Changed"
line.byte 0x01 "UART0_SCR,UART 3 Scratch Register"
elif (cpu()=="PPC440GR")
base ANC:0x0:0xef600600
width 11.
group.long dcr:0x000F++0x00
saveout dcr:0x000E %l (0x0120+3)
line.long 0x00 "SDR0_UART3,UART Configuration Register 3"
bitfld.long 0x00 28.--31. " U3ICS ,UART 3 Internal Clock Source" "Reserved,Reserved,PLB,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 23. "         U3EC ,UART 3 EXT Clock Enable" "Internal,External"
bitfld.long 0x00 22. "       U3DTE ,UART 3 DMA Transmit Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 21. " U3DRE ,UART 3 DMA Receive Enable" "-,Enabled"
bitfld.long 0x00 20. "          U3DC ,UART 3 DMA Clear" "-,Cleared"
hexmask.long.byte 0x00 0.--7. 1. "        U3DIV ,UART 3 Divider"
if ((data.byte(ANC:0x0:0xEF600303+(0x100*3))&0x80)==0x00)
rgroup 0x00++0x00
hide.byte 0x00 "UART3_RBR,UART 3 Receiver Buffer Register"
in
wgroup 0x00++0x00
line.byte 0x00 "UART3_THR,UART 3 Transmitter Holding Register"
group 0x01++0x00
line.byte 0x00 "UART3_IER,UART 3 Interrupt Enable Register"
bitfld.byte 0x00 3. "     EDSSI  ,Modem Status Interrupt" "-,Enabled"
bitfld.byte 0x00 2. "         ELSI  ,Receiver Line Status Interrupt Enable" "-,Enabled"
bitfld.byte 0x00 1. "       ETBEI  ,Transmitter Holding Register Empty Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.byte 0x00 0. " ERBFI  ,Received Data Available Interrupt Enable" "-,Enabled"
else
group 0x00++0x01
line.byte 0x00 "UART3_DLL,UART 3 Divisor Latch (LSB) Register"
line.byte 0x01 "UART3_DLM,UART 3 Divisor Latch (MSB) Register"
endif
rgroup 0x02++0x00
line.byte 0x00 "UART3_IIR,UART 3 Interrupt Identification Register"
bitfld.byte 0x00 6.--7. "     FE     ,FIFO Control Indicator" "-,Reserved,Reserved,Enabled"
bitfld.byte 0x00 1.--3. "        INTID ,Interrupt Priority Level" "Level 4,Level 3,Level 2,Level 1,Reserved,Reserved,Level 2,Reserved"
bitfld.byte 0x00 0. "      INTP   ,Interrupt Pending" "Pending,-"
wgroup 0x02++0x00
line.byte 0x00 "UART0_FCR,UART 3 FIFO Control Register"
bitfld.byte 0x00 6.--7. "     RFTL   ,Receiver FIFO Trigger Level" "1 byte,16 bytes,32 bytes,56 bytes"
bitfld.byte 0x00 3. "        DMS   ,DMA Mode Select" "Single,Multiple"
bitfld.byte 0x00 2. "      TFR    ,Transmitter FIFO Reset" "-,Reset"
textline "                    "
bitfld.byte 0x00 1. " RFR    ,Receiver FIFO Reset" "-,Reset"
bitfld.byte 0x00 0. "           FE    ,FIFO Enable" "-,Enabled"
if ((data.byte(ANC:0x0:0xEF600303+(0x100*3))&0x03)==0x00)
group 0x03++0x00
line.byte 0x00 "UART3_LCR,UART 3 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR/THR/IER,Divisor Latches"
bitfld.byte 0x00 6. " SB    ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "       SP     ,Sticky Parity" "-,Enabled"
textline "                    "
bitfld.byte 0x00 4. " EPS    ,Even Parity Select" "Odd,Even"
bitfld.byte 0x00 3. "            PEN   ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "       SBS    ,Stop Bit Select" "1 bit,1.5 bits"
textline "                    "
bitfld.byte 0x00 0.--1. " WLS    ,Word Length Select Bits" "5-bit,6-bit,7-bit,8-bit"
else
group 0x03++0x00
line.byte 0x00 "UART0_LCR,UART 3 Line Control Register"
bitfld.byte 0x00 7. "     DLAB   ,Divisor Latch Access Bit" "RBR/THR/IER,Divisor Latches"
bitfld.byte 0x00 6. " SB    ,Set Break" "-,Enabled"
bitfld.byte 0x00 5. "       SP     ,Sticky Parity" "-,Enabled"
textline "                    "
bitfld.byte 0x00 4. " EPS    ,Even Parity Select" "Odd,Even"
bitfld.byte 0x00 3. "            PEN   ,Parity Enable" "-,Enabled"
bitfld.byte 0x00 2. "       SBS    ,Stop Bit Select" "1 bit,2 bits  "
textline "                    "
bitfld.byte 0x00 0.--1. " WLS    ,Word Length Select Bits" "5-bit,6-bit,7-bit,8-bit"
endif
group 0x04++0x03
line.byte 0x00 "UART0_MCR,UART 3 Modem Control Register"
bitfld.byte 0x00 5. "     AFC    ,Auto Flow Control" "-,Enabled"
bitfld.byte 0x00 4. "         LOOP  ,Loopback Mode" "-,Enabled"
bitfld.byte 0x00 3. "       OUT2   ,User Output 2" "Inactive(H),Active(L)"
textline "                    "
bitfld.byte 0x00 2. " OUT1   ,User Output 1" "Inactive(H),Active(L)"
bitfld.byte 0x00 1. "     RTS   ,Request To Send" "Inactive(H),Active(L)"
bitfld.byte 0x00 0. "   DTR    ,Data Terminal Ready" "Inactive(H),Active(L)"
line.byte 0x01 "UART0_LSR,UART 3 Line Status Register"
bitfld.byte 0x01 7. "     RFE    ,Receiver FIFO Error Indicator" "-,Error"
bitfld.byte 0x01 6. "           TEMT  ,Transmitter Empty Indicator" "-,Empty"
bitfld.byte 0x01 5. "         THRE   ,Transmitter Holding Register Empty Indicator" "-,Empty"
textline "                    "
bitfld.byte 0x01 4. " BI     ,Break Interrupt Indicator" "-,Occurred"
bitfld.byte 0x01 3. "        FE    ,Framing Error Indicator" "-,Error"
bitfld.byte 0x01 2. "         PE     ,Parity Error Indicator" "-,Error"
textline "                    "
bitfld.byte 0x01 1. " OE     ,Overrun Error Indicator" "-,Error"
bitfld.byte 0x01 0. "           DR    ,Receiver Data Ready Indicator" "-,Ready"
line.byte 0x02 "UART0_MSR,UART 3 Modem Status Register"
bitfld.byte 0x02 7. "     DCD    ,Data Carrier Detect" "-,Detected"
bitfld.byte 0x02 6. "        RI    ,Ring Indicator" "-,Rang"
bitfld.byte 0x02 5. "          DSR    ,Data Set Ready" "-,Ready"
textline "                    "
bitfld.byte 0x02 4. " CTS    ,Clear To Send" "-,Clear"
bitfld.byte 0x02 3. "           DDCD  ,Delta Data Carrier Detect" "-,Detected"
bitfld.byte 0x02 2. "      TERI   ,Trailing Edge of Ring Indicator" "-,Rang"
textline "                    "
bitfld.byte 0x02 1. " DDSR   ,Delta Data Set Ready" "-,Ready"
bitfld.byte 0x02 0. "           DCTS  ,Delta Clear To Send" "-,Clear"
line.byte 0x03 "UART0_SCR,UART 3 Scratch Register"
endif
tree.end
tree.end
;tree.open "Serial Ports Operations"
tree "SPI (Serial Peripheral Interface)"
sif ((cpu()=="PPC440GR"))
base ANC:0x0:0xef600900
;Serial Peripheral Interface
width 11.
rgroup 0x01++0x00
hide.byte 0x00 "SPI0_RxD,SPI Receive Data Register"
in
group 0x02++0x00
line.byte 0x00 "SPI0_TxD,SPI Transmit Data Register"
group 0x03++0x00
line.byte 0x00 "SPI0_CR,SPI Control Register"
bitfld.byte 0x00 0. " STR ,Serial Data Transmit/Receive" "-,Enabled"
group 0x06++0x00
line.byte 0x00 "SPI0_CDM,SPI Clock Divisor Modulus Register"
rgroup 0x04++0x00
line.byte 0x00 "SPI0_SR,SPI Status Register"
bitfld.byte 0x00 1. " BSY ,Busy" "Idle,Busy"
bitfld.byte 0x00 0. "           RBR ,RxByteReady" "-,Ready"
group 0x00++0x00
line.byte 0x00 "SPI0_MODE,SPI Mode Register"
bitfld.byte 0x00 4. " SCP ,Serial Clock Phase" "Trailing edge,Leading edge"
bitfld.byte 0x00 3. "  SPE ,Serial Port Enabled" "-,Enabled"
bitfld.byte 0x00 2. "    RD ,Reverse Data" "Normal,Reversed"
textline "                "
bitfld.byte 0x00 1. " CI  ,Clock Invert" "Active high,Active low"
bitfld.byte 0x00 0. "    IL  ,Internal Loopback" "-,Enabled"
width 0x0B
elif ((cpu()=="PPC440EPX")||(cpu()=="PPC440GRX"))
base ANC:0x1:0xef600900
;Serial Peripheral Interface
width 11.
rgroup 0x01++0x00
hide.byte 0x00 "SPI0_RxD,SPI Receive Data Register"
in
group 0x02++0x00
line.byte 0x00 "SPI0_TxD,SPI Transmit Data Register"
group 0x03++0x00
line.byte 0x00 "SPI0_CR,SPI Control Register"
bitfld.byte 0x00 0. " STR ,Serial Data Transmit/Receive" "-,Enabled"
group 0x06++0x00
line.byte 0x00 "SPI0_CDM,SPI Clock Divisor Modulus Register"
rgroup 0x04++0x00
line.byte 0x00 "SPI0_SR,SPI Status Register"
bitfld.byte 0x00 1. " BSY ,Busy" "Idle,Busy"
bitfld.byte 0x00 0. "           RBR ,RxByteReady" "-,Ready"
group 0x00++0x00
line.byte 0x00 "SPI0_MODE,SPI Mode Register"
bitfld.byte 0x00 4. " SCP ,Serial Clock Phase" "Trailing edge,Leading edge"
bitfld.byte 0x00 3. "  SPE ,Serial Port Enabled" "-,Enabled"
bitfld.byte 0x00 2. "    RD ,Reverse Data" "Normal,Reversed"
textline "                "
bitfld.byte 0x00 1. " CI  ,Clock Invert" "Active high,Active low"
bitfld.byte 0x00 0. "    IL  ,Internal Loopback" "-,Enabled"
width 0x0B
elif (cpu()=="PPC440EP")
;Serial Peripheral Interface
width 10.
group ANC:0x0:0xEF600900++0x00
line.byte 0x00 "SPI0_MODE,SPI Mode Register"
bitfld.byte 0x00 4. " SCP  ,Serial Clock Phase" "Trailing edge,Leading edge"
bitfld.byte 0x00 3. "  SPE  ,Serial Port Enabled" "-,Enabled"
bitfld.byte 0x00 2. "    RD   ,Reverse Data" "Normal,Reversed"
bitfld.byte 0x00 1. "  CI   ,Clock Invert" "Active high,Active low"
textline "               "
bitfld.byte 0x00 0. " IL   ,Internal Loopback" "-,Enabled"
hide.byte 0x01 "SPI0_RxD,SPI Receive Data Register"
IN
;rgroup ANC:0x0:0xEF600901++0x00
; line.byte 0x00 "SPI0_RxD,SPI Receive Data Register"
Wgroup ANC:0x0:0xEF600902++0x00
line.byte 0x00 "SPI0_TxD,SPI Transmit Data Register"
group ANC:0x0:0xEF600903++0x00
line.byte 0x00 "SPI0_CR,SPI Control Register"
bitfld.byte 0x00 0. " STR  ,Serial data transmit/receive" "-,Enabled"
rgroup ANC:0x0:0xEF600904++0x00
line.byte 0x00 "SPI0_SR,SPI Status Register"
bitfld.byte 0x00 1. " BSY  ,Busy" "Idle,Busy"
bitfld.byte 0x00 0. "           RBR  ,RxByteReady" "Not ready,Ready"
group ANC:0x0:0xEF600906++0x00
line.byte 0x00 "SPI0_CDM,SPI Clock Divisor Modulus Register"
bitfld.byte 0x00 7. " CDM0 ,Clock divisor modulus 0" "Low,High"
bitfld.byte 0x00 6. "           CDM1 ,Clock divisor modulus 1" "Low,High"
bitfld.byte 0x00 5. "       CDM2 ,Clock divisor modulus 2" "Low,High"
bitfld.byte 0x00 4. "      CDM3 ,Clock divisor modulus 3" "Low,High"
textline "               "
bitfld.byte 0x00 3. " CDM4 ,Clock divisor modulus 4" "Low,High"
bitfld.byte 0x00 2. "           CDM5 ,Clock divisor modulus 5" "Low,High"
bitfld.byte 0x00 1. "       CDM6 ,Clock divisor modulus 6" "Low,High"
bitfld.byte 0x00 0. "      CDM7 ,Clock divisor modulus 7" "Low,High"
width 0x0B
endif
tree.end
;tree "SPI (Serial Peripheral Interface)"
tree.open "I2C (Inter-Integrated Circuit (IIC) Bus Interfaces)"
sif (cpu()=="PPC440GX")
base ANC:0x1:0x40000000
// make the parameter sense ?
tree "IIC0"
width 16.
hgroup.byte (0x400+0x000)++0x0
hide.byte 0x0 "IIC0_MDBUF,IIC0 Master Data Buffer"
in
hgroup.byte (0x402+0x000)++0x0
hide.byte 0x0 "IIC0_SDBUF,IIC0 Slave Data Buffer"
in
if (((data.byte(ad:(0x1:0x40000000+0x406+0x000)))&0x40)==0x40)
; IIC0_CNTL[AMD]: 10-bit
group.byte (0x404+0x000)++0x0
line.byte 0x0 "IIC0_LMADR,IIC0 Low Master Address Register"
hexmask.byte 0x00 0.--7. 1. " A[7:0]   ,Address bits 0 to 7"
else
; IIC0_CNTL[AMD]: 7-bit
group.byte (0x404+0x000)++0x0
line.byte 0x0 "IIC0_LMADR,IIC0 Low Master Address Register"
hexmask.byte 0x00 1.--7. 2. " A[6:0]   ,Address bits 0 to 6"
endif
group.byte (0x405+0x000)++0x4
line.byte 0x0 "IIC0_HMADR,IIC0 High Master Address Register"
hexmask.byte 0x0 1.--7. 1. " A[7:1]   ,Address bits 1 to 7"
line.byte 0x1 "IIC0_CNTL,IIC0 Control Register"
bitfld.byte 0x1 7. " HMT      ,Halt Master Transfer" "-,Halted"
bitfld.byte 0x1 6. "       AMD   ,Addressing Mode" "7-bit,10-bit"
bitfld.byte 0x1 4.--5. "           TCT  ,Transfer Count" "1 byte,2 bytes,3 bytes,4 bytes"
textline "                     "
bitfld.byte 0x1 3. " RPST     ,Repeated Start" "-,Repeated"
bitfld.byte 0x1 2. "     CHT   ,Chain Transfer" "-,Chained"
bitfld.byte 0x1 1. "          RW   ,Read/Write" "Write,Read"
textline "                     "
bitfld.byte 0x1 0. " PT       ,Pending Transfer" "-,Pending"
line.byte 0x2 "IIC0_MDCNTL,IIC0 Mode Control Register"
bitfld.byte 0x2 7. " FSDB     ,Flush Slave Data Buffer" "-,Flushed"
bitfld.byte 0x2 6. "      FMDB  ,Flush Master Data Buffer" "-,Flushed"
bitfld.byte 0x2 5. "          EGC  ,Enable General Call" "-,Enabled"
textline "                     "
bitfld.byte 0x2 4. " FSM      ,Fast/Standard Mode" "100 kHz,400 kHz"
bitfld.byte 0x2 3. "      ESM   ,Enable Slave Mode" "-,Enabled"
bitfld.byte 0x2 2. "          EINT ,Enable Interrupt" "-,Enabled"
textline "                     "
bitfld.byte 0x2 1. " EUBS     ,Exit Unknown IIC Bus State" "-,Exited"
bitfld.byte 0x2 0. "       HSCL  ,Hold IIC Serial Clock Low" "-,Held"
line.byte 0x3 "IIC0_STS,IIC0 Status Register"
bitfld.byte 0x3 7. " SSS      ,Slave Status Set" "-,In progress"
bitfld.byte 0x3 6. "  SLPR  ,Sleep Request" "-,Sleep"
bitfld.byte 0x3 5. "            MDBS ,Master Data Buffer Status" "Empty,-"
textline "                     "
bitfld.byte 0x3 4. " MDBF     ,Master Data Buffer Full" "-,Full"
eventfld.byte 0x3 3. "         SCMP  ,Stop Complete" "-,Completed"
bitfld.byte 0x3 2. "        ERR  ,Error" "-,Error"
textline "                     "
eventfld.byte 0x3 1. " IRQA     ,IRQ Active" "-,Interrupt"
bitfld.byte 0x3 0. "    PT    ,Pending Transfer" "-,Pending"
line.byte 0x4 "IIC0_EXTSTS,IIC0 Extended Status Register"
eventfld.byte 0x4 7. " IRQP     ,IRQ Pending" "-,Pending"
bitfld.byte 0x4 4.--6. "      BCS   ,Bus Control State" "Reserved,Slave-selected,Slave Transfer,Master Transfer,Free Bus,Bus Busy,Unknown,Reserved"
eventfld.byte 0x4 3. "  IRQD ,IRQ On-Deck" "-,Interrupt"
textline "                     "
eventfld.byte 0x4 2. " LA       ,Lost Arbitration" "-,Lost"
eventfld.byte 0x4 1. "         ICT   ,Incomplete Transfer" "-,Incompleted"
eventfld.byte 0x4 0. "      XFRA ,Transfer Aborted" "-,Aborted"
if (((data.byte(ad:(0x1:0x40000000+0x406+0x000)))&0x40)==0x40)
; IIC0_CNTL[AMD]: 10-bit
group.byte (0x40A+0x000)++0x0
line.byte 0x0 "IIC0_LSADR,IIC0 Low Slave Address Register"
hexmask.byte 0x0 0.--7. 1. " A[7:0]   ,Address bits 0 to 7"
else
; IIC0_CNTL[AMD]: 7-bit
group.byte (0x40A+0x000)++0x0
line.byte 0x0 "IIC0_LSADR,IIC0 Low Slave Address Register"
hexmask.byte 0x0 1.--7. 2. " A[6:0]   ,Address bits 0 to 6"
endif
group.byte (0x40B+0x000)++0x5
line.byte 0x0 "IIC0_HSADR,IIC0 High Slave Address Register"
hexmask.byte 0x0 1.--7. 1. " A[6:0]   ,Address bits 0 to 6"
line.byte 0x1 "IIC0_CLKDIV,IIC0 Clock Divide Register"
hexmask.byte 0x1 0.--7. 1. " DIV[7:0] ,Divisor bits 0 to 7"
line.byte 0x2 "IIC0_INTRMSK,IIC0 Interrupt Mask Register"
bitfld.byte 0x2 7. " EIRC     ,Enable IRQ on Slave Read Complete" "-,Enabled"
bitfld.byte 0x2 6. "      EIRS  ,Enable IRQ on Slave Read Needs Service" "-,Enabled"
bitfld.byte 0x2 5. "          EIWC ,Enable IRQ on Slave Write Complete" "-,Enabled"
textline "                     "
bitfld.byte 0x2 4. " EIWS     ,Enable IRQ on Slave Write Needs Service" "-,Enabled"
bitfld.byte 0x2 3. "      EIHE  ,Enable IRQ on Halt Executed" "-,Enabled"
bitfld.byte 0x2 2. "          EIIC ,Enable IRQ on Incomplete Transfer" "-,Enabled"
textline "                     "
bitfld.byte 0x2 1. " EITA     ,Enable IRQ on Transfer Aborted" "-,Enabled"
bitfld.byte 0x2 0. "      EIMTC ,Enable IRQ on Requested Master Transfer Complete" "-,Enabled"
line.byte 0x3 "IIC0_XFRCNT,IIC0 Transfer Count Register"
bitfld.byte 0x3 4.--6. " STC      ,Slave Transfer Count" "0 bytes,1 byte,2 bytes,3 bytes,4 bytes,Reserved,Reserved,Reserved"
bitfld.byte 0x3 0.--2. "     MTC   ,Master Transfer Count" "0 bytes,1 byte,2 bytes,3 bytes,4 bytes,Reserved,Reserved,Reserved"
line.byte 0x4 "IIC0_XTCNTLSS,IIC0 Extended Control and Slave Status Register"
eventfld.byte 0x4 7. " SRC      ,Slave Read Complete" "-,Completed"
eventfld.byte 0x4 6. "    SRS   ,Slave Read Needs Service" "-,Requested"
eventfld.byte 0x4 5. "        SWC  ,Slave Write Complete" "-,Completed"
textline "                     "
eventfld.byte 0x4 4. " SWS      ,Slave Write Needs Service" "-,Needed"
bitfld.byte 0x4 3. "       SDBD  ,Slave Data Buffer Has Data" "-,Not empty"
bitfld.byte 0x4 2. "        SDBF ,Slave Data Buffer Full" "-,Full"
textline "                     "
bitfld.byte 0x4 0. " SRST     ,Soft Reset" "-,Reset"
line.byte 0x5 "IIC0_DIRECTCNTL,IIC0 Direct Control Register"
bitfld.byte 0x5 3. " SDAC     ,IICSDA Output Control" "Logic 0,Logic 1"
bitfld.byte 0x5 2. "      SCLC  ,IICSCL Output Control" "Logic 0,Logic 1"
bitfld.byte 0x5 1. "          MSDA ,Monitor IICSDA" "Logic 0,Logic 1"
textline "                     "
bitfld.byte 0x5 0. " MSCL     ,Monitor IICSCL" "Logic 0,Logic 1"
width 0xb
tree.end
tree "IIC1"
width 16.
hgroup.byte (0x400+0x100)++0x0
hide.byte 0x0 "IIC1_MDBUF,IIC1 Master Data Buffer"
in
hgroup.byte (0x402+0x100)++0x0
hide.byte 0x0 "IIC1_SDBUF,IIC1 Slave Data Buffer"
in
if (((data.byte(ad:(0x1:0x40000000+0x406+0x100)))&0x40)==0x40)
; IIC1_CNTL[AMD]: 10-bit
group.byte (0x404+0x100)++0x0
line.byte 0x0 "IIC1_LMADR,IIC1 Low Master Address Register"
hexmask.byte 0x00 0.--7. 1. " A[7:0]   ,Address bits 0 to 7"
else
; IIC1_CNTL[AMD]: 7-bit
group.byte (0x404+0x100)++0x0
line.byte 0x0 "IIC1_LMADR,IIC1 Low Master Address Register"
hexmask.byte 0x00 1.--7. 2. " A[6:0]   ,Address bits 0 to 6"
endif
group.byte (0x405+0x100)++0x4
line.byte 0x0 "IIC1_HMADR,IIC1 High Master Address Register"
hexmask.byte 0x0 1.--7. 1. " A[7:1]   ,Address bits 1 to 7"
line.byte 0x1 "IIC1_CNTL,IIC1 Control Register"
bitfld.byte 0x1 7. " HMT      ,Halt Master Transfer" "-,Halted"
bitfld.byte 0x1 6. "       AMD   ,Addressing Mode" "7-bit,10-bit"
bitfld.byte 0x1 4.--5. "           TCT  ,Transfer Count" "1 byte,2 bytes,3 bytes,4 bytes"
textline "                     "
bitfld.byte 0x1 3. " RPST     ,Repeated Start" "-,Repeated"
bitfld.byte 0x1 2. "     CHT   ,Chain Transfer" "-,Chained"
bitfld.byte 0x1 1. "          RW   ,Read/Write" "Write,Read"
textline "                     "
bitfld.byte 0x1 0. " PT       ,Pending Transfer" "-,Pending"
line.byte 0x2 "IIC1_MDCNTL,IIC1 Mode Control Register"
bitfld.byte 0x2 7. " FSDB     ,Flush Slave Data Buffer" "-,Flushed"
bitfld.byte 0x2 6. "      FMDB  ,Flush Master Data Buffer" "-,Flushed"
bitfld.byte 0x2 5. "          EGC  ,Enable General Call" "-,Enabled"
textline "                     "
bitfld.byte 0x2 4. " FSM      ,Fast/Standard Mode" "100 kHz,400 kHz"
bitfld.byte 0x2 3. "      ESM   ,Enable Slave Mode" "-,Enabled"
bitfld.byte 0x2 2. "          EINT ,Enable Interrupt" "-,Enabled"
textline "                     "
bitfld.byte 0x2 1. " EUBS     ,Exit Unknown IIC Bus State" "-,Exited"
bitfld.byte 0x2 0. "       HSCL  ,Hold IIC Serial Clock Low" "-,Held"
line.byte 0x3 "IIC1_STS,IIC1 Status Register"
bitfld.byte 0x3 7. " SSS      ,Slave Status Set" "-,In progress"
bitfld.byte 0x3 6. "  SLPR  ,Sleep Request" "-,Sleep"
bitfld.byte 0x3 5. "            MDBS ,Master Data Buffer Status" "Empty,-"
textline "                     "
bitfld.byte 0x3 4. " MDBF     ,Master Data Buffer Full" "-,Full"
eventfld.byte 0x3 3. "         SCMP  ,Stop Complete" "-,Completed"
bitfld.byte 0x3 2. "        ERR  ,Error" "-,Error"
textline "                     "
eventfld.byte 0x3 1. " IRQA     ,IRQ Active" "-,Interrupt"
bitfld.byte 0x3 0. "    PT    ,Pending Transfer" "-,Pending"
line.byte 0x4 "IIC1_EXTSTS,IIC1 Extended Status Register"
eventfld.byte 0x4 7. " IRQP     ,IRQ Pending" "-,Pending"
bitfld.byte 0x4 4.--6. "      BCS   ,Bus Control State" "Reserved,Slave-selected,Slave Transfer,Master Transfer,Free Bus,Bus Busy,Unknown,Reserved"
eventfld.byte 0x4 3. "  IRQD ,IRQ On-Deck" "-,Interrupt"
textline "                     "
eventfld.byte 0x4 2. " LA       ,Lost Arbitration" "-,Lost"
eventfld.byte 0x4 1. "         ICT   ,Incomplete Transfer" "-,Incompleted"
eventfld.byte 0x4 0. "      XFRA ,Transfer Aborted" "-,Aborted"
if (((data.byte(ad:(0x1:0x40000000+0x406+0x100)))&0x40)==0x40)
; IIC1_CNTL[AMD]: 10-bit
group.byte (0x40A+0x100)++0x0
line.byte 0x0 "IIC1_LSADR,IIC1 Low Slave Address Register"
hexmask.byte 0x0 0.--7. 1. " A[7:0]   ,Address bits 0 to 7"
else
; IIC1_CNTL[AMD]: 7-bit
group.byte (0x40A+0x100)++0x0
line.byte 0x0 "IIC1_LSADR,IIC1 Low Slave Address Register"
hexmask.byte 0x0 1.--7. 2. " A[6:0]   ,Address bits 0 to 6"
endif
group.byte (0x40B+0x100)++0x5
line.byte 0x0 "IIC1_HSADR,IIC1 High Slave Address Register"
hexmask.byte 0x0 1.--7. 1. " A[6:0]   ,Address bits 0 to 6"
line.byte 0x1 "IIC1_CLKDIV,IIC1 Clock Divide Register"
hexmask.byte 0x1 0.--7. 1. " DIV[7:0] ,Divisor bits 0 to 7"
line.byte 0x2 "IIC1_INTRMSK,IIC1 Interrupt Mask Register"
bitfld.byte 0x2 7. " EIRC     ,Enable IRQ on Slave Read Complete" "-,Enabled"
bitfld.byte 0x2 6. "      EIRS  ,Enable IRQ on Slave Read Needs Service" "-,Enabled"
bitfld.byte 0x2 5. "          EIWC ,Enable IRQ on Slave Write Complete" "-,Enabled"
textline "                     "
bitfld.byte 0x2 4. " EIWS     ,Enable IRQ on Slave Write Needs Service" "-,Enabled"
bitfld.byte 0x2 3. "      EIHE  ,Enable IRQ on Halt Executed" "-,Enabled"
bitfld.byte 0x2 2. "          EIIC ,Enable IRQ on Incomplete Transfer" "-,Enabled"
textline "                     "
bitfld.byte 0x2 1. " EITA     ,Enable IRQ on Transfer Aborted" "-,Enabled"
bitfld.byte 0x2 0. "      EIMTC ,Enable IRQ on Requested Master Transfer Complete" "-,Enabled"
line.byte 0x3 "IIC1_XFRCNT,IIC1 Transfer Count Register"
bitfld.byte 0x3 4.--6. " STC      ,Slave Transfer Count" "0 bytes,1 byte,2 bytes,3 bytes,4 bytes,Reserved,Reserved,Reserved"
bitfld.byte 0x3 0.--2. "     MTC   ,Master Transfer Count" "0 bytes,1 byte,2 bytes,3 bytes,4 bytes,Reserved,Reserved,Reserved"
line.byte 0x4 "IIC1_XTCNTLSS,IIC1 Extended Control and Slave Status Register"
eventfld.byte 0x4 7. " SRC      ,Slave Read Complete" "-,Completed"
eventfld.byte 0x4 6. "    SRS   ,Slave Read Needs Service" "-,Requested"
eventfld.byte 0x4 5. "        SWC  ,Slave Write Complete" "-,Completed"
textline "                     "
eventfld.byte 0x4 4. " SWS      ,Slave Write Needs Service" "-,Needed"
bitfld.byte 0x4 3. "       SDBD  ,Slave Data Buffer Has Data" "-,Not empty"
bitfld.byte 0x4 2. "        SDBF ,Slave Data Buffer Full" "-,Full"
textline "                     "
bitfld.byte 0x4 0. " SRST     ,Soft Reset" "-,Reset"
line.byte 0x5 "IIC1_DIRECTCNTL,IIC1 Direct Control Register"
bitfld.byte 0x5 3. " SDAC     ,IICSDA Output Control" "Logic 0,Logic 1"
bitfld.byte 0x5 2. "      SCLC  ,IICSCL Output Control" "Logic 0,Logic 1"
bitfld.byte 0x5 1. "          MSDA ,Monitor IICSDA" "Logic 0,Logic 1"
textline "                     "
bitfld.byte 0x5 0. " MSCL     ,Monitor IICSCL" "Logic 0,Logic 1"
width 0xb
tree.end
elif (cpu()=="PPC440GP")
base ANC:0x0:0x00000000
tree "IIC0"
width 15.
group ANC:0x1:(0x40000400+0x000)++0x0
line.byte 0x0 "IIC0_MDBUF,IIC0 Master Data Buffer"
hexmask.byte 0x00 0.--7. 1. " Data   ,Data bits"
group ANC:0x1:(0x40000402+0x000)++0x0
line.byte 0x0 "IIC0_SDBUF,IIC0 Slave Data Buffer"
hexmask.byte 0x00 0.--7. 1. " Data   ,Data bits"
group ANC:0x1:(0x40000404+0x000)++0x0
line.byte 0x0 "IIC0_LMADR,IIC0 Low Master Address"
hexmask.byte 0x00 0.--7. 1. " Addr   ,address bits"
group ANC:0x1:(0x40000405+0x000)++0x0
line.byte 0x0 "IIC0_HMADR,IIC0 High Master Address"
hexmask.byte 0x00 0.--7. 1. " Addr   ,address bits"
group ANC:0x1:(0x40000406+0x000)++0x0
line.byte 0x0 "IIC0_CNTL,IIC0 Control"
bitfld.byte 0x00 7. " HMT    ,Halt Master Transfer" "Normal,Halt"
bitfld.byte 0x00 6. "            AMD   ,Addressing Mode" "7-bit,10-bit"
bitfld.byte 0x00 4.--5. "            TCT  ,Transfer Count" "1 byte,2 bytes,3 bytes,4 bytes"
textline "                    "
bitfld.byte 0x00 3. " RPST   ,Repeated Start" "Normal,Repeated"
bitfld.byte 0x00 2. "          CHT   ,Chain Transfer" "One or last,One of many"
bitfld.byte 0x00 1. "       RW   ,Read/Write" "Write,Read"
textline "                    "
bitfld.byte 0x00 0. " PT     ,Pending Transfer" "Completed,Start"
group ANC:0x1:(0x40000407+0x000)++0x0
line.byte 0x0 "IIC0_MDCNTL,IIC0 Mode Control"
bitfld.byte 0x00 7. " FSDB   ,Flush Slave Data Buffer" "Normal,Flush"
bitfld.byte 0x00 6. "            FMDB  ,Flush Master Data Buffer" "Normal,Flush"
bitfld.byte 0x00 5. "            EGC  ,Enable General Call" "-,Enabled"
textline "                    "
bitfld.byte 0x00 4. " FSM    ,Fast/Standard Mode" "100 kHz,400 kHz"
bitfld.byte 0x00 3. "           ESM   ,Enable Slave Mode" "-,Enabled"
bitfld.byte 0x00 2. "           EINT ,Enable Interrupt" "-,Enabled"
textline "                    "
bitfld.byte 0x00 1. " EUBS   ,Exit Unknown IIC Bus State" "Normal,Exit"
bitfld.byte 0x00 0. "            HSCL  ,Hold IIC Serial Clock Low" "issue NACK,hold IICSCL"
group ANC:0x1:(0x40000408+0x000)++0x0
line.byte 0x0 "IIC0_STS,IIC0 Status"
bitfld.byte 0x00 7. " SSS    ,Slave Status Set" "Not in progress,In progress"
bitfld.byte 0x00 6. "   SLPR  ,Sleep Request" "Normal,Sleep mode"
bitfld.byte 0x00 5. "        MDBS ,Master Data Buffer Status" "Empty,Not empty"
textline "                    "
bitfld.byte 0x00 4. " MDBF   ,Master Data Buffer Full" "Not full,Full"
eventfld.byte 0x00 3. "          SCMP  ,Stop Complete" "Halt,Completed"
bitfld.byte 0x00 2. "         ERR  ,Error" "-,IIC0_EXTSTS[LA|ICT|XFRA] = 1"
textline "                    "
eventfld.byte 0x00 1. " IRQA   ,IRQ Active" "-,Interrupt"
bitfld.byte 0x00 0. "         PT    ,Pending Transfer" "-,Pending"
group ANC:0x1:(0x40000409+0x000)++0x0
line.byte 0x0 "IIC0_EXTSTS,IIC0 Extended Status"
bitfld.byte 0x00 7. " IRQP   ,IRQ Pending" "-,Interrupt"
bitfld.byte 0x00 4.--6. "         BCS   ,Bus Control SState" "Reserved,Slave-selected,Slave Transfer,Master Transfer,Free ,Busy,Unknown,Reserved"
bitfld.byte 0x00 3. "   IRQD ,IRQ On-Deck" "-,Interrupt"
textline "                    "
bitfld.byte 0x00 2. " LA     ,Lost Arbitration" "Normal operation,Lost"
bitfld.byte 0x00 1. "  ICT   ,Incomplete Transfer" "Normal operation,Incompleted"
bitfld.byte 0x00 0. "  XFRA ,Transfer Aborted" "Normal operation,Aborted"
group ANC:0x1:(0x4000040a+0x000)++0x0
line.byte 0x0 "IIC0_LSADR,IIC0 Low Slave Address"
hexmask.byte 0x00 0.--7. 1. " Addr   ,address bits"
group ANC:0x1:(0x4000040b+0x000)++0x0
line.byte 0x0 "IIC0_HSADR,IIC0 High Slave Address"
hexmask.byte 0x00 0.--7. 1. " Addr   ,address bits"
group ANC:0x1:(0x4000040c+0x000)++0x0
line.byte 0x0 "IIC0_CLKDIV,IIC0 Clock Divide"
hexmask.byte 0x00 0.--7. 1. " CLKDIV ,Divisor bits"
group ANC:0x1:(0x4000040d+0x000)++0x0
line.byte 0x0 "IIC0_INTRMSK,IIC0 Interrupt Mask"
bitfld.byte 0x00 7. " EIRC   ,Enable IRQ on Slave Read Complete" "-,Enabled"
bitfld.byte 0x00 6. "           EIRS  ,Enable IRQ on Slave Read Needs Service" "-,Enabled"
bitfld.byte 0x00 5. "           EIWC ,Enable IRQ on Slave Write Complete" "-,Enabled"
textline "                    "
bitfld.byte 0x00 4. " EIWS   ,Enable IRQ on Slave Write Needs Service" "-,Enabled"
bitfld.byte 0x00 3. "           EIHE  ,Enable IRQ on Halt Executed" "-,Enabled"
bitfld.byte 0x00 2. "           EIIC ,Enable IRQ on Incomplete Transfer" "-,Enabled"
textline "                    "
bitfld.byte 0x00 1. " EITA   ,Enable IRQ on Transfer Aborted" "-,Enabled"
bitfld.byte 0x00 0. "           EIMTC ,Enable IRQ on Requested Master Transfer Complete" "-,Enabled"
group ANC:0x1:(0x4000040e+0x000)++0x0
line.byte 0x0 "IIC0_XFRCNT,IIC0 Transfer Count"
bitfld.byte 0x00 4.--6. " STC    ,Slave Transfer Count" "0 bytes,1 bytes,2 bytes,3 bytes,4 bytes,Reserved,Reserved,Reserved"
bitfld.byte 0x00 0.--2. "          MTC   ,Master Transfer Count" "0 bytes,1 bytes,2 bytes,3 bytes,4 bytes,Reserved,Reserved,Reserved"
group ANC:0x1:(0x4000040f+0x000)++0x0
line.byte 0x0 "IIC0_XTCNTLSS,IIC0 Extended Control and Slave Status"
bitfld.byte 0x00 7. " SRC    ,Slave Read Complete" "Not completed,Completed"
bitfld.byte 0x00 6. "     SRS   ,Slave Read Needs Service" "No need,Need"
bitfld.byte 0x00 5. "           SWC  ,Slave Write Complete" "Not completed,Completed"
textline "                    "
bitfld.byte 0x00 4. " SWS    ,Slave Write Needs Service" "No need,Need"
bitfld.byte 0x00 3. "           SDBD  ,Slave Data Buffer Has Data" "Empty,Not empty"
bitfld.byte 0x00 2. "         SDBF ,Slave Data Buffer Full" "Not full,Full"
textline "                    "
bitfld.byte 0x00 0. " SRST   ,Soft Reset" "-,Reset"
group ANC:0x1:(0x40000410+0x000)++0x0
line.byte 0x00 "IIC0_DIRECTCNTL,IIC0 Direct Control"
bitfld.byte 0x00 3. " SDAC   ,IICSDA Output Control" "Low,High"
bitfld.byte 0x00 2. "              SCC   ,IICSCL Output Control" "Low,High"
bitfld.byte 0x00 1. "              MSDA ,Monitor IICSDA" "Low,High"
textline "                    "
bitfld.byte 0x00 0. " MSCL   ,Monitor IICSCL" "Low,High"
width 0xb
tree.end
tree "IIC1"
width 15.
group ANC:0x1:(0x40000400+0x100)++0x0
line.byte 0x0 "IIC1_MDBUF,IIC1 Master Data Buffer"
hexmask.byte 0x00 0.--7. 1. " Data   ,Data bits"
group ANC:0x1:(0x40000402+0x100)++0x0
line.byte 0x0 "IIC1_SDBUF,IIC1 Slave Data Buffer"
hexmask.byte 0x00 0.--7. 1. " Data   ,Data bits"
group ANC:0x1:(0x40000404+0x100)++0x0
line.byte 0x0 "IIC1_LMADR,IIC1 Low Master Address"
hexmask.byte 0x00 0.--7. 1. " Addr   ,address bits"
group ANC:0x1:(0x40000405+0x100)++0x0
line.byte 0x0 "IIC1_HMADR,IIC1 High Master Address"
hexmask.byte 0x00 0.--7. 1. " Addr   ,address bits"
group ANC:0x1:(0x40000406+0x100)++0x0
line.byte 0x0 "IIC1_CNTL,IIC1 Control"
bitfld.byte 0x00 7. " HMT    ,Halt Master Transfer" "Normal,Halt"
bitfld.byte 0x00 6. "            AMD   ,Addressing Mode" "7-bit,10-bit"
bitfld.byte 0x00 4.--5. "            TCT  ,Transfer Count" "1 byte,2 bytes,3 bytes,4 bytes"
textline "                    "
bitfld.byte 0x00 3. " RPST   ,Repeated Start" "Normal,Repeated"
bitfld.byte 0x00 2. "          CHT   ,Chain Transfer" "One or last,One of many"
bitfld.byte 0x00 1. "       RW   ,Read/Write" "Write,Read"
textline "                    "
bitfld.byte 0x00 0. " PT     ,Pending Transfer" "Completed,Start"
group ANC:0x1:(0x40000407+0x100)++0x0
line.byte 0x0 "IIC1_MDCNTL,IIC1 Mode Control"
bitfld.byte 0x00 7. " FSDB   ,Flush Slave Data Buffer" "Normal,Flush"
bitfld.byte 0x00 6. "            FMDB  ,Flush Master Data Buffer" "Normal,Flush"
bitfld.byte 0x00 5. "            EGC  ,Enable General Call" "-,Enabled"
textline "                    "
bitfld.byte 0x00 4. " FSM    ,Fast/Standard Mode" "100 kHz,400 kHz"
bitfld.byte 0x00 3. "           ESM   ,Enable Slave Mode" "-,Enabled"
bitfld.byte 0x00 2. "           EINT ,Enable Interrupt" "-,Enabled"
textline "                    "
bitfld.byte 0x00 1. " EUBS   ,Exit Unknown IIC Bus State" "Normal,Exit"
bitfld.byte 0x00 0. "            HSCL  ,Hold IIC Serial Clock Low" "issue NACK,hold IICSCL"
group ANC:0x1:(0x40000408+0x100)++0x0
line.byte 0x0 "IIC1_STS,IIC1 Status"
bitfld.byte 0x00 7. " SSS    ,Slave Status Set" "Not in progress,In progress"
bitfld.byte 0x00 6. "   SLPR  ,Sleep Request" "Normal,Sleep mode"
bitfld.byte 0x00 5. "        MDBS ,Master Data Buffer Status" "Empty,Not empty"
textline "                    "
bitfld.byte 0x00 4. " MDBF   ,Master Data Buffer Full" "Not full,Full"
eventfld.byte 0x00 3. "          SCMP  ,Stop Complete" "Halt,Completed"
bitfld.byte 0x00 2. "         ERR  ,Error" "-,IIC1_EXTSTS[LA|ICT|XFRA] = 1"
textline "                    "
eventfld.byte 0x00 1. " IRQA   ,IRQ Active" "-,Interrupt"
bitfld.byte 0x00 0. "         PT    ,Pending Transfer" "-,Pending"
group ANC:0x1:(0x40000409+0x100)++0x0
line.byte 0x0 "IIC1_EXTSTS,IIC1 Extended Status"
bitfld.byte 0x00 7. " IRQP   ,IRQ Pending" "-,Interrupt"
bitfld.byte 0x00 4.--6. "         BCS   ,Bus Control SState" "Reserved,Slave-selected,Slave Transfer,Master Transfer,Free ,Busy,Unknown,Reserved"
bitfld.byte 0x00 3. "   IRQD ,IRQ On-Deck" "-,Interrupt"
textline "                    "
bitfld.byte 0x00 2. " LA     ,Lost Arbitration" "Normal operation,Lost"
bitfld.byte 0x00 1. "  ICT   ,Incomplete Transfer" "Normal operation,Incompleted"
bitfld.byte 0x00 0. "  XFRA ,Transfer Aborted" "Normal operation,Aborted"
group ANC:0x1:(0x4000040a+0x100)++0x0
line.byte 0x0 "IIC1_LSADR,IIC1 Low Slave Address"
hexmask.byte 0x00 0.--7. 1. " Addr   ,address bits"
group ANC:0x1:(0x4000040b+0x100)++0x0
line.byte 0x0 "IIC1_HSADR,IIC1 High Slave Address"
hexmask.byte 0x00 0.--7. 1. " Addr   ,address bits"
group ANC:0x1:(0x4000040c+0x100)++0x0
line.byte 0x0 "IIC1_CLKDIV,IIC1 Clock Divide"
hexmask.byte 0x00 0.--7. 1. " CLKDIV ,Divisor bits"
group ANC:0x1:(0x4000040d+0x100)++0x0
line.byte 0x0 "IIC1_INTRMSK,IIC1 Interrupt Mask"
bitfld.byte 0x00 7. " EIRC   ,Enable IRQ on Slave Read Complete" "-,Enabled"
bitfld.byte 0x00 6. "           EIRS  ,Enable IRQ on Slave Read Needs Service" "-,Enabled"
bitfld.byte 0x00 5. "           EIWC ,Enable IRQ on Slave Write Complete" "-,Enabled"
textline "                    "
bitfld.byte 0x00 4. " EIWS   ,Enable IRQ on Slave Write Needs Service" "-,Enabled"
bitfld.byte 0x00 3. "           EIHE  ,Enable IRQ on Halt Executed" "-,Enabled"
bitfld.byte 0x00 2. "           EIIC ,Enable IRQ on Incomplete Transfer" "-,Enabled"
textline "                    "
bitfld.byte 0x00 1. " EITA   ,Enable IRQ on Transfer Aborted" "-,Enabled"
bitfld.byte 0x00 0. "           EIMTC ,Enable IRQ on Requested Master Transfer Complete" "-,Enabled"
group ANC:0x1:(0x4000040e+0x100)++0x0
line.byte 0x0 "IIC1_XFRCNT,IIC1 Transfer Count"
bitfld.byte 0x00 4.--6. " STC    ,Slave Transfer Count" "0 bytes,1 bytes,2 bytes,3 bytes,4 bytes,Reserved,Reserved,Reserved"
bitfld.byte 0x00 0.--2. "          MTC   ,Master Transfer Count" "0 bytes,1 bytes,2 bytes,3 bytes,4 bytes,Reserved,Reserved,Reserved"
group ANC:0x1:(0x4000040f+0x100)++0x0
line.byte 0x0 "IIC1_XTCNTLSS,IIC1 Extended Control and Slave Status"
bitfld.byte 0x00 7. " SRC    ,Slave Read Complete" "Not completed,Completed"
bitfld.byte 0x00 6. "     SRS   ,Slave Read Needs Service" "No need,Need"
bitfld.byte 0x00 5. "           SWC  ,Slave Write Complete" "Not completed,Completed"
textline "                    "
bitfld.byte 0x00 4. " SWS    ,Slave Write Needs Service" "No need,Need"
bitfld.byte 0x00 3. "           SDBD  ,Slave Data Buffer Has Data" "Empty,Not empty"
bitfld.byte 0x00 2. "         SDBF ,Slave Data Buffer Full" "Not full,Full"
textline "                    "
bitfld.byte 0x00 0. " SRST   ,Soft Reset" "-,Reset"
group ANC:0x1:(0x40000410+0x100)++0x0
line.byte 0x00 "IIC1_DIRECTCNTL,IIC1 Direct Control"
bitfld.byte 0x00 3. " SDAC   ,IICSDA Output Control" "Low,High"
bitfld.byte 0x00 2. "              SCC   ,IICSCL Output Control" "Low,High"
bitfld.byte 0x00 1. "              MSDA ,Monitor IICSDA" "Low,High"
textline "                    "
bitfld.byte 0x00 0. " MSCL   ,Monitor IICSCL" "Low,High"
width 0xb
tree.end
endif
tree "IIC 0"
sif (cpu()=="PPC440GR")
base ANC:0x0:0xef600700
;IIC Bus Interface
width 0x10
hgroup 0x00++0x00
hide.byte 0x00 "IIC0_MDBUF,IIC0 Master Data Buffer Register"
in
hgroup 0x02++0x00
hide.byte 0x00 "IIC0_SDBUF,IIC0 Slave Data Buffer Register"
in
group 0x04++0x01
line.byte 0x00 "IIC0_LMADR,IIC0 Low Master Address Register"
line.byte 0x01 "IIC0_HMADR,IIC0 High Master Address Register"
group 0x06++0x00
line.byte 0x00 "IIC0_CNTL,IIC0 Control Register"
bitfld.byte 0x00 7. " HMT  ,Halt Master Transfer" "-,Halted"  
bitfld.byte 0x00 6. "        AMD   ,Addressing Mode" "7-bit,10-bit"
bitfld.byte 0x00 4.--5. "           TCT  ,Transfer Count" "1 byte,2 bytes,3 bytes,4 bytes"
textline "                     "
bitfld.byte 0x00 3. " RPST ,Repeated Start" "-,Repeated"
bitfld.byte 0x00 2. "      CHT   ,Chain Transfer" "Last,Not last"
bitfld.byte 0x00 1. "         RW   ,Read/Write" "Write,Read"
textline "                     "
bitfld.byte 0x00 0. " PT   ,Pending Transfer" "Completed,Started"
group 0x07++0x00
line.byte 0x00 "IIC0_MDCNTL,IIC0 Mode Control Register"
bitfld.byte 0x00 7. " FSDB ,Flush Slave Data Buffer" "-,Flushed"
bitfld.byte 0x00 6. "       FMDB  ,Flush Master Data Buffer" "-,Flushed"
bitfld.byte 0x00 5. "          EGC  ,Enable General Call" "Ignored,Responded"
textline "                     "
bitfld.byte 0x00 4. " FSM  ,Fast(400kHz)/Standard Mode(100kHz)" "Standard,Fast"
bitfld.byte 0x00 3. "      ESM   ,Enable Slave Mode" "-,Enabled"
bitfld.byte 0x00 2. "          EINT ,Enable Interrupt" "-,Enabled"
textline "                     "
bitfld.byte 0x00 1. " EUBS ,Exit Unknown IIC Bus State" "-,Exit"
bitfld.byte 0x00 0. "          HSCL  ,Hold IIC Serial Clock Low" "NACK,IICSCL low"
group 0x08--0x10
line.byte 0x00 "IIC0_STS,IIC0 Status Register"
bitfld.byte 0x00 7. " SSS  ,Slave Status Set" "-,Set"
bitfld.byte 0x00 6. "           SLPR  ,Sleep Request" "-,Sleep"
bitfld.byte 0x00 5. "            MDBS ,Master Data Buffer Status" "Empty,Not empty"
textline "                     "
bitfld.byte 0x00 4. " MDBF ,Master Data Buffer Full" "-,Full"
eventfld.byte 0x00 3. "          SCMP  ,Stop Complete" "-,Requested"
bitfld.byte 0x00 2. "        ERR  ,Error" "-,Error"
textline "                     "
eventfld.byte 0x00 1. " IRQA ,IRQ Active" "-,Active"
bitfld.byte 0x00 0. "        PT    ,Pending Transfer" "-,Pending"
line.byte 0x01 "IIC0_EXTSTS,IIC0 Extended Status Register"
eventfld.byte 0x01 7. " IRQP ,IRQ Pending" "-,Pending"
bitfld.byte 0x01 4.--6. "       BCS   ,Bus Control State" "Unused,Slave selected,Slave transfer,Master transfer,Free bus,Busy bus,Unknown,Unused"
eventfld.byte 0x01 3. "  IRQD ,IRQ On-Deck" "Not active,Active"
textline "                     "
eventfld.byte 0x01 2. " LA   ,Lost Arbitration" "-,Lost"
eventfld.byte 0x01 1. "          ICT   ,Incomplete Transfer" "Normal,Incomplete"
eventfld.byte 0x01 0. "       XFRA ,Transfer Aborted" "-,Aborted"
line.byte 0x02 "IIC0_LSADR,IIC0 Low Slave Address Register"
line.byte 0x03 "IIC0_HSADR,IIC0 High Slave Address Register"
line.byte 0x04 "IIC0_CLKDIV,IIC0 Clock Divide Register"
line.byte 0x05 "IIC0_INTRMSK,IIC0 Interrupt Mask Register"
bitfld.byte 0x05 7. " EIRC ,Enable IRQ on Slave Read Complete" "-,Enabled"
bitfld.byte 0x05 6. "       EIRS  ,Enable IRQ on Slave Read Needs Service" "-,Enabled"
bitfld.byte 0x05 5. "          EIWC ,Enable IRQ on Slave Write Complete" "-,Enabled"
textline "                     "
bitfld.byte 0x05 4. " EIWS ,Enable IRQ on Slave Write Needs Service" "-,Enabled"
bitfld.byte 0x05 3. "       EIHE  ,Enable IRQ on Halt Executed" "-,Enabled"
bitfld.byte 0x05 2. "          EIIC ,Enable IRQ on Incomplete Transfer" "-,Enabled"
textline "                     "
bitfld.byte 0x05 1. " EITA ,Enable IRQ on Transfer Aborted" "-,Enabled"
bitfld.byte 0x05 0. "       EIMTC ,Enable IRQ on Requested Master Transfer Complete" "-,Enabled"
line.byte 0x06 "IIC0_XFRCNT,IIC0 Transfer Count Register"
bitfld.byte 0x06 4.--6. " STC  ,Slave Transfer Count" "0 bytes,1 byte,2 bytes,3 bytes,4 bytes,Reserved,Reserved,Reserved"
bitfld.byte 0x06 0.--2. "      MTC   ,Master Transfer Count" "0 bytes,1 byte,2 bytes,3 bytes,4 bytes,Reserved,Reserved,Reserved"
line.byte 0x07 "IIC0_XTCNTLSS,IIC0 Extended Control and Slave Status Register"
eventfld.byte 0x07 7. " SRC  ,Slave Read Complete" "-,Completed"
eventfld.byte 0x07 6. "     SRS   ,Slave Read Needs Service" "-,Requested"
eventfld.byte 0x07 5. "        SWC  ,Slave Write Complete" "-,Completed"
textline "                     "
eventfld.byte 0x07 4. " SWS  ,Slave Write Needs Service" "-,Requested"
bitfld.byte 0x07 3. "     SDBD  ,Slave Data Buffer Has Data" "Empty,Not empty"
bitfld.byte 0x07 2. "        SDBF ,Slave Data Buffer Full" "-,Full"
textline "                     "
bitfld.byte 0x07 0. " SRST ,Soft Reset" "-,Reset"
line.byte 0x08 "IIC0_DIRECTCNTL,IIC0 Direct Control Register"
bitfld.byte 0x08 3. " SDAC ,IICSDA Output Control" "Low,High"
bitfld.byte 0x08 2. "          SCLC  ,IICSCL Output Control" "Low,High"
bitfld.byte 0x08 1. "             MSDA ,Monitor IICSDA" "Low,High"
textline "                     "
bitfld.byte 0x08 0. " MSC  ,Monitor IICSCL" "Low,High"
rgroup 0x11++0x00
line.byte 0x00 "IIC0_INTR,IIC0 Interrupt"
bitfld.byte 0x00 7. " IRQD ,IRQ On-Deck" "Normal,Next on-deck"
bitfld.byte 0x00 6. "  IRQP  ,IRQ Pending" "-,Pending"
width 0x0B
elif ((cpu()=="PPC440EPX")||(cpu()=="PPC440GRX"))
base ANC:0x1:0xef600700
;IIC Bus Interface
width 0x10
hgroup 0x00++0x00
hide.byte 0x00 "IIC0_MDBUF,IIC0 Master Data Buffer Register"
in
hgroup 0x02++0x00
hide.byte 0x00 "IIC0_SDBUF,IIC0 Slave Data Buffer Register"
in
group 0x04++0x01
line.byte 0x00 "IIC0_LMADR,IIC0 Low Master Address Register"
line.byte 0x01 "IIC0_HMADR,IIC0 High Master Address Register"
group 0x06++0x00
line.byte 0x00 "IIC0_CNTL,IIC0 Control Register"
bitfld.byte 0x00 7. " HMT  ,Halt Master Transfer" "-,Halted"  
bitfld.byte 0x00 6. "        AMD   ,Addressing Mode" "7-bit,10-bit"
bitfld.byte 0x00 4.--5. "           TCT  ,Transfer Count" "1 byte,2 bytes,3 bytes,4 bytes"
textline "                     "
bitfld.byte 0x00 3. " RPST ,Repeated Start" "-,Repeated"
bitfld.byte 0x00 2. "      CHT   ,Chain Transfer" "Last,Not last"
bitfld.byte 0x00 1. "         RW   ,Read/Write" "Write,Read"
textline "                     "
bitfld.byte 0x00 0. " PT   ,Pending Transfer" "Completed,Started"
group 0x07++0x00
line.byte 0x00 "IIC0_MDCNTL,IIC0 Mode Control Register"
bitfld.byte 0x00 7. " FSDB ,Flush Slave Data Buffer" "-,Flushed"
bitfld.byte 0x00 6. "       FMDB  ,Flush Master Data Buffer" "-,Flushed"
bitfld.byte 0x00 5. "          EGC  ,Enable General Call" "Ignored,Responded"
textline "                     "
bitfld.byte 0x00 4. " FSM  ,Fast(400kHz)/Standard Mode(100kHz)" "Standard,Fast"
bitfld.byte 0x00 3. "      ESM   ,Enable Slave Mode" "-,Enabled"
bitfld.byte 0x00 2. "          EINT ,Enable Interrupt" "-,Enabled"
textline "                     "
bitfld.byte 0x00 1. " EUBS ,Exit Unknown IIC Bus State" "-,Exit"
bitfld.byte 0x00 0. "          HSCL  ,Hold IIC Serial Clock Low" "NACK,IICSCL low"
group 0x08--0x10
line.byte 0x00 "IIC0_STS,IIC0 Status Register"
bitfld.byte 0x00 7. " SSS  ,Slave Status Set" "-,Set"
bitfld.byte 0x00 6. "           SLPR  ,Sleep Request" "-,Sleep"
bitfld.byte 0x00 5. "            MDBS ,Master Data Buffer Status" "Empty,Not empty"
textline "                     "
bitfld.byte 0x00 4. " MDBF ,Master Data Buffer Full" "-,Full"
eventfld.byte 0x00 3. "          SCMP  ,Stop Complete" "-,Requested"
bitfld.byte 0x00 2. "        ERR  ,Error" "-,Error"
textline "                     "
eventfld.byte 0x00 1. " IRQA ,IRQ Active" "-,Active"
bitfld.byte 0x00 0. "        PT    ,Pending Transfer" "-,Pending"
line.byte 0x01 "IIC0_EXTSTS,IIC0 Extended Status Register"
eventfld.byte 0x01 7. " IRQP ,IRQ Pending" "-,Pending"
bitfld.byte 0x01 4.--6. "       BCS   ,Bus Control State" "Unused,Slave selected,Slave transfer,Master transfer,Free bus,Busy bus,Unknown,Unused"
eventfld.byte 0x01 3. "  IRQD ,IRQ On-Deck" "Not active,Active"
textline "                     "
eventfld.byte 0x01 2. " LA   ,Lost Arbitration" "-,Lost"
eventfld.byte 0x01 1. "          ICT   ,Incomplete Transfer" "Normal,Incomplete"
eventfld.byte 0x01 0. "       XFRA ,Transfer Aborted" "-,Aborted"
line.byte 0x02 "IIC0_LSADR,IIC0 Low Slave Address Register"
line.byte 0x03 "IIC0_HSADR,IIC0 High Slave Address Register"
line.byte 0x04 "IIC0_CLKDIV,IIC0 Clock Divide Register"
line.byte 0x05 "IIC0_INTRMSK,IIC0 Interrupt Mask Register"
bitfld.byte 0x05 7. " EIRC ,Enable IRQ on Slave Read Complete" "-,Enabled"
bitfld.byte 0x05 6. "       EIRS  ,Enable IRQ on Slave Read Needs Service" "-,Enabled"
bitfld.byte 0x05 5. "          EIWC ,Enable IRQ on Slave Write Complete" "-,Enabled"
textline "                     "
bitfld.byte 0x05 4. " EIWS ,Enable IRQ on Slave Write Needs Service" "-,Enabled"
bitfld.byte 0x05 3. "       EIHE  ,Enable IRQ on Halt Executed" "-,Enabled"
bitfld.byte 0x05 2. "          EIIC ,Enable IRQ on Incomplete Transfer" "-,Enabled"
textline "                     "
bitfld.byte 0x05 1. " EITA ,Enable IRQ on Transfer Aborted" "-,Enabled"
bitfld.byte 0x05 0. "       EIMTC ,Enable IRQ on Requested Master Transfer Complete" "-,Enabled"
line.byte 0x06 "IIC0_XFRCNT,IIC0 Transfer Count Register"
bitfld.byte 0x06 4.--6. " STC  ,Slave Transfer Count" "0 bytes,1 byte,2 bytes,3 bytes,4 bytes,Reserved,Reserved,Reserved"
bitfld.byte 0x06 0.--2. "      MTC   ,Master Transfer Count" "0 bytes,1 byte,2 bytes,3 bytes,4 bytes,Reserved,Reserved,Reserved"
line.byte 0x07 "IIC0_XTCNTLSS,IIC0 Extended Control and Slave Status Register"
eventfld.byte 0x07 7. " SRC  ,Slave Read Complete" "-,Completed"
eventfld.byte 0x07 6. "     SRS   ,Slave Read Needs Service" "-,Requested"
eventfld.byte 0x07 5. "        SWC  ,Slave Write Complete" "-,Completed"
textline "                     "
eventfld.byte 0x07 4. " SWS  ,Slave Write Needs Service" "-,Requested"
bitfld.byte 0x07 3. "     SDBD  ,Slave Data Buffer Has Data" "Empty,Not empty"
bitfld.byte 0x07 2. "        SDBF ,Slave Data Buffer Full" "-,Full"
textline "                     "
bitfld.byte 0x07 0. " SRST ,Soft Reset" "-,Reset"
line.byte 0x08 "IIC0_DIRECTCNTL,IIC0 Direct Control Register"
bitfld.byte 0x08 3. " SDAC ,IICSDA Output Control" "Low,High"
bitfld.byte 0x08 2. "          SCLC  ,IICSCL Output Control" "Low,High"
bitfld.byte 0x08 1. "             MSDA ,Monitor IICSDA" "Low,High"
textline "                     "
bitfld.byte 0x08 0. " MSC  ,Monitor IICSCL" "Low,High"
rgroup 0x11++0x00
line.byte 0x00 "IIC0_INTR,IIC0 Interrupt"
bitfld.byte 0x00 7. " IRQD ,IRQ On-Deck" "Normal,Next on-deck"
bitfld.byte 0x00 6. "  IRQP  ,IRQ Pending" "-,Pending"
width 0x0B
elif ((cpu()=="PPC440EP")||(cpu()=="PPC440SP")||(cpu()=="PPC440SPE"))
;IIC Bus Interface
width 0x10
SIF (CPU()=="PPC440EP")
base ad:0x0:0xEF600700
ENDIF
SIF (CPU()=="PPC440SP")
base ad:0x1:0xF0000400
ENDIF
SIF (CPU()=="PPC440SPE")
base ad:0x4:0xF0000400
ENDIF
SIF (CPU()=="PPC440EP")
hgroup (0x00+0x1000)++0x4
hide.byte 0x00 "IIC0_MDBUF,IIC0 Master Data Buffer"
in
hide.byte 0x02 "IIC0_SDBUF,IIC0 Slave Data Buffer"
in
ENDIF
SIF (CPU()=="PPC440SP"||CPU()=="PPC440SPE")
hgroup (0x00+0x100*0)++0x4
hide.byte 0x00 "IIC0_MDBUF,IIC0 Master Data Buffer"
in
hide.byte 0x02 "IIC0_SDBUF,IIC0 Slave Data Buffer"
in
ENDIF
group (0x04+0*0x100)++0x0c
line.byte 0x00 "IIC0_LMADR,IIC0 Low Master Address"
bitfld.byte 0x00 7. " A0   ,Address Bit 0" "0,1"
bitfld.byte 0x00 6. "             A1    ,Address Bit 1" "0,1"
bitfld.byte 0x00 5. "                A2   ,Address Bit 2" "0,1"
textline "                     "
bitfld.byte 0x00 4. " A3   ,Address Bit 3" "0,1"
bitfld.byte 0x00 3. "             A4    ,Address Bit 4" "0,1"
bitfld.byte 0x00 2. "                A5   ,Address Bit 5" "0,1"
textline "                     "
bitfld.byte 0x00 1. " A6   ,Address Bit 6" "0,1"
bitfld.byte 0x00 0. "             A7    ,Address Bit 7" "0,1"
line.byte 0x01 "IIC0_HMADR,IIC0 High Master Address"
bitfld.byte 0x01 7. " A0   ,Address Bit 0" "0,1"
bitfld.byte 0x01 6. "             A1    ,Address Bit 1" "0,1"
bitfld.byte 0x01 5. "                A2   ,Address Bit 2" "0,1"
textline "                     "
bitfld.byte 0x01 4. " A3   ,Address Bit 3" "0,1"
bitfld.byte 0x01 3. "             A4    ,Address Bit 4" "0,1"
bitfld.byte 0x01 2. "                A5   ,Address Bit 5" "0,1"
textline "                     "
bitfld.byte 0x01 1. " A6   ,Address Bit 6" "0,1"
bitfld.byte 0x01 0. "             A7    ,Address Bit 7" "0,1"
line.byte 0x02 "IIC0_CNTL,IIC0 Control"
bitfld.byte 0x02 7. " HMT  ,Halt Master Transfer" "Not halted,Halted"  
bitfld.byte 0x02 6. "    AMD   ,Addressing Mode" "7-bit,10-bit"
bitfld.byte 0x02 4.--5. "           TCT  ,Transfer Count" "1,2,3,4"
textline "                     "
bitfld.byte 0x02 3. " RPST ,Repeated Start" "Not repeated,Repeated"
bitfld.byte 0x02 2. "  CHT   ,Chain Transfer" "Last,Not last"
bitfld.byte 0x02 1. "         RW   ,Read/Write" "Write,Read"
textline "                     "
bitfld.byte 0x02 0. " PT   ,Pending Transfer" "Complete,Start"
line.byte 0x03 "IIC0_MDCNTL,IIC0 Mode Control"
bitfld.byte 0x03 7. " FSDB ,Flush Slave Data Buffer" "No flush,Flush"
bitfld.byte 0x03 6. "      FMDB  ,Flush Master Data Buffer" "Not flushed,Flushed"
bitfld.byte 0x03 5. "      EGC  ,Enable General Call" "Ignored,Responded"
textline "                     "
bitfld.byte 0x03 4. " FSM  ,Fast(400kHz)/Standard Mode(100kHz)" "Standard,Fast"
bitfld.byte 0x03 3. "      ESM   ,Enable Slave Mode" "-,Enabled"
bitfld.byte 0x03 2. "          EINT ,Enable Interrupt" "-,Enabled"
textline "                     "
bitfld.byte 0x03 1. " EUBS ,Exit Unknown IIC Bus State" "No exit,Exit"
bitfld.byte 0x03 0. "       HSCL  ,Hold IIC Serial Clock Low" "NACK,IICSCL low"
line.byte 0x04 "IIC0_STS,IIC0 Status"
bitfld.byte 0x04 7. " SSS  ,Slave Status Set" "-,Set"
bitfld.byte 0x04 6. "           SLPR  ,Sleep Request" "-,Sleep"
bitfld.byte 0x04 5. "            MDBS ,Master Data Buffer Status" "Empty,Not empty"
textline "                     "
bitfld.byte 0x04 4. " MDBF ,Master Data Buffer Full" "Not full,Full"
eventfld.byte 0x04 3. "      SCMP  ,Stop Complete" "No request,Request"
bitfld.byte 0x04 2. "       ERR  ,Error" "-,Error"
textline "                     "
eventfld.byte 0x04 1. " IRQA ,IRQ Active" "Not active,Active"
bitfld.byte 0x04 0. "    PT    ,Pending Transfer" "-,Pending"
line.byte 0x05 "IIC0_EXTSTS,IIC0 Extended Status"
eventfld.byte 0x05 7. " IRQP ,IRQ Pending" "-,Pending"
bitfld.byte 0x05 4.--6. "       BCS   ,Bus Control State" "Unused,Slave selected,Slave transfer,Master transfer,Free Bus,Busy Bus,Unknown,Unused"
eventfld.byte 0x05 3. "  IRQD ,IRQ On-Deck" "Not active,Active"
textline "                     "
eventfld.byte 0x05 2. " LA   ,Lost Arbitration" "Not lost,Lost"
eventfld.byte 0x05 1. "      ICT   ,Incomplete Transfer" "Normal,Incomplete"
eventfld.byte 0x05 0. "       XFRA ,Transfer Aborted" "-,Abort"
line.byte 0x06 "IIC0_LSADR,IIC0 Low Slave Address"
bitfld.byte 0x06 7. " A0   ,Address Bit 0" "0,1"
bitfld.byte 0x06 6. "             A1    ,Address Bit 1" "0,1"
bitfld.byte 0x06 5. "                A2   ,Address Bit 2" "0,1"
textline "                     "
bitfld.byte 0x06 4. " A3   ,Address Bit 3" "0,1"
bitfld.byte 0x06 3. "             A4    ,Address Bit 4" "0,1"
bitfld.byte 0x06 2. "                A5   ,Address Bit 5" "0,1"
textline "                     "
bitfld.byte 0x06 1. " A6   ,Address Bit 6" "0,1"
bitfld.byte 0x06 0. "             A7    ,Address Bit 7" "0,1"
line.byte 0x07 "IIC0_HSADR,IIC0 High Slave Address"
bitfld.byte 0x07 7. " A0   ,Address Bit 0" "0,1"
bitfld.byte 0x07 6. "             A1    ,Address Bit 1" "0,1"
bitfld.byte 0x07 5. "                A2   ,Address Bit 2" "0,1"
textline "                     "
bitfld.byte 0x07 4. " A3   ,Address Bit 3" "0,1"
bitfld.byte 0x07 3. "             A4    ,Address Bit 4" "0,1"
bitfld.byte 0x07 2. "                A5   ,Address Bit 5" "0,1"
textline "                     "
bitfld.byte 0x07 1. " A6   ,Address Bit 6" "0,1"
bitfld.byte 0x07 0. "             A7    ,Bit 7" "0,1"
line.byte 0x08 "IIC0_CLKDIV,IIC0 Clock Divide"
bitfld.byte 0x08 7. " DIV0 ,Divisor Bit 0" "0,1"
bitfld.byte 0x08 6. "             DIV1  ,Divisor Bit 1" "0,1"
bitfld.byte 0x08 5. "                DIV2 ,Divisor Bit 2" "0,1"
textline "                     "
bitfld.byte 0x08 4. " DIV3 ,Divisor Bit 3" "0,1"
bitfld.byte 0x08 3. "             DIV4  ,Divisor Bit 4" "0,1"
bitfld.byte 0x08 2. "                DIV5 ,Divisor Bit 5" "0,1"
textline "                     "
bitfld.byte 0x08 1. " DIV6 ,Divisor Bit 6" "0,1"
bitfld.byte 0x08 0. "             DIV7  ,Divisor Bit 7" "0,1"
line.byte 0x09 "IIC0_INTRMSK,IIC0 Interrupt Mask"
bitfld.byte 0x09 7. " EIRC ,Enable IRQ on Slave Read Complete" "-,Enabled"
bitfld.byte 0x09 6. "       EIRS  ,Enable IRQ on Slave Read Needs Service" "-,Enabled"
bitfld.byte 0x09 5. "          EIWC ,Enable IRQ on Slave Write Complete" "-,Enabled"
textline "                     "
bitfld.byte 0x09 4. " EIWS ,Enable IRQ on Slave Write Needs Service" "-,Enabled"
bitfld.byte 0x09 3. "       EIHE  ,Enable IRQ on Halt Executed" "-,Enabled"
bitfld.byte 0x09 2. "          EIIC ,Enable IRQ on Incomplete Transfer" "-,Enabled"
textline "                     "
bitfld.byte 0x09 1. " EITA ,Enable IRQ on Transfer Aborted" "-,Enabled"
bitfld.byte 0x09 0. "       EIMTC ,Enable IRQ on Requested Master Transfer Complete" "-,Enabled"
line.byte 0x0A "IIC0_XFRCNT,IIC0 Transfer Count"
bitfld.byte 0x0A 4.--6. " STC  ,Slave Transfer Count" "0 bytes,1 bytes,2 bytes,3 bytes,4 bytes,Reserved,Reserved,Reserved"
bitfld.byte 0x0A 0.--2. "      MTC   ,Master Transfer Count" "0 bytes,1 bytes,2 bytes,3 bytes,4 bytes,Reserved,Reserved,Reserved"
line.byte 0x0B "IIC0_XTCNTLSS,IIC0 Extended Control and Slave Status"
eventfld.byte 0x0B 7. " SRC  ,Slave Read Complete" "-,Complete"
eventfld.byte 0x0B 6. "      SRS   ,Slave Read Needs Service" "No need,Need"
eventfld.byte 0x0B 5. "          SWC  ,Slave Write Complete" "-,Complete"
textline "                     "
eventfld.byte 0x0B 4. " SWS  ,Slave Write Needs Service" "No,Yes"
bitfld.byte 0x0B 3. "           SDBD  ,Slave Data Buffer Has Data" "Empty,Not empty"
bitfld.byte 0x0B 2. "        SDBF ,Slave Data Buffer Full" "Not full,Full"
textline "                     "
bitfld.byte 0x0B 0. " SRST ,Soft Reset" "-,Reset"
line.byte 0x0C "IIC0_DIRECTCNTL,IIC0 Direct Control"
bitfld.byte 0x0C 3. " SDAC ,IICSDA Output Control" "Low,High"
bitfld.byte 0x0C 2. "          SCC   ,IICSCL Output Control" "Low,High"
bitfld.byte 0x0C 1. "             MSDA ,Monitor IICSDA" "Low,High"
textline "                     "
bitfld.byte 0x0C 0. " MSC  ,Monitor IICSCL" "Low,High"
SIF (CPU()=="PPC440EP")
rgroup (0x11+0*0x100)++0x00
line.byte 0x00 "IIC0_INTR,IIC0 Interrupt"
bitfld.byte 0x00 7. " IRQD ,IRQ On-Deck" "Normal,Next on-deck"
bitfld.byte 0x00 6. "  IRQP  ,IRQ Pending" "-,Next pending"
ENDIF
width 0x0B
endif
tree.end
tree "IIC 1"
sif (cpu()=="PPC440GR")
base ANC:0x0:0xef600800
;IIC Bus Interface
width 0x10
hgroup 0x00++0x00
hide.byte 0x00 "IIC1_MDBUF,IIC1 Master Data Buffer Register"
in
hgroup 0x02++0x00
hide.byte 0x00 "IIC1_SDBUF,IIC1 Slave Data Buffer Register"
in
group 0x04++0x01
line.byte 0x00 "IIC1_LMADR,IIC1 Low Master Address Register"
line.byte 0x01 "IIC1_HMADR,IIC1 High Master Address Register"
group 0x06++0x00
line.byte 0x00 "IIC1_CNTL,IIC1 Control Register"
bitfld.byte 0x00 7. " HMT  ,Halt Master Transfer" "-,Halted"  
bitfld.byte 0x00 6. "        AMD   ,Addressing Mode" "7-bit,10-bit"
bitfld.byte 0x00 4.--5. "           TCT  ,Transfer Count" "1 byte,2 bytes,3 bytes,4 bytes"
textline "                     "
bitfld.byte 0x00 3. " RPST ,Repeated Start" "-,Repeated"
bitfld.byte 0x00 2. "      CHT   ,Chain Transfer" "Last,Not last"
bitfld.byte 0x00 1. "         RW   ,Read/Write" "Write,Read"
textline "                     "
bitfld.byte 0x00 0. " PT   ,Pending Transfer" "Completed,Started"
group 0x07++0x00
line.byte 0x00 "IIC1_MDCNTL,IIC1 Mode Control Register"
bitfld.byte 0x00 7. " FSDB ,Flush Slave Data Buffer" "-,Flushed"
bitfld.byte 0x00 6. "       FMDB  ,Flush Master Data Buffer" "-,Flushed"
bitfld.byte 0x00 5. "          EGC  ,Enable General Call" "Ignored,Responded"
textline "                     "
bitfld.byte 0x00 4. " FSM  ,Fast(400kHz)/Standard Mode(100kHz)" "Standard,Fast"
bitfld.byte 0x00 3. "      ESM   ,Enable Slave Mode" "-,Enabled"
bitfld.byte 0x00 2. "          EINT ,Enable Interrupt" "-,Enabled"
textline "                     "
bitfld.byte 0x00 1. " EUBS ,Exit Unknown IIC Bus State" "-,Exit"
bitfld.byte 0x00 0. "          HSCL  ,Hold IIC Serial Clock Low" "NACK,IICSCL low"
group 0x08--0x10
line.byte 0x00 "IIC1_STS,IIC1 Status Register"
bitfld.byte 0x00 7. " SSS  ,Slave Status Set" "-,Set"
bitfld.byte 0x00 6. "           SLPR  ,Sleep Request" "-,Sleep"
bitfld.byte 0x00 5. "            MDBS ,Master Data Buffer Status" "Empty,Not empty"
textline "                     "
bitfld.byte 0x00 4. " MDBF ,Master Data Buffer Full" "-,Full"
eventfld.byte 0x00 3. "          SCMP  ,Stop Complete" "-,Requested"
bitfld.byte 0x00 2. "        ERR  ,Error" "-,Error"
textline "                     "
eventfld.byte 0x00 1. " IRQA ,IRQ Active" "-,Active"
bitfld.byte 0x00 0. "        PT    ,Pending Transfer" "-,Pending"
line.byte 0x01 "IIC1_EXTSTS,IIC1 Extended Status Register"
eventfld.byte 0x01 7. " IRQP ,IRQ Pending" "-,Pending"
bitfld.byte 0x01 4.--6. "       BCS   ,Bus Control State" "Unused,Slave selected,Slave transfer,Master transfer,Free bus,Busy bus,Unknown,Unused"
eventfld.byte 0x01 3. "  IRQD ,IRQ On-Deck" "Not active,Active"
textline "                     "
eventfld.byte 0x01 2. " LA   ,Lost Arbitration" "-,Lost"
eventfld.byte 0x01 1. "          ICT   ,Incomplete Transfer" "Normal,Incomplete"
eventfld.byte 0x01 0. "       XFRA ,Transfer Aborted" "-,Aborted"
line.byte 0x02 "IIC1_LSADR,IIC1 Low Slave Address Register"
line.byte 0x03 "IIC1_HSADR,IIC1 High Slave Address Register"
line.byte 0x04 "IIC1_CLKDIV,IIC1 Clock Divide Register"
line.byte 0x05 "IIC1_INTRMSK,IIC1 Interrupt Mask Register"
bitfld.byte 0x05 7. " EIRC ,Enable IRQ on Slave Read Complete" "-,Enabled"
bitfld.byte 0x05 6. "       EIRS  ,Enable IRQ on Slave Read Needs Service" "-,Enabled"
bitfld.byte 0x05 5. "          EIWC ,Enable IRQ on Slave Write Complete" "-,Enabled"
textline "                     "
bitfld.byte 0x05 4. " EIWS ,Enable IRQ on Slave Write Needs Service" "-,Enabled"
bitfld.byte 0x05 3. "       EIHE  ,Enable IRQ on Halt Executed" "-,Enabled"
bitfld.byte 0x05 2. "          EIIC ,Enable IRQ on Incomplete Transfer" "-,Enabled"
textline "                     "
bitfld.byte 0x05 1. " EITA ,Enable IRQ on Transfer Aborted" "-,Enabled"
bitfld.byte 0x05 0. "       EIMTC ,Enable IRQ on Requested Master Transfer Complete" "-,Enabled"
line.byte 0x06 "IIC1_XFRCNT,IIC1 Transfer Count Register"
bitfld.byte 0x06 4.--6. " STC  ,Slave Transfer Count" "0 bytes,1 byte,2 bytes,3 bytes,4 bytes,Reserved,Reserved,Reserved"
bitfld.byte 0x06 0.--2. "      MTC   ,Master Transfer Count" "0 bytes,1 byte,2 bytes,3 bytes,4 bytes,Reserved,Reserved,Reserved"
line.byte 0x07 "IIC1_XTCNTLSS,IIC1 Extended Control and Slave Status Register"
eventfld.byte 0x07 7. " SRC  ,Slave Read Complete" "-,Completed"
eventfld.byte 0x07 6. "     SRS   ,Slave Read Needs Service" "-,Requested"
eventfld.byte 0x07 5. "        SWC  ,Slave Write Complete" "-,Completed"
textline "                     "
eventfld.byte 0x07 4. " SWS  ,Slave Write Needs Service" "-,Requested"
bitfld.byte 0x07 3. "     SDBD  ,Slave Data Buffer Has Data" "Empty,Not empty"
bitfld.byte 0x07 2. "        SDBF ,Slave Data Buffer Full" "-,Full"
textline "                     "
bitfld.byte 0x07 0. " SRST ,Soft Reset" "-,Reset"
line.byte 0x08 "IIC1_DIRECTCNTL,IIC1 Direct Control Register"
bitfld.byte 0x08 3. " SDAC ,IICSDA Output Control" "Low,High"
bitfld.byte 0x08 2. "          SCLC  ,IICSCL Output Control" "Low,High"
bitfld.byte 0x08 1. "             MSDA ,Monitor IICSDA" "Low,High"
textline "                     "
bitfld.byte 0x08 0. " MSC  ,Monitor IICSCL" "Low,High"
rgroup 0x11++0x00
line.byte 0x00 "IIC1_INTR,IIC1 Interrupt"
bitfld.byte 0x00 7. " IRQD ,IRQ On-Deck" "Normal,Next on-deck"
bitfld.byte 0x00 6. "  IRQP  ,IRQ Pending" "-,Pending"
width 0x0B
elif ((cpu()=="PPC440EPX")||(cpu()=="PPC440GRX"))
base ANC:0x1:0xef600800
;IIC Bus Interface
width 0x10
hgroup 0x00++0x00
hide.byte 0x00 "IIC1_MDBUF,IIC1 Master Data Buffer Register"
in
hgroup 0x02++0x00
hide.byte 0x00 "IIC1_SDBUF,IIC1 Slave Data Buffer Register"
in
group 0x04++0x01
line.byte 0x00 "IIC1_LMADR,IIC1 Low Master Address Register"
line.byte 0x01 "IIC1_HMADR,IIC1 High Master Address Register"
group 0x06++0x00
line.byte 0x00 "IIC1_CNTL,IIC1 Control Register"
bitfld.byte 0x00 7. " HMT  ,Halt Master Transfer" "-,Halted"  
bitfld.byte 0x00 6. "        AMD   ,Addressing Mode" "7-bit,10-bit"
bitfld.byte 0x00 4.--5. "           TCT  ,Transfer Count" "1 byte,2 bytes,3 bytes,4 bytes"
textline "                     "
bitfld.byte 0x00 3. " RPST ,Repeated Start" "-,Repeated"
bitfld.byte 0x00 2. "      CHT   ,Chain Transfer" "Last,Not last"
bitfld.byte 0x00 1. "         RW   ,Read/Write" "Write,Read"
textline "                     "
bitfld.byte 0x00 0. " PT   ,Pending Transfer" "Completed,Started"
group 0x07++0x00
line.byte 0x00 "IIC1_MDCNTL,IIC1 Mode Control Register"
bitfld.byte 0x00 7. " FSDB ,Flush Slave Data Buffer" "-,Flushed"
bitfld.byte 0x00 6. "       FMDB  ,Flush Master Data Buffer" "-,Flushed"
bitfld.byte 0x00 5. "          EGC  ,Enable General Call" "Ignored,Responded"
textline "                     "
bitfld.byte 0x00 4. " FSM  ,Fast(400kHz)/Standard Mode(100kHz)" "Standard,Fast"
bitfld.byte 0x00 3. "      ESM   ,Enable Slave Mode" "-,Enabled"
bitfld.byte 0x00 2. "          EINT ,Enable Interrupt" "-,Enabled"
textline "                     "
bitfld.byte 0x00 1. " EUBS ,Exit Unknown IIC Bus State" "-,Exit"
bitfld.byte 0x00 0. "          HSCL  ,Hold IIC Serial Clock Low" "NACK,IICSCL low"
group 0x08--0x10
line.byte 0x00 "IIC1_STS,IIC1 Status Register"
bitfld.byte 0x00 7. " SSS  ,Slave Status Set" "-,Set"
bitfld.byte 0x00 6. "           SLPR  ,Sleep Request" "-,Sleep"
bitfld.byte 0x00 5. "            MDBS ,Master Data Buffer Status" "Empty,Not empty"
textline "                     "
bitfld.byte 0x00 4. " MDBF ,Master Data Buffer Full" "-,Full"
eventfld.byte 0x00 3. "          SCMP  ,Stop Complete" "-,Requested"
bitfld.byte 0x00 2. "        ERR  ,Error" "-,Error"
textline "                     "
eventfld.byte 0x00 1. " IRQA ,IRQ Active" "-,Active"
bitfld.byte 0x00 0. "        PT    ,Pending Transfer" "-,Pending"
line.byte 0x01 "IIC1_EXTSTS,IIC1 Extended Status Register"
eventfld.byte 0x01 7. " IRQP ,IRQ Pending" "-,Pending"
bitfld.byte 0x01 4.--6. "       BCS   ,Bus Control State" "Unused,Slave selected,Slave transfer,Master transfer,Free bus,Busy bus,Unknown,Unused"
eventfld.byte 0x01 3. "  IRQD ,IRQ On-Deck" "Not active,Active"
textline "                     "
eventfld.byte 0x01 2. " LA   ,Lost Arbitration" "-,Lost"
eventfld.byte 0x01 1. "          ICT   ,Incomplete Transfer" "Normal,Incomplete"
eventfld.byte 0x01 0. "       XFRA ,Transfer Aborted" "-,Aborted"
line.byte 0x02 "IIC1_LSADR,IIC1 Low Slave Address Register"
line.byte 0x03 "IIC1_HSADR,IIC1 High Slave Address Register"
line.byte 0x04 "IIC1_CLKDIV,IIC1 Clock Divide Register"
line.byte 0x05 "IIC1_INTRMSK,IIC1 Interrupt Mask Register"
bitfld.byte 0x05 7. " EIRC ,Enable IRQ on Slave Read Complete" "-,Enabled"
bitfld.byte 0x05 6. "       EIRS  ,Enable IRQ on Slave Read Needs Service" "-,Enabled"
bitfld.byte 0x05 5. "          EIWC ,Enable IRQ on Slave Write Complete" "-,Enabled"
textline "                     "
bitfld.byte 0x05 4. " EIWS ,Enable IRQ on Slave Write Needs Service" "-,Enabled"
bitfld.byte 0x05 3. "       EIHE  ,Enable IRQ on Halt Executed" "-,Enabled"
bitfld.byte 0x05 2. "          EIIC ,Enable IRQ on Incomplete Transfer" "-,Enabled"
textline "                     "
bitfld.byte 0x05 1. " EITA ,Enable IRQ on Transfer Aborted" "-,Enabled"
bitfld.byte 0x05 0. "       EIMTC ,Enable IRQ on Requested Master Transfer Complete" "-,Enabled"
line.byte 0x06 "IIC1_XFRCNT,IIC1 Transfer Count Register"
bitfld.byte 0x06 4.--6. " STC  ,Slave Transfer Count" "0 bytes,1 byte,2 bytes,3 bytes,4 bytes,Reserved,Reserved,Reserved"
bitfld.byte 0x06 0.--2. "      MTC   ,Master Transfer Count" "0 bytes,1 byte,2 bytes,3 bytes,4 bytes,Reserved,Reserved,Reserved"
line.byte 0x07 "IIC1_XTCNTLSS,IIC1 Extended Control and Slave Status Register"
eventfld.byte 0x07 7. " SRC  ,Slave Read Complete" "-,Completed"
eventfld.byte 0x07 6. "     SRS   ,Slave Read Needs Service" "-,Requested"
eventfld.byte 0x07 5. "        SWC  ,Slave Write Complete" "-,Completed"
textline "                     "
eventfld.byte 0x07 4. " SWS  ,Slave Write Needs Service" "-,Requested"
bitfld.byte 0x07 3. "     SDBD  ,Slave Data Buffer Has Data" "Empty,Not empty"
bitfld.byte 0x07 2. "        SDBF ,Slave Data Buffer Full" "-,Full"
textline "                     "
bitfld.byte 0x07 0. " SRST ,Soft Reset" "-,Reset"
line.byte 0x08 "IIC1_DIRECTCNTL,IIC1 Direct Control Register"
bitfld.byte 0x08 3. " SDAC ,IICSDA Output Control" "Low,High"
bitfld.byte 0x08 2. "          SCLC  ,IICSCL Output Control" "Low,High"
bitfld.byte 0x08 1. "             MSDA ,Monitor IICSDA" "Low,High"
textline "                     "
bitfld.byte 0x08 0. " MSC  ,Monitor IICSCL" "Low,High"
rgroup 0x11++0x00
line.byte 0x00 "IIC1_INTR,IIC1 Interrupt"
bitfld.byte 0x00 7. " IRQD ,IRQ On-Deck" "Normal,Next on-deck"
bitfld.byte 0x00 6. "  IRQP  ,IRQ Pending" "-,Pending"
width 0x0B
elif ((cpu()=="PPC440EP")||(cpu()=="PPC440SP")||(cpu()=="PPC440SPE"))
;IIC Bus Interface
width 0x10
SIF (CPU()=="PPC440EP")
base ad:0x0:0xEF600700
ENDIF
SIF (CPU()=="PPC440SP")
base ad:0x1:0xF0000400
ENDIF
SIF (CPU()=="PPC440SPE")
base ad:0x4:0xF0000400
ENDIF
SIF (CPU()=="PPC440EP")
hgroup (0x00+0x1001)++0x4
hide.byte 0x00 "IIC1_MDBUF,IIC1 Master Data Buffer"
in
hide.byte 0x02 "IIC1_SDBUF,IIC1 Slave Data Buffer"
in
ENDIF
SIF (CPU()=="PPC440SP"||CPU()=="PPC440SPE")
hgroup (0x00+0x100*1)++0x4
hide.byte 0x00 "IIC1_MDBUF,IIC1 Master Data Buffer"
in
hide.byte 0x02 "IIC1_SDBUF,IIC1 Slave Data Buffer"
in
ENDIF
group (0x04+1*0x100)++0x0c
line.byte 0x00 "IIC1_LMADR,IIC1 Low Master Address"
bitfld.byte 0x00 7. " A0   ,Address Bit 0" "0,1"
bitfld.byte 0x00 6. "             A1    ,Address Bit 1" "0,1"
bitfld.byte 0x00 5. "                A2   ,Address Bit 2" "0,1"
textline "                     "
bitfld.byte 0x00 4. " A3   ,Address Bit 3" "0,1"
bitfld.byte 0x00 3. "             A4    ,Address Bit 4" "0,1"
bitfld.byte 0x00 2. "                A5   ,Address Bit 5" "0,1"
textline "                     "
bitfld.byte 0x00 1. " A6   ,Address Bit 6" "0,1"
bitfld.byte 0x00 0. "             A7    ,Address Bit 7" "0,1"
line.byte 0x01 "IIC1_HMADR,IIC1 High Master Address"
bitfld.byte 0x01 7. " A0   ,Address Bit 0" "0,1"
bitfld.byte 0x01 6. "             A1    ,Address Bit 1" "0,1"
bitfld.byte 0x01 5. "                A2   ,Address Bit 2" "0,1"
textline "                     "
bitfld.byte 0x01 4. " A3   ,Address Bit 3" "0,1"
bitfld.byte 0x01 3. "             A4    ,Address Bit 4" "0,1"
bitfld.byte 0x01 2. "                A5   ,Address Bit 5" "0,1"
textline "                     "
bitfld.byte 0x01 1. " A6   ,Address Bit 6" "0,1"
bitfld.byte 0x01 0. "             A7    ,Address Bit 7" "0,1"
line.byte 0x02 "IIC1_CNTL,IIC1 Control"
bitfld.byte 0x02 7. " HMT  ,Halt Master Transfer" "Not halted,Halted"  
bitfld.byte 0x02 6. "    AMD   ,Addressing Mode" "7-bit,10-bit"
bitfld.byte 0x02 4.--5. "           TCT  ,Transfer Count" "1,2,3,4"
textline "                     "
bitfld.byte 0x02 3. " RPST ,Repeated Start" "Not repeated,Repeated"
bitfld.byte 0x02 2. "  CHT   ,Chain Transfer" "Last,Not last"
bitfld.byte 0x02 1. "         RW   ,Read/Write" "Write,Read"
textline "                     "
bitfld.byte 0x02 0. " PT   ,Pending Transfer" "Complete,Start"
line.byte 0x03 "IIC1_MDCNTL,IIC1 Mode Control"
bitfld.byte 0x03 7. " FSDB ,Flush Slave Data Buffer" "No flush,Flush"
bitfld.byte 0x03 6. "      FMDB  ,Flush Master Data Buffer" "Not flushed,Flushed"
bitfld.byte 0x03 5. "      EGC  ,Enable General Call" "Ignored,Responded"
textline "                     "
bitfld.byte 0x03 4. " FSM  ,Fast(400kHz)/Standard Mode(100kHz)" "Standard,Fast"
bitfld.byte 0x03 3. "      ESM   ,Enable Slave Mode" "-,Enabled"
bitfld.byte 0x03 2. "          EINT ,Enable Interrupt" "-,Enabled"
textline "                     "
bitfld.byte 0x03 1. " EUBS ,Exit Unknown IIC Bus State" "No exit,Exit"
bitfld.byte 0x03 0. "       HSCL  ,Hold IIC Serial Clock Low" "NACK,IICSCL low"
line.byte 0x04 "IIC1_STS,IIC1 Status"
bitfld.byte 0x04 7. " SSS  ,Slave Status Set" "-,Set"
bitfld.byte 0x04 6. "           SLPR  ,Sleep Request" "-,Sleep"
bitfld.byte 0x04 5. "            MDBS ,Master Data Buffer Status" "Empty,Not empty"
textline "                     "
bitfld.byte 0x04 4. " MDBF ,Master Data Buffer Full" "Not full,Full"
eventfld.byte 0x04 3. "      SCMP  ,Stop Complete" "No request,Request"
bitfld.byte 0x04 2. "       ERR  ,Error" "-,Error"
textline "                     "
eventfld.byte 0x04 1. " IRQA ,IRQ Active" "Not active,Active"
bitfld.byte 0x04 0. "    PT    ,Pending Transfer" "-,Pending"
line.byte 0x05 "IIC1_EXTSTS,IIC1 Extended Status"
eventfld.byte 0x05 7. " IRQP ,IRQ Pending" "-,Pending"
bitfld.byte 0x05 4.--6. "       BCS   ,Bus Control State" "Unused,Slave selected,Slave transfer,Master transfer,Free Bus,Busy Bus,Unknown,Unused"
eventfld.byte 0x05 3. "  IRQD ,IRQ On-Deck" "Not active,Active"
textline "                     "
eventfld.byte 0x05 2. " LA   ,Lost Arbitration" "Not lost,Lost"
eventfld.byte 0x05 1. "      ICT   ,Incomplete Transfer" "Normal,Incomplete"
eventfld.byte 0x05 0. "       XFRA ,Transfer Aborted" "-,Abort"
line.byte 0x06 "IIC1_LSADR,IIC1 Low Slave Address"
bitfld.byte 0x06 7. " A0   ,Address Bit 0" "0,1"
bitfld.byte 0x06 6. "             A1    ,Address Bit 1" "0,1"
bitfld.byte 0x06 5. "                A2   ,Address Bit 2" "0,1"
textline "                     "
bitfld.byte 0x06 4. " A3   ,Address Bit 3" "0,1"
bitfld.byte 0x06 3. "             A4    ,Address Bit 4" "0,1"
bitfld.byte 0x06 2. "                A5   ,Address Bit 5" "0,1"
textline "                     "
bitfld.byte 0x06 1. " A6   ,Address Bit 6" "0,1"
bitfld.byte 0x06 0. "             A7    ,Address Bit 7" "0,1"
line.byte 0x07 "IIC1_HSADR,IIC1 High Slave Address"
bitfld.byte 0x07 7. " A0   ,Address Bit 0" "0,1"
bitfld.byte 0x07 6. "             A1    ,Address Bit 1" "0,1"
bitfld.byte 0x07 5. "                A2   ,Address Bit 2" "0,1"
textline "                     "
bitfld.byte 0x07 4. " A3   ,Address Bit 3" "0,1"
bitfld.byte 0x07 3. "             A4    ,Address Bit 4" "0,1"
bitfld.byte 0x07 2. "                A5   ,Address Bit 5" "0,1"
textline "                     "
bitfld.byte 0x07 1. " A6   ,Address Bit 6" "0,1"
bitfld.byte 0x07 0. "             A7    ,Bit 7" "0,1"
line.byte 0x08 "IIC1_CLKDIV,IIC1 Clock Divide"
bitfld.byte 0x08 7. " DIV0 ,Divisor Bit 0" "0,1"
bitfld.byte 0x08 6. "             DIV1  ,Divisor Bit 1" "0,1"
bitfld.byte 0x08 5. "                DIV2 ,Divisor Bit 2" "0,1"
textline "                     "
bitfld.byte 0x08 4. " DIV3 ,Divisor Bit 3" "0,1"
bitfld.byte 0x08 3. "             DIV4  ,Divisor Bit 4" "0,1"
bitfld.byte 0x08 2. "                DIV5 ,Divisor Bit 5" "0,1"
textline "                     "
bitfld.byte 0x08 1. " DIV6 ,Divisor Bit 6" "0,1"
bitfld.byte 0x08 0. "             DIV7  ,Divisor Bit 7" "0,1"
line.byte 0x09 "IIC1_INTRMSK,IIC1 Interrupt Mask"
bitfld.byte 0x09 7. " EIRC ,Enable IRQ on Slave Read Complete" "-,Enabled"
bitfld.byte 0x09 6. "       EIRS  ,Enable IRQ on Slave Read Needs Service" "-,Enabled"
bitfld.byte 0x09 5. "          EIWC ,Enable IRQ on Slave Write Complete" "-,Enabled"
textline "                     "
bitfld.byte 0x09 4. " EIWS ,Enable IRQ on Slave Write Needs Service" "-,Enabled"
bitfld.byte 0x09 3. "       EIHE  ,Enable IRQ on Halt Executed" "-,Enabled"
bitfld.byte 0x09 2. "          EIIC ,Enable IRQ on Incomplete Transfer" "-,Enabled"
textline "                     "
bitfld.byte 0x09 1. " EITA ,Enable IRQ on Transfer Aborted" "-,Enabled"
bitfld.byte 0x09 0. "       EIMTC ,Enable IRQ on Requested Master Transfer Complete" "-,Enabled"
line.byte 0x0A "IIC1_XFRCNT,IIC1 Transfer Count"
bitfld.byte 0x0A 4.--6. " STC  ,Slave Transfer Count" "0 bytes,1 bytes,2 bytes,3 bytes,4 bytes,Reserved,Reserved,Reserved"
bitfld.byte 0x0A 0.--2. "      MTC   ,Master Transfer Count" "0 bytes,1 bytes,2 bytes,3 bytes,4 bytes,Reserved,Reserved,Reserved"
line.byte 0x0B "IIC1_XTCNTLSS,IIC1 Extended Control and Slave Status"
eventfld.byte 0x0B 7. " SRC  ,Slave Read Complete" "-,Complete"
eventfld.byte 0x0B 6. "      SRS   ,Slave Read Needs Service" "No need,Need"
eventfld.byte 0x0B 5. "          SWC  ,Slave Write Complete" "-,Complete"
textline "                     "
eventfld.byte 0x0B 4. " SWS  ,Slave Write Needs Service" "No,Yes"
bitfld.byte 0x0B 3. "           SDBD  ,Slave Data Buffer Has Data" "Empty,Not empty"
bitfld.byte 0x0B 2. "        SDBF ,Slave Data Buffer Full" "Not full,Full"
textline "                     "
bitfld.byte 0x0B 0. " SRST ,Soft Reset" "-,Reset"
line.byte 0x0C "IIC1_DIRECTCNTL,IIC1 Direct Control"
bitfld.byte 0x0C 3. " SDAC ,IICSDA Output Control" "Low,High"
bitfld.byte 0x0C 2. "          SCC   ,IICSCL Output Control" "Low,High"
bitfld.byte 0x0C 1. "             MSDA ,Monitor IICSDA" "Low,High"
textline "                     "
bitfld.byte 0x0C 0. " MSC  ,Monitor IICSCL" "Low,High"
SIF (CPU()=="PPC440EP")
rgroup (0x11+1*0x100)++0x00
line.byte 0x00 "IIC1_INTR,IIC1 Interrupt"
bitfld.byte 0x00 7. " IRQD ,IRQ On-Deck" "Normal,Next on-deck"
bitfld.byte 0x00 6. "  IRQP  ,IRQ Pending" "-,Next pending"
ENDIF
width 0x0B
endif
tree.end
tree.end
;tree.open "IIC (Inter-Integrated Circuit Bus Interfaces)"
tree "GPIO (General-Purpose Interface Signals)"
sif (cpu()=="PPC440GX")
base ANC:0x1:0x40000000
width 12.
group dcr:0xF++0x0
saveout dcr:0xE %l 0x4200
line.long 0x0 "SDR0_PLBTR,PLB Trace Register 0"
group.long 0x700++0x7
line.long 0x0 "GPIO0_OR,GPIO Output Register 0"
bitfld.long 0x0 31. " GPIO0_ORRB0  ,GPIO0_OR register bit 0" "0,1"
bitfld.long 0x0 30. "  GPIO0_ORRB1  ,GPIO0_OR register bit 1" "0,1"
bitfld.long 0x0 29. "  GPIO0_ORRB2  ,GPIO0_OR register bit 2" "0,1"
textline "                     "
bitfld.long 0x0 28. " GPIO0_ORRB3  ,GPIO0_OR register bit 3" "0,1"
bitfld.long 0x0 27. "  GPIO0_ORRB4  ,GPIO0_OR register bit 4" "0,1"
bitfld.long 0x0 26. "  GPIO0_ORRB5  ,GPIO0_OR register bit 5" "0,1"
textline "                     "
bitfld.long 0x0 25. " GPIO0_ORRB6  ,GPIO0_OR register bit 6" "0,1"
bitfld.long 0x0 24. "  GPIO0_ORRB7  ,GPIO0_OR register bit 7" "0,1"
bitfld.long 0x0 23. "  GPIO0_ORRB8  ,GPIO0_OR register bit 8" "0,1"
textline "                     "
bitfld.long 0x0 22. " GPIO0_ORRB9  ,GPIO0_OR register bit 9" "0,1"
bitfld.long 0x0 21. "  GPIO0_ORRB10 ,GPIO0_OR register bit 10" "0,1"
bitfld.long 0x0 20. "  GPIO0_ORRB11 ,GPIO0_OR register bit 11" "0,1"
textline "                     "
bitfld.long 0x0 19. " GPIO0_ORRB12 ,GPIO0_OR register bit 12" "0,1"
bitfld.long 0x0 18. "  GPIO0_ORRB13 ,GPIO0_OR register bit 13" "0,1"
bitfld.long 0x0 17. "  GPIO0_ORRB14 ,GPIO0_OR register bit 14" "0,1"
textline "                     "
bitfld.long 0x0 16. " GPIO0_ORRB15 ,GPIO0_OR register bit 15" "0,1"
bitfld.long 0x0 15. "  GPIO0_ORRB16 ,GPIO0_OR register bit 16" "0,1"
bitfld.long 0x0 14. "  GPIO0_ORRB17 ,GPIO0_OR register bit 17" "0,1"
textline "                     "
bitfld.long 0x0 13. " GPIO0_ORRB18 ,GPIO0_OR register bit 18" "0,1"
bitfld.long 0x0 12. "  GPIO0_ORRB19 ,GPIO0_OR register bit 19" "0,1"
bitfld.long 0x0 11. "  GPIO0_ORRB20 ,GPIO0_OR register bit 20" "0,1"
textline "                     "
bitfld.long 0x0 10. " GPIO0_ORRB21 ,GPIO0_OR register bit 21" "0,1"
bitfld.long 0x0 9. "  GPIO0_ORRB22 ,GPIO0_OR register bit 22" "0,1"
bitfld.long 0x0 8. "  GPIO0_ORRB23 ,GPIO0_OR register bit 23" "0,1"
textline "                     "
bitfld.long 0x0 7. " GPIO0_ORRB24 ,GPIO0_OR register bit 24" "0,1"
bitfld.long 0x0 6. "  GPIO0_ORRB25 ,GPIO0_OR register bit 25" "0,1"
bitfld.long 0x0 5. "  GPIO0_ORRB26 ,GPIO0_OR register bit 26" "0,1"
textline "                     "
bitfld.long 0x0 4. " GPIO0_ORRB27 ,GPIO0_OR register bit 27" "0,1"
bitfld.long 0x0 3. "  GPIO0_ORRB28 ,GPIO0_OR register bit 28" "0,1"
bitfld.long 0x0 2. "  GPIO0_ORRB29 ,GPIO0_OR register bit 29" "0,1"
textline "                     "
bitfld.long 0x0 1. " GPIO0_ORRB30 ,GPIO0_OR register bit 30" "0,1"
bitfld.long 0x0 0. "  GPIO0_ORRB31 ,GPIO0_OR register bit 31" "0,1"
line.long 0x4 "GPIO0_TCR,GPIO Three-State Control Register 0"
bitfld.long 0x4 31. " GPIO0_TCRRB0  ,GPIO0_TCR register bit 0" "Tri-state,-"
bitfld.long 0x4 30. "   GPIO0_TCRRB1  ,GPIO0_TCR register bit 1" "Tri-state,-"
textline "                     "
bitfld.long 0x4 29. " GPIO0_TCRRB2  ,GPIO0_TCR register bit 2" "Tri-state,-"
bitfld.long 0x4 28. "   GPIO0_TCRRB3  ,GPIO0_TCR register bit 3" "Tri-state,-"
textline "                     "
bitfld.long 0x4 27. " GPIO0_TCRRB4  ,GPIO0_TCR register bit 4" "Tri-state,-"
bitfld.long 0x4 26. "   GPIO0_TCRRB5  ,GPIO0_TCR register bit 5" "Tri-state,-"
textline "                     "
bitfld.long 0x4 25. " GPIO0_TCRRB6  ,GPIO0_TCR register bit 6" "Tri-state,-"
bitfld.long 0x4 24. "   GPIO0_TCRRB7  ,GPIO0_TCR register bit 7" "Tri-state,-"
textline "                     "
bitfld.long 0x4 23. " GPIO0_TCRRB8  ,GPIO0_TCR register bit 8" "Tri-state,-"
bitfld.long 0x4 22. "   GPIO0_TCRRB9  ,GPIO0_TCR register bit 9" "Tri-state,-"
textline "                     "
bitfld.long 0x4 21. " GPIO0_TCRRB10 ,GPIO0_TCR register bit 10" "Tri-state,-"
bitfld.long 0x4 20. "   GPIO0_TCRRB11 ,GPIO0_TCR register bit 11" "Tri-state,-"
textline "                     "
bitfld.long 0x4 19. " GPIO0_TCRRB12 ,GPIO0_TCR register bit 12" "Tri-state,-"
bitfld.long 0x4 18. "   GPIO0_TCRRB13 ,GPIO0_TCR register bit 13" "Tri-state,-"
textline "                     "
bitfld.long 0x4 17. " GPIO0_TCRRB14 ,GPIO0_TCR register bit 14" "Tri-state,-"
bitfld.long 0x4 16. "   GPIO0_TCRRB15 ,GPIO0_TCR register bit 15" "Tri-state,-"
textline "                     "
bitfld.long 0x4 15. " GPIO0_TCRRB16 ,GPIO0_TCR register bit 16" "Tri-state,-"
bitfld.long 0x4 14. "   GPIO0_TCRRB17 ,GPIO0_TCR register bit 17" "Tri-state,-"
textline "                     "
bitfld.long 0x4 13. " GPIO0_TCRRB18 ,GPIO0_TCR register bit 18" "Tri-state,-"
bitfld.long 0x4 12. "   GPIO0_TCRRB19 ,GPIO0_TCR register bit 19" "Tri-state,-"
textline "                     "
bitfld.long 0x4 11. " GPIO0_TCRRB20 ,GPIO0_TCR register bit 20" "Tri-state,-"
bitfld.long 0x4 10. "   GPIO0_TCRRB21 ,GPIO0_TCR register bit 21" "Tri-state,-"
textline "                     "
bitfld.long 0x4 9. " GPIO0_TCRRB22 ,GPIO0_TCR register bit 22" "Tri-state,-"
bitfld.long 0x4 8. "   GPIO0_TCRRB23 ,GPIO0_TCR register bit 23" "Tri-state,-"
textline "                     "
bitfld.long 0x4 7. " GPIO0_TCRRB24 ,GPIO0_TCR register bit 24" "Tri-state,-"
bitfld.long 0x4 6. "   GPIO0_TCRRB25 ,GPIO0_TCR register bit 25" "Tri-state,-"
textline "                     "
bitfld.long 0x4 5. " GPIO0_TCRRB26 ,GPIO0_TCR register bit 26" "Tri-state,-"
bitfld.long 0x4 4. "   GPIO0_TCRRB27 ,GPIO0_TCR register bit 27" "Tri-state,-"
textline "                     "
bitfld.long 0x4 3. " GPIO0_TCRRB28 ,GPIO0_TCR register bit 28" "Tri-state,-"
bitfld.long 0x4 2. "   GPIO0_TCRRB29 ,GPIO0_TCR register bit 29" "Tri-state,-"
textline "                     "
bitfld.long 0x4 1. " GPIO0_TCRRB30 ,GPIO0_TCR register bit 30" "Tri-state,-"
bitfld.long 0x4 0. "   GPIO0_TCRRB31 ,GPIO0_TCR register bit 31" "Tri-state,-"
group.long 0x718++0x3
line.long 0x0 "GPIO0_ODR,GPIO Open Drain Register 0"
bitfld.long 0x0 31. " GPIO0_ODRRB0  ,GPIO0_ODR register bit 0" "-,Open drain"
bitfld.long 0x0 30. "  GPIO0_ODRRB1  ,GPIO0_ODR register bit 1" "-,Open drain"
textline "                     "
bitfld.long 0x0 29. " GPIO0_ODRRB2  ,GPIO0_ODR register bit 2" "-,Open drain"
bitfld.long 0x0 28. "  GPIO0_ODRRB3  ,GPIO0_ODR register bit 3" "-,Open drain"
textline "                     "
bitfld.long 0x0 27. " GPIO0_ODRRB4  ,GPIO0_ODR register bit 4" "-,Open drain"
bitfld.long 0x0 26. "  GPIO0_ODRRB5  ,GPIO0_ODR register bit 5" "-,Open drain"
textline "                     "
bitfld.long 0x0 25. " GPIO0_ODRRB6  ,GPIO0_ODR register bit 6" "-,Open drain"
bitfld.long 0x0 24. "  GPIO0_ODRRB7  ,GPIO0_ODR register bit 7" "-,Open drain"
textline "                     "
bitfld.long 0x0 23. " GPIO0_ODRRB8  ,GPIO0_ODR register bit 8" "-,Open drain"
bitfld.long 0x0 22. "  GPIO0_ODRRB9  ,GPIO0_ODR register bit 9" "-,Open drain"
textline "                     "
bitfld.long 0x0 21. " GPIO0_ODRRB10 ,GPIO0_ODR register bit 10" "-,Open drain"
bitfld.long 0x0 20. "  GPIO0_ODRRB11 ,GPIO0_ODR register bit 11" "-,Open drain"
textline "                     "
bitfld.long 0x0 19. " GPIO0_ODRRB12 ,GPIO0_ODR register bit 12" "-,Open drain"
bitfld.long 0x0 18. "  GPIO0_ODRRB13 ,GPIO0_ODR register bit 13" "-,Open drain"
textline "                     "
bitfld.long 0x0 17. " GPIO0_ODRRB14 ,GPIO0_ODR register bit 14" "-,Open drain"
bitfld.long 0x0 16. "  GPIO0_ODRRB15 ,GPIO0_ODR register bit 15" "-,Open drain"
textline "                     "
bitfld.long 0x0 15. " GPIO0_ODRRB16 ,GPIO0_ODR register bit 16" "-,Open drain"
bitfld.long 0x0 14. "  GPIO0_ODRRB17 ,GPIO0_ODR register bit 17" "-,Open drain"
textline "                     "
bitfld.long 0x0 13. " GPIO0_ODRRB18 ,GPIO0_ODR register bit 18" "-,Open drain"
bitfld.long 0x0 12. "  GPIO0_ODRRB19 ,GPIO0_ODR register bit 19" "-,Open drain"
textline "                     "
bitfld.long 0x0 11. " GPIO0_ODRRB20 ,GPIO0_ODR register bit 20" "-,Open drain"
bitfld.long 0x0 10. "  GPIO0_ODRRB21 ,GPIO0_ODR register bit 21" "-,Open drain"
textline "                     "
bitfld.long 0x0 9. " GPIO0_ODRRB22 ,GPIO0_ODR register bit 22" "-,Open drain"
bitfld.long 0x0 8. "  GPIO0_ODRRB23 ,GPIO0_ODR register bit 23" "-,Open drain"
textline "                     "
bitfld.long 0x0 7. " GPIO0_ODRRB24 ,GPIO0_ODR register bit 24" "-,Open drain"
bitfld.long 0x0 6. "  GPIO0_ODRRB25 ,GPIO0_ODR register bit 25" "-,Open drain"
textline "                     "
bitfld.long 0x0 5. " GPIO0_ODRRB26 ,GPIO0_ODR register bit 26" "-,Open drain"
bitfld.long 0x0 4. "  GPIO0_ODRRB27 ,GPIO0_ODR register bit 27" "-,Open drain"
textline "                     "
bitfld.long 0x0 3. " GPIO0_ODRRB28 ,GPIO0_ODR register bit 28" "-,Open drain"
bitfld.long 0x0 2. "  GPIO0_ODRRB29 ,GPIO0_ODR register bit 29" "-,Open drain"
textline "                     "
bitfld.long 0x0 1. " GPIO0_ODRRB30 ,GPIO0_ODR register bit 30" "-,Open drain"
bitfld.long 0x0 0. "  GPIO0_ODRRB31 ,GPIO0_ODR register bit 31" "-,Open drain"
rgroup.long 0x71c++0x3
line.long 0x0 "GPIO0_IR,GPIO Input Register 0"
bitfld.long 0x0 31. " GPIORB0  ,GPIO register bit 0" "0,1"
bitfld.long 0x0 30. "  GPIORB1  ,GPIO register bit 1" "0,1"
bitfld.long 0x0 29. "  GPIORB2  ,GPIO register bit 2" "0,1"
textline "                     "
bitfld.long 0x0 28. " GPIORB3  ,GPIO register bit 3" "0,1"
bitfld.long 0x0 27. "  GPIORB4  ,GPIO register bit 4" "0,1"
bitfld.long 0x0 26. "  GPIORB5  ,GPIO register bit 5" "0,1"
textline "                     "
bitfld.long 0x0 25. " GPIORB6  ,GPIO register bit 6" "0,1"
bitfld.long 0x0 24. "  GPIORB7  ,GPIO register bit 7" "0,1"
bitfld.long 0x0 23. "  GPIORB8  ,GPIO register bit 8" "0,1"
textline "                     "
bitfld.long 0x0 22. " GPIORB9  ,GPIO register bit 9" "0,1"
bitfld.long 0x0 21. "  GPIORB10 ,GPIO register bit 10" "0,1"
bitfld.long 0x0 20. "  GPIORB11 ,GPIO register bit 11" "0,1"
textline "                     "
bitfld.long 0x0 19. " GPIORB12 ,GPIO register bit 12" "0,1"
bitfld.long 0x0 18. "  GPIORB13 ,GPIO register bit 13" "0,1"
bitfld.long 0x0 17. "  GPIORB14 ,GPIO register bit 14" "0,1"
textline "                     "
bitfld.long 0x0 16. " GPIORB15 ,GPIO register bit 15" "0,1"
bitfld.long 0x0 15. "  GPIORB16 ,GPIO register bit 16" "0,1"
bitfld.long 0x0 14. "  GPIORB17 ,GPIO register bit 17" "0,1"
textline "                     "
bitfld.long 0x0 13. " GPIORB18 ,GPIO register bit 18" "0,1"
bitfld.long 0x0 12. "  GPIORB19 ,GPIO register bit 19" "0,1"
bitfld.long 0x0 11. "  GPIORB20 ,GPIO register bit 20" "0,1"
textline "                     "
bitfld.long 0x0 10. " GPIORB21 ,GPIO register bit 21" "0,1"
bitfld.long 0x0 9. "  GPIORB22 ,GPIO register bit 22" "0,1"
bitfld.long 0x0 8. "  GPIORB23 ,GPIO register bit 23" "0,1"
textline "                     "
bitfld.long 0x0 7. " GPIORB24 ,GPIO register bit 24" "0,1"
bitfld.long 0x0 6. "  GPIORB25 ,GPIO register bit 25" "0,1"
bitfld.long 0x0 5. "  GPIORB26 ,GPIO register bit 26" "0,1"
textline "                     "
bitfld.long 0x0 4. " GPIORB27 ,GPIO register bit 27" "0,1"
bitfld.long 0x0 3. "  GPIORB28 ,GPIO register bit 28" "0,1"
bitfld.long 0x0 2. "  GPIORB29 ,GPIO register bit 29" "0,1"
textline "                     "
bitfld.long 0x0 1. " GPIORB30 ,GPIO register bit 30" "0,1"
bitfld.long 0x0 0. "  GPIORB31 ,GPIO register bit 31" "0,1"
width 0xb
elif (cpu()=="PPC440GP")
base ANC:0x0:0x00000000
;GPIO
width 0xb  
group dcr:0x0e8++0x0
line.long 0x0 "CPC0_GPIO,GPIO Configuration Register"
bitfld.long 0x00 31. " G0E   ,GPIO 0 Enable (IRQ00)" "Interrupt,GPIO0"
bitfld.long 0x00 30. "  G1E   ,GPIO 1 Enable (IRQ01)" "Interrupt,GPIO1"
bitfld.long 0x00 29. "     G2E   ,GPIO 2 Enable (IRQ02)" "Interrupt,GPIO2"
bitfld.long 0x00 28. "     G3E   ,GPIO 3 Enable (IRQ03)" "Interrupt,GPIO3"
textline "                    "
bitfld.long 0x00 27. " G4E   ,GPIO 4 Enable (IRQ04)" "Interrupt,GPIO4"
bitfld.long 0x00 26. "  G5E   ,GPIO 5 Enable (IRQ05)" "Interrupt,GPIO5"
bitfld.long 0x00 25. "     G6E   ,GPIO 6 Enable (IRQ06)" "Interrupt,GPIO6"
bitfld.long 0x00 24. "     G7E   ,GPIO 7 Enable (IRQ07)" "Interrupt,GPIO7"
textline "                    "
bitfld.long 0x00 23. " G8E   ,GPIO 8 Enable (IRQ08)" "Interrupt,GPIO8"
bitfld.long 0x00 22. "  G9E   ,GPIO 9 Enable (IRQ09)" "Interrupt,GPIO9"
bitfld.long 0x00 21. "     G10E  ,GPIO 10 Enable (IRQ10)" "Interrupt,GPIO10"
bitfld.long 0x00 20. "     G11E  ,GPIO 11 Enable (IRQ11)" "Interrupt,GPIO11"
textline "                    "
bitfld.long 0x00 19. " G12E  ,GPIO 12 Enable (UART1RX )" "UART1RX,GPIO 12"
bitfld.long 0x00 18. "    G13E  ,GPIO 13 Enable (UART1TX )" "UART1TX,GPIO 13"
bitfld.long 0x00 17. "       G14E  ,GPIO 14 Enable (UART1DSR_CTS)" "UART1DSR_CTS,GPIO 14"
bitfld.long 0x00 16. "  G15E  ,GPIO 15 Enable (UART1RTS_DTR)" "UART1RTS_DTR,GPIO 15"
textline "                    "
bitfld.long 0x00 15. " G16E  ,GPIO 16 Enable (IIC1SCL)" "IIC1SCL,GPIO 16"
bitfld.long 0x00 14. "    G17E  ,GPIO 17 Enable (IIC1SDA)" "IIC1SDA,GPIO 17"
bitfld.long 0x00 13. "       TRE   ,GPIO Trace (18-31) Disable" "-,Disabled"
bitfld.long 0x00 9.--12. "      EARG  ,EBC Address Receiver Gating (address bus disable)" "-,0:1,0:2,0:3,0:4,0:5,0:6,0:7,0:8,0:9,0:10,0:11,0:12,0:13,0:14,0:15"
textline "                    "
bitfld.long 0x00 7.--8. " EDRG  ,EBC Data Receiver Gating (data bus input bytes disable)" "-,1/2/3,2/3,3"
group ANC:0x1:0x40000700++0x3
line.long 0x00 "GPIO0_OR,GPIO Output"
bitfld.long 0x00 31. " PIN0  ,GPIO Output PIN0" "Low,High"
bitfld.long 0x00 30. "       PIN1  ,GPIO Output PIN1" "Low,High"
bitfld.long 0x00 29. "          PIN2  ,GPIO Output PIN2" "Low,High"
bitfld.long 0x00 28. "          PIN3  ,GPIO Output PIN3" "Low,High"
textline "                    "
bitfld.long 0x00 27. " PIN4  ,GPIO Output PIN4" "Low,High"
bitfld.long 0x00 26. "       PIN5  ,GPIO Output PIN5" "Low,High"
bitfld.long 0x00 25. "          PIN6  ,GPIO Output PIN6" "Low,High"
bitfld.long 0x00 24. "          PIN7  ,GPIO Output PIN7" "Low,High"
textline "                    "
bitfld.long 0x00 23. " PIN8  ,GPIO Output PIN8" "Low,High"
bitfld.long 0x00 22. "       PIN9  ,GPIO Output PIN9" "Low,High"
bitfld.long 0x00 21. "          PIN10 ,GPIO Output PIN10" "Low,High"
bitfld.long 0x00 20. "          PIN11 ,GPIO Output PIN11" "Low,High"
textline "                    "
bitfld.long 0x00 19. " PIN12 ,GPIO Output PIN12" "Low,High"
bitfld.long 0x00 18. "       PIN13 ,GPIO Output PIN13" "Low,High"
bitfld.long 0x00 17. "          PIN14 ,GPIO Output PIN14" "Low,High"
bitfld.long 0x00 16. "          PIN15 ,GPIO Output PIN15" "Low,High"
textline "                    "
bitfld.long 0x00 15. " PIN16 ,GPIO Output PIN16" "Low,High"
bitfld.long 0x00 14. "       PIN17 ,GPIO Output PIN17" "Low,High"
bitfld.long 0x00 13. "          PIN18 ,GPIO Output PIN18" "Low,High"
bitfld.long 0x00 12. "          PIN19 ,GPIO Output PIN19" "Low,High"
textline "                    "
bitfld.long 0x00 11. " PIN20 ,GPIO Output PIN20" "Low,High"
bitfld.long 0x00 10. "       PIN21 ,GPIO Output PIN21" "Low,High"
bitfld.long 0x00 9. "          PIN22 ,GPIO Output PIN22" "Low,High"
bitfld.long 0x00 8. "          PIN23 ,GPIO Output PIN23" "Low,High"
textline "                    "
bitfld.long 0x00 7. " PIN24 ,GPIO Output PIN24" "Low,High"
bitfld.long 0x00 6. "       PIN25 ,GPIO Output PIN25" "Low,High"
bitfld.long 0x00 5. "          PIN26 ,GPIO Output PIN26" "Low,High"
bitfld.long 0x00 4. "          PIN27 ,GPIO Output PIN27" "Low,High"
textline "                    "
bitfld.long 0x00 3. " PIN28 ,GPIO Output PIN28" "Low,High"
bitfld.long 0x00 2. "       PIN29 ,GPIO Output PIN29" "Low,High"
bitfld.long 0x00 1. "          PIN30 ,GPIO Output PIN30" "Low,High"
bitfld.long 0x00 0. "          PIN31 ,GPIO Output PIN31" "Low,High"
group ANC:0x1:0x40000704++0x3
line.long 0x00 "GPIO_TCR,GPIO Three-State Control"
bitfld.long 0x00 31. " PIN0  ,GPIO Three-State Control PIN0" "Tri-state,Output"
bitfld.long 0x00 30. "  PIN1  ,GPIO Three-State Control PIN1" "Tri-state,Output"
bitfld.long 0x00 29. "     PIN2  ,GPIO Three-State Control PIN2" "Tri-state,Output"
bitfld.long 0x00 28. "     PIN3  ,GPIO Three-State Control PIN3" "Tri-state,Output"
textline "                    "
bitfld.long 0x00 27. " PIN4  ,GPIO Three-State Control PIN4" "Tri-state,Output"
bitfld.long 0x00 26. "  PIN5  ,GPIO Three-State Control PIN5" "Tri-state,Output"
bitfld.long 0x00 25. "     PIN6  ,GPIO Three-State Control PIN6" "Tri-state,Output"
bitfld.long 0x00 24. "     PIN7  ,GPIO Three-State Control PIN7" "Tri-state,Output"
textline "                    "
bitfld.long 0x00 23. " PIN8  ,GPIO Three-State Control PIN8" "Tri-state,Output"
bitfld.long 0x00 22. "  PIN9  ,GPIO Three-State Control PIN9" "Tri-state,Output"
bitfld.long 0x00 21. "     PIN10 ,GPIO Three-State Control PIN10" "Tri-state,Output"
bitfld.long 0x00 20. "     PIN11 ,GPIO Three-State Control PIN11" "Tri-state,Output"
textline "                    "
bitfld.long 0x00 19. " PIN12 ,GPIO Three-State Control PIN12" "Tri-state,Output"
bitfld.long 0x00 18. "  PIN13 ,GPIO Three-State Control PIN13" "Tri-state,Output"
bitfld.long 0x00 17. "     PIN14 ,GPIO Three-State Control PIN14" "Tri-state,Output"
bitfld.long 0x00 16. "     PIN15 ,GPIO Three-State Control PIN15" "Tri-state,Output"
textline "                    "
bitfld.long 0x00 15. " PIN16 ,GPIO Three-State Control PIN16" "Tri-state,Output"
bitfld.long 0x00 14. "  PIN17 ,GPIO Three-State Control PIN17" "Tri-state,Output"
bitfld.long 0x00 13. "     PIN18 ,GPIO Three-State Control PIN18" "Tri-state,Output"
bitfld.long 0x00 12. "     PIN19 ,GPIO Three-State Control PIN19" "Tri-state,Output"
textline "                    "
bitfld.long 0x00 11. " PIN20 ,GPIO Three-State Control PIN20" "Tri-state,Output"
bitfld.long 0x00 10. "  PIN21 ,GPIO Three-State Control PIN21" "Tri-state,Output"
bitfld.long 0x00 9. "     PIN22 ,GPIO Three-State Control PIN22" "Tri-state,Output"
bitfld.long 0x00 8. "     PIN23 ,GPIO Three-State Control PIN23" "Tri-state,Output"
textline "                    "
bitfld.long 0x00 7. " PIN24 ,GPIO Three-State Control PIN24" "Tri-state,Output"
bitfld.long 0x00 6. "  PIN25 ,GPIO Three-State Control PIN25" "Tri-state,Output"
bitfld.long 0x00 5. "     PIN26 ,GPIO Three-State Control PIN26" "Tri-state,Output"
bitfld.long 0x00 4. "     PIN27 ,GPIO Three-State Control PIN27" "Tri-state,Output"
textline "                    "
bitfld.long 0x00 3. " PIN28 ,GPIO Three-State Control PIN28" "Tri-state,Output"
bitfld.long 0x00 2. "  PIN29 ,GPIO Three-State Control PIN29" "Tri-state,Output"
bitfld.long 0x00 1. "     PIN30 ,GPIO Three-State Control PIN30" "Tri-state,Output"
bitfld.long 0x00 0. "     PIN31 ,GPIO Three-State Control PIN31" "Tri-state,Output"
group ANC:0x1:0x40000708++0x3
line.long 0x00 "GPIO_ODR,GPIO Open Drain Register"
bitfld.long 0x00 31. " PIN0  ,GPIO Open Drain PIN0" "-,Enabled"
bitfld.long 0x00 30. "    PIN1  ,GPIO Open Drain PIN1" "-,Enabled"
bitfld.long 0x00 29. "       PIN2  ,GPIO Open Drain PIN2" "-,Enabled"
bitfld.long 0x00 28. "       PIN3  ,GPIO Open Drain PIN3" "-,Enabled"
textline "                    "
bitfld.long 0x00 27. " PIN4  ,GPIO Open Drain PIN4" "-,Enabled"
bitfld.long 0x00 26. "    PIN5  ,GPIO Open Drain PIN5" "-,Enabled"
bitfld.long 0x00 25. "       PIN6  ,GPIO Open Drain PIN6" "-,Enabled"
bitfld.long 0x00 24. "       PIN7  ,GPIO Open Drain PIN7" "-,Enabled"
textline "                    "
bitfld.long 0x00 23. " PIN8  ,GPIO Open Drain PIN8" "-,Enabled"
bitfld.long 0x00 22. "    PIN9  ,GPIO Open Drain PIN9" "-,Enabled"
bitfld.long 0x00 21. "       PIN10 ,GPIO Open Drain PIN10" "-,Enabled"
bitfld.long 0x00 20. "       PIN11 ,GPIO Open Drain PIN11" "-,Enabled"
textline "                    "
bitfld.long 0x00 19. " PIN12 ,GPIO Open Drain PIN12" "-,Enabled"
bitfld.long 0x00 18. "    PIN13 ,GPIO Open Drain PIN13" "-,Enabled"
bitfld.long 0x00 17. "       PIN14 ,GPIO Open Drain PIN14" "-,Enabled"
bitfld.long 0x00 16. "       PIN15 ,GPIO Open Drain PIN15" "-,Enabled"
textline "                    "
bitfld.long 0x00 15. " PIN16 ,GPIO Open Drain PIN16" "-,Enabled"
bitfld.long 0x00 14. "    PIN17 ,GPIO Open Drain PIN17" "-,Enabled"
bitfld.long 0x00 13. "       PIN18 ,GPIO Open Drain PIN18" "-,Enabled"
bitfld.long 0x00 12. "       PIN19 ,GPIO Open Drain PIN19" "-,Enabled"
textline "                    "
bitfld.long 0x00 11. " PIN20 ,GPIO Open Drain PIN20" "-,Enabled"
bitfld.long 0x00 10. "    PIN21 ,GPIO Open Drain PIN21" "-,Enabled"
bitfld.long 0x00 9. "       PIN22 ,GPIO Open Drain PIN22" "-,Enabled"
bitfld.long 0x00 8. "       PIN23 ,GPIO Open Drain PIN23" "-,Enabled"
textline "                    "
bitfld.long 0x00 7. " PIN24 ,GPIO Open Drain PIN24" "-,Enabled"
bitfld.long 0x00 6. "    PIN25 ,GPIO Open Drain PIN25" "-,Enabled"
bitfld.long 0x00 5. "       PIN26 ,GPIO Open Drain PIN26" "-,Enabled"
bitfld.long 0x00 4. "       PIN27 ,GPIO Open Drain PIN27" "-,Enabled"
textline "                    "
bitfld.long 0x00 3. " PIN28 ,GPIO Open Drain PIN28" "-,Enabled"
bitfld.long 0x00 2. "    PIN29 ,GPIO Open Drain PIN29" "-,Enabled"
bitfld.long 0x00 1. "       PIN30 ,GPIO Open Drain PIN30" "-,Enabled"
bitfld.long 0x00 0. "       PIN31 ,GPIO Open Drain PIN31" "-,Enabled"
rgroup ANC:0x1:0x4000070c++0x3
line.long 0x00 "GPIO_IR,GPIO Input Register"
bitfld.long 0x00 31. " PIN0  ,GPIO Input PIN0" "Low,High"
bitfld.long 0x00 30. "       PIN1  ,GPIO Input PIN1" "Low,High"
bitfld.long 0x00 29. "          PIN2  ,GPIO Input PIN2" "Low,High"
bitfld.long 0x00 28. "          PIN3  ,GPIO Input PIN3" "Low,High"
textline "                    "
bitfld.long 0x00 27. " PIN4  ,GPIO Input PIN4" "Low,High"
bitfld.long 0x00 26. "       PIN5  ,GPIO Input PIN5" "Low,High"
bitfld.long 0x00 25. "          PIN6  ,GPIO Input PIN6" "Low,High"
bitfld.long 0x00 24. "          PIN7  ,GPIO Input PIN7" "Low,High"
textline "                    "
bitfld.long 0x00 23. " PIN8  ,GPIO Input PIN8" "Low,High"
bitfld.long 0x00 22. "       PIN9  ,GPIO Input PIN9" "Low,High"
bitfld.long 0x00 21. "          PIN10 ,GPIO Input PIN10" "Low,High"
bitfld.long 0x00 20. "          PIN11 ,GPIO Input PIN11" "Low,High"
textline "                    "
bitfld.long 0x00 19. " PIN12 ,GPIO Input PIN12" "Low,High"
bitfld.long 0x00 18. "       PIN13 ,GPIO Input PIN13" "Low,High"
bitfld.long 0x00 17. "          PIN14 ,GPIO Input PIN14" "Low,High"
bitfld.long 0x00 16. "          PIN15 ,GPIO Input PIN15" "Low,High"
textline "                    "
bitfld.long 0x00 15. " PIN16 ,GPIO Input PIN16" "Low,High"
bitfld.long 0x00 14. "       PIN17 ,GPIO Input PIN17" "Low,High"
bitfld.long 0x00 13. "          PIN18 ,GPIO Input PIN18" "Low,High"
bitfld.long 0x00 12. "          PIN19 ,GPIO Input PIN19" "Low,High"
textline "                    "
bitfld.long 0x00 11. " PIN20 ,GPIO Input PIN20" "Low,High"
bitfld.long 0x00 10. "       PIN21 ,GPIO Input PIN21" "Low,High"
bitfld.long 0x00 9. "          PIN22 ,GPIO Input PIN22" "Low,High"
bitfld.long 0x00 8. "          PIN23 ,GPIO Input PIN23" "Low,High"
textline "                    "
bitfld.long 0x00 7. " PIN24 ,GPIO Input PIN24" "Low,High"
bitfld.long 0x00 6. "       PIN25 ,GPIO Input PIN25" "Low,High"
bitfld.long 0x00 5. "          PIN26 ,GPIO Input PIN26" "Low,High"
bitfld.long 0x00 4. "          PIN27 ,GPIO Input PIN27" "Low,High"
textline "                    "
bitfld.long 0x00 3. " PIN28 ,GPIO Input PIN28" "Low,High"
bitfld.long 0x00 2. "       PIN29 ,GPIO Input PIN29" "Low,High"
bitfld.long 0x00 1. "          PIN30 ,GPIO Input PIN30" "Low,High"
bitfld.long 0x00 0. "          PIN31 ,GPIO Input PIN31" "Low,High"
width 0xb    
elif ((cpu()=="PPC440EP")||(cpu()=="PPC440GR"))
base ANC:0x0:0xEF600B00
;GPIO Operations
width 12.
tree "GPIO0"
group 0x0++0x03
line.long 0x00 "GPIO0_OR,GPIO0 Output Register"
bitfld.long 0x00 31. " PIN0  ,GPIO0 Output PIN0" "Low,High"
bitfld.long 0x00 30. "        PIN1  ,GPIO0 Output PIN1" "Low,High"
bitfld.long 0x00 29. "        PIN2  ,GPIO0 Output PIN2" "Low,High"
bitfld.long 0x00 28. "        PIN3  ,GPIO0 Output PIN3" "Low,High"
textline "                     "
bitfld.long 0x00 27. " PIN4  ,GPIO0 Output PIN4" "Low,High"
bitfld.long 0x00 26. "        PIN5  ,GPIO0 Output PIN5" "Low,High"
bitfld.long 0x00 25. "        PIN6  ,GPIO0 Output PIN6" "Low,High"
bitfld.long 0x00 24. "        PIN7  ,GPIO0 Output PIN7" "Low,High"
textline "                     "
bitfld.long 0x00 23. " PIN8  ,GPIO0 Output PIN8" "Low,High"
bitfld.long 0x00 22. "        PIN9  ,GPIO0 Output PIN9" "Low,High"
bitfld.long 0x00 21. "        PIN10 ,GPIO0 Output PIN10" "Low,High"
bitfld.long 0x00 20. "        PIN11 ,GPIO0 Output PIN11" "Low,High"
textline "                     "
bitfld.long 0x00 19. " PIN12 ,GPIO0 Output PIN12" "Low,High"
bitfld.long 0x00 18. "        PIN13 ,GPIO0 Output PIN13" "Low,High"
bitfld.long 0x00 17. "        PIN14 ,GPIO0 Output PIN14" "Low,High"
bitfld.long 0x00 16. "        PIN15 ,GPIO0 Output PIN15" "Low,High"
textline "                     "
bitfld.long 0x00 15. " PIN16 ,GPIO0 Output PIN16" "Low,High"
bitfld.long 0x00 14. "        PIN17 ,GPIO0 Output PIN17" "Low,High"
bitfld.long 0x00 13. "        PIN18 ,GPIO0 Output PIN18" "Low,High"
bitfld.long 0x00 12. "        PIN19 ,GPIO0 Output PIN19" "Low,High"
textline "                     "
bitfld.long 0x00 11. " PIN20 ,GPIO0 Output PIN20" "Low,High"
bitfld.long 0x00 10. "        PIN21 ,GPIO0 Output PIN21" "Low,High"
bitfld.long 0x00 9. "        PIN22 ,GPIO0 Output PIN22" "Low,High"
bitfld.long 0x00 8. "        PIN23 ,GPIO0 Output PIN23" "Low,High"
textline "                     "
bitfld.long 0x00 7. " PIN24 ,GPIO0 Output PIN24" "Low,High"
bitfld.long 0x00 6. "        PIN25 ,GPIO0 Output PIN25" "Low,High"
bitfld.long 0x00 5. "        PIN26 ,GPIO0 Output PIN26" "Low,High"
bitfld.long 0x00 4. "        PIN27 ,GPIO0 Output PIN27" "Low,High"
textline "                     "
bitfld.long 0x00 3. " PIN28 ,GPIO0 Output PIN28" "Low,High"
bitfld.long 0x00 2. "        PIN29 ,GPIO0 Output PIN29" "Low,High"
bitfld.long 0x00 1. "        PIN30 ,GPIO0 Output PIN30" "Low,High"
bitfld.long 0x00 0. "        PIN31 ,GPIO0 Output PIN31" "Low,High"
group (0x0+0x04)++0x03
line.long 0x00 "GPIO0_TCR,GPIO0 Three-State Control Register"
bitfld.long 0x00 31. " PIN0  ,GPIO0 Three-State Control PIN0" "Tri-state,Output"
bitfld.long 0x00 30. "   PIN1  ,GPIO0 Three-State Control PIN1" "Tri-state,Output"
bitfld.long 0x00 29. "   PIN2  ,GPIO0 Three-State Control PIN2" "Tri-state,Output"
bitfld.long 0x00 28. "   PIN3  ,GPIO0 Three-State Control PIN3" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 27. " PIN4  ,GPIO0 Three-State Control PIN4" "Tri-state,Output"
bitfld.long 0x00 26. "   PIN5  ,GPIO0 Three-State Control PIN5" "Tri-state,Output"
bitfld.long 0x00 25. "   PIN6  ,GPIO0 Three-State Control PIN6" "Tri-state,Output"
bitfld.long 0x00 24. "   PIN7  ,GPIO0 Three-State Control PIN7" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 23. " PIN8  ,GPIO0 Three-State Control PIN8" "Tri-state,Output"
bitfld.long 0x00 22. "   PIN9  ,GPIO0 Three-State Control PIN9" "Tri-state,Output"
bitfld.long 0x00 21. "   PIN10 ,GPIO0 Three-State Control PIN10" "Tri-state,Output"
bitfld.long 0x00 20. "   PIN11 ,GPIO0 Three-State Control PIN11" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 19. " PIN12 ,GPIO0 Three-State Control PIN12" "Tri-state,Output"
bitfld.long 0x00 18. "   PIN13 ,GPIO0 Three-State Control PIN13" "Tri-state,Output"
bitfld.long 0x00 17. "   PIN14 ,GPIO0 Three-State Control PIN14" "Tri-state,Output"
bitfld.long 0x00 16. "   PIN15 ,GPIO0 Three-State Control PIN15" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 15. " PIN16 ,GPIO0 Three-State Control PIN16" "Tri-state,Output"
bitfld.long 0x00 14. "   PIN17 ,GPIO0 Three-State Control PIN17" "Tri-state,Output"
bitfld.long 0x00 13. "   PIN18 ,GPIO0 Three-State Control PIN18" "Tri-state,Output"
bitfld.long 0x00 12. "   PIN19 ,GPIO0 Three-State Control PIN19" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 11. " PIN20 ,GPIO0 Three-State Control PIN20" "Tri-state,Output"
bitfld.long 0x00 10. "   PIN21 ,GPIO0 Three-State Control PIN21" "Tri-state,Output"
bitfld.long 0x00 9. "   PIN22 ,GPIO0 Three-State Control PIN22" "Tri-state,Output"
bitfld.long 0x00 8. "   PIN23 ,GPIO0 Three-State Control PIN23" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 7. " PIN24 ,GPIO0 Three-State Control PIN24" "Tri-state,Output"
bitfld.long 0x00 6. "   PIN25 ,GPIO0 Three-State Control PIN25" "Tri-state,Output"
bitfld.long 0x00 5. "   PIN26 ,GPIO0 Three-State Control PIN26" "Tri-state,Output"
bitfld.long 0x00 4. "   PIN27 ,GPIO0 Three-State Control PIN27" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 3. " PIN28 ,GPIO0 Three-State Control PIN28" "Tri-state,Output"
bitfld.long 0x00 2. "   PIN29 ,GPIO0 Three-State Control PIN29" "Tri-state,Output"
bitfld.long 0x00 1. "   PIN30 ,GPIO0 Three-State Control PIN30" "Tri-state,Output"
bitfld.long 0x00 0. "   PIN31 ,GPIO0 Three-State Control PIN31" "Tri-state,Output"
group (0x0+0x08)++0x07
line.long 0x00 "GPIO0_OSRL,GPIO0 Output Select Low Register"
bitfld.long 0x00 30.--31. " PIN0  ,GPIO0 Output Select PIN0" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 28.--29. "   PIN1  ,GPIO0 Output Select PIN1" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 26.--27. "   PIN2  ,GPIO0 Output Select PIN2" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 24.--25. "   PIN3  ,GPIO0 Output Select PIN3" "GPIO0_OR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x00 22.--23. " PIN4  ,GPIO0 Output Select PIN4" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 20.--21. "   PIN5  ,GPIO0 Output Select PIN5" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 18.--19. "   PIN6  ,GPIO0 Output Select PIN6" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 16.--17. "   PIN7  ,GPIO0 Output Select PIN7" "GPIO0_OR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x00 14.--15. " PIN8  ,GPIO0 Output Select PIN8" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 12.--13. "   PIN9  ,GPIO0 Output Select PIN9" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 10.--11. "   PIN10 ,GPIO0 Output Select PIN10" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 8.--9. "   PIN11 ,GPIO0 Output Select PIN11" "GPIO0_OR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x00 6.--7. " PIN12 ,GPIO0 Output Select PIN12" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 4.--5. "   PIN13 ,GPIO0 Output Select PIN13" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 2.--3. "   PIN14 ,GPIO0 Output Select PIN14" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 0.--1. "   PIN15 ,GPIO0 Output Select PIN15" "GPIO0_OR,Alt1,Alt2,Alt3"
line.long 0x04 "GPIO0_OSRH,GPIO0 Output Select High"
bitfld.long 0x04 30.--31. " PIN16 ,GPIO0 Output Select PIN16" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 28.--29. "   PIN17 ,GPIO0 Output Select PIN17" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 26.--27. "   PIN18 ,GPIO0 Output Select PIN18" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 24.--25. "   PIN19 ,GPIO0 Output Select PIN19" "GPIO0_OR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x04 22.--23. " PIN20 ,GPIO0 Output Select PIN20" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 20.--21. "   PIN21 ,GPIO0 Output Select PIN21" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 18.--19. "   PIN22 ,GPIO0 Output Select PIN22" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 16.--17. "   PIN23 ,GPIO0 Output Select PIN23" "GPIO0_OR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x04 14.--15. " PIN24 ,GPIO0 Output Select PIN24" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 12.--13. "   PIN25 ,GPIO0 Output Select PIN25" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 10.--11. "   PIN26 ,GPIO0 Output Select PIN26" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 8.--9. "   PIN27 ,GPIO0 Output Select PIN27" "GPIO0_OR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x04 6.--7. " PIN28 ,GPIO0 Output Select PIN28" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 4.--5. "   PIN29 ,GPIO0 Output Select PIN29" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 2.--3. "   PIN30 ,GPIO0 Output Select PIN30" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 0.--1. "   PIN31 ,GPIO0 Output Select PIN31" "GPIO0_OR,Alt1,Alt2,Alt3"
group (0x0+0x10)++0x07
line.long 0x00 "GPIO0_TSRL,GPIO0 Three-State Select Register Low"
bitfld.long 0x00 30.--31. " PIN0  ,GPIO0 Three-State Control Source PIN0" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 28.--29. "  PIN1  ,GPIO0 Three-State Control Source PIN1" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 26.--27. "  PIN2  ,GPIO0 Three-State Control Source PIN2" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 24.--25. "  PIN3  ,GPIO0 Three-State Control Source PIN3" "GPIO0_TCR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x00 22.--23. " PIN4  ,GPIO0 Three-State Control Source PIN4" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 20.--21. "  PIN5  ,GPIO0 Three-State Control Source PIN5" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 18.--19. "  PIN6  ,GPIO0 Three-State Control Source PIN6" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 16.--17. "  PIN7  ,GPIO0 Three-State Control Source PIN7" "GPIO0_TCR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x00 14.--15. " PIN8  ,GPIO0 Three-State Control Source PIN8" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 12.--13. "  PIN9  ,GPIO0 Three-State Control Source PIN9" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 10.--11. "  PIN10 ,GPIO0 Three-State Control Source PIN10" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 8.--9. "  PIN11 ,GPIO0 Three-State Control Source PIN11" "GPIO0_TCR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x00 6.--7. " PIN12 ,GPIO0 Three-State Control Source PIN12" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 4.--5. "  PIN13 ,GPIO0 Three-State Control Source PIN13" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 2.--3. "  PIN14 ,GPIO0 Three-State Control Source PIN14" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 0.--1. "  PIN15 ,GPIO0 Three-State Control Source PIN15" "GPIO0_TCR,Alt1,Alt2,Alt3"
line.long 0x04 "GPIO0_TSRH,GPIO0 Three-State Select Register High"
bitfld.long 0x04 30.--31. " PIN16 ,GPIO0 Three-State Control Source PIN16" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 28.--29. "  PIN17 ,GPIO0 Three-State Control Source PIN17" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 26.--27. "  PIN18 ,GPIO0 Three-State Control Source PIN18" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 24.--25. "  PIN19 ,GPIO0 Three-State Control Source PIN19" "GPIO0_TCR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x04 22.--23. " PIN20 ,GPIO0 Three-State Control Source PIN20" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 20.--21. "  PIN21 ,GPIO0 Three-State Control Source PIN21" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 18.--19. "  PIN22 ,GPIO0 Three-State Control Source PIN22" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 16.--17. "  PIN23 ,GPIO0 Three-State Control Source PIN23" "GPIO0_TCR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x04 14.--15. " PIN24 ,GPIO0 Three-State Control Source PIN24" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 12.--13. "  PIN25 ,GPIO0 Three-State Control Source PIN25" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 10.--11. "  PIN26 ,GPIO0 Three-State Control Source PIN26" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 8.--9. "  PIN27 ,GPIO0 Three-State Control Source PIN27" "GPIO0_TCR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x04 6.--7. " PIN28 ,GPIO0 Three-State Control Source PIN28" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 4.--5. "  PIN29 ,GPIO0 Three-State Control Source PIN29" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 2.--3. "  PIN30 ,GPIO0 Three-State Control Source PIN30" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 0.--1. "  PIN31 ,GPIO0 Three-State Control Source PIN31" "GPIO0_TCR,Alt1,Alt2,Alt3"
group (0x0+0x18)++0x03
line.long 0x00 "GPIO0_ODR,GPIO0 Open Drain Register"
bitfld.long 0x00 31. " PIN0  ,GPIO0 Open Drain PIN0" "-,Enabled"
bitfld.long 0x00 30. "     PIN1  ,GPIO0 Open Drain PIN1" "-,Enabled"
bitfld.long 0x00 29. "     PIN2  ,GPIO0 Open Drain PIN2" "-,Enabled"
bitfld.long 0x00 28. "     PIN3  ,GPIO0 Open Drain PIN3" "-,Enabled"
textline "                     "
bitfld.long 0x00 27. " PIN4  ,GPIO0 Open Drain PIN4" "-,Enabled"
bitfld.long 0x00 26. "     PIN5  ,GPIO0 Open Drain PIN5" "-,Enabled"
bitfld.long 0x00 25. "     PIN6  ,GPIO0 Open Drain PIN6" "-,Enabled"
bitfld.long 0x00 24. "     PIN7  ,GPIO0 Open Drain PIN7" "-,Enabled"
textline "                     "
bitfld.long 0x00 23. " PIN8  ,GPIO0 Open Drain PIN8" "-,Enabled"
bitfld.long 0x00 22. "     PIN9  ,GPIO0 Open Drain PIN9" "-,Enabled"
bitfld.long 0x00 21. "     PIN10 ,GPIO0 Open Drain PIN10" "-,Enabled"
bitfld.long 0x00 20. "     PIN11 ,GPIO0 Open Drain PIN11" "-,Enabled"
textline "                     "
bitfld.long 0x00 19. " PIN12 ,GPIO0 Open Drain PIN12" "-,Enabled"
bitfld.long 0x00 18. "     PIN13 ,GPIO0 Open Drain PIN13" "-,Enabled"
bitfld.long 0x00 17. "     PIN14 ,GPIO0 Open Drain PIN14" "-,Enabled"
bitfld.long 0x00 16. "     PIN15 ,GPIO0 Open Drain PIN15" "-,Enabled"
textline "                     "
bitfld.long 0x00 15. " PIN16 ,GPIO0 Open Drain PIN16" "-,Enabled"
bitfld.long 0x00 14. "     PIN17 ,GPIO0 Open Drain PIN17" "-,Enabled"
bitfld.long 0x00 13. "     PIN18 ,GPIO0 Open Drain PIN18" "-,Enabled"
bitfld.long 0x00 12. "     PIN19 ,GPIO0 Open Drain PIN19" "-,Enabled"
textline "                     "
bitfld.long 0x00 11. " PIN20 ,GPIO0 Open Drain PIN20" "-,Enabled"
bitfld.long 0x00 10. "     PIN21 ,GPIO0 Open Drain PIN21" "-,Enabled"
bitfld.long 0x00 9. "     PIN22 ,GPIO0 Open Drain PIN22" "-,Enabled"
bitfld.long 0x00 8. "     PIN23 ,GPIO0 Open Drain PIN23" "-,Enabled"
textline "                     "
bitfld.long 0x00 7. " PIN24 ,GPIO0 Open Drain PIN24" "-,Enabled"
bitfld.long 0x00 6. "     PIN25 ,GPIO0 Open Drain PIN25" "-,Enabled"
bitfld.long 0x00 5. "     PIN26 ,GPIO0 Open Drain PIN26" "-,Enabled"
bitfld.long 0x00 4. "     PIN27 ,GPIO0 Open Drain PIN27" "-,Enabled"
textline "                     "
bitfld.long 0x00 3. " PIN28 ,GPIO0 Open Drain PIN28" "-,Enabled"
bitfld.long 0x00 2. "     PIN29 ,GPIO0 Open Drain PIN29" "-,Enabled"
bitfld.long 0x00 1. "     PIN30 ,GPIO0 Open Drain PIN30" "-,Enabled"
bitfld.long 0x00 0. "     PIN31 ,GPIO0 Open Drain PIN31" "-,Enabled"
rgroup (0x0+0x1c)++0x03
line.long 0x00 "GPIO0_IR,GPIO0 Input Register"
bitfld.long 0x00 31. " PIN0  ,GPIO0 Input PIN0" "Low,High"
bitfld.long 0x00 30. "        PIN1  ,GPIO0 Input PIN1" "Low,High"
bitfld.long 0x00 29. "        PIN2  ,GPIO0 Input PIN2" "Low,High"
bitfld.long 0x00 28. "        PIN3  ,GPIO0 Input PIN3" "Low,High"
textline "                     "
bitfld.long 0x00 27. " PIN4  ,GPIO0 Input PIN4" "Low,High"
bitfld.long 0x00 26. "        PIN5  ,GPIO0 Input PIN5" "Low,High"
bitfld.long 0x00 25. "        PIN6  ,GPIO0 Input PIN6" "Low,High"
bitfld.long 0x00 24. "        PIN7  ,GPIO0 Input PIN7" "Low,High"
textline "                     "
bitfld.long 0x00 23. " PIN8  ,GPIO0 Input PIN8" "Low,High"
bitfld.long 0x00 22. "        PIN9  ,GPIO0 Input PIN9" "Low,High"
bitfld.long 0x00 21. "        PIN10 ,GPIO0 Input PIN10" "Low,High"
bitfld.long 0x00 20. "        PIN11 ,GPIO0 Input PIN11" "Low,High"
textline "                     "
bitfld.long 0x00 19. " PIN12 ,GPIO0 Input PIN12" "Low,High"
bitfld.long 0x00 18. "        PIN13 ,GPIO0 Input PIN13" "Low,High"
bitfld.long 0x00 17. "        PIN14 ,GPIO0 Input PIN14" "Low,High"
bitfld.long 0x00 16. "        PIN15 ,GPIO0 Input PIN15" "Low,High"
textline "                     "
bitfld.long 0x00 15. " PIN16 ,GPIO0 Input PIN16" "Low,High"
bitfld.long 0x00 14. "        PIN17 ,GPIO0 Input PIN17" "Low,High"
bitfld.long 0x00 13. "        PIN18 ,GPIO0 Input PIN18" "Low,High"
bitfld.long 0x00 12. "        PIN19 ,GPIO0 Input PIN19" "Low,High"
textline "                     "
bitfld.long 0x00 11. " PIN20 ,GPIO0 Input PIN20" "Low,High"
bitfld.long 0x00 10. "        PIN21 ,GPIO0 Input PIN21" "Low,High"
bitfld.long 0x00 9. "        PIN22 ,GPIO0 Input PIN22" "Low,High"
bitfld.long 0x00 8. "        PIN23 ,GPIO0 Input PIN23" "Low,High"
textline "                     "
bitfld.long 0x00 7. " PIN24 ,GPIO0 Input PIN24" "Low,High"
bitfld.long 0x00 6. "        PIN25 ,GPIO0 Input PIN25" "Low,High"
bitfld.long 0x00 5. "        PIN26 ,GPIO0 Input PIN26" "Low,High"
bitfld.long 0x00 4. "        PIN27 ,GPIO0 Input PIN27" "Low,High"
textline "                     "
bitfld.long 0x00 3. " PIN28 ,GPIO0 Input PIN28" "Low,High"
bitfld.long 0x00 2. "        PIN29 ,GPIO0 Input PIN29" "Low,High"
bitfld.long 0x00 1. "        PIN30 ,GPIO0 Input PIN30" "Low,High"
bitfld.long 0x00 0. "        PIN31 ,GPIO0 Input PIN31" "Low,High"
group (0x0+0x20)++0x03
line.long 0x00 "GPIO0_RR1,GPIO0 Receive Register 1"
bitfld.long 0x00 31. " PIN0  ,GPIO0 Receive Alt1 PIN0" "Low,High"
bitfld.long 0x00 30. "        PIN1  ,GPIO0 Receive Alt1 PIN1" "Low,High"
bitfld.long 0x00 29. "        PIN2  ,GPIO0 Receive Alt1 PIN2" "Low,High"
bitfld.long 0x00 28. "        PIN3  ,GPIO0 Receive Alt1 PIN3" "Low,High"
textline "                     "
bitfld.long 0x00 27. " PIN4  ,GPIO0 Receive Alt1 PIN4" "Low,High"
bitfld.long 0x00 26. "        PIN5  ,GPIO0 Receive Alt1 PIN5" "Low,High"
bitfld.long 0x00 25. "        PIN6  ,GPIO0 Receive Alt1 PIN6" "Low,High"
bitfld.long 0x00 24. "        PIN7  ,GPIO0 Receive Alt1 PIN7" "Low,High"
textline "                     "
bitfld.long 0x00 23. " PIN8  ,GPIO0 Receive Alt1 PIN8" "Low,High"
bitfld.long 0x00 22. "        PIN9  ,GPIO0 Receive Alt1 PIN9" "Low,High"
bitfld.long 0x00 21. "        PIN10 ,GPIO0 Receive Alt1 PIN10" "Low,High"
bitfld.long 0x00 20. "        PIN11 ,GPIO0 Receive Alt1 PIN11" "Low,High"
textline "                     "
bitfld.long 0x00 19. " PIN12 ,GPIO0 Receive Alt1 PIN12" "Low,High"
bitfld.long 0x00 18. "        PIN13 ,GPIO0 Receive Alt1 PIN13" "Low,High"
bitfld.long 0x00 17. "        PIN14 ,GPIO0 Receive Alt1 PIN14" "Low,High"
bitfld.long 0x00 16. "        PIN15 ,GPIO0 Receive Alt1 PIN15" "Low,High"
textline "                     "
bitfld.long 0x00 15. " PIN16 ,GPIO0 Receive Alt1 PIN16" "Low,High"
bitfld.long 0x00 14. "        PIN17 ,GPIO0 Receive Alt1 PIN17" "Low,High"
bitfld.long 0x00 13. "        PIN18 ,GPIO0 Receive Alt1 PIN18" "Low,High"
bitfld.long 0x00 12. "        PIN19 ,GPIO0 Receive Alt1 PIN19" "Low,High"
textline "                     "
bitfld.long 0x00 11. " PIN20 ,GPIO0 Receive Alt1 PIN20" "Low,High"
bitfld.long 0x00 10. "        PIN21 ,GPIO0 Receive Alt1 PIN21" "Low,High"
bitfld.long 0x00 9. "        PIN22 ,GPIO0 Receive Alt1 PIN22" "Low,High"
bitfld.long 0x00 8. "        PIN23 ,GPIO0 Receive Alt1 PIN23" "Low,High"
textline "                     "
bitfld.long 0x00 7. " PIN24 ,GPIO0 Receive Alt1 PIN24" "Low,High"
bitfld.long 0x00 6. "        PIN25 ,GPIO0 Receive Alt1 PIN25" "Low,High"
bitfld.long 0x00 5. "        PIN26 ,GPIO0 Receive Alt1 PIN26" "Low,High"
bitfld.long 0x00 4. "        PIN27 ,GPIO0 Receive Alt1 PIN27" "Low,High"
textline "                     "
bitfld.long 0x00 3. " PIN28 ,GPIO0 Receive Alt1 PIN28" "Low,High"
bitfld.long 0x00 2. "        PIN29 ,GPIO0 Receive Alt1 PIN29" "Low,High"
bitfld.long 0x00 1. "        PIN30 ,GPIO0 Receive Alt1 PIN30" "Low,High"
bitfld.long 0x00 0. "        PIN31 ,GPIO0 Receive Alt1 PIN31" "Low,High"
group (0x0+0x24)++0x03
line.long 0x00 "GPIO0_RR2,GPIO0 Receive Register 2"
bitfld.long 0x00 31. " PIN0  ,GPIO0 Receive Alt2 PIN0" "Low,High"
bitfld.long 0x00 30. "        PIN1  ,GPIO0 Receive Alt2 PIN1" "Low,High"
bitfld.long 0x00 29. "        PIN2  ,GPIO0 Receive Alt2 PIN2" "Low,High"
bitfld.long 0x00 28. "        PIN3  ,GPIO0 Receive Alt2 PIN3" "Low,High"
textline "                     "
bitfld.long 0x00 27. " PIN4  ,GPIO0 Receive Alt2 PIN4" "Low,High"
bitfld.long 0x00 26. "        PIN5  ,GPIO0 Receive Alt2 PIN5" "Low,High"
bitfld.long 0x00 25. "        PIN6  ,GPIO0 Receive Alt2 PIN6" "Low,High"
bitfld.long 0x00 24. "        PIN7  ,GPIO0 Receive Alt2 PIN7" "Low,High"
textline "                     "
bitfld.long 0x00 23. " PIN8  ,GPIO0 Receive Alt2 PIN8" "Low,High"
bitfld.long 0x00 22. "        PIN9  ,GPIO0 Receive Alt2 PIN9" "Low,High"
bitfld.long 0x00 21. "        PIN10 ,GPIO0 Receive Alt2 PIN10" "Low,High"
bitfld.long 0x00 20. "        PIN11 ,GPIO0 Receive Alt2 PIN11" "Low,High"
textline "                     "
bitfld.long 0x00 19. " PIN12 ,GPIO0 Receive Alt2 PIN12" "Low,High"
bitfld.long 0x00 18. "        PIN13 ,GPIO0 Receive Alt2 PIN13" "Low,High"
bitfld.long 0x00 17. "        PIN14 ,GPIO0 Receive Alt2 PIN14" "Low,High"
bitfld.long 0x00 16. "        PIN15 ,GPIO0 Receive Alt2 PIN15" "Low,High"
textline "                     "
bitfld.long 0x00 15. " PIN16 ,GPIO0 Receive Alt2 PIN16" "Low,High"
bitfld.long 0x00 14. "        PIN17 ,GPIO0 Receive Alt2 PIN17" "Low,High"
bitfld.long 0x00 13. "        PIN18 ,GPIO0 Receive Alt2 PIN18" "Low,High"
bitfld.long 0x00 12. "        PIN19 ,GPIO0 Receive Alt2 PIN19" "Low,High"
textline "                     "
bitfld.long 0x00 11. " PIN20 ,GPIO0 Receive Alt2 PIN20" "Low,High"
bitfld.long 0x00 10. "        PIN21 ,GPIO0 Receive Alt2 PIN21" "Low,High"
bitfld.long 0x00 9. "        PIN22 ,GPIO0 Receive Alt2 PIN22" "Low,High"
bitfld.long 0x00 8. "        PIN23 ,GPIO0 Receive Alt2 PIN23" "Low,High"
textline "                     "
bitfld.long 0x00 7. " PIN24 ,GPIO0 Receive Alt2 PIN24" "Low,High"
bitfld.long 0x00 6. "        PIN25 ,GPIO0 Receive Alt2 PIN25" "Low,High"
bitfld.long 0x00 5. "        PIN26 ,GPIO0 Receive Alt2 PIN26" "Low,High"
bitfld.long 0x00 4. "        PIN27 ,GPIO0 Receive Alt2 PIN27" "Low,High"
textline "                     "
bitfld.long 0x00 3. " PIN28 ,GPIO0 Receive Alt2 PIN28" "Low,High"
bitfld.long 0x00 2. "        PIN29 ,GPIO0 Receive Alt2 PIN29" "Low,High"
bitfld.long 0x00 1. "        PIN30 ,GPIO0 Receive Alt2 PIN30" "Low,High"
bitfld.long 0x00 0. "        PIN31 ,GPIO0 Receive Alt2 PIN31" "Low,High"
group (0x0+0x28)++0x03
line.long 0x00 "GPIO0_RR3,GPIO0 Receive Register 3"
bitfld.long 0x00 31. " PIN0  ,GPIO0 Receive Alt3 PIN0" "Low,High"
bitfld.long 0x00 30. "        PIN1  ,GPIO0 Receive Alt3 PIN1" "Low,High"
bitfld.long 0x00 29. "        PIN2  ,GPIO0 Receive Alt3 PIN2" "Low,High"
bitfld.long 0x00 28. "        PIN3  ,GPIO0 Receive Alt3 PIN3" "Low,High"
textline "                     "
bitfld.long 0x00 27. " PIN4  ,GPIO0 Receive Alt3 PIN4" "Low,High"
bitfld.long 0x00 26. "        PIN5  ,GPIO0 Receive Alt3 PIN5" "Low,High"
bitfld.long 0x00 25. "        PIN6  ,GPIO0 Receive Alt3 PIN6" "Low,High"
bitfld.long 0x00 24. "        PIN7  ,GPIO0 Receive Alt3 PIN7" "Low,High"
textline "                     "
bitfld.long 0x00 23. " PIN8  ,GPIO0 Receive Alt3 PIN8" "Low,High"
bitfld.long 0x00 22. "        PIN9  ,GPIO0 Receive Alt3 PIN9" "Low,High"
bitfld.long 0x00 21. "        PIN10 ,GPIO0 Receive Alt3 PIN10" "Low,High"
bitfld.long 0x00 20. "        PIN11 ,GPIO0 Receive Alt3 PIN11" "Low,High"
textline "                     "
bitfld.long 0x00 19. " PIN12 ,GPIO0 Receive Alt3 PIN12" "Low,High"
bitfld.long 0x00 18. "        PIN13 ,GPIO0 Receive Alt3 PIN13" "Low,High"
bitfld.long 0x00 17. "        PIN14 ,GPIO0 Receive Alt3 PIN14" "Low,High"
bitfld.long 0x00 16. "        PIN15 ,GPIO0 Receive Alt3 PIN15" "Low,High"
textline "                     "
bitfld.long 0x00 15. " PIN16 ,GPIO0 Receive Alt3 PIN16" "Low,High"
bitfld.long 0x00 14. "        PIN17 ,GPIO0 Receive Alt3 PIN17" "Low,High"
bitfld.long 0x00 13. "        PIN18 ,GPIO0 Receive Alt3 PIN18" "Low,High"
bitfld.long 0x00 12. "        PIN19 ,GPIO0 Receive Alt3 PIN19" "Low,High"
textline "                     "
bitfld.long 0x00 11. " PIN20 ,GPIO0 Receive Alt3 PIN20" "Low,High"
bitfld.long 0x00 10. "        PIN21 ,GPIO0 Receive Alt3 PIN21" "Low,High"
bitfld.long 0x00 9. "        PIN22 ,GPIO0 Receive Alt3 PIN22" "Low,High"
bitfld.long 0x00 8. "        PIN23 ,GPIO0 Receive Alt3 PIN23" "Low,High"
textline "                     "
bitfld.long 0x00 7. " PIN24 ,GPIO0 Receive Alt3 PIN24" "Low,High"
bitfld.long 0x00 6. "        PIN25 ,GPIO0 Receive Alt3 PIN25" "Low,High"
bitfld.long 0x00 5. "        PIN26 ,GPIO0 Receive Alt3 PIN26" "Low,High"
bitfld.long 0x00 4. "        PIN27 ,GPIO0 Receive Alt3 PIN27" "Low,High"
textline "                     "
bitfld.long 0x00 3. " PIN28 ,GPIO0 Receive Alt3 PIN28" "Low,High"
bitfld.long 0x00 2. "        PIN29 ,GPIO0 Receive Alt3 PIN29" "Low,High"
bitfld.long 0x00 1. "        PIN30 ,GPIO0 Receive Alt3 PIN30" "Low,High"
bitfld.long 0x00 0. "        PIN31 ,GPIO0 Receive Alt3 PIN31" "Low,High"
group (0x0+0x30)++0x07
line.long 0x00 "GPIO0_ISR1L,GPIO0 Input Select 1 Register Low"
bitfld.long 0x00 30.--31. " PIN0  ,GPIO0 Input Select 1 PIN0" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 28.--29. "  PIN1  ,GPIO0 Input Select 1 PIN1" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 26.--27. "  PIN2  ,GPIO0 Input Select 1 PIN2" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 24.--25. "  PIN3  ,GPIO0 Input Select 1 PIN3" "GPIO0_RR1,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 22.--23. " PIN4  ,GPIO0 Input Select 1 PIN4" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 20.--21. "  PIN5  ,GPIO0 Input Select 1 PIN5" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 18.--19. "  PIN6  ,GPIO0 Input Select 1 PIN6" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 16.--17. "  PIN7  ,GPIO0 Input Select 1 PIN7" "GPIO0_RR1,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 14.--15. " PIN8  ,GPIO0 Input Select 1 PIN8" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 12.--13. "  PIN9  ,GPIO0 Input Select 1 PIN9" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 10.--11. "  PIN10 ,GPIO0 Input Select 1 PIN10" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 8.--9. "  PIN11 ,GPIO0 Input Select 1 PIN11" "GPIO0_RR1,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 6.--7. " PIN12 ,GPIO0 Input Select 1 PIN12" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 4.--5. "  PIN13 ,GPIO0 Input Select 1 PIN13" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 2.--3. "  PIN14 ,GPIO0 Input Select 1 PIN14" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 0.--1. "  PIN15 ,GPIO0 Input Select 1 PIN15" "GPIO0_RR1,Pin input,Hold input,Reserved"
line.long 0x04 "GPIO0_ISR1H,GPIO0 Input Select 1 Register High"
bitfld.long 0x04 30.--31. " PIN16 ,GPIO0 Input Select 1 PIN16" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 28.--29. "  PIN17 ,GPIO0 Input Select 1 PIN17" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 26.--27. "  PIN18 ,GPIO0 Input Select 1 PIN18" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 24.--25. "  PIN19 ,GPIO0 Input Select 1 PIN19" "GPIO0_RR1,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 22.--23. " PIN20 ,GPIO0 Input Select 1 PIN20" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 20.--21. "  PIN21 ,GPIO0 Input Select 1 PIN21" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 18.--19. "  PIN22 ,GPIO0 Input Select 1 PIN22" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 16.--17. "  PIN23 ,GPIO0 Input Select 1 PIN23" "GPIO0_RR1,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 14.--15. " PIN24 ,GPIO0 Input Select 1 PIN24" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 12.--13. "  PIN25 ,GPIO0 Input Select 1 PIN25" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 10.--11. "  PIN26 ,GPIO0 Input Select 1 PIN26" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 8.--9. "  PIN27 ,GPIO0 Input Select 1 PIN27" "GPIO0_RR1,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 6.--7. " PIN28 ,GPIO0 Input Select 1 PIN28" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 4.--5. "  PIN29 ,GPIO0 Input Select 1 PIN29" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 2.--3. "  PIN30 ,GPIO0 Input Select 1 PIN30" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 0.--1. "  PIN31 ,GPIO0 Input Select 1 PIN31" "GPIO0_RR1,Pin input,Hold input,Reserved"
group (0x0+0x38)++0x07
line.long 0x00 "GPIO0_ISR2L,GPIO0 Input Select 2 Register Low"
bitfld.long 0x00 30.--31. " PIN0  ,GPIO0 Input Select 2 PIN0" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 28.--29. "  PIN1  ,GPIO0 Input Select 2 PIN1" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 26.--27. "  PIN2  ,GPIO0 Input Select 2 PIN2" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 24.--25. "  PIN3  ,GPIO0 Input Select 2 PIN3" "GPIO0_RR2,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 22.--23. " PIN4  ,GPIO0 Input Select 2 PIN4" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 20.--21. "  PIN5  ,GPIO0 Input Select 2 PIN5" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 18.--19. "  PIN6  ,GPIO0 Input Select 2 PIN6" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 16.--17. "  PIN7  ,GPIO0 Input Select 2 PIN7" "GPIO0_RR2,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 14.--15. " PIN8  ,GPIO0 Input Select 2 PIN8" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 12.--13. "  PIN9  ,GPIO0 Input Select 2 PIN9" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 10.--11. "  PIN10 ,GPIO0 Input Select 2 PIN10" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 8.--9. "  PIN11 ,GPIO0 Input Select 2 PIN11" "GPIO0_RR2,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 6.--7. " PIN12 ,GPIO0 Input Select 2 PIN12" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 4.--5. "  PIN13 ,GPIO0 Input Select 2 PIN13" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 2.--3. "  PIN14 ,GPIO0 Input Select 2 PIN14" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 0.--1. "  PIN15 ,GPIO0 Input Select 2 PIN15" "GPIO0_RR2,Pin input,Hold input,Reserved"
line.long 0x04 "GPIO0_ISR2H,GPIO0 Input Select 2 Register High"
bitfld.long 0x04 30.--31. " PIN16 ,GPIO0 Input Select 2 PIN16" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 28.--29. "  PIN17 ,GPIO0 Input Select 2 PIN17" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 26.--27. "  PIN18 ,GPIO0 Input Select 2 PIN18" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 24.--25. "  PIN19 ,GPIO0 Input Select 2 PIN19" "GPIO0_RR2,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 22.--23. " PIN20 ,GPIO0 Input Select 2 PIN20" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 20.--21. "  PIN21 ,GPIO0 Input Select 2 PIN21" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 18.--19. "  PIN22 ,GPIO0 Input Select 2 PIN22" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 16.--17. "  PIN23 ,GPIO0 Input Select 2 PIN23" "GPIO0_RR2,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 14.--15. " PIN24 ,GPIO0 Input Select 2 PIN24" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 12.--13. "  PIN25 ,GPIO0 Input Select 2 PIN25" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 10.--11. "  PIN26 ,GPIO0 Input Select 2 PIN26" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 8.--9. "  PIN27 ,GPIO0 Input Select 2 PIN27" "GPIO0_RR2,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 6.--7. " PIN28 ,GPIO0 Input Select 2 PIN28" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 4.--5. "  PIN29 ,GPIO0 Input Select 2 PIN29" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 2.--3. "  PIN30 ,GPIO0 Input Select 2 PIN30" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 0.--1. "  PIN31 ,GPIO0 Input Select 2 PIN31" "GPIO0_RR2,Pin input,Hold input,Reserved"
group (0x0+0x40)++0x07
line.long 0x00 "GPIO0_ISR3L,GPIO0 Input Select 3 Register Low"
bitfld.long 0x00 30.--31. " PIN0  ,GPIO0 Input Select 3 PIN0" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 28.--29. "  PIN1  ,GPIO0 Input Select 3 PIN1" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 26.--27. "  PIN2  ,GPIO0 Input Select 3 PIN2" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 24.--25. "  PIN3  ,GPIO0 Input Select 3 PIN3" "GPIO0_RR3,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 22.--23. " PIN4  ,GPIO0 Input Select 3 PIN4" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 20.--21. "  PIN5  ,GPIO0 Input Select 3 PIN5" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 18.--19. "  PIN6  ,GPIO0 Input Select 3 PIN6" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 16.--17. "  PIN7  ,GPIO0 Input Select 3 PIN7" "GPIO0_RR3,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 14.--15. " PIN8  ,GPIO0 Input Select 3 PIN8" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 12.--13. "  PIN9  ,GPIO0 Input Select 3 PIN9" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 10.--11. "  PIN10 ,GPIO0 Input Select 3 PIN10" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 8.--9. "  PIN11 ,GPIO0 Input Select 3 PIN11" "GPIO0_RR3,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 6.--7. " PIN12 ,GPIO0 Input Select 3 PIN12" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 4.--5. "  PIN13 ,GPIO0 Input Select 3 PIN13" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 2.--3. "  PIN14 ,GPIO0 Input Select 3 PIN14" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 0.--1. "  PIN15 ,GPIO0 Input Select 3 PIN15" "GPIO0_RR3,Pin input,Hold input,Reserved"
line.long 0x04 "GPIO0_ISR3H,GPIO0 Input Select 3 Register High"
bitfld.long 0x04 30.--31. " PIN16 ,GPIO0 Input Select 3 PIN16" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 28.--29. "  PIN17 ,GPIO0 Input Select 3 PIN17" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 26.--27. "  PIN18 ,GPIO0 Input Select 3 PIN18" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 24.--25. "  PIN19 ,GPIO0 Input Select 3 PIN19" "GPIO0_RR3,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 22.--23. " PIN20 ,GPIO0 Input Select 3 PIN20" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 20.--21. "  PIN21 ,GPIO0 Input Select 3 PIN21" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 18.--19. "  PIN22 ,GPIO0 Input Select 3 PIN22" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 16.--17. "  PIN23 ,GPIO0 Input Select 3 PIN23" "GPIO0_RR3,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 14.--15. " PIN24 ,GPIO0 Input Select 3 PIN24" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 12.--13. "  PIN25 ,GPIO0 Input Select 3 PIN25" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 10.--11. "  PIN26 ,GPIO0 Input Select 3 PIN26" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 8.--9. "  PIN27 ,GPIO0 Input Select 3 PIN27" "GPIO0_RR3,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 6.--7. " PIN28 ,GPIO0 Input Select 3 PIN28" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 4.--5. "  PIN29 ,GPIO0 Input Select 3 PIN29" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 2.--3. "  PIN30 ,GPIO0 Input Select 3 PIN30" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 0.--1. "  PIN31 ,GPIO0 Input Select 3 PIN31" "GPIO0_RR3,Pin input,Hold input,Reserved"
tree.end
tree "GPIO1"
group 0x100++0x03
line.long 0x00 "GPIO1_OR,GPIO1 Output Register"
bitfld.long 0x00 31. " PIN0  ,GPIO1 Output PIN0" "Low,High"
bitfld.long 0x00 30. "        PIN1  ,GPIO1 Output PIN1" "Low,High"
bitfld.long 0x00 29. "        PIN2  ,GPIO1 Output PIN2" "Low,High"
bitfld.long 0x00 28. "        PIN3  ,GPIO1 Output PIN3" "Low,High"
textline "                     "
bitfld.long 0x00 27. " PIN4  ,GPIO1 Output PIN4" "Low,High"
bitfld.long 0x00 26. "        PIN5  ,GPIO1 Output PIN5" "Low,High"
bitfld.long 0x00 25. "        PIN6  ,GPIO1 Output PIN6" "Low,High"
bitfld.long 0x00 24. "        PIN7  ,GPIO1 Output PIN7" "Low,High"
textline "                     "
bitfld.long 0x00 23. " PIN8  ,GPIO1 Output PIN8" "Low,High"
bitfld.long 0x00 22. "        PIN9  ,GPIO1 Output PIN9" "Low,High"
bitfld.long 0x00 21. "        PIN10 ,GPIO1 Output PIN10" "Low,High"
bitfld.long 0x00 20. "        PIN11 ,GPIO1 Output PIN11" "Low,High"
textline "                     "
bitfld.long 0x00 19. " PIN12 ,GPIO1 Output PIN12" "Low,High"
bitfld.long 0x00 18. "        PIN13 ,GPIO1 Output PIN13" "Low,High"
bitfld.long 0x00 17. "        PIN14 ,GPIO1 Output PIN14" "Low,High"
bitfld.long 0x00 16. "        PIN15 ,GPIO1 Output PIN15" "Low,High"
textline "                     "
bitfld.long 0x00 15. " PIN16 ,GPIO1 Output PIN16" "Low,High"
bitfld.long 0x00 14. "        PIN17 ,GPIO1 Output PIN17" "Low,High"
bitfld.long 0x00 13. "        PIN18 ,GPIO1 Output PIN18" "Low,High"
bitfld.long 0x00 12. "        PIN19 ,GPIO1 Output PIN19" "Low,High"
textline "                     "
bitfld.long 0x00 11. " PIN20 ,GPIO1 Output PIN20" "Low,High"
bitfld.long 0x00 10. "        PIN21 ,GPIO1 Output PIN21" "Low,High"
bitfld.long 0x00 9. "        PIN22 ,GPIO1 Output PIN22" "Low,High"
bitfld.long 0x00 8. "        PIN23 ,GPIO1 Output PIN23" "Low,High"
textline "                     "
bitfld.long 0x00 7. " PIN24 ,GPIO1 Output PIN24" "Low,High"
bitfld.long 0x00 6. "        PIN25 ,GPIO1 Output PIN25" "Low,High"
bitfld.long 0x00 5. "        PIN26 ,GPIO1 Output PIN26" "Low,High"
bitfld.long 0x00 4. "        PIN27 ,GPIO1 Output PIN27" "Low,High"
textline "                     "
bitfld.long 0x00 3. " PIN28 ,GPIO1 Output PIN28" "Low,High"
bitfld.long 0x00 2. "        PIN29 ,GPIO1 Output PIN29" "Low,High"
bitfld.long 0x00 1. "        PIN30 ,GPIO1 Output PIN30" "Low,High"
bitfld.long 0x00 0. "        PIN31 ,GPIO1 Output PIN31" "Low,High"
group (0x100+0x04)++0x03
line.long 0x00 "GPIO1_TCR,GPIO1 Three-State Control Register"
bitfld.long 0x00 31. " PIN0  ,GPIO1 Three-State Control PIN0" "Tri-state,Output"
bitfld.long 0x00 30. "   PIN1  ,GPIO1 Three-State Control PIN1" "Tri-state,Output"
bitfld.long 0x00 29. "   PIN2  ,GPIO1 Three-State Control PIN2" "Tri-state,Output"
bitfld.long 0x00 28. "   PIN3  ,GPIO1 Three-State Control PIN3" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 27. " PIN4  ,GPIO1 Three-State Control PIN4" "Tri-state,Output"
bitfld.long 0x00 26. "   PIN5  ,GPIO1 Three-State Control PIN5" "Tri-state,Output"
bitfld.long 0x00 25. "   PIN6  ,GPIO1 Three-State Control PIN6" "Tri-state,Output"
bitfld.long 0x00 24. "   PIN7  ,GPIO1 Three-State Control PIN7" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 23. " PIN8  ,GPIO1 Three-State Control PIN8" "Tri-state,Output"
bitfld.long 0x00 22. "   PIN9  ,GPIO1 Three-State Control PIN9" "Tri-state,Output"
bitfld.long 0x00 21. "   PIN10 ,GPIO1 Three-State Control PIN10" "Tri-state,Output"
bitfld.long 0x00 20. "   PIN11 ,GPIO1 Three-State Control PIN11" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 19. " PIN12 ,GPIO1 Three-State Control PIN12" "Tri-state,Output"
bitfld.long 0x00 18. "   PIN13 ,GPIO1 Three-State Control PIN13" "Tri-state,Output"
bitfld.long 0x00 17. "   PIN14 ,GPIO1 Three-State Control PIN14" "Tri-state,Output"
bitfld.long 0x00 16. "   PIN15 ,GPIO1 Three-State Control PIN15" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 15. " PIN16 ,GPIO1 Three-State Control PIN16" "Tri-state,Output"
bitfld.long 0x00 14. "   PIN17 ,GPIO1 Three-State Control PIN17" "Tri-state,Output"
bitfld.long 0x00 13. "   PIN18 ,GPIO1 Three-State Control PIN18" "Tri-state,Output"
bitfld.long 0x00 12. "   PIN19 ,GPIO1 Three-State Control PIN19" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 11. " PIN20 ,GPIO1 Three-State Control PIN20" "Tri-state,Output"
bitfld.long 0x00 10. "   PIN21 ,GPIO1 Three-State Control PIN21" "Tri-state,Output"
bitfld.long 0x00 9. "   PIN22 ,GPIO1 Three-State Control PIN22" "Tri-state,Output"
bitfld.long 0x00 8. "   PIN23 ,GPIO1 Three-State Control PIN23" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 7. " PIN24 ,GPIO1 Three-State Control PIN24" "Tri-state,Output"
bitfld.long 0x00 6. "   PIN25 ,GPIO1 Three-State Control PIN25" "Tri-state,Output"
bitfld.long 0x00 5. "   PIN26 ,GPIO1 Three-State Control PIN26" "Tri-state,Output"
bitfld.long 0x00 4. "   PIN27 ,GPIO1 Three-State Control PIN27" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 3. " PIN28 ,GPIO1 Three-State Control PIN28" "Tri-state,Output"
bitfld.long 0x00 2. "   PIN29 ,GPIO1 Three-State Control PIN29" "Tri-state,Output"
bitfld.long 0x00 1. "   PIN30 ,GPIO1 Three-State Control PIN30" "Tri-state,Output"
bitfld.long 0x00 0. "   PIN31 ,GPIO1 Three-State Control PIN31" "Tri-state,Output"
group (0x100+0x08)++0x07
line.long 0x00 "GPIO1_OSRL,GPIO1 Output Select Low Register"
bitfld.long 0x00 30.--31. " PIN0  ,GPIO1 Output Select PIN0" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 28.--29. "   PIN1  ,GPIO1 Output Select PIN1" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 26.--27. "   PIN2  ,GPIO1 Output Select PIN2" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 24.--25. "   PIN3  ,GPIO1 Output Select PIN3" "GPIO1_OR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x00 22.--23. " PIN4  ,GPIO1 Output Select PIN4" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 20.--21. "   PIN5  ,GPIO1 Output Select PIN5" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 18.--19. "   PIN6  ,GPIO1 Output Select PIN6" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 16.--17. "   PIN7  ,GPIO1 Output Select PIN7" "GPIO1_OR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x00 14.--15. " PIN8  ,GPIO1 Output Select PIN8" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 12.--13. "   PIN9  ,GPIO1 Output Select PIN9" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 10.--11. "   PIN10 ,GPIO1 Output Select PIN10" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 8.--9. "   PIN11 ,GPIO1 Output Select PIN11" "GPIO1_OR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x00 6.--7. " PIN12 ,GPIO1 Output Select PIN12" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 4.--5. "   PIN13 ,GPIO1 Output Select PIN13" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 2.--3. "   PIN14 ,GPIO1 Output Select PIN14" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 0.--1. "   PIN15 ,GPIO1 Output Select PIN15" "GPIO1_OR,Alt1,Alt2,Alt3"
line.long 0x04 "GPIO1_OSRH,GPIO1 Output Select High"
bitfld.long 0x04 30.--31. " PIN16 ,GPIO1 Output Select PIN16" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 28.--29. "   PIN17 ,GPIO1 Output Select PIN17" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 26.--27. "   PIN18 ,GPIO1 Output Select PIN18" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 24.--25. "   PIN19 ,GPIO1 Output Select PIN19" "GPIO1_OR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x04 22.--23. " PIN20 ,GPIO1 Output Select PIN20" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 20.--21. "   PIN21 ,GPIO1 Output Select PIN21" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 18.--19. "   PIN22 ,GPIO1 Output Select PIN22" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 16.--17. "   PIN23 ,GPIO1 Output Select PIN23" "GPIO1_OR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x04 14.--15. " PIN24 ,GPIO1 Output Select PIN24" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 12.--13. "   PIN25 ,GPIO1 Output Select PIN25" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 10.--11. "   PIN26 ,GPIO1 Output Select PIN26" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 8.--9. "   PIN27 ,GPIO1 Output Select PIN27" "GPIO1_OR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x04 6.--7. " PIN28 ,GPIO1 Output Select PIN28" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 4.--5. "   PIN29 ,GPIO1 Output Select PIN29" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 2.--3. "   PIN30 ,GPIO1 Output Select PIN30" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 0.--1. "   PIN31 ,GPIO1 Output Select PIN31" "GPIO1_OR,Alt1,Alt2,Alt3"
group (0x100+0x10)++0x07
line.long 0x00 "GPIO1_TSRL,GPIO1 Three-State Select Register Low"
bitfld.long 0x00 30.--31. " PIN0  ,GPIO1 Three-State Control Source PIN0" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 28.--29. "  PIN1  ,GPIO1 Three-State Control Source PIN1" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 26.--27. "  PIN2  ,GPIO1 Three-State Control Source PIN2" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 24.--25. "  PIN3  ,GPIO1 Three-State Control Source PIN3" "GPIO1_TCR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x00 22.--23. " PIN4  ,GPIO1 Three-State Control Source PIN4" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 20.--21. "  PIN5  ,GPIO1 Three-State Control Source PIN5" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 18.--19. "  PIN6  ,GPIO1 Three-State Control Source PIN6" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 16.--17. "  PIN7  ,GPIO1 Three-State Control Source PIN7" "GPIO1_TCR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x00 14.--15. " PIN8  ,GPIO1 Three-State Control Source PIN8" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 12.--13. "  PIN9  ,GPIO1 Three-State Control Source PIN9" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 10.--11. "  PIN10 ,GPIO1 Three-State Control Source PIN10" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 8.--9. "  PIN11 ,GPIO1 Three-State Control Source PIN11" "GPIO1_TCR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x00 6.--7. " PIN12 ,GPIO1 Three-State Control Source PIN12" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 4.--5. "  PIN13 ,GPIO1 Three-State Control Source PIN13" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 2.--3. "  PIN14 ,GPIO1 Three-State Control Source PIN14" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 0.--1. "  PIN15 ,GPIO1 Three-State Control Source PIN15" "GPIO1_TCR,Alt1,Alt2,Alt3"
line.long 0x04 "GPIO1_TSRH,GPIO1 Three-State Select Register High"
bitfld.long 0x04 30.--31. " PIN16 ,GPIO1 Three-State Control Source PIN16" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 28.--29. "  PIN17 ,GPIO1 Three-State Control Source PIN17" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 26.--27. "  PIN18 ,GPIO1 Three-State Control Source PIN18" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 24.--25. "  PIN19 ,GPIO1 Three-State Control Source PIN19" "GPIO1_TCR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x04 22.--23. " PIN20 ,GPIO1 Three-State Control Source PIN20" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 20.--21. "  PIN21 ,GPIO1 Three-State Control Source PIN21" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 18.--19. "  PIN22 ,GPIO1 Three-State Control Source PIN22" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 16.--17. "  PIN23 ,GPIO1 Three-State Control Source PIN23" "GPIO1_TCR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x04 14.--15. " PIN24 ,GPIO1 Three-State Control Source PIN24" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 12.--13. "  PIN25 ,GPIO1 Three-State Control Source PIN25" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 10.--11. "  PIN26 ,GPIO1 Three-State Control Source PIN26" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 8.--9. "  PIN27 ,GPIO1 Three-State Control Source PIN27" "GPIO1_TCR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x04 6.--7. " PIN28 ,GPIO1 Three-State Control Source PIN28" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 4.--5. "  PIN29 ,GPIO1 Three-State Control Source PIN29" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 2.--3. "  PIN30 ,GPIO1 Three-State Control Source PIN30" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 0.--1. "  PIN31 ,GPIO1 Three-State Control Source PIN31" "GPIO1_TCR,Alt1,Alt2,Alt3"
group (0x100+0x18)++0x03
line.long 0x00 "GPIO1_ODR,GPIO1 Open Drain Register"
bitfld.long 0x00 31. " PIN0  ,GPIO1 Open Drain PIN0" "-,Enabled"
bitfld.long 0x00 30. "     PIN1  ,GPIO1 Open Drain PIN1" "-,Enabled"
bitfld.long 0x00 29. "     PIN2  ,GPIO1 Open Drain PIN2" "-,Enabled"
bitfld.long 0x00 28. "     PIN3  ,GPIO1 Open Drain PIN3" "-,Enabled"
textline "                     "
bitfld.long 0x00 27. " PIN4  ,GPIO1 Open Drain PIN4" "-,Enabled"
bitfld.long 0x00 26. "     PIN5  ,GPIO1 Open Drain PIN5" "-,Enabled"
bitfld.long 0x00 25. "     PIN6  ,GPIO1 Open Drain PIN6" "-,Enabled"
bitfld.long 0x00 24. "     PIN7  ,GPIO1 Open Drain PIN7" "-,Enabled"
textline "                     "
bitfld.long 0x00 23. " PIN8  ,GPIO1 Open Drain PIN8" "-,Enabled"
bitfld.long 0x00 22. "     PIN9  ,GPIO1 Open Drain PIN9" "-,Enabled"
bitfld.long 0x00 21. "     PIN10 ,GPIO1 Open Drain PIN10" "-,Enabled"
bitfld.long 0x00 20. "     PIN11 ,GPIO1 Open Drain PIN11" "-,Enabled"
textline "                     "
bitfld.long 0x00 19. " PIN12 ,GPIO1 Open Drain PIN12" "-,Enabled"
bitfld.long 0x00 18. "     PIN13 ,GPIO1 Open Drain PIN13" "-,Enabled"
bitfld.long 0x00 17. "     PIN14 ,GPIO1 Open Drain PIN14" "-,Enabled"
bitfld.long 0x00 16. "     PIN15 ,GPIO1 Open Drain PIN15" "-,Enabled"
textline "                     "
bitfld.long 0x00 15. " PIN16 ,GPIO1 Open Drain PIN16" "-,Enabled"
bitfld.long 0x00 14. "     PIN17 ,GPIO1 Open Drain PIN17" "-,Enabled"
bitfld.long 0x00 13. "     PIN18 ,GPIO1 Open Drain PIN18" "-,Enabled"
bitfld.long 0x00 12. "     PIN19 ,GPIO1 Open Drain PIN19" "-,Enabled"
textline "                     "
bitfld.long 0x00 11. " PIN20 ,GPIO1 Open Drain PIN20" "-,Enabled"
bitfld.long 0x00 10. "     PIN21 ,GPIO1 Open Drain PIN21" "-,Enabled"
bitfld.long 0x00 9. "     PIN22 ,GPIO1 Open Drain PIN22" "-,Enabled"
bitfld.long 0x00 8. "     PIN23 ,GPIO1 Open Drain PIN23" "-,Enabled"
textline "                     "
bitfld.long 0x00 7. " PIN24 ,GPIO1 Open Drain PIN24" "-,Enabled"
bitfld.long 0x00 6. "     PIN25 ,GPIO1 Open Drain PIN25" "-,Enabled"
bitfld.long 0x00 5. "     PIN26 ,GPIO1 Open Drain PIN26" "-,Enabled"
bitfld.long 0x00 4. "     PIN27 ,GPIO1 Open Drain PIN27" "-,Enabled"
textline "                     "
bitfld.long 0x00 3. " PIN28 ,GPIO1 Open Drain PIN28" "-,Enabled"
bitfld.long 0x00 2. "     PIN29 ,GPIO1 Open Drain PIN29" "-,Enabled"
bitfld.long 0x00 1. "     PIN30 ,GPIO1 Open Drain PIN30" "-,Enabled"
bitfld.long 0x00 0. "     PIN31 ,GPIO1 Open Drain PIN31" "-,Enabled"
rgroup (0x100+0x1c)++0x03
line.long 0x00 "GPIO1_IR,GPIO1 Input Register"
bitfld.long 0x00 31. " PIN0  ,GPIO1 Input PIN0" "Low,High"
bitfld.long 0x00 30. "        PIN1  ,GPIO1 Input PIN1" "Low,High"
bitfld.long 0x00 29. "        PIN2  ,GPIO1 Input PIN2" "Low,High"
bitfld.long 0x00 28. "        PIN3  ,GPIO1 Input PIN3" "Low,High"
textline "                     "
bitfld.long 0x00 27. " PIN4  ,GPIO1 Input PIN4" "Low,High"
bitfld.long 0x00 26. "        PIN5  ,GPIO1 Input PIN5" "Low,High"
bitfld.long 0x00 25. "        PIN6  ,GPIO1 Input PIN6" "Low,High"
bitfld.long 0x00 24. "        PIN7  ,GPIO1 Input PIN7" "Low,High"
textline "                     "
bitfld.long 0x00 23. " PIN8  ,GPIO1 Input PIN8" "Low,High"
bitfld.long 0x00 22. "        PIN9  ,GPIO1 Input PIN9" "Low,High"
bitfld.long 0x00 21. "        PIN10 ,GPIO1 Input PIN10" "Low,High"
bitfld.long 0x00 20. "        PIN11 ,GPIO1 Input PIN11" "Low,High"
textline "                     "
bitfld.long 0x00 19. " PIN12 ,GPIO1 Input PIN12" "Low,High"
bitfld.long 0x00 18. "        PIN13 ,GPIO1 Input PIN13" "Low,High"
bitfld.long 0x00 17. "        PIN14 ,GPIO1 Input PIN14" "Low,High"
bitfld.long 0x00 16. "        PIN15 ,GPIO1 Input PIN15" "Low,High"
textline "                     "
bitfld.long 0x00 15. " PIN16 ,GPIO1 Input PIN16" "Low,High"
bitfld.long 0x00 14. "        PIN17 ,GPIO1 Input PIN17" "Low,High"
bitfld.long 0x00 13. "        PIN18 ,GPIO1 Input PIN18" "Low,High"
bitfld.long 0x00 12. "        PIN19 ,GPIO1 Input PIN19" "Low,High"
textline "                     "
bitfld.long 0x00 11. " PIN20 ,GPIO1 Input PIN20" "Low,High"
bitfld.long 0x00 10. "        PIN21 ,GPIO1 Input PIN21" "Low,High"
bitfld.long 0x00 9. "        PIN22 ,GPIO1 Input PIN22" "Low,High"
bitfld.long 0x00 8. "        PIN23 ,GPIO1 Input PIN23" "Low,High"
textline "                     "
bitfld.long 0x00 7. " PIN24 ,GPIO1 Input PIN24" "Low,High"
bitfld.long 0x00 6. "        PIN25 ,GPIO1 Input PIN25" "Low,High"
bitfld.long 0x00 5. "        PIN26 ,GPIO1 Input PIN26" "Low,High"
bitfld.long 0x00 4. "        PIN27 ,GPIO1 Input PIN27" "Low,High"
textline "                     "
bitfld.long 0x00 3. " PIN28 ,GPIO1 Input PIN28" "Low,High"
bitfld.long 0x00 2. "        PIN29 ,GPIO1 Input PIN29" "Low,High"
bitfld.long 0x00 1. "        PIN30 ,GPIO1 Input PIN30" "Low,High"
bitfld.long 0x00 0. "        PIN31 ,GPIO1 Input PIN31" "Low,High"
group (0x100+0x20)++0x03
line.long 0x00 "GPIO1_RR1,GPIO1 Receive Register 1"
bitfld.long 0x00 31. " PIN0  ,GPIO1 Receive Alt1 PIN0" "Low,High"
bitfld.long 0x00 30. "        PIN1  ,GPIO1 Receive Alt1 PIN1" "Low,High"
bitfld.long 0x00 29. "        PIN2  ,GPIO1 Receive Alt1 PIN2" "Low,High"
bitfld.long 0x00 28. "        PIN3  ,GPIO1 Receive Alt1 PIN3" "Low,High"
textline "                     "
bitfld.long 0x00 27. " PIN4  ,GPIO1 Receive Alt1 PIN4" "Low,High"
bitfld.long 0x00 26. "        PIN5  ,GPIO1 Receive Alt1 PIN5" "Low,High"
bitfld.long 0x00 25. "        PIN6  ,GPIO1 Receive Alt1 PIN6" "Low,High"
bitfld.long 0x00 24. "        PIN7  ,GPIO1 Receive Alt1 PIN7" "Low,High"
textline "                     "
bitfld.long 0x00 23. " PIN8  ,GPIO1 Receive Alt1 PIN8" "Low,High"
bitfld.long 0x00 22. "        PIN9  ,GPIO1 Receive Alt1 PIN9" "Low,High"
bitfld.long 0x00 21. "        PIN10 ,GPIO1 Receive Alt1 PIN10" "Low,High"
bitfld.long 0x00 20. "        PIN11 ,GPIO1 Receive Alt1 PIN11" "Low,High"
textline "                     "
bitfld.long 0x00 19. " PIN12 ,GPIO1 Receive Alt1 PIN12" "Low,High"
bitfld.long 0x00 18. "        PIN13 ,GPIO1 Receive Alt1 PIN13" "Low,High"
bitfld.long 0x00 17. "        PIN14 ,GPIO1 Receive Alt1 PIN14" "Low,High"
bitfld.long 0x00 16. "        PIN15 ,GPIO1 Receive Alt1 PIN15" "Low,High"
textline "                     "
bitfld.long 0x00 15. " PIN16 ,GPIO1 Receive Alt1 PIN16" "Low,High"
bitfld.long 0x00 14. "        PIN17 ,GPIO1 Receive Alt1 PIN17" "Low,High"
bitfld.long 0x00 13. "        PIN18 ,GPIO1 Receive Alt1 PIN18" "Low,High"
bitfld.long 0x00 12. "        PIN19 ,GPIO1 Receive Alt1 PIN19" "Low,High"
textline "                     "
bitfld.long 0x00 11. " PIN20 ,GPIO1 Receive Alt1 PIN20" "Low,High"
bitfld.long 0x00 10. "        PIN21 ,GPIO1 Receive Alt1 PIN21" "Low,High"
bitfld.long 0x00 9. "        PIN22 ,GPIO1 Receive Alt1 PIN22" "Low,High"
bitfld.long 0x00 8. "        PIN23 ,GPIO1 Receive Alt1 PIN23" "Low,High"
textline "                     "
bitfld.long 0x00 7. " PIN24 ,GPIO1 Receive Alt1 PIN24" "Low,High"
bitfld.long 0x00 6. "        PIN25 ,GPIO1 Receive Alt1 PIN25" "Low,High"
bitfld.long 0x00 5. "        PIN26 ,GPIO1 Receive Alt1 PIN26" "Low,High"
bitfld.long 0x00 4. "        PIN27 ,GPIO1 Receive Alt1 PIN27" "Low,High"
textline "                     "
bitfld.long 0x00 3. " PIN28 ,GPIO1 Receive Alt1 PIN28" "Low,High"
bitfld.long 0x00 2. "        PIN29 ,GPIO1 Receive Alt1 PIN29" "Low,High"
bitfld.long 0x00 1. "        PIN30 ,GPIO1 Receive Alt1 PIN30" "Low,High"
bitfld.long 0x00 0. "        PIN31 ,GPIO1 Receive Alt1 PIN31" "Low,High"
group (0x100+0x24)++0x03
line.long 0x00 "GPIO1_RR2,GPIO1 Receive Register 2"
bitfld.long 0x00 31. " PIN0  ,GPIO1 Receive Alt2 PIN0" "Low,High"
bitfld.long 0x00 30. "        PIN1  ,GPIO1 Receive Alt2 PIN1" "Low,High"
bitfld.long 0x00 29. "        PIN2  ,GPIO1 Receive Alt2 PIN2" "Low,High"
bitfld.long 0x00 28. "        PIN3  ,GPIO1 Receive Alt2 PIN3" "Low,High"
textline "                     "
bitfld.long 0x00 27. " PIN4  ,GPIO1 Receive Alt2 PIN4" "Low,High"
bitfld.long 0x00 26. "        PIN5  ,GPIO1 Receive Alt2 PIN5" "Low,High"
bitfld.long 0x00 25. "        PIN6  ,GPIO1 Receive Alt2 PIN6" "Low,High"
bitfld.long 0x00 24. "        PIN7  ,GPIO1 Receive Alt2 PIN7" "Low,High"
textline "                     "
bitfld.long 0x00 23. " PIN8  ,GPIO1 Receive Alt2 PIN8" "Low,High"
bitfld.long 0x00 22. "        PIN9  ,GPIO1 Receive Alt2 PIN9" "Low,High"
bitfld.long 0x00 21. "        PIN10 ,GPIO1 Receive Alt2 PIN10" "Low,High"
bitfld.long 0x00 20. "        PIN11 ,GPIO1 Receive Alt2 PIN11" "Low,High"
textline "                     "
bitfld.long 0x00 19. " PIN12 ,GPIO1 Receive Alt2 PIN12" "Low,High"
bitfld.long 0x00 18. "        PIN13 ,GPIO1 Receive Alt2 PIN13" "Low,High"
bitfld.long 0x00 17. "        PIN14 ,GPIO1 Receive Alt2 PIN14" "Low,High"
bitfld.long 0x00 16. "        PIN15 ,GPIO1 Receive Alt2 PIN15" "Low,High"
textline "                     "
bitfld.long 0x00 15. " PIN16 ,GPIO1 Receive Alt2 PIN16" "Low,High"
bitfld.long 0x00 14. "        PIN17 ,GPIO1 Receive Alt2 PIN17" "Low,High"
bitfld.long 0x00 13. "        PIN18 ,GPIO1 Receive Alt2 PIN18" "Low,High"
bitfld.long 0x00 12. "        PIN19 ,GPIO1 Receive Alt2 PIN19" "Low,High"
textline "                     "
bitfld.long 0x00 11. " PIN20 ,GPIO1 Receive Alt2 PIN20" "Low,High"
bitfld.long 0x00 10. "        PIN21 ,GPIO1 Receive Alt2 PIN21" "Low,High"
bitfld.long 0x00 9. "        PIN22 ,GPIO1 Receive Alt2 PIN22" "Low,High"
bitfld.long 0x00 8. "        PIN23 ,GPIO1 Receive Alt2 PIN23" "Low,High"
textline "                     "
bitfld.long 0x00 7. " PIN24 ,GPIO1 Receive Alt2 PIN24" "Low,High"
bitfld.long 0x00 6. "        PIN25 ,GPIO1 Receive Alt2 PIN25" "Low,High"
bitfld.long 0x00 5. "        PIN26 ,GPIO1 Receive Alt2 PIN26" "Low,High"
bitfld.long 0x00 4. "        PIN27 ,GPIO1 Receive Alt2 PIN27" "Low,High"
textline "                     "
bitfld.long 0x00 3. " PIN28 ,GPIO1 Receive Alt2 PIN28" "Low,High"
bitfld.long 0x00 2. "        PIN29 ,GPIO1 Receive Alt2 PIN29" "Low,High"
bitfld.long 0x00 1. "        PIN30 ,GPIO1 Receive Alt2 PIN30" "Low,High"
bitfld.long 0x00 0. "        PIN31 ,GPIO1 Receive Alt2 PIN31" "Low,High"
group (0x100+0x28)++0x03
line.long 0x00 "GPIO1_RR3,GPIO1 Receive Register 3"
bitfld.long 0x00 31. " PIN0  ,GPIO1 Receive Alt3 PIN0" "Low,High"
bitfld.long 0x00 30. "        PIN1  ,GPIO1 Receive Alt3 PIN1" "Low,High"
bitfld.long 0x00 29. "        PIN2  ,GPIO1 Receive Alt3 PIN2" "Low,High"
bitfld.long 0x00 28. "        PIN3  ,GPIO1 Receive Alt3 PIN3" "Low,High"
textline "                     "
bitfld.long 0x00 27. " PIN4  ,GPIO1 Receive Alt3 PIN4" "Low,High"
bitfld.long 0x00 26. "        PIN5  ,GPIO1 Receive Alt3 PIN5" "Low,High"
bitfld.long 0x00 25. "        PIN6  ,GPIO1 Receive Alt3 PIN6" "Low,High"
bitfld.long 0x00 24. "        PIN7  ,GPIO1 Receive Alt3 PIN7" "Low,High"
textline "                     "
bitfld.long 0x00 23. " PIN8  ,GPIO1 Receive Alt3 PIN8" "Low,High"
bitfld.long 0x00 22. "        PIN9  ,GPIO1 Receive Alt3 PIN9" "Low,High"
bitfld.long 0x00 21. "        PIN10 ,GPIO1 Receive Alt3 PIN10" "Low,High"
bitfld.long 0x00 20. "        PIN11 ,GPIO1 Receive Alt3 PIN11" "Low,High"
textline "                     "
bitfld.long 0x00 19. " PIN12 ,GPIO1 Receive Alt3 PIN12" "Low,High"
bitfld.long 0x00 18. "        PIN13 ,GPIO1 Receive Alt3 PIN13" "Low,High"
bitfld.long 0x00 17. "        PIN14 ,GPIO1 Receive Alt3 PIN14" "Low,High"
bitfld.long 0x00 16. "        PIN15 ,GPIO1 Receive Alt3 PIN15" "Low,High"
textline "                     "
bitfld.long 0x00 15. " PIN16 ,GPIO1 Receive Alt3 PIN16" "Low,High"
bitfld.long 0x00 14. "        PIN17 ,GPIO1 Receive Alt3 PIN17" "Low,High"
bitfld.long 0x00 13. "        PIN18 ,GPIO1 Receive Alt3 PIN18" "Low,High"
bitfld.long 0x00 12. "        PIN19 ,GPIO1 Receive Alt3 PIN19" "Low,High"
textline "                     "
bitfld.long 0x00 11. " PIN20 ,GPIO1 Receive Alt3 PIN20" "Low,High"
bitfld.long 0x00 10. "        PIN21 ,GPIO1 Receive Alt3 PIN21" "Low,High"
bitfld.long 0x00 9. "        PIN22 ,GPIO1 Receive Alt3 PIN22" "Low,High"
bitfld.long 0x00 8. "        PIN23 ,GPIO1 Receive Alt3 PIN23" "Low,High"
textline "                     "
bitfld.long 0x00 7. " PIN24 ,GPIO1 Receive Alt3 PIN24" "Low,High"
bitfld.long 0x00 6. "        PIN25 ,GPIO1 Receive Alt3 PIN25" "Low,High"
bitfld.long 0x00 5. "        PIN26 ,GPIO1 Receive Alt3 PIN26" "Low,High"
bitfld.long 0x00 4. "        PIN27 ,GPIO1 Receive Alt3 PIN27" "Low,High"
textline "                     "
bitfld.long 0x00 3. " PIN28 ,GPIO1 Receive Alt3 PIN28" "Low,High"
bitfld.long 0x00 2. "        PIN29 ,GPIO1 Receive Alt3 PIN29" "Low,High"
bitfld.long 0x00 1. "        PIN30 ,GPIO1 Receive Alt3 PIN30" "Low,High"
bitfld.long 0x00 0. "        PIN31 ,GPIO1 Receive Alt3 PIN31" "Low,High"
group (0x100+0x30)++0x07
line.long 0x00 "GPIO1_ISR1L,GPIO1 Input Select 1 Register Low"
bitfld.long 0x00 30.--31. " PIN0  ,GPIO1 Input Select 1 PIN0" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 28.--29. "  PIN1  ,GPIO1 Input Select 1 PIN1" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 26.--27. "  PIN2  ,GPIO1 Input Select 1 PIN2" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 24.--25. "  PIN3  ,GPIO1 Input Select 1 PIN3" "GPIO1_RR1,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 22.--23. " PIN4  ,GPIO1 Input Select 1 PIN4" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 20.--21. "  PIN5  ,GPIO1 Input Select 1 PIN5" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 18.--19. "  PIN6  ,GPIO1 Input Select 1 PIN6" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 16.--17. "  PIN7  ,GPIO1 Input Select 1 PIN7" "GPIO1_RR1,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 14.--15. " PIN8  ,GPIO1 Input Select 1 PIN8" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 12.--13. "  PIN9  ,GPIO1 Input Select 1 PIN9" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 10.--11. "  PIN10 ,GPIO1 Input Select 1 PIN10" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 8.--9. "  PIN11 ,GPIO1 Input Select 1 PIN11" "GPIO1_RR1,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 6.--7. " PIN12 ,GPIO1 Input Select 1 PIN12" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 4.--5. "  PIN13 ,GPIO1 Input Select 1 PIN13" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 2.--3. "  PIN14 ,GPIO1 Input Select 1 PIN14" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 0.--1. "  PIN15 ,GPIO1 Input Select 1 PIN15" "GPIO1_RR1,Pin input,Hold input,Reserved"
line.long 0x04 "GPIO1_ISR1H,GPIO1 Input Select 1 Register High"
bitfld.long 0x04 30.--31. " PIN16 ,GPIO1 Input Select 1 PIN16" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 28.--29. "  PIN17 ,GPIO1 Input Select 1 PIN17" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 26.--27. "  PIN18 ,GPIO1 Input Select 1 PIN18" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 24.--25. "  PIN19 ,GPIO1 Input Select 1 PIN19" "GPIO1_RR1,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 22.--23. " PIN20 ,GPIO1 Input Select 1 PIN20" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 20.--21. "  PIN21 ,GPIO1 Input Select 1 PIN21" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 18.--19. "  PIN22 ,GPIO1 Input Select 1 PIN22" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 16.--17. "  PIN23 ,GPIO1 Input Select 1 PIN23" "GPIO1_RR1,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 14.--15. " PIN24 ,GPIO1 Input Select 1 PIN24" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 12.--13. "  PIN25 ,GPIO1 Input Select 1 PIN25" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 10.--11. "  PIN26 ,GPIO1 Input Select 1 PIN26" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 8.--9. "  PIN27 ,GPIO1 Input Select 1 PIN27" "GPIO1_RR1,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 6.--7. " PIN28 ,GPIO1 Input Select 1 PIN28" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 4.--5. "  PIN29 ,GPIO1 Input Select 1 PIN29" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 2.--3. "  PIN30 ,GPIO1 Input Select 1 PIN30" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 0.--1. "  PIN31 ,GPIO1 Input Select 1 PIN31" "GPIO1_RR1,Pin input,Hold input,Reserved"
group (0x100+0x38)++0x07
line.long 0x00 "GPIO1_ISR2L,GPIO1 Input Select 2 Register Low"
bitfld.long 0x00 30.--31. " PIN0  ,GPIO1 Input Select 2 PIN0" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 28.--29. "  PIN1  ,GPIO1 Input Select 2 PIN1" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 26.--27. "  PIN2  ,GPIO1 Input Select 2 PIN2" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 24.--25. "  PIN3  ,GPIO1 Input Select 2 PIN3" "GPIO1_RR2,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 22.--23. " PIN4  ,GPIO1 Input Select 2 PIN4" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 20.--21. "  PIN5  ,GPIO1 Input Select 2 PIN5" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 18.--19. "  PIN6  ,GPIO1 Input Select 2 PIN6" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 16.--17. "  PIN7  ,GPIO1 Input Select 2 PIN7" "GPIO1_RR2,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 14.--15. " PIN8  ,GPIO1 Input Select 2 PIN8" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 12.--13. "  PIN9  ,GPIO1 Input Select 2 PIN9" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 10.--11. "  PIN10 ,GPIO1 Input Select 2 PIN10" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 8.--9. "  PIN11 ,GPIO1 Input Select 2 PIN11" "GPIO1_RR2,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 6.--7. " PIN12 ,GPIO1 Input Select 2 PIN12" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 4.--5. "  PIN13 ,GPIO1 Input Select 2 PIN13" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 2.--3. "  PIN14 ,GPIO1 Input Select 2 PIN14" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 0.--1. "  PIN15 ,GPIO1 Input Select 2 PIN15" "GPIO1_RR2,Pin input,Hold input,Reserved"
line.long 0x04 "GPIO1_ISR2H,GPIO1 Input Select 2 Register High"
bitfld.long 0x04 30.--31. " PIN16 ,GPIO1 Input Select 2 PIN16" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 28.--29. "  PIN17 ,GPIO1 Input Select 2 PIN17" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 26.--27. "  PIN18 ,GPIO1 Input Select 2 PIN18" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 24.--25. "  PIN19 ,GPIO1 Input Select 2 PIN19" "GPIO1_RR2,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 22.--23. " PIN20 ,GPIO1 Input Select 2 PIN20" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 20.--21. "  PIN21 ,GPIO1 Input Select 2 PIN21" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 18.--19. "  PIN22 ,GPIO1 Input Select 2 PIN22" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 16.--17. "  PIN23 ,GPIO1 Input Select 2 PIN23" "GPIO1_RR2,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 14.--15. " PIN24 ,GPIO1 Input Select 2 PIN24" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 12.--13. "  PIN25 ,GPIO1 Input Select 2 PIN25" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 10.--11. "  PIN26 ,GPIO1 Input Select 2 PIN26" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 8.--9. "  PIN27 ,GPIO1 Input Select 2 PIN27" "GPIO1_RR2,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 6.--7. " PIN28 ,GPIO1 Input Select 2 PIN28" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 4.--5. "  PIN29 ,GPIO1 Input Select 2 PIN29" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 2.--3. "  PIN30 ,GPIO1 Input Select 2 PIN30" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 0.--1. "  PIN31 ,GPIO1 Input Select 2 PIN31" "GPIO1_RR2,Pin input,Hold input,Reserved"
group (0x100+0x40)++0x07
line.long 0x00 "GPIO1_ISR3L,GPIO1 Input Select 3 Register Low"
bitfld.long 0x00 30.--31. " PIN0  ,GPIO1 Input Select 3 PIN0" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 28.--29. "  PIN1  ,GPIO1 Input Select 3 PIN1" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 26.--27. "  PIN2  ,GPIO1 Input Select 3 PIN2" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 24.--25. "  PIN3  ,GPIO1 Input Select 3 PIN3" "GPIO1_RR3,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 22.--23. " PIN4  ,GPIO1 Input Select 3 PIN4" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 20.--21. "  PIN5  ,GPIO1 Input Select 3 PIN5" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 18.--19. "  PIN6  ,GPIO1 Input Select 3 PIN6" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 16.--17. "  PIN7  ,GPIO1 Input Select 3 PIN7" "GPIO1_RR3,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 14.--15. " PIN8  ,GPIO1 Input Select 3 PIN8" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 12.--13. "  PIN9  ,GPIO1 Input Select 3 PIN9" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 10.--11. "  PIN10 ,GPIO1 Input Select 3 PIN10" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 8.--9. "  PIN11 ,GPIO1 Input Select 3 PIN11" "GPIO1_RR3,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 6.--7. " PIN12 ,GPIO1 Input Select 3 PIN12" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 4.--5. "  PIN13 ,GPIO1 Input Select 3 PIN13" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 2.--3. "  PIN14 ,GPIO1 Input Select 3 PIN14" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 0.--1. "  PIN15 ,GPIO1 Input Select 3 PIN15" "GPIO1_RR3,Pin input,Hold input,Reserved"
line.long 0x04 "GPIO1_ISR3H,GPIO1 Input Select 3 Register High"
bitfld.long 0x04 30.--31. " PIN16 ,GPIO1 Input Select 3 PIN16" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 28.--29. "  PIN17 ,GPIO1 Input Select 3 PIN17" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 26.--27. "  PIN18 ,GPIO1 Input Select 3 PIN18" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 24.--25. "  PIN19 ,GPIO1 Input Select 3 PIN19" "GPIO1_RR3,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 22.--23. " PIN20 ,GPIO1 Input Select 3 PIN20" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 20.--21. "  PIN21 ,GPIO1 Input Select 3 PIN21" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 18.--19. "  PIN22 ,GPIO1 Input Select 3 PIN22" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 16.--17. "  PIN23 ,GPIO1 Input Select 3 PIN23" "GPIO1_RR3,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 14.--15. " PIN24 ,GPIO1 Input Select 3 PIN24" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 12.--13. "  PIN25 ,GPIO1 Input Select 3 PIN25" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 10.--11. "  PIN26 ,GPIO1 Input Select 3 PIN26" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 8.--9. "  PIN27 ,GPIO1 Input Select 3 PIN27" "GPIO1_RR3,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 6.--7. " PIN28 ,GPIO1 Input Select 3 PIN28" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 4.--5. "  PIN29 ,GPIO1 Input Select 3 PIN29" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 2.--3. "  PIN30 ,GPIO1 Input Select 3 PIN30" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 0.--1. "  PIN31 ,GPIO1 Input Select 3 PIN31" "GPIO1_RR3,Pin input,Hold input,Reserved"
tree.end
width 0x0B
elif ((cpu()=="PPC440EPX")||(cpu()=="PPC440GRX"))
base ANC:0x1:0xEF600B00
;GPIO Operations
width 12.
tree "GPIO0"
group 0x0++0x03
line.long 0x00 "GPIO0_OR,GPIO0 Output Register"
bitfld.long 0x00 31. " PIN0  ,GPIO0 Output PIN0" "Low,High"
bitfld.long 0x00 30. "        PIN1  ,GPIO0 Output PIN1" "Low,High"
bitfld.long 0x00 29. "        PIN2  ,GPIO0 Output PIN2" "Low,High"
bitfld.long 0x00 28. "        PIN3  ,GPIO0 Output PIN3" "Low,High"
textline "                     "
bitfld.long 0x00 27. " PIN4  ,GPIO0 Output PIN4" "Low,High"
bitfld.long 0x00 26. "        PIN5  ,GPIO0 Output PIN5" "Low,High"
bitfld.long 0x00 25. "        PIN6  ,GPIO0 Output PIN6" "Low,High"
bitfld.long 0x00 24. "        PIN7  ,GPIO0 Output PIN7" "Low,High"
textline "                     "
bitfld.long 0x00 23. " PIN8  ,GPIO0 Output PIN8" "Low,High"
bitfld.long 0x00 22. "        PIN9  ,GPIO0 Output PIN9" "Low,High"
bitfld.long 0x00 21. "        PIN10 ,GPIO0 Output PIN10" "Low,High"
bitfld.long 0x00 20. "        PIN11 ,GPIO0 Output PIN11" "Low,High"
textline "                     "
bitfld.long 0x00 19. " PIN12 ,GPIO0 Output PIN12" "Low,High"
bitfld.long 0x00 18. "        PIN13 ,GPIO0 Output PIN13" "Low,High"
bitfld.long 0x00 17. "        PIN14 ,GPIO0 Output PIN14" "Low,High"
bitfld.long 0x00 16. "        PIN15 ,GPIO0 Output PIN15" "Low,High"
textline "                     "
bitfld.long 0x00 15. " PIN16 ,GPIO0 Output PIN16" "Low,High"
bitfld.long 0x00 14. "        PIN17 ,GPIO0 Output PIN17" "Low,High"
bitfld.long 0x00 13. "        PIN18 ,GPIO0 Output PIN18" "Low,High"
bitfld.long 0x00 12. "        PIN19 ,GPIO0 Output PIN19" "Low,High"
textline "                     "
bitfld.long 0x00 11. " PIN20 ,GPIO0 Output PIN20" "Low,High"
bitfld.long 0x00 10. "        PIN21 ,GPIO0 Output PIN21" "Low,High"
bitfld.long 0x00 9. "        PIN22 ,GPIO0 Output PIN22" "Low,High"
bitfld.long 0x00 8. "        PIN23 ,GPIO0 Output PIN23" "Low,High"
textline "                     "
bitfld.long 0x00 7. " PIN24 ,GPIO0 Output PIN24" "Low,High"
bitfld.long 0x00 6. "        PIN25 ,GPIO0 Output PIN25" "Low,High"
bitfld.long 0x00 5. "        PIN26 ,GPIO0 Output PIN26" "Low,High"
bitfld.long 0x00 4. "        PIN27 ,GPIO0 Output PIN27" "Low,High"
textline "                     "
bitfld.long 0x00 3. " PIN28 ,GPIO0 Output PIN28" "Low,High"
bitfld.long 0x00 2. "        PIN29 ,GPIO0 Output PIN29" "Low,High"
bitfld.long 0x00 1. "        PIN30 ,GPIO0 Output PIN30" "Low,High"
bitfld.long 0x00 0. "        PIN31 ,GPIO0 Output PIN31" "Low,High"
group (0x0+0x04)++0x03
line.long 0x00 "GPIO0_TCR,GPIO0 Three-State Control Register"
bitfld.long 0x00 31. " PIN0  ,GPIO0 Three-State Control PIN0" "Tri-state,Output"
bitfld.long 0x00 30. "   PIN1  ,GPIO0 Three-State Control PIN1" "Tri-state,Output"
bitfld.long 0x00 29. "   PIN2  ,GPIO0 Three-State Control PIN2" "Tri-state,Output"
bitfld.long 0x00 28. "   PIN3  ,GPIO0 Three-State Control PIN3" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 27. " PIN4  ,GPIO0 Three-State Control PIN4" "Tri-state,Output"
bitfld.long 0x00 26. "   PIN5  ,GPIO0 Three-State Control PIN5" "Tri-state,Output"
bitfld.long 0x00 25. "   PIN6  ,GPIO0 Three-State Control PIN6" "Tri-state,Output"
bitfld.long 0x00 24. "   PIN7  ,GPIO0 Three-State Control PIN7" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 23. " PIN8  ,GPIO0 Three-State Control PIN8" "Tri-state,Output"
bitfld.long 0x00 22. "   PIN9  ,GPIO0 Three-State Control PIN9" "Tri-state,Output"
bitfld.long 0x00 21. "   PIN10 ,GPIO0 Three-State Control PIN10" "Tri-state,Output"
bitfld.long 0x00 20. "   PIN11 ,GPIO0 Three-State Control PIN11" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 19. " PIN12 ,GPIO0 Three-State Control PIN12" "Tri-state,Output"
bitfld.long 0x00 18. "   PIN13 ,GPIO0 Three-State Control PIN13" "Tri-state,Output"
bitfld.long 0x00 17. "   PIN14 ,GPIO0 Three-State Control PIN14" "Tri-state,Output"
bitfld.long 0x00 16. "   PIN15 ,GPIO0 Three-State Control PIN15" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 15. " PIN16 ,GPIO0 Three-State Control PIN16" "Tri-state,Output"
bitfld.long 0x00 14. "   PIN17 ,GPIO0 Three-State Control PIN17" "Tri-state,Output"
bitfld.long 0x00 13. "   PIN18 ,GPIO0 Three-State Control PIN18" "Tri-state,Output"
bitfld.long 0x00 12. "   PIN19 ,GPIO0 Three-State Control PIN19" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 11. " PIN20 ,GPIO0 Three-State Control PIN20" "Tri-state,Output"
bitfld.long 0x00 10. "   PIN21 ,GPIO0 Three-State Control PIN21" "Tri-state,Output"
bitfld.long 0x00 9. "   PIN22 ,GPIO0 Three-State Control PIN22" "Tri-state,Output"
bitfld.long 0x00 8. "   PIN23 ,GPIO0 Three-State Control PIN23" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 7. " PIN24 ,GPIO0 Three-State Control PIN24" "Tri-state,Output"
bitfld.long 0x00 6. "   PIN25 ,GPIO0 Three-State Control PIN25" "Tri-state,Output"
bitfld.long 0x00 5. "   PIN26 ,GPIO0 Three-State Control PIN26" "Tri-state,Output"
bitfld.long 0x00 4. "   PIN27 ,GPIO0 Three-State Control PIN27" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 3. " PIN28 ,GPIO0 Three-State Control PIN28" "Tri-state,Output"
bitfld.long 0x00 2. "   PIN29 ,GPIO0 Three-State Control PIN29" "Tri-state,Output"
bitfld.long 0x00 1. "   PIN30 ,GPIO0 Three-State Control PIN30" "Tri-state,Output"
bitfld.long 0x00 0. "   PIN31 ,GPIO0 Three-State Control PIN31" "Tri-state,Output"
group (0x0+0x08)++0x07
line.long 0x00 "GPIO0_OSRL,GPIO0 Output Select Low Register"
bitfld.long 0x00 30.--31. " PIN0  ,GPIO0 Output Select PIN0" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 28.--29. "   PIN1  ,GPIO0 Output Select PIN1" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 26.--27. "   PIN2  ,GPIO0 Output Select PIN2" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 24.--25. "   PIN3  ,GPIO0 Output Select PIN3" "GPIO0_OR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x00 22.--23. " PIN4  ,GPIO0 Output Select PIN4" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 20.--21. "   PIN5  ,GPIO0 Output Select PIN5" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 18.--19. "   PIN6  ,GPIO0 Output Select PIN6" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 16.--17. "   PIN7  ,GPIO0 Output Select PIN7" "GPIO0_OR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x00 14.--15. " PIN8  ,GPIO0 Output Select PIN8" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 12.--13. "   PIN9  ,GPIO0 Output Select PIN9" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 10.--11. "   PIN10 ,GPIO0 Output Select PIN10" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 8.--9. "   PIN11 ,GPIO0 Output Select PIN11" "GPIO0_OR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x00 6.--7. " PIN12 ,GPIO0 Output Select PIN12" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 4.--5. "   PIN13 ,GPIO0 Output Select PIN13" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 2.--3. "   PIN14 ,GPIO0 Output Select PIN14" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 0.--1. "   PIN15 ,GPIO0 Output Select PIN15" "GPIO0_OR,Alt1,Alt2,Alt3"
line.long 0x04 "GPIO0_OSRH,GPIO0 Output Select High"
bitfld.long 0x04 30.--31. " PIN16 ,GPIO0 Output Select PIN16" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 28.--29. "   PIN17 ,GPIO0 Output Select PIN17" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 26.--27. "   PIN18 ,GPIO0 Output Select PIN18" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 24.--25. "   PIN19 ,GPIO0 Output Select PIN19" "GPIO0_OR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x04 22.--23. " PIN20 ,GPIO0 Output Select PIN20" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 20.--21. "   PIN21 ,GPIO0 Output Select PIN21" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 18.--19. "   PIN22 ,GPIO0 Output Select PIN22" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 16.--17. "   PIN23 ,GPIO0 Output Select PIN23" "GPIO0_OR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x04 14.--15. " PIN24 ,GPIO0 Output Select PIN24" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 12.--13. "   PIN25 ,GPIO0 Output Select PIN25" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 10.--11. "   PIN26 ,GPIO0 Output Select PIN26" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 8.--9. "   PIN27 ,GPIO0 Output Select PIN27" "GPIO0_OR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x04 6.--7. " PIN28 ,GPIO0 Output Select PIN28" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 4.--5. "   PIN29 ,GPIO0 Output Select PIN29" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 2.--3. "   PIN30 ,GPIO0 Output Select PIN30" "GPIO0_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 0.--1. "   PIN31 ,GPIO0 Output Select PIN31" "GPIO0_OR,Alt1,Alt2,Alt3"
group (0x0+0x10)++0x07
line.long 0x00 "GPIO0_TSRL,GPIO0 Three-State Select Register Low"
bitfld.long 0x00 30.--31. " PIN0  ,GPIO0 Three-State Control Source PIN0" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 28.--29. "  PIN1  ,GPIO0 Three-State Control Source PIN1" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 26.--27. "  PIN2  ,GPIO0 Three-State Control Source PIN2" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 24.--25. "  PIN3  ,GPIO0 Three-State Control Source PIN3" "GPIO0_TCR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x00 22.--23. " PIN4  ,GPIO0 Three-State Control Source PIN4" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 20.--21. "  PIN5  ,GPIO0 Three-State Control Source PIN5" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 18.--19. "  PIN6  ,GPIO0 Three-State Control Source PIN6" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 16.--17. "  PIN7  ,GPIO0 Three-State Control Source PIN7" "GPIO0_TCR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x00 14.--15. " PIN8  ,GPIO0 Three-State Control Source PIN8" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 12.--13. "  PIN9  ,GPIO0 Three-State Control Source PIN9" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 10.--11. "  PIN10 ,GPIO0 Three-State Control Source PIN10" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 8.--9. "  PIN11 ,GPIO0 Three-State Control Source PIN11" "GPIO0_TCR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x00 6.--7. " PIN12 ,GPIO0 Three-State Control Source PIN12" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 4.--5. "  PIN13 ,GPIO0 Three-State Control Source PIN13" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 2.--3. "  PIN14 ,GPIO0 Three-State Control Source PIN14" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 0.--1. "  PIN15 ,GPIO0 Three-State Control Source PIN15" "GPIO0_TCR,Alt1,Alt2,Alt3"
line.long 0x04 "GPIO0_TSRH,GPIO0 Three-State Select Register High"
bitfld.long 0x04 30.--31. " PIN16 ,GPIO0 Three-State Control Source PIN16" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 28.--29. "  PIN17 ,GPIO0 Three-State Control Source PIN17" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 26.--27. "  PIN18 ,GPIO0 Three-State Control Source PIN18" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 24.--25. "  PIN19 ,GPIO0 Three-State Control Source PIN19" "GPIO0_TCR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x04 22.--23. " PIN20 ,GPIO0 Three-State Control Source PIN20" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 20.--21. "  PIN21 ,GPIO0 Three-State Control Source PIN21" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 18.--19. "  PIN22 ,GPIO0 Three-State Control Source PIN22" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 16.--17. "  PIN23 ,GPIO0 Three-State Control Source PIN23" "GPIO0_TCR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x04 14.--15. " PIN24 ,GPIO0 Three-State Control Source PIN24" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 12.--13. "  PIN25 ,GPIO0 Three-State Control Source PIN25" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 10.--11. "  PIN26 ,GPIO0 Three-State Control Source PIN26" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 8.--9. "  PIN27 ,GPIO0 Three-State Control Source PIN27" "GPIO0_TCR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x04 6.--7. " PIN28 ,GPIO0 Three-State Control Source PIN28" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 4.--5. "  PIN29 ,GPIO0 Three-State Control Source PIN29" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 2.--3. "  PIN30 ,GPIO0 Three-State Control Source PIN30" "GPIO0_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 0.--1. "  PIN31 ,GPIO0 Three-State Control Source PIN31" "GPIO0_TCR,Alt1,Alt2,Alt3"
group (0x0+0x18)++0x03
line.long 0x00 "GPIO0_ODR,GPIO0 Open Drain Register"
bitfld.long 0x00 31. " PIN0  ,GPIO0 Open Drain PIN0" "-,Enabled"
bitfld.long 0x00 30. "     PIN1  ,GPIO0 Open Drain PIN1" "-,Enabled"
bitfld.long 0x00 29. "     PIN2  ,GPIO0 Open Drain PIN2" "-,Enabled"
bitfld.long 0x00 28. "     PIN3  ,GPIO0 Open Drain PIN3" "-,Enabled"
textline "                     "
bitfld.long 0x00 27. " PIN4  ,GPIO0 Open Drain PIN4" "-,Enabled"
bitfld.long 0x00 26. "     PIN5  ,GPIO0 Open Drain PIN5" "-,Enabled"
bitfld.long 0x00 25. "     PIN6  ,GPIO0 Open Drain PIN6" "-,Enabled"
bitfld.long 0x00 24. "     PIN7  ,GPIO0 Open Drain PIN7" "-,Enabled"
textline "                     "
bitfld.long 0x00 23. " PIN8  ,GPIO0 Open Drain PIN8" "-,Enabled"
bitfld.long 0x00 22. "     PIN9  ,GPIO0 Open Drain PIN9" "-,Enabled"
bitfld.long 0x00 21. "     PIN10 ,GPIO0 Open Drain PIN10" "-,Enabled"
bitfld.long 0x00 20. "     PIN11 ,GPIO0 Open Drain PIN11" "-,Enabled"
textline "                     "
bitfld.long 0x00 19. " PIN12 ,GPIO0 Open Drain PIN12" "-,Enabled"
bitfld.long 0x00 18. "     PIN13 ,GPIO0 Open Drain PIN13" "-,Enabled"
bitfld.long 0x00 17. "     PIN14 ,GPIO0 Open Drain PIN14" "-,Enabled"
bitfld.long 0x00 16. "     PIN15 ,GPIO0 Open Drain PIN15" "-,Enabled"
textline "                     "
bitfld.long 0x00 15. " PIN16 ,GPIO0 Open Drain PIN16" "-,Enabled"
bitfld.long 0x00 14. "     PIN17 ,GPIO0 Open Drain PIN17" "-,Enabled"
bitfld.long 0x00 13. "     PIN18 ,GPIO0 Open Drain PIN18" "-,Enabled"
bitfld.long 0x00 12. "     PIN19 ,GPIO0 Open Drain PIN19" "-,Enabled"
textline "                     "
bitfld.long 0x00 11. " PIN20 ,GPIO0 Open Drain PIN20" "-,Enabled"
bitfld.long 0x00 10. "     PIN21 ,GPIO0 Open Drain PIN21" "-,Enabled"
bitfld.long 0x00 9. "     PIN22 ,GPIO0 Open Drain PIN22" "-,Enabled"
bitfld.long 0x00 8. "     PIN23 ,GPIO0 Open Drain PIN23" "-,Enabled"
textline "                     "
bitfld.long 0x00 7. " PIN24 ,GPIO0 Open Drain PIN24" "-,Enabled"
bitfld.long 0x00 6. "     PIN25 ,GPIO0 Open Drain PIN25" "-,Enabled"
bitfld.long 0x00 5. "     PIN26 ,GPIO0 Open Drain PIN26" "-,Enabled"
bitfld.long 0x00 4. "     PIN27 ,GPIO0 Open Drain PIN27" "-,Enabled"
textline "                     "
bitfld.long 0x00 3. " PIN28 ,GPIO0 Open Drain PIN28" "-,Enabled"
bitfld.long 0x00 2. "     PIN29 ,GPIO0 Open Drain PIN29" "-,Enabled"
bitfld.long 0x00 1. "     PIN30 ,GPIO0 Open Drain PIN30" "-,Enabled"
bitfld.long 0x00 0. "     PIN31 ,GPIO0 Open Drain PIN31" "-,Enabled"
rgroup (0x0+0x1c)++0x03
line.long 0x00 "GPIO0_IR,GPIO0 Input Register"
bitfld.long 0x00 31. " PIN0  ,GPIO0 Input PIN0" "Low,High"
bitfld.long 0x00 30. "        PIN1  ,GPIO0 Input PIN1" "Low,High"
bitfld.long 0x00 29. "        PIN2  ,GPIO0 Input PIN2" "Low,High"
bitfld.long 0x00 28. "        PIN3  ,GPIO0 Input PIN3" "Low,High"
textline "                     "
bitfld.long 0x00 27. " PIN4  ,GPIO0 Input PIN4" "Low,High"
bitfld.long 0x00 26. "        PIN5  ,GPIO0 Input PIN5" "Low,High"
bitfld.long 0x00 25. "        PIN6  ,GPIO0 Input PIN6" "Low,High"
bitfld.long 0x00 24. "        PIN7  ,GPIO0 Input PIN7" "Low,High"
textline "                     "
bitfld.long 0x00 23. " PIN8  ,GPIO0 Input PIN8" "Low,High"
bitfld.long 0x00 22. "        PIN9  ,GPIO0 Input PIN9" "Low,High"
bitfld.long 0x00 21. "        PIN10 ,GPIO0 Input PIN10" "Low,High"
bitfld.long 0x00 20. "        PIN11 ,GPIO0 Input PIN11" "Low,High"
textline "                     "
bitfld.long 0x00 19. " PIN12 ,GPIO0 Input PIN12" "Low,High"
bitfld.long 0x00 18. "        PIN13 ,GPIO0 Input PIN13" "Low,High"
bitfld.long 0x00 17. "        PIN14 ,GPIO0 Input PIN14" "Low,High"
bitfld.long 0x00 16. "        PIN15 ,GPIO0 Input PIN15" "Low,High"
textline "                     "
bitfld.long 0x00 15. " PIN16 ,GPIO0 Input PIN16" "Low,High"
bitfld.long 0x00 14. "        PIN17 ,GPIO0 Input PIN17" "Low,High"
bitfld.long 0x00 13. "        PIN18 ,GPIO0 Input PIN18" "Low,High"
bitfld.long 0x00 12. "        PIN19 ,GPIO0 Input PIN19" "Low,High"
textline "                     "
bitfld.long 0x00 11. " PIN20 ,GPIO0 Input PIN20" "Low,High"
bitfld.long 0x00 10. "        PIN21 ,GPIO0 Input PIN21" "Low,High"
bitfld.long 0x00 9. "        PIN22 ,GPIO0 Input PIN22" "Low,High"
bitfld.long 0x00 8. "        PIN23 ,GPIO0 Input PIN23" "Low,High"
textline "                     "
bitfld.long 0x00 7. " PIN24 ,GPIO0 Input PIN24" "Low,High"
bitfld.long 0x00 6. "        PIN25 ,GPIO0 Input PIN25" "Low,High"
bitfld.long 0x00 5. "        PIN26 ,GPIO0 Input PIN26" "Low,High"
bitfld.long 0x00 4. "        PIN27 ,GPIO0 Input PIN27" "Low,High"
textline "                     "
bitfld.long 0x00 3. " PIN28 ,GPIO0 Input PIN28" "Low,High"
bitfld.long 0x00 2. "        PIN29 ,GPIO0 Input PIN29" "Low,High"
bitfld.long 0x00 1. "        PIN30 ,GPIO0 Input PIN30" "Low,High"
bitfld.long 0x00 0. "        PIN31 ,GPIO0 Input PIN31" "Low,High"
group (0x0+0x20)++0x03
line.long 0x00 "GPIO0_RR1,GPIO0 Receive Register 1"
bitfld.long 0x00 31. " PIN0  ,GPIO0 Receive Alt1 PIN0" "Low,High"
bitfld.long 0x00 30. "        PIN1  ,GPIO0 Receive Alt1 PIN1" "Low,High"
bitfld.long 0x00 29. "        PIN2  ,GPIO0 Receive Alt1 PIN2" "Low,High"
bitfld.long 0x00 28. "        PIN3  ,GPIO0 Receive Alt1 PIN3" "Low,High"
textline "                     "
bitfld.long 0x00 27. " PIN4  ,GPIO0 Receive Alt1 PIN4" "Low,High"
bitfld.long 0x00 26. "        PIN5  ,GPIO0 Receive Alt1 PIN5" "Low,High"
bitfld.long 0x00 25. "        PIN6  ,GPIO0 Receive Alt1 PIN6" "Low,High"
bitfld.long 0x00 24. "        PIN7  ,GPIO0 Receive Alt1 PIN7" "Low,High"
textline "                     "
bitfld.long 0x00 23. " PIN8  ,GPIO0 Receive Alt1 PIN8" "Low,High"
bitfld.long 0x00 22. "        PIN9  ,GPIO0 Receive Alt1 PIN9" "Low,High"
bitfld.long 0x00 21. "        PIN10 ,GPIO0 Receive Alt1 PIN10" "Low,High"
bitfld.long 0x00 20. "        PIN11 ,GPIO0 Receive Alt1 PIN11" "Low,High"
textline "                     "
bitfld.long 0x00 19. " PIN12 ,GPIO0 Receive Alt1 PIN12" "Low,High"
bitfld.long 0x00 18. "        PIN13 ,GPIO0 Receive Alt1 PIN13" "Low,High"
bitfld.long 0x00 17. "        PIN14 ,GPIO0 Receive Alt1 PIN14" "Low,High"
bitfld.long 0x00 16. "        PIN15 ,GPIO0 Receive Alt1 PIN15" "Low,High"
textline "                     "
bitfld.long 0x00 15. " PIN16 ,GPIO0 Receive Alt1 PIN16" "Low,High"
bitfld.long 0x00 14. "        PIN17 ,GPIO0 Receive Alt1 PIN17" "Low,High"
bitfld.long 0x00 13. "        PIN18 ,GPIO0 Receive Alt1 PIN18" "Low,High"
bitfld.long 0x00 12. "        PIN19 ,GPIO0 Receive Alt1 PIN19" "Low,High"
textline "                     "
bitfld.long 0x00 11. " PIN20 ,GPIO0 Receive Alt1 PIN20" "Low,High"
bitfld.long 0x00 10. "        PIN21 ,GPIO0 Receive Alt1 PIN21" "Low,High"
bitfld.long 0x00 9. "        PIN22 ,GPIO0 Receive Alt1 PIN22" "Low,High"
bitfld.long 0x00 8. "        PIN23 ,GPIO0 Receive Alt1 PIN23" "Low,High"
textline "                     "
bitfld.long 0x00 7. " PIN24 ,GPIO0 Receive Alt1 PIN24" "Low,High"
bitfld.long 0x00 6. "        PIN25 ,GPIO0 Receive Alt1 PIN25" "Low,High"
bitfld.long 0x00 5. "        PIN26 ,GPIO0 Receive Alt1 PIN26" "Low,High"
bitfld.long 0x00 4. "        PIN27 ,GPIO0 Receive Alt1 PIN27" "Low,High"
textline "                     "
bitfld.long 0x00 3. " PIN28 ,GPIO0 Receive Alt1 PIN28" "Low,High"
bitfld.long 0x00 2. "        PIN29 ,GPIO0 Receive Alt1 PIN29" "Low,High"
bitfld.long 0x00 1. "        PIN30 ,GPIO0 Receive Alt1 PIN30" "Low,High"
bitfld.long 0x00 0. "        PIN31 ,GPIO0 Receive Alt1 PIN31" "Low,High"
group (0x0+0x24)++0x03
line.long 0x00 "GPIO0_RR2,GPIO0 Receive Register 2"
bitfld.long 0x00 31. " PIN0  ,GPIO0 Receive Alt2 PIN0" "Low,High"
bitfld.long 0x00 30. "        PIN1  ,GPIO0 Receive Alt2 PIN1" "Low,High"
bitfld.long 0x00 29. "        PIN2  ,GPIO0 Receive Alt2 PIN2" "Low,High"
bitfld.long 0x00 28. "        PIN3  ,GPIO0 Receive Alt2 PIN3" "Low,High"
textline "                     "
bitfld.long 0x00 27. " PIN4  ,GPIO0 Receive Alt2 PIN4" "Low,High"
bitfld.long 0x00 26. "        PIN5  ,GPIO0 Receive Alt2 PIN5" "Low,High"
bitfld.long 0x00 25. "        PIN6  ,GPIO0 Receive Alt2 PIN6" "Low,High"
bitfld.long 0x00 24. "        PIN7  ,GPIO0 Receive Alt2 PIN7" "Low,High"
textline "                     "
bitfld.long 0x00 23. " PIN8  ,GPIO0 Receive Alt2 PIN8" "Low,High"
bitfld.long 0x00 22. "        PIN9  ,GPIO0 Receive Alt2 PIN9" "Low,High"
bitfld.long 0x00 21. "        PIN10 ,GPIO0 Receive Alt2 PIN10" "Low,High"
bitfld.long 0x00 20. "        PIN11 ,GPIO0 Receive Alt2 PIN11" "Low,High"
textline "                     "
bitfld.long 0x00 19. " PIN12 ,GPIO0 Receive Alt2 PIN12" "Low,High"
bitfld.long 0x00 18. "        PIN13 ,GPIO0 Receive Alt2 PIN13" "Low,High"
bitfld.long 0x00 17. "        PIN14 ,GPIO0 Receive Alt2 PIN14" "Low,High"
bitfld.long 0x00 16. "        PIN15 ,GPIO0 Receive Alt2 PIN15" "Low,High"
textline "                     "
bitfld.long 0x00 15. " PIN16 ,GPIO0 Receive Alt2 PIN16" "Low,High"
bitfld.long 0x00 14. "        PIN17 ,GPIO0 Receive Alt2 PIN17" "Low,High"
bitfld.long 0x00 13. "        PIN18 ,GPIO0 Receive Alt2 PIN18" "Low,High"
bitfld.long 0x00 12. "        PIN19 ,GPIO0 Receive Alt2 PIN19" "Low,High"
textline "                     "
bitfld.long 0x00 11. " PIN20 ,GPIO0 Receive Alt2 PIN20" "Low,High"
bitfld.long 0x00 10. "        PIN21 ,GPIO0 Receive Alt2 PIN21" "Low,High"
bitfld.long 0x00 9. "        PIN22 ,GPIO0 Receive Alt2 PIN22" "Low,High"
bitfld.long 0x00 8. "        PIN23 ,GPIO0 Receive Alt2 PIN23" "Low,High"
textline "                     "
bitfld.long 0x00 7. " PIN24 ,GPIO0 Receive Alt2 PIN24" "Low,High"
bitfld.long 0x00 6. "        PIN25 ,GPIO0 Receive Alt2 PIN25" "Low,High"
bitfld.long 0x00 5. "        PIN26 ,GPIO0 Receive Alt2 PIN26" "Low,High"
bitfld.long 0x00 4. "        PIN27 ,GPIO0 Receive Alt2 PIN27" "Low,High"
textline "                     "
bitfld.long 0x00 3. " PIN28 ,GPIO0 Receive Alt2 PIN28" "Low,High"
bitfld.long 0x00 2. "        PIN29 ,GPIO0 Receive Alt2 PIN29" "Low,High"
bitfld.long 0x00 1. "        PIN30 ,GPIO0 Receive Alt2 PIN30" "Low,High"
bitfld.long 0x00 0. "        PIN31 ,GPIO0 Receive Alt2 PIN31" "Low,High"
group (0x0+0x28)++0x03
line.long 0x00 "GPIO0_RR3,GPIO0 Receive Register 3"
bitfld.long 0x00 31. " PIN0  ,GPIO0 Receive Alt3 PIN0" "Low,High"
bitfld.long 0x00 30. "        PIN1  ,GPIO0 Receive Alt3 PIN1" "Low,High"
bitfld.long 0x00 29. "        PIN2  ,GPIO0 Receive Alt3 PIN2" "Low,High"
bitfld.long 0x00 28. "        PIN3  ,GPIO0 Receive Alt3 PIN3" "Low,High"
textline "                     "
bitfld.long 0x00 27. " PIN4  ,GPIO0 Receive Alt3 PIN4" "Low,High"
bitfld.long 0x00 26. "        PIN5  ,GPIO0 Receive Alt3 PIN5" "Low,High"
bitfld.long 0x00 25. "        PIN6  ,GPIO0 Receive Alt3 PIN6" "Low,High"
bitfld.long 0x00 24. "        PIN7  ,GPIO0 Receive Alt3 PIN7" "Low,High"
textline "                     "
bitfld.long 0x00 23. " PIN8  ,GPIO0 Receive Alt3 PIN8" "Low,High"
bitfld.long 0x00 22. "        PIN9  ,GPIO0 Receive Alt3 PIN9" "Low,High"
bitfld.long 0x00 21. "        PIN10 ,GPIO0 Receive Alt3 PIN10" "Low,High"
bitfld.long 0x00 20. "        PIN11 ,GPIO0 Receive Alt3 PIN11" "Low,High"
textline "                     "
bitfld.long 0x00 19. " PIN12 ,GPIO0 Receive Alt3 PIN12" "Low,High"
bitfld.long 0x00 18. "        PIN13 ,GPIO0 Receive Alt3 PIN13" "Low,High"
bitfld.long 0x00 17. "        PIN14 ,GPIO0 Receive Alt3 PIN14" "Low,High"
bitfld.long 0x00 16. "        PIN15 ,GPIO0 Receive Alt3 PIN15" "Low,High"
textline "                     "
bitfld.long 0x00 15. " PIN16 ,GPIO0 Receive Alt3 PIN16" "Low,High"
bitfld.long 0x00 14. "        PIN17 ,GPIO0 Receive Alt3 PIN17" "Low,High"
bitfld.long 0x00 13. "        PIN18 ,GPIO0 Receive Alt3 PIN18" "Low,High"
bitfld.long 0x00 12. "        PIN19 ,GPIO0 Receive Alt3 PIN19" "Low,High"
textline "                     "
bitfld.long 0x00 11. " PIN20 ,GPIO0 Receive Alt3 PIN20" "Low,High"
bitfld.long 0x00 10. "        PIN21 ,GPIO0 Receive Alt3 PIN21" "Low,High"
bitfld.long 0x00 9. "        PIN22 ,GPIO0 Receive Alt3 PIN22" "Low,High"
bitfld.long 0x00 8. "        PIN23 ,GPIO0 Receive Alt3 PIN23" "Low,High"
textline "                     "
bitfld.long 0x00 7. " PIN24 ,GPIO0 Receive Alt3 PIN24" "Low,High"
bitfld.long 0x00 6. "        PIN25 ,GPIO0 Receive Alt3 PIN25" "Low,High"
bitfld.long 0x00 5. "        PIN26 ,GPIO0 Receive Alt3 PIN26" "Low,High"
bitfld.long 0x00 4. "        PIN27 ,GPIO0 Receive Alt3 PIN27" "Low,High"
textline "                     "
bitfld.long 0x00 3. " PIN28 ,GPIO0 Receive Alt3 PIN28" "Low,High"
bitfld.long 0x00 2. "        PIN29 ,GPIO0 Receive Alt3 PIN29" "Low,High"
bitfld.long 0x00 1. "        PIN30 ,GPIO0 Receive Alt3 PIN30" "Low,High"
bitfld.long 0x00 0. "        PIN31 ,GPIO0 Receive Alt3 PIN31" "Low,High"
group (0x0+0x30)++0x07
line.long 0x00 "GPIO0_ISR1L,GPIO0 Input Select 1 Register Low"
bitfld.long 0x00 30.--31. " PIN0  ,GPIO0 Input Select 1 PIN0" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 28.--29. "  PIN1  ,GPIO0 Input Select 1 PIN1" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 26.--27. "  PIN2  ,GPIO0 Input Select 1 PIN2" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 24.--25. "  PIN3  ,GPIO0 Input Select 1 PIN3" "GPIO0_RR1,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 22.--23. " PIN4  ,GPIO0 Input Select 1 PIN4" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 20.--21. "  PIN5  ,GPIO0 Input Select 1 PIN5" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 18.--19. "  PIN6  ,GPIO0 Input Select 1 PIN6" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 16.--17. "  PIN7  ,GPIO0 Input Select 1 PIN7" "GPIO0_RR1,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 14.--15. " PIN8  ,GPIO0 Input Select 1 PIN8" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 12.--13. "  PIN9  ,GPIO0 Input Select 1 PIN9" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 10.--11. "  PIN10 ,GPIO0 Input Select 1 PIN10" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 8.--9. "  PIN11 ,GPIO0 Input Select 1 PIN11" "GPIO0_RR1,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 6.--7. " PIN12 ,GPIO0 Input Select 1 PIN12" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 4.--5. "  PIN13 ,GPIO0 Input Select 1 PIN13" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 2.--3. "  PIN14 ,GPIO0 Input Select 1 PIN14" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 0.--1. "  PIN15 ,GPIO0 Input Select 1 PIN15" "GPIO0_RR1,Pin input,Hold input,Reserved"
line.long 0x04 "GPIO0_ISR1H,GPIO0 Input Select 1 Register High"
bitfld.long 0x04 30.--31. " PIN16 ,GPIO0 Input Select 1 PIN16" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 28.--29. "  PIN17 ,GPIO0 Input Select 1 PIN17" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 26.--27. "  PIN18 ,GPIO0 Input Select 1 PIN18" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 24.--25. "  PIN19 ,GPIO0 Input Select 1 PIN19" "GPIO0_RR1,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 22.--23. " PIN20 ,GPIO0 Input Select 1 PIN20" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 20.--21. "  PIN21 ,GPIO0 Input Select 1 PIN21" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 18.--19. "  PIN22 ,GPIO0 Input Select 1 PIN22" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 16.--17. "  PIN23 ,GPIO0 Input Select 1 PIN23" "GPIO0_RR1,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 14.--15. " PIN24 ,GPIO0 Input Select 1 PIN24" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 12.--13. "  PIN25 ,GPIO0 Input Select 1 PIN25" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 10.--11. "  PIN26 ,GPIO0 Input Select 1 PIN26" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 8.--9. "  PIN27 ,GPIO0 Input Select 1 PIN27" "GPIO0_RR1,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 6.--7. " PIN28 ,GPIO0 Input Select 1 PIN28" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 4.--5. "  PIN29 ,GPIO0 Input Select 1 PIN29" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 2.--3. "  PIN30 ,GPIO0 Input Select 1 PIN30" "GPIO0_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 0.--1. "  PIN31 ,GPIO0 Input Select 1 PIN31" "GPIO0_RR1,Pin input,Hold input,Reserved"
group (0x0+0x38)++0x07
line.long 0x00 "GPIO0_ISR2L,GPIO0 Input Select 2 Register Low"
bitfld.long 0x00 30.--31. " PIN0  ,GPIO0 Input Select 2 PIN0" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 28.--29. "  PIN1  ,GPIO0 Input Select 2 PIN1" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 26.--27. "  PIN2  ,GPIO0 Input Select 2 PIN2" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 24.--25. "  PIN3  ,GPIO0 Input Select 2 PIN3" "GPIO0_RR2,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 22.--23. " PIN4  ,GPIO0 Input Select 2 PIN4" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 20.--21. "  PIN5  ,GPIO0 Input Select 2 PIN5" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 18.--19. "  PIN6  ,GPIO0 Input Select 2 PIN6" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 16.--17. "  PIN7  ,GPIO0 Input Select 2 PIN7" "GPIO0_RR2,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 14.--15. " PIN8  ,GPIO0 Input Select 2 PIN8" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 12.--13. "  PIN9  ,GPIO0 Input Select 2 PIN9" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 10.--11. "  PIN10 ,GPIO0 Input Select 2 PIN10" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 8.--9. "  PIN11 ,GPIO0 Input Select 2 PIN11" "GPIO0_RR2,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 6.--7. " PIN12 ,GPIO0 Input Select 2 PIN12" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 4.--5. "  PIN13 ,GPIO0 Input Select 2 PIN13" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 2.--3. "  PIN14 ,GPIO0 Input Select 2 PIN14" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 0.--1. "  PIN15 ,GPIO0 Input Select 2 PIN15" "GPIO0_RR2,Pin input,Hold input,Reserved"
line.long 0x04 "GPIO0_ISR2H,GPIO0 Input Select 2 Register High"
bitfld.long 0x04 30.--31. " PIN16 ,GPIO0 Input Select 2 PIN16" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 28.--29. "  PIN17 ,GPIO0 Input Select 2 PIN17" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 26.--27. "  PIN18 ,GPIO0 Input Select 2 PIN18" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 24.--25. "  PIN19 ,GPIO0 Input Select 2 PIN19" "GPIO0_RR2,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 22.--23. " PIN20 ,GPIO0 Input Select 2 PIN20" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 20.--21. "  PIN21 ,GPIO0 Input Select 2 PIN21" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 18.--19. "  PIN22 ,GPIO0 Input Select 2 PIN22" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 16.--17. "  PIN23 ,GPIO0 Input Select 2 PIN23" "GPIO0_RR2,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 14.--15. " PIN24 ,GPIO0 Input Select 2 PIN24" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 12.--13. "  PIN25 ,GPIO0 Input Select 2 PIN25" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 10.--11. "  PIN26 ,GPIO0 Input Select 2 PIN26" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 8.--9. "  PIN27 ,GPIO0 Input Select 2 PIN27" "GPIO0_RR2,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 6.--7. " PIN28 ,GPIO0 Input Select 2 PIN28" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 4.--5. "  PIN29 ,GPIO0 Input Select 2 PIN29" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 2.--3. "  PIN30 ,GPIO0 Input Select 2 PIN30" "GPIO0_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 0.--1. "  PIN31 ,GPIO0 Input Select 2 PIN31" "GPIO0_RR2,Pin input,Hold input,Reserved"
group (0x0+0x40)++0x07
line.long 0x00 "GPIO0_ISR3L,GPIO0 Input Select 3 Register Low"
bitfld.long 0x00 30.--31. " PIN0  ,GPIO0 Input Select 3 PIN0" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 28.--29. "  PIN1  ,GPIO0 Input Select 3 PIN1" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 26.--27. "  PIN2  ,GPIO0 Input Select 3 PIN2" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 24.--25. "  PIN3  ,GPIO0 Input Select 3 PIN3" "GPIO0_RR3,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 22.--23. " PIN4  ,GPIO0 Input Select 3 PIN4" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 20.--21. "  PIN5  ,GPIO0 Input Select 3 PIN5" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 18.--19. "  PIN6  ,GPIO0 Input Select 3 PIN6" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 16.--17. "  PIN7  ,GPIO0 Input Select 3 PIN7" "GPIO0_RR3,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 14.--15. " PIN8  ,GPIO0 Input Select 3 PIN8" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 12.--13. "  PIN9  ,GPIO0 Input Select 3 PIN9" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 10.--11. "  PIN10 ,GPIO0 Input Select 3 PIN10" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 8.--9. "  PIN11 ,GPIO0 Input Select 3 PIN11" "GPIO0_RR3,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 6.--7. " PIN12 ,GPIO0 Input Select 3 PIN12" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 4.--5. "  PIN13 ,GPIO0 Input Select 3 PIN13" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 2.--3. "  PIN14 ,GPIO0 Input Select 3 PIN14" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 0.--1. "  PIN15 ,GPIO0 Input Select 3 PIN15" "GPIO0_RR3,Pin input,Hold input,Reserved"
line.long 0x04 "GPIO0_ISR3H,GPIO0 Input Select 3 Register High"
bitfld.long 0x04 30.--31. " PIN16 ,GPIO0 Input Select 3 PIN16" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 28.--29. "  PIN17 ,GPIO0 Input Select 3 PIN17" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 26.--27. "  PIN18 ,GPIO0 Input Select 3 PIN18" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 24.--25. "  PIN19 ,GPIO0 Input Select 3 PIN19" "GPIO0_RR3,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 22.--23. " PIN20 ,GPIO0 Input Select 3 PIN20" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 20.--21. "  PIN21 ,GPIO0 Input Select 3 PIN21" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 18.--19. "  PIN22 ,GPIO0 Input Select 3 PIN22" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 16.--17. "  PIN23 ,GPIO0 Input Select 3 PIN23" "GPIO0_RR3,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 14.--15. " PIN24 ,GPIO0 Input Select 3 PIN24" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 12.--13. "  PIN25 ,GPIO0 Input Select 3 PIN25" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 10.--11. "  PIN26 ,GPIO0 Input Select 3 PIN26" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 8.--9. "  PIN27 ,GPIO0 Input Select 3 PIN27" "GPIO0_RR3,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 6.--7. " PIN28 ,GPIO0 Input Select 3 PIN28" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 4.--5. "  PIN29 ,GPIO0 Input Select 3 PIN29" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 2.--3. "  PIN30 ,GPIO0 Input Select 3 PIN30" "GPIO0_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 0.--1. "  PIN31 ,GPIO0 Input Select 3 PIN31" "GPIO0_RR3,Pin input,Hold input,Reserved"
tree.end
tree "GPIO1"
group 0x100++0x03
line.long 0x00 "GPIO1_OR,GPIO1 Output Register"
bitfld.long 0x00 31. " PIN0  ,GPIO1 Output PIN0" "Low,High"
bitfld.long 0x00 30. "        PIN1  ,GPIO1 Output PIN1" "Low,High"
bitfld.long 0x00 29. "        PIN2  ,GPIO1 Output PIN2" "Low,High"
bitfld.long 0x00 28. "        PIN3  ,GPIO1 Output PIN3" "Low,High"
textline "                     "
bitfld.long 0x00 27. " PIN4  ,GPIO1 Output PIN4" "Low,High"
bitfld.long 0x00 26. "        PIN5  ,GPIO1 Output PIN5" "Low,High"
bitfld.long 0x00 25. "        PIN6  ,GPIO1 Output PIN6" "Low,High"
bitfld.long 0x00 24. "        PIN7  ,GPIO1 Output PIN7" "Low,High"
textline "                     "
bitfld.long 0x00 23. " PIN8  ,GPIO1 Output PIN8" "Low,High"
bitfld.long 0x00 22. "        PIN9  ,GPIO1 Output PIN9" "Low,High"
bitfld.long 0x00 21. "        PIN10 ,GPIO1 Output PIN10" "Low,High"
bitfld.long 0x00 20. "        PIN11 ,GPIO1 Output PIN11" "Low,High"
textline "                     "
bitfld.long 0x00 19. " PIN12 ,GPIO1 Output PIN12" "Low,High"
bitfld.long 0x00 18. "        PIN13 ,GPIO1 Output PIN13" "Low,High"
bitfld.long 0x00 17. "        PIN14 ,GPIO1 Output PIN14" "Low,High"
bitfld.long 0x00 16. "        PIN15 ,GPIO1 Output PIN15" "Low,High"
textline "                     "
bitfld.long 0x00 15. " PIN16 ,GPIO1 Output PIN16" "Low,High"
bitfld.long 0x00 14. "        PIN17 ,GPIO1 Output PIN17" "Low,High"
bitfld.long 0x00 13. "        PIN18 ,GPIO1 Output PIN18" "Low,High"
bitfld.long 0x00 12. "        PIN19 ,GPIO1 Output PIN19" "Low,High"
textline "                     "
bitfld.long 0x00 11. " PIN20 ,GPIO1 Output PIN20" "Low,High"
bitfld.long 0x00 10. "        PIN21 ,GPIO1 Output PIN21" "Low,High"
bitfld.long 0x00 9. "        PIN22 ,GPIO1 Output PIN22" "Low,High"
bitfld.long 0x00 8. "        PIN23 ,GPIO1 Output PIN23" "Low,High"
textline "                     "
bitfld.long 0x00 7. " PIN24 ,GPIO1 Output PIN24" "Low,High"
bitfld.long 0x00 6. "        PIN25 ,GPIO1 Output PIN25" "Low,High"
bitfld.long 0x00 5. "        PIN26 ,GPIO1 Output PIN26" "Low,High"
bitfld.long 0x00 4. "        PIN27 ,GPIO1 Output PIN27" "Low,High"
textline "                     "
bitfld.long 0x00 3. " PIN28 ,GPIO1 Output PIN28" "Low,High"
bitfld.long 0x00 2. "        PIN29 ,GPIO1 Output PIN29" "Low,High"
bitfld.long 0x00 1. "        PIN30 ,GPIO1 Output PIN30" "Low,High"
bitfld.long 0x00 0. "        PIN31 ,GPIO1 Output PIN31" "Low,High"
group (0x100+0x04)++0x03
line.long 0x00 "GPIO1_TCR,GPIO1 Three-State Control Register"
bitfld.long 0x00 31. " PIN0  ,GPIO1 Three-State Control PIN0" "Tri-state,Output"
bitfld.long 0x00 30. "   PIN1  ,GPIO1 Three-State Control PIN1" "Tri-state,Output"
bitfld.long 0x00 29. "   PIN2  ,GPIO1 Three-State Control PIN2" "Tri-state,Output"
bitfld.long 0x00 28. "   PIN3  ,GPIO1 Three-State Control PIN3" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 27. " PIN4  ,GPIO1 Three-State Control PIN4" "Tri-state,Output"
bitfld.long 0x00 26. "   PIN5  ,GPIO1 Three-State Control PIN5" "Tri-state,Output"
bitfld.long 0x00 25. "   PIN6  ,GPIO1 Three-State Control PIN6" "Tri-state,Output"
bitfld.long 0x00 24. "   PIN7  ,GPIO1 Three-State Control PIN7" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 23. " PIN8  ,GPIO1 Three-State Control PIN8" "Tri-state,Output"
bitfld.long 0x00 22. "   PIN9  ,GPIO1 Three-State Control PIN9" "Tri-state,Output"
bitfld.long 0x00 21. "   PIN10 ,GPIO1 Three-State Control PIN10" "Tri-state,Output"
bitfld.long 0x00 20. "   PIN11 ,GPIO1 Three-State Control PIN11" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 19. " PIN12 ,GPIO1 Three-State Control PIN12" "Tri-state,Output"
bitfld.long 0x00 18. "   PIN13 ,GPIO1 Three-State Control PIN13" "Tri-state,Output"
bitfld.long 0x00 17. "   PIN14 ,GPIO1 Three-State Control PIN14" "Tri-state,Output"
bitfld.long 0x00 16. "   PIN15 ,GPIO1 Three-State Control PIN15" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 15. " PIN16 ,GPIO1 Three-State Control PIN16" "Tri-state,Output"
bitfld.long 0x00 14. "   PIN17 ,GPIO1 Three-State Control PIN17" "Tri-state,Output"
bitfld.long 0x00 13. "   PIN18 ,GPIO1 Three-State Control PIN18" "Tri-state,Output"
bitfld.long 0x00 12. "   PIN19 ,GPIO1 Three-State Control PIN19" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 11. " PIN20 ,GPIO1 Three-State Control PIN20" "Tri-state,Output"
bitfld.long 0x00 10. "   PIN21 ,GPIO1 Three-State Control PIN21" "Tri-state,Output"
bitfld.long 0x00 9. "   PIN22 ,GPIO1 Three-State Control PIN22" "Tri-state,Output"
bitfld.long 0x00 8. "   PIN23 ,GPIO1 Three-State Control PIN23" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 7. " PIN24 ,GPIO1 Three-State Control PIN24" "Tri-state,Output"
bitfld.long 0x00 6. "   PIN25 ,GPIO1 Three-State Control PIN25" "Tri-state,Output"
bitfld.long 0x00 5. "   PIN26 ,GPIO1 Three-State Control PIN26" "Tri-state,Output"
bitfld.long 0x00 4. "   PIN27 ,GPIO1 Three-State Control PIN27" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 3. " PIN28 ,GPIO1 Three-State Control PIN28" "Tri-state,Output"
bitfld.long 0x00 2. "   PIN29 ,GPIO1 Three-State Control PIN29" "Tri-state,Output"
bitfld.long 0x00 1. "   PIN30 ,GPIO1 Three-State Control PIN30" "Tri-state,Output"
bitfld.long 0x00 0. "   PIN31 ,GPIO1 Three-State Control PIN31" "Tri-state,Output"
group (0x100+0x08)++0x07
line.long 0x00 "GPIO1_OSRL,GPIO1 Output Select Low Register"
bitfld.long 0x00 30.--31. " PIN0  ,GPIO1 Output Select PIN0" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 28.--29. "   PIN1  ,GPIO1 Output Select PIN1" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 26.--27. "   PIN2  ,GPIO1 Output Select PIN2" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 24.--25. "   PIN3  ,GPIO1 Output Select PIN3" "GPIO1_OR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x00 22.--23. " PIN4  ,GPIO1 Output Select PIN4" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 20.--21. "   PIN5  ,GPIO1 Output Select PIN5" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 18.--19. "   PIN6  ,GPIO1 Output Select PIN6" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 16.--17. "   PIN7  ,GPIO1 Output Select PIN7" "GPIO1_OR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x00 14.--15. " PIN8  ,GPIO1 Output Select PIN8" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 12.--13. "   PIN9  ,GPIO1 Output Select PIN9" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 10.--11. "   PIN10 ,GPIO1 Output Select PIN10" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 8.--9. "   PIN11 ,GPIO1 Output Select PIN11" "GPIO1_OR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x00 6.--7. " PIN12 ,GPIO1 Output Select PIN12" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 4.--5. "   PIN13 ,GPIO1 Output Select PIN13" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 2.--3. "   PIN14 ,GPIO1 Output Select PIN14" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x00 0.--1. "   PIN15 ,GPIO1 Output Select PIN15" "GPIO1_OR,Alt1,Alt2,Alt3"
line.long 0x04 "GPIO1_OSRH,GPIO1 Output Select High"
bitfld.long 0x04 30.--31. " PIN16 ,GPIO1 Output Select PIN16" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 28.--29. "   PIN17 ,GPIO1 Output Select PIN17" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 26.--27. "   PIN18 ,GPIO1 Output Select PIN18" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 24.--25. "   PIN19 ,GPIO1 Output Select PIN19" "GPIO1_OR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x04 22.--23. " PIN20 ,GPIO1 Output Select PIN20" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 20.--21. "   PIN21 ,GPIO1 Output Select PIN21" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 18.--19. "   PIN22 ,GPIO1 Output Select PIN22" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 16.--17. "   PIN23 ,GPIO1 Output Select PIN23" "GPIO1_OR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x04 14.--15. " PIN24 ,GPIO1 Output Select PIN24" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 12.--13. "   PIN25 ,GPIO1 Output Select PIN25" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 10.--11. "   PIN26 ,GPIO1 Output Select PIN26" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 8.--9. "   PIN27 ,GPIO1 Output Select PIN27" "GPIO1_OR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x04 6.--7. " PIN28 ,GPIO1 Output Select PIN28" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 4.--5. "   PIN29 ,GPIO1 Output Select PIN29" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 2.--3. "   PIN30 ,GPIO1 Output Select PIN30" "GPIO1_OR,Alt1,Alt2,Alt3"
bitfld.long 0x04 0.--1. "   PIN31 ,GPIO1 Output Select PIN31" "GPIO1_OR,Alt1,Alt2,Alt3"
group (0x100+0x10)++0x07
line.long 0x00 "GPIO1_TSRL,GPIO1 Three-State Select Register Low"
bitfld.long 0x00 30.--31. " PIN0  ,GPIO1 Three-State Control Source PIN0" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 28.--29. "  PIN1  ,GPIO1 Three-State Control Source PIN1" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 26.--27. "  PIN2  ,GPIO1 Three-State Control Source PIN2" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 24.--25. "  PIN3  ,GPIO1 Three-State Control Source PIN3" "GPIO1_TCR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x00 22.--23. " PIN4  ,GPIO1 Three-State Control Source PIN4" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 20.--21. "  PIN5  ,GPIO1 Three-State Control Source PIN5" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 18.--19. "  PIN6  ,GPIO1 Three-State Control Source PIN6" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 16.--17. "  PIN7  ,GPIO1 Three-State Control Source PIN7" "GPIO1_TCR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x00 14.--15. " PIN8  ,GPIO1 Three-State Control Source PIN8" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 12.--13. "  PIN9  ,GPIO1 Three-State Control Source PIN9" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 10.--11. "  PIN10 ,GPIO1 Three-State Control Source PIN10" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 8.--9. "  PIN11 ,GPIO1 Three-State Control Source PIN11" "GPIO1_TCR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x00 6.--7. " PIN12 ,GPIO1 Three-State Control Source PIN12" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 4.--5. "  PIN13 ,GPIO1 Three-State Control Source PIN13" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 2.--3. "  PIN14 ,GPIO1 Three-State Control Source PIN14" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x00 0.--1. "  PIN15 ,GPIO1 Three-State Control Source PIN15" "GPIO1_TCR,Alt1,Alt2,Alt3"
line.long 0x04 "GPIO1_TSRH,GPIO1 Three-State Select Register High"
bitfld.long 0x04 30.--31. " PIN16 ,GPIO1 Three-State Control Source PIN16" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 28.--29. "  PIN17 ,GPIO1 Three-State Control Source PIN17" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 26.--27. "  PIN18 ,GPIO1 Three-State Control Source PIN18" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 24.--25. "  PIN19 ,GPIO1 Three-State Control Source PIN19" "GPIO1_TCR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x04 22.--23. " PIN20 ,GPIO1 Three-State Control Source PIN20" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 20.--21. "  PIN21 ,GPIO1 Three-State Control Source PIN21" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 18.--19. "  PIN22 ,GPIO1 Three-State Control Source PIN22" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 16.--17. "  PIN23 ,GPIO1 Three-State Control Source PIN23" "GPIO1_TCR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x04 14.--15. " PIN24 ,GPIO1 Three-State Control Source PIN24" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 12.--13. "  PIN25 ,GPIO1 Three-State Control Source PIN25" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 10.--11. "  PIN26 ,GPIO1 Three-State Control Source PIN26" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 8.--9. "  PIN27 ,GPIO1 Three-State Control Source PIN27" "GPIO1_TCR,Alt1,Alt2,Alt3"
textline "                     "
bitfld.long 0x04 6.--7. " PIN28 ,GPIO1 Three-State Control Source PIN28" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 4.--5. "  PIN29 ,GPIO1 Three-State Control Source PIN29" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 2.--3. "  PIN30 ,GPIO1 Three-State Control Source PIN30" "GPIO1_TCR,Alt1,Alt2,Alt3"
bitfld.long 0x04 0.--1. "  PIN31 ,GPIO1 Three-State Control Source PIN31" "GPIO1_TCR,Alt1,Alt2,Alt3"
group (0x100+0x18)++0x03
line.long 0x00 "GPIO1_ODR,GPIO1 Open Drain Register"
bitfld.long 0x00 31. " PIN0  ,GPIO1 Open Drain PIN0" "-,Enabled"
bitfld.long 0x00 30. "     PIN1  ,GPIO1 Open Drain PIN1" "-,Enabled"
bitfld.long 0x00 29. "     PIN2  ,GPIO1 Open Drain PIN2" "-,Enabled"
bitfld.long 0x00 28. "     PIN3  ,GPIO1 Open Drain PIN3" "-,Enabled"
textline "                     "
bitfld.long 0x00 27. " PIN4  ,GPIO1 Open Drain PIN4" "-,Enabled"
bitfld.long 0x00 26. "     PIN5  ,GPIO1 Open Drain PIN5" "-,Enabled"
bitfld.long 0x00 25. "     PIN6  ,GPIO1 Open Drain PIN6" "-,Enabled"
bitfld.long 0x00 24. "     PIN7  ,GPIO1 Open Drain PIN7" "-,Enabled"
textline "                     "
bitfld.long 0x00 23. " PIN8  ,GPIO1 Open Drain PIN8" "-,Enabled"
bitfld.long 0x00 22. "     PIN9  ,GPIO1 Open Drain PIN9" "-,Enabled"
bitfld.long 0x00 21. "     PIN10 ,GPIO1 Open Drain PIN10" "-,Enabled"
bitfld.long 0x00 20. "     PIN11 ,GPIO1 Open Drain PIN11" "-,Enabled"
textline "                     "
bitfld.long 0x00 19. " PIN12 ,GPIO1 Open Drain PIN12" "-,Enabled"
bitfld.long 0x00 18. "     PIN13 ,GPIO1 Open Drain PIN13" "-,Enabled"
bitfld.long 0x00 17. "     PIN14 ,GPIO1 Open Drain PIN14" "-,Enabled"
bitfld.long 0x00 16. "     PIN15 ,GPIO1 Open Drain PIN15" "-,Enabled"
textline "                     "
bitfld.long 0x00 15. " PIN16 ,GPIO1 Open Drain PIN16" "-,Enabled"
bitfld.long 0x00 14. "     PIN17 ,GPIO1 Open Drain PIN17" "-,Enabled"
bitfld.long 0x00 13. "     PIN18 ,GPIO1 Open Drain PIN18" "-,Enabled"
bitfld.long 0x00 12. "     PIN19 ,GPIO1 Open Drain PIN19" "-,Enabled"
textline "                     "
bitfld.long 0x00 11. " PIN20 ,GPIO1 Open Drain PIN20" "-,Enabled"
bitfld.long 0x00 10. "     PIN21 ,GPIO1 Open Drain PIN21" "-,Enabled"
bitfld.long 0x00 9. "     PIN22 ,GPIO1 Open Drain PIN22" "-,Enabled"
bitfld.long 0x00 8. "     PIN23 ,GPIO1 Open Drain PIN23" "-,Enabled"
textline "                     "
bitfld.long 0x00 7. " PIN24 ,GPIO1 Open Drain PIN24" "-,Enabled"
bitfld.long 0x00 6. "     PIN25 ,GPIO1 Open Drain PIN25" "-,Enabled"
bitfld.long 0x00 5. "     PIN26 ,GPIO1 Open Drain PIN26" "-,Enabled"
bitfld.long 0x00 4. "     PIN27 ,GPIO1 Open Drain PIN27" "-,Enabled"
textline "                     "
bitfld.long 0x00 3. " PIN28 ,GPIO1 Open Drain PIN28" "-,Enabled"
bitfld.long 0x00 2. "     PIN29 ,GPIO1 Open Drain PIN29" "-,Enabled"
bitfld.long 0x00 1. "     PIN30 ,GPIO1 Open Drain PIN30" "-,Enabled"
bitfld.long 0x00 0. "     PIN31 ,GPIO1 Open Drain PIN31" "-,Enabled"
rgroup (0x100+0x1c)++0x03
line.long 0x00 "GPIO1_IR,GPIO1 Input Register"
bitfld.long 0x00 31. " PIN0  ,GPIO1 Input PIN0" "Low,High"
bitfld.long 0x00 30. "        PIN1  ,GPIO1 Input PIN1" "Low,High"
bitfld.long 0x00 29. "        PIN2  ,GPIO1 Input PIN2" "Low,High"
bitfld.long 0x00 28. "        PIN3  ,GPIO1 Input PIN3" "Low,High"
textline "                     "
bitfld.long 0x00 27. " PIN4  ,GPIO1 Input PIN4" "Low,High"
bitfld.long 0x00 26. "        PIN5  ,GPIO1 Input PIN5" "Low,High"
bitfld.long 0x00 25. "        PIN6  ,GPIO1 Input PIN6" "Low,High"
bitfld.long 0x00 24. "        PIN7  ,GPIO1 Input PIN7" "Low,High"
textline "                     "
bitfld.long 0x00 23. " PIN8  ,GPIO1 Input PIN8" "Low,High"
bitfld.long 0x00 22. "        PIN9  ,GPIO1 Input PIN9" "Low,High"
bitfld.long 0x00 21. "        PIN10 ,GPIO1 Input PIN10" "Low,High"
bitfld.long 0x00 20. "        PIN11 ,GPIO1 Input PIN11" "Low,High"
textline "                     "
bitfld.long 0x00 19. " PIN12 ,GPIO1 Input PIN12" "Low,High"
bitfld.long 0x00 18. "        PIN13 ,GPIO1 Input PIN13" "Low,High"
bitfld.long 0x00 17. "        PIN14 ,GPIO1 Input PIN14" "Low,High"
bitfld.long 0x00 16. "        PIN15 ,GPIO1 Input PIN15" "Low,High"
textline "                     "
bitfld.long 0x00 15. " PIN16 ,GPIO1 Input PIN16" "Low,High"
bitfld.long 0x00 14. "        PIN17 ,GPIO1 Input PIN17" "Low,High"
bitfld.long 0x00 13. "        PIN18 ,GPIO1 Input PIN18" "Low,High"
bitfld.long 0x00 12. "        PIN19 ,GPIO1 Input PIN19" "Low,High"
textline "                     "
bitfld.long 0x00 11. " PIN20 ,GPIO1 Input PIN20" "Low,High"
bitfld.long 0x00 10. "        PIN21 ,GPIO1 Input PIN21" "Low,High"
bitfld.long 0x00 9. "        PIN22 ,GPIO1 Input PIN22" "Low,High"
bitfld.long 0x00 8. "        PIN23 ,GPIO1 Input PIN23" "Low,High"
textline "                     "
bitfld.long 0x00 7. " PIN24 ,GPIO1 Input PIN24" "Low,High"
bitfld.long 0x00 6. "        PIN25 ,GPIO1 Input PIN25" "Low,High"
bitfld.long 0x00 5. "        PIN26 ,GPIO1 Input PIN26" "Low,High"
bitfld.long 0x00 4. "        PIN27 ,GPIO1 Input PIN27" "Low,High"
textline "                     "
bitfld.long 0x00 3. " PIN28 ,GPIO1 Input PIN28" "Low,High"
bitfld.long 0x00 2. "        PIN29 ,GPIO1 Input PIN29" "Low,High"
bitfld.long 0x00 1. "        PIN30 ,GPIO1 Input PIN30" "Low,High"
bitfld.long 0x00 0. "        PIN31 ,GPIO1 Input PIN31" "Low,High"
group (0x100+0x20)++0x03
line.long 0x00 "GPIO1_RR1,GPIO1 Receive Register 1"
bitfld.long 0x00 31. " PIN0  ,GPIO1 Receive Alt1 PIN0" "Low,High"
bitfld.long 0x00 30. "        PIN1  ,GPIO1 Receive Alt1 PIN1" "Low,High"
bitfld.long 0x00 29. "        PIN2  ,GPIO1 Receive Alt1 PIN2" "Low,High"
bitfld.long 0x00 28. "        PIN3  ,GPIO1 Receive Alt1 PIN3" "Low,High"
textline "                     "
bitfld.long 0x00 27. " PIN4  ,GPIO1 Receive Alt1 PIN4" "Low,High"
bitfld.long 0x00 26. "        PIN5  ,GPIO1 Receive Alt1 PIN5" "Low,High"
bitfld.long 0x00 25. "        PIN6  ,GPIO1 Receive Alt1 PIN6" "Low,High"
bitfld.long 0x00 24. "        PIN7  ,GPIO1 Receive Alt1 PIN7" "Low,High"
textline "                     "
bitfld.long 0x00 23. " PIN8  ,GPIO1 Receive Alt1 PIN8" "Low,High"
bitfld.long 0x00 22. "        PIN9  ,GPIO1 Receive Alt1 PIN9" "Low,High"
bitfld.long 0x00 21. "        PIN10 ,GPIO1 Receive Alt1 PIN10" "Low,High"
bitfld.long 0x00 20. "        PIN11 ,GPIO1 Receive Alt1 PIN11" "Low,High"
textline "                     "
bitfld.long 0x00 19. " PIN12 ,GPIO1 Receive Alt1 PIN12" "Low,High"
bitfld.long 0x00 18. "        PIN13 ,GPIO1 Receive Alt1 PIN13" "Low,High"
bitfld.long 0x00 17. "        PIN14 ,GPIO1 Receive Alt1 PIN14" "Low,High"
bitfld.long 0x00 16. "        PIN15 ,GPIO1 Receive Alt1 PIN15" "Low,High"
textline "                     "
bitfld.long 0x00 15. " PIN16 ,GPIO1 Receive Alt1 PIN16" "Low,High"
bitfld.long 0x00 14. "        PIN17 ,GPIO1 Receive Alt1 PIN17" "Low,High"
bitfld.long 0x00 13. "        PIN18 ,GPIO1 Receive Alt1 PIN18" "Low,High"
bitfld.long 0x00 12. "        PIN19 ,GPIO1 Receive Alt1 PIN19" "Low,High"
textline "                     "
bitfld.long 0x00 11. " PIN20 ,GPIO1 Receive Alt1 PIN20" "Low,High"
bitfld.long 0x00 10. "        PIN21 ,GPIO1 Receive Alt1 PIN21" "Low,High"
bitfld.long 0x00 9. "        PIN22 ,GPIO1 Receive Alt1 PIN22" "Low,High"
bitfld.long 0x00 8. "        PIN23 ,GPIO1 Receive Alt1 PIN23" "Low,High"
textline "                     "
bitfld.long 0x00 7. " PIN24 ,GPIO1 Receive Alt1 PIN24" "Low,High"
bitfld.long 0x00 6. "        PIN25 ,GPIO1 Receive Alt1 PIN25" "Low,High"
bitfld.long 0x00 5. "        PIN26 ,GPIO1 Receive Alt1 PIN26" "Low,High"
bitfld.long 0x00 4. "        PIN27 ,GPIO1 Receive Alt1 PIN27" "Low,High"
textline "                     "
bitfld.long 0x00 3. " PIN28 ,GPIO1 Receive Alt1 PIN28" "Low,High"
bitfld.long 0x00 2. "        PIN29 ,GPIO1 Receive Alt1 PIN29" "Low,High"
bitfld.long 0x00 1. "        PIN30 ,GPIO1 Receive Alt1 PIN30" "Low,High"
bitfld.long 0x00 0. "        PIN31 ,GPIO1 Receive Alt1 PIN31" "Low,High"
group (0x100+0x24)++0x03
line.long 0x00 "GPIO1_RR2,GPIO1 Receive Register 2"
bitfld.long 0x00 31. " PIN0  ,GPIO1 Receive Alt2 PIN0" "Low,High"
bitfld.long 0x00 30. "        PIN1  ,GPIO1 Receive Alt2 PIN1" "Low,High"
bitfld.long 0x00 29. "        PIN2  ,GPIO1 Receive Alt2 PIN2" "Low,High"
bitfld.long 0x00 28. "        PIN3  ,GPIO1 Receive Alt2 PIN3" "Low,High"
textline "                     "
bitfld.long 0x00 27. " PIN4  ,GPIO1 Receive Alt2 PIN4" "Low,High"
bitfld.long 0x00 26. "        PIN5  ,GPIO1 Receive Alt2 PIN5" "Low,High"
bitfld.long 0x00 25. "        PIN6  ,GPIO1 Receive Alt2 PIN6" "Low,High"
bitfld.long 0x00 24. "        PIN7  ,GPIO1 Receive Alt2 PIN7" "Low,High"
textline "                     "
bitfld.long 0x00 23. " PIN8  ,GPIO1 Receive Alt2 PIN8" "Low,High"
bitfld.long 0x00 22. "        PIN9  ,GPIO1 Receive Alt2 PIN9" "Low,High"
bitfld.long 0x00 21. "        PIN10 ,GPIO1 Receive Alt2 PIN10" "Low,High"
bitfld.long 0x00 20. "        PIN11 ,GPIO1 Receive Alt2 PIN11" "Low,High"
textline "                     "
bitfld.long 0x00 19. " PIN12 ,GPIO1 Receive Alt2 PIN12" "Low,High"
bitfld.long 0x00 18. "        PIN13 ,GPIO1 Receive Alt2 PIN13" "Low,High"
bitfld.long 0x00 17. "        PIN14 ,GPIO1 Receive Alt2 PIN14" "Low,High"
bitfld.long 0x00 16. "        PIN15 ,GPIO1 Receive Alt2 PIN15" "Low,High"
textline "                     "
bitfld.long 0x00 15. " PIN16 ,GPIO1 Receive Alt2 PIN16" "Low,High"
bitfld.long 0x00 14. "        PIN17 ,GPIO1 Receive Alt2 PIN17" "Low,High"
bitfld.long 0x00 13. "        PIN18 ,GPIO1 Receive Alt2 PIN18" "Low,High"
bitfld.long 0x00 12. "        PIN19 ,GPIO1 Receive Alt2 PIN19" "Low,High"
textline "                     "
bitfld.long 0x00 11. " PIN20 ,GPIO1 Receive Alt2 PIN20" "Low,High"
bitfld.long 0x00 10. "        PIN21 ,GPIO1 Receive Alt2 PIN21" "Low,High"
bitfld.long 0x00 9. "        PIN22 ,GPIO1 Receive Alt2 PIN22" "Low,High"
bitfld.long 0x00 8. "        PIN23 ,GPIO1 Receive Alt2 PIN23" "Low,High"
textline "                     "
bitfld.long 0x00 7. " PIN24 ,GPIO1 Receive Alt2 PIN24" "Low,High"
bitfld.long 0x00 6. "        PIN25 ,GPIO1 Receive Alt2 PIN25" "Low,High"
bitfld.long 0x00 5. "        PIN26 ,GPIO1 Receive Alt2 PIN26" "Low,High"
bitfld.long 0x00 4. "        PIN27 ,GPIO1 Receive Alt2 PIN27" "Low,High"
textline "                     "
bitfld.long 0x00 3. " PIN28 ,GPIO1 Receive Alt2 PIN28" "Low,High"
bitfld.long 0x00 2. "        PIN29 ,GPIO1 Receive Alt2 PIN29" "Low,High"
bitfld.long 0x00 1. "        PIN30 ,GPIO1 Receive Alt2 PIN30" "Low,High"
bitfld.long 0x00 0. "        PIN31 ,GPIO1 Receive Alt2 PIN31" "Low,High"
group (0x100+0x28)++0x03
line.long 0x00 "GPIO1_RR3,GPIO1 Receive Register 3"
bitfld.long 0x00 31. " PIN0  ,GPIO1 Receive Alt3 PIN0" "Low,High"
bitfld.long 0x00 30. "        PIN1  ,GPIO1 Receive Alt3 PIN1" "Low,High"
bitfld.long 0x00 29. "        PIN2  ,GPIO1 Receive Alt3 PIN2" "Low,High"
bitfld.long 0x00 28. "        PIN3  ,GPIO1 Receive Alt3 PIN3" "Low,High"
textline "                     "
bitfld.long 0x00 27. " PIN4  ,GPIO1 Receive Alt3 PIN4" "Low,High"
bitfld.long 0x00 26. "        PIN5  ,GPIO1 Receive Alt3 PIN5" "Low,High"
bitfld.long 0x00 25. "        PIN6  ,GPIO1 Receive Alt3 PIN6" "Low,High"
bitfld.long 0x00 24. "        PIN7  ,GPIO1 Receive Alt3 PIN7" "Low,High"
textline "                     "
bitfld.long 0x00 23. " PIN8  ,GPIO1 Receive Alt3 PIN8" "Low,High"
bitfld.long 0x00 22. "        PIN9  ,GPIO1 Receive Alt3 PIN9" "Low,High"
bitfld.long 0x00 21. "        PIN10 ,GPIO1 Receive Alt3 PIN10" "Low,High"
bitfld.long 0x00 20. "        PIN11 ,GPIO1 Receive Alt3 PIN11" "Low,High"
textline "                     "
bitfld.long 0x00 19. " PIN12 ,GPIO1 Receive Alt3 PIN12" "Low,High"
bitfld.long 0x00 18. "        PIN13 ,GPIO1 Receive Alt3 PIN13" "Low,High"
bitfld.long 0x00 17. "        PIN14 ,GPIO1 Receive Alt3 PIN14" "Low,High"
bitfld.long 0x00 16. "        PIN15 ,GPIO1 Receive Alt3 PIN15" "Low,High"
textline "                     "
bitfld.long 0x00 15. " PIN16 ,GPIO1 Receive Alt3 PIN16" "Low,High"
bitfld.long 0x00 14. "        PIN17 ,GPIO1 Receive Alt3 PIN17" "Low,High"
bitfld.long 0x00 13. "        PIN18 ,GPIO1 Receive Alt3 PIN18" "Low,High"
bitfld.long 0x00 12. "        PIN19 ,GPIO1 Receive Alt3 PIN19" "Low,High"
textline "                     "
bitfld.long 0x00 11. " PIN20 ,GPIO1 Receive Alt3 PIN20" "Low,High"
bitfld.long 0x00 10. "        PIN21 ,GPIO1 Receive Alt3 PIN21" "Low,High"
bitfld.long 0x00 9. "        PIN22 ,GPIO1 Receive Alt3 PIN22" "Low,High"
bitfld.long 0x00 8. "        PIN23 ,GPIO1 Receive Alt3 PIN23" "Low,High"
textline "                     "
bitfld.long 0x00 7. " PIN24 ,GPIO1 Receive Alt3 PIN24" "Low,High"
bitfld.long 0x00 6. "        PIN25 ,GPIO1 Receive Alt3 PIN25" "Low,High"
bitfld.long 0x00 5. "        PIN26 ,GPIO1 Receive Alt3 PIN26" "Low,High"
bitfld.long 0x00 4. "        PIN27 ,GPIO1 Receive Alt3 PIN27" "Low,High"
textline "                     "
bitfld.long 0x00 3. " PIN28 ,GPIO1 Receive Alt3 PIN28" "Low,High"
bitfld.long 0x00 2. "        PIN29 ,GPIO1 Receive Alt3 PIN29" "Low,High"
bitfld.long 0x00 1. "        PIN30 ,GPIO1 Receive Alt3 PIN30" "Low,High"
bitfld.long 0x00 0. "        PIN31 ,GPIO1 Receive Alt3 PIN31" "Low,High"
group (0x100+0x30)++0x07
line.long 0x00 "GPIO1_ISR1L,GPIO1 Input Select 1 Register Low"
bitfld.long 0x00 30.--31. " PIN0  ,GPIO1 Input Select 1 PIN0" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 28.--29. "  PIN1  ,GPIO1 Input Select 1 PIN1" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 26.--27. "  PIN2  ,GPIO1 Input Select 1 PIN2" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 24.--25. "  PIN3  ,GPIO1 Input Select 1 PIN3" "GPIO1_RR1,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 22.--23. " PIN4  ,GPIO1 Input Select 1 PIN4" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 20.--21. "  PIN5  ,GPIO1 Input Select 1 PIN5" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 18.--19. "  PIN6  ,GPIO1 Input Select 1 PIN6" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 16.--17. "  PIN7  ,GPIO1 Input Select 1 PIN7" "GPIO1_RR1,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 14.--15. " PIN8  ,GPIO1 Input Select 1 PIN8" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 12.--13. "  PIN9  ,GPIO1 Input Select 1 PIN9" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 10.--11. "  PIN10 ,GPIO1 Input Select 1 PIN10" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 8.--9. "  PIN11 ,GPIO1 Input Select 1 PIN11" "GPIO1_RR1,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 6.--7. " PIN12 ,GPIO1 Input Select 1 PIN12" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 4.--5. "  PIN13 ,GPIO1 Input Select 1 PIN13" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 2.--3. "  PIN14 ,GPIO1 Input Select 1 PIN14" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x00 0.--1. "  PIN15 ,GPIO1 Input Select 1 PIN15" "GPIO1_RR1,Pin input,Hold input,Reserved"
line.long 0x04 "GPIO1_ISR1H,GPIO1 Input Select 1 Register High"
bitfld.long 0x04 30.--31. " PIN16 ,GPIO1 Input Select 1 PIN16" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 28.--29. "  PIN17 ,GPIO1 Input Select 1 PIN17" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 26.--27. "  PIN18 ,GPIO1 Input Select 1 PIN18" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 24.--25. "  PIN19 ,GPIO1 Input Select 1 PIN19" "GPIO1_RR1,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 22.--23. " PIN20 ,GPIO1 Input Select 1 PIN20" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 20.--21. "  PIN21 ,GPIO1 Input Select 1 PIN21" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 18.--19. "  PIN22 ,GPIO1 Input Select 1 PIN22" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 16.--17. "  PIN23 ,GPIO1 Input Select 1 PIN23" "GPIO1_RR1,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 14.--15. " PIN24 ,GPIO1 Input Select 1 PIN24" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 12.--13. "  PIN25 ,GPIO1 Input Select 1 PIN25" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 10.--11. "  PIN26 ,GPIO1 Input Select 1 PIN26" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 8.--9. "  PIN27 ,GPIO1 Input Select 1 PIN27" "GPIO1_RR1,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 6.--7. " PIN28 ,GPIO1 Input Select 1 PIN28" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 4.--5. "  PIN29 ,GPIO1 Input Select 1 PIN29" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 2.--3. "  PIN30 ,GPIO1 Input Select 1 PIN30" "GPIO1_RR1,Pin input,Hold input,Reserved"
bitfld.long 0x04 0.--1. "  PIN31 ,GPIO1 Input Select 1 PIN31" "GPIO1_RR1,Pin input,Hold input,Reserved"
group (0x100+0x38)++0x07
line.long 0x00 "GPIO1_ISR2L,GPIO1 Input Select 2 Register Low"
bitfld.long 0x00 30.--31. " PIN0  ,GPIO1 Input Select 2 PIN0" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 28.--29. "  PIN1  ,GPIO1 Input Select 2 PIN1" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 26.--27. "  PIN2  ,GPIO1 Input Select 2 PIN2" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 24.--25. "  PIN3  ,GPIO1 Input Select 2 PIN3" "GPIO1_RR2,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 22.--23. " PIN4  ,GPIO1 Input Select 2 PIN4" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 20.--21. "  PIN5  ,GPIO1 Input Select 2 PIN5" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 18.--19. "  PIN6  ,GPIO1 Input Select 2 PIN6" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 16.--17. "  PIN7  ,GPIO1 Input Select 2 PIN7" "GPIO1_RR2,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 14.--15. " PIN8  ,GPIO1 Input Select 2 PIN8" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 12.--13. "  PIN9  ,GPIO1 Input Select 2 PIN9" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 10.--11. "  PIN10 ,GPIO1 Input Select 2 PIN10" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 8.--9. "  PIN11 ,GPIO1 Input Select 2 PIN11" "GPIO1_RR2,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 6.--7. " PIN12 ,GPIO1 Input Select 2 PIN12" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 4.--5. "  PIN13 ,GPIO1 Input Select 2 PIN13" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 2.--3. "  PIN14 ,GPIO1 Input Select 2 PIN14" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x00 0.--1. "  PIN15 ,GPIO1 Input Select 2 PIN15" "GPIO1_RR2,Pin input,Hold input,Reserved"
line.long 0x04 "GPIO1_ISR2H,GPIO1 Input Select 2 Register High"
bitfld.long 0x04 30.--31. " PIN16 ,GPIO1 Input Select 2 PIN16" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 28.--29. "  PIN17 ,GPIO1 Input Select 2 PIN17" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 26.--27. "  PIN18 ,GPIO1 Input Select 2 PIN18" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 24.--25. "  PIN19 ,GPIO1 Input Select 2 PIN19" "GPIO1_RR2,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 22.--23. " PIN20 ,GPIO1 Input Select 2 PIN20" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 20.--21. "  PIN21 ,GPIO1 Input Select 2 PIN21" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 18.--19. "  PIN22 ,GPIO1 Input Select 2 PIN22" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 16.--17. "  PIN23 ,GPIO1 Input Select 2 PIN23" "GPIO1_RR2,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 14.--15. " PIN24 ,GPIO1 Input Select 2 PIN24" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 12.--13. "  PIN25 ,GPIO1 Input Select 2 PIN25" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 10.--11. "  PIN26 ,GPIO1 Input Select 2 PIN26" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 8.--9. "  PIN27 ,GPIO1 Input Select 2 PIN27" "GPIO1_RR2,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 6.--7. " PIN28 ,GPIO1 Input Select 2 PIN28" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 4.--5. "  PIN29 ,GPIO1 Input Select 2 PIN29" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 2.--3. "  PIN30 ,GPIO1 Input Select 2 PIN30" "GPIO1_RR2,Pin input,Hold input,Reserved"
bitfld.long 0x04 0.--1. "  PIN31 ,GPIO1 Input Select 2 PIN31" "GPIO1_RR2,Pin input,Hold input,Reserved"
group (0x100+0x40)++0x07
line.long 0x00 "GPIO1_ISR3L,GPIO1 Input Select 3 Register Low"
bitfld.long 0x00 30.--31. " PIN0  ,GPIO1 Input Select 3 PIN0" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 28.--29. "  PIN1  ,GPIO1 Input Select 3 PIN1" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 26.--27. "  PIN2  ,GPIO1 Input Select 3 PIN2" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 24.--25. "  PIN3  ,GPIO1 Input Select 3 PIN3" "GPIO1_RR3,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 22.--23. " PIN4  ,GPIO1 Input Select 3 PIN4" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 20.--21. "  PIN5  ,GPIO1 Input Select 3 PIN5" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 18.--19. "  PIN6  ,GPIO1 Input Select 3 PIN6" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 16.--17. "  PIN7  ,GPIO1 Input Select 3 PIN7" "GPIO1_RR3,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 14.--15. " PIN8  ,GPIO1 Input Select 3 PIN8" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 12.--13. "  PIN9  ,GPIO1 Input Select 3 PIN9" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 10.--11. "  PIN10 ,GPIO1 Input Select 3 PIN10" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 8.--9. "  PIN11 ,GPIO1 Input Select 3 PIN11" "GPIO1_RR3,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x00 6.--7. " PIN12 ,GPIO1 Input Select 3 PIN12" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 4.--5. "  PIN13 ,GPIO1 Input Select 3 PIN13" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 2.--3. "  PIN14 ,GPIO1 Input Select 3 PIN14" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x00 0.--1. "  PIN15 ,GPIO1 Input Select 3 PIN15" "GPIO1_RR3,Pin input,Hold input,Reserved"
line.long 0x04 "GPIO1_ISR3H,GPIO1 Input Select 3 Register High"
bitfld.long 0x04 30.--31. " PIN16 ,GPIO1 Input Select 3 PIN16" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 28.--29. "  PIN17 ,GPIO1 Input Select 3 PIN17" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 26.--27. "  PIN18 ,GPIO1 Input Select 3 PIN18" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 24.--25. "  PIN19 ,GPIO1 Input Select 3 PIN19" "GPIO1_RR3,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 22.--23. " PIN20 ,GPIO1 Input Select 3 PIN20" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 20.--21. "  PIN21 ,GPIO1 Input Select 3 PIN21" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 18.--19. "  PIN22 ,GPIO1 Input Select 3 PIN22" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 16.--17. "  PIN23 ,GPIO1 Input Select 3 PIN23" "GPIO1_RR3,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 14.--15. " PIN24 ,GPIO1 Input Select 3 PIN24" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 12.--13. "  PIN25 ,GPIO1 Input Select 3 PIN25" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 10.--11. "  PIN26 ,GPIO1 Input Select 3 PIN26" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 8.--9. "  PIN27 ,GPIO1 Input Select 3 PIN27" "GPIO1_RR3,Pin input,Hold input,Reserved"
textline "                     "
bitfld.long 0x04 6.--7. " PIN28 ,GPIO1 Input Select 3 PIN28" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 4.--5. "  PIN29 ,GPIO1 Input Select 3 PIN29" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 2.--3. "  PIN30 ,GPIO1 Input Select 3 PIN30" "GPIO1_RR3,Pin input,Hold input,Reserved"
bitfld.long 0x04 0.--1. "  PIN31 ,GPIO1 Input Select 3 PIN31" "GPIO1_RR3,Pin input,Hold input,Reserved"
tree.end
width 0x0B
elif ((cpu()=="PPC440SP")||(cpu()=="PPC440SPE"))
;General-Purpose I/O Operations
width 12.
base ad:0x1:0xF0000000
group 0x700++0x03
line.long 0x00 "GPIO0_OR,GPIO Output"
bitfld.long 0x00 31. " PIN0  ,GPIO Output PIN0" "Low,High"
bitfld.long 0x00 30. "       PIN1  ,GPIO Output PIN1" "Low,High"
bitfld.long 0x00 29. "       PIN2  ,GPIO Output PIN2" "Low,High"
bitfld.long 0x00 28. "       PIN3  ,GPIO Output PIN3" "Low,High"
textline "                     "
bitfld.long 0x00 27. " PIN4  ,GPIO Output PIN4" "Low,High"
bitfld.long 0x00 26. "       PIN5  ,GPIO Output PIN5" "Low,High"
bitfld.long 0x00 25. "       PIN6  ,GPIO Output PIN6" "Low,High"
bitfld.long 0x00 24. "       PIN7  ,GPIO Output PIN7" "Low,High"
textline "                     "
bitfld.long 0x00 23. " PIN8  ,GPIO Output PIN8" "Low,High"
bitfld.long 0x00 22. "       PIN9  ,GPIO Output PIN9" "Low,High"
bitfld.long 0x00 21. "       PIN10 ,GPIO Output PIN10" "Low,High"
bitfld.long 0x00 20. "       PIN11 ,GPIO Output PIN11" "Low,High"
textline "                     "
bitfld.long 0x00 19. " PIN12 ,GPIO Output PIN12" "Low,High"
bitfld.long 0x00 18. "       PIN13 ,GPIO Output PIN13" "Low,High"
bitfld.long 0x00 17. "       PIN14 ,GPIO Output PIN14" "Low,High"
bitfld.long 0x00 16. "       PIN15 ,GPIO Output PIN15" "Low,High"
textline "                     "
bitfld.long 0x00 15. " PIN16 ,GPIO Output PIN16" "Low,High"
bitfld.long 0x00 14. "       PIN17 ,GPIO Output PIN17" "Low,High"
bitfld.long 0x00 13. "       PIN18 ,GPIO Output PIN18" "Low,High"
bitfld.long 0x00 12. "       PIN19 ,GPIO Output PIN19" "Low,High"
textline "                     "
bitfld.long 0x00 11. " PIN20 ,GPIO Output PIN20" "Low,High"
bitfld.long 0x00 10. "       PIN21 ,GPIO Output PIN21" "Low,High"
bitfld.long 0x00 9. "       PIN22 ,GPIO Output PIN22" "Low,High"
bitfld.long 0x00 8. "       PIN23 ,GPIO Output PIN23" "Low,High"
textline "                     "
bitfld.long 0x00 7. " PIN24 ,GPIO Output PIN24" "Low,High"
bitfld.long 0x00 6. "       PIN25 ,GPIO Output PIN25" "Low,High"
bitfld.long 0x00 5. "       PIN26 ,GPIO Output PIN26" "Low,High"
bitfld.long 0x00 4. "       PIN27 ,GPIO Output PIN27" "Low,High"
textline "                     "
bitfld.long 0x00 3. " PIN28 ,GPIO Output PIN28" "Low,High"
bitfld.long 0x00 2. "       PIN29 ,GPIO Output PIN29" "Low,High"
bitfld.long 0x00 1. "       PIN30 ,GPIO Output PIN30" "Low,High"
bitfld.long 0x00 0. "       PIN31 ,GPIO Output PIN31" "Low,High"
group 0x704++0x03
line.long 0x00 "GPIO_TCR,GPIO Three-State Control"
bitfld.long 0x00 31. " PIN0  ,GPIO Three-State Control PIN0" "Tri-state,Output"
bitfld.long 0x00 30. "  PIN1  ,GPIO Three-State Control PIN1" "Tri-state,Output"
bitfld.long 0x00 29. "  PIN2  ,GPIO Three-State Control PIN2" "Tri-state,Output"
bitfld.long 0x00 28. "  PIN3  ,GPIO Three-State Control PIN3" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 27. " PIN4  ,GPIO Three-State Control PIN4" "Tri-state,Output"
bitfld.long 0x00 26. "  PIN5  ,GPIO Three-State Control PIN5" "Tri-state,Output"
bitfld.long 0x00 25. "  PIN6  ,GPIO Three-State Control PIN6" "Tri-state,Output"
bitfld.long 0x00 24. "  PIN7  ,GPIO Three-State Control PIN7" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 23. " PIN8  ,GPIO Three-State Control PIN8" "Tri-state,Output"
bitfld.long 0x00 22. "  PIN9  ,GPIO Three-State Control PIN9" "Tri-state,Output"
bitfld.long 0x00 21. "  PIN10 ,GPIO Three-State Control PIN10" "Tri-state,Output"
bitfld.long 0x00 20. "  PIN11 ,GPIO Three-State Control PIN11" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 19. " PIN12 ,GPIO Three-State Control PIN12" "Tri-state,Output"
bitfld.long 0x00 18. "  PIN13 ,GPIO Three-State Control PIN13" "Tri-state,Output"
bitfld.long 0x00 17. "  PIN14 ,GPIO Three-State Control PIN14" "Tri-state,Output"
bitfld.long 0x00 16. "  PIN15 ,GPIO Three-State Control PIN15" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 15. " PIN16 ,GPIO Three-State Control PIN16" "Tri-state,Output"
bitfld.long 0x00 14. "  PIN17 ,GPIO Three-State Control PIN17" "Tri-state,Output"
bitfld.long 0x00 13. "  PIN18 ,GPIO Three-State Control PIN18" "Tri-state,Output"
bitfld.long 0x00 12. "  PIN19 ,GPIO Three-State Control PIN19" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 11. " PIN20 ,GPIO Three-State Control PIN20" "Tri-state,Output"
bitfld.long 0x00 10. "  PIN21 ,GPIO Three-State Control PIN21" "Tri-state,Output"
bitfld.long 0x00 9. "  PIN22 ,GPIO Three-State Control PIN22" "Tri-state,Output"
bitfld.long 0x00 8. "  PIN23 ,GPIO Three-State Control PIN23" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 7. " PIN24 ,GPIO Three-State Control PIN24" "Tri-state,Output"
bitfld.long 0x00 6. "  PIN25 ,GPIO Three-State Control PIN25" "Tri-state,Output"
bitfld.long 0x00 5. "  PIN26 ,GPIO Three-State Control PIN26" "Tri-state,Output"
bitfld.long 0x00 4. "  PIN27 ,GPIO Three-State Control PIN27" "Tri-state,Output"
textline "                     "
bitfld.long 0x00 3. " PIN28 ,GPIO Three-State Control PIN28" "Tri-state,Output"
bitfld.long 0x00 2. "  PIN29 ,GPIO Three-State Control PIN29" "Tri-state,Output"
bitfld.long 0x00 1. "  PIN30 ,GPIO Three-State Control PIN30" "Tri-state,Output"
bitfld.long 0x00 0. "  PIN31 ,GPIO Three-State Control PIN31" "Tri-state,Output"
group 0x718++0x03
line.long 0x00 "GPIO_ODR,GPIO Open Drain Register"
bitfld.long 0x00 31. " PIN0  ,GPIO Open Drain PIN0" "-,Enabled"
bitfld.long 0x00 30. "    PIN1  ,GPIO Open Drain PIN1" "-,Enabled"
bitfld.long 0x00 29. "    PIN2  ,GPIO Open Drain PIN2" "-,Enabled"
bitfld.long 0x00 28. "    PIN3  ,GPIO Open Drain PIN3" "-,Enabled"
textline "                     "
bitfld.long 0x00 27. " PIN4  ,GPIO Open Drain PIN4" "-,Enabled"
bitfld.long 0x00 26. "    PIN5  ,GPIO Open Drain PIN5" "-,Enabled"
bitfld.long 0x00 25. "    PIN6  ,GPIO Open Drain PIN6" "-,Enabled"
bitfld.long 0x00 24. "    PIN7  ,GPIO Open Drain PIN7" "-,Enabled"
textline "                     "
bitfld.long 0x00 23. " PIN8  ,GPIO Open Drain PIN8" "-,Enabled"
bitfld.long 0x00 22. "    PIN9  ,GPIO Open Drain PIN9" "-,Enabled"
bitfld.long 0x00 21. "    PIN10 ,GPIO Open Drain PIN10" "-,Enabled"
bitfld.long 0x00 20. "    PIN11 ,GPIO Open Drain PIN11" "-,Enabled"
textline "                     "
bitfld.long 0x00 19. " PIN12 ,GPIO Open Drain PIN12" "-,Enabled"
bitfld.long 0x00 18. "    PIN13 ,GPIO Open Drain PIN13" "-,Enabled"
bitfld.long 0x00 17. "    PIN14 ,GPIO Open Drain PIN14" "-,Enabled"
bitfld.long 0x00 16. "    PIN15 ,GPIO Open Drain PIN15" "-,Enabled"
textline "                     "
bitfld.long 0x00 15. " PIN16 ,GPIO Open Drain PIN16" "-,Enabled"
bitfld.long 0x00 14. "    PIN17 ,GPIO Open Drain PIN17" "-,Enabled"
bitfld.long 0x00 13. "    PIN18 ,GPIO Open Drain PIN18" "-,Enabled"
bitfld.long 0x00 12. "    PIN19 ,GPIO Open Drain PIN19" "-,Enabled"
textline "                     "
bitfld.long 0x00 11. " PIN20 ,GPIO Open Drain PIN20" "-,Enabled"
bitfld.long 0x00 10. "    PIN21 ,GPIO Open Drain PIN21" "-,Enabled"
bitfld.long 0x00 9. "    PIN22 ,GPIO Open Drain PIN22" "-,Enabled"
bitfld.long 0x00 8. "    PIN23 ,GPIO Open Drain PIN23" "-,Enabled"
textline "                     "
bitfld.long 0x00 7. " PIN24 ,GPIO Open Drain PIN24" "-,Enabled"
bitfld.long 0x00 6. "    PIN25 ,GPIO Open Drain PIN25" "-,Enabled"
bitfld.long 0x00 5. "    PIN26 ,GPIO Open Drain PIN26" "-,Enabled"
bitfld.long 0x00 4. "    PIN27 ,GPIO Open Drain PIN27" "-,Enabled"
textline "                     "
bitfld.long 0x00 3. " PIN28 ,GPIO Open Drain PIN28" "-,Enabled"
bitfld.long 0x00 2. "    PIN29 ,GPIO Open Drain PIN29" "-,Enabled"
bitfld.long 0x00 1. "    PIN30 ,GPIO Open Drain PIN30" "-,Enabled"
bitfld.long 0x00 0. "    PIN31 ,GPIO Open Drain PIN31" "-,Enabled"
rgroup 0x71C++0x03
line.long 0x00 "GPIO_IR,GPIO Input Register"
bitfld.long 0x00 31. " PIN0  ,GPIO Input PIN0" "Low,High"
bitfld.long 0x00 30. "       PIN1  ,GPIO Input PIN1" "Low,High"
bitfld.long 0x00 29. "       PIN2  ,GPIO Input PIN2" "Low,High"
bitfld.long 0x00 28. "       PIN3  ,GPIO Input PIN3" "Low,High"
textline "                     "
bitfld.long 0x00 27. " PIN4  ,GPIO Input PIN4" "Low,High"
bitfld.long 0x00 26. "       PIN5  ,GPIO Input PIN5" "Low,High"
bitfld.long 0x00 25. "       PIN6  ,GPIO Input PIN6" "Low,High"
bitfld.long 0x00 24. "       PIN7  ,GPIO Input PIN7" "Low,High"
textline "                     "
bitfld.long 0x00 23. " PIN8  ,GPIO Input PIN8" "Low,High"
bitfld.long 0x00 22. "       PIN9  ,GPIO Input PIN9" "Low,High"
bitfld.long 0x00 21. "       PIN10 ,GPIO Input PIN10" "Low,High"
bitfld.long 0x00 20. "       PIN11 ,GPIO Input PIN11" "Low,High"
textline "                     "
bitfld.long 0x00 19. " PIN12 ,GPIO Input PIN12" "Low,High"
bitfld.long 0x00 18. "       PIN13 ,GPIO Input PIN13" "Low,High"
bitfld.long 0x00 17. "       PIN14 ,GPIO Input PIN14" "Low,High"
bitfld.long 0x00 16. "       PIN15 ,GPIO Input PIN15" "Low,High"
textline "                     "
bitfld.long 0x00 15. " PIN16 ,GPIO Input PIN16" "Low,High"
bitfld.long 0x00 14. "       PIN17 ,GPIO Input PIN17" "Low,High"
bitfld.long 0x00 13. "       PIN18 ,GPIO Input PIN18" "Low,High"
bitfld.long 0x00 12. "       PIN19 ,GPIO Input PIN19" "Low,High"
textline "                     "
bitfld.long 0x00 11. " PIN20 ,GPIO Input PIN20" "Low,High"
bitfld.long 0x00 10. "       PIN21 ,GPIO Input PIN21" "Low,High"
bitfld.long 0x00 9. "       PIN22 ,GPIO Input PIN22" "Low,High"
bitfld.long 0x00 8. "       PIN23 ,GPIO Input PIN23" "Low,High"
textline "                     "
bitfld.long 0x00 7. " PIN24 ,GPIO Input PIN24" "Low,High"
bitfld.long 0x00 6. "       PIN25 ,GPIO Input PIN25" "Low,High"
bitfld.long 0x00 5. "       PIN26 ,GPIO Input PIN26" "Low,High"
bitfld.long 0x00 4. "       PIN27 ,GPIO Input PIN27" "Low,High"
textline "                     "
bitfld.long 0x00 3. " PIN28 ,GPIO Input PIN28" "Low,High"
bitfld.long 0x00 2. "       PIN29 ,GPIO Input PIN29" "Low,High"
bitfld.long 0x00 1. "       PIN30 ,GPIO Input PIN30" "Low,High"
bitfld.long 0x00 0. "       PIN31 ,GPIO Input PIN31" "Low,High"
width 0x0B
endif
tree.end
;tree "GPIO (General-Purpose Interface Signals)"
tree.open "TCP/IP Accelerators on Hardware"
sif (cpu()=="PPC440GX")
base ANC:0x1:0x40000000
tree "TAH0"
width 12.
rgroup.long (0xB50+0x000)++0x3
line.long 0x0 "TAH0_REVID,TAH0 Revision ID Register"
hexmask.long.word 0x00 8.--19. 1. " RN  ,Revision Number"
hexmask.long.byte 0x00 0.--7. 1. "      BRN  ,Branch Revision Number"
group.long (0xB60+0x000)++0x17
line.long 0x0 "TAH0_MR,TAH0 Mode Register"
bitfld.long 0x00 31. " CVR ,Checksum Verification on Receive" "-,Enabled"
bitfld.long 0x00 30. "   SR   ,TAH Software Reset" "-,Reset"
bitfld.long 0x00 24.--29. "     ST  ,Send Threshold" "256 bytes,256 bytes,512 bytes,768 bytes,1024 bytes,1280 bytes,1536 bytes,1792 bytes,2048 bytes,2304 bytes,2560 bytes,2816 bytes,3072 bytes,3328 bytes,3584 bytes,3840 bytes,4096 bytes,4352 bytes,4608 bytes,4864 bytes,5120 bytes,5376 bytes,5632 bytes,5888 bytes,6144 bytes,6400 bytes,6656 bytes,6912 bytes,7168 bytes,7424 bytes,7680 bytes,7936 bytes,8192 bytes,8448 bytes,8704 bytes,8960 bytes,9216 bytes,9472 bytes,9728 bytes,9984 bytes,10240 bytes,10496 bytes,10752 bytes,11008 bytes,11264 bytes,11520 bytes,11776 bytes,12032 bytes,12288 bytes,12544 bytes,12800 bytes,13056 bytes,13312 bytes,13568 bytes,13824 bytes,14080 bytes,14336 bytes,14592 bytes,14848 bytes,15104 bytes,15360 bytes,15616 bytes,15872 bytes,16128 bytes"
textline "                     "
bitfld.long 0x00 21.--23. " TFS ,Transmit FIFO Size" "Reserved,2 Kbyte,4 Kbyte,6 Kbyte,8 Kbyte,10 Kbyte,Reserved,Reserved"
bitfld.long 0x00 20. "  DTFP ,Disable Transmit FIFO Parity Protection" "-,Disabled"
bitfld.long 0x00 19. "  DIG ,Disable Interrupt Generation" "-,Disabled"
line.long 0x4 "TAH0_SSR0,TAH0 Segment Size Register 0"
hexmask.long.word 0x4 17.--29. 1. " SS  ,Segment Size"
line.long 0x8 "TAH0_SSR1,TAH0 Segment Size Register 1"
hexmask.long.word 0x8 17.--29. 1. " SS  ,Segment Size"
line.long 0xC "TAH0_SSR2,TAH0 Segment Size Register 2"
hexmask.long.word 0xC 17.--29. 1. " SS  ,Segment Size"
line.long 0x10 "TAH0_SSR3,TAH0 Segment Size Register 3"
hexmask.long.word 0x10 17.--29. 1. " SS  ,Segment Size"
line.long 0x14 "TAH0_SSR4,TAH0 Segment Size Register 4"
hexmask.long.word 0x14 17.--29. 1. " SS  ,Segment Size"
hgroup.long (0xB7C+0x000)++0x3
hide.long 0x0 "TAH0_TSR,TAH0 Transmit Status Register"
in
group.long (0xB78+0x000)++0x3
line.long 0x0 "TAH0_SSR5,TAH0 Segment Size Register 5"
hexmask.long.word 0x0 17.--29. 1. " SS  ,Segment Size"
width 0xb
tree.end
tree "TAH1"
width 12.
rgroup.long (0xB50+0x200)++0x3
line.long 0x0 "TAH1_REVID,TAH1 Revision ID Register"
hexmask.long.word 0x00 8.--19. 1. " RN  ,Revision Number"
hexmask.long.byte 0x00 0.--7. 1. "      BRN  ,Branch Revision Number"
group.long (0xB60+0x200)++0x17
line.long 0x0 "TAH1_MR,TAH1 Mode Register"
bitfld.long 0x00 31. " CVR ,Checksum Verification on Receive" "-,Enabled"
bitfld.long 0x00 30. "   SR   ,TAH Software Reset" "-,Reset"
bitfld.long 0x00 24.--29. "     ST  ,Send Threshold" "256 bytes,256 bytes,512 bytes,768 bytes,1024 bytes,1280 bytes,1536 bytes,1792 bytes,2048 bytes,2304 bytes,2560 bytes,2816 bytes,3072 bytes,3328 bytes,3584 bytes,3840 bytes,4096 bytes,4352 bytes,4608 bytes,4864 bytes,5120 bytes,5376 bytes,5632 bytes,5888 bytes,6144 bytes,6400 bytes,6656 bytes,6912 bytes,7168 bytes,7424 bytes,7680 bytes,7936 bytes,8192 bytes,8448 bytes,8704 bytes,8960 bytes,9216 bytes,9472 bytes,9728 bytes,9984 bytes,10240 bytes,10496 bytes,10752 bytes,11008 bytes,11264 bytes,11520 bytes,11776 bytes,12032 bytes,12288 bytes,12544 bytes,12800 bytes,13056 bytes,13312 bytes,13568 bytes,13824 bytes,14080 bytes,14336 bytes,14592 bytes,14848 bytes,15104 bytes,15360 bytes,15616 bytes,15872 bytes,16128 bytes"
textline "                     "
bitfld.long 0x00 21.--23. " TFS ,Transmit FIFO Size" "Reserved,2 Kbyte,4 Kbyte,6 Kbyte,8 Kbyte,10 Kbyte,Reserved,Reserved"
bitfld.long 0x00 20. "  DTFP ,Disable Transmit FIFO Parity Protection" "-,Disabled"
bitfld.long 0x00 19. "  DIG ,Disable Interrupt Generation" "-,Disabled"
line.long 0x4 "TAH1_SSR0,TAH1 Segment Size Register 0"
hexmask.long.word 0x4 17.--29. 1. " SS  ,Segment Size"
line.long 0x8 "TAH1_SSR1,TAH1 Segment Size Register 1"
hexmask.long.word 0x8 17.--29. 1. " SS  ,Segment Size"
line.long 0xC "TAH1_SSR2,TAH1 Segment Size Register 2"
hexmask.long.word 0xC 17.--29. 1. " SS  ,Segment Size"
line.long 0x10 "TAH1_SSR3,TAH1 Segment Size Register 3"
hexmask.long.word 0x10 17.--29. 1. " SS  ,Segment Size"
line.long 0x14 "TAH1_SSR4,TAH1 Segment Size Register 4"
hexmask.long.word 0x14 17.--29. 1. " SS  ,Segment Size"
hgroup.long (0xB7C+0x200)++0x3
hide.long 0x0 "TAH1_TSR,TAH1 Transmit Status Register"
in
group.long (0xB78+0x200)++0x3
line.long 0x0 "TAH1_SSR5,TAH1 Segment Size Register 5"
hexmask.long.word 0x0 17.--29. 1. " SS  ,Segment Size"
width 0xb
tree.end
endif
tree.end
;tree.open "TCP/IP Accelerators on Hardware"
;    tree "NDF (NAND Flash Controller)"
;        sif ((cpu()=="PPC440EP")||(cpu()=="PPC440GR")||(cpu()=="PPC440EPX"))
;            %include 440ep/ndfc.ph 0xFFFF0000
;
;             NOTE:(PPC440EP, PPC440GR, PPC440EPX) The parameter is base address of NDFC controller, which depends of EBC configuration
;        endif
;    tree.end
tree "USB (Universal Serial Bus Interfaces)"
sif (cpu()=="PPC440EP")
;Universal Serial Bus Interfaces
width 0x0B
group dcr:0x0001++0x03
saveout dcr:0x0000 %l 0x0320
line.long 0x00 "SDR0_USB0,USB Control Register"
bitfld.long 0x00 1. " USB2D ,USB Device Interface Selection" "USB2.0,USB1.1"
bitfld.long 0x00 0. "  LE ,Little Endian" "-,Enabled"
width 0x0B
elif (cpu()=="PPC440EPX")
width 17.
tree "Configuration Registers"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4103
line.long 0x00 "SDR0_USB2PHY0CR,USB2PHY0 Control Register"
bitfld.long 0x00 30.--31. " CLKSEL ,Select Reference Clock Frequency" "12MHz,48MHz,24MHz,Reserved"
bitfld.long 0x00 29. "       XOCLK     ,Select Clock for XO Block" "External,Crystal"
bitfld.long 0x00 28. "      XOREF  ,Select Reference Clock Source" "48M,XO"
textline "                          "
bitfld.long 0x00 27. " PWRSAV ,Select PHY Power-Save Mode" "-,Enabled"
bitfld.long 0x00 26. "        XOON      ,Force XO Block on During a Suspend" "On,Off"
bitfld.long 0x00 25. "           LOOPEN ,Loop back Test Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 24. " WDINT  ,PHY UTMI Data Width and Clock Select" "8-bit/60 MHz,16-bit/30 MHz"
bitfld.long 0x00 23. "  DVBUS     ,VBus Detect (Device mode only)" "-,Enabled"
bitfld.long 0x00 22. "       DWNSTR ,Select Downstream Port Mode" "Device,Host"
textline "                          "
bitfld.long 0x00 20. " UTMICN ,UTMI Interface Connection" "Device,Host"
rgroup dcr:0x000F++0x00
saveout dcr:0x000E %l 0x4600
line.long 0x00 "SDR0_USB2H0ST,USB2 Host Status Register"
bitfld.long 0x00 8. " ORWE   ,OHCI Remote Wakeup Enabled" "-,Enabled"
bitfld.long 0x00 7. "        ODRWE     ,OHCI Device Remote Wakeup Enabled" "-,Enabled"
bitfld.long 0x00 6. "       OSUS   ,OHCI Port Suspend Status" "Active,Suspended"
textline "                          "
bitfld.long 0x00 5. " IAA    ,Interrupt on Async Advance" "-,Interrupt"
bitfld.long 0x00 4. "      HSE       ,Host System Error" "-,Error"
bitfld.long 0x00 3. "         FLR    ,Frame List Rollover" "-,Rollover"
textline "                          "
bitfld.long 0x00 2. " PCD    ,Port Change Detect" "-,Detected"
bitfld.long 0x00 1. "       ERRINT    ,USB Error Interrupt" "-,Interrupt"
bitfld.long 0x00 0. "     USBINT ,USB Interrupt" "-,Interrupt"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x340
line.long 0x00 "SDR0_USB2H0CR,USB2 Host Control Register"
hexmask.long.byte 0x00 1.--6. 1. " EFLADJ ,EHCI Frame Length Adjustment"
bitfld.long 0x00 0. "             WDINT     ,Host UTMI Word Interface" "8-bit/60MHz,16-bit/30MHz"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x320
line.long 0x00 "SDR0_USB2D0CR,USB2 Device Control Register"
bitfld.long 0x00 2. " USBEBC ,Select USB 2.0 Device or EBC" "EBC,USB2"
tree.end
base ANC:0xE0000300
tree "Host Interface"
rgroup 0x00++0x03 "EHCI Registers"
line.long 0x00 "EHCI0_HCCAPBASE,Version/Capability Length Register"
hexmask.long.word 0x00 16.--31. 1. " HCIVER ,Interface Version Number"
hexmask.long.byte 0x00  0.--7.  1. "         CAPLTH ,Capability Register Length"
rgroup 0x04++0x03
line.long 0x00 "EHCI0_HCSPARAMS,Structural Parameters Register"
bitfld.long 0x00 20.--23. " DPN    ,Debug Port Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 16. "           PIND   ,Port Indicators" "0,1"
bitfld.long 0x00 12.--15. "              NCC    ,Number of Companion Controllers" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
textline "                          "
bitfld.long 0x00 8.--11. " NPCC   ,Number of Ports per Companion Controller" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 7. "           PRR    ,Port Routing Rules" "0,1"
bitfld.long 0x00 4. "              PPC    ,Port Power Control" "-,Powered"
textline "                          "
bitfld.long 0x00 0.--3. " NPORTS ,Number of Downstream Ports" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
rgroup 0x08++0x03
line.long 0x00 "EHCI0_HCCPARAMS,Capability Parameters Register"
hexmask.long.byte 0x00 8.--15. 1. " EECP   ,EHCI Extended Capabilities Pointer"
bitfld.long 0x00 4.--7. "           IST    ,Isochronous Scheduling Threshold" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 2. "             ASPC   ,Asynchronous Schedule Park Capability" "0,1"
textline "                          "
bitfld.long 0x00 1. " PFLF   ,Programmable Frame List Flag" "0,1"
bitfld.long 0x00 0. "            64BAC  ,64-bit Addressing Capability" "0,1"
group 0x10++0x03
line.long 0x00 "EHCI0_USBCMD,USB Command Register"
hexmask.long.byte 0x00 16.--23. 1. " ITC    ,Interrupt Threshold Control"
bitfld.long 0x00 11. "           ASPME  ,Asynchronous Schedule Park Mode Enable" "-,Enabled"
bitfld.long 0x00 8.--9. "        ASPMC  ,Asynchronous Schedule Park Mode Count" "0,1,2,3"
textline "                          "
bitfld.long 0x00 7. " LHRC   ,Light Host Controller Reset" "-,Reset"
bitfld.long 0x00 6. "        IAAD   ,Interrupt on Async Advance Doorbell" "-,Enabled"
bitfld.long 0x00 5. "        ASE    ,Asynchronous Schedule Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 4. " PSE    ,Periodic Schedule Enable" "-,Enabled"
bitfld.long 0x00 2.--3. "      FLS    ,Frame List Size" "0,1,2,3"
bitfld.long 0x00 1. "              HCRST  ,Host Controller Reset" "-,Reset"
textline "                          "
bitfld.long 0x00 0. " RS     ,Run/Stop" "Run,Stop"
group 0x14++0x03
line.long 0x00 "EHCI0_USBSTS,USB Status Register"
bitfld.long 0x00 15. " ASS    ,Asynchronous Schedule Status" "-,Enabled"
bitfld.long 0x00 14. "      PSS    ,Periodic Schedule Status" "-,Enabled"
bitfld.long 0x00 13. "        R      ,Reclamation" "0,1"
textline "                          "
bitfld.long 0x00 12. " HCH    ,HCHalted" "-,Halted"
bitfld.long 0x00 5. "       IAA    ,Interrupt on Async Advance" "-,Interrupt"
bitfld.long 0x00 4. "      HSE    ,Host System Error" "-,Error"
textline "                          "
bitfld.long 0x00 3. " FLR    ,Frame List Rollover" "-,Rollover"
bitfld.long 0x00 2. "     PCD    ,Port Change Detect" "-,Detected"
bitfld.long 0x00 1. "       ERRINT ,USB Error Interrupt" "-,Interrupt"
textline "                          "
bitfld.long 0x00 0. " USBINT ,USB Interrupt" "-,Interrupt"
group 0x18++0x03
line.long 0x00 "EHCI0_USBINTR,USB Interrupt Enable Register"
bitfld.long 0x00 5. " IAAE   ,Interrupt on Async Advance Enable" "-,Enabled"
bitfld.long 0x00 4. "      HSEE   ,Host System Error Enable" "-,Enabled"
bitfld.long 0x00 3. "        FLRE   ,Frame List Rollover Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 2. " PCDE   ,Port Change Detect Enable" "-,Enabled"
bitfld.long 0x00 1. "      USBEIE ,USB Error Interrupt Enable" "-,Enabled"
bitfld.long 0x00 0. "        USBIE  ,USB Interrupt Enable" "-,Enabled"
group 0x1c++0x03
line.long 0x00 "EHCI0_FRINDEX,EHCI Frame Index Register"
hexmask.long.word 0x00 0.--13. 1. " FI     ,Frame Index"
group 0x20++0x03
line.long 0x00 "EHCI0_CRTLSEG,Control Data Structure Segment Register"
hexmask.long 0x00 0.--31. 1. " 4GCDA  ,4Gb Control Data Structure Segment Address"
group 0x24++0x03
line.long 0x00 "EHCI0_PRDLISTB,Periodic Frame List Base Address Register"
hexmask.long 0x00 12.--31. 0x1000 " LOW    ,Base Address"
group 0x28++0x03
line.long 0x00 "EHCI0_ASYNCLSTA,Current Asynchronous List Address Register"
hexmask.long 0x00 5.--31. 1. " LPL    ,Link Pointer Low"
group 0x50++0x03
line.long 0x00 "EHCI0_CFGFLAG,Configure Flag Register"
bitfld.long 0x00 0. " CF     ,Configure Flag" "0,1"
group 0x54++0x03
line.long 0x00 "EHCI0_PORTSC,Port Status and Control Register"
bitfld.long 0x00 22. " WKOCE  ,Wake on Over-current Enable" "-,Enabled"
bitfld.long 0x00 21. "      WKDCTE ,Wake on Disconnect Enable" "-,Enabled"
bitfld.long 0x00 20. "        WKCTE  ,Wake on Connect Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 16.--19. " PTC    ,Port Test Control" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
bitfld.long 0x00 14.--15. "           PIC    ,Port Indicator Control" "0,1,2,3"
bitfld.long 0x00 13. "              PO     ,Port Owner" "0,1"
textline "                          "
bitfld.long 0x00 12. " PP     ,Port Power" "0,1"
bitfld.long 0x00 10.--11. "            LS     ,Line Status" "0,1,2,3"
bitfld.long 0x00 8. "              PR     ,Port Reset" "-,Reset"
textline "                          "
bitfld.long 0x00 7. " S      ,Suspend" "-,Suspended"
bitfld.long 0x00 6. "    FPR    ,Force Port Resume" "-,Forced"
bitfld.long 0x00 5. "         OCC    ,Over Current Change" "0,1"
textline "                          "
bitfld.long 0x00 4. " OCA    ,Over Current Active" "-,Active"
bitfld.long 0x00 3. "       PEDC   ,Port Enable/Disable Change" "-,Changed"
bitfld.long 0x00 2. "        PED    ,Port Enable/Disable" "-,Enabled"
textline "                          "
bitfld.long 0x00 1. " CSC    ,Connect Status Change" "-,Changed"
bitfld.long 0x00 0. "      CCS    ,Current Connect Status" "-,Connected"
group 0x90++0x03
line.long 0x00 "EHCI0_INSNREG0,Programmable Microframe Base Value Register"
hexmask.long.word 0x00 1.--13. 1. " 1MFCV  ,Microframe Counter Value"
bitfld.long 0x00 0. "         EMFCV  ,Enable Microframe Counter Value" "-,Enabled"
group 0x94++0x03
line.long 0x00 "EHCI0_INSNREG1,Programmable Packet Buffer Threshold Register"
hexmask.long.word 0x00 16.--31. 1. " PPBOTV ,Programmable Packet Buffer OUT Threshold Value"
hexmask.long.word 0x00 0.--15. 1. "         PPBITV ,Programmable Packet Buffer IN Threshold Value"
group 0x98++0x03
line.long 0x00 "EHCI0_INSNREG2,Programmable Packet Buffer Depth Register"
hexmask.long.word 0x00 0.--11. 1. " PPBDV  ,Programmable Packet Buffer Depth Value"
group 0x9c++0x03
line.long 0x00 "EHCI0_INSNREG3,Break Memory Transfer Register"
bitfld.long 0x00 0. " BMT    ,Break Memory Transfer" "-,Enabled"
group 0xa0++0x03
line.long 0x00 "EHCI0_INSNREG4,Debug Only Register"
bitfld.long 0x00 2. " ESDPET ,Enable Scale Down Port Enumeration Time" "-,Enabled"
bitfld.long 0x00 1. "      EWHCCP ,Enable Writable EHCI0_HCCPARAMS Register" "Read,Writable"
bitfld.long 0x00 0. "       EWHCSP ,Enable Writable EHCI0_HCSPARAMS Register" "Read,Writable"
;group 0xa4++0x03
;    line.long 0x00 "EHCI0_INSNREG5,UTMI Control and Status Register"
;        bitfld.long 0x00 17. " VB     ,Writing Allowed" "Allowed,-"
;        bitfld.long 0x00 13.--16. "      PN     ,Port Number" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
;        bitfld.long 0x00 12. "             VL     ,VLoad" "Load,NOP"
;    textline "                          "
;        bitfld.long 0x00 8.--11. " VC     ,VControl" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
;        hexmask.long.byte 0x00 0.--7. 1. "           VS     ,VStatus"
base ANC:0xE0000400
rgroup 0x00++0x03 "OHCI Registers"
line.long 0x00 "OHCI0_HCREV,Revision Register"
bitfld.long 0x00 8. " L      ,Legacy" "0,1"
hexmask.long.byte 0x00 0.--7. 1. "            REV    ,OHCI Revision Number"
group 0x04++0x03
line.long 0x00 "OHCI0_HCCTRL,Control Register"
bitfld.long 0x00 10. " RWE    ,Remote Wakeup Enable" "-,Enabled"
bitfld.long 0x00 9. "      RWC    ,Remote Wakeup Connected" "-,Connected"
bitfld.long 0x00 8. "      IR     ,Interrupt Routing" "-,Routed"
textline "                          "
bitfld.long 0x00 6.--7. " HCFS   ,Host Controller Functional State" "0,1,2,3"
bitfld.long 0x00 5. "            BLE    ,Bulk List Enable" "-,Enabled"
bitfld.long 0x00 4. "        CLE    ,Control List Enable" "-,Enabled"
textline "                          "
bitfld.long 0x00 3. " IE     ,Isochronous Enable" "-,Enabled"
bitfld.long 0x00 2. "      PLE    ,Periodic List Enable" "-,Enabled"
bitfld.long 0x00 0.--1. "        CBSR   ,Control Bulk Service Ratio" "0,1,2,3"
group 0x08++0x03
line.long 0x00 "OHCI0_HCCMDSTS,Command Status Register"
bitfld.long 0x00 16.--17. " SOC    ,Scheduling Overrun Count" "0,1,2,3"
bitfld.long 0x00 3. "            OCR    ,Ownership Change Request" "-,Requested"
bitfld.long 0x00 2. "      BLF    ,Bulk List Filled" "-,Filled"
textline "                          "
bitfld.long 0x00 1. " CLF    ,Control List Filled" "-,Filled"
bitfld.long 0x00 0. "       HCR    ,Host Controller Reset" "-,Reset"
group 0x0c++0x03
line.long 0x00 "OHCI0_HCINTSTS,Interrupt Status Register"
bitfld.long 0x00 30. " OC     ,Ownership Change" "-,Interrupt"
bitfld.long 0x00 6. "    RHSC   ,Root Hub Status Change" "-,Interrupt"
bitfld.long 0x00 5. "      FNO    ,Frame Number Overflow" "-,Interrupt"
textline "                          "
bitfld.long 0x00 4. " UE     ,Unrecoverable Error" "-,Interrupt"
bitfld.long 0x00 3. "    RD     ,Resume Detected" "-,Interrupt"
bitfld.long 0x00 2. "      SF     ,Start of Frame" "-,Interrupt"
textline "                          "
bitfld.long 0x00 1. " WDH    ,Write Back Done Head" "-,Interrupt"
bitfld.long 0x00 0. "    SO     ,Scheduling Overrun" "-,Interrupt"
group 0x10++0x03
line.long 0x00 "OHCI0_HCINTE,Interrupt Enable Register"
bitfld.long 0x00 31. " MIE    ,MIE" "-,Enabled"
bitfld.long 0x00 30. "      OC     ,Enable Interrupt generation due to Ownership Change" "-,Enabled"
bitfld.long 0x00 6. "        RHSC   ,Enable Interrupt generation due to Root Hub Status Change" "-,Enabled"
textline "                          "
bitfld.long 0x00 5. " FNO    ,Enable Interrupt Generation due to Frame Number Overflow" "-,Enabled"
bitfld.long 0x00 4. "      UE     ,Enable Interrupt Generation due to Unrecoverable Error" "-,Enabled"
bitfld.long 0x00 3. "        RD     ,Enable Interrupt Generation due to Resume Detected" "-,Enabled"
textline "                          "
bitfld.long 0x00 2. " SF     ,Enable Interrupt Generation due to Start of Frame" "-,Enabled"
bitfld.long 0x00 1. "      WDH    ,Enable Interrupt Generation due to Write Back Done Head" "-,Enabled"
bitfld.long 0x00 0. "        SO     ,Enable interrupt generation due to Scheduling Overrun" "-,Enabled"
group 0x14++0x03
line.long 0x00 "OHCI0_HCINTDIS,Interrupt Disable Register"
bitfld.long 0x00 31. " MIE    ,MIE" "-,Disabled"
bitfld.long 0x00 30. "     OC     ,Disable Interrupt Generation due to Ownership Change" "-,Disabled"
bitfld.long 0x00 6. "       RHSC   ,Disable Interrupt Generation due to Root Hub Status Change" "-,Disabled"
textline "                          "
bitfld.long 0x00 5. " FNO    ,Disable Interrupt Generation due to Frame Number Overflow" "-,Disabled"
bitfld.long 0x00 4. "     UE     ,Disable Interrupt Generation due to Unrecoverable Error" "-,Disabled"
bitfld.long 0x00 3. "       RD     ,Disable Interrupt Generation due to Resume Detected" "-,Disabled"
textline "                          "
bitfld.long 0x00 2. " SF     ,Disable Interrupt Generation due to Start of Frame" "-,Disabled"
bitfld.long 0x00 1. "     WDH    ,Disable Interrupt Generation due to Write Back Done Head" "-,Disabled"
bitfld.long 0x00 0. "       SO     ,Disable Interrupt Generation due to Scheduling Overrun" "-,Disabled"
group 0x18++0x03
line.long 0x00 "OHCI0_HCHCCA,Host Controller Communications Area Register"
hexmask.long 0x00 8.--31. 1. " HCCA   ,Host Controller Communications Area"
group 0x1c++0x03
line.long 0x00 "OHCI0_HCPCED,Periodic Current Endpoint Descriptor Register"
hexmask.long 0x00 4.--31. 1. " PCED   ,Period Current ED"
group 0x20++0x03
line.long 0x00 "OHCI0_HCCHED,Control Head Endpoint Descriptor Register"
hexmask.long 0x00 4.--31. 1. " CHED   ,Control Head ED"
group 0x24++0x03
line.long 0x00 "OHCI0_HCCTRLCED,Control Current Endpoint Descriptor Register"
hexmask.long 0x00 4.--31. 1. " CCED   ,Control Current ED"
group 0x28++0x03
line.long 0x00 "OHCI0_HCBULKHED,Bulk Head Endpoint Descriptor Register"
hexmask.long 0x00 4.--31. 1. " BHED   ,Bulk Head ED"
group 0x2c++0x03
line.long 0x00 "OHCI0_HCBULKCED,Bulk Current Endpoint Descriptor Register"
hexmask.long 0x00 4.--31. 1. " BCED   ,Bulk Current ED" 
rgroup 0x30++0x03
line.long 0x00 "OHCI0_HCDHEAD,Done Head Transfer Descriptor Register"
hexmask.long 0x00 4.--31. 1. " DH     ,Done Head"
group 0x34++0x03
line.long 0x00 "OHCI0_HCFMINT,Frame Interval Register"
bitfld.long 0x00 31. " FIT    ,Frame Interval Toggle" "-,Toggled"
hexmask.long.word 0x00 16.--30. 1. "      FSMPS  ,FS Largest Data Packet"
hexmask.long.word 0x00 0.--13. 1. "           FI     ,Frame Interval"
rgroup 0x38++0x03
line.long 0x00 "OHCI0_HCFMREM,Frame Remaining Register"
bitfld.long 0x00 31. " FRT    ,Frame Remaining Toggle" "-,Toggled"
hexmask.long.word 0x00 0.--13. 1. "      FR     ,Frame Remaining"
rgroup 0x3c++0x03
line.long 0x00 "OHCI0_HCFMNUM,Frame Number Register"
hexmask.long.word 0x00 0.--15. 1. " FN     ,Frame Number"
group 0x40++0x03
line.long 0x00 "OHCI0_HCPRDSTRT,Periodic Start Register"
hexmask.long.word 0x00 0.--13. 1. " PS     ,Periodic Start"
group 0x44++0x03
line.long 0x00 "OHCI0_HCLSTHRES,Low Speed Threahold Register"
hexmask.long.word 0x00 0.--11. 1. " LST    ,Low Speed Threshold"
group 0x48++0x03
line.long 0x00 "OHCI0_HCRHDESCA,Root Hub Descriptor A Register"
hexmask.long.byte 0x00 24.--31. 1. " POTPGT ,Power-on to Power-Good Time"
bitfld.long 0x00 12. "           NOCP   ,No Overcurrent Protection" "-,Not protected"
bitfld.long 0x00 11. "  OCPM   ,Overcurrent protection mode" "-,Protected"
textline "                          "
bitfld.long 0x00 10. " DT     ,Device Type" "0,1"
bitfld.long 0x00 9. "            NPS    ,No Power Switching" "-,Not switched"
bitfld.long 0x00 8. "   PSM    ,Power Switching Mode" "-,Switched"
textline "                          "
hexmask.long.byte 0x00 0.--7. 1. " NDP    ,Number of Downstream Ports"
group 0x4c++0x03
line.long 0x00 "OHCI0_HCRHDESCB,Root Hub Descriptor B Register"
hexmask.long.word 0x00 16.--31. 1. " PPCM   ,Port Power Control Mask"
hexmask.long.word 0x00 0.--15. 1. "         DR     ,Device Removable"
group 0x50++0x03
line.long 0x00 "OHCI0_HCRHSTS,Root Hub Status Register"
bitfld.long 0x00 31. " CRWE   ,Clear Remote Wakeup Enable" "-,Enabled"
bitfld.long 0x00 17. "      OCIC   ,Overcurrent Indicator Change" "-,Changed"
bitfld.long 0x00 16. "        LPSC   ,Local Power Status Change" "-,Changed"
textline "                          "
bitfld.long 0x00 15. " DRWE   ,Device Remote Wakeup Enable" "-,Enabled"
bitfld.long 0x00 1. "      OCI    ,Overcurrent Indicator" "-,Occurred"
bitfld.long 0x00 0. "       LPS    ,Local Power Status" "-,Powered"
group 0x54++0x03
line.long 0x00 "OHCI0_HCPRSTS,Root Hub Port Status Register"
bitfld.long 0x00 20. " PRSC   ,Port Reset Status Change" "-, Changed"
bitfld.long 0x00 19. "     OCIC   ,Port Overcurrent Indicator Change" "-,Changed"
bitfld.long 0x00 18. "        PSSC   ,Port Suspend Status Change" "-,Changed"
textline "                          "
bitfld.long 0x00 17. " PESC   ,Port Enable Status Change" "-,Changed"
bitfld.long 0x00 16. "      CSC    ,Connect Status Change" "-,Changed"
bitfld.long 0x00 9. "        LSDA   ,Low Speed Device Attached" "-,Attached"
textline "                          "
bitfld.long 0x00 8. " PPS    ,Port Power Status" "-,Powered"
bitfld.long 0x00 4. "      PRS    ,Port Reset Status" "-,Reset"
bitfld.long 0x00 3. "          POCI   ,Port Overcurrent Indicator" "-,Occurred"
textline "                          "
bitfld.long 0x00 2. " PSS    ,Port Suspend Status" "-,Suspended"
bitfld.long 0x00 1. "    PES    ,Port Enable Status" "-,Enabled"
bitfld.long 0x00 0. "        CCS    ,Current Connect Status" "-,Connected"
group dcr:0x360++0x00 "AHB to OPB"
line.long 0x00 "USB2HMDCR0_BCNTL,Bridge Control DCR Register"
bitfld.long 0x00 31. " DCRUM  ,DCR User Mode Enable" "Privilege,User"
bitfld.long 0x00 30. "    DISLCK ,Disable OPB Bus Lock Operation" "-,Disabled"
group dcr:0x361++0x00
line.long 0x00 "USB2HMDCR0_BSTAT,Bridge Status DCR Register"
bitfld.long 0x00 31. " OTOE   ,OPB Timeout Error" "-,Error"
bitfld.long 0x00 30. "        OEACK  ,OPB Error Acknowledge" "-,Error"
group dcr:0x366++0x00
line.long 0x00 "USB2HMDCR0_LAT,Bridge OPB Latency DCR Register"
bitfld.long 0x00 28.--31. " LATCNT ,Latency Count Value" "-,16,32,48,64,80,96,112,128,144,160,176,192,208,224,240"
rgroup dcr:0x367++0x00
line.long 0x00 "USB2HMDCR0_REVID,Bridge Revision ID DCR Register"
hexmask.long.word 0x00 8.--19. 1. " RID    ,Revision Number"
hexmask.long.byte 0x00 0.--7. 1. "         BRID   ,Branch Revision ID"
group dcr:0x370++0x00 "OPB to AHB"
line.long 0x00 "USB2HSDCR0_BCNTL,Bridge Control DCR Register"
bitfld.long 0x00 31. " DCRUM  ,DCR User Mode Enable" "Priviledge,User"
bitfld.long 0x00 24.--27. "   RTYCNL ,OPB Retry Control Count" "1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16"
rgroup dcr:0x373++0x00
line.long 0x00 "USB2HSDCR0_REVID,Bridge Revision ID DCR Register"
hexmask.long.word 0x00 8.--19. 1. " RID    ,Revision Number"
hexmask.long.byte 0x00 0.--7. 1. "         BRID   ,Branch Revision ID"
tree.end
base ANC:0xE0000100
width 17.
tree "Device Interface"
hgroup 0x00++0x01
hide.word 0x00 "USB2D0_INTRIN,Interrupts for Endpoints 0 and IN 1-3 Register"
in
;        bitfld.word 0x00 3. " EP3    ,IN Endpoint 3 Interrupt" "-,Interrupt"
;        bitfld.word 0x00 2. "      EP2   ,IN Endpoint 2 Interrupt" "-,Interrupt"
;        bitfld.word 0x00 1. "       EP1    ,IN Endpoint 1 interrupt" "-,Interrupt"
;    textline "                      "
;        bitfld.word 0x00 0. " EP0    ,Endpoint 0 interrupt" "-,Interrupt"
group 0x02++0x00
line.byte 0x00 "USB2D0_POWER,Power Management Register"
bitfld.byte 0x00 7. " ISOU   ,ISO Update" "-,Wait"
bitfld.byte 0x00 5. "           HSE   ,High-Speed Enable" "-,Enabled"
bitfld.byte 0x00 4. "         HSM    ,High-Speed Mode" "-,Enabled"
textline "                      "
bitfld.byte 0x00 3. " RST    ,Reset" "-,Reset"
bitfld.byte 0x00 2. "          RSM   ,Resume" "-,Resume"
bitfld.byte 0x00 1. "          SUSMDE ,Suspend Mode" "Exiting,Entering"
textline "                      "
bitfld.byte 0x00 0. " ESUSPM ,Enable Suspend Mode" "-,Enabled"
group 0x03++0x00
line.byte 0x00 "USB2D0_FADDR,Function Address Register"
bitfld.byte 0x00 7. " UPD    ,Update" "-,Updated"
hexmask.byte 0x00 0.--6. 1. "        FADDR ,Function Address"
group 0x04++0x01
line.word 0x00 "USB2D0_INTRINE,Interrupt Enable for USB2D0_INTRIN Register"
bitfld.word 0x00 3. " EP3    ,Enable IN Endpoint 3 Interrupt" "-,Enabled"
bitfld.word 0x00 2. "        EP2   ,Enable IN Endpoint 2 Interrupt" "-,Enabled"
bitfld.word 0x00 1. "         EP1    ,Enable IN Endpoint 1 Interrupt" "-,Enabled"
textline "                      "
bitfld.word 0x00 0. " EP0    ,Enable Endpoint 0 Interrupt" "-,Enabled"
hgroup 0x06++0x01
hide.word 0x00 "USB2D0_INTROUT,Interrupts for OUT Endpoints 1 to 3 Register"
in
;        bitfld.word 0x00 3. " EP3    ,OUT Endpoint 3 Interrupt" "-,Interrupt"
;        bitfld.word 0x00 2. "      EP2   ,OUT Endpoint 2 Interrupt" "-,Interrupt"
;        bitfld.word 0x00 1. "       EP1    ,OUT Endpoint 1 interrupt" "-,Interrupt"
group 0x08++0x00
line.byte 0x00 "USB2D0_INTRUSBE,Interrupt enable for USB2D0_INTRUSB Register"
bitfld.byte 0x00 3. " SOF    ,Start of Frame" "-,Enabled"
bitfld.byte 0x00 2. "        RST   ,Reset" "-,Reset"
bitfld.byte 0x00 1. "           RSM    ,Resume" "-,Detected"
textline "                      "
bitfld.byte 0x00 0. " SUSP   ,Suspend" "-,Detected"
group 0x09++0x00
line.byte 0x00 "USB2D0_INTRUSB,Interrupts for Common USB Register"
bitfld.byte 0x00 3. " SOF    ,Start of Frame" "-,Interrupt"
bitfld.byte 0x00 2. "      RST   ,Reset" "-,Interrupt"
bitfld.byte 0x00 1. "       RSM    ,Resume" "-,Interrupt"
textline "                      "
bitfld.byte 0x00 0. " SUSP   ,Suspend" "-,Interrupt"
group 0x0a++0x01
line.word 0x00 "USB2D0_INTROUTE,Interrupt Enable for USB2D0_INTROUT Register"
bitfld.word 0x00 3. " EP3    ,Enable OUT Endpoint 3 Interrupt" "-,Enabled"
bitfld.word 0x00 2. "        EP2   ,Enable OUT Endpoint 2 Interrupt" "-,Enabled"
bitfld.word 0x00 1. "         EP1    ,Enable OUT Endpoint 1 Interrupt" "-,Enabled"
group 0x0c++0x00
line.byte 0x00 "USB2D0_TSTMODE,Enable the USB 2.0 Test Modes Register"
bitfld.byte 0x00 5. " FFS    ,Force Full-Speed" "-,Forced"
bitfld.byte 0x00 4. "         FHS   ,Force High-Speed" "-,Forced"
bitfld.byte 0x00 3. "          TESTP  ,Test Packet Mode" "-,Enabled"
textline "                      "
bitfld.byte 0x00 2. " TESTK  ,Test K Mode" "-,Enabled"
bitfld.byte 0x00 1. "        TESTJ ,Test J Mode" "-,Enabled"
bitfld.byte 0x00 0. "         TSTSE0 ,Test SE0 NAK Mode" "-,Enabled"
group 0x0d++0x00
line.byte 0x00 "USB2D0_INDEX,Endpoint Status/Control Selection Index Register"
bitfld.byte 0x00 0.--3. " SE     ,Selected Endpoint" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
rgroup 0x0e++0x01
line.word 0x00 "USB2D0_FRAME,Frame Number Register"
hexmask.word 0x00 0.--11. 1. " FN     ,Frame Number"
if (((data.byte(ANC:0x0:0xE000010D))&0x0f)==0x00)
group 0x11++0x00
line.byte 0x00 "USB2D0_INCSR0,Endpoint 0 Control Status Register"
bitfld.byte 0x00 7. " SSE    ,Serviced Setup End" "Cleared,Clear SE"
bitfld.byte 0x00 6. "       SOPR  ,Serviced Out Packet Ready" "Cleared,Cleat OPR"
bitfld.byte 0x00 5. "       SS1    ,Send Stall" "Condition,Handshake"
textline "                      "
bitfld.byte 0x00 4. " SE     ,Setup End" "SSE set,Ended"
bitfld.byte 0x00 3. "        DE    ,Data End" "-,End"
bitfld.byte 0x00 2. "             SS0    ,Sent Stall" "-,Transmitted"
textline "                      "
bitfld.byte 0x00 1. " IPR    ,In Packet Ready" "Transmitted,Loaded"
bitfld.byte 0x00 0. "    OPR   ,Out Packet Ready" "SOPR set,Received"
rgroup 0x1b++0x00
line.byte 0x00 "USB2D0_OUTCOUNT0,Number of Received Bytes in Endpoint 0 FIFO Register"
hexmask.byte 0x00 0.--6. 1. " CNT    ,Endpoint 0 OUT Count"
elif ((((data.byte(ANC:0x0:0xE000010D))&0x0f)==0x01)||(((data.byte(ANC:0x0:0xE000010D))&0x0f)==0x02)||(((data.byte(ANC:0x0:0xE000010D))&0x0f)==0x03))
group 0x10++0x01
line.word 0x00 "USB2D0_INCSR,Control/Status for IN Endpoint Register"
bitfld.word 0x00 15. " AUTOS  ,Automatically Set" "-,Automatically"
bitfld.word 0x00 14. "  ISO   ,ISO Mode" "Bulk/Interrupt,Isochronous"
bitfld.word 0x00 13. "  MODE   ,Mode" "Out,In"
textline "                      "
bitfld.word 0x00 12. " DMAE   ,DMA Enable" "-,Enabled"
bitfld.word 0x00 11. "        FDT   ,Force Data Toggle" "ACK,Data"
bitfld.word 0x00 7. "            ITX    ,Incomplete Transmission" "-,Incomplete"
textline "                      "
bitfld.word 0x00 6. " CDT    ,Clear Data Toggle" "-,Reset"
bitfld.word 0x00 5. "          SS0   ,Sent Stall" "-,Transmitted"
bitfld.word 0x00 4. "     SS1    ,Send Stall" "-,Transmitted"
textline "                      "
bitfld.word 0x00 3. " FFIFO  ,Flush FIFO" "-,Flushed"
bitfld.word 0x00 2. "        UR    ,Underrun" "-,Underrun"
bitfld.word 0x00 1. "        FIFONE ,FIFO Not Empty" "-,Not empty"
textline "                      "
bitfld.word 0x00 0. " IPR    ,In Packet Ready" "-,Ready"
group 0x12++0x01
line.word 0x00 "USB2D0_INMAXP,Maximum Packet Size for IN Endpoint Register"
bitfld.word 0x00 12. " 3TRS   ,Multiplier" "0,1"
bitfld.word 0x00 11. "              2TRS  ,Multiplier" "0,1"
hexmask.word 0x00 0.--10. 1. "               MAXTRS ,Maximum Payload/Transaction"
group 0x14++0x01
line.word 0x00 "USB2D0_OUTCSR,Control/Status for OUT Endpoint Register"
bitfld.word 0x00 15. " AUTOC  ,Automatically Clear" "-,Automatically"
bitfld.word 0x00 14. "  ISO   ,ISO Mode" "-,Enabled"
bitfld.word 0x00 13. "         DMAE   ,DMA Enable" "-,Enabled"
textline "                      "
bitfld.word 0x00 12. " DN     ,Disable NYET" "-,Disabled"
bitfld.word 0x00 11. "       DMAM  ,DMA Mode" "0,1"
bitfld.word 0x00 8. "               IRX    ,Incomplete Receive Operation" "OPR cleared,Not completed"
textline "                      "
bitfld.word 0x00 7. " CDT    ,Clear Data Toggle" "-,Reset"
bitfld.word 0x00 6. "          SS0   ,Sent Stall" "-,Transmitted"
bitfld.word 0x00 5. "     SS1    ,Send Stall" "-,Transmitted"
textline "                      "
bitfld.word 0x00 4. " FFIFO  ,Flush FIFO" "-,Flushed"
bitfld.word 0x00 3. "        DATAE ,Data Error" "OPR Reset,Error"
bitfld.word 0x00 2. "       OVR    ,Overrun" "-,Overrun"
textline "                      "
bitfld.word 0x00 1. " FIFOF  ,FIFO Full" "-,Full"
bitfld.word 0x00 0. "           OPR   ,Out Packet Ready" "-,Ready"
group 0x16++0x01
line.word 0x00 "USB2D0_OUTMAXP,Maximum Packet Size for OUT Endpoint Register"
bitfld.word 0x00 12. " 3TRS   ,3 Multiplier" "0,1"
bitfld.word 0x00 11. "              2TRS  ,2 Multiplier" "0,1"
hexmask.word 0x00 0.--10. 1. "               MAXTRS ,Maximum Payload/Transaction"
rgroup 0x1a++0x01
line.word 0x00 "USB2D0_OUTCOUNT,Number of Bytes in OUT Endpoint FIFO Register"
hexmask.word 0x00 0.--12. 1. " CNT    ,Endpoint OUT Count"
else
base vm:0x00000000
group 0x00++0
textline ""
textline ""
textline "No Endpoint Selected"
endif
tree.end
endif
tree "USB 2.0"
sif (cpu()=="PPC440EP")
; --------------------------------------------------------------------------------
; @Title: USB2.0 Interface
; @Copyright: (C) 1989-2020 Lauterbach GmbH, licensed for use with TRACE32(R) only
; --------------------------------------------------------------------------------
width 0x10
;rgroup ad:0x0:0x50000100++1
;  line.word    0x00    "USB2D0_INTRIN ,Interrupt register for Endpoint 0 plus IN Endpoints 1 to 3"
;    bitfld.word    0x00 3.    "EP3 ,IN Endpoint 3 interrupt" "-,active"
;    bitfld.word    0x00 2.    "  EP2 ,IN Endpoint 2 interrupt" "-,active"
;    bitfld.word    0x00 1.    "  EP1 ,IN Endpoint 1 interrupt" "-,active"
;    bitfld.word    0x00 0.    "  EP0 ,Endpoint 0 interrupt" "-,active"
group ad:0x0:0x50000102++0
hide.word    -0x2    "USB2D0_INTRIN ,Interrupt register for Endpoint 0 plus IN Endpoints 1 to 3"
IN
line.byte    0x00    "USB2D0_POWER ,Power management register"
bitfld.byte    0x00 7.    " ISOU  ,ISO Update" "not wait,wait"
bitfld.byte    0x00 6.    "     FSPHYE ,Full-Speed PHY Enable" "de-select,select"
bitfld.byte    0x00 5.    "     HSE    ,High-Speed Enable" "FULL,HIGH"
bitfld.byte    0x00 4.    "          HSM    ,High-Speed Mode" "HIGH,negotiated"
textline "                     "
bitfld.byte    0x00 3.    " RST   ,Reset" "Not present,present"
bitfld.byte    0x00 2.    "  RSM    ,Resume" "No,Yes"
bitfld.byte    0x00 1.    "           SUSMDE ,Suspend Mode" "Exit,Enter"
bitfld.byte    0x00 0.    "         ESUSPM ,Enable Suspend Mode" "-,Enabled"
group ad:0x0:0x50000103++0
line.byte    0x00    "USB2D0_FADDR ,Function address register"
bitfld.byte    0x00 7.            " UPD   ,Update" "clear,set"
hexmask.byte 0x00 0.--6. 1.    "        FADDR  ,Function Address"
group ad:0x0:0x50000104++1
line.word    0x00    "USB2D0_INTRINE ,Interrupt enable register for USB2D0_INTRIN"
bitfld.word    0x00 3.    " EP3   ,Enable IN Endpoint 3 interrupt" "-,1"
bitfld.word    0x00 2.    "            EP2    ,Enable IN Endpoint 2 interrupt" "-,1"
bitfld.word    0x00 1.    "             EP1    ,Enable IN Endpoint 1 interrupt" "-,1"
bitfld.word    0x00 0.    "             EP0    ,Enable Endpoint 0 interrupt" "-,1"
;rgroup ad:0x0:0x50000106++1
hide.word    0x02    "USB2D0_INTROUT ,Interrupt register for OUT Endpoints 1 to 3"
IN
;    bitfld.word    0x00 3.    "EP3 ,OUT Endpoint 3 interrupt" "-,1"
;    bitfld.word    0x00 2.    "  EP2 ,OUT Endpoint 2 interrupt" "-,1"    
;    bitfld.word    0x00 1.    "  EP1 ,OUT Endpoint 1 interrupt" "-,1"    
group ad:0x0:0x5000010A++1
line.word    0x00    "USB2D0_INTROUTE ,Interrupt enable register for IntrOut"
bitfld.word    0x00 3.    " EP3   ,Enable OUT Endpoint 3 interrupt" "-,1"
bitfld.word    0x00 2.    "            EP2    ,Enable OUT Endpoint 2 interrupt" "-,1"
bitfld.word    0x00 1.    "             EP1    ,Enable OUT Endpoint 1 interrupt" "-,1"
group ad:0x0:0x50000108++0
line.byte    0x00    "USB2D0_INTRUSBE ,Interrupt enable register for USB2D0_INTRUSB"
bitfld.byte    0x00 3.    " SOF   ,Start of Frame" "-,Enabled"
bitfld.byte    0x00 2.    "      RST    ,Reset" "not detected,detected"
bitfld.byte    0x00 1.    "  RSM    ,Resume" "not detected,detected"
bitfld.byte    0x00 0.    "  SUSP   ,Suspend" "not detected,detected"
;rgroup ad:0x0:0x50000109++0
hide.byte    0x01    "USB2D0_INTRUSB ,Interrupt register for common USB interrupts"
IN
;    bitfld.byte    0x00 3.    "SOF ,Start of Frame" "-,Enabled"
;    bitfld.byte    0x00 2.    "  RST ,Reset" "not detected,detected"
;    bitfld.byte    0x00 1.    "  RSM ,Resume" "not detected,detected"
;    bitfld.byte    0x00 0.    "  SUSP ,Suspend" "not detected,detected"
group ad:0x0:0x5000010C++0
line.byte    0x00    "USB2D0_TSTMODE ,Enables the USB 2.0 test modes"
bitfld.byte    0x00 5.    " FFS   ,Force the interface into Full-Speed mode" "-,1"
bitfld.byte    0x00 4.    "            FHS    ,Force the interface into High-Speed mode" "-,1"
bitfld.byte    0x00 3.    "             TESTP  ,Enter Test Packet test mode." "0,1"
bitfld.byte    0x00 2.    "             TESTK  ,Enter the Test K test mode" "0,1"
textline "                     "
bitfld.byte    0x00 1.    " TESTJ ,Enter the Test J test mode" "0,1"
bitfld.byte    0x00 0.    "            TSTSEO ,Enter the Test_SE0_NAK test mode" "0,1"
group ad:0x0:0x5000010D++0
line.byte 0x00    "USB2D0_INDEX ,Index register for selecting the Endpoint status/control registers"
rgroup ad:0x0:0x5000010E++1
line.word 0x00    "USB2D0_FRAME ,Frame number"
group ad:0x0:0x50000111++0 "Endpoint 0"
out ad:0x0:0x5000010D 0x0
line.byte 0x00    "USB2D0_INCSR0, Control Status register for Endpoint 0."
eventfld.byte 0x00 7. " SSE   ,Serviced Setup End" "0,1"
eventfld.byte 0x00 6. "            SOPR   ,Serviced Out Packet Ready" "0,1"
eventfld.byte 0x00 5. "             SS1    ,Sent Stall" "Normal,STALL"
bitfld.byte 0x00 4. "        SE     ,Setup End" "0,1"
textline "                     "
bitfld.byte 0x00 3. " DE    ,Data End" "processed,1"
bitfld.byte 0x00 2. "    SS0    ,Sent Stall" "terminated,transmitted"
bitfld.byte 0x00 1. "   IPR    ,In Packet Ready" "Not ready,Ready"
bitfld.byte 0x00 0. "     OPR    ,Out Packet Ready" "0SOPR,received"
rgroup ad:0x0:0x5000011A++0
out ad:0x0:0x5000010D 0
line.byte 0x00    "USB2D0_OUTCOUNT0, Control Status register for OUT Endpoint."
hexmask.byte 0x00 0.--6. 1. " CNT   ,Endpoint 0 OUT Count"
TREE "Endpoints 1-3"
group ad:0x0:0x50000110++1 "Endpoint 1"
out ad:0x0:0x5000010D 0x1
line.word 0x00 "USB2D0_INCSR,USB2.0 Control Status Register for IN Endpoints 1"
bitfld.word 0x00 15. " AUTOS ,Auto Set" "0,1"
bitfld.word 0x00 14. "          ISO   ,Isochronous Mode" "Off,On"
bitfld.word 0x00 13. "        MODE   ,Set IN or OUT Mode" "OUT,IN"
bitfld.word 0x00 12. "       DMAE   ,DMA Enable" "-,Enabled"
textline "                     "
bitfld.word 0x00 11. " FDT   ,Force Data Toggle" "0,1"
bitfld.word 0x00 7. "          ITX   ,Incomplete Text" "No split,Split"
bitfld.word 0x00 6. "   CDT    ,Clear Data Toggle" "No clear,Clear"
bitfld.word 0x00 5. "  SS0    ,Sent Stall" "Normal,Handshake"
textline "                     "
bitfld.word 0x00 4. " SS1   ,Sent Stall" "Normal,Handshake"
bitfld.word 0x00 3. "  FFIFO ,Flush FIFO" "No flush,Flush"
bitfld.word 0x00 2. "   UR     ,Under Run" "0,1"
bitfld.word 0x00 1. "         FIFONE ,FIFO Not Empty" "Empty,Not empty"
textline "                     "
bitfld.word 0x00 0. " IPR   ,In Packet Ready" "Not ready,Ready"
group ad:0x0:0x50000112++1
out ad:0x0:0x5000010D 1
line.word 0x00 "USB2D0_INMAXP,USB2.0 Maximum packet size for IN endpoint 1"
bitfld.word 0x00 12. " 3TRS  ,Three Transactions Per Microframe" "-,Enabled"
bitfld.word 0x00 11. "    2TRS  ,Two Transactions Per Microframe" "-,Enabled"
hexmask.word 0x00 0.--10. 1 "    MAXTRS ,Maximum Data Transmittable in a Transaction"
group ad:0x0:0x50000116++1
out ad:0x0:0x5000010D 1
line.word 0x00 "USB2D0_OUTMAXP,USB2.0 Maximum packet size for OUT endpoint 1"
bitfld.word 0x00 12. " 3TRS  ,Three Transactions Per Microframe" "-,Enabled"
bitfld.word 0x00 11. "    2TRS  ,Two Transactions Per Microframe" "-,Enabled"
hexmask.word 0x00 0.--10. 1 "    MAXTRS ,Maximum Data Transmittable in a Transaction"
group ad:0x0:0x50000114++1
out ad:0x0:0x5000010D 1
line.word 0x00 "USB2D0_OUTCSR,USB2.0 Control Status Register for OUT endpoint 1"
bitfld.word 0x00 15. " AUTOC ,Auto Clear" "-,Enabled"
bitfld.word 0x00 14. "    ISO   ,Isochronous Mode" "Off,On"
bitfld.word 0x00 13. "        DMAE   ,DMA Enable" "-,Enabled"
bitfld.word 0x00 12. "   DN     ,NYET Handshakes Disabled" "-,Disabled"
textline "                     "
bitfld.word 0x00 11. " DMAM  ,DMA Mode Select" "Mode 0,Mode 1"
bitfld.word 0x00 8. "     IRX   ,Incomplete RX Text" "0,1"
bitfld.word 0x00 7. "          CDT    ,Clear Data Toggle" "No Clear,Clear"
bitfld.word 0x00 6. "  SS0    ,Sent Stall" "Normal,Handshake"
textline "                     "
bitfld.word 0x00 5. " SS1   ,Sent Stall" "Normal,Handshake"
bitfld.word 0x00 4. "  FFIFO ,Flush FIFO" "No flush,Flush"
bitfld.word 0x00 3. "   DATAE  ,Data Error" "-,Error"
bitfld.word 0x00 2. "     OVR    ,Overrun" "Not overrun,overrun"
textline "                     "
bitfld.word 0x00 1. " FIFOF ,FIFO Full" "Not full,Full"
bitfld.word 0x00 0. "   OPR   ,Out Packet Ready" "Not ready,Ready"
rgroup ad:0x0:0x5000011A++1
out ad:0x0:0x5000010D 1
line.word 0x00 "USB2D0_OUTCOUNT,USB2.0 Number of bytes in OUT endpoint FIFO 1"
hexmask.word. 0x00 0.--12. 1 " CNT   ,Byte Count in OUT Endpoint FIFO"

group ad:0x0:0x50000110++1 "Endpoint 2"
out ad:0x0:0x5000010D 0x2
line.word 0x00 "USB2D0_INCSR,USB2.0 Control Status Register for IN Endpoints 2"
bitfld.word 0x00 15. " AUTOS ,Auto Set" "0,1"
bitfld.word 0x00 14. "          ISO   ,Isochronous Mode" "Off,On"
bitfld.word 0x00 13. "        MODE   ,Set IN or OUT Mode" "OUT,IN"
bitfld.word 0x00 12. "       DMAE   ,DMA Enable" "-,Enabled"
textline "                     "
bitfld.word 0x00 11. " FDT   ,Force Data Toggle" "0,1"
bitfld.word 0x00 7. "          ITX   ,Incomplete Text" "No split,Split"
bitfld.word 0x00 6. "   CDT    ,Clear Data Toggle" "No clear,Clear"
bitfld.word 0x00 5. "  SS0    ,Sent Stall" "Normal,Handshake"
textline "                     "
bitfld.word 0x00 4. " SS1   ,Sent Stall" "Normal,Handshake"
bitfld.word 0x00 3. "  FFIFO ,Flush FIFO" "No flush,Flush"
bitfld.word 0x00 2. "   UR     ,Under Run" "0,1"
bitfld.word 0x00 1. "         FIFONE ,FIFO Not Empty" "Empty,Not empty"
textline "                     "
bitfld.word 0x00 0. " IPR   ,In Packet Ready" "Not ready,Ready"
group ad:0x0:0x50000112++1
out ad:0x0:0x5000010D 2
line.word 0x00 "USB2D0_INMAXP,USB2.0 Maximum packet size for IN endpoint 2"
bitfld.word 0x00 12. " 3TRS  ,Three Transactions Per Microframe" "-,Enabled"
bitfld.word 0x00 11. "    2TRS  ,Two Transactions Per Microframe" "-,Enabled"
hexmask.word 0x00 0.--10. 1 "    MAXTRS ,Maximum Data Transmittable in a Transaction"
group ad:0x0:0x50000116++1
out ad:0x0:0x5000010D 2
line.word 0x00 "USB2D0_OUTMAXP,USB2.0 Maximum packet size for OUT endpoint 2"
bitfld.word 0x00 12. " 3TRS  ,Three Transactions Per Microframe" "-,Enabled"
bitfld.word 0x00 11. "    2TRS  ,Two Transactions Per Microframe" "-,Enabled"
hexmask.word 0x00 0.--10. 1 "    MAXTRS ,Maximum Data Transmittable in a Transaction"
group ad:0x0:0x50000114++1
out ad:0x0:0x5000010D 2
line.word 0x00 "USB2D0_OUTCSR,USB2.0 Control Status Register for OUT endpoint 2"
bitfld.word 0x00 15. " AUTOC ,Auto Clear" "-,Enabled"
bitfld.word 0x00 14. "    ISO   ,Isochronous Mode" "Off,On"
bitfld.word 0x00 13. "        DMAE   ,DMA Enable" "-,Enabled"
bitfld.word 0x00 12. "   DN     ,NYET Handshakes Disabled" "-,Disabled"
textline "                     "
bitfld.word 0x00 11. " DMAM  ,DMA Mode Select" "Mode 0,Mode 1"
bitfld.word 0x00 8. "     IRX   ,Incomplete RX Text" "0,1"
bitfld.word 0x00 7. "          CDT    ,Clear Data Toggle" "No Clear,Clear"
bitfld.word 0x00 6. "  SS0    ,Sent Stall" "Normal,Handshake"
textline "                     "
bitfld.word 0x00 5. " SS1   ,Sent Stall" "Normal,Handshake"
bitfld.word 0x00 4. "  FFIFO ,Flush FIFO" "No flush,Flush"
bitfld.word 0x00 3. "   DATAE  ,Data Error" "-,Error"
bitfld.word 0x00 2. "     OVR    ,Overrun" "Not overrun,overrun"
textline "                     "
bitfld.word 0x00 1. " FIFOF ,FIFO Full" "Not full,Full"
bitfld.word 0x00 0. "   OPR   ,Out Packet Ready" "Not ready,Ready"
rgroup ad:0x0:0x5000011A++1
out ad:0x0:0x5000010D 2
line.word 0x00 "USB2D0_OUTCOUNT,USB2.0 Number of bytes in OUT endpoint FIFO 2"
hexmask.word. 0x00 0.--12. 1 " CNT   ,Byte Count in OUT Endpoint FIFO"

group ad:0x0:0x50000110++1 "Endpoint 3"
out ad:0x0:0x5000010D 0x3
line.word 0x00 "USB2D0_INCSR,USB2.0 Control Status Register for IN Endpoints 3"
bitfld.word 0x00 15. " AUTOS ,Auto Set" "0,1"
bitfld.word 0x00 14. "          ISO   ,Isochronous Mode" "Off,On"
bitfld.word 0x00 13. "        MODE   ,Set IN or OUT Mode" "OUT,IN"
bitfld.word 0x00 12. "       DMAE   ,DMA Enable" "-,Enabled"
textline "                     "
bitfld.word 0x00 11. " FDT   ,Force Data Toggle" "0,1"
bitfld.word 0x00 7. "          ITX   ,Incomplete Text" "No split,Split"
bitfld.word 0x00 6. "   CDT    ,Clear Data Toggle" "No clear,Clear"
bitfld.word 0x00 5. "  SS0    ,Sent Stall" "Normal,Handshake"
textline "                     "
bitfld.word 0x00 4. " SS1   ,Sent Stall" "Normal,Handshake"
bitfld.word 0x00 3. "  FFIFO ,Flush FIFO" "No flush,Flush"
bitfld.word 0x00 2. "   UR     ,Under Run" "0,1"
bitfld.word 0x00 1. "         FIFONE ,FIFO Not Empty" "Empty,Not empty"
textline "                     "
bitfld.word 0x00 0. " IPR   ,In Packet Ready" "Not ready,Ready"
group ad:0x0:0x50000112++1
out ad:0x0:0x5000010D 3
line.word 0x00 "USB2D0_INMAXP,USB2.0 Maximum packet size for IN endpoint 3"
bitfld.word 0x00 12. " 3TRS  ,Three Transactions Per Microframe" "-,Enabled"
bitfld.word 0x00 11. "    2TRS  ,Two Transactions Per Microframe" "-,Enabled"
hexmask.word 0x00 0.--10. 1 "    MAXTRS ,Maximum Data Transmittable in a Transaction"
group ad:0x0:0x50000116++1
out ad:0x0:0x5000010D 3
line.word 0x00 "USB2D0_OUTMAXP,USB2.0 Maximum packet size for OUT endpoint 3"
bitfld.word 0x00 12. " 3TRS  ,Three Transactions Per Microframe" "-,Enabled"
bitfld.word 0x00 11. "    2TRS  ,Two Transactions Per Microframe" "-,Enabled"
hexmask.word 0x00 0.--10. 1 "    MAXTRS ,Maximum Data Transmittable in a Transaction"
group ad:0x0:0x50000114++1
out ad:0x0:0x5000010D 3
line.word 0x00 "USB2D0_OUTCSR,USB2.0 Control Status Register for OUT endpoint 3"
bitfld.word 0x00 15. " AUTOC ,Auto Clear" "-,Enabled"
bitfld.word 0x00 14. "    ISO   ,Isochronous Mode" "Off,On"
bitfld.word 0x00 13. "        DMAE   ,DMA Enable" "-,Enabled"
bitfld.word 0x00 12. "   DN     ,NYET Handshakes Disabled" "-,Disabled"
textline "                     "
bitfld.word 0x00 11. " DMAM  ,DMA Mode Select" "Mode 0,Mode 1"
bitfld.word 0x00 8. "     IRX   ,Incomplete RX Text" "0,1"
bitfld.word 0x00 7. "          CDT    ,Clear Data Toggle" "No Clear,Clear"
bitfld.word 0x00 6. "  SS0    ,Sent Stall" "Normal,Handshake"
textline "                     "
bitfld.word 0x00 5. " SS1   ,Sent Stall" "Normal,Handshake"
bitfld.word 0x00 4. "  FFIFO ,Flush FIFO" "No flush,Flush"
bitfld.word 0x00 3. "   DATAE  ,Data Error" "-,Error"
bitfld.word 0x00 2. "     OVR    ,Overrun" "Not overrun,overrun"
textline "                     "
bitfld.word 0x00 1. " FIFOF ,FIFO Full" "Not full,Full"
bitfld.word 0x00 0. "   OPR   ,Out Packet Ready" "Not ready,Ready"
rgroup ad:0x0:0x5000011A++1
out ad:0x0:0x5000010D 3
line.word 0x00 "USB2D0_OUTCOUNT,USB2.0 Number of bytes in OUT endpoint FIFO 3"
hexmask.word. 0x00 0.--12. 1 " CNT   ,Byte Count in OUT Endpoint FIFO"

TREE.end
width 0x0B
endif
tree.end
tree "USB 1.1"
sif (cpu()=="PPC440EP")
;USB1.1 Interface
width 0x0B
rgroup ANC:0x0:0xEF601000++0x03 "USB1.1 Host Control Register Group"
line.long 0x00 "USBH0_REVID,USB Revision ID Register"
bitfld.long 0x00 8. " L      ,Legacy" "Not present,Present"
hexmask.long.byte 0x00 0.--7. 1. "     RV     ,Revision"
group ANC:0x0:0xEF601004++0x03
line.long 0x00 "USBH0_CR,USB Control Register"
bitfld.long 0x00 10. " RWE    ,Remote Wakeup Enable" "-,Enabled"
bitfld.long 0x00 9. "         RWC    ,Remote Wakeup Connected" "Disconnected,Connected"
bitfld.long 0x00 8. "   IR   ,Interrupt Routing" "-,Enabled"
bitfld.long 0x00 6.--7. "         HCFS ,Host Controller Functional State" "RESET,RESUME,OPERATIONAL,SUSPEND"
textline "                    "
bitfld.long 0x00 5. " BLE    ,Bulk List Enable" "-,Enabled"
bitfld.long 0x00 4. "         CLE    ,Control List Enable" "-,Enabled"
bitfld.long 0x00 3. "        IE   ,Isochronous Enable" "-,Enabled"
bitfld.long 0x00 2. "         PLE  ,Periodic List Enable" "-,Enabled"
textline "                    "
bitfld.long 0x00 0.--1. " CBSR   ,Control Bulk Service Ratio" "1:1,2:1,3:1,4:1"
width 0x0B
group ANC:0x0:0xEF601008++0x0F "USB1.1 Host Status Register Group"
line.long 0x00 "USBH0_CS,USB Command Status Register"
bitfld.long 0x00 16.--17. " SOC    ,Scheduling Overrun Count" "00,01,10,11"
bitfld.long 0x00 3. "              OCR    ,Ownership Change Request" "-,Enabled"
bitfld.long 0x00 2. "        BLF  ,Bulk List Filled" "Stop,Start"
bitfld.long 0x00 1. "           CLF  ,Control List Filled" "Stop,Start"
textline "                    "
bitfld.long 0x00 0. " HCR    ,Host Controller Reset" "-,Reset"
line.long 0x04 "USBH0_IS,USB Interrupt Status Register"
bitfld.long 0x04 30. " OC     ,Ownership Change" "-,Enabled"
bitfld.long 0x04 6. "         RHSC   ,Root Hub Status Change" "Not changed,Changed"
bitfld.long 0x04 5. "    FNO  ,Frame Number Overflow" "No overflow,Overflow"
bitfld.long 0x04 4. "     UE   ,Unrecoverable Error" "-,Error"
textline "                    "
bitfld.long 0x04 3. " RD     ,Resume Detected" "No resume,Resume"
bitfld.long 0x04 2. "       SF     ,Start of Frame" "No start,Start"
bitfld.long 0x04 1. "       WDH  ,Writeback Done Head" "Not done,Done"
bitfld.long 0x04 0. "        SO   ,Scheduling Overrun" "No overrun,Overrun"
line.long 0x08 "USBH0_IE,USB Interrupt Enable Register"
bitfld.long 0x08 31. " MIE    ,Master Interrupt Enable" "-,Enabled"
bitfld.long 0x08 30. "         OC     ,Ownership Change Interrupt Enable" "-,Enabled"
bitfld.long 0x08 6. "        RHSC ,Root Hub Status Change Interrupt Enable" "-,Enabled"
bitfld.long 0x08 5. "         FNO  ,Frame Number Overflow Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.long 0x08 4. " UE     ,Unrecoverable Error Interrupt Enable" "-,Enabled"
bitfld.long 0x08 3. "         RD     ,Resume Detected Interrupt Enable" "-,Enabled"
bitfld.long 0x08 2. "        SF   ,Start of Frame Interrupt Enable" "-,Enabled"
bitfld.long 0x08 1. "         WDH  ,Writeback Done Head Interrupt Enable" "-,Enabled"
textline "                    "
bitfld.long 0x08 0. " SO     ,Scheduling Overrun Interrupt Enable" "-,Enabled"
line.long 0x0C "USBH0_ID,USB Interrupt Disable Register"
bitfld.long 0x0C 31. " MIE    ,Master Interrupt Disable" "-,Disabled"
bitfld.long 0x0C 30. "        OC     ,Ownership Change Interrupt Disable" "-,Disabled"
bitfld.long 0x0C 6. "       RHSC ,Root Hub Status Change Interrupt Disable" "-,Disabled"
bitfld.long 0x0C 5. "        FNO  ,Frame Number Overflow Interrupt Disable" "-,Disabled"
textline "                    "
bitfld.long 0x0C 4. " UE     ,Unrecoverable Error Interrupt Disable" "-,Disabled"
bitfld.long 0x0C 3. "        RD     ,Resume Detected Interrupt Disable" "-,Disabled"
bitfld.long 0x0C 2. "       SF   ,Start of Frame Interrupt Disable" "-,Disabled"
bitfld.long 0x0C 1. "        WDH  ,Writeback Done Head Interrupt Disable" "-,Disabled"
textline "                    "
bitfld.long 0x0C 0. " SO     ,Scheduling Overrun Interrupt Disable" "-,Disabled"
width 0x0B
group ANC:0x0:0xEF601018++0x03 "USB1.1 Host Memory Pointer Register Group"
line.long 0x00 "USBH0_HCCA,USB Host Controller Communication Area Register"
hexmask.long 0x00 8.--31. 0x100 " HCCA   ,Host controller communications area base address"
rgroup ANC:0x0:0xEF60101C++0x03
line.long 0x00 "USBH0_PCED,USB Period Current Endpoint Descriptor Register"
hexmask.long 0x00 4.--31. 1. " PCED   ,Period Current Endpoint Descriptor"
group ANC:0x0:0xEF601020++0x0F
line.long 0x00 "USBH0_CHED,USB Control Head Endpoint Descriptor Register"
hexmask.long 0x00 4.--31. 1. " CHED   ,Control Head Endpoint Descriptor"
line.long 0x04 "USBH0_CCED,USB Control Current Endpoint Descriptor Register"
hexmask.long 0x04 4.--31. 1. " CCED   ,Control Current Endpoint Descriptor"
line.long 0x08 "USBH0_BHED,USB Bulk Head Endpoint Descriptor Register"
hexmask.long 0x08 4.--31. 1. " BHED   ,Bulk Head Endpoint Descriptor"
line.long 0x0C "USBH0_BCED,USB Bulk Current Endpoint Descriptor Register"
hexmask.long 0x0C 4.--31. 1. " BCED   ,Bulk Current Endpoint Descriptor"
rgroup ANC:0x0:0xEF601030++0x03
line.long 0x00 "USBH0_DH,USB Done Head Register"
hexmask.long 0x00 4.--31. 1. " DH     ,Done Head"
width 0x0B
group ANC:0x0:0xEF601034++0x03 "USB1.1 Host Frame Counter Register Group"
line.long 0x00 "USBH0_FI,USB Frame Interval Register"
bitfld.long 0x00 31. " FIT    ,Frame Interval Toggle" "0,1"
hexmask.long.word 0x00 16.--30. 1. "               FSMPS  ,Full Speed Maximum Packet Size"
hexmask.long.word 0x00 0.--13. 1. "           FI   ,Frame Interval"
rgroup ANC:0x0:0xEF601038++0x07
line.long 0x00 "USBH0_FR,USB Frame Remaining Register"
bitfld.long 0x00 31. " FRT    ,Frame Remaining Toggle" "0,1"
hexmask.long.word 0x00 0.--13. 1. "               FR     ,Frame Remaining"
line.long 0x04 "USBH0_FN,USB Frame Number Register"
hexmask.long.word 0x04 0.--15. 1. " FN     ,Frame Number"
group ANC:0x0:0xEF601040++0x07
line.long 0x00 "USBH0_PS,USB Periodic Start Register"
hexmask.long.word 0x00 0.--13. 1. " PS     ,Periodic Start"
line.long 0x04 "USBH0_LST,USB Low Speed Threshold Register"
hexmask.long.word 0x04 0.--11. 1. " LST    ,Low Speed Threshold"
width 0x0B
group ANC:0x0:0xEF601048++0x13 "USB1.1 Host Root Hub Register Group"
line.long 0x00 "USBH0_RHDA,USB Root Hub Descriptor Register A"
hexmask.long.byte 0x00 24.--31. 1. " POTPGT ,Power On To Power Good Time"
bitfld.long 0x00 12. "              NOCP   ,No Over Current Protection" "-,Enabled"
bitfld.long 0x00 11. "        OCPM ,Over Current Protection Mode" "Collectively,Per-port basis"
bitfld.long 0x00 10. "  DT   ,DeviceType" "Not compound,Invalid"
textline "                    "
bitfld.long 0x00 9. " NPS    ,No Power Switching" "Switched,Not switched"
bitfld.long 0x00 8. "    PSM    ,Power Switching Mode" "Same time,Individually"
hexmask.long.byte 0x00 0.--7. 1. "   NDP  ,Number Downstream Ports"
line.long 0x04 "USBH0_RHDB,USB Root Hub Descriptor Register B"
hexmask.long.word 0x04 16.--31. 1. " PPCM   ,Port Power Control Mask"
hexmask.long.word 0x04 0.--15. 1. "            DR     ,Device Removable"
line.long 0x08 "USBH0_RHSR,USB Root Hub Status Register"
bitfld.long 0x08 31. " CRWE   ,(write) Clear Remote Wakeup Enable" "No clear,Clear"
bitfld.long 0x08 17. "        OCIC   ,Over Current Indicator Change" "OCI no change,OCI change"
bitfld.long 0x08 16. "  LPSC ,(Read) Local Power Status Change" "0,1"
bitfld.long 0x08 15. "               DRWE ,(Read) Device Remote Wakeup Enable" "-,Enabled"
textline "                    "
bitfld.long 0x08 1. " OCI    ,Over Current Indicator" "No over,Over"
bitfld.long 0x08 0. "         LPS    ,(Read) LocalPowerStatus" "0,1"
line.long 0x0C "USBH0_RHPS0,USB Root Hub Port Status Register 0"
bitfld.long 0x0C 20. " PRSC   ,Port Reset Status Change" "Not complete,Complete"
bitfld.long 0x0C 19. "    OCIC   ,Port Over Current Indicator Change" "No change,Change"
bitfld.long 0x0C 18. "      PSSC ,Port Suspend Status Change" "Not complete,Complete"
bitfld.long 0x0C 17. "    PESC ,Port Enable Status Change" "No change,Change"
textline "                    "
bitfld.long 0x0C 16. " CSC    ,Connect Status Change" "No change,Change"
bitfld.long 0x0C 9. "       LSDA   ,(read) Speed Device Attached" "Full,Low"
bitfld.long 0x0C 8. "           PPS  ,(read) Port Power Status" "Off,On"
bitfld.long 0x0C 4. "             PRS  ,(read) Port Reset Status" "Not active,Active"
textline "                    "
bitfld.long 0x0C 3. " POCI   ,(read) Port Over Current Indicator" "No overcurrent,Overcurrent"
bitfld.long 0x0C 2. "  PSS    ,(read) Port Suspend Status" "Not suspended,Suspended"
bitfld.long 0x0C 1. "  PES  ,(read) Port Enable Status" "-,Enabled"
bitfld.long 0x0C 0. "         CCS  ,(read) Current Connect Status" "Not connected,Connected"
line.long 0x10 "USBH0_RHPS1,USB Root Hub Port Status Register 1"
bitfld.long 0x10 20. " PRSC   ,Port Reset Status Change" "Not complete,Complete"
bitfld.long 0x10 19. "    OCIC   ,Port Over Current Indicator Change" "No change,Change"
bitfld.long 0x10 18. "      PSSC ,Port Suspend Status Change" "Not complete,Complete"
bitfld.long 0x10 17. "    PESC ,Port Enable Status Change" "No change,Change"
textline "                    "
bitfld.long 0x10 16. " CSC    ,Connect Status Change" "No change,Change"
bitfld.long 0x10 9. "       LSDA   ,(read) Speed Device Attached" "Full,Low"
bitfld.long 0x10 8. "           PPS  ,(read) Port Power Status" "Off,On"
bitfld.long 0x10 4. "             PRS  ,(read) Port Reset Status" "Not active,Active"
textline "                    "
bitfld.long 0x10 3. " POCI   ,(read) Port Over Current Indicator" "No overcurrent,Overcurrent"
bitfld.long 0x10 2. "  PSS    ,(read) Port Suspend Status" "Not suspended,Suspended"
bitfld.long 0x10 1. "  PES  ,(read) Port Enable Status" "-,Enabled"
bitfld.long 0x10 0. "         CCS  ,(read) Current Connect Status" "Not connected,Connected"
width 0x0B
group ANC:0x0:0xEF601070++0x03 "Host OPB Configuration Group"
line.long 0x00 "USBH0_OPBMC,USB OPB Master Interface Control Register"
bitfld.long 0x00 31. " DIS    ,OPB Master Interface" "Enabled,-"
hexmask.long. 0x00 0.--4. 1. "         MAXACK ,OPB Master Maximum Continuously Locked Transfer Control"
width 0x0B
endif
tree.end
tree.end
;tree "USB (Universal Serial Bus Interfaces)"
tree.end
;tree.open "Peripheral Functions and Interfaces"
tree.open "PLB (Processor Local Bus)"
sif (cpu()=="PPC440EP")
tree "PLB Master Priority Assignment"
;PLB Master Priority Assignment
width 13.
group dcr:0x000F++0x00
out dcr:0x000E %l 0x0240
line.long 0x00 "SDR0_AMP0,Alternate PLB4 Master Priority Register"
bitfld.long 0x00 30.--31. " AICURP  ,Alternate ICU Read Priority" "0 lowest,1,2,3 highest"
bitfld.long 0x00 28.--29. "      ADCURP  ,Alternate DCU Read Priority" "0 lowest,1,2,3 highest"
bitfld.long 0x00 26.--27. "      AUCUWP  ,Alternate DCU Write Priority" "0 lowest,1,2,3 highest"
textline "                      "
bitfld.long 0x00 24.--25. " ADMAP4P ,Alternate DMA to PLB4 Priority" "0 lowest,1,2,3 highest"
bitfld.long 0x00 22.--23. "      AP3P4P  ,Alternate PLB3 to PLB4 Bridge Priority" "0 lowest,1,2,3 highest"
bitfld.long 0x00 15. "      ICURP   ,ICU Read Priority" "Own,Alternate"
textline "                      "
bitfld.long 0x00 14. " DCURP   ,DCU Read Priority" "Own,Alternate"
bitfld.long 0x00 13. "      DCUWP   ,DCU Write Priority" "Own,Alternate"
bitfld.long 0x00 12. "      DMAP4P  ,DMA to PLB4 Priority" "Own,Alternate"
textline "                      "
bitfld.long 0x00 11. " P3P4P   ,PLB3 to PLB4 Priority" "Own,Alternate"
group dcr:0x000F++0x00
out dcr:0x000E %l 0x0241
line.long 0x00 "SDR0_AMP1,Alternate PLB3 Master Priority Register 1"
bitfld.long 0x00 30.--31. " AP4P3P  ,Alternate PLB4 to PLB3 Bridge Priority" "0 lowest,1,2,3 highest"
bitfld.long 0x00 28.--29. "      AMALP   ,Alternate MAL Priority" "0 lowest,1,2,3 highest"
bitfld.long 0x00 26.--27. "      APCIP   ,Alternate PCI Priority" "0 lowest,1,2,3 highest"
textline "                      "
bitfld.long 0x00 24.--25. " ADMA1P  ,Alternate DMA 1 Priority" "0 lowest,1,2,3 highest"
bitfld.long 0x00 22.--23. "      AOP3P   ,Alternate OPB to PLB3 Bridge Priority" "0 lowest,1,2,3 highest"
bitfld.long 0x00 20.--21. "      AEBCP   ,Alternate EBC Priority" "0 lowest,1,2,3 highest"
textline "                      "
bitfld.long 0x00 15. " P4P3P   ,PLB4 to PLB3 Bridge Priority" "Own,Alternate"
bitfld.long 0x00 14. "      MALP    ,MAL Priority" "Own,Alternate"
bitfld.long 0x00 13. "      PCIP    ,PCI Priority" "Own,Alternate"
textline "                      "
bitfld.long 0x00 12. " DMA1P   ,DMA 1 Priority" "Own,Alternate"
bitfld.long 0x00 11. "      OP3P    ,OPB to PLB3 Bridge Priority" "Own,Alternate"
bitfld.long 0x00 10. "      EBCP    ,EBC Priority" "Own,Alternate"
group dcr:0x000F++0x00
out dcr:0x000E %l 0x0180
line.long 0x00 "SDR0_CP440,PPC440 CPU Control Register"
bitfld.long 0x00 28.--29. " RL      ,Boot ROM Location" "EBC,PCI,NDFC,Reserved"
bitfld.long 0x00 26.--27. "       DRU     ,DcuRdUrgent" "0 lowest,1,2,3 highest"
bitfld.long 0x00 24.--25. "      DRT     ,DcuRdTouch" "0 lowest,1,2,3 highest"
textline "                      "
bitfld.long 0x00 22.--23. " DRNC    ,DcuRdNonCache" "0 lowest,1,2,3 highest"
bitfld.long 0x00 20.--21. "      DRLC    ,DcuRdLdCache" "0 lowest,1,2,3 highest"
bitfld.long 0x00 18.--19. "      DWF     ,DcuWrFlush" "0 lowest,1,2,3 highest"
textline "                      "
bitfld.long 0x00 16.--17. " DWS     ,DcuWrStore" "0 lowest,1,2,3 highest"
bitfld.long 0x00 14.--15. "      DWU     ,DcuWrUrgent" "0 lowest,1,2,3 highest"
bitfld.long 0x00 12.--13. "      IRF     ,IcuRdFetch" "0 lowest,1,2,3 highest"
textline "                      "
bitfld.long 0x00 10.--11. " IRT     ,IcuRdTouch" "0 lowest,1,2,3 highest"
bitfld.long 0x00 8.--9. "      IRS     ,IcuRdSpec" "0 lowest,1,2,3 highest"
bitfld.long 0x00 1. "      Nto1    ,CPU:PLB N to 1 clock ratio" "N:P,N:1"
group dcr:0x000F++0x00
out dcr:0x000E %l 0x0260
line.long 0x00 "SDR0_MIRQ0,Master Interrupt Request Register 0"
bitfld.long 0x00 28.--30. " ICURIRQ ,ICU Read Interrupt Request" "None,P4P3,P4OP,P4OP/P4P3,DDR,DDR/P4P3,DDR/P4OP,DDR/P4OP/P4P3"
bitfld.long 0x00 23.--25. "  DCURIRQ ,DCU Read Interrupt Request" "None,P4P3,P4OP,P4OP/P4P3,DDR,DDR/P4P3,DDR/P4OP,DDR/P4OP/P4P3"
bitfld.long 0x00 18.--20. "  DCUWIRQ ,DCU Write Interrupt Request" "None,P4P3,P4OP,P4OP/P4P3,DDR,DDR/P4P3,DDR/P4OP,DDR/P4OP/P4P3"
textline "                      "
bitfld.long 0x00 13.--15. " P3P4IRQ ,PLB3 to PLB4 Bridge Interrupt Request" "None,P4P3,P4OP,P4OP/P4P3,DDR,DDR/P4P3,DDR/P4OP,DDR/P4OP/P4P3"
bitfld.long 0x00 8.--10. "  DMA0IRQ ,DMA Interrupt Request" "None,P4P3,P4OP,P4OP/P4P3,DDR,DDR/P4P3,DDR/P4OP,DDR/P4OP/P4P3"
group dcr:0x000F++0x00
out dcr:0x000E %l 0x0220
line.long 0x00 "SDR0_SLPIPE0,PLB Slave Address Pipeline Register"
bitfld.long 0x00 30. " DAP     ,DDR Address Pipeline" "-,Enabled"
bitfld.long 0x00 29. "        P4P3AP  ,PLB4 to PLB3 Address Pipeline" "-,Enabled"
bitfld.long 0x00 28. "        P4OAP   ,PLB4 to OPB Address Pipeline" "-,Enabled"
textline "                      "
bitfld.long 0x00 3. " P3OAP   ,PLB3 to OPB Address Pipeline" "-,Enabled"
bitfld.long 0x00 2. "        EAP     ,EBC Address Pipeline" "-,Enabled"
bitfld.long 0x00 1. "        PAP     ,PCI Address Pipeline" "-,Enabled"
textline "                      "
bitfld.long 0x00 0. " P3P4AP  ,PLB3 to PLB4 Address Pipeline" "-,Enabled"
tree.end
tree "PLB4 Arbiter"
width 13.
rgroup dcr:0x080++0x0
line.long 0x00 "PLB4A0_REVID,PLB4 Arbiter Revision ID"
hexmask.long.word 0x00 8.--19. 1 " RN   ,Revision number"
hexmask.long.byte 0x00 0.--7. 1 "          BRN  ,Branch revision number"
tree "PLB4 Arbiter 0"  
width 12.
group dcr:(0x0081+0)++0x0
line.long 0x00 "PLB4A0_ACR,PLB4 Arbiter Control Register 0"
bitfld.long 0x00 31. " PPM0 ,PLB Priority Mode PPM0" "Fixed,Fair"
bitfld.long 0x00 30. "             PPM1 ,PLB Priority Mode PPM1" "Fixed,Fair"
bitfld.long 0x00 28. "         PPM3 ,PLB Priority Mode PPM3" "Fixed,Fair"
bitfld.long 0x00 27. "  HBU ,High Bus Utilization" "-,Enabled"
textline "                     "
bitfld.long 0x00 25.--26. " RDP  ,Read Pipeline Control" "-,2 Deep read pipe,3 Deep read pipe,4 Deep read pipe"
bitfld.long 0x00 24. "  WRP  ,Write Pipeline Control" "-,2 Deep Write"
group dcr:(0x0082+0)++0x0  
line.long 0x00 "PLB4A0_ESRL,PLB4A0 Error Status Register 0 Low"
eventfld.long 0x0 31. " PTE0 ,Master 0 PLB Timeout Error Status" "-,Error"
eventfld.long 0x0 30. "      R/W0 ,Master 0 Read/Write Status" "Write error,Read error"
eventfld.long 0x0 29. "  FLK0 ,Master 0 PLB4A0_BESR Field Lock" "-,Locked"
eventfld.long 0x0 28. "     ALK0 ,Master 0 PLB4A0_BEAR Address Lock" "-,Locked"
textline "                     "
eventfld.long 0x0 27. " PTE1 ,Master 1 PLB Timeout Error Status" "-,Error"
eventfld.long 0x0 26. "      R/W1 ,Master 1 Read/Write Status" "Write error,Read error"
eventfld.long 0x0 25. "  FLK1 ,Master 1 PLB4A0_BESR Field Lock" "-,Locked"
eventfld.long 0x0 24. "     ALK1 ,Master 1 PLB4A0_BEAR Address Lock" "-,Locked"
textline "                     "
eventfld.long 0x0 23. " PTE2 ,Master 2 PLB Timeout Error Status" "-,Error"
eventfld.long 0x0 22. "      R/W2 ,Master 2 Read/Write Status" "Write error,Read error"
eventfld.long 0x0 21. "  FLK2 ,Master 2 PLB4A0_BESR Field Lock" "-,Locked"
eventfld.long 0x0 20. "     ALK2 ,Master 2 PLB4A0_BEAR Address Lock" "-,Locked"
textline "                     "
eventfld.long 0x0 19. " PTE3 ,Master 3 PLB Timeout Error Status" "-,Error"
eventfld.long 0x0 18. "      R/W3 ,Master 3 Read/Write Status" "Write error,Read error"
eventfld.long 0x0 17. "  FLK3 ,Master 3 PLB4A0_BESR Field Lock" "-,Locked"
eventfld.long 0x0 16. "     ALK3 ,Master 3 PLB4A0_BEAR Address Lock" "-,Locked"
textline "                     "
eventfld.long 0x0 15. " PTE4 ,Master 4 PLB Timeout Error Status" "-,Error"
eventfld.long 0x0 14. "      R/W4 ,Master 4 Read/Write Status" "Write error,Read error"
eventfld.long 0x0 13. "  FLK4 ,Master 4 PLB4A0_BESR Field Lock" "-,Locked"
eventfld.long 0x0 12. "     ALK4 ,Master 4 PLB4A0_BEAR Address Lock" "-,Locked"
rgroup dcr:(0x0084+0)++0x0 
line.long 0x00 "PLB4A0_EARL,PLB4A0 Error Address Register Low"
rgroup dcr:(0x0085+0)++0x0 
line.long 0x00 "PLB4A0_EARH,PLB4A0 Error Address Register High"
wgroup dcr:(0x0086+0)++0x0
line.long 0x00 "PLB4A0_ESRL,PLB4A0 Error Status Register 0 Low (Set)"
bitfld.long 0x0 31. " PTE0 ,Master 0 PLB Timeout Error Status Set" "No effect,Set"
bitfld.long 0x0 30. "  R/W0 ,Master 0 Read/Write Status Set" "No effect,Set"
bitfld.long 0x0 29. "    FLK0 ,Master 0 PLB4A0_BESR Field Lock Set" "No effect,Set"
bitfld.long 0x0 28. "  ALK0 ,Master 0 PLB4A0_BEAR Address Lock Set" "No effect,Set"
textline "                     "
bitfld.long 0x0 27. " PTE1 ,Master 1 PLB Timeout Error Status Set" "No effect,Set"
bitfld.long 0x0 26. "  R/W1 ,Master 1 Read/Write Status Set" "No effect,Set"
bitfld.long 0x0 25. "    FLK1 ,Master 1 PLB4A0_BESR Field Lock Set" "No effect,Set"
bitfld.long 0x0 24. "  ALK1 ,Master 1 PLB4A0_BEAR Address Lock Set" "No effect,Set"
textline "                     "
bitfld.long 0x0 23. " PTE2 ,Master 2 PLB Timeout Error Status Set" "No effect,Set"
bitfld.long 0x0 22. "  R/W2 ,Master 2 Read/Write Status Set" "No effect,Set"
bitfld.long 0x0 21. "    FLK2 ,Master 2 PLB4A0_BESR Field Lock Set" "No effect,Set"
bitfld.long 0x0 20. "  ALK2 ,Master 2 PLB4A0_BEAR Address Lock Set" "No effect,Set"
textline "                     "
bitfld.long 0x0 19. " PTE3 ,Master 3 PLB Timeout Error Status Set" "No effect,Set"
bitfld.long 0x0 18. "  R/W3 ,Master 3 Read/Write Status Set" "No effect,Set"
bitfld.long 0x0 17. "    FLK3 ,Master 3 PLB4A0_BESR Field Lock Set" "No effect,Set"
bitfld.long 0x0 16. "  ALK3 ,Master 3 PLB4A0_BEAR Address Lock Set" "No effect,Set"
textline "                     "
bitfld.long 0x0 15. " PTE4 ,Master 4 PLB Timeout Error Status Set" "No effect,Set"
bitfld.long 0x0 14. "  R/W4 ,Master 4 Read/Write Status Set" "No effect,Set"
bitfld.long 0x0 13. "    FLK4 ,Master 4 PLB4A0_BESR Field Lock Set" "No effect,Set"
bitfld.long 0x0 12. "  ALK4 ,Master 4 PLB4A0_BEAR Address Lock Set" "No effect,Set"
wgroup dcr:(0x0087+0)++0x0
line.long 0x00 "PLB4A0_ESRH,PLB4A0 Error Status Register 0 High (Set)"

group dcr:0x0088++0x0
line.long 0x00 "PLB4A0_CCR,PLB4 Crossbar Control Register"
tree.end
tree "PLB4 Arbiter 1"  
width 12.
group dcr:(0x0081+8)++0x0
line.long 0x00 "PLB4A1_ACR,PLB4 Arbiter Control Register 1"
bitfld.long 0x00 31. " PPM0 ,PLB Priority Mode PPM0" "Fixed,Fair"
bitfld.long 0x00 30. "             PPM1 ,PLB Priority Mode PPM1" "Fixed,Fair"
bitfld.long 0x00 28. "         PPM3 ,PLB Priority Mode PPM3" "Fixed,Fair"
bitfld.long 0x00 27. "  HBU ,High Bus Utilization" "-,Enabled"
textline "                     "
bitfld.long 0x00 25.--26. " RDP  ,Read Pipeline Control" "-,2 Deep read pipe,3 Deep read pipe,4 Deep read pipe"
bitfld.long 0x00 24. "  WRP  ,Write Pipeline Control" "-,2 Deep Write"
group dcr:(0x0082+8)++0x0  
line.long 0x00 "PLB4A1_ESRL,PLB4A1 Error Status Register 1 Low"
eventfld.long 0x0 31. " PTE0 ,Master 0 PLB Timeout Error Status" "-,Error"
eventfld.long 0x0 30. "      R/W0 ,Master 0 Read/Write Status" "Write error,Read error"
eventfld.long 0x0 29. "  FLK0 ,Master 0 PLB4A0_BESR Field Lock" "-,Locked"
eventfld.long 0x0 28. "     ALK0 ,Master 0 PLB4A0_BEAR Address Lock" "-,Locked"
textline "                     "
eventfld.long 0x0 27. " PTE1 ,Master 1 PLB Timeout Error Status" "-,Error"
eventfld.long 0x0 26. "      R/W1 ,Master 1 Read/Write Status" "Write error,Read error"
eventfld.long 0x0 25. "  FLK1 ,Master 1 PLB4A0_BESR Field Lock" "-,Locked"
eventfld.long 0x0 24. "     ALK1 ,Master 1 PLB4A0_BEAR Address Lock" "-,Locked"
textline "                     "
eventfld.long 0x0 23. " PTE2 ,Master 2 PLB Timeout Error Status" "-,Error"
eventfld.long 0x0 22. "      R/W2 ,Master 2 Read/Write Status" "Write error,Read error"
eventfld.long 0x0 21. "  FLK2 ,Master 2 PLB4A0_BESR Field Lock" "-,Locked"
eventfld.long 0x0 20. "     ALK2 ,Master 2 PLB4A0_BEAR Address Lock" "-,Locked"
textline "                     "
eventfld.long 0x0 19. " PTE3 ,Master 3 PLB Timeout Error Status" "-,Error"
eventfld.long 0x0 18. "      R/W3 ,Master 3 Read/Write Status" "Write error,Read error"
eventfld.long 0x0 17. "  FLK3 ,Master 3 PLB4A0_BESR Field Lock" "-,Locked"
eventfld.long 0x0 16. "     ALK3 ,Master 3 PLB4A0_BEAR Address Lock" "-,Locked"
textline "                     "
eventfld.long 0x0 15. " PTE4 ,Master 4 PLB Timeout Error Status" "-,Error"
eventfld.long 0x0 14. "      R/W4 ,Master 4 Read/Write Status" "Write error,Read error"
eventfld.long 0x0 13. "  FLK4 ,Master 4 PLB4A0_BESR Field Lock" "-,Locked"
eventfld.long 0x0 12. "     ALK4 ,Master 4 PLB4A0_BEAR Address Lock" "-,Locked"
rgroup dcr:(0x0084+8)++0x0 
line.long 0x00 "PLB4A1_EARL,PLB4A1 Error Address Register Low"
rgroup dcr:(0x0085+8)++0x0 
line.long 0x00 "PLB4A1_EARH,PLB4A1 Error Address Register High"
wgroup dcr:(0x0086+8)++0x0
line.long 0x00 "PLB4A1_ESRL,PLB4A1 Error Status Register 1 Low (Set)"
bitfld.long 0x0 31. " PTE0 ,Master 0 PLB Timeout Error Status Set" "No effect,Set"
bitfld.long 0x0 30. "  R/W0 ,Master 0 Read/Write Status Set" "No effect,Set"
bitfld.long 0x0 29. "    FLK0 ,Master 0 PLB4A0_BESR Field Lock Set" "No effect,Set"
bitfld.long 0x0 28. "  ALK0 ,Master 0 PLB4A0_BEAR Address Lock Set" "No effect,Set"
textline "                     "
bitfld.long 0x0 27. " PTE1 ,Master 1 PLB Timeout Error Status Set" "No effect,Set"
bitfld.long 0x0 26. "  R/W1 ,Master 1 Read/Write Status Set" "No effect,Set"
bitfld.long 0x0 25. "    FLK1 ,Master 1 PLB4A0_BESR Field Lock Set" "No effect,Set"
bitfld.long 0x0 24. "  ALK1 ,Master 1 PLB4A0_BEAR Address Lock Set" "No effect,Set"
textline "                     "
bitfld.long 0x0 23. " PTE2 ,Master 2 PLB Timeout Error Status Set" "No effect,Set"
bitfld.long 0x0 22. "  R/W2 ,Master 2 Read/Write Status Set" "No effect,Set"
bitfld.long 0x0 21. "    FLK2 ,Master 2 PLB4A0_BESR Field Lock Set" "No effect,Set"
bitfld.long 0x0 20. "  ALK2 ,Master 2 PLB4A0_BEAR Address Lock Set" "No effect,Set"
textline "                     "
bitfld.long 0x0 19. " PTE3 ,Master 3 PLB Timeout Error Status Set" "No effect,Set"
bitfld.long 0x0 18. "  R/W3 ,Master 3 Read/Write Status Set" "No effect,Set"
bitfld.long 0x0 17. "    FLK3 ,Master 3 PLB4A0_BESR Field Lock Set" "No effect,Set"
bitfld.long 0x0 16. "  ALK3 ,Master 3 PLB4A0_BEAR Address Lock Set" "No effect,Set"
textline "                     "
bitfld.long 0x0 15. " PTE4 ,Master 4 PLB Timeout Error Status Set" "No effect,Set"
bitfld.long 0x0 14. "  R/W4 ,Master 4 Read/Write Status Set" "No effect,Set"
bitfld.long 0x0 13. "    FLK4 ,Master 4 PLB4A0_BESR Field Lock Set" "No effect,Set"
bitfld.long 0x0 12. "  ALK4 ,Master 4 PLB4A0_BEAR Address Lock Set" "No effect,Set"
wgroup dcr:(0x0087+8)++0x0
line.long 0x00 "PLB4A1_ESRH,PLB4A1 Error Status Register 1 High (Set)"

tree.end
tree.end
tree "PLB4 to PLB3 Bridge"
;PLB4 to PLB3 Bridge (Bridge Out 0)
width 14.
group dcr:0x0020++0
line.long 0x00 "P4P3BO0_BESR0,PLB4 to PLB3 Bridge Error Status Register 0 Master Devices 0,1,2,3"
eventfld.long 0x00 30.--31. " SSET0 ,Secondary PLB Bus Slave Error Type for master 0" "-,Timeout error,Data error,Reserved"
eventfld.long 0x00 29. "  R/W0 ,Read write status master 0" "Write,Read"
eventfld.long 0x00 28. "  FLK0 ,P4P3BO0_BESR field lock master 0" "-,Locked"
eventfld.long 0x00 27. "  ALK0 ,P4P3BO0_BEAR address lock master 0" "-,Locked"
eventfld.long 0x00 26. "  WIRQ0 ,Write Error Interrupt master 0" "-,Error"
eventfld.long 0x00 24.--25. "  PAR0 ,Parity Error Type master 0" "-,Read parity error,Address parity error,Write parity error"
textline "                       "
eventfld.long 0x00 22.--23. " SSET1 ,Secondary PLB Bus Slave Error Type for master 1" "-,Timeout error,Data error,Reserved"
eventfld.long 0x00 21. "  R/W1 ,Read write status master 1" "Write,Read"
eventfld.long 0x00 20. "  FLK1 ,P4P3BO0_BESR field lock master 1" "-,Locked"
eventfld.long 0x00 19. "  ALK1 ,P4P3BO0_BEAR address lock master 1" "-,Locked"
eventfld.long 0x00 18. "  WIRQ1 ,Write Error Interrupt master 1" "-,Error"
eventfld.long 0x00 16.--17. "  PAR1 ,Parity Error Type master 1" "-,Read parity error,Address parity error,Write parity error"
textline "                       "
eventfld.long 0x00 14.--15. " SSET2 ,Secondary PLB Bus Slave Error Type for master 2" "-,Timeout error,Data error,Reserved"
eventfld.long 0x00 13. "  R/W2 ,Read write status master 2" "Write,Read"
eventfld.long 0x00 12. "  FLK2 ,P4P3BO0_BESR field lock master 2" "-,Locked"
eventfld.long 0x00 11. "  ALK2 ,P4P3BO0_BEAR address lock master 2" "-,Locked"
eventfld.long 0x00 10. "  WIRQ2 ,Write Error Interrupt master 2" "-,Error"
eventfld.long 0x00 8.--9. "  PAR2 ,Parity Error Type master 2" "-,Read parity error,Address parity error,Write parity error"
textline "                       "
eventfld.long 0x00 6.--7. " SSET3 ,Secondary PLB Bus Slave Error Type for master 3" "-,Timeout error,Data error,Reserved"
eventfld.long 0x00 5. "  R/W3 ,Read write status master 3" "Write,Read"
eventfld.long 0x00 4. "  FLK3 ,P4P3BO0_BESR field lock master 3" "-,Locked"
eventfld.long 0x00 3. "  ALK3 ,P4P3BO0_BEAR address lock master 3" "-,Locked"
eventfld.long 0x00 2. "  WIRQ3 ,Write Error Interrupt master 3" "-,Error"
eventfld.long 0x00 0.--1. "  PAR3 ,Parity Error Type master 3" "-,Read parity error,Address parity error,Write parity error"
group dcr:0x0022++2
line.long 0x00 "P4P3BO0_BEARL,PLB4 to PLB3 Bridge Error Address Register Low"
line.long 0x04 "P4P3BO0_BEARH,PLB4 to PLB3 Bridge Error Address Register High"
line.long 0x08 "P4P3BO0_BESR1,PLB4 to PLB3 Bridge Error Status Register 1 Master Devices 4,5,6,7"
eventfld.long 0x08 30.--31. " SSET4 ,Secondary PLB Bus Slave Error Type for master 4" "-,Timeout error,Data error,Reserved"
eventfld.long 0x08 29. "  R/W4 ,Read write status master 4" "Write,Read"
eventfld.long 0x08 28. "  FLK4 ,P4P3BO0_BESR field lock master 4" "-,Locked"
eventfld.long 0x08 27. "  ALK4 ,P4P3BO0_BEAR address lock master 4" "-,Locked"
eventfld.long 0x08 26. "  WIRQ4 ,Write Error Interrupt master 4" "-,Error"
eventfld.long 0x08 24.--25. "  PAR4 ,Parity Error Type master 4" "-,Read parity error,Address parity error,Write parity error"
textline "                       "
eventfld.long 0x08 22.--23. " SSET5 ,Secondary PLB Bus Slave Error Type for master 5" "-,Timeout error,Data error,Reserved"
eventfld.long 0x08 21. "  R/W5 ,Read write status master 5" "Write,Read"
eventfld.long 0x08 20. "  FLK5 ,P4P3BO0_BESR field lock master 5" "-,Locked"
eventfld.long 0x08 19. "  ALK5 ,P4P3BO0_BEAR address lock master 5" "-,Locked"
eventfld.long 0x08 18. "  WIRQ5 ,Write Error Interrupt master 5" "-,Error"
eventfld.long 0x08 16.--17. "  PAR5 ,Parity Error Type master 5" "-,Read parity error,Address parity error,Write parity error"
textline "                       "
eventfld.long 0x08 14.--15. " SSET6 ,Secondary PLB Bus Slave Error Type for master 6" "-,Timeout error,Data error,Reserved"
eventfld.long 0x08 13. "  R/W6 ,Read write status master 6" "Write,Read"
eventfld.long 0x08 12. "  FLK6 ,P4P3BO0_BESR field lock master 6" "-,Locked"
eventfld.long 0x08 11. "  ALK6 ,P4P3BO0_BEAR address lock master 6" "-,Locked"
eventfld.long 0x08 10. "  WIRQ6 ,Write Error Interrupt master 6" "-,Error"
eventfld.long 0x08 8.--9. "  PAR6 ,Parity Error Type master 6" "-,Read parity error,Address parity error,Write parity error"
textline "                       "
eventfld.long 0x08 6.--7. " SSET7 ,Secondary PLB Bus Slave Error Type for master 7" "-,Timeout error,Data error,Reserved"
eventfld.long 0x08 5. "  R/W7 ,Read write status master 7" "Write,Read"
eventfld.long 0x08 4. "  FLK7 ,P4P3BO0_BESR field lock master 7" "-,Locked"
eventfld.long 0x08 3. "  ALK7 ,P4P3BO0_BEAR address lock master 7" "-,Locked"
eventfld.long 0x08 2. "  WIRQ7 ,Write Error Interrupt master 7" "-,Error"
eventfld.long 0x08 0.--1. "  PAR7 ,Parity Error Type master 7" "-,Read parity error,Address parity error,Write parity error"
group dcr:0x0026++2
line.long 0x00 "P4P3BO0_CFG,PLB4 to PLB3 Bridge Configuration Register"
bitfld.long 0x00 31. " SSPS  ,Slave side primary/secondary priority" "Secondary,Primary"
bitfld.long 0x00 29.--30. "  FIFOE ,FIFO Enablement" "-,One level deep,Two levels deep,Reserved"
bitfld.long 0x00 28. "  SRE   ,Secondary Read Enablement" "-,Enabled"
textline "                       "
bitfld.long 0x00 27. " SWE   ,Secondary Write Enablement" "-,Enabled"
bitfld.long 0x00 26. "    PBASS ,PLB Bus Architecture for Slave Side" "3.x PLB,4.x PLB"
bitfld.long 0x00 25. "          PBAMS ,PLB Bus Architecture for Master Side" "3.x PLB,4.x PLB"
textline "                       "
bitfld.long 0x00 24. " ER    ,Enable Rearbitration" "-,Enabled"
bitfld.long 0x00 22.--23. "    PRI   ,PLB Priority Bits" "Lowest,Next Highest,Next Highest,Highest"
bitfld.long 0x00 21. "     PE    ,Parity Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 20. " FI    ,Flush Interrupt Enable" "-,Enabled"
bitfld.long 0x00 17.--19. "    FIID  ,Flush Interrupt ID" "0,1,2,3,4,5,6,7" 
line.long 0x04 "P4P3BO0_PICR,PLB4 to PLB3 Bridge Priority Incrementation Counter Register"
bitfld.long 0x04 31. " PICE  ,Priority Incrementation Counter Enable" "-,Enabled"
bitfld.long 0x04 26.--30. "    IPICV ,Initial Priority Incrementation Counter Value" "8,16,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,160,168,176,184,192,200,208,216,224,232,240,248,256"
line.long 0x08 "P4P3BO0_PEIR,PLB4 to PLB3 Bridge Parity Error Interrupt Register"
bitfld.long 0x08 31. " ADRPE ,A Bus Parity Error Interrupt" "-,Error"
bitfld.long 0x08 30. "      RDPE  ,Read Data Bus Parity Error Interrupt" "-,Error"
group dcr:0x002A++0
line.long 0x00 "P4P3BO0_REVID,PLB4 to PLB3 Bridge Revision ID Register"
hexmask.long.word 0x00 8.--19. 1. " RN    ,Revision number"
hexmask.long.byte 0x00 0.--7. 1. "       BRN   ,Branch revision number"
width 0x0B
tree.end
tree "PLB3 to PLB4 Bridge"
;PLB3 to PLB4 Bridge (Bridge In 0)
width 14.
group dcr:0x0030++0
line.long 0x00 "P3P4BI0_BESR0,PLB3 to PLB4 Bridge Error Status Register 0 Master Devices 0,1,2,3"
eventfld.long 0x00 30.--31. " SSET0 ,Secondary PLB Bus Slave Error Type for master 0" "-,Timeout error,Data error,Reserved"
eventfld.long 0x00 29. "  R/W0 ,Read write status master 0" "Write,Read"
eventfld.long 0x00 28. "  FLK0 ,P3P4BI0_BESR field lock master 0" "-,Locked"
eventfld.long 0x00 27. "  ALK0 ,P3P4BI0_BEAR address lock master 0" "-,Locked"
eventfld.long 0x00 26. "  WIRQ0 ,Write Error Interrupt master 0" "-,Error"
eventfld.long 0x00 24.--25. "  PAR0 ,Parity Error Type master 0" "-,Read parity error,Address parity error,Write parity error"
textline "                       "
eventfld.long 0x00 22.--23. " SSET1 ,Secondary PLB Bus Slave Error Type for master 1" "-,Timeout error,Data error,Reserved"
eventfld.long 0x00 21. "  R/W1 ,Read write status master 1" "Write,Read"
eventfld.long 0x00 20. "  FLK1 ,P3P4BI0_BESR field lock master 1" "-,Locked"
eventfld.long 0x00 19. "  ALK1 ,P3P4BI0_BEAR address lock master 1" "-,Locked"
eventfld.long 0x00 18. "  WIRQ1 ,Write Error Interrupt master 1" "-,Error"
eventfld.long 0x00 16.--17. "  PAR1 ,Parity Error Type master 1" "-,Read parity error,Address parity error,Write parity error"
textline "                       "
eventfld.long 0x00 14.--15. " SSET2 ,Secondary PLB Bus Slave Error Type for master 2" "-,Timeout error,Data error,Reserved"
eventfld.long 0x00 13. "  R/W2 ,Read write status master 2" "Write,Read"
eventfld.long 0x00 12. "  FLK2 ,P3P4BI0_BESR field lock master 2" "-,Locked"
eventfld.long 0x00 11. "  ALK2 ,P3P4BI0_BEAR address lock master 2" "-,Locked"
eventfld.long 0x00 10. "  WIRQ2 ,Write Error Interrupt master 2" "-,Error"
eventfld.long 0x00 8.--9. "  PAR2 ,Parity Error Type master 2" "-,Read parity error,Address parity error,Write parity error"
textline "                       "
eventfld.long 0x00 6.--7. " SSET3 ,Secondary PLB Bus Slave Error Type for master 3" "-,Timeout error,Data error,Reserved"
eventfld.long 0x00 5. "  R/W3 ,Read write status master 3" "Write,Read"
eventfld.long 0x00 4. "  FLK3 ,P3P4BI0_BESR field lock master 3" "-,Locked"
eventfld.long 0x00 3. "  ALK3 ,P3P4BI0_BEAR address lock master 3" "-,Locked"
eventfld.long 0x00 2. "  WIRQ3 ,Write Error Interrupt master 3" "-,Error"
eventfld.long 0x00 0.--1. "  PAR3 ,Parity Error Type master 3" "-,Read parity error,Address parity error,Write parity error"
group dcr:0x0032++2
line.long 0x00 "P3P4BI0_BEARL,PLB3 to PLB4 Bridge Error Address Register Low"
line.long 0x04 "P3P4BI0_BEARH,PLB3 to PLB4 Bridge Error Address Register High"
line.long 0x08 "P3P4BI0_BESR1,PLB3 to PLB4 Bridge Error Status Register 1 Master Devices 4,5,6,7"
eventfld.long 0x08 30.--31. " SSET4 ,Secondary PLB Bus Slave Error Type for master 4" "-,Timeout error,Data error,Reserved"
eventfld.long 0x08 29. "  R/W4 ,Read write status master 4" "Write,Read"
eventfld.long 0x08 28. "  FLK4 ,P3P4BI0_BESR field lock master 4" "-,Locked"
eventfld.long 0x08 27. "  ALK4 ,P3P4BI0_BEAR address lock master 4" "-,Locked"
eventfld.long 0x08 26. "  WIRQ4 ,Write Error Interrupt master 4" "-,Error"
eventfld.long 0x08 24.--25. "  PAR4 ,Parity Error Type master 4" "-,Read parity error,Address parity error,Write parity error"
textline "                       "
eventfld.long 0x08 22.--23. " SSET5 ,Secondary PLB Bus Slave Error Type for master 5" "-,Timeout error,Data error,Reserved"
eventfld.long 0x08 21. "  R/W5 ,Read write status master 5" "Write,Read"
eventfld.long 0x08 20. "  FLK5 ,P3P4BI0_BESR field lock master 5" "-,Locked"
eventfld.long 0x08 19. "  ALK5 ,P3P4BI0_BEAR address lock master 5" "-,Locked"
eventfld.long 0x08 18. "  WIRQ5 ,Write Error Interrupt master 5" "-,Error"
eventfld.long 0x08 16.--17. "  PAR5 ,Parity Error Type master 5" "-,Read parity error,Address parity error,Write parity error"
textline "                       "
eventfld.long 0x08 14.--15. " SSET6 ,Secondary PLB Bus Slave Error Type for master 6" "-,Timeout error,Data error,Reserved"
eventfld.long 0x08 13. "  R/W6 ,Read write status master 6" "Write,Read"
eventfld.long 0x08 12. "  FLK6 ,P3P4BI0_BESR field lock master 6" "-,Locked"
eventfld.long 0x08 11. "  ALK6 ,P3P4BI0_BEAR address lock master 6" "-,Locked"
eventfld.long 0x08 10. "  WIRQ6 ,Write Error Interrupt master 6" "-,Error"
eventfld.long 0x08 8.--9. "  PAR6 ,Parity Error Type master 6" "-,Read parity error,Address parity error,Write parity error"
textline "                       "
eventfld.long 0x08 6.--7. " SSET7 ,Secondary PLB Bus Slave Error Type for master 7" "-,Timeout error,Data error,Reserved"
eventfld.long 0x08 5. "  R/W7 ,Read write status master 7" "Write,Read"
eventfld.long 0x08 4. "  FLK7 ,P3P4BI0_BESR field lock master 7" "-,Locked"
eventfld.long 0x08 3. "  ALK7 ,P3P4BI0_BEAR address lock master 7" "-,Locked"
eventfld.long 0x08 2. "  WIRQ7 ,Write Error Interrupt master 7" "-,Error"
eventfld.long 0x08 0.--1. "  PAR7 ,Parity Error Type master 7" "-,Read parity error,Address parity error,Write parity error"
group dcr:0x0036++2
line.long 0x00 "P3P4BI0_CFG,PLB3 to PLB4 Bridge Configuration Register"
bitfld.long 0x00 31. " SSPS  ,Slave side primary/secondary priority" "Secondary,Primary"
bitfld.long 0x00 29.--30. "  FIFOE ,FIFO Enablement" "-,One level deep,Two levels deep,Reserved"
bitfld.long 0x00 28. "  SRE   ,Secondary Read Enablement" "-,Enabled"
textline "                       "
bitfld.long 0x00 27. " SWE   ,Secondary Write Enablement" "-,Enabled"
bitfld.long 0x00 26. "    PBASS ,PLB Bus Architecture for Slave Side" "3.x PLB,4.x PLB"
bitfld.long 0x00 25. "          PBAMS ,PLB Bus Architecture for Master Side" "3.x PLB,4.x PLB"
textline "                       "
bitfld.long 0x00 24. " ER    ,Enable Rearbitration" "-,Enabled"
bitfld.long 0x00 22.--23. "    PRI   ,PLB Priority Bits" "Lowest,Next Highest,Next Highest,Highest"
bitfld.long 0x00 21. "     PE    ,Parity Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 20. " FI    ,Flush Interrupt Enable" "-,Enabled"
bitfld.long 0x00 17.--19. "    FIID  ,Flush Interrupt ID" "0,1,2,3,4,5,6,7"
line.long 0x04 "P3P4BI0_PICR,PLB3 to PLB4 Bridge Priority Incrementation Counter Register"
bitfld.long 0x04 31. " PICE  ,Priority Incrementation Counter Enable" "-,Enabled"
bitfld.long 0x04 26.--30. "    IPICV ,Initial Priority Incrementation Counter Value" "8,16,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,160,168,176,184,192,200,208,216,224,232,240,248,256"
line.long 0x08 "P3P4BI0_PEIR,PLB3 to PLB4 Bridge Parity Error Interrupt Register"
bitfld.long 0x08 31. " ADRPE ,A Bus Parity Error Interrupt" "-,Error"
bitfld.long 0x08 30. "      RDPE  ,Read Data Bus Parity Error Interrupt" "-,Error"
group dcr:0x003A++0
line.long 0x00 "P3P4BI0_REVID,PLB3 to PLB4 Bridge Revision ID Register"
hexmask.long.word 0x00 8.--19. 1. " RN    ,Revision number"
hexmask.long.byte 0x00 0.--7. 1. "       BRN   ,Branch revision number"
width 0x0B
tree.end
tree "PLB4 to OPB Bridge"
;PLB4 to OPB Bridge
width 18.
group dcr:0x0200--0x0200
line.long 0x00 "PLB42OPB0_BESR0,PLB4 to OPB Bridge Error Status Register 0 (Master IDs 0,1,2,3)"
eventfld.long 0x00 30.--31. " PTE0 ,PLB Timeout Error Status Master 0" "-,Timeout error,Slave error,Reserved"
eventfld.long 0x00 29. "  R/W0 ,Read Write Status Master 0" "Write,Read"
eventfld.long 0x00 28. "  FKL0 ,PLB42OPB0_BESR0 Field Lock Master 0" "Unlocked,Locked"
eventfld.long 0x00 27. "  ALK0 ,PLB42OPB0_BEAR Address Lock Master 0" "Unlocked,Locked"
eventfld.long 0x00 26. "  WIRQ0 ,Write Error Interrupt Master 0" "-,Error"
textline "                           "
eventfld.long 0x00 22.--23. " PTE1 ,PLB Timeout Error Status Master 1" "-,Timeout error,Slave error,Reserved"
eventfld.long 0x00 21. "  R/W1 ,Read Write Status Master 1" "Write,Read"
eventfld.long 0x00 20. "  FKL1 ,PLB42OPB0_BESR0 Field Lock Master 1" "Unlocked,Locked"
eventfld.long 0x00 19. "  ALK1 ,PLB42OPB0_BEAR Address Lock Master 1" "Unlocked,Locked"
eventfld.long 0x00 18. "  WIRQ1 ,Write Error Interrupt Master 1" "-,Error"
textline "                           "
eventfld.long 0x00 14.--15. " PTE2 ,PLB Timeout Error Status Master 2" "-,Timeout error,Slave error,Reserved"
eventfld.long 0x00 13. "  R/W2 ,Read Write Status Master 2" "Write,Read"
eventfld.long 0x00 12. "  FKL2 ,PLB42OPB0_BESR0 Field Lock Master 2" "Unlocked,Locked"
eventfld.long 0x00 11. "  ALK2 ,PLB42OPB0_BEAR Address Lock Master 2" "Unlocked,Locked"
eventfld.long 0x00 10. "  WIRQ2 ,Write Error Interrupt Master 2" "-,Error"
textline "                           "
eventfld.long 0x00 6.--7. " PTE3 ,PLB Timeout Error Status Master 3" "-,Timeout error,Slave error,Reserved"
eventfld.long 0x00 5. "  R/W3 ,Read Write Status Master 3" "Write,Read"
eventfld.long 0x00 4. "  FKL3 ,PLB42OPB0_BESR0 Field Lock Master 3" "Unlocked,Locked"
eventfld.long 0x00 3. "  ALK3 ,PLB42OPB0_BEAR Address Lock Master 3" "Unlocked,Locked"
eventfld.long 0x00 2. "  WIRQ3 ,Write Error Interrupt Master 3" "-,Error"
rgroup dcr:0x0202--0x0203
line.long 0x00 "PLB42OPB0_BEARL,PLB4 to OPB Bridge Error Address Register Low"
line.long 0x04 "PLB42OPB0_BEARH,PLB4 to OPB Bridge Error Upper Address Register High"
hexmask.long.byte 0x04 0.--3. 1. " UA   ,Upper address of bus error"
group dcr:0x0204++0
line.long 0x00 "PLB42OPB0_BESR1,PLB4 to OPB Bridge Error Status Register (Master IDs 4,5)"
eventfld.long 0x00 30.--31. " PTE4 ,PLB Timeout Error Status Master 0" "-,Timeout error,Slave error,Reserved"
eventfld.long 0x00 29. "  R/W4 ,Read Write Status Master 4" "Write,Read"
eventfld.long 0x00 28. "  FKL4 ,PLB42OPB0_BESR0 Field Lock Master 4" "Unlocked,Locked"
eventfld.long 0x00 27. "  ALK4 ,PLB42OPB0_BEAR Address Lock Master 4" "Unlocked,Locked"
eventfld.long 0x00 26. "  WIRQ4 ,Write Error Interrupt Master 4" "-,Error"
group dcr:0x0206++0
line.long 0x00 "PLB42OPB0_CFG,PLB4 to OPB Bridge Error Configuration Register"
eventfld.long 0x00 31. " ER ,Enable rearbitration" "Enabled,-"
eventfld.long 0x00 30. "  L32R ,Line 32 bit read" "Requested size,32-bit"
group dcr:0x0208++0
line.long 0x00 "PLB42OPB0_LATENCY,PLB4 to OPB Bridge Burst Latency Timer"
eventfld.long 0x00 31. " LE ,Latency Enable" "-,Enabled"
eventfld.long 0x00 27.--30. "  LC   ,Latency Count" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
rgroup dcr:0x020A--0x020A
line.long 0x00 "PLB42OPB0_REVID,PLB4 to OPB Bridge Revision ID Register"
hexmask.long.word 0x00 8.--19. 1. " RN ,Revision number"
hexmask.long.byte 0x00 0.--7. 1. "     BRN  ,Branch revision number" 
width 0x0B
tree.end
tree "PLB3 Arbiter"
;PLB3 Arbiter
width 13.
rgroup dcr:0x072++0
line.long 0x00 "PLB3A0_REVID,PLB3 Arbiter 0 Revision ID Regisgter"
hexmask.long.word 0x00 8.--19. 1. " RN   ,Revision number"
hexmask.long.byte 0x00 0.--7. 1. "   BRN  ,Branch revision number"
group dcr:0x074++0
line.long 0x00 "PLB3A0_BESR,PLB3 Error Status Register"
eventfld.long 0x00 31. " PTE0 ,Master 0 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 30. "  R/W0 ,Master 0 Read/Write Status" "Write error,Read error"
eventfld.long 0x00 29. "  FLK0 ,Master 0 PLB3A0_BESR Field Lock" "-,Locked"
eventfld.long 0x00 28. "  ALK0 ,Master 0 PLB3A0_BEAR Address Lock" "-,Locked"
textline "                      "
eventfld.long 0x00 27. " PTE1 ,Master 1 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 26. "  R/W1 ,Master 1 Read/Write Status" "Write error,Read error"
eventfld.long 0x00 25. "  FLK1 ,Master 1 PLB3A0_BESR Field Lock" "-,Locked"
eventfld.long 0x00 24. "  ALK1 ,Master 1 PLB3A0_BEAR Address Lock" "-,Locked"
textline "                      "
eventfld.long 0x00 23. " PTE2 ,Master 2 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 22. "  R/W2 ,Master 2 Read/Write Status" "Write error,Read error"
eventfld.long 0x00 21. "  FLK2 ,Master 2 PLB3A0_BESR Field Lock" "-,Locked"
eventfld.long 0x00 20. "  ALK2 ,Master 2 PLB3A0_BEAR Address Lock" "-,Locked"
textline "                      "
eventfld.long 0x00 19. " PTE3 ,Master 3 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 18. "  R/W3 ,Master 3 Read/Write Status" "Write error,Read error"
eventfld.long 0x00 17. "  FLK3 ,Master 3 PLB3A0_BESR Field Lock" "-,Locked"
eventfld.long 0x00 16. "  ALK3 ,Master 3 PLB3A0_BEAR Address Lock" "-,Locked"
textline "                      "
eventfld.long 0x00 15. " PTE4 ,Master 4 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 14. "  R/W4 ,Master 4 Read/Write Status" "Write error,Read error"
eventfld.long 0x00 13. "  FLK4 ,Master 4 PLB3A0_BESR Field Lock" "-,Locked"
eventfld.long 0x00 12. "  ALK4 ,Master 4 PLB3A0_BEAR Address Lock" "-,Locked"
textline "                      "
eventfld.long 0x00 11. " PTE5 ,Master 5 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 10. "  R/W5 ,Master 5 Read/Write Status" "Write error,Read error"
eventfld.long 0x00 9. "  FLK5 ,Master 5 PLB3A0_BESR Field Lock" "-,Locked"
eventfld.long 0x00 8. "  ALK5 ,Master 5 PLB3A0_BEAR Address Lock" "-,Locked"
group dcr:0x076++1
line.long 0x00 "PLB3A0_BEAR,PLB3 Error Address Register"
line.long 0x04 "PLB3A0_ACR,PLB3 Arbiter Control Register"
bitfld.long 0x04 31. " PPM  ,PLB Priority Mode" "Fixed,Fair"
bitfld.long 0x04 28.--30. "  PPO  ,PLB Priority Masters Order" "0-1-2-3-4-5,1-2-3-4-5-0,2-3-4-5-0-1,3-4-5-0-1-2,4-5-0-1-2-3,5-0-1-2-3-4,Reserved,Reserved"
bitfld.long 0x04 27. "  HBU  ,High Bus Utilization" "-,Enabled"
width 0x0B
tree.end
tree "PLB3 to OPB Bridge"
;PLB3 to OPB Bridge
width 16.
group dcr:0x0090--0x0090
line.long 0x00 "PLB32OPB0_BESR0,PLB3 to OPB Bridge Error Status Register 0 (Master IDs 0,1,2,3)"
eventfld.long 0x00 30.--31. " PTE0 ,PLB Timeout Error Status Master 0" "-,Timeout error,Slave error,Reserved"
eventfld.long 0x00 29. "  R/W0 ,Read Write Status Master 0" "Write,Read"
textline "                         "
eventfld.long 0x00 25.--26. " PTE1 ,PLB Timeout Error Status Master 0" "-,Timeout error,Slave error,Reserved"
eventfld.long 0x00 24. "  R/W1 ,Read Write Status Master 1" "Write,Read"
textline "                         "
eventfld.long 0x00 20.--21. " PTE2 ,PLB Timeout Error Status Master 0" "-,Timeout error,Slave error,Reserved"
eventfld.long 0x00 19. "  R/W2 ,Read Write Status Master 2" "Write,Read"
textline "                         "
eventfld.long 0x00 15.--16. " PTE3 ,PLB Timeout Error Status Master 0" "-,Timeout error,Slave error,Reserved"
eventfld.long 0x00 14. "  R/W3 ,Read Write Status Master 3" "Write,Read"
eventfld.long 0x00 13. "        FLK3 ,PLB32OPB0_BESR0 Field Lock Master 3" "-,Locked"
eventfld.long 0x00 12. "  ALK3 ,PLB32OPB0_BEAR Address Lock Master 3" "-,Locked"
rgroup dcr:0x0092--0x0093
line.long 0x00 "PLB32OPB0_BEAR,PLB3 to OPB Bridge Error Address Register"
line.long 0x04 "PLB32OPB0_REVID,PLB3 to OPB Revision ID Register"
bitfld.long 0x04 0.--3. " RID  ,This value is the revision level for PLB32OPB0" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
group dcr:0x0094--0x0094
line.long 0x00 "PLB32OPB0_BESR1,PLB3 to OPB Bridge Error Status Register 1"
eventfld.long 0x00 30.--31. " PTE4 ,PLB3 Timeout Error Status Master 4" "-,Timeout error,Slave error,Reserved"
eventfld.long 0x00 29. "  R/W4 ,Read/Write Status Master 4" "Write error,Read error"
eventfld.long 0x00 28. "  FLK4 ,PLB32OPB0_BESR1 Field Lock Master 4" "-,Locked"
eventfld.long 0x00 27. "  ALK4 ,PLB32OPB0_BEAR Address Lock Master 4" "-,Locked"
textline "                         "
eventfld.long 0x00 25.--26. " PTE5 ,PLB3 Timeout Error Status Master 5" "-,Timeout error,Slave error,Reserved"
eventfld.long 0x00 24. "  R/W5 ,Read/Write Status Master 5" "Write error,Read error"
eventfld.long 0x00 23. "  FLK5 ,PLB32OPB0_BESR1 Field Lock Master 5" "-,Locked"
eventfld.long 0x00 22. "  ALK5 ,PLB32OPB0_BEAR Address Lock Master 5" "-,Locked"
width 0x0B
tree.end
elif ((cpu()=="PPC440SP")||(cpu()=="PPC440SPE"))
tree "PLB Bus Priority Registers"
;On-Chip Bus Priority Registers
width 13.
sif (CPU()=="PPC440SPE")
group dcr:0x00F++0x00
saveout dcr:0x00E %l 0x270
line.long 0x00 "SDR0_TDC1,PCI Target Directed Completion Setting 1 Register"
bitfld.long 0x00 31. " PX0TDC(0)  ,Target Directed Completion Enable (PPC440 Instruction-Cache)" "-,Enabled"
bitfld.long 0x00 30. "    PX0TDC(1)  ,Target Directed Completion Enable (PPC440 Data-Cache)" "-,Enabled"
bitfld.long 0x00 29. "    PX0TDC(2)  ,Target Directed Completion Enable (PCIX0 port)" "-,Enabled"
textline "                      "
bitfld.long 0x00 28. " PX0TDC(3)  ,Target Directed Completion Enable (PCI Express PE0)" "-,Enabled"
bitfld.long 0x00 26. "    PX0TDC(5)  ,Target Directed Completion Enable (PCI Express PE1)" "-,Enabled"
bitfld.long 0x00 25. "    PX0TDC(6)  ,Target Directed Completion Enable (I20DMA port 0)" "-,Enabled"
textline "                      "
bitfld.long 0x00 24. " PX0TDC(7)  ,Target Directed Completion Enable (I2ODMA port 1)" "-,Enabled"
bitfld.long 0x00 22. "    PX0TDC(9)  ,Target Directed Completion Enable (XOR DMA)" "-,Enabled"
bitfld.long 0x00 21. "    PX0TDC(10) ,Target Directed Completion Enable (Ethernet)" "-,Enabled"
textline "                      "
bitfld.long 0x00 20. " PX0TDC(11) ,Target Directed Completion Enable (PCI Express PE2)" "-,Enabled"
bitfld.long 0x00 15. "    PE0TDC(0)  ,Target Directed Completion Enable (PPC440 Instruction-Cache)" "-,Enabled"
bitfld.long 0x00 14. "    PE0TDC(1)  ,Target Directed Completion Enable (PPC440 Data-Cache)" "-,Enabled"
textline "                      "
bitfld.long 0x00 13. " PE0TDC(2)  ,Target Directed Completion Enable (PCIX0 port)" "-,Enabled"
bitfld.long 0x00 12. "    PE0TDC(3)  ,Target Directed Completion Enable (PCI Express PE0)" "-,Enabled"
bitfld.long 0x00 10. "    PE0TDC(5)  ,Target Directed Completion Enable (PCI Express PE1)" "-,Enabled"
textline "                      "
bitfld.long 0x00 9. " PE0TDC(6)  ,Target Directed Completion Enable (I20DMA port 0)" "-,Enabled"
bitfld.long 0x00 8. "    PE0TDC(7)  ,Target Directed Completion Enable (I2ODMA port 1)" "-,Enabled"
bitfld.long 0x00 6. "    PE0TDC(9)  ,Target Directed Completion Enable (XOR DMA port)" "-,Enabled"
textline "                      "
bitfld.long 0x00 5. " PE0TDC(10) ,Target Directed Completion Enable (Ethernet)" "-,Enabled"
bitfld.long 0x00 4. "    PE0TDC(11) ,Target Directed Completion Enable (PCI Express PE2)" "-,Enabled"
group dcr:0x00F++0x00
saveout dcr:0x00E %l 0x271
line.long 0x00 "SDR0_TDC2,PCI Target Directed Completion Setting 2 Register"
bitfld.long 0x00 31. " PE1TDC(0)  ,Target Directed Completion Enable (PPC440 Instruction-Cache)" "-,Enabled"
bitfld.long 0x00 30. "    PE1TDC(1)  ,Target Directed Completion Enable (PPC440 Data-Cache)" "-,Enabled"
bitfld.long 0x00 29. "    PE1TDC(2)  ,Target Directed Completion Enable (PCIX0 port)" "-,Enabled"
textline "                      "
bitfld.long 0x00 28. " PE1TDC(3)  ,Target Directed Completion Enable (PCI Express PE0 port)" "-,Enabled"
bitfld.long 0x00 26. "    PE1TDC(5)  ,Target Directed Completion Enable (PCI Express PE1 port)" "-,Enabled"
bitfld.long 0x00 25. "    PE1TDC(6)  ,Target Directed Completion Enable (I20DMA port 0)" "-,Enabled"
textline "                      "
bitfld.long 0x00 24. " PE1TDC(7)  ,Target Directed Completion Enable (I2ODMA port 1)" "-,Enabled"
bitfld.long 0x00 22. "    PE1TDC(9)  ,Target Directed Completion Enable (XOR DMA port)" "-,Enabled"
bitfld.long 0x00 21. "    PE1TDC(10) ,Target Directed Completion Enable (Ethernet)" "-,Enabled"
textline "                      "
bitfld.long 0x00 20. " PE1TDC(11) ,Target Directed Completion Enable (PCI Express PE2 port)" "-,Enabled"
bitfld.long 0x00 15. "    PE2TDC(0)  ,Target Directed Completion Enable (PPC440 Instruction-Cache)" "-,Enabled"
bitfld.long 0x00 14. "    PE2TDC(1)  ,Target Directed Completion Enable (PPC440 Data-Cache)" "-,Enabled"
textline "                      "
bitfld.long 0x00 13. " PE2TDC(2)  ,Target Directed Completion Enable (PCIX0 port)" "-,Enabled"
bitfld.long 0x00 12. "    PE2TDC(3)  ,Target Directed Completion Enable (PCI Express PE0 port)" "-,Enabled"
bitfld.long 0x00 10. "    PE2TDC(5)  ,Target Directed Completion Enable (PCI Express PE1 port)" "-,Enabled"
textline "                      "
bitfld.long 0x00 9. " PE2TDC(6)  ,Target Directed Completion Enable (I20DMA port 0)" "-,Enabled"
bitfld.long 0x00 8. "    PE2TDC(7)  ,Target Directed Completion Enable (I2ODMA port 1)" "-,Enabled"
bitfld.long 0x00 6. "    PE2TDC(9)  ,Target Directed Completion Enable (XOR DMA port)" "-,Enabled"
textline "                      "
bitfld.long 0x00 5. " PE2TDC(10) ,Target Directed Completion Enable (Ethernet)" "-,Enabled"
bitfld.long 0x00 4. "    PE2TDC(11) ,Target Directed Completion Enable (PCI Express PE2)" "-,Enabled"
endif
group dcr:0x00F++0x00
saveout dcr:0x00E %l 0x180
line.long 0x00 "SDR0_CP440,PPC440 CPU Control Register"
bitfld.long 0x00 28.--29. " EARV       ,ERPN Address Reset Vector" "Reserved,EBC,PCI,Reserved"
bitfld.long 0x00 26.--27. "   DRU        ,DcuRdUrgent" "Lowest,Low,High,Highest"
bitfld.long 0x00 24.--25. "    DRT        ,DcuRdTouch" "Lowest,Low,High,Highest"
textline "                      "
bitfld.long 0x00 22.--23. " DRNC       ,DcuRdNonCache" "Lowest,Low,High,Highest"
bitfld.long 0x00 20.--21. "    DRLC       ,DcuRdLdCache" "Lowest,Low,High,Highest"
bitfld.long 0x00 18.--19. "    DWF        ,DcuWrFlush" "Lowest,Low,High,Highest"
textline "                      "
bitfld.long 0x00 16.--17. " DWS        ,DcuWrStore" "Lowest,Low,High,Highest"
bitfld.long 0x00 14.--15. "    DWU        ,DcuWrUrgent" "Lowest,Low,High,Highest"
bitfld.long 0x00 12.--13. "    IRF        ,IcuRdFetch" "Lowest,Low,High,Highest"
textline "                      "
bitfld.long 0x00 10.--11. " IRT        ,IcuRdTouch" "Lowest,Low,High,Highest"
bitfld.long 0x00 8.--9. "    IRS        ,IcuRdSpec" "Lowest,Low,High,Highest"
bitfld.long 0x00 1. "    NTO1       ,CPU:PLB N to 1 Clock Ratio" "N:P,N:1"
group dcr:0x00F++0x00
saveout dcr:0x00E %l 0x220
line.long 0x00 "SDR0_SLPIPE,PLB Slave Address Pipeline Register"
bitfld.long 0x00 31. " SRAP       ,SRAM Address Pipeline" "-,Enabled"
bitfld.long 0x00 30. "    DSHBAP     ,DDR SDRAM HB Address Pipeline" "-,Enabled"
bitfld.long 0x00 29. "    POBAP      ,PLB-to-OPB Bridge Address Pipeline" "-,Enabled"
textline "                      "
bitfld.long 0x00 28. " DMAAP      ,I2O DMA Address Pipeline" "-,Enabled"
bitfld.long 0x00 27. "    DSLLAP     ,DDR SDRAM LL Address Pipeline" "-,Enabled"
bitfld.long 0x00 26. "    PCIX0AP    ,PCIX0 Address Pipeline" "-,Enabled"
sif (CPU()=="PPC440SP")
textline "                      "
bitfld.long 0x00 25. " PCIX1AP    ,PCIX1 Address Pipeline" "-,Enabled"
bitfld.long 0x00 24. "    PCIX2AP    ,PCIX2 Address Pipeline" "-,Enabled"
endif
sif (CPU()=="PPC440SP")
group dcr:0x00F++0x00
saveout dcr:0x00E %l 0x240
line.long 0x00 "SDR0_AMP0,Alternate PLB Master Priority 0 Register"
bitfld.long 0x00 30.--31. " AICURP     ,Alternate ICU Read Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 28.--29. "    ADCURP     ,Alternate DCU Read Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 26.--27. "    APCI0P     ,Alternate PCIX0 Priority" "Lowest,Low,High,Highest"
textline "                      "
bitfld.long 0x00 24.--25. " APCI1P     ,Alternate PCIX1 Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 22.--23. "    ADCUWP     ,Alternate DCU Write Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 20.--21. "    APCIP2     ,Alternate PCIX2 Priority" "Lowest,Low,High,Highest"
textline "                      "
bitfld.long 0x00 18.--19. " ADMA0P     ,Alternate DMA0 Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 16.--17. "    ADMA1P     ,Alternate DMA1 Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 15. "    ICURP      ,ICU Read Priority" "Own,Alternate"
textline "                      "
bitfld.long 0x00 14. " DCURP      ,DCU Read Priority" "Own,Alternate"
bitfld.long 0x00 13. "  PCIX0P     ,PCIX0 Priority" "Own,Alternate"
bitfld.long 0x00 12. "  PCIX1P     ,PCIX1 Priority" "Own,Alternate"
textline "                      "
bitfld.long 0x00 11. " DCUWP      ,DCU Write Priority" "Own,Alternate"
bitfld.long 0x00 10. "  PCIX2P     ,PCIX2 Priority" "Own,Alternate"
bitfld.long 0x00 9. "  DMA0P      ,DMA0 Priority" "Own,Alternate"
textline "                      "
bitfld.long 0x00 8. " DMA1P      ,DMA1 Priority" "Own,Alternate"
endif
sif (CPU()=="PPC440SPE")
group dcr:0x00F++0x00
saveout dcr:0x00E %l 0x240
line.long 0x00 "SDR0_AMP0,Alternate PLB Master Priority 0 Register"
bitfld.long 0x00 30.--31. " AICURP     ,Alternate ICU Read Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 28.--29. "    ADCURP     ,Alternate DCU Read Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 26.--27. "    APCI0P     ,Alternate PCIX0 Priority" "Lowest,Low,High,Highest"
textline "                      "
bitfld.long 0x00 24.--25. " APE0P      ,Alternate PE0 Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 22.--23. "    ADCUWP     ,Alternate DCU Write Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 20.--21. "    APE1P      ,Alternate PE1 Priority" "Lowest,Low,High,Highest"
textline "                      "
bitfld.long 0x00 18.--19. " ADMA0P     ,Alternate DMA 0 Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 16.--17. "    ADMA1P     ,Alternate DMA 1 Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 15. "    ICURP      ,ICU Read Priority" "Own,Alternate"
textline "                      "
bitfld.long 0x00 14. " DCURP      ,DCU Read Priority" "Own,Alternate"
bitfld.long 0x00 13. "  PCI0P      ,PCIX0 Priority" "Own,Alternate"
bitfld.long 0x00 12. "  PE0P       ,PCI Express 0 Priority" "Own,Alternate"
textline "                      "
bitfld.long 0x00 11. " DCUWP      ,DCU Write Priority" "Own,Alternate"
bitfld.long 0x00 10. "  PE1P       ,PCI Express 1 Priority" "Own,Alternate"
bitfld.long 0x00 9. "  DMA0P      ,DMA 0 Priority" "Own,Alternate"
textline "                      "
bitfld.long 0x00 8. " DMA1P      ,DMA 1 Priority" "Own,Alternate"
endif
sif (CPU()=="PPC440SP")
group dcr:0x00F++0x00
saveout dcr:0x00E %l 0x241
line.long 0x00 "SDR0_AMP1,Alternate PLB Master Priority 1 Register"
bitfld.long 0x00 30.--31. " ADMACP     ,Alternate I2O DMA Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 28.--29. "    AXORP      ,Alternate XOR Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 26.--27. "    AMALP      ,Alternate MAL Priority" "Lowest,Low,High,Highest"
textline "                      "
bitfld.long 0x00 15. " DMACP      ,DMA C Priority" "Own,Alternate"
bitfld.long 0x00 14. "  XORP       ,XOR Priority" "Own,Alternate"
bitfld.long 0x00 13. "  MALP       ,MAL Priority" "Own,Alternate"
endif
sif (CPU()=="PPC440SPE")
group dcr:0x00F++0x00
saveout dcr:0x00E %l 0x241
line.long 0x00 "SDR0_AMP1,Alternate PLB Master Priority 1 Register"
bitfld.long 0x00 30.--31. " AI2OP      ,Alternate I2O DMA Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 28.--29. "    AXORP      ,Alternate XOR Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 26.--27. "    AMALP      ,Alternate MAL Priority" "Lowest,Low,High,Highest"
textline "                      "
bitfld.long 0x00 24.--25. " APE2P      ,Alternate PCI Express 2 Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 15. "    I20P       ,I20DMA Priority" "Own,Alternate"
bitfld.long 0x00 14. "  XORP       ,XOR Priority" "Own,Alternate"
textline "                      "
bitfld.long 0x00 13. " MALP       ,MAL Priority" "Own,Alternate"
bitfld.long 0x00 12. "  PE2P       ,PCI Express 2 Priority" "Own,Alternate"
endif
sif (CPU()=="PPC440SP")
group dcr:0x00F++0x00
saveout dcr:0x00E %l 0x260
line.long 0x00 "SDR0_MIRQ0,Master Interrupt Request Register 0"
bitfld.long 0x00 29.--31. " ICURIRQ  ,ICU Read Interrput Request (Master 0)" "DDR SDRAM HB,DDR SDRAM LL,PLB-to-OPB bridge,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 26.--28. "  DCURIRQ ,ICU Read Interrput Request (Master 1)" "DDR SDRAM HB,DDR SDRAM LL,PLB-to-OPB bridge,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 23.--25. "  PCIX0IRQ ,PCIX0 Interrupt Request (Master 2)" "DDR SDRAM HB,DDR SDRAM LL,PLB-to-OPB bridge,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                      "
bitfld.long 0x00 20.--22. " PCIX1IRQ ,PCIX1 Interrupt Request (Master 3)" "DDR SDRAM HB,DDR SDRAM LL,PLB-to-OPB bridge,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 17.--19. "  DCUWIRQ ,DCU Write Interrupt Request (Master 4)" "DDR SDRAM HB,DDR SDRAM LL,PLB-to-OPB bridge,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 14.--16. "  PCIX2IRQ ,PCIX2 Interrupt Request (Master 5)" "DDR SDRAM HB,DDR SDRAM LL,PLB-to-OPB bridge,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                      "
bitfld.long 0x00 11.--13. " DMA0IRQ  ,DMA0 Interrupt Request (Master 6)" "DDR SDRAM HB,DDR SDRAM LL,PLB-to-OPB bridge,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 8.--10. "  DMA1IRQ ,DMA1 Interrupt Request (Master 7)" "DDR SDRAM LL,Reserved,PLB-to-OPB bridge,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 5.--7. "  DMACIRQ  ,I2O FIFO Interrupt Request (Master 8)" "DDR SDRAM HB,DDR SDRAM LL,PLB-to-OPB bridge,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                      "
bitfld.long 0x00 2.--4. " XORIRQ   ,XOR Interrupt Request (Master 9)" "DDR SDRAM HB,DDR SDRAM LL,PLB-to-OPB bridge,Reserved,Reserved,Reserved,Reserved,Reserved"
endif
sif (CPU()=="PPC440SPE")
group dcr:0x00F++0x00
saveout dcr:0x00E %l 0x260
line.long 0x00 "SDR0_MIRQ0,Master Interrupt Request Register 0"
bitfld.long 0x00 29.--31. " ICURRQ   ,ICU Read Interrupt Request" "DDR SDRAM HB,DDR SDRAM LL,PLB-to-OPB bridge,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 26.--28. "  DCURRQ  ,DCU Read Interrupt Request" "DDR SDRAM HB,DDR SDRAM LL,PLB-to-OPB bridge,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 23.--25. "  PCI0RQ   ,PCIX0 Interrupt Request" "DDR SDRAM HB,DDR SDRAM LL,PLB-to-OPB bridge,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                      "
bitfld.long 0x00 20.--22. " PE0IRQ   ,PE0 Interrupt Request" "DDR SDRAM HB,DDR SDRAM LL,PLB-to-OPB bridge,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 17.--19. "  DCUWRQ  ,DCU Write Interrupt Request" "DDR SDRAM HB,DDR SDRAM LL,PLB-to-OPB bridge,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 14.--16. "  PE1IRQ   ,PE1 Interrupt Request" "DDR SDRAM HB,DDR SDRAM LL,PLB-to-OPB bridge,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                      "
bitfld.long 0x00 11.--13. " DMA0RQ   ,DMA 0 Interrupt Request" "DDR SDRAM HB,DDR SDRAM LL,PLB-to-OPB bridge,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 8.--10. "  DMA1RQ  ,DMA 1 Interrupt Request" "DDR SDRAM HB,DDR SDRAM LL,PLB-to-OPB bridge,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 5.--7. "  I2OIRQ   ,I20DMA Interrupt Request" "DDR SDRAM HB,DDR SDRAM LL,PLB-to-OPB bridge,Reserved,Reserved,Reserved,Reserved,Reserved"
textline "                      "
bitfld.long 0x00 2.--4. " XORIRQ   ,XOR Interrupt Request" "DDR SDRAM HB,DDR SDRAM LL,PLB-to-OPB bridge,Reserved,Reserved,Reserved,Reserved,Reserved"
endif
group dcr:0x00F++0x00
saveout dcr:0x00E %l 0x261
line.long 0x00 "SDR0_MIRQ1,Master Interrupt Request Register 1"
bitfld.long 0x00 29.--31. " MALIRQ   ,MAL Interrupt Request (Master 10)" "DDR SDRAM HB,DDR SDRAM LL,PLB-to-OPB bridge,Reserved,Reserved,Reserved,Reserved,Reserved"
sif (CPU()=="PPC440SPE")
bitfld.long 0x00 26.--28. " PE2IRQ   ,PE2 Interrupt Request" "DDR SDRAM HB,DDR SDRAM LL,PLB-to-OPB bridge,Reserved,Reserved,Reserved,Reserved,Reserved"
endif
width 0xB
tree.end
tree "PLB Arbiter Registers"
;PLB Arbiter Registers
width 12.
rgroup dcr:0x0080++0x00
line.long 0x00 "PLBX_REVID,PLB Crossbar ID/Rev Register"
hexmask.long.word 0x00 8.--19. 1. " RN   ,Revision Number"
hexmask.long.byte 0x00 0.--7. 1. "      BRN  ,Branch Revision Number"
group dcr:0x0081++0x00
line.long 0x00 "PLB0_ACR,PLB0 Arbiter Control Register"
bitfld.long 0x00 31. " PPM0 ,PLB0 Priority Mode" "00 fixed,00 fair"
bitfld.long 0x00 30. "  PPM1 ,PLB1 Priority Mode" "01 fixed,01 fair"
bitfld.long 0x00 28. "  PPM3 ,PLB3 Priority Mode" "11 fixed,11 fair"
textline "                     "
bitfld.long 0x00 27. " HBU  ,High Bus Utilization" "-,Enabled"
bitfld.long 0x00 25.--26. "   RDP  ,Read Pipeline Control" "-,2 deep,3 deep,4 deep"
bitfld.long 0x00 24. "    WRP  ,Write Pipeline Control" "-,2 deep"
group dcr:0x0082++0x00
line.long 0x00 "PLB0_BESRL,PLB0 Error Status Register Low"
eventfld.long 0x00 31. " PTE0  ,Master 0 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 30. "  R/W0  ,Master 0 PLB Read/Write Status" "Write,Read"
eventfld.long 0x00 29. "  FLK0  ,Master 0 PLB0_BESR Field Lock" "-,Locked"
eventfld.long 0x00 28. "  ALK0  ,Master 0 PLB0_BEAR Address Lock" "-,Locked"
textline "                     "
eventfld.long 0x00 27. " PTE1  ,Master 0 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 26. "  R/W1  ,Master 1 Read/Write Status" "Write,Read"
eventfld.long 0x00 25. "  FLK1  ,Master 1 PLB0_BESR Field Lock" "-,Locked"
eventfld.long 0x00 24. "  ALK1  ,Master 1 PLB0_BEAR Address Lock" "-,Locked"
textline "                     "
eventfld.long 0x00 23. " PTE2  ,Master 2 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 22. "  R/W2  ,Master 2 Read/Write" "Write,Read"
eventfld.long 0x00 21. "  FLK2  ,Master 2 PLB0_BESR Field Lock" "-,Locked"
eventfld.long 0x00 20. "  ALK2  ,Master 2 PLB0_BEAR Address Lock" "-,Locked"
textline "                     "
eventfld.long 0x00 19. " PTE3  ,Master 3 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 18. "  R/W3  ,Master 3 Read/Write" "Write,Read"
eventfld.long 0x00 17. "  FLK3  ,Master 3 PLB0_BESR Field Lock" "-,Locked"
eventfld.long 0x00 16. "  ALK3  ,Master 3 PLB0_BEAR Address Lock" "-,Locked"
textline "                     "
eventfld.long 0x00 15. " PTE4  ,Master 4 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 14. "  R/W4  ,Master 4 Read/Write Status" "Write,Read"
eventfld.long 0x00 13. "  FLK4  ,Master 4 PLB0_BESR Field Lock" "-,Locked"
eventfld.long 0x00 12. "  ALK4  ,Master 4 PLB0_BEAR Address Lock" "-,Locked"
textline "                     "
eventfld.long 0x00 11. " PTE5  ,Master 5 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 10. "  R/W5  ,Master 5 Read/Write Status" "Write,Read"
eventfld.long 0x00 9. "  FLK5  ,Master 5 PLB0_BESR Field Lock" "-,Locked"
eventfld.long 0x00 8. "  ALK5  ,Master 5 PLB0_BEAR Address Lock" "-,Locked"
textline "                     "
eventfld.long 0x00 7. " PTE6  ,Master 6 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 6. "  R/W6  ,Master 6 Read/Write Status" "Write,Read"
eventfld.long 0x00 5. "  FLK6  ,Master 6 PLB0_BESR Field Lock" "-,Locked"
eventfld.long 0x00 4. "  ALK6  ,Master 6 PLB0_BEAR Address Lock" "-,Locked"
textline "                     "
eventfld.long 0x00 3. " PTE7  ,Master 7 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 2. "  R/W7  ,Master 7 Read/Write Status" "Write,Read"
eventfld.long 0x00 1. "  FLK7  ,Master 7 PLB0_BESR Field Lock" "-,Locked"
eventfld.long 0x00 0. "  ALK7  ,Master 7 PLB0_BEAR Address Lock" "-,Locked"
group dcr:0x0083++0x00
line.long 0x00 "PLB0_BESRH,PLB0 Error Status Register High"
eventfld.long 0x00 31. " PTE8  ,Master 8 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 30. "  R/W8  ,Master 8 Read/Write Status" "Write,Read"
eventfld.long 0x00 29. "  FLK8  ,Master 8 PLB0_BESR Field Lock" "-,Locked"
eventfld.long 0x00 28. "  ALK8  ,Master 8 PLB_BEAR Address Lock" "-,Locked"
textline "                     "
eventfld.long 0x00 27. " PTE9  ,Master 8 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 26. "  R/W9  ,Master 9 Read/Write Status" "Write,Read"
eventfld.long 0x00 25. "  FLK9  ,Master 9 PLB0_BESR Field Lock" "-,Locked"
eventfld.long 0x00 24. "  ALK9  ,Master 9 PLB0_BEAR Address Lock" "-,Locked"
textline "                     "
eventfld.long 0x00 23. " PTE10 ,Master 10 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 22. "  R/W10 ,Master 10 Read/Write" "Write,Read"
eventfld.long 0x00 21. "  FLK10 ,Master 10 PLB0_BESR Field Lock" "-,Locked"
eventfld.long 0x00 20. "  ALK10 ,Master 10 PLB0_BEAR Address Lock" "-,Locked"
SIF (CPU()=="PPC440SPE")
textline "                     "
eventfld.long 0x00 19. " PTE11 ,Master 11 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 18. "  R/W11 ,Master 11 Read/Write" "Read,Write"
eventfld.long 0x00 17. "  FLK11 ,Master 11 PLB0_BESR Field Lock" "-,Locked"
eventfld.long 0x00 16. "  ALK11 ,Master 11 PLB0_BEAR Address Lock" "-,Locked"
endif
rgroup dcr:0x0084++0x00
line.long 0x00 "PLB0_BEARL,PLB0 Error Address Register Low"
rgroup dcr:0x0085++0x00
line.long 0x00 "PLB0_BEARH,PLB0 Error Address Register High"
group dcr:0x0088++0x00
line.long 0x00 "PLBX_CCR,PLB Crossbar Control Register"
hexmask.long.byte 0x00 28.--31. 1. " PSA  ,PLB Segment Upper Address Control"
group dcr:0x0089++0x00
line.long 0x00 "PLB1_ACR,PLB1 Arbiter Control Register"
bitfld.long 0x00 31. " PPM0 ,PLB0 Priority Mode" "00 fixed,00 fair"
bitfld.long 0x00 30. "  PPM1 ,PLB1 Priority Mode" "01 fixed,01 fair"
bitfld.long 0x00 28. "  PPM3 ,PLB3 Priority Mode" "11 fixed,11 fair"
textline "                     "
bitfld.long 0x00 27. " HBU  ,High Bus Utilization" "-,Enabled"
bitfld.long 0x00 25.--26. "   RDP  ,Read Pipeline Control" "-,2 deep,3 deep,4 deep"
bitfld.long 0x00 24. "    WRP  ,Write Pipeline Control" "-,2 deep"
group dcr:0x008A++0x00
line.long 0x00 "PLB1_BESRL,PLB1 Error Status Register Low"
eventfld.long 0x00 31. " PTE0  ,Master 0 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 30. "  R/W0  ,Master 0 PLB Read/Write Status" "Write,Read"
eventfld.long 0x00 29. "  FLK0  ,Master 0 PLB1_BESR Field Lock" "-,Locked"
eventfld.long 0x00 28. "  ALK0  ,Master 0 PLB_BEAR Address Lock" "-,Locked"
textline "                     "
eventfld.long 0x00 27. " PTE1  ,Master 0 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 26. "  R/W1  ,Master 1 Read/Write Status" "Write,Read"
eventfld.long 0x00 25. "  FLK1  ,Master 1 PLB1_BESR Field Lock" "-,Locked"
eventfld.long 0x00 24. "  ALK1  ,Master 1 PLB1_BEAR Address Lock" "-,Locked"
textline "                     "
eventfld.long 0x00 23. " PTE2  ,Master 2 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 22. "  R/W2  ,Master 2 Read/Write" "Write,Read"
eventfld.long 0x00 21. "  FLK2  ,Master 2 PLB1_BESR Field Lock" "-,Locked"
eventfld.long 0x00 20. "  ALK2  ,Master 2 PLB1_BEAR Address Lock" "-,Locked"
textline "                     "
eventfld.long 0x00 19. " PTE3  ,Master 3 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 18. "  R/W3  ,Master 3 Read/Write" "Write,Read"
eventfld.long 0x00 17. "  FLK3  ,Master 3 PLB1_BESR Field Lock" "-,Locked"
eventfld.long 0x00 16. "  ALK3  ,Master 3 PLB1_BEAR Address Lock" "-,Locked"
textline "                     "
eventfld.long 0x00 15. " PTE4  ,Master 4 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 14. "  R/W4  ,Master 4 Read/Write Status" "Write,Read"
eventfld.long 0x00 13. "  FLK4  ,Master 4 PLB1_BESR Field Lock" "-,Locked"
eventfld.long 0x00 12. "  ALK4  ,Master 4 PLB1_BEAR Address Lock" "-,Locked"
textline "                     "
eventfld.long 0x00 11. " PTE5  ,Master 5 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 10. "  R/W5  ,Master 5 Read/Write Status" "Write,Read"
eventfld.long 0x00 9. "  FLK5  ,Master 5 PLB1_BESR Field Lock" "-,Locked"
eventfld.long 0x00 8. "  ALK5  ,Master 5 PLB1_BEAR Address Lock" "-,Locked"
textline "                     "
eventfld.long 0x00 7. " PTE6  ,Master 6 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 6. "  R/W6  ,Master 6 Read/Write Status" "Write,Read"
eventfld.long 0x00 5. "  FLK6  ,Master 6 PLB1_BESR Field Lock" "-,Locked"
eventfld.long 0x00 4. "  ALK6  ,Master 6 PLB1_BEAR Address Lock" "-,Locked"
textline "                     "
eventfld.long 0x00 3. " PTE7  ,Master 7 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 2. "  R/W7  ,Master 7 Read/Write Status" "Write,Read"
eventfld.long 0x00 1. "  FLK7  ,Master 7 PLB1_BESR Field Lock" "-,Locked"
eventfld.long 0x00 0. "  ALK7  ,Master 7 PLB1_BEAR Address Lock" "-,Locked"
group dcr:0x008B++0x00
line.long 0x00 "PLB1_BESRH,PLB1 Error Status Register High"
eventfld.long 0x00 31. " PTE8  ,Master 8 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 30. "  R/W8  ,Master 8 Read/Write Status" "Write,Read"
eventfld.long 0x00 29. "  FLK8  ,Master 8 PLB1_BESR Field Lock" "-,Locked"
eventfld.long 0x00 28. "  ALK8  ,Master 8 PLB_BEAR Address Lock" "-,Locked"
textline "                     "
eventfld.long 0x00 27. " PTE9  ,Master 8 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 26. "  R/W9  ,Master 9 Read/Write Status" "Write,Read"
eventfld.long 0x00 25. "  FLK9  ,Master 9 PLB1_BESR Field Lock" "-,Locked"
eventfld.long 0x00 24. "  ALK9  ,Master 9 PLB1_BEAR Address Lock" "-,Locked"
textline "                     "
eventfld.long 0x00 23. " PTE10 ,Master 10 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 22. "  R/W10 ,Master 10 Read/Write" "Read,Write"
eventfld.long 0x00 21. "  FLK10 ,Master 10 PLB1_BESR Field Lock" "-,Locked"
eventfld.long 0x00 20. "  ALK10 ,Master 10 PLB1_BEAR Address Lock" "-,Locked"
SIF (CPU()=="PPC440SPE")
textline "                     "
eventfld.long 0x00 19. " PTE11 ,Master 11 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 18. "  R/W11 ,Master 11 Read/Write" "Read,Write"
eventfld.long 0x00 17. "  FLK11 ,Master 11 PLB0_BESR Field Lock" "-,Locked"
eventfld.long 0x00 16. "  ALK11 ,Master 11 PLB0_BEAR Address Lock" "-,Locked"
endif
rgroup dcr:0x008C++0x00
line.long 0x00 "PLB1_BEARL,PLB1 Error Address Register Low"
rgroup dcr:0x008D++0x00
line.long 0x00 "PLB1_BEARH,PLB1 Error Address Register High"
width 0xB
tree.end
tree "PLB-to-OPB Bridge Registers"
;PLB-to-OPB Bridge Registers
width 14.
group dcr:0x090++0x00
line.long 0x00 "POB0_BESR0,PLB-to-OPB Bridge Error Status Register 0"
bitfld.long 0x00 30.--31. " PTE0 ,PLB Timeout Error Status Master 0" "-,Timeout error,Slave error,Reserved"
bitfld.long 0x00 29. "  R/W0 ,Read/Write Status Master 0" "Write,Read"
eventfld.long 0x00 28. "  FLK0 ,POB0_BESR0 Field Lock Master 0" "-,Locked"
eventfld.long 0x00 27. "  ALK0 ,POB0_BEAR Address Lock Master 0" "-,Locked"
bitfld.long 0x00 26. "  WIRQ0 ,Write Error Interrupt Master 0" "-,Error"
textline "                       "
bitfld.long 0x00 22.--23. " PTE1 ,PLB Timeout Error Status Master 1" "-,Timeout error,Slave error,Reserved"
bitfld.long 0x00 21. "  R/W1 ,Read/Write Status Master 1" "Write,Read"
eventfld.long 0x00 20. "  FLK1 ,POB0_BESR0 Field Lock Master 1" "-,Locked"
eventfld.long 0x00 19. "  ALK1 ,POB0_BEAR Address Lock Master 1" "-,Locked"
bitfld.long 0x00 18. "  WIRQ1 ,Write Error Interrupt Master 1" "-,Error"
textline "                       "
bitfld.long 0x00 14.--15. " PTE2 ,PLB Timeout Error Status Master 2" "-,Timeout error,Slave error,Reserved"
bitfld.long 0x00 13. "  R/W2 ,Read/Write Status Master 2" "Write,Read"
eventfld.long 0x00 12. "  FLK2 ,POB0_BESR0 Field Lock Master 2" "-,Locked"
eventfld.long 0x00 11. "  ALK2 ,POB0_BEAR Address Lock Master 2" "-,Locked"
bitfld.long 0x00 10. "  WIRQ2 ,Write Error Interrupt Master 2" "-,Error"
textline "                       "
bitfld.long 0x00 6.--7. " PTE3 ,PLB Timeout Error Status Master 3" "-,Timeout error,Slave error,Reserved"
bitfld.long 0x00 5. "  R/W3 ,Read/Write Status Master 3" "Write,Read"
eventfld.long 0x00 4. "  FLK3 ,POB0_BESR0 Field Lock Master 3" "-,Locked"
eventfld.long 0x00 3. "  ALK3 ,POB0_BEAR Address Lock Master 3" "-,Locked"
bitfld.long 0x00 2. "  WIRQ3 ,Write Error Interrupt Master 3" "-,Error"
rgroup dcr:0x092++0x00
line.long 0x00 "POB0_BEARL,PLB-to-OPB Bridge Error Address Register Low"
rgroup dcr:0x093++0x00
line.long 0x00 "POB0_BEARH,PLB-to-OPB Bridge Error Upper Address Register High"
hexmask.long.byte 0x00 0.--3. 1. " UABE ,Upper Address of Bus Error"
group dcr:0x094++0x00
line.long 0x00 "POB0_BESR1,PLB-to-OPB Bridge Error Status Register 1"
bitfld.long 0x00 30.--31. " PTE4 ,PLB Timeout Error Status Master 4" "-,Timeout error,Slave error,Reserved"
bitfld.long 0x00 29. "  R/W4 ,Read/Write Status Master 4" "Write,Read"
eventfld.long 0x00 28. "  FLK4 ,POB0_BESR0 Field Lock Master 4" "-,Locked"
eventfld.long 0x00 27. "  ALK4 ,POB0_BEAR Address Lock Master 4" "-,Locked"
bitfld.long 0x00 26. "  WIRQ4 ,Write Error Interrupt Master 4" "-,Error"
textline "                       "
bitfld.long 0x00 22.--23. " PTE5 ,PLB Timeout Error Status Master 5" "-,Timeout error,Slave error,Reserved"
bitfld.long 0x00 21. "  R/W5 ,Read/Write Status Master 5" "Write,Read"
eventfld.long 0x00 20. "  FLK5 ,POB0_BESR0 Field Lock Master 5" "-,Locked"
eventfld.long 0x00 19. "  ALK5 ,POB0_BEAR Address Lock Master 5" "-,Locked"
bitfld.long 0x00 18. "  WIRQ5 ,Write Error Interrupt Master 5" "-,Error"
textline "                       "
bitfld.long 0x00 14.--15. " PTE6 ,PLB Timeout Error Status Master 6" "-,Timeout error,Slave error,Reserved"
bitfld.long 0x00 13. "  R/W6 ,Read/Write Status Master 6" "Write,Read"
eventfld.long 0x00 12. "  FLK6 ,POB0_BESR0 Field Lock Master 6" "-,Locked"
eventfld.long 0x00 11. "  ALK6 ,POB0_BEAR Address Lock Master 6" "-,Locked"
bitfld.long 0x00 10. "  WIRQ6 ,Write Error Interrupt Master 6" "-,Error"
textline "                       "
bitfld.long 0x00 6.--7. " PTE7 ,PLB Timeout Error Status Master 7" "-,Timeout error,Slave error,Reserved"
bitfld.long 0x00 5. "  R/W7 ,Read/Write Status Master 7" "Write,Read"
eventfld.long 0x00 4. "  FLK7 ,POB0_BESR0 Field Lock Master 7" "-,Locked"
eventfld.long 0x00 3. "  ALK7 ,POB0_BEAR Address Lock Master 7" "-,Locked"
bitfld.long 0x00 2. "  WIRQ7 ,Write Error Interrupt Master 7" "-,Error"
group dcr:0x096++0x00
line.long 0x00 "POB0_CONFG,PLB-to-OPB Bridge Error Configuration Register"
bitfld.long 0x00 31. " ER ,Enable Rearbitration" "Enabled,-"
bitfld.long 0x00 30. "  L32R ,Line 32-bit Read" "Size of master,32bit slave size"
group dcr:0x098++0x00
line.long 0x00 "POB0_LATENCY,PLB-to-OPB Bridge Burst Latency Timer"
bitfld.long 0x00 31. " LE ,Latency Enable" "-,Enabled"
hexmask.long.byte 0x00 27.--30. 1. "  LC   ,Latency Count"
rgroup dcr:0x09A++0x00
line.long 0x00 "POB0_REVID,PLB-to-OPB Bridge Revision ID Register"
hexmask.long.word 0x00 8.--19. 1. " RN ,Revision Number"
hexmask.long.byte 0x00 0.--7. 1. "     BRN  ,Branch Revision Number"
width 0xB
tree.end
endif
tree.end
;tree.open "PLB (Processor Local Bus)"
sif (cpu()=="PPC440EP")
tree.open "OPB (On-Chip Peripheral Bus)"
tree "OPB Arbiter"
;OPB Arbiter
width 9.
group ANC:0x0:0xEF600A00++0x01
line.byte 0x00 "OPBA0_PR,OPB,Arbiter Priority Register"
bitfld.byte 0x00 6.--7. " HPM ,High Priority Master ID" "M0_request / OPB_M0Grant,M1_request / OPB_M1GrantReserved,M2_request / OPB_M2GrantReserved,M3_request / OPB_M3GrantReserved"
bitfld.byte 0x00 4.--5. "  MHP ,Medium High Priority master ID" "M0_request / OPB_M0Grant,M1_request / OPB_M1Grant,M2_request / OPB_M2Grant,M3_request / OPB_M3Grant"   
textline "              "
bitfld.byte 0x00 2.--3. " MLP ,Medium Low Priority master ID" "M0_request / OPB_M0GrantReserved,M1_request / OPB_M1GrantReserved,M2_request / OPB_M2Grant,M3_request / OPB_M3GrantReserved"
line.byte 0x01 "OPBA0_CR,OPB Arbiter Control Register"
bitfld.byte 0x01 7. " DPE ,Dynamic Priority Enable" "-,Enabled"
bitfld.byte 0x01 6. "                           PEN ,Park Enable" "-,Enabled"
textline "              "
bitfld.byte 0x01 5. " PMN ,Park on Master" "Last,Not last"
bitfld.byte 0x01 3.--4. "                          PID ,Parked Master ID" "M0_request / OPB_M0Grant,M1_request / OPB_M1GrantReserved,M2_request / OPB_M2Grant,M3_request / OPB_M3GrantReserved"
group ANC:0x0:0x50000000++0x01
line.byte 0x00 "OPBA1_PR,OPB Arbiter Priority Register"
bitfld.byte 0x00 6.--7. " HPM ,High Priority Master ID" "M0_request / OPB_M0Grant,M1_request / OPB_M1GrantReserved,M2_request / OPB_M2GrantReserved,M3_request / OPB_M3GrantReserved"
bitfld.byte 0x00 4.--5. "  MHP ,Medium High Priority master ID" "M0_request / OPB_M0Grant,M1_request / OPB_M1Grant,M2_request / OPB_M2Grant,M3_request / OPB_M3Grant"   
textline "              "
bitfld.byte 0x00 2.--3. " MLP ,Medium Low Priority master ID" "M0_request / OPB_M0GrantReserved,M1_request / OPB_M1GrantReserved,M2_request / OPB_M2Grant,M3_request / OPB_M3GrantReserved"
line.byte 0x01 "OPBA1_CR,OPB Arbiter Control Register"
bitfld.byte 0x01 7. " DPE ,Dynamic Priority Enable" "-,Enabled"
bitfld.byte 0x01 6. "                           PEN ,Park Enable" "-,Enabled"
textline "              "
bitfld.byte 0x01 5. " PMN ,Park on Master" "Last,Not last"
bitfld.byte 0x01 3.--4. "                          PID ,Parked Master ID" "M0_request / OPB_M0Grant,M1_request / OPB_M1GrantReserved,M2_request / OPB_M2Grant,M3_request / OPB_M3GrantReserved"
width 0x0B
tree.end
tree "OPB to PLB3 Bridge"
;OPB to PLB3 Bridge
width 16.
group dcr:0x0A8--0x0A8
line.long 0x00 "OPB2PLB30_BCTRL,OPB to PLB3 Bridge Control Register"
bitfld.long 0x00 30.--31. " PRI ,PLB Priority Bits" "00 Lowest,01,10,11 Highest"
rgroup dcr:0x0A9--0x0AA
line.long 0x00 "OPB2PLB30_BSTAT,OPB to PLB3 Bridge Status Register"
bitfld.long 0x00 31. " ERR ,PLB Slave Device Error" "-,Error"
line.long 0x04 "OPB2PLB30_REVID,OPB to PLB3 Bridge Revision ID Register"
bitfld.long 0x04 0.--3. " RID ,Revision level of the OPB-to-PLB3 bridge" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
width 0x0B
tree.end
tree.end
elif (cpu()=="PPC440GP")
tree "On-Chip Buses"
; "OPB Arbiter"
width 12.
GROUP dcr:0xe9--0xea "PLB Master Priority Assignment"
line.long 0. "CPC0_PLB,PLB Master Priority Register"
bitfld.long  0. 30.--31.  " APM0  ,Alternate ICU read priority setting" "0,1,2,3"
bitfld.long  0. 28.--29.  "         APM1 ,Alternate DCU read priority setting" "0,1,2,3"
bitfld.long  0. 26.--27.  "    APM2 ,Alternate DCU write priority setting" "0,1,2,3"
bitfld.long  0. 24.--25.  "    APM3 ,Alternate PCIX priority setting" "0,1,2,3"
textline "                     "
bitfld.long  0. 20.--21.  " APM5  ,Alternate MAL priority setting" "0,1,2,3"
bitfld.long  0. 18.--19.  "         APM6 ,Alternate DMA priority setting" "0,1,2,3"
bitfld.long  0. 16.--17.  "    APM7 ,Alternate OPB to PLB bridge priority setting" "0,1,2,3"
bitfld.long  0. 15.  "    M0PS ,Master 0 Priority Setting" "own,alt"
textline "                     "
bitfld.long  0. 14.  " M1PS  ,Master 1 Priority Setting" "own,alt"
bitfld.long  0. 13.  "       M2PS ,Master 2 Priority Setting" "own,alt"
bitfld.long  0. 12.  "  M3PS ,Master 3 Priority Setting" "own,alt"
bitfld.long  0. 10.  "  M5PS ,Master 5 Priority Setting" "own,alt"
textline "                     "
bitfld.long  0. 9.  " M6PS  ,Master 6 Priority Setting" "own,alt"
bitfld.long  0. 8.  "       M7PS ,Master 7 Priority Setting" "own,alt"
bitfld.long  0. 7.  "  SAP  ,SRAM Address Pipelining" "no,yes"
bitfld.long  0. 6.  "  DAP  ,DDRSDRAM Address Pipelining"  "no,yes"
textline "                     "
bitfld.long  0. 5.  " POBAP ,PLB to OPB Address Pipelining"  "no,yes"
line.long 4. "CPC0_CR1,Control Register 1"
bitfld.long  4. 30.--31.  " DRU   ,DcuRdUrgent priority setting" "0,1,2,3"
bitfld.long  4. 28.--29.  "         DRT  ,DcuRdTouch priority setting" "0,1,2,3"
bitfld.long  4. 26.--27.  "    DRNC ,DcuRdNonCache priority setting" "0,1,2,3"
bitfld.long  4. 24.--25.  "    DRLC ,DcuRdLdCache priority setting" "0,1,2,3"
textline "                     "
bitfld.long  4. 22.--23.  " DWF   ,DcuWrFlush priority setting" "0,1,2,3"
bitfld.long  4. 20.--21.  "         DWS  ,DcuWrStore priority setting" "0,1,2,3"
bitfld.long  4. 18.--19.  "    DWU  ,DcuWrUrgent priority setting" "0,1,2,3"
bitfld.long  4. 16.--17.  "    IRF  ,IcuRdFetch priority setting" "0,1,2,3"
textline "                     "
bitfld.long  4. 14.--15.  " IRT   ,IcuRdTouch priority setting" "0,1,2,3"
bitfld.long  4. 12.--13.  "         IRS  ,IcuRsSpec priority setting" "0,1,2,3"
hexmask.long.byte  4. 0.--5. 1. "    TUNE ,DDR delay line tuning"
GROUP dcr:0xec--0xed "PLB Master Priority Assignment"
line.long 0. "CPC0_MIRQ0,Master Interrupt Request Register 0"
bitfld.long  0. 28.--30.  " MIR0  ,ICU read interrupt request" "0,1,2,3,4,5,6,7"
bitfld.long  0. 23.--25.  "         MIR1 ,DCU read interrupt request" "0,1,2,3,4,5,6,7"
bitfld.long  0. 18.--20.  "    MIR2 ,DCU write interrupt request" "0,1,2,3,4,5,6,7"
bitfld.long  0. 13.--15.  "    MIR3 ,PCIX controller interrupt request" "0,1,2,3,4,5,6,7"
textline "                     "
bitfld.long  0. 3.--5.  " MIR5  ,MAL controller interrupt request" "0,1,2,3,4,5,6,7"
line.long 4. "CPC0_MIRQ1,Master Interrupt Request Register 1"
bitfld.long  4. 28.--30.  " MIR6  ,DMA controller interrupt request" "0,1,2,3,4,5,6,7"
bitfld.long  4. 23.--25.  "         MIR7 ,OPB to PLB brigde interrupt request" "0,1,2,3,4,5,6,7"
rgroup dcr:0x82++0x00 "PLB Arbiter"
line.long 0. "PLB0_REVID,PLB Arbiter Revision ID"
hexmask.long 0x00 0.--31. 1. " RevId ,Core Revision Level"
GROUP dcr:0x83++0x01
line.long 0x00 "PLB0_ACR,PLB Arbiter Control Register"
bitfld.long 0x00 31. " PPM ,PLB Priority Mode" "Fixed,Fair"
bitfld.long 0x00 28.--30. "     PPO ,PLB Priority Order" "0/1/2/3/5/6/7,1/2/3/5/6/7/0,2/3/5/6/7/0/1,3/5/6/7/0/1/2,5/6/7/0/1/2/3,5/6/7/0/1/2/3,6/7/0/1/2/3/5,7/0/1/2/3/5/6"
bitfld.long 0x00 27. "  HBU ,High Bus Utilization" "-,Enabled"
bitfld.long 0x00 25.--26. "  RDP ,Read Pipeline Control" "-,2 reads,3 reads,4 reads"
textline "                     "
bitfld.long 0x00 24. " WRP ,Write Pipeline Control" "-,2 writes"
line.long 0x04 "PLB0_BESR,PLB Bus Error Status Register"
eventfld.long 0x04 31. " PTE0 ,Master 0 PLB Timeout Error Status" "-,Error"
eventfld.long 0x04 30. "  R/W0 ,Master 0 Read/Write Status" "Write,Read"
eventfld.long 0x04 29. "  FLK0 ,Master 0 PLB0_BESR Field Lock" "-,Locked"
eventfld.long 0x04 28. "  ALK0 ,Master 0 PLB0_BEAR Address Lock" "-,Locked"
textline "                     "
eventfld.long 0x04 27. " PTE1 ,Master 1 PLB Timeout Error Status" "-,Error"
eventfld.long 0x04 26. "  R/W1 ,Master 1 Read/Write Status" "Write,Read"
eventfld.long 0x04 25. "  FLK1 ,Master 1PLB0_BESR Field Lock" "-,Locked"
eventfld.long 0x04 24. "  ALK1 ,Master 1 PLB0_BEAR Address Lock" "-,Locked"
textline "                     "
eventfld.long 0x04 23. " PTE2 ,Master 2 PLB Timeout Error Status" "-,Error"
eventfld.long 0x04 22. "  R/W2 ,Master 2 Read/Write Status" "Write,Read"
eventfld.long 0x04 21. "  FLK2 ,Master 2 PLB0_BESR Field Lock" "-,Locked"
eventfld.long 0x04 20. "  ALK2 ,Master 2 PLB0_BEAR Address Lock" "-,Locked"
textline "                     "
eventfld.long 0x04 19. " PTE3 ,Master 3 PLB Timeout Error Status" "-,Error"
eventfld.long 0x04 18. "  R/W3 ,Master 3 Read/Write Status" "Write,Read"
eventfld.long 0x04 17. "  FLK3 ,Master 3 PLB0_BESR Field Lock" "-,Locked"
eventfld.long 0x04 16. "  ALK3 ,Master 3 PLB0_BEAR Address Lock" "-,Locked"
textline "                     "
eventfld.long 0x04 11. " PTE5 ,Master 5 PLB Timeout Error Status" "-,Error"
eventfld.long 0x04 10. "  R/W5 ,Master 5 Read/Write Status" "Write,Read"
eventfld.long 0x04 9. "  FLK5 ,Master 5 PLB0_BESR Field Lock" "-,Locked"
eventfld.long 0x04 8. "  ALK5 ,Master 5 PLB0_BEAR Address Lock" "-,Locked"
textline "                     "
eventfld.long 0x04 7. " PTE6 ,Master 6 PLB Timeout Error Status" "-,Error"
eventfld.long 0x04 6. "  R/W6 ,Master 6 Read/Write Status" "Write,Read"
eventfld.long 0x04 5. "  FLK6 ,Master 6 PLB0_BESR Field Lock" "-,Locked"
eventfld.long 0x04 4. "  ALK6 ,Master 6 PLB0_BEAR Address Loc" "-,Locked"
textline "                     "
eventfld.long 0x04 3. " PTE7 ,Master 7 PLB Timeout Error Status" "-,Error"
eventfld.long 0x04 2. "  R/W7 ,Master 7 Read/Write Status" "Write,Read"
eventfld.long 0x04 1. "  FLK7 ,Master 7 PLB0_BESR Field Lock" "-,Locked"
eventfld.long 0x04 0. "  ALK7 ,Master 7 PLB0_BEAR Address Lock" "-,Locked"
rgroup dcr:0x86++1
line.long 0. "PLB0_BEARL,Bus Error Address Register"
hexmask.long 0x00 0.--31. 1. " PLBEAL ,Bus Timeout Error Lower Address"
line.long 4. "PLB0_BEARH,Bus Error Address Register"
hexmask.long 0x04 0.--31. 1. " PLBEAH ,Bus Timeout Error Upper Address"
group dcr:0x90++0x00 "PLB to OPB Bridge"
line.long 0x00 "POB0_BESR0,PLB to OPB Bridge Error Status Register 0"
bitfld.long 0x00 30.--31. " PTE0 ,PLB Timeout Error Status Master 0" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 29. "  R/W0 ,Read Write Status Master 0" "Read,Write"
eventfld.long 0x00 28. "  FLK0 ,POB0_BESR0 Field Lock Master 0" "-,Locked"
eventfld.long 0x00 27. "  ALK0 ,POB0_BEAR Address Lock Master 0" "-,Locked"
eventfld.long 0x00 26. "  WIRQ0 ,Write Error Interrupt Master 0" "-,Error"
textline "                     "
bitfld.long 0x00 22.--23. " PTE1 ,PLB Timeout Error Status Master 1" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 21. "  R/W1 ,Read Write Status Master 1" "Read,Write"
eventfld.long 0x00 20. "  FLK1 ,POB0_BESR0 Field Lock Master 1" "-,Locked"
eventfld.long 0x00 19. "  ALK1 ,POB0_BEAR Address Lock Master 1" "-,Locked"
eventfld.long 0x00 18. "  WIRQ1 ,Write Error Interrupt Master 1" "-,Error"
textline "                     "
bitfld.long 0x00 14.--15. " PTE2 ,PLB Timeout Error Status Master 2" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 13. "  R/W2 ,Read Write Status Master 2" "Read,Write"
eventfld.long 0x00 12. "  FLK2 ,POB0_BESR0 Field Lock Master 2" "-,Locked"
eventfld.long 0x00 11. "  ALK2 ,POB0_BEAR Address Lock Master 2" "-,Locked"
eventfld.long 0x00 10. "  WIRQ2 ,Write Error Interrupt Master 2" "-,Error"
textline "                     "
bitfld.long 0x00 6.--7. " PTE3 ,PLB Timeout Error Status Master 3" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 5. "  R/W3 ,Read Write Status Master 3" "Read,Write"
eventfld.long 0x00 4. "  FLK3 ,POB0_BESR0 Field Lock Master 3" "-,Locked"
eventfld.long 0x00 3. "  ALK3 ,POB0_BEAR Address Lock Master 3" "-,Locked"
eventfld.long 0x00 2. "  WIRQ3 ,Write Error Interrupt Master 3" "-,Error"
rgroup dcr:0x92++1
line.long 0. "POB0_BEARL,PLB-to-OPB Error Address Register"
hexmask.long 0x00 0.--31. 1. " LABE ,Bus Error Lower Address"
line.long 4. "POB0_BEARH,PLB-to-OPB Error Address Register"
hexmask.long.byte 0x04 0.--3. 1. " UABE ,Bus Error Upper Address"
GROUP dcr:0x94++0
line.long 0. "POB0_BESR1,PLB-to-OPB Bridge Error Status Register 1"
bitfld.long 0x00 22.--23. " PTE5 ,PLB Timeout Error Status Master 5" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 21. "  R/W5 ,Read/Write Status Master 5" "Read,Write"
eventfld.long 0x00 20. "  FLK5 ,POB0_BESR0 Field Lock Master 5" "-,Locked"
eventfld.long 0x00 19. "  ALK5 ,POB0_BEAR Address Lock Master 5" "-,Locked"
eventfld.long 0x00 18. "  WIRQ5 ,Write Error Interrupt Master 5" "-,Error"
textline "                     "
bitfld.long 0x00 14.--15. " PTE6 ,PLB Timeout Error Status Master 6" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 13. "  R/W6 ,Read/Write Status Master 6" "Read,Write"
eventfld.long 0x00 12. "  FLK6 ,POB0_BESR0 Field Lock Master 6" "-,Locked"
eventfld.long 0x00 11. "  ALK6 ,POB0_BEAR Address Lock Master 6" "-,Locked"
eventfld.long 0x00 10. "  WIRQ6 ,Write Error Interrupt Master 6" "-,Error"
textline "                     "
bitfld.long 0x00 6.--7. " PTE7 ,PLB Timeout Error Status Master 7" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 5. "  R/W7 ,Read/Write Status Master 7" "Read,Write"
eventfld.long 0x00 4. "  FLK7 ,POB0_BESR0 Field Lock Master 7" "-,Locked"
eventfld.long 0x00 3. "  ALK7 ,POB0_BEAR Address Lock Master 7" "-,Locked"
eventfld.long 0x00 2. "  WIRQ7 ,Write Error Interrupt Master 7" "-,Error"
GROUP dcr:0x96++0
line.long 0. "POB0_CONFG,PLB-to-OPB Bridge Error Configuration Register"
eventfld.long 0x00 31. " ER     ,Enable Rearbitration" "Enabled,-"
eventfld.long 0x00 30. "   L32R  ,Line 32 Bit Read" "Requested,32 bit"
GROUP dcr:0x98++0
line.long 0. "POB0_LATENC,PLB-to-OPB Bridge Burst Latency Timer"
eventfld.long 0x00 31. " LE     ,Latency Enable" "-,Enabled"
bitfld.long 0x00 27.--30. "   LC    ,Latency Count" "1 block,2 blocks,3 blocks,4 blocks,5 blocks,6 blocks,7 blocks,8 blocks,9 blocks,10 blocks,11 blocks,12 blocks,13 blocks,14 blocks,15 blocks,16 blocks"
rgroup dcr:0x9a++0
line.long 0. "POB0_REVID,PLB-to-OPB Bridge Revision ID"
hexmask.long 0x00 4.--31. 1. " CoreID ,Core ID Value"
hexmask.long.byte 0x00 0.--3. 1. "  RevId ,Core Revision Level"
GROUP ANC:0x1:0x40000600++1. "OPB Arbiter"
LINE.BYTE  0. "OPBA0_PR,OPB Arbiter Priority Register"
bitfld.byte 0x00 6.--7. " HPM ,High Priority Master ID" "M0,M1,M2,M3"
bitfld.byte 0x00 4.--5. "       MHP ,Medium High Priority Master ID" "M0,M1,M2,M3"
bitfld.byte 0x00 2.--3. "       MLP ,Medium Low Priority Master ID" "M0,M1,M2,M3"
bitfld.byte 0x00 0.--1. "        LPM ,Low Priority Master ID" "M0,M1,M2,M3"
LINE.BYTE  1. "OPBA0_CR,OPB Arbiter Control Register"
bitfld.byte 0x01 7. " DPE ,Dynamic Priority Enable" "-,Enabled"
bitfld.byte 0x01 6. "  PEN ,Park Enable" "-,Enabled"
bitfld.byte 0x01 5. "  PMN ,Park on Master Not Last" "Last,Not last"
bitfld.byte 0x01 3.--4. "  PID ,Parked Master ID" "Last,Not last,?..."
GROUP dcr:0xa8++0 "OPB to PLB Bridge"
line.long 0x00 "OPB0_BCTRL,OPB-to-PLB Bridge Control Register"
bitfld.long 0x00 30.--31. " PRI   ,PLB Priority Bits" "Priority 0,Priority 1,Priority 2,Priority 3"
rgroup dcr:0xa9++0
line.long 0x00 "OPB0_BSTAT,OPB-to-PLB Bridge Status Register"
eventfld.long 0x00 31. " RDERR ,Read Error Bit" "-,Error"
eventfld.long 0x00 30. "       WRERR ,Write Error Bit" "-,Error"
rgroup dcr:0xaa++1
line.long 0x00 "OPB0_BEARL,OPB-to-PLB Bridge Error Address Register"
hexmask.long 0x00 0.--31. 1. " LABE  ,Bus Error Lower Address"
line.long 0x04 "OPB0_BEARH,OPB-to-PLB Bridge Error Address Register"
hexmask.long.byte 0x04 0.--3. 1. " UABE  ,Bus Error Upper Address"
rgroup dcr:0xac++0 
line.long 0. "OPB0_REVID,OPB-to-PLB Bridge Revision ID"
hexmask.long.byte 0x00 0.--3. 1. " RevID ,Core Revision Level"

tree.end
elif (cpu()=="PPC440GX")
base ANC:0x1:0x40000000
tree "On-Chip Buses"
width 14.
group dcr:0x000F++0x00 "Master Priority Assignment"
saveout dcr:0x000E %l 0x0240
line.long 0x00 "SDR0_AMP,Alternate PLB Master Priority Register 0"
bitfld.long 0x00 30.--31. " AICURP ,Alternate ICU Read Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 28.--29. "    ADCURP ,Alternate DCU Read Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 26.--27. "    ADCUWP ,Alternate DCU Write Priority" "Lowest,Low,High,Highest"
textline "                       "
bitfld.long 0x00 24.--25. " APCIXP ,Alternate PCIX Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 22.--23. "    AIMUP  ,Alternate IMU Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 20.--21. "    AMALP  ,Alternate MAL Priority" "Lowest,Low,High,Highest"
textline "                       "
bitfld.long 0x00 18.--19. " ADMAP  ,Alternate DMA Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 16.--17. "    AOPBP  ,Alternate OPB to PLB Bridge Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 15.      "    ICURP  ,ICU Read Priority" "Own,Alternate"
textline "                       "
bitfld.long 0x00 14. " DCURP  ,DCU Read Priority" "Own,Alternate"
bitfld.long 0x00 13. "  DCUWP  ,DCU Write Priority" "Own,Alternate"
bitfld.long 0x00 12. "  PCIXP  ,PCIX Priority" "Own,Alternate"
textline "                       "
bitfld.long 0x00 11. " IMUP   ,IMU Priority" "Own,Alternate"
bitfld.long 0x00 10. "  MALP   ,MAL Priority" "Own,Alternate"
bitfld.long 0x00  9. "  DMAP   ,DMA Priority" "Own,Alternate"
textline "                       "
bitfld.long 0x00  8. " OPBP   ,OPB to PLB Bridge Priority" "Own,Alternate"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x0180
line.long 0x00 "SDR0_CP440,PPC440 CPU Control Register 0"
bitfld.long 0x00 28.--29. " EARV ,ERPN Address Reset Vector" "Reserved,EBC,PCI,Reserved"
bitfld.long 0x00 26.--27. "  DRU  ,DcuRdUrgent" "Lowest,Low,High,Highest"
bitfld.long 0x00 24.--25. "  DRT  ,DcuRdTouch" "Lowest,Low,High,Highest"
textline "                       "
bitfld.long 0x00 22.--23. " DRNC ,DcuRdNonCache" "Lowest,Low,High,Highest"
bitfld.long 0x00 20.--21. "   DRLC ,DcuRdLdCache" "Lowest,Low,High,Highest"
bitfld.long 0x00 18.--19. "  DWF  ,DcuWrFlush" "Lowest,Low,High,Highest"
textline "                       "
bitfld.long 0x00 16.--17. " DWS  ,DcuWrStore" "Lowest,Low,High,Highest"
bitfld.long 0x00 14.--15. "   DWU  ,DcuWrUrgent" "Lowest,Low,High,Highest"
bitfld.long 0x00 12.--13. "  IRF  ,IcuRdFetch" "Lowest,Low,High,Highest"
textline "                       "
bitfld.long 0x00 10.--11. " IRT  ,IcuRdTouch" "Lowest,Low,High,Highest"
bitfld.long 0x00 8.--9. "   IRS  ,IcuRdSpec" "Lowest,Low,High,Highest"
bitfld.long 0x00 1. "  Nto1 ,CPU:PLB N to 1 Clock Ratio" "N:P>1,N:1"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x0260
line.long 0x00 "SDR0_MIRQ0,Master Interrupt Request Register 0 0"
bitfld.long 0x00 30. " ICURIRQDDRSDRAM ,ICU read interrupt request from DDR SDRAM" "-,Requested"
bitfld.long 0x00 28. "  ICURIRQPLBTOPBB ,ICU read interrupt request from PLB to OPB bridge" "-,Requested"
bitfld.long 0x00 27. "  ICURIRQIMUC ,ICU read interrupt request from IMU controller" "-,Requested"
textline "                       "
bitfld.long 0x00 25. " DCURIRQDDRSDRAM ,DCU read interrupt request from DDR SDRAM" "-,Requested"
bitfld.long 0x00 23. "  DCURIRQPLBTOPBB ,DCU read interrupt request from PLB to OPB bridge" "-,Requested"
bitfld.long 0x00 22. "  DCURIRQIMUC ,DCU read interrupt request from IMU controller" "-,Requested"
textline "                       "
bitfld.long 0x00 20. " DCUWIRQDDRSDRAM ,DCU write interrupt request from DDR SDRAM" "-,Requested"
bitfld.long 0x00 18. "  DCUWIRQPLBTOPBB ,DCU write interrupt request from PLB to OPB bridge" "-,Requested"
bitfld.long 0x00 17. "  DCUWIRQIMUC ,DCU write interrupt request from IMU controller" "-,Requested"
textline "                       "
bitfld.long 0x00 15. " PCIXIRQDDRSDRAM ,PCIX interrupt request from DDR SDRAM" "-,Requested"
bitfld.long 0x00 13. "  PCIXIRQPLBTOPBB ,PCIX interrupt request from PLB to OPB bridge" "-,Requested"
bitfld.long 0x00 12. "  PCIXIRQIMUC ,PCIX interrupt request from IMU controller" "-,Requested"
textline "                       "
bitfld.long 0x00 10. " IMUIRQDDRSDRAM  ,IMU interrupt request from DDR SDRAM" "-,Requested"
bitfld.long 0x00 8. "  IMUIRQPLBTOPBB  ,IMU interrupt request from PLB to OPB bridge" "-,Requested"
bitfld.long 0x00 7. "  IMUIRQIMUC  ,IMU interrupt request from IMU controller" "-,Requested"
textline "                       "
bitfld.long 0x00 5. " MALIRQDDRSDRAM  ,MAL interrupt request from DDR SDRAM" "-,Requested"
bitfld.long 0x00 3. "  MALIRQPLBTOPBB  ,MAL interrupt request from PLB to OPB bridge" "-,Requested"
bitfld.long 0x00 2. "  MALIRQIMUC  ,MAL interrupt request from IMU controller" "-,Requested"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x0261
line.long 0x00 "SDR0_MIRQ1,Master Interrupt Request Register 0 1"
bitfld.long 0x00 30. " DMAIRQDDRSDRAM  ,DMA interrupt request from DDR SDRAM" "-,Requested"
bitfld.long 0x00 28. "  DMAIRQPLBTOPBB  ,DMA interrupt request from PLB to OPB bridge" "-,Requested"
bitfld.long 0x00 27. "  DMAIRQIMUC  ,DMA interrupt request from IMU controller" "-,Requested"
textline "                       "
bitfld.long 0x00 25. " OPBIRQDDRSDRAM  ,OPB to PLB bridge interrupt request from DDR SDRAM" "-,Requested"
bitfld.long 0x00 23. "  OPBIRQPLBTOPBB  ,OPB to PLB bridge interrupt request from PLB to OPB bridge" "-,Requested"
bitfld.long 0x00 22. "  OPBIRQIMUC  ,OPB to PLB bridge interrupt request from IMU controller" "-,Requested"
width 0xC
rgroup dcr:0x82++0x00 "PLB Arbiter Registers"
line.long 0x00 "PLB0_REVID,PLB Arbiter Revision ID Register 0"
hexmask.long.word 0x00 8.--19. 1. " RN  ,Revision number"
hexmask.long.byte 0x00  0.--7.  1. "    BRN ,Branch revision number"
group dcr:0x83++0x01
line.long 0x00 "PLB0_ACR,PLB Arbiter Control Register 0"
bitfld.long 0x00 31. " PPM ,PLB Priority Mode" "Fixed,Fair"
bitfld.long 0x00 28.--30. "        PPO ,PLB Priority Order" "0/1/2/3/4/5/6/7,1/2/3/4/5/6/7/0,2/3/4/5/6/7/0/1,3/4/5/6/7/0/1/2,4/5/6/7/0/1/2/3,5/6/7/0/1/2/3/4,6/7/0/1/2/3/4/5,7/0/1/2/3/4/5/6"
bitfld.long 0x00 27. "  HBU ,High Bus Utilization" "-,Enabled"
textline "                     "
bitfld.long 0x00 25.--26. " RDP ,Read Pipeline Control" "-,2 Deep read,3 Deep read,4 Deep read"
bitfld.long 0x00 24. "  WRP ,Write Pipeline Control" "-,2 Deep Write"
line.long 0x04 "PLB0_BESR,PLB Bus Error Status Register 0"
eventfld.long 0x04 31. " PTE0 ,Master 0 PLB Timeout Error Status (Read-only instruction cache unit (ICU))" "-,Error"
eventfld.long 0x04 30. "  R/W0 ,Master 0 Read/Write Status (Read-only instruction cache unit (ICU))" "Write,Read"
eventfld.long 0x04 29. "  FLK0 ,Master 0 PLB0_BESR Field Lock (Read-only instruction cache unit (ICU))" "-,Locked"
eventfld.long 0x04 28. "  ALK0 ,Master 0 PLB0_BEAR Address Lock (Read-only instruction cache unit (ICU))" "-,Locked"
textline "                     "
eventfld.long 0x04 27. " PTE1 ,Master 1 PLB Timeout Error Status (Read-only data cache unit (DCU))" "-,Error"
eventfld.long 0x04 26. "  R/W1 ,Master 1 Read/Write Status (Read-only data cache unit (DCU))" "Write,Read"
eventfld.long 0x04 25. "  FLK1 ,Master 1PLB0_BESR Field Lock (Read-only data cache unit (DCU))" "-,Locked"
eventfld.long 0x04 24. "  ALK1 ,Master 1 PLB0_BEAR Address Lock (Read-only data cache unit (DCU))" "-,Locked"
textline "                     "
eventfld.long 0x04 23. " PTE2 ,Master 2 PLB Timeout Error Status (Write-only data cache unit (DCU))" "-,Error"
eventfld.long 0x04 22. "  R/W2 ,Master 2 Read/Write Status (Write-only data cache unit (DCU))" "Write,Read"
eventfld.long 0x04 21. "  FLK2 ,Master 2 PLB0_BESR Field Lock (Write-only data cache unit (DCU))" "-,Locked"
eventfld.long 0x04 20. "  ALK2 ,Master 2 PLB0_BEAR Address Lock (Write-only data cache unit (DCU))" "-,Locked"
textline "                     "
eventfld.long 0x04 19. " PTE3 ,Master 3 PLB Timeout Error Status (PCIX bridge controller)" "-,Error"
eventfld.long 0x04 18. "  R/W3 ,Master 3 Read/Write Status (PCIX bridge controller)" "Write,Read"
eventfld.long 0x04 17. "  FLK3 ,Master 3 PLB0_BESR Field Lock (PCIX bridge controller)" "-,Locked"
eventfld.long 0x04 16. "  ALK3 ,Master 3 PLB0_BEAR Address Lock (PCIX bridge controller)" "-,Locked"
textline "                     "
eventfld.long 0x04 15. " PTE4 ,Master 4 PLB Timeout Error Status (I2O messaging unit)" "-,Error"
eventfld.long 0x04 14. "  R/W4 ,Master 4 Read/Write Status (I2O messaging unit)" "Write,Read"
eventfld.long 0x04 13. "  FLK4 ,Master 4 PLB0_BESR Field Lock (I2O messaging unit)" "-,Locked"
eventfld.long 0x04 12. "  ALK4 ,Master 4 PLB0_BEAR Address Lock (I2O messaging unit)" "-,Locked"
textline "                     "
eventfld.long 0x04 11. " PTE5 ,Master 5 PLB Timeout Error Status (MAL controller)" "-,Error"
eventfld.long 0x04 10. "  R/W5 ,Master 5 Read/Write Status (MAL controller)" "Write,Read"
eventfld.long 0x04 9. "  FLK5 ,Master 5 PLB0_BESR Field Lock (MAL controller)" "-,Locked"
eventfld.long 0x04 8. "  ALK5 ,Master 5 PLB0_BEAR Address Lock (MAL controller)" "-,Locked"
textline "                     "
eventfld.long 0x04 7. " PTE6 ,Master 6 PLB Timeout Error Status (DMA controller)" "-,Error"
eventfld.long 0x04 6. "  R/W6 ,Master 6 Read/Write Status (DMA controller)" "Write,Read"
eventfld.long 0x04 5. "  FLK6 ,Master 6 PLB0_BESR Field Lock (DMA controller)" "-,Locked"
eventfld.long 0x04 4. "  ALK6 ,Master 6 PLB0_BEAR Address Lock (DMA controller)" "-,Locked"
textline "                     "
eventfld.long 0x04 3. " PTE7 ,Master 7 PLB Timeout Error Status (OPB to PLB bridge controller)" "-,Error"
eventfld.long 0x04 2. "  R/W7 ,Master 7 Read/Write Status (OPB to PLB bridge controller)" "Write,Read"
eventfld.long 0x04 1. "  FLK7 ,Master 7 PLB0_BESR Field Lock (OPB to PLB bridge controller)" "-,Locked"
eventfld.long 0x04 0. "  ALK7 ,Master 7 PLB0_BEAR Address Lock (OPB to PLB bridge controller)" "-,Locked"
rgroup dcr:0x86++1
line.long 0x00 "PLB0_BEARL,PLB Error Address Register 0"
line.long 0x04 "PLB0_BEARH,PLB Error Address Register High 0"
width 0xE
group dcr:0x90++0x00 "PLB to OPB Bridge Registers"
line.long 0x00 "POB0_BESR0,PLB to OPB Bridge Error Status Register 0 0"
bitfld.long 0x00 30.--31. " PTE0  ,PLB Timeout Error Status Master 0 (Read-only instruction cache unit (ICU))" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 29. "  R/W0 ,Read Write Status Master 0 (Read-only instruction cache unit (ICU))" "Write,Read"
eventfld.long 0x00 28. "  FLK0 ,POB0_BESR0 Field Lock Master 0 (Read-only instruction cache unit (ICU))" "-,Locked"
eventfld.long 0x00 27. "  ALK0 ,POB0_BEAR Address Lock Master 0 (Read-only instruction cache unit (ICU))" "-,Locked"
eventfld.long 0x00 26. "  WIRQ0 ,Write Error Interrupt Master 0 (Read-only instruction cache unit (ICU))" "-,Error"
textline "                       "
bitfld.long 0x00 22.--23. " PTE1  ,PLB Timeout Error Status Master 1 (Read-only data cache unit (DCU))" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 21. "  R/W1 ,Read/Write Status Master 1 (Read-only data cache unit (DCU))" "Write,Read"
eventfld.long 0x00 20. "  FLK1 ,POB0_BESR0 Field Lock Master 1 (Read-only data cache unit (DCU))" "-,Locked"
eventfld.long 0x00 19. "  ALK1 ,POB0_BEAR Address Lock Master 1 (Read-only data cache unit (DCU))" "-,Locked"
eventfld.long 0x00 18. "  WIRQ1 ,Write Error Interrupt Master 1 (Read-only data cache unit (DCU))" "-,Error"
textline "                       "
bitfld.long 0x00 14.--15. " PTE2  ,PLB Timeout Error Status Master 2 (Write-only data cache unit (DCU))" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 13. "  R/W2 ,Read/Write Status Master 2 (Write-only data cache unit (DCU))" "Write,Read"
eventfld.long 0x00 12. "  FLK2 ,POB0_BESR0 Field Lock Master 2 (Write-only data cache unit (DCU))" "-,Locked"
eventfld.long 0x00 11. "  ALK2 ,POB0_BEAR Address Lock Master 2 (Write-only data cache unit (DCU))" "-,Locked"
eventfld.long 0x00 10. "  WIRQ2 ,Write Error Interrupt Master 2 (Write-only data cache unit (DCU))" "-,Error"
textline "                       "
bitfld.long 0x00 6.--7. " PTE3  ,PLB Timeout Error Status Master 3 (PCIX bridge controller)" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 5. "  R/W3 ,Read/Write Status Master 3 (PCIX bridge controller)" "Write,Read"
eventfld.long 0x00 4. "  FLK3 ,POB0_BESR0 Field Lock Master 3 (PCIX bridge controller)" "-,Locked"
eventfld.long 0x00 3. "  ALK3 ,POB0_BEAR Address Lock Master 3 (PCIX bridge controller)" "-,Locked"
eventfld.long 0x00 2. "  WIRQ3 ,Write Error Interrupt Master 3 (PCIX bridge controller)" "-,Error"
rgroup dcr:0x92++1
line.long 0x00 "POB0_BEARL,PLB to OPB Bridge Error Address Register Low 0"
line.long 0x04 "POB0_BEARH,PLB to OPB Bridge Error Address Register High 0"
bitfld.long 0x04 0.--3. " UAOBE ,Bus Error Upper Address" "0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F"
group dcr:0x94++0
line.long 0x00 "POB0_BESR1,PLB to OPB Bridge Error Status Register 0 1"
bitfld.long 0x00 30.--31. " PTE4  ,PLB Timeout Error Status Master 4 (I2O messaging unit)" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 29. "  R/W4 ,Read/Write Status Master 4 (I2O messaging unit)" "Read,Write"
eventfld.long 0x00 28. "  FLK4 ,POB0_BESR0 Field Lock Master 4 (I2O messaging unit)" "-,Locked"
eventfld.long 0x00 27. "  ALK4 ,POB0_BEAR Address Lock Master 4 (I2O messaging unit)" "-,Locked"
eventfld.long 0x00 26. "  WIRQ4 ,Write Error Interrupt Master 4 (I2O messaging unit)" "-,Error"
textline "                       "
bitfld.long 0x00 22.--23. " PTE5  ,PLB Timeout Error Status Master 5 (MAL controller)" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 21. "  R/W5 ,Read/Write Status Master 5 (MAL controller)" "Write,Read"
eventfld.long 0x00 20. "  FLK5 ,POB0_BESR1 Field Lock Master 5 (MAL controller)" "-,Locked"
eventfld.long 0x00 19. "  ALK5 ,POB0_BEAR Address Lock Master 5 (MAL controller)" "-,Locked"
eventfld.long 0x00 18. "  WIRQ5 ,Write Error Interrupt Master 5 (MAL controller)" "-,Error"
textline "                       "
bitfld.long 0x00 14.--15. " PTE6  ,PLB Timeout Error Status Master 6 (DMA controller)" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 13. "  R/W6 ,Read/Write Status Master 6 (DMA controller)" "Write,Read"
eventfld.long 0x00 12. "  FLK6 ,POB0_BESR1 Field Lock Master 6 (DMA controller)" "-,Locked"
eventfld.long 0x00 11. "  ALK6 ,POB0_BEAR Address Lock Master 6 (DMA controller)" "-,Locked"
eventfld.long 0x00 10. "  WIRQ6 ,Write Error Interrupt Master 6 (DMA controller)" "-,Error"
textline "                       "
bitfld.long 0x00 6.--7. " PTE7  ,PLB Timeout Error Status Master 7 (OPB to PLB bridge controller)" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 5. "  R/W7 ,Read/Write Status Master 7 (OPB to PLB bridge controller)" "Write,Read"
eventfld.long 0x00 4. "  FLK7 ,POB0_BESR1 Field Lock Master 7 (OPB to PLB bridge controller)" "-,Locked"
eventfld.long 0x00 3. "  ALK7 ,POB0_BEAR Address Lock Master 7 (OPB to PLB bridge controller)" "-,Locked"
eventfld.long 0x00 2. "  WIRQ7 ,Write Error Interrupt Master 7 (OPB to PLB bridge controller)" "-,Error"
group dcr:0x96++0
line.long 0x00 "POB0_CONFG,PLB to OPB Bridge Error Configuration Register 0"
eventfld.long 0x00 31. " ER    ,Enable Rearbitration" "Enabled,-"
eventfld.long 0x00 30. "   L32R ,Line 32 Bit Read" "Requested,32 bit"
group dcr:0x98++0
line.long 0x00 "POB0_LATENCY,PLB to OPB Bridge Burst Latency Timer"
eventfld.long 0x00 31. " LE    ,Latency Enable" "-,Enabled"
bitfld.long 0x00 27.--30. "   LC   ,Latency Count" "1 block,2 blocks,3 blocks,4 blocks,5 blocks,6 blocks,7 blocks,8 blocks,9 blocks,10 blocks,11 blocks,12 blocks,13 blocks,14 blocks,15 blocks,16 blocks"
rgroup dcr:0x9a++0
line.long 0x00 "POB0_REVID,PLB to OPB Bridge Revision ID"
hexmask.long.word 0x00 8.--19. 1. " RN    ,Revision number"
hexmask.long.byte 0x00 0.--7.  1. "      BRN  ,Branch revision number"
width 0xA
group.byte 0x600++1. "OPB Arbiter Registers"
line.byte  0x00 "OPBA0_PR,OPB Arbiter Priority Register 0"
bitfld.byte 0x00 6.--7. " HPM ,High Priority Master ID" "M0,M1,M2,M3"
bitfld.byte 0x00 4.--5. "       MHP ,Medium High Priority Master ID" "M0,M1,M2,M3"
bitfld.byte 0x00 2.--3. "       MLP ,Medium Low Priority Master ID" "M0,M1,M2,M3"
bitfld.byte 0x00 0.--1. "        LPM ,Low Priority Master ID" "M0,M1,M2,M3"
line.byte  0x1 "OPBA0_CR,OPB Arbiter Control Register 0"
bitfld.byte 0x01 7. " DPE ,Dynamic Priority Enable" "-,Enabled"
bitfld.byte 0x01 6. "  PEN ,Park Enable" "-,Enabled"
bitfld.byte 0x01 5. "  PMN ,Park on Master Not Last" "Last,Not last"
bitfld.byte 0x01 3.--4. "  PID ,Parked Master ID" "M0_request/OPB_M0Grant,M1_request/OPB_M1Grant,M2_request/OPB_M2Grant,M3_request/OPB_M3Grant"
width 0xC
group dcr:0xa8++0x1 "OPB to PLB Bridge Registers"
line.long 0x00 "OPB0_BCTRL,OPB to PLB Bridge Control Register 0"
bitfld.long 0x00 30.--31. " PRI   ,PLB Priority Bits" "Lowest,Low,High,Highest"
line.long 0x4 "OPB0_BSTAT,OPB to PLB Bridge Status Register 0"
eventfld.long 0x4 31. " RDERR ,Read Error Bit" "-,Error"
eventfld.long 0x4 30. "   WRERR ,Write Error Bit" "-,Error"
rgroup dcr:0xAA++0x2
line.long 0x0 "OPB0_BEARL,OPB to PLB Bridge Error Address Register Low 0"
line.long 0x4 "OPB0_BEARH,OPB to PLB Bridge Error Address Register High 0"
hexmask.long.byte 0x4 0.--3. 1. " UAOBE ,Bus Error Upper Address"
line.long 0x8 "OPB0_REVID,OPB to PLB Bridge Revision ID Register 0"
hexmask.long.byte 0x8 0.--3. 1. " RevID ,Core Revision Level"
width 0xb
tree.end
base ANC:0x0:0x00000000
elif (cpu()=="PPC440GR")
tree.open "On-Chip Buses"
width 14.
tree "PLB Master Priority Assignment"
group dcr:0x000F++0x00 
saveout dcr:0x000E %l 0x0240
line.long 0x00 "SDR0_AMP0,Alternate PLB4 Master Priority Register 0"
bitfld.long 0x00 30.--31. " AICURP  ,Alternate ICU Read Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 28.--29. "    ADCURP ,Alternate DCU Read Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 26.--27. "    ADCUWP ,Alternate DCU Write Priority" "Lowest,Low,High,Highest"
textline "                       "
bitfld.long 0x00 24.--25. " ADMAP4P ,Alternate DMA to PLB4 Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 22.--23. "    AP3P4P ,Alternate PLB3 to PLB4 Bridge Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 15. "    ICURP  ,ICU Read Priority" "Own,Alternate"
textline "                       "
bitfld.long 0x00 14. " DCURP   ,DCU Read Priority" "Own,Alternate"
bitfld.long 0x00 13. "  DCUWP  ,DCU Write Priority" "Own,Alternate"
bitfld.long 0x00 12. "  DMAP4P ,DMA to PLB4 Priority" "Own,Alternate"
textline "                       "
bitfld.long 0x00 11. " P3P4P   ,PLB3 to PLB4 Priority" "Own,Alternate"
group dcr:0x000F++0x00 
saveout dcr:0x000E %l 0x0241
line.long 0x00 "SDR0_AMP1,Alternate PLB3 Master Priority Register 1"
bitfld.long 0x00 30.--31. " AP4P3P  ,Alternate PLB4 to PLB3 Bridge Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 28.--29. "    AMALP  ,Alternate MAL Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 26.--27. "    APCIP  ,Alternate PCI Priority" "Lowest,Low,High,Highest"
textline "                       "
bitfld.long 0x00 24.--25. " ADMA1P  ,Alternate DMA 1 Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 22.--23. "    AOP3P  ,Alternate OPB to PLB3 Bridge Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 20.--21. "    AEBCP  ,Alternate EBC Priority" "Lowest,Low,High,Highest"
textline "                       "
bitfld.long 0x00 15. " P4P3P   ,PLB4 to PLB3 Bridge Priority" "Own,Alternate"
bitfld.long 0x00 14. "  MALP   ,MAL Priority" "Own,Alternate"
bitfld.long 0x00 13. "  PCIP   ,PCI Priority" "Own,Alternate"
textline "                       "
bitfld.long 0x00 12. " DMA1P   ,DMA 1 Priority" "Own,Alternate"
bitfld.long 0x00 11. "  OP3P   ,OPB to PLB3 Bridge Priority" "Own,Alternate"
bitfld.long 0x00 10. "  EBCP   ,EBC Priority" "Own,Alternate"
group dcr:0x000F++0x00 
saveout dcr:0x000E %l 0x0180
line.long 0x00 "SDR0_CP440,PPC440 CPU Control Register"
bitfld.long 0x00 28.--29. " RL      ,Boot ROM Location" "EBC,PCI,NDFC,Reserved"
bitfld.long 0x00 26.--27. "   DRU    ,DcuRdUrgent" "Lowest,Low,High,Highest"
bitfld.long 0x00 24.--25. "    DRT    ,DcuRdTouch" "Lowest,Low,High,Highest"
textline "                       "
bitfld.long 0x00 22.--23. " DRNC    ,DcuRdNonCache" "Lowest,Low,High,Highest"
bitfld.long 0x00 20.--21. "    DRLC   ,DcuRdLdCache" "Lowest,Low,High,Highest"
bitfld.long 0x00 18.--19. "    DWF    ,DcuWrFlush" "Lowest,Low,High,Highest"
textline "                       "
bitfld.long 0x00 16.--17. " DWS     ,DcuWrStore" "Lowest,Low,High,Highest"
bitfld.long 0x00 14.--15. "    DWU    ,DcuWrUrgent" "Lowest,Low,High,Highest"
bitfld.long 0x00 12.--13. "    IRF    ,IcuRdFetch" "Lowest,Low,High,Highest"
textline "                       "
bitfld.long 0x00 10.--11. " IRT     ,IcuRdTouch" "Lowest,Low,High,Highest"
bitfld.long 0x00 8.--9. "    IRS    ,IcuRdSpec" "Lowest,Low,High,Highest"
bitfld.long 0x00 1. "    NTO1   ,CPU:PLB N to 1 Clock Ratio" "> 1,1"
group dcr:0x000F++0x00 
saveout dcr:0x000E %l 0x0260
line.long 0x00 "SDR0_MIRQ0,PLB4 Master Interrupt Request Register 0"
bitfld.long 0x00 30. " M0DDR   ,ICU Read Interrupt Request from DDR SDRAM" "-,Requested"
bitfld.long 0x00 29. "  M0P4OP ,ICU Read Interrupt Request from PLB4 to OPB Bridge" "-,Requested"
bitfld.long 0x00 28. "  M0P4P3 ,ICU Read Interrupt Request from PLB4 to PLB3 Bridge" "-,Requested"
textline "                       "
bitfld.long 0x00 25. " M1DDR   ,ICU Read Interrupt Request from DDR SDRAM" "-,Requested"
bitfld.long 0x00 24. "  M1P4OP ,ICU read interrupt request from PLB4 to OPB Bridge" "-,Requested"
bitfld.long 0x00 23. "  M1P4P3 ,ICU Read Interrupt Request from PLB4 to PLB3 Bridge" "-,Requested"
textline "                       "
bitfld.long 0x00 20. " M2DDR   ,ICU Read Interrupt Request from DDR SDRAM" "-,Requested"
bitfld.long 0x00 19. "  M2P4OP ,ICU Read Interrupt Request from PLB4 to OPB Bridge" "-,Requested"
bitfld.long 0x00 18. "  M2P4P3 ,ICU read interrupt Request from PLB4 to PLB3 Bridge" "-,Requested"
textline "                       "
bitfld.long 0x00 15. " M3DDR   ,ICU Read Interrupt Request from DDR SDRAM" "-,Requested"
bitfld.long 0x00 14. "  M3P4OP ,ICU Read Interrupt Request from PLB4 to OPB Bridge" "-,Requested"
bitfld.long 0x00 13. "  M3P4P3 ,ICU Read Interrupt Request from PLB4 to PLB3 Bridge" "-,Requested"
textline "                       "
bitfld.long 0x00 10. " M4DDR   ,ICU Read Interrupt Request from DDR SDRAM" "-,Requested"
bitfld.long 0x00 9. "  M4P4OP ,ICU Read Interrupt Request from PLB4 to OPB Bridge" "-,Requested"
bitfld.long 0x00 8. "  M4P4P3 ,ICU Read Interrupt Request from PLB4 to PLB3 Bridge" "-,Requested"
group dcr:0x000F++0x00 
saveout dcr:0x000E %l 0x0220
line.long 0x00 "SDR0_SLPIPE0,PLB Slave Address Pipeline Register"
bitfld.long 0x00 30. " DAP     ,DDR Address Pipeline Enable" "-,Enabled"
bitfld.long 0x00 29. "    P4P3AP ,PLB4 to PLB3 Address Pipeline Enable" "-,Enabled"
bitfld.long 0x00 3. "    P3OAP  ,PLB3 to OPB Address Pipeline Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 2. " EAP     ,EBC Address Pipeline Enable" "-,Enabled"
bitfld.long 0x00 1. "    PAP    ,PCI Address Pipeline Enable" "-,Enabled"
bitfld.long 0x00 0. "    P3P4AP ,PLB3 to PLB4 Address Pipeline Enable" "-,Enabled"
tree.end
tree "PLB4 Arbiter"
width 14.
rgroup dcr:0x0080++0x00 
line.long 0x00 "PLB4A0_REVID,PLB4 Crossbar ID/Revision Register"
hexmask.long.word 0x00 8.--19. 1. " RN   ,Revision Number"
hexmask.long.byte 0x00 0.--7. 1. "     BRN  ,Branch Revision Number"
group dcr:0x0081++0x00
line.long 0x00 "PLB4A0_ACR,PLB4 Arbiter Control Register"
bitfld.long 0x00 31. " PPM0 ,PLB Priority Mode" "Fixed,Fair"
bitfld.long 0x00 30. "    PPM1 ,PLB Priority Mode" "Fixed,Fair"
bitfld.long 0x00 28. "   PPM3 ,PLB Priority Mode" "Fixed,Fair"
textline "                       "
bitfld.long 0x00 27. " HBU  ,High Bus Utilization" "-,Enabled"
bitfld.long 0x00 25.--26. "  RDP  ,Read Pipeline Control" "-,2 deep,3 deep,4 deep"
bitfld.long 0x00 24. "  WRP  ,Write Pipeline Control" "-,2 deep"
group dcr:0x0082++0x00
line.long 0x00 "PLB4A0_ESRL,PLB4 Error Status Register Low"
eventfld.long 0x00 31. " PTE0 ,Master 0 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 30. "  R/W0 ,Master 0 Read/Write Status" "Write,Read"
eventfld.long 0x00 29. "  FLK0 ,Master 0 PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 28. "  ALK0 ,Master 0 PLB4A0_EAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 27. " PTE1 ,Master 1 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 26. "  R/W1 ,Master 1 Read/Write Status" "Write,Read"
eventfld.long 0x00 25. "  FLK1 ,Master 1PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 24. "  ALK1 ,Master 1 PLB4A0_EAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 23. " PTE2 ,Master 2 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 22. "  R/W2 ,Master 2 Read/Write Status" "Write,Read"
eventfld.long 0x00 21. "  FLK2 ,Master 2 PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 20. "  ALK2 ,Master 2 PLB4A0_EAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 19. " PTE3 ,Master 3 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 18. "  R/W3 ,Master 3 Read/Write Status" "Write,Read"
eventfld.long 0x00 17. "  FLK3 ,Master 3 PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 16. "  ALK3 ,Master 3 PLB4A0_EAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 15. " PTE4 ,Master 4 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 14. "  R/W4 ,Master 4 Read/Write Status" "Write,Read"
eventfld.long 0x00 13. "  FLK4 ,Master 4 PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 12. "  ALK4 ,Master 4 PLB4A0_EAR Address Lock" "-,Locked"
rgroup dcr:0x0084++0x00
line.long 0x00 "PLB4A0_EARL,PLB4 Error Address Register Low"
rgroup dcr:0x0085++0x00
line.long 0x00 "PLB4A0_EARH,PLB4 Error Address Register High"
group dcr:0x0088++0x00
line.long 0x00 "PLB4A0_CCR,PLB4 Crossbar Control Register"
bitfld.long 0x00 28.--31. " PSA     ,PLB Segmentation Upper Address Control" "PLB4A0,PLB4A0,PLB4A0,PLB4A0,PLB4A0,PLB4A0,PLB4A0,PLB4A0,PLB4A1,PLB4A1,PLB4A1,PLB4A1,PLB4A1,PLB4A1,PLB4A1,PLB4A1"
bitfld.long 0x00 27. "   PLB3_0 ,PLB3 TimeOut Mode Enabled [0]" "PLB4,PLB3"
bitfld.long 0x00 26. "    PLB3_1  ,PLB3 TimeOut Mode Enabled [1]" "PLB4,PLB3"
textline "                       "
bitfld.long 0x00 25. " PLB3_2  ,PLB3 TimeOut Mode Enabled [2]" "PLB4,PLB3"
bitfld.long 0x00 24. "     PLB3_3 ,PLB3 TimeOut Mode Enabled [3]" "PLB4,PLB3"
bitfld.long 0x00 23. "    PLB3_4  ,PLB3 TimeOut Mode Enabled [4]" "PLB4,PLB3"
textline "                       "
bitfld.long 0x00 22. " PLB3_5  ,PLB3 TimeOut Mode Enabled [5]" "PLB4,PLB3"
bitfld.long 0x00 21. "     PLB3_6 ,PLB3 TimeOut Mode Enabled [6]" "PLB4,PLB3"
bitfld.long 0x00 20. "    PLB3_7  ,PLB3 TimeOut Mode Enabled [7]" "PLB4,PLB3"
textline "                       "
bitfld.long 0x00 19. " PLB3_8  ,PLB3 TimeOut Mode Enabled [8]" "PLB4,PLB3"
bitfld.long 0x00 18. "     PLB3_9 ,PLB3 TimeOut Mode Enabled [9]" "PLB4,PLB3"
bitfld.long 0x00 17. "    PLB3_10 ,PLB3 TimeOut Mode Enabled [10]" "PLB4,PLB3"
textline "                       "
bitfld.long 0x00 16. " PLB3_11 ,PLB3 TimeOut Mode Enabled [11]" "PLB4,PLB3"
group dcr:0x0089++0x00
line.long 0x00 "PLB4A1_ACR,PLB4 Arbiter Control Register"
bitfld.long 0x00 31. " PPM0    ,PLB Priority Mode" "Fixed,Fair"
bitfld.long 0x00 30. "    PPM1   ,PLB Priority Mode" "Fixed,Fair"
bitfld.long 0x00 28. "   PPM3    ,PLB Priority Mode" "Fixed,Fair"
textline "                       "
bitfld.long 0x00 27. " HBU     ,High Bus Utilization" "-,Enabled"
bitfld.long 0x00 25.--26. "  RDP    ,Read Pipeline Control" "-,2 deep,3 deep,4 deep"
bitfld.long 0x00 24. "  WRP     ,Write Pipeline Control" "-,2 deep"
group dcr:0x008a++0x00
line.long 0x00 "PLB4A1_ESRL,PLB4 Error Status Register Low"
eventfld.long 0x00 31. " PTE0 ,Master 0 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 30. "  R/W0 ,Master 0 Read/Write Status" "Write,Read"
eventfld.long 0x00 29. "  FLK0 ,Master 0 PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 28. "  ALK0 ,Master 0 PLB4A0_EAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 27. " PTE1 ,Master 1 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 26. "  R/W1 ,Master 1 Read/Write Status" "Write,Read"
eventfld.long 0x00 25. "  FLK1 ,Master 1PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 24. "  ALK1 ,Master 1 PLB4A0_EAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 23. " PTE2 ,Master 2 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 22. "  R/W2 ,Master 2 Read/Write Status" "Write,Read"
eventfld.long 0x00 21. "  FLK2 ,Master 2 PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 20. "  ALK2 ,Master 2 PLB4A0_EAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 19. " PTE3 ,Master 3 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 18. "  R/W3 ,Master 3 Read/Write Status" "Write,Read"
eventfld.long 0x00 17. "  FLK3 ,Master 3 PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 16. "  ALK3 ,Master 3 PLB4A0_EAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 15. " PTE4 ,Master 4 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 14. "  R/W4 ,Master 4 Read/Write Status" "Write,Read"
eventfld.long 0x00 13. "  FLK4 ,Master 4 PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 12. "  ALK4 ,Master 4 PLB4A0_EAR Address Lock" "-,Locked"
rgroup dcr:0x008c++0x00
line.long 0x00 "PLB4A1_EARL,PLB4 Error Address Register Low"
rgroup dcr:0x008d++0x00
line.long 0x00 "PLB4A1_EARH,PLB4 Error Address Register High"
tree.end
tree "PLB4 to PLB3 Bridge Registers (Bridge Out 0)"
width 15.
rgroup dcr:0x0022++0x00
line.long 0x00 "P4P3BO0_BEARL,PLB4 to PLB3 Bridge Error Address Register Low"
rgroup dcr:0x0023++0x00
line.long 0x00 "P4P3BO0_BEARH,PLB4 to PLB3 Bridge Error Address Register High"
group dcr:0x0020++0x00
line.long 0x00 "P4P3BO0_BESR0,PLB4 to PLB3 Bridge Error Status Register 0"
bitfld.long 0x00 30.--31. " SSET0 ,Secondary PLB Bus Slave Error Type for Master 0" "-,Timeout,Data,Reserved"
eventfld.long 0x00 29. "  R/W0 ,Read Write Status Master 0" "Write,Read"
eventfld.long 0x00 28. "  FLK0 ,P4P3BO0_BESR Field Lock Master 0" "-,Locked"
eventfld.long 0x00 27. "  ALK0 ,P4P3BO0_BEAR Address Lock Master 0" "-,Locked"
eventfld.long 0x00 26. "  WIRQ0 ,Write Error Interrupt Master 0" "-,Requested"
bitfld.long 0x00 24.--25. "  PAR0 ,Parity Error Type Master 0" "-,Read,Address,Write"
textline "                        "
bitfld.long 0x00 22.--23. " SSET1 ,Secondary PLB Bus Slave Error Type for Master 1" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 21. "  R/W1 ,Read/write status Master 1" "Write,Read"
eventfld.long 0x00 20. "  FLK1 ,P4P3BO0_BESR Field Lock Master 1" "-,Locked"
eventfld.long 0x00 19. "  ALK1 ,P4P3BO0_BEAR Address Lock Master 1" "-,Locked"
eventfld.long 0x00 18. "  WIRQ1 ,Write Error Interrupt Master 1" "-,Requested"
bitfld.long 0x00 16.--17. "  PAR1 ,Parity Error Type Master 1" "-,Read,Address,Write"
textline "                        "
bitfld.long 0x00 14.--15. " SSET2 ,Secondary PLB Bus Slave Error Type for Master 2" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 13. "  R/W2 ,Read/Write Status Master 2" "Write,Read"
eventfld.long 0x00 12. "  FLK2 ,P4P3BO0_BESR Field Lock Master 2" "-,Locked"
eventfld.long 0x00 11. "  ALK2 ,P4P3BO0_BEAR Address Lock Master 2" "-,Locked"
eventfld.long 0x00 10. "  WIRQ2 ,Write Error Interrupt Master 2" "-,Requested"
bitfld.long 0x00 8.--9. "  PAR2 ,Parity Error Type Master 2" "-,Read,Address,Write"
textline "                        "
bitfld.long 0x00 6.--7. " SSET3 ,Secondary PLB Bus Slave Error Type for Master 3" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 5. "  R/W3 ,Read/Write Status Master 3" "Write,Read"
eventfld.long 0x00 4. "  FLK3 ,P4P3BO0_BESR field lock Master 3" "-,Locked"
eventfld.long 0x00 3. "  ALK3 ,P4P3BO0_BEAR Address Lock Master 3" "-,Locked"
eventfld.long 0x00 2. "  WIRQ3 ,Write Error Interrupt Master 3" "-,Requested"
bitfld.long 0x00 0.--1. "  PAR3 ,Parity Error Type Master 3" "-,Read,Address,Write"
group dcr:0x0024++0x00
line.long 0x00 "P4P3BO0_BESR1,PLB4 to PLB3 Bridge Error Status Register 1"
bitfld.long 0x00 30.--31. " SSET4 ,Secondary PLB Bus Slave Error Type for Master 4" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 29. "  R/W4 ,Read Write Status Master 4" "Write,Read"
eventfld.long 0x00 28. "  FLK4 ,P4P3BO0_BESR Field Lock Master 4" "-,Locked"
eventfld.long 0x00 27. "  ALK4 ,P4P3BO0_BEAR Address Lock Master 4" "-,Locked"
eventfld.long 0x00 26. "  WIRQ4 ,Write Error Interrupt Master 4" "-,Requested"
bitfld.long 0x00 24.--25. "  PAR4 ,Parity Error Type Master 4" "-,Read,Address,Write"
group dcr:0x0026++0x00
line.long 0x00 "P4P3BO0_CFG,PLB4 to PLB3 Bridge Configuration Register"
bitfld.long 0x00 31. " SSPS ,Slave Side Primary/Secondary Priority" "Secondary,Primary"
bitfld.long 0x00 29.--30. "  FIFOE ,FIFO Enablement" "-,1 level,2 levels,Reserved"
bitfld.long 0x00 28. "      SRE   ,Secondary Read Enablement" "-,Enabled"
textline "                        "
bitfld.long 0x00 27. " SWE  ,Secondary Write Enablement" "-,Enabled"
bitfld.long 0x00 26. "    PBASS ,PLB Bus Architecture for Slave Side" "3.x,4.x"
bitfld.long 0x00 25. "           PBAMS ,PLB Bus Architecture for Master Side" "3.x,4.x"
textline "                        "
bitfld.long 0x00 24. " ER   ,Enable Rearbitration" "-,Enabled"
bitfld.long 0x00 22.--23. "    PRI   ,PLB Priority Bits" "Lowest,Next highest,Next highest,Highest"
bitfld.long 0x00 21. "  PE    ,Parity Enable" "-,Enabled"
textline "                        "
bitfld.long 0x00 20. " FI   ,Flush Interrupt Enable" "-,Enabled"
bitfld.long 0x00 17.--19. "    FIID  ,Flush Interrupt ID" "0,1,2,3,4,5,6,7"
group dcr:0x0027++0x00
line.long 0x00 "P4P3BO0_PICR,PLB4 to PLB3 Bridge Priority Incrementation Counter Register"
bitfld.long 0x00 31. " PICE  ,Priority Incrementation Counter Enable" "-,Enabled"
bitfld.long 0x00 26.--30. "  IPICV ,Initial Priority Incrementation Counter Value" "8,16,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,160,168,176,184,192,200,208,216,224,232,240,248,256"
group dcr:0x0028++0x00
line.long 0x00 "P4P3BO0_PEIR,PLB4 to PLB3 Bridge Parity Error Interrupt Register"
bitfld.long 0x00 31. " ADRPE ,A Bus Parity Error Interrupt" "-,Error"
bitfld.long 0x00 30. "    RDPE  ,Read Data Bus Parity Error Interrupt" "-,Error"
rgroup dcr:0x002a++0x00
line.long 0x00 "P4P3BO0_REVID,PLB4 to PLB3 Bridge Revision ID Register"
hexmask.long.word 0x00 8.--19. 1. " RN    ,Revision Number"
hexmask.long.byte 0x00 0.--7. 1. "     BRN   ,Branch Revision Number"
tree.end
tree "PLB3 to PLB4 Bridge Registers (Bridge In 0)"
width 15.
group dcr:0x0032++1
line.long 0x00 "P3P4BI0_BEARL,PLB3 to PLB4 Bridge Error Address Register Low"
line.long 0x04 "P3P4BI0_BEARH,PLB3 to PLB4 Bridge Error Address Register High"
group dcr:0x0030++0
line.long 0x00 "P3P4BI0_BESR0,PLB3 to PLB4 Bridge Error Status Register 0 Master Devices 0,1,2,3"
eventfld.long 0x00 30.--31. " SSET0 ,Secondary PLB Bus Slave Error Type for master 0" "-,Timeout,Data,Reserved"
eventfld.long 0x00 29. "  R/W0 ,Read write status master 0" "Write,Read"
eventfld.long 0x00 28. "  FLK0 ,P3P4BI0_BESR field lock master 0" "-,Locked"
eventfld.long 0x00 27. "  ALK0 ,P3P4BI0_BEAR address lock master 0" "-,Locked"
eventfld.long 0x00 26. "  WIRQ0 ,Write Error Interrupt master 0" "-,Error"
eventfld.long 0x00 24.--25. "  PAR0 ,Parity Error Type master 0" "-,Read,Address,Write"
textline "                        "
eventfld.long 0x00 22.--23. " SSET1 ,Secondary PLB Bus Slave Error Type for master 1" "-,Timeout,Data,Reserved"
eventfld.long 0x00 21. "  R/W1 ,Read write status master 1" "Write,Read"
eventfld.long 0x00 20. "  FLK1 ,P3P4BI0_BESR field lock master 1" "-,Locked"
eventfld.long 0x00 19. "  ALK1 ,P3P4BI0_BEAR address lock master 1" "-,Locked"
eventfld.long 0x00 18. "  WIRQ1 ,Write Error Interrupt master 1" "-,Error"
eventfld.long 0x00 16.--17. "  PAR1 ,Parity Error Type master 1" "-,Read,Address,Write"
textline "                        "
eventfld.long 0x00 14.--15. " SSET2 ,Secondary PLB Bus Slave Error Type for master 2" "-,Timeout,Data,Reserved"
eventfld.long 0x00 13. "  R/W2 ,Read write status master 2" "Write,Read"
eventfld.long 0x00 12. "  FLK2 ,P3P4BI0_BESR field lock master 2" "-,Locked"
eventfld.long 0x00 11. "  ALK2 ,P3P4BI0_BEAR address lock master 2" "-,Locked"
eventfld.long 0x00 10. "  WIRQ2 ,Write Error Interrupt master 2" "-,Error"
eventfld.long 0x00 8.--9. "  PAR2 ,Parity Error Type master 2" "-,Read,Address,Write"
textline "                        "
eventfld.long 0x00 6.--7. " SSET3 ,Secondary PLB Bus Slave Error Type for master 3" "-,Timeout,Data,Reserved"
eventfld.long 0x00 5. "  R/W3 ,Read write status master 3" "Write,Read"
eventfld.long 0x00 4. "  FLK3 ,P3P4BI0_BESR field lock master 3" "-,Locked"
eventfld.long 0x00 3. "  ALK3 ,P3P4BI0_BEAR address lock master 3" "-,Locked"
eventfld.long 0x00 2. "  WIRQ3 ,Write Error Interrupt master 3" "-,Error"
eventfld.long 0x00 0.--1. "  PAR3 ,Parity Error Type master 3" "-,Read,Address,Write"
group dcr:0x0034++0x00
line.long 0x00 "P3P4BI0_BESR1,PLB3 to PLB4 Bridge Error Status Register 1 Master Devices 4,5,6,7"
eventfld.long 0x00 30.--31. " SSET4 ,Secondary PLB Bus Slave Error Type for master 4" "-,Timeout,Data,Reserved"
eventfld.long 0x00 29. "  R/W4 ,Read write status master 4" "Write,Read"
eventfld.long 0x00 28. "  FLK4 ,P3P4BI0_BESR field lock master 4" "-,Locked"
eventfld.long 0x00 27. "  ALK4 ,P3P4BI0_BEAR address lock master 4" "-,Locked"
eventfld.long 0x00 26. "  WIRQ4 ,Write Error Interrupt master 4" "-,Error"
eventfld.long 0x00 24.--25. "  PAR4 ,Parity Error Type master 4" "-,Read,Address,Write"
textline "                        "
eventfld.long 0x00 22.--23. " SSET5 ,Secondary PLB Bus Slave Error Type for master 5" "-,Timeout,Data,Reserved"
eventfld.long 0x00 21. "  R/W5 ,Read write status master 5" "Write,Read"
eventfld.long 0x00 20. "  FLK5 ,P3P4BI0_BESR field lock master 5" "-,Locked"
eventfld.long 0x00 19. "  ALK5 ,P3P4BI0_BEAR address lock master 5" "-,Locked"
eventfld.long 0x00 18. "  WIRQ5 ,Write Error Interrupt master 5" "-,Error"
eventfld.long 0x00 16.--17. "  PAR5 ,Parity Error Type master 5" "-,Read,Address,Write"
group dcr:0x0036++0X00
line.long 0x00 "P3P4BI0_CFG,PLB3 to PLB4 Bridge Configuration Register"
bitfld.long 0x00 31. " SSPS ,Slave side primary/secondary priority" "Secondary,Primary"
bitfld.long 0x00 29.--30. "  FIFOE ,FIFO Enablement" "-,1 level,2 levels,Reserved"
bitfld.long 0x00 28. "      SRE   ,Secondary Read Enablement" "-,Enabled"
textline "                        "
bitfld.long 0x00 27. " SWE  ,Secondary Write Enablement" "-,Enabled"
bitfld.long 0x00 26. "    PBASS ,PLB Bus Architecture for Slave Side" "3.x,4.x"
bitfld.long 0x00 25. "           PBAMS ,PLB Bus Architecture for Master Side" "3.x,4.x"
textline "                        "
bitfld.long 0x00 24. " ER   ,Enable Rearbitration" "-,Enabled"
bitfld.long 0x00 22.--23. "    PRI   ,PLB Priority Bits" "Lowest,Next highest,Next highest,Highest"
bitfld.long 0x00 21. "  PE    ,Parity Enable" "-,Enabled"
textline "                        "
bitfld.long 0x00 20. " FI   ,Flush Interrupt Enable" "-,Enabled"
bitfld.long 0x00 17.--19. "    FIID  ,Flush Interrupt ID" "0,1,2,3,4,5,6,7"
group dcr:0x0037++0x00
line.long 0x00 "P3P4BI0_PICR,PLB3 to PLB4 Bridge Priority Incrementation Counter Register"
bitfld.long 0x00 31. " PICE  ,Priority Incrementation Counter Enable" "-,Enabled"
bitfld.long 0x00 26.--30. "  IPICV ,Initial Priority Incrementation Counter Value" "8,16,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,160,168,176,184,192,200,208,216,224,232,240,248,256"
group dcr:0x0038++0x00        
line.long 0x00 "P3P4BI0_PEIR,PLB3 to PLB4 Bridge Parity Error Interrupt Register"
bitfld.long 0x00 31. " ADRPE ,A Bus Parity Error Interrupt" "-,Error"
bitfld.long 0x00 30. "    RDPE  ,Read Data Bus Parity Error Interrupt" "-,Error"
group dcr:0x003A++0x00
line.long 0x00 "P3P4BI0_REVID,PLB3 to PLB4 Bridge Revision ID Register"
hexmask.long.word 0x00 8.--19. 1. " RN    ,Revision Number"
hexmask.long.byte 0x00 0.--7. 1. "     BRN   ,Branch Revision Number"
tree.end
tree "PLB3 Arbiter Registers"
width 14.
rgroup dcr:0x072++0x00
line.long 0x00 "PLB3A0_REVID,PLB3 Arbiter 0 Revision ID Regisgter"
hexmask.long.word 0x00 8.--19. 1. " RN ,Revision Number"
hexmask.long.byte 0x00 0.--7. 1. "  BRN ,Branch Revision Number"
group dcr:0x074++0x00
line.long 0x00 "PLB3A0_BESR,PLB3 Error Status Register"
eventfld.long 0x00 31. " PTE0 ,Master 0 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 30. "  R/W0 ,Master 0 Read/Write Status" "Write,Read"
eventfld.long 0x00 29. "  FLK0 ,Master 0 PLB3A0_BESR Field Lock" "-,Locked"
eventfld.long 0x00 28. "  ALK0 ,Master 0 PLB3A0_BEAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 27. " PTE1 ,Master 1 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 26. "  R/W1 ,Master 1 Read/Write Status" "Write,Read"
eventfld.long 0x00 25. "  FLK1 ,Master 1 PLB3A0_BESR Field Lock" "-,Locked"
eventfld.long 0x00 24. "  ALK1 ,Master 1 PLB3A0_BEAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 23. " PTE2 ,Master 2 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 22. "  R/W2 ,Master 2 Read/Write Status" "Write,Read"
eventfld.long 0x00 21. "  FLK2 ,Master 2 PLB3A0_BESR Field Lock" "-,Locked"
eventfld.long 0x00 20. "  ALK2 ,Master 2 PLB3A0_BEAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 19. " PTE3 ,Master 3 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 18. "  R/W3 ,Master 3 Read/Write Status" "Write,Read"
eventfld.long 0x00 17. "  FLK3 ,Master 3 PLB3A0_BESR Field Lock" "-,Locked"
eventfld.long 0x00 16. "  ALK3 ,Master 3 PLB3A0_BEAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 15. " PTE4 ,Master 4 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 14. "  R/W4 ,Master 4 Read/Write Status" "Write,Read"
eventfld.long 0x00 13. "  FLK4 ,Master 4 PLB3A0_BESR Field Lock" "-,Locked"
eventfld.long 0x00 12. "  ALK4 ,Master 4 PLB3A0_BEAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 11. " PTE5 ,Master 5 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 10. "  R/W5 ,Master 5 Read/Write Status" "Write,Read"
eventfld.long 0x00 9. "  FLK5 ,Master 5 PLB3A0_BESR Field Lock" "-,Locked"
eventfld.long 0x00 8. "  ALK5 ,Master 5 PLB3A0_BEAR Address Lock" "-,Locked"
rgroup dcr:0x076++0x00
line.long 0x00 "PLB3A0_BEAR,PLB3 Error Address Register"
group dcr:0x077++0x00
line.long 0x00 "PLB3A0_ACR,PLB3 Arbiter Control Register"
bitfld.long 0x00 31. " PPM ,PLB Priority Mode" "Fixed,Fair"
bitfld.long 0x00 28.--30. "  PPO ,PLB Priority Order" "0-1-2-3-4-5,1-2-3-4-5-0,2-3-4-5-0-1,3-4-5-0-1-2,4-5-0-1-2-3,5-0-1-2-3-4,Reserved,Reserved"
bitfld.long 0x00 27. "  HBU ,High Bus Utilization" "-,Enabled"
tree.end        
tree "PLB3 to OPB Registers"
width 17.
group dcr:0x0090--0x0090
line.long 0x00 "PLB32OPB0_BESR0,PLB3 to OPB Bridge Error Status Register 0"
bitfld.long 0x00 30.--31. " PTE0 ,PLB Timeout Error Status Master 0" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 29. "  R/W0 ,Read Write Status Master 0" "Write,Read"
textline "                          "
bitfld.long 0x00 25.--26. " PTE1 ,PLB Timeout Error Status Master 1" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 24. "  R/W1 ,Read Write Status Master 1" "Write,Read"
eventfld.long 0x00 23. "  FLK1 ,PLB32OPB0_BESR0 Field Lock Master 1" "-,Locked"
eventfld.long 0x00 22. "  ALK1 ,PLB32OPB0_BEAR Address Lock Master 1" "-,Locked"
textline "                          "
bitfld.long 0x00 20.--21. " PTE2 ,PLB Timeout Error Status Master 2" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 19. "  R/W2 ,Read Write Status Master 2" "Write,Read"
eventfld.long 0x00 18. "  FLK2 ,PLB32OPB0_BESR0 Field Lock Master 2" "-,Locked"
eventfld.long 0x00 17. "  ALK2 ,PLB32OPB0_BEAR Address Lock Master 2" "-,Locked"
textline "                          "
bitfld.long 0x00 15.--16. " PTE3 ,PLB Timeout Error Status Master 3" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 14. "  R/W3 ,Read Write Status Master 3" "Write,Read"
rgroup dcr:0x0092++0x00
line.long 0x00 "PLB32OPB0_BEAR,PLB3 to OPB Bridge Error Address Register"
rgroup dcr:0x0093++0x00
line.long 0x00 "PLB32OPB0_REVID,PLB3 to OPB Revision ID Register"
bitfld.long 0x00 0.--3. " RID  ,This value is the revision level for PLB32OPB0" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
group dcr:0x0094--0x0094
line.long 0x00 "PLB32OPB0_BESR1,PLB3 to OPB Bridge Error Status Register 1"
bitfld.long 0x00 30.--31. " PTE4 ,PLB3 Timeout Error Status Master 4" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 29. "  R/W4 ,Read/Write Status Master 4" "Write,Read"
textline "                          "
bitfld.long 0x00 25.--26. " PTE5 ,PLB3 Timeout Error Status Master 5" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 24. "  R/W5 ,Read/Write Status Master 5" "Write,Read"
tree.end
tree "OPB Arbiter Registers"
width 10.
group ANC:0x0:0xEF600A00++0x01
line.byte 0x00 "OPBA0_PR,OPB Arbiter Priority Register"
bitfld.byte 0x00 6.--7. "     HPM ,High Priority Master ID" "M0_request / OPB_M0Grant,M1_request / OPB_M1GrantReserved,M2_request / OPB_M2GrantReserved,M3_request / OPB_M3GrantReserved"
textline "                   "
bitfld.byte 0x00 4.--5. " MHP ,Medium High Priority Master ID" "M0_request / OPB_M0Grant,M1_request / OPB_M1Grant,M2_request / OPB_M2Grant,M3_request / OPB_M3Grant"   
;group ANC:0x0:0xEF600A01++0x00
line.byte 0x01 "OPBA0_CR,OPB Arbiter Control Register"
bitfld.byte 0x01 7. "     DPE ,Dynamic Priority Enable" "-,Enabled"
bitfld.byte 0x01 6. "   PEN ,Park Enable" "-,Enabled"
textline "                   "
bitfld.byte 0x01 5. " PMN ,Park on Master" "Last,Not last"
bitfld.byte 0x01 3.--4. "  PID ,Parked Master ID" "M0_request / OPB_M0Grant,M1_request / OPB_M1GrantReserved,M2_request / OPB_M2Grant,M3_request / OPB_M3GrantReserved"
tree.end
tree "OPB to PLB3 Bridge Registers"
width 17.
group dcr:0x0A8--0x0A8
line.long 0x00 "OPB2PLB30_BCTRL,OPB to PLB3 Bridge Control Register"
bitfld.long 0x00 30.--31. " PRI ,PLB Priority" "Lowest,Low,High,Highest"
rgroup dcr:0x0A9++0x00
line.long 0x00 "OPB2PLB30_BSTAT,OPB to PLB3 Bridge Status Register"
eventfld.long 0x00 31. " ERR ,PLB Slave Device Error" "-,Error"
rgroup dcr:0x0AA++0x00
line.long 0x00 "OPB2PLB30_REVID,OPB to PLB3 Bridge Revision ID Register"
bitfld.long 0x00 0.--3. " RID ,Revision Level of the OPB-to-PLB3 bridge" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
tree.end
width 0xb
tree.end
elif (cpu()=="PPC440EPX")
tree.open "On-Chip Buses"
width 14.
tree "PLB Master Priority Assignment"
group dcr:0x000F++0x00 
saveout dcr:0x000E %l 0x0240
line.long 0x00 "SDR0_AMP0,Alternate PLB4 Master Priority Register 0"
bitfld.long 0x00 30.--31. " AICURP  ,Alternate ICU Read Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 28.--29. "    ADCURP ,Alternate DCU Read Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 26.--27. "    ADCUWP ,Alternate DCU Write Priority" "Lowest,Low,High,Highest"
textline "                       "
bitfld.long 0x00 24.--25. " ADMA4P  ,Alternate DMA2P40 to PLB4 Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 22.--23. "    AP3P4P ,Alternate PLB3 to PLB4 Bridge Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 20.--21. "    A0P4P  ,Alternate PLB4 to OPB0 Bridge Priority" "Lowest,Low,High,Highest"
textline "                       "
bitfld.long 0x00 16.--17. " ACRYPP  ,Alternate CRYP Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 15. "    ICURP  ,ICU Read Priority" "Own,Alternate"
bitfld.long 0x00 14. "  DCURP  ,DCU Read Priority" "Own,Alternate"
textline "                       "
bitfld.long 0x00 13. " DCUWP   ,DCU Write Priority" "Own,Alternate"
bitfld.long 0x00 12. "  DMA4P  ,DMA to PLB4 Priority" "Own,Alternate"
bitfld.long 0x00 11. "  P3P4P  ,PLB3 to PLB4 Priority" "Own,Alternate"
textline "                       "
bitfld.long 0x00 10. " OP4P    ,OPB2PLB40 Priority" "Own,Alternate"
bitfld.long 0x00 8. "  CRYPP  ,CRYP Priority" "Own,Alternate"
group dcr:0x000F++0x00 
saveout dcr:0x000E %l 0x0241
line.long 0x00 "SDR0_AMP1,Alternate PLB3 Master Priority Register 1"
bitfld.long 0x00 30.--31. " AP4P3P  ,Alternate PLB4 to PLB3 Bridge Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 26.--27. "    APCIP  ,Alternate PCI Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 24.--25. "    ADMA3P ,Alternate DMA2P30 Priority" "Lowest,Low,High,Highest"
textline "                       "
bitfld.long 0x00 20.--21. " AEBCP   ,Alternate EBC Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 15. "    P4P3P  ,PLB4 to PLB3 Bridge Priority" "Own,Alternate"
bitfld.long 0x00 13. "  PCIP   ,PCI Priority" "Own,Alternate"
textline "                       "
bitfld.long 0x00 12. " DMA3P   ,DMA2P30 Priority" "Own,Alternate"
bitfld.long 0x00 10. "  EBCP   ,EBC Priority" "Own,Alternate"
group dcr:0x000F++0x00 
saveout dcr:0x000E %l 0x0180
line.long 0x00 "SDR0_CP440,PPC440 CPU Control Register"
bitfld.long 0x00 28.--29. " RL      ,Boot ROM Location" "EBC,PCI,NDFC,Reserved"
bitfld.long 0x00 26.--27. "   DRU    ,DcuRdUrgent" "Lowest,Low,High,Highest"
bitfld.long 0x00 24.--25. "    DRT    ,DcuRdTouch" "Lowest,Low,High,Highest"
textline "                       "
bitfld.long 0x00 22.--23. " DRNC    ,DcuRdNonCache" "Lowest,Low,High,Highest"
bitfld.long 0x00 20.--21. "    DRLC   ,DcuRdLdCache" "Lowest,Low,High,Highest"
bitfld.long 0x00 18.--19. "    DWF    ,DcuWrFlush" "Lowest,Low,High,Highest"
textline "                       "
bitfld.long 0x00 16.--17. " DWS     ,DcuWrStore" "Lowest,Low,High,Highest"
bitfld.long 0x00 14.--15. "    DWU    ,DcuWrUrgent" "Lowest,Low,High,Highest"
bitfld.long 0x00 12.--13. "    IRF    ,IcuRdFetch" "Lowest,Low,High,Highest"
textline "                       "
bitfld.long 0x00 10.--11. " IRT     ,IcuRdTouch" "Lowest,Low,High,Highest"
bitfld.long 0x00 8.--9. "    IRS    ,IcuRdSpec" "Lowest,Low,High,Highest"
bitfld.long 0x00 1. "    NTO1   ,CPU:PLB N to 1 Clock Ratio" "> 1,1"
group dcr:0x000F++0x00 
saveout dcr:0x000E %l 0x0260
line.long 0x00 "SDR0_MIRQ0,Master Interrupt Request Register 0"
bitfld.long 0x00 29. " M0DDR   ,ICU Read Interrupt Request from DDR SDRAM" "-,Requested"
bitfld.long 0x00 28. "  M0P4O0 ,ICU Read Interrupt Request from PLB4 to OPB0 Bridge" "-,Requested"
bitfld.long 0x00 27. "  M0P4O1 ,ICU Read Interrupt Request from PLB4 to OPB1 Bridge" "-,Requested"
textline "                       "
bitfld.long 0x00 26. " M0P4P3  ,ICU Read Interrupt Request from PLB4 to PLB3" "-,Requested"
bitfld.long 0x00 21. "  M1DDR  ,DCU Read Interrupt Request from DDR SDRAM" "-,Requested"
bitfld.long 0x00 20. "  M1P4O0 ,DCU Read Interrupt Request from PLB4 to OPB0 Bridge" "-,Requested"
textline "                       "
bitfld.long 0x00 19. " M1P4PO1 ,DCU Read Interrupt Request from PLB4 to OPB1 Bridge" "-,Requested"
bitfld.long 0x00 16. "  M1P4P3 ,DCU Read Interrupt Request from PLB4 to PLB3 Bridge" "-,Requested"
bitfld.long 0x00 13. "  M2DDR  ,DCU write interrupt request from DDR SDRAM" "-,Requested"
textline "                       "
bitfld.long 0x00 12. " M2P4O0  ,DCU Write Interrupt Request from PLB4 to OPB0 Bridge" "-,Requested"
bitfld.long 0x00 11. "  M2P4O1 ,DCU Write Interrupt Request from PLB4 to OPB1 Bridge" "-,Requested"
bitfld.long 0x00 8. "  M2P4P3 ,DCU Write Interrupt Request from PLB4 to PLB3 Bridge" "-,Requested"
textline "                       "
bitfld.long 0x00 5. " M3DDR   ,DMA2P4 Interrupt Request from DDR SDRAM" "-,Requested"
bitfld.long 0x00 4. "  M3P4O0 ,DMA2P4 Interrupt Request from PLB4 to OPB0 Bridge" "-,Requested"
bitfld.long 0x00 3. "  M3P4O1 ,DMA2P4 Interrupt Request from PLB4 to OPB1 Bridge" "-,Requested"
textline "                       "
bitfld.long 0x00 0. " M3P4P3  ,DMA2P4 Interrupt Request from PLB4 to PLB3 Bridge" "-,Requested"
group dcr:0x000F++0x00 
saveout dcr:0x000E %l 0x0261
line.long 0x00 "SDR0_MIRQ1,Master Interrupt Request Register 1"
bitfld.long 0x00 29. " M4DDR   ,P3P4BI0 Bridge Interrupt Request from DDR SDRAM" "-,Requested"
bitfld.long 0x00 28. "  M4P4O0 ,P3P4BI0 Bridge Interrupt Request from PLB4 to OPB0 Bridge" "-,Requested"
bitfld.long 0x00 27. "  MP4O1  ,P3P4BI0 Bridge Interrupt Request from PLB4 to OPB1 Bridge" "-,Requested"
textline "                       "
bitfld.long 0x00 24. " M4P4P3  ,P3P4BI0 Bridge Interrupt Request from PLB4 to PLB3 Bridge" "-,Requested"
bitfld.long 0x00 21. "  M5DDR  ,PLB42OPB0 Interrupt Request from DDR SDRAM" "-,Requested"
bitfld.long 0x00 20. "  M5P4O0 ,PLB42OPB0 Interrupt Request from PLB4 to OPB0 Bridge" "-,Requested"
textline "                       "
bitfld.long 0x00 19. " M5P4O1  ,PLB42OPB0 Interrupt Request from PLB4 to OPB1 Bridge" "-,Requested"
bitfld.long 0x00 18. "  M5P4P3 ,PLB42OPB0 Interrupt Request from PLB4 to PLB3 Bridge" "-,Requested"
bitfld.long 0x00 13. "  M6DDR  ,MAL0 Interrupt Request from DDR SDRAM" "-,Requested"
textline "                       "
bitfld.long 0x00 12. " M6P4O0  ,MAL0 Interrupt Request from PLB4 to OPB0 Bridge" "-,Requested"
bitfld.long 0x00 11. "  M6P4O1 ,MAL0 Interrupt Request from PLB4 to OPB1 Bridge" "-,Requested"
bitfld.long 0x00 8. "  M6P4P3 ,MAL0 Interrupt Request from PLB4 to PLB3 Bridge" "-,Requested"
textline "                       "
bitfld.long 0x00 5. " M7DDR   ,CRYP0 Interrupt Request from DDR SDRAM" "-,Requested"
bitfld.long 0x00 4. "  M7P4O0 ,CRYP0 Interrupt Request from PLB4 to OPB0 Bridge" "-,Requested"
bitfld.long 0x00 3. "  M7P4O1 ,CRYP0 Interrupt Request from PLB4 to OPB1 Bridge" "-,Requested"
textline "                       "
bitfld.long 0x00 0. " M7P4P3  ,CRYP0 Interrupt Request from PLB4 to PLB3 Bridge" "-,Requested"
group dcr:0x000F++0x00 
saveout dcr:0x000E %l 0x0220
line.long 0x00 "SDR0_SLPIPE0,Slave Address Pipeline Register"
bitfld.long 0x00 30. " DAP     ,DDR Address Pipeline Enable" "-,Enabled"
bitfld.long 0x00 29. "    P4P3AP ,PLB4 to PLB3 Address Pipeline Enable" "-,Enabled"
bitfld.long 0x00 28. "    P4OAP  ,PLB4 to OPB Address Pipeline" "-,Enabled"
textline "                       "
bitfld.long 0x00 3. " P3OAP   ,PLB3 to OPB Address Pipeline Enable" "-,Enabled"
bitfld.long 0x00 2. "    EAP    ,EBC Address Pipeline Enable" "-,Enabled"
bitfld.long 0x00 1. "    PAP    ,PCI Address Pipeline Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 0. " P3P4AP  ,PLB3 to PLB4 Address Pipeline Enable" "-,Enabled"
tree.end
tree "PLB4 Arbiter"
width 14.
rgroup dcr:0x0080++0x00 
line.long 0x00 "PLB4A0_REVID,PLB4 Crossbar ID/Revision Register"
hexmask.long.word 0x00 8.--19. 1. " RN   ,Revision Number"
hexmask.long.byte 0x00 0.--7. 1. "     BRN  ,Branch Revision Number"
group dcr:0x0081++0x00
line.long 0x00 "PLB4A0_ACR,PLB4 Arbiter Control Register"
bitfld.long 0x00 31. " PPM0 ,PLB Priority Mode" "Fixed,Fair"
bitfld.long 0x00 30. "    PPM1 ,PLB Priority Mode" "Fixed,Fair"
bitfld.long 0x00 28. "   PPM3 ,PLB Priority Mode" "Fixed,Fair"
textline "                       "
bitfld.long 0x00 27. " HBU  ,High Bus Utilization" "-,Enabled"
bitfld.long 0x00 25.--26. "  RDP  ,Read Pipeline Control" "-,2 deep,3 deep,4 deep"
bitfld.long 0x00 24. "  WRP  ,Write Pipeline Control" "-,2 deep"
group dcr:0x0082++0x00
line.long 0x00 "PLB4A0_ESRL,PLB4 Error Status Register Low"
eventfld.long 0x00 31. " PTE0 ,Master 0 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 30. "    R/W0 ,Master 0 Read/Write Status" "Write,Read"
eventfld.long 0x00 29. "   FLK0 ,Master 0 PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 28. "  ALK0 ,Master 0 PLB4A0_EAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 27. " PTE1 ,Master 1 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 26. "    R/W1 ,Master 1 Read/Write Status" "Write,Read"
eventfld.long 0x00 25. "   FLK1 ,Master 1PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 24. "  ALK1 ,Master 1 PLB4A0_EAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 23. " PTE2 ,Master 2 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 22. "    R/W2 ,Master 2 Read/Write Status" "Write,Read"
eventfld.long 0x00 21. "   FLK2 ,Master 2 PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 20. "  ALK2 ,Master 2 PLB4A0_EAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 19. " PTE3 ,Master 3 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 18. "    R/W3 ,Master 3 Read/Write Status" "Write,Read"
eventfld.long 0x00 17. "   FLK3 ,Master 3 PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 16. "  ALK3 ,Master 3 PLB4A0_EAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 15. " PTE4 ,Master 4 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 14. "    R/W4 ,Master 4 Read/Write Status" "Write,Read"
eventfld.long 0x00 13. "   FLK4 ,Master 4 PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 12. "  ALK4 ,Master 4 PLB4A0_EAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 11. " PTE5 ,Master 5 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 10. "    R/W5 ,Master 5 Read/Write Status" "Write,Read"
eventfld.long 0x00 09. "   FLK5 ,Master 5 PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 08. "  ALK5 ,Master 5 PLB4A0_EAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 07. " PTE6 ,Master 6 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 06. "    R/W6 ,Master 6 Read/Write Status" "Write,Read"
eventfld.long 0x00 05. "   FLK6 ,Master 6 PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 04. "  ALK6 ,Master 6 PLB4A0_EAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 03. " PTE7 ,Master 7 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 02. "    R/W7 ,Master 7 Read/Write Status" "Write,Read"
eventfld.long 0x00 01. "   FLK7 ,Master 7 PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 00. "  ALK7 ,Master 7 PLB4A0_EAR Address Lock" "-,Locked"
rgroup dcr:0x0084++0x00
line.long 0x00 "PLB4A0_EARL,PLB4 Error Address Register Low"
rgroup dcr:0x0085++0x00
line.long 0x00 "PLB4A0_EARH,PLB4 Error Address Register High"
group dcr:0x0088++0x00
line.long 0x00 "PLB4A0_CCR,PLB4 Crossbar Control Register"
bitfld.long 0x00 28.--31. " PSA     ,PLB Segmentation Upper Address Control" "PLB4A0,PLB4A0,PLB4A0,PLB4A0,PLB4A0,PLB4A0,PLB4A0,PLB4A0,PLB4A1,PLB4A1,PLB4A1,PLB4A1,PLB4A1,PLB4A1,PLB4A1,PLB4A1"
bitfld.long 0x00 27. "   PLB3_0 ,PLB3 TimeOut Mode Enabled [0]" "PLB4,PLB3"
bitfld.long 0x00 26. "    PLB3_1  ,PLB3 TimeOut Mode Enabled [1]" "PLB4,PLB3"
textline "                       "
bitfld.long 0x00 25. " PLB3_2  ,PLB3 TimeOut Mode Enabled [2]" "PLB4,PLB3"
bitfld.long 0x00 24. "     PLB3_3 ,PLB3 TimeOut Mode Enabled [3]" "PLB4,PLB3"
bitfld.long 0x00 23. "    PLB3_4  ,PLB3 TimeOut Mode Enabled [4]" "PLB4,PLB3"
textline "                       "
bitfld.long 0x00 22. " PLB3_5  ,PLB3 TimeOut Mode Enabled [5]" "PLB4,PLB3"
bitfld.long 0x00 21. "     PLB3_6 ,PLB3 TimeOut Mode Enabled [6]" "PLB4,PLB3"
bitfld.long 0x00 20. "    PLB3_7  ,PLB3 TimeOut Mode Enabled [7]" "PLB4,PLB3"
textline "                       "
bitfld.long 0x00 19. " PLB3_8  ,PLB3 TimeOut Mode Enabled [8]" "PLB4,PLB3"
bitfld.long 0x00 18. "     PLB3_9 ,PLB3 TimeOut Mode Enabled [9]" "PLB4,PLB3"
bitfld.long 0x00 17. "    PLB3_10 ,PLB3 TimeOut Mode Enabled [10]" "PLB4,PLB3"
textline "                       "
bitfld.long 0x00 16. " PLB3_11 ,PLB3 TimeOut Mode Enabled [11]" "PLB4,PLB3"
group dcr:0x0089++0x00
line.long 0x00 "PLB4A1_ACR,PLB4 Arbiter Control Register"
bitfld.long 0x00 31. " PPM0    ,PLB Priority Mode" "Fixed,Fair"
bitfld.long 0x00 30. "    PPM1   ,PLB Priority Mode" "Fixed,Fair"
bitfld.long 0x00 28. "   PPM3    ,PLB Priority Mode" "Fixed,Fair"
textline "                       "
bitfld.long 0x00 27. " HBU     ,High Bus Utilization" "-,Enabled"
bitfld.long 0x00 25.--26. "  RDP    ,Read Pipeline Control" "-,2 deep,3 deep,4 deep"
bitfld.long 0x00 24. "  WRP     ,Write Pipeline Control" "-,2 deep"
group dcr:0x008a++0x00
line.long 0x00 "PLB4A1_ESRL,PLB4 Error Status Register Low"
eventfld.long 0x00 31. " PTE0 ,Master 0 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 30. "  R/W0 ,Master 0 Read/Write Status" "Write,Read"
eventfld.long 0x00 29. "  FLK0 ,Master 0 PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 28. "  ALK0 ,Master 0 PLB4A0_EAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 27. " PTE1 ,Master 1 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 26. "  R/W1 ,Master 1 Read/Write Status" "Write,Read"
eventfld.long 0x00 25. "  FLK1 ,Master 1PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 24. "  ALK1 ,Master 1 PLB4A0_EAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 23. " PTE2 ,Master 2 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 22. "  R/W2 ,Master 2 Read/Write Status" "Write,Read"
eventfld.long 0x00 21. "  FLK2 ,Master 2 PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 20. "  ALK2 ,Master 2 PLB4A0_EAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 19. " PTE3 ,Master 3 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 18. "  R/W3 ,Master 3 Read/Write Status" "Write,Read"
eventfld.long 0x00 17. "  FLK3 ,Master 3 PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 16. "  ALK3 ,Master 3 PLB4A0_EAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 15. " PTE4 ,Master 4 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 14. "  R/W4 ,Master 4 Read/Write Status" "Write,Read"
eventfld.long 0x00 13. "  FLK4 ,Master 4 PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 12. "  ALK4 ,Master 4 PLB4A0_EAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 11. " PTE5 ,Master 5 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 10. "  R/W5 ,Master 5 Read/Write Status" "Write,Read"
eventfld.long 0x00 09. "  FLK5 ,Master 5 PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 08. "  ALK5 ,Master 5 PLB4A0_EAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 07. " PTE6 ,Master 6 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 06. "  R/W6 ,Master 6 Read/Write Status" "Write,Read"
eventfld.long 0x00 05. "  FLK6 ,Master 6 PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 04. "  ALK6 ,Master 6 PLB4A0_EAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 03. " PTE7 ,Master 7 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 02. "  R/W  ,Master 7 Read/Write Status" "Write,Read"
eventfld.long 0x00 01. "  FLK7 ,Master 7 PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 00. "  ALK7 ,Master 7 PLB4A0_EAR Address Lock" "-,Locked"
rgroup dcr:0x008c++0x00
line.long 0x00 "PLB4A1_EARL,PLB4 Error Address Register Low"
rgroup dcr:0x008d++0x00
line.long 0x00 "PLB4A1_EARH,PLB4 Error Address Register High"
tree.end
tree "PLB4 to PLB3 Bridge Registers (Bridge Out 0)"
width 15.
rgroup dcr:0x0022++0x00
line.long 0x00 "P4P3BO0_BEARL,PLB4 to PLB3 Bridge Error Address Register Low"
rgroup dcr:0x0023++0x00
line.long 0x00 "P4P3BO0_BEARH,PLB4 to PLB3 Bridge Error Address Register High"
group dcr:0x0020++0x00
line.long 0x00 "P4P3BO0_BESR0,PLB4 to PLB3 Bridge Error Status Register 0"
bitfld.long 0x00 30.--31. " SSET0 ,Secondary PLB Bus Slave Error Type for Master 0" "-,Timeout,Data,Reserved"
eventfld.long 0x00 29. "  R/W0 ,Read Write Status Master 0" "Write,Read"
eventfld.long 0x00 28. "  FLK0 ,P4P3BO0_BESR Field Lock Master 0" "-,Locked"
eventfld.long 0x00 27. "  ALK0 ,P4P3BO0_BEAR Address Lock Master 0" "-,Locked"
eventfld.long 0x00 26. "  WIRQ0 ,Write Error Interrupt Master 0" "-,Requested"
bitfld.long 0x00 24.--25. "  PAR0 ,Parity Error Type Master 0" "-,Read,Address,Write"
textline "                        "
bitfld.long 0x00 22.--23. " SSET1 ,Secondary PLB Bus Slave Error Type for Master 1" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 21. "  R/W1 ,Read/write status Master 1" "Write,Read"
eventfld.long 0x00 20. "  FLK1 ,P4P3BO0_BESR Field Lock Master 1" "-,Locked"
eventfld.long 0x00 19. "  ALK1 ,P4P3BO0_BEAR Address Lock Master 1" "-,Locked"
eventfld.long 0x00 18. "  WIRQ1 ,Write Error Interrupt Master 1" "-,Requested"
bitfld.long 0x00 16.--17. "  PAR1 ,Parity Error Type Master 1" "-,Read,Address,Write"
textline "                        "
bitfld.long 0x00 14.--15. " SSET2 ,Secondary PLB Bus Slave Error Type for Master 2" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 13. "  R/W2 ,Read/Write Status Master 2" "Write,Read"
eventfld.long 0x00 12. "  FLK2 ,P4P3BO0_BESR Field Lock Master 2" "-,Locked"
eventfld.long 0x00 11. "  ALK2 ,P4P3BO0_BEAR Address Lock Master 2" "-,Locked"
eventfld.long 0x00 10. "  WIRQ2 ,Write Error Interrupt Master 2" "-,Requested"
bitfld.long 0x00 08.--09. "  PAR2 ,Parity Error Type Master 2" "-,Read,Address,Write"
textline "                        "
bitfld.long 0x00 06.--07. " SSET3 ,Secondary PLB Bus Slave Error Type for Master 3" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 05. "  R/W3 ,Read/Write Status Master 3" "Write,Read"
eventfld.long 0x00 04. "  FLK3 ,P4P3BO0_BESR field lock Master 3" "-,Locked"
eventfld.long 0x00 03. "  ALK3 ,P4P3BO0_BEAR Address Lock Master 3" "-,Locked"
eventfld.long 0x00 02. "  WIRQ3 ,Write Error Interrupt Master 3" "-,Requested"
bitfld.long 0x00 00.--01. "  PAR3 ,Parity Error Type Master 3" "-,Read,Address,Write"
group dcr:0x0024++0x00
line.long 0x00 "P4P3BO0_BESR1,PLB4 to PLB3 Bridge Error Status Register 1"
bitfld.long 0x00 30.--31. " SSET4 ,Secondary PLB Bus Slave Error Type for Master 4" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 29. "  R/W4 ,Read Write Status Master 4" "Write,Read"
eventfld.long 0x00 28. "  FLK4 ,P4P3BO0_BESR Field Lock Master 4" "-,Locked"
eventfld.long 0x00 27. "  ALK4 ,P4P3BO0_BEAR Address Lock Master 4" "-,Locked"
eventfld.long 0x00 26. "  WIRQ4 ,Write Error Interrupt Master 4" "-,Requested"
bitfld.long 0x00 24.--25. "  PAR4 ,Parity Error Type Master 4" "-,Read,Address,Write"
textline "                        "
bitfld.long 0x00 22.--23. " SSET5 ,Secondary PLB Bus Slave Error Type for Master 5" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 21. "  R/W5 ,Read Write Status Master 5" "Write,Read"
eventfld.long 0x00 20. "  FLK5 ,P4P3BO0_BESR Field Lock Master 5" "-,Locked"
eventfld.long 0x00 19. "  ALK5 ,P4P3BO0_BEAR Address Lock Master 5" "-,Locked"
eventfld.long 0x00 18. "  WIRQ5 ,Write Error Interrupt Master 5" "-,Requested"
bitfld.long 0x00 16.--17. "  PAR5 ,Parity Error Type Master 5" "-,Read,Address,Write"
textline "                        "
bitfld.long 0x00 14.--15. " SSET6 ,Secondary PLB Bus Slave Error Type for Master 6" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 13. "  R/W6 ,Read Write Status Master 6" "Write,Read"
eventfld.long 0x00 12. "  FLK6 ,P4P3BO0_BESR Field Lock Master 6" "-,Locked"
eventfld.long 0x00 11. "  ALK6 ,P4P3BO0_BEAR Address Lock Master 6" "-,Locked"
eventfld.long 0x00 10. "  WIRQ6 ,Write Error Interrupt Master 6" "-,Requested"
bitfld.long 0x00 08.--09. "  PAR6 ,Parity Error Type Master 6" "-,Read,Address,Write"
textline "                        "
bitfld.long 0x00 06.--07. " SSET7 ,Secondary PLB Bus Slave Error Type for Master 7" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 05. "  R/W7 ,Read Write Status Master 7" "Write,Read"
eventfld.long 0x00 04. "  FLK7 ,P4P3BO0_BESR Field Lock Master 7" "-,Locked"
eventfld.long 0x00 03. "  ALK7 ,P4P3BO0_BEAR Address Lock Master 7" "-,Locked"
eventfld.long 0x00 02. "  WIRQ7 ,Write Error Interrupt Master 7" "-,Requested"
bitfld.long 0x00 00.--01. "  PAR7 ,Parity Error Type Master 7" "-,Read,Address,Write"
group dcr:0x0026++0x00
line.long 0x00 "P4P3BO0_CFG,PLB4 to PLB3 Bridge Configuration Register"
bitfld.long 0x00 31. " SSPS  ,Slave Side Primary/Secondary Priority" "Secondary,Primary"
bitfld.long 0x00 29.--30. "  FIFOE ,FIFO Enablement" "-,1 level,2 levels,Reserved"
bitfld.long 0x00 28. "      SRE   ,Secondary Read Enablement" "-,Enabled"
textline "                        "
bitfld.long 0x00 27. " SWE   ,Secondary Write Enablement" "-,Enabled"
bitfld.long 0x00 26. "    PBASS ,PLB Bus Architecture for Slave Side" "3.x,4.x"
bitfld.long 0x00 25. "           PBAMS ,PLB Bus Architecture for Master Side" "3.x,4.x"
textline "                        "
bitfld.long 0x00 24. " ER    ,Enable Rearbitration" "-,Enabled"
bitfld.long 0x00 22.--23. "    PRI   ,PLB Priority Bits" "Lowest,Next highest,Next highest,Highest"
bitfld.long 0x00 21. "  PE    ,Parity Enable" "-,Enabled"
textline "                        "
bitfld.long 0x00 20. " FI    ,Flush Interrupt Enable" "-,Enabled"
bitfld.long 0x00 17.--19. "    FIID  ,Flush Interrupt ID" "0,1,2,3,4,5,6,7"
group dcr:0x0027++0x00
line.long 0x00 "P4P3BO0_PICR,PLB4 to PLB3 Bridge Priority Incrementation Counter Register"
bitfld.long 0x00 31. " PICE  ,Priority Incrementation Counter Enable" "-,Enabled"
bitfld.long 0x00 26.--30. "    IPICV ,Initial Priority Incrementation Counter Value" "00000,00001,00010,00011,00100,00101,00110,00111,01000,01001,01010,01011,01100,01101,01110,01111,10000,10001,10010,10011,10100,10101,10110,10111,11000,11001,11010,11011,11100,11101,11110,11111"
group dcr:0x0028++0x00
line.long 0x00 "P4P3BO0_PEIR,PLB4 to PLB3 Bridge Parity Error Interrupt Register"
bitfld.long 0x00 31. " ADRPE ,A Bus Parity Error Interrupt" "-,Error"
bitfld.long 0x00 30. "      RDPE  ,Read Data Bus Parity Error Interrupt" "-,Error"
rgroup dcr:0x002a++0x00
line.long 0x00 "P4P3BO0_REVID,PLB4 to PLB3 Bridge Revision ID Register"
hexmask.long.word 0x00 8.--19. 1. " RN    ,Revision Number"
hexmask.long.byte 0x00 0.--7. 1. "       BRN   ,Branch Revision Number"
tree.end
tree "PLB3 to PLB4 Bridge Registers (Bridge In 0)"
width 15.
group dcr:0x0032++1
line.long 0x00 "P3P4BI0_BEARL,PLB3 to PLB4 Bridge Error Address Register Low"
line.long 0x04 "P3P4BI0_BEARH,PLB3 to PLB4 Bridge Error Address Register High"
group dcr:0x0030++0
line.long 0x00 "P3P4BI0_BESR0,PLB3 to PLB4 Bridge Error Status Register 0 Master Devices 0,1,2,3"
bitfld.long 0x00 30.--31. " SSET0 ,Secondary PLB Bus Slave Error Type for master 0" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 29. "  R/W0 ,Read write status master 0" "Write,Read"
eventfld.long 0x00 28. "  FLK0 ,P3P4BI0_BESR field lock master 0" "-,Locked"
eventfld.long 0x00 27. "  ALK0 ,P3P4BI0_BEAR address lock master 0" "-,Locked"
eventfld.long 0x00 26. "  WIRQ0 ,Write Error Interrupt master 0" "-,Error"
bitfld.long 0x00 24.--25. "  PAR0 ,Parity Error Type master 0" "-,Read,Address,Write"
textline "                        "
bitfld.long 0x00 14.--15. " SSET2 ,Secondary PLB Bus Slave Error Type for master 2" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 13. "  R/W2 ,Read write status master 2" "Write,Read"
eventfld.long 0x00 12. "  FLK2 ,P3P4BI0_BESR field lock master 2" "-,Locked"
eventfld.long 0x00 11. "  ALK2 ,P3P4BI0_BEAR address lock master 2" "-,Locked"
eventfld.long 0x00 10. "  WIRQ2 ,Write Error Interrupt master 2" "-,Error"
bitfld.long 0x00 8.--9. "  PAR2 ,Parity Error Type master 2" "-,Read,Address,Write"
textline "                        "
bitfld.long 0x00 6.--7. " SSET3 ,Secondary PLB Bus Slave Error Type for master 3" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 5. "  R/W3 ,Read write status master 3" "Write,Read"
eventfld.long 0x00 4. "  FLK3 ,P3P4BI0_BESR field lock master 3" "-,Locked"
eventfld.long 0x00 3. "  ALK3 ,P3P4BI0_BEAR address lock master 3" "-,Locked"
eventfld.long 0x00 2. "  WIRQ3 ,Write Error Interrupt master 3" "-,Error"
bitfld.long 0x00 0.--1. "  PAR3 ,Parity Error Type master 3" "-,Read,Address,Write"
group dcr:0x0034++0x00
line.long 0x00 "P3P4BI0_BESR1,PLB3 to PLB4 Bridge Error Status Register 1 Master Devices 4,5,6,7"
bitfld.long 0x00 22.--23. " SSET5 ,Secondary PLB Bus Slave Error Type for master 5" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 21. "  R/W5 ,Read write status master 5" "Write,Read"
eventfld.long 0x00 20. "  FLK5 ,P3P4BI0_BESR field lock master 5" "-,Locked"
eventfld.long 0x00 19. "  ALK5 ,P3P4BI0_BEAR address lock master 5" "-,Locked"
eventfld.long 0x00 18. "  WIRQ5 ,Write Error Interrupt master 5" "-,Error"
bitfld.long 0x00 16.--17. "  PAR5 ,Parity Error Type master 5" "-,Read,Address,Write"
group dcr:0x0036++0x00
line.long 0x00 "P3P4BI0_CFG,PLB3 to PLB4 Bridge Configuration Register"
bitfld.long 0x00 31. " SSPS ,Slave side primary/secondary priority" "Secondary,Primary"
bitfld.long 0x00 29.--30. "  FIFOE ,FIFO Enablement" "-,1 level,2 levels,Reserved"
bitfld.long 0x00 28. "      SRE   ,Secondary Read Enablement" "-,Enabled"
textline "                        "
bitfld.long 0x00 27. " SWE  ,Secondary Write Enablement" "-,Enabled"
bitfld.long 0x00 26. "    PBASS ,PLB Bus Architecture for Slave Side" "3.x,4.x"
bitfld.long 0x00 25. "           PBAMS ,PLB Bus Architecture for Master Side" "3.x,4.x"
textline "                        "
bitfld.long 0x00 24. " ER   ,Enable Rearbitration" "-,Enabled"
bitfld.long 0x00 22.--23. "    PRI   ,PLB Priority Bits" "Lowest,Next Highest,Next Highest,Highest"
bitfld.long 0x00 21. "  PE    ,Parity Enable" "-,Enabled"
textline "                        "
bitfld.long 0x00 20. " FI   ,Flush Interrupt Enable" "-,Enabled"
bitfld.long 0x00 17.--19. "    FIID  ,Flush Interrupt ID" "0,1,2,3,4,5,6,7"
group dcr:0x0037++0x00
line.long 0x00 "P3P4BI0_PICR,PLB3 to PLB4 Bridge Priority Incrementation Counter Register"
bitfld.long 0x00 31. " PICE  ,Priority Incrementation Counter Enable" "-,Enabled"
bitfld.long 0x00 26.--30. "  IPICV ,Initial Priority Incrementation Counter Value" "8,16,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,160,168,176,184,192,200,208,216,224,232,240,248,256"
group dcr:0x0038++0x00        
line.long 0x00 "P3P4BI0_PEIR,PLB3 to PLB4 Bridge Parity Error Interrupt Register"
bitfld.long 0x00 31. " ADRPE ,A Bus Parity Error Interrupt" "-,Error"
bitfld.long 0x00 30. "    RDPE  ,Read Data Bus Parity Error Interrupt" "-,Error"
rgroup dcr:0x003A++0x00
line.long 0x00 "P3P4BI0_REVID,PLB3 to PLB4 Bridge Revision ID Register"
hexmask.long.word 0x00 8.--19. 1. " RN    ,Revision Number"
hexmask.long.byte 0x00 0.--7.  1. "     BRN   ,Branch Revision Number"
tree.end
tree "PLB4 to OPB Bridge Registers"
width 19.
group dcr:0x200++0x00
line.long 0x00 "PLB42OPB0_BESR0,PLB4 to OPB Bridge Error Status Register 0"
bitfld.long 0x00 30.--31. " PTE0 ,PLB Timeout Error Status Master 0" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 29. "  R/W0 ,Read Write Status Master 0" "Write,Read"
eventfld.long 0x00 28. "  FLK0 ,PLB42OPBx_BESR0 Field Lock Master 0" "-,Locked"
eventfld.long 0x00 27. "  ALK0 ,PLB42OPBx_BEAR Address Lock Master 0" "-,Locked"
eventfld.long 0x00 26. "  WIRQ0 ,Write Error Interrupt Master 0" "-,Error"
textline "                            "
bitfld.long 0x00 22.--23. " PTE1 ,PLB Timeout Error Status Master 1" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 21. "  R/W1 ,Read/Write Status Master 1" "Write,Read"
eventfld.long 0x00 20. "  FLK1 ,PLB42OPBx_BESR0 Field Lock Master 1" "-,Locked"
eventfld.long 0x00 19. "  ALK1 ,PLB42OPBx_BEAR Address Lock Master 1" "-,Locked"
eventfld.long 0x00 18. "  WIRQ1 ,Write Error Interrupt Master 1" "-,Error"
textline "                            "
bitfld.long 0x00 14.--15. " PTE2 ,PLB Timeout Error Status Master 2" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 13. "  R/W2 ,Read/Write Status Master 2" "Write,Read"
eventfld.long 0x00 12. "  FLK2 ,PLB42OPBx_BESR0 Field Lock Master 2" "-,Locked"
eventfld.long 0x00 11. "  ALK2 ,PLB42OPBx_BEAR Address Lock Master 2" "-,Locked"
eventfld.long 0x00 10. "  WIRQ2 ,Write Error Interrupt Master 2" "-,Error"
textline "                            "
bitfld.long 0x00 6.--7. " PTE3 ,PLB Timeout Error Status Master 3" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 5. "  R/W3 ,Read/Write Status Master 3" "Write,Read"
eventfld.long 0x00 4. "  FLK3 ,PLB42OPBx_BESR0 Field Lock Master 3" "-,Locked"
eventfld.long 0x00 3. "  ALK3 ,PLB42OPBx_BEAR Address Lock Master 3" "-,Locked"
eventfld.long 0x00 2. "  WIRQ3 ,Write Error Interrupt Master 3" "-,Error"
rgroup dcr:0x202++0x00
line.long 0x00 "PLB42OPB0_BEARL,PLB4 to OPB Bridge Error Address Register Low"
rgroup dcr:0x203++0x00
line.long 0x00 "PLB42OPB0_BEARH,PLB4 to OPB Bridge Error Address Register High"
hexmask.long.byte 0x00 0.--3. 1. " UA   ,Upper Address of Bus Error"
group dcr:0x204++0x00
line.long 0x00 "PLB42OPB0_BESR1,PLB4 to OPB Bridge Error Status Register 1"
bitfld.long 0x00 30.--31. " PTE4 ,PLB Timeout Error Status Master 4" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 29. "  R/W4 ,Read/Write Status Master 4" "Write,Read"
eventfld.long 0x00 28. "  FLK4 ,PLB42OPBx_BESR1 Field Lock Master 4" "-,Locked"
eventfld.long 0x00 27. "  ALK4 ,PLB42OPBx_BEAR Address Lock Master 4" "-,Locked"
eventfld.long 0x00 26. "  WIRQ4 ,Write Error Interrupt Master 4" "-,Error"
textline "                            "
bitfld.long 0x00 22.--23. " PTE5 ,PLB Timeout Error Status Master 5" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 21. "  R/W5 ,Read/Write Status Master 5" "Write,Read"
eventfld.long 0x00 20. "  FLK5 ,PLB42OPBx_BESR1 Field Lock Master 5" "-,Locked"
eventfld.long 0x00 19. "  ALK5 ,PLB42OPBx_BEAR Address Lock Master 5" "-,Locked"
eventfld.long 0x00 18. "  WIRQ5 ,Write Error Interrupt Master 5" "-,Error"
textline "                            "
bitfld.long 0x00 14.--15. " PTE6 ,PLB Timeout Error Status Master 6" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 13. "  R/W6 ,Read/Write Status Master 6" "Write,Read"
eventfld.long 0x00 12. "  FLK6 ,PLB42OPBx_BESR1 Field Lock Master 6" "-,Locked"
eventfld.long 0x00 11. "  ALK6 ,PLB42OPBx_BEAR Address Lock Master 6" "-,Locked"
eventfld.long 0x00 10. "  WIRQ6 ,Write Error Interrupt Master 6" "-,Error"
textline "                            "
bitfld.long 0x00 6.--7. " PTE7 ,PLB Timeout Error Status Master 7" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 5. "  R/W7 ,Read/Write Status Master 7" "Write,Read"
eventfld.long 0x00 4. "  FLK7 ,PLB42OPBx_BESR1 Field Lock Master 7" "-,Locked"
eventfld.long 0x00 3. "  ALK7 ,PLB42OPBx_BEAR Address Lock Master 7" "-,Locked"
eventfld.long 0x00 2. "  WIRQ7 ,Write Error Interrupt Master 7" "-,Error"
group dcr:0x206++0x00
line.long 0x00 "PLB42OPB0_CFG,PLB4 to OPB Bridge Configuration Register"
eventfld.long 0x00 31. " ER ,Enable Rearbitration" "Enabled,-"
eventfld.long 0x00 30. "  L32R ,Line 32 bit Read" "Master size,32 bit"
group dcr:0x208++0x00
line.long 0x00 "PLB42OPB0_LATENCY,PLB4 to OPB Bridge Burst Latency Timer Register"
eventfld.long 0x00 31. " LE ,Latency Enable" "-,Enabled"
bitfld.long 0x00 27.--30.  "  LC   ,Latency Count" "1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16"
rgroup dcr:0x20a++0x00
line.long 0x00 "PLB42OPB0_REVID,PLB4 to OPB Bridge Revision ID Register"
hexmask.long.word 0x00 8.--19. 1. " RN ,Revision Number"
hexmask.long.byte 0x00 0.--7. 1. "     BRN  ,Branch Revision Number"
group dcr:0x340++0x00
line.long 0x00 "PLB42OPB1_BESR0,PLB4 to OPB Bridge Error Status Register 0"
bitfld.long 0x00 30.--31. " PTE0 ,PLB Timeout Error Status Master 0" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 29. "  R/W0 ,Read Write Status Master 0" "Write,Read"
eventfld.long 0x00 28. "  FLK0 ,PLB42OPBx_BESR0 Field Lock Master 0" "-,Locked"
eventfld.long 0x00 27. "  ALK0 ,PLB42OPBx_BEAR Address Lock Master 0" "-,Locked"
eventfld.long 0x00 26. "  WIRQ0 ,Write Error Interrupt Master 0" "-,Error"
textline "                            "
bitfld.long 0x00 22.--23. " PTE1 ,PLB Timeout Error Status Master 1" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 21. "  R/W1 ,Read/Write Status Master 1" "Write,Read"
eventfld.long 0x00 20. "  FLK1 ,PLB42OPBx_BESR0 Field Lock Master 1" "-,Locked"
eventfld.long 0x00 19. "  ALK1 ,PLB42OPBx_BEAR Address Lock Master 1" "-,Locked"
eventfld.long 0x00 18. "  WIRQ1 ,Write Error Interrupt Master 1" "-,Error"
textline "                            "
bitfld.long 0x00 14.--15. " PTE2 ,PLB Timeout Error Status Master 2" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 13. "  R/W2 ,Read/Write Status Master 2" "Write,Read"
eventfld.long 0x00 12. "  FLK2 ,PLB42OPBx_BESR0 Field Lock Master 2" "-,Locked"
eventfld.long 0x00 11. "  ALK2 ,PLB42OPBx_BEAR Address Lock Master 2" "-,Locked"
eventfld.long 0x00 10. "  WIRQ2 ,Write Error Interrupt Master 2" "-,Error"
textline "                            "
bitfld.long 0x00 6.--7. " PTE3 ,PLB Timeout Error Status Master 3" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 5. "  R/W3 ,Read/Write Status Master 3" "Write,Read"
eventfld.long 0x00 4. "  FLK3 ,PLB42OPBx_BESR0 Field Lock Master 3" "-,Locked"
eventfld.long 0x00 3. "  ALK3 ,PLB42OPBx_BEAR Address Lock Master 3" "-,Locked"
eventfld.long 0x00 2. "  WIRQ3 ,Write Error Interrupt Master 3" "-,Error"
rgroup dcr:0x342++0x00
line.long 0x00 "PLB42OPB1_BEARL,PLB4 to OPB Bridge Error Address Register Low"
rgroup dcr:0x343++0x00
line.long 0x00 "PLB42OPB1_BEARH,PLB4 to OPB Bridge Error Address Register High"
hexmask.long.byte 0x00 0.--3. 1. " UA ,Upper Address of Bus Error"
group dcr:0x344++0x00
line.long 0x00 "PLB42OPB1_BESR1,PLB4 to OPB Bridge Error Status Register 1"
bitfld.long 0x00 30.--31. " PTE4 ,PLB Timeout Error Status Master 4" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 29. "  R/W4 ,Read/Write Status Master 4" "Write,Read"
eventfld.long 0x00 28. "  FLK4 ,PLB42OPBx_BESR1 Field Lock Master 4" "-,Locked"
eventfld.long 0x00 27. "  ALK4 ,PLB42OPBx_BEAR Address Lock Master 4" "-,Locked"
eventfld.long 0x00 26. "  WIRQ4 ,Write Error Interrupt Master 4" "-,Error"
textline "                            "
bitfld.long 0x00 22.--23. " PTE5 ,PLB Timeout Error Status Master 5" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 21. "  R/W5 ,Read/Write Status Master 5" "Write,Read"
eventfld.long 0x00 20. "  FLK5 ,PLB42OPBx_BESR1 Field Lock Master 5" "-,Locked"
eventfld.long 0x00 19. "  ALK5 ,PLB42OPBx_BEAR Address Lock Master 5" "-,Locked"
eventfld.long 0x00 18. "  WIRQ5 ,Write Error Interrupt Master 5" "-,Error"
textline "                            "
bitfld.long 0x00 14.--15. " PTE6 ,PLB Timeout Error Status Master 6" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 13. "  R/W6 ,Read/Write Status Master 6" "Write,Read"
eventfld.long 0x00 12. "  FLK6 ,PLB42OPBx_BESR1 Field Lock Master 6" "-,Locked"
eventfld.long 0x00 11. "  ALK6 ,PLB42OPBx_BEAR Address Lock Master 6" "-,Locked"
eventfld.long 0x00 10. "  WIRQ6 ,Write Error Interrupt Master 6" "-,Error"
textline "                            "
bitfld.long 0x00 6.--7. " PTE7 ,PLB Timeout Error Status Master 7" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 5. "  R/W7 ,Read/Write Status Master 7" "Write,Read"
eventfld.long 0x00 4. "  FLK7 ,PLB42OPBx_BESR1 Field Lock Master 7" "-,Locked"
eventfld.long 0x00 3. "  ALK7 ,PLB42OPBx_BEAR Address Lock Master 7" "-,Locked"
eventfld.long 0x00 2. "  WIRQ7 ,Write Error Interrupt Master 7" "-,Error"
group dcr:0x346++0x00
line.long 0x00 "PLB42OPB1_CFG,PLB4 to OPB Bridge Configuration Register"
eventfld.long 0x00 31. " ER ,Enable Rearbitration" "Enabled,-"
eventfld.long 0x00 30. "  L32R ,Line 32 bit Read" "Size master,32 bits"
group dcr:0x348++0x00
line.long 0x00 "PLB42OPB1_LATENCY,PLB4 to OPB Bridge Burst Latency Timer Register"
eventfld.long 0x00 31. " LE ,Latency Enable" "-,Enabled"
bitfld.long 0x00 27.--30.  "  LC   ,Latency Count" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
rgroup dcr:0x34a++0x00
line.long 0x00 "PLB42OPB1_REVID,PLB4 to OPB Bridge Revision ID Register"
hexmask.long.word 0x00 8.--19. 1. " RN ,Revision Number"
hexmask.long.byte 0x00 0.--7. 1. "     BRN  ,Branch Revision Number"
tree.end
tree "PLB3 Arbiter Registers"
width 14.
rgroup dcr:0x072++0x00
line.long 0x00 "PLB3A0_REVID,PLB3 Arbiter 0 Revision ID Regisgter"
hexmask.long.word 0x00 8.--19. 1. " RN ,Revision Number"
hexmask.long.byte 0x00 0.--7. 1. "  BRN ,Branch Revision Number"
group dcr:0x074++0x00
line.long 0x00 "PLB3A0_BESR,PLB3 Error Status Register"
eventfld.long 0x00 31. " PTE0 ,Master 0 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 30. "  R/W0 ,Master 0 Read/Write Status" "Write,Read"
eventfld.long 0x00 29. "  FLK0 ,Master 0 PLB3A0_BESR Field Lock" "-,Locked"
eventfld.long 0x00 28. "  ALK0 ,Master 0 PLB3A0_BEAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 23. " PTE2 ,Master 2 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 22. "  R/W2 ,Master 2 Read/Write Status" "Write,Read"
eventfld.long 0x00 21. "  FLK2 ,Master 2 PLB3A0_BESR Field Lock" "-,Locked"
eventfld.long 0x00 20. "  ALK2 ,Master 2 PLB3A0_BEAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 19. " PTE3 ,Master 3 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 18. "  R/W3 ,Master 3 Read/Write Status" "Write,Read"
eventfld.long 0x00 17. "  FLK3 ,Master 3 PLB3A0_BESR Field Lock" "-,Locked"
eventfld.long 0x00 16. "  ALK3 ,Master 3 PLB3A0_BEAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 11. " PTE5 ,Master 5 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 10. "  R/W5 ,Master 5 Read/Write Status" "Write,Read"
eventfld.long 0x00 9. "  FLK5 ,Master 5 PLB3A0_BESR Field Lock" "-,Locked"
eventfld.long 0x00 8. "  ALK5 ,Master 5 PLB3A0_BEAR Address Lock" "-,Locked"
rgroup dcr:0x076++0x00
line.long 0x00 "PLB3A0_BEAR,PLB3 Error Address Register"
group dcr:0x077++0x00
line.long 0x00 "PLB3A0_ACR,PLB3 Arbiter Control Register"
bitfld.long 0x00 31. " PPM ,PLB Priority Mode" "Fixed,Fair"
bitfld.long 0x00 28.--30. "  PPO ,PLB Priority Order" "0-1-2-3-4-5,1-2-3-4-5-0,2-3-4-5-0-1,3-4-5-0-1-2,4-5-0-1-2-3,5-0-1-2-3-4,Reserved,Reserved"
bitfld.long 0x00 27. "  HBU ,High Bus Utilization" "-,Enabled"
tree.end
tree "PLB3 to OPB Registers"
width 17.
group dcr:0x0090--0x0090
line.long 0x00 "PLB32OPB0_BESR0,PLB3 to OPB Bridge Error Status Register 0"
bitfld.long 0x00 30.--31. " PTE0 ,PLB Timeout Error Status Master 0" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 29. "  R/W0 ,Read Write Status Master 0" "Write,Read"
textline "                          "
bitfld.long 0x00 20.--21. " PTE2 ,PLB Timeout Error Status Master 0" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 19. "  R/W2 ,Read Write Status Master 2" "Write,Read"
eventfld.long 0x00 18. "  FLK2 ,PLB32OPB0_BESR0 Field Lock Master 2" "-,Locked"
eventfld.long 0x00 17. "  ALK2 ,PLB32OPB0_BEAR Address Lock Master 2" "-,Locked"
textline "                          "
bitfld.long 0x00 15.--16. " PTE3 ,PLB Timeout Error Status Master 0" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 14. "  R/W3 ,Read Write Status Master 3" "Write,Read"
rgroup dcr:0x0092++0x00
line.long 0x00 "PLB32OPB0_BEAR,PLB3 to OPB Bridge Error Address Register"
rgroup dcr:0x0093++0x00
line.long 0x00 "PLB32OPB0_REVID,PLB3 to OPB Revision ID Register"
bitfld.long 0x00 0.--3. " RID  ,This value is the revision level for PLB32OPB0" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
group dcr:0x0094--0x0094
line.long 0x00 "PLB32OPB0_BESR1,PLB3 to OPB Bridge Error Status Register 1"
bitfld.long 0x00 25.--26. " PTE5 ,PLB3 Timeout Error Status Master 5" "-,Timeout,Slave,Reserved"
eventfld.long 0x00 24. "  R/W5 ,Read/Write Status Master 5" "Write,Read"
tree.end
tree "OPB Arbiter Registers"
width 10.
group asd:0x1:0xEF600A00++0x00
line.byte 0x00 "OPBA0_PR,OPB Arbiter Priority Register"
bitfld.byte 0x00 6.--7. "     HPM ,High Priority Master ID" "M0_request / OPB_M0Grant,M1_request / OPB_M1GrantReserved,M2_request / OPB_M2GrantReserved,M3_request / OPB_M3GrantReserved"
textline "                   "
bitfld.byte 0x00 4.--5. " MHP ,Medium High Priority Master ID" "M0_request / OPB_M0Grant,M1_request / OPB_M1Grant,M2_request / OPB_M2Grant,M3_request / OPB_M3Grant"   
group ANC:0x1:0xEF600A01++0x00
line.byte 0x00 "OPBA0_CR,OPB Arbiter Control Register"
bitfld.byte 0x00 7. "     DPE ,Dynamic Priority Enable" "-,Enabled"
bitfld.byte 0x00 6. "   PEN ,Park Enable" "-,Enabled"
textline "                   "
bitfld.byte 0x00 5. " PMN ,Park on Master" "Last,Not last"
bitfld.byte 0x00 3.--4. "  PID ,Parked Master ID" "M0_request / OPB_M0Grant,M1_request / OPB_M1GrantReserved,M2_request / OPB_M2Grant,M3_request / OPB_M3GrantReserved"
group ANC:0x0:0xE0000000++0x00
line.byte 0x00 "OPBA1_PR,OPB Arbiter Priority Register"
bitfld.byte 0x00 6.--7. "     HPM ,High Priority Master ID" "M0_request / OPB_M0Grant,M1_request / OPB_M1GrantReserved,M2_request / OPB_M2GrantReserved,M3_request / OPB_M3GrantReserved"
textline "                   "
bitfld.byte 0x00 4.--5. " MHP ,Medium High Priority Master ID" "M0_request / OPB_M0Grant,M1_request / OPB_M1Grant,M2_request / OPB_M2Grant,M3_request / OPB_M3Grant"   
group ANC:0x0:0xE0000001++0x00
line.byte 0x00 "OPBA1_CR,OPB Arbiter Control Register"
bitfld.byte 0x00 7. "     DPE ,Dynamic Priority Enable" "-,Enabled"
bitfld.byte 0x00 6. "   PEN ,Park Enable" "-,Enabled"
textline "                   "
bitfld.byte 0x00 5. " PMN ,Park on Master" "Last,Not last"
bitfld.byte 0x00 3.--4. "  PID ,Parked Master ID" "M0_request / OPB_M0Grant,M1_request / OPB_M1GrantReserved,M2_request / OPB_M2Grant,M3_request / OPB_M3GrantReserved"
group ANC:0x0:0xE0000200++0x00
line.byte 0x00 "OPBA2_PR,OPB Arbiter Priority Register"
bitfld.byte 0x00 6.--7. "     HPM ,High Priority Master ID" "M0_request / OPB_M0Grant,M1_request / OPB_M1GrantReserved,M2_request / OPB_M2GrantReserved,M3_request / OPB_M3GrantReserved"
textline "                   "
bitfld.byte 0x00 4.--5. " MHP ,Medium High Priority Master ID" "M0_request / OPB_M0Grant,M1_request / OPB_M1Grant,M2_request / OPB_M2Grant,M3_request / OPB_M3Grant"   
group ANC:0x0:0xE0000201++0x00
line.byte 0x00 "OPBA2_CR,OPB Arbiter Control Register"
bitfld.byte 0x00 7. "     DPE ,Dynamic Priority Enable" "-,Enabled"
bitfld.byte 0x00 6. "   PEN ,Park Enable" "-,Enabled"
textline "                   "
bitfld.byte 0x00 5. " PMN ,Park on Master" "Last,Not last"
bitfld.byte 0x00 3.--4. "  PID ,Parked Master ID" "M0_request / OPB_M0Grant,M1_request / OPB_M1GrantReserved,M2_request / OPB_M2Grant,M3_request / OPB_M3GrantReserved"
tree.end
tree "OPB to PLB3 Bridge Registers"
width 17.
group dcr:0x350++0x00
line.long 0x00 "OPB2PLB40_BCTRL,OPB-to-PLB4 Bridge Control Register"
bitfld.long 0x00 30.--31. " PRI   ,PLB Priority Bits" "Lowest,Low,High,Highest"
rgroup dcr:0x351++0x00
line.long 0x00 "OPB2PLB40_BSTAT,OPB-to-PLB4 Bridge Status Register"
eventfld.long 0x00 31. " RDERR ,Read Error Bit Reset to 0" "-,Error"
eventfld.long 0x00 30. "    WRERR ,Write Error Bit Reset to 0" "-,Error"
rgroup dcr:0x352++0x00
line.long 0x00 "OPB2PLB40_BEARL,OPB-to-PLB4 Bridge Error Address Register Low"
rgroup dcr:0x353++0x00
line.long 0x00 "OPB2PLB40_BEARH,OPB-to-PLB4 Bridge Error Address Register High"
hexmask.long.byte 0x00 0.--3. 1. " ERRADD ,Bridge Error Address Register High"
rgroup dcr:0x354++0x00
line.long 0x00 "OPB2PLB40_REVID,OPB-to-PLB4 Bridge Revision ID Register"
bitfld.long 0x00 0.--3. " RID    ,This Value Indicates the Revision Level of the OPBto-PLB4 Bridge" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
tree.end
width 0xb
tree.end
elif (cpu()=="PPC440GRX")
tree "On-Chip Buses"
width 14.
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x240
line.long 0x00 "SDR0_AMP0,Alternate PLB4 Master Priority Register 0"
bitfld.long 0x00 30.--31. " AICURP ,Alternate ICU Read Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 28.--29. "    ADCURP ,Alternate DCU Read Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 26.--27. "    ADCUWP ,Alternate DCU Write Priority" "Lowest,Low,High,Highest"
textline "                       "
bitfld.long 0x00 24.--25. " ADMA4P ,Alternate DMA2P40 Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 22.--23. "    AP3P4P ,Alternate PLB3 to PLB4 Bridge Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 16.--17. "    ACRYPP ,Alternate CRYP Priority" "Lowest,Low,High,Highest"
textline "                       "
bitfld.long 0x00 15. " ICURP  ,ICU Read Priority" "Own,Alternate"
bitfld.long 0x00 14. "  DCURP  ,DCU Read Priority" "Own,Alternate"
bitfld.long 0x00 13. "  DCUWP  ,DCU Write Priority" "Own,Alternate"
textline "                       "
bitfld.long 0x00 12. " DMA4P  ,DMA2P40 Priority" "Own,Alternate"
bitfld.long 0x00 11. "  P3P4P  ,PLB3 to PLB4 Priority" "Own,Alternate"
bitfld.long 0x00 8. "  CRYPP  ,CRYP Priority" "Own,Alternate"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x241
line.long 0x00 "SDR0_AMP1,Alternate PLB3 Master Priority Register 1"
bitfld.long 0x00 30.--31. " AP4P3P ,Alternate PLB4 to PLB3 Bridge Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 26.--27. "    APCIP  ,Alternate PCI Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 24.--25. "    ADMA3P ,Alternate DMA2P30 Priority" "Lowest,Low,High,Highest"
textline "                       "
bitfld.long 0x00 20.--21. " AEBCP  ,Alternate EBC Priority" "Lowest,Low,High,Highest"
bitfld.long 0x00 15. "    P4P3P  ,PLB4 to PLB3 Bridge Priority" "Own,Alternate"
bitfld.long 0x00 13. "  PCIP   ,PCI Priority" "Own,Alternate"
textline "                       "
bitfld.long 0x00 12. " DMA3P  ,DMA2P30 Priority" "Own,Alternate"
bitfld.long 0x00 10. "  EBCP   ,EBC Priority" "Own,Alternate"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x180
line.long 0x00 "SDR0_CP440,PPC440 CPU Register"
bitfld.long 0x00 28.--29. " RL     ,Boot ROM Location" "Lowest,Low,High,Highest"
bitfld.long 0x00 26.--27. "    DRU    ,DcuRdUrgent" "Lowest,Low,High,Highest"
bitfld.long 0x00 24.--25. "    DRT    ,DcuRdTouch" "Lowest,Low,High,Highest"
textline "                       "
bitfld.long 0x00 22.--23. " DRNC   ,DcuRdNonCache" "Lowest,Low,High,Highest"
bitfld.long 0x00 20.--21. "    DRLC   ,DcuRdLdCache" "Lowest,Low,High,Highest"
bitfld.long 0x00 18.--19. "    DWF    ,DcuWrFlush" "Lowest,Low,High,Highest"
textline "                       "
bitfld.long 0x00 16.--17. " DWS    ,DcuWrStore" "Lowest,Low,High,Highest"
bitfld.long 0x00 14.--15. "    DWU    ,DcuWrUrgent" "Lowest,Low,High,Highest"
bitfld.long 0x00 12.--13. "    IRF    ,IcuRdFetch" "Lowest,Low,High,Highest"
textline "                       "
bitfld.long 0x00 10.--11. " IRT    ,IcuRdTouch" "Lowest,Low,High,Highest"
bitfld.long 0x00 8.--9. "    IRS    ,IcuRdSpec" "Lowest,Low,High,Highest"
bitfld.long 0x00 1. "    NTO1   ,CPU:PLB N to 1 Clock Ratio" "N:P,N:1"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x260
line.long 0x00 "SDR0_MIRQ0,Master Interrupt Request Register 0"
bitfld.long 0x00 29. " M0DDR  ,ICU Read Interrupt Request from DDR SDRAM" "-,Requested"
bitfld.long 0x00 24. "  M0P4P3 ,ICU Read Interrupt Request from PLB4 to PLB3 Bridge" "-,Requested"
bitfld.long 0x00 21. "  M1DDR  ,DCU Read Interrupt Request from DDR SDRAM" "-,Requested"
textline "                       "
bitfld.long 0x00 16. " M1P4P3 ,DCU Read Interrupt Request from PLB4 to PLB3 Bridge" "-,Requested"
bitfld.long 0x00 13. "  M2DDR  ,DCU Write Interrupt Request from DDR SDRAM" "-,Requested"
bitfld.long 0x00 8. "  M2P4P3 ,DCU Write Interrupt Request from PLB4 to PLB3 Bridge" "-,Requested"
textline "                       "
bitfld.long 0x00 5. " M3DDR  ,DMA2P4 Interrupt Request from DDR SDRAM" "-,Requested"
bitfld.long 0x00 0. "  M3P4P3 ,DMA2P4 Interrupt Request from PLB4 to PLB3 Bridge" "-,Requested"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x261
line.long 0x00 "SDR0_MIRQ1,Master Interrupt Request Register 1"
bitfld.long 0x00 29. " M4DDR  ,P3P4BI0 Bridge Interrupt Request from DDR SDRAM" "-,Requested"
bitfld.long 0x00 24. "  M4P4P3 ,P3P4BI0 Bridge Interrupt Request from PLB4 to PLB3 Bridge" "-,Requested"
bitfld.long 0x00 16. "  M5P4P3 ,PLB42OPB0 Interrupt Request from PLB4 to PLB3 Bridge" "-,Requested"
textline "                       "
bitfld.long 0x00 13. " M6DDR  ,MAL0 interrupt request from DDR SDRAM" "-,Requested"
bitfld.long 0x00 8. "  M6P4P3 ,MAL0 Interrupt Request from PLB4 to PLB3 Bridge" "-,Requested"
bitfld.long 0x00 5. "  M7DDR  ,CRYP0 Interrupt Request from DDR SDRAM" "-,Requested"
textline "                       "
bitfld.long 0x00 0. " M7P4P3 ,CRYP0 Interrupt Request from PLB4 to PLB3 Bridge" "-,Requested"
group dcr:0x000F++0x00
saveout dcr:0x000E %l 0x220
line.long 0x00 "SDR0_SLPIPE0,Slave Address Pipeline Register"
bitfld.long 0x00 30. " DAP    ,DDR Address Pipeline Enable" "-,Enabled"
bitfld.long 0x00 29. "    P4P3AP ,PLB4 to PLB3 Address Pipeline Enable" "-,Enabled"
bitfld.long 0x00 3. "    P3OAP  ,PLB3 to OPB Address Pipeline Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 2. " EAP    ,EBC Address Pipeline Enable" "-,Enabled"
bitfld.long 0x00 1. "    PAP    ,PCI Address Pipeline Enable" "-,Enabled"
bitfld.long 0x00 0. "    P3P4AP ,PLB3 to PLB4 Address Pipeline Enable" "-,Enabled"
width 14.
rgroup dcr:0x0080++0x00 "PLB4 Arbiter"
line.long 0x00 "PLB4A0_REVID,PLB4 Crossbar ID Register"
hexmask.long.word 0x00 8.--19. 1. " RN   ,Revision Number"
hexmask.long.byte 0x00 0.--7. 1. "     BRN  ,Branch Revision Number"
group dcr:0x0081++0x00
line.long 0x00 "PLB4A0_ACR,PLB4 Arbiter Control Register"
bitfld.long 0x00 31. " PPM0 ,PLB Priority Mode" "Fixed,Fair"
bitfld.long 0x00 30. "    PPM1 ,PLB Priority Mode" "Fixed,Fair"
bitfld.long 0x00 28. "   PPM3 ,PLB Priority Mode" "Fixed,Fair"
textline "                       "
bitfld.long 0x00 27. " HBU  ,High Bus Utilization" "-,Enabled"
bitfld.long 0x00 25.--26. "  RDP  ,Read Pipeline Control" "-,2 deep,3 deep,4 deep"
bitfld.long 0x00 24. "  WRP  ,Write Pipeline Control" "-,2 deep"
group dcr:0x0082++0x00
line.long 0x00 "PLB4A0_ESRL,PLB4 Error Status Register Low"
eventfld.long 0x00 31. " PTE0 ,Master 0 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 30. "  R/W0 ,Master 0 Read/Write Status" "Write,Read"
eventfld.long 0x00 29. "  FLK0 ,Master 0 PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 28. "  ALK0 ,Master 0 PLB4A0_EAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 27. " PTE1 ,Master 1 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 26. "  R/W1 ,Master 1 Read/Write Status" "Write,Read"
eventfld.long 0x00 25. "  FLK1 ,Master 1PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 24. "  ALK1 ,Master 1 PLB4A0_EAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 23. " PTE2 ,Master 2 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 22. "  R/W2 ,Master 2 Read/Write Status" "Write,Read"
eventfld.long 0x00 21. "  FLK2 ,Master 2 PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 20. "  ALK2 ,Master 2 PLB4A0_EAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 19. " PTE3 ,Master 3 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 18. "  R/W3 ,Master 3 Read/Write Status" "Write,Read"
eventfld.long 0x00 17. "  FLK3 ,Master 3 PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 16. "  ALK3 ,Master 3 PLB4A0_EAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 15. " PTE4 ,Master 4 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 14. "  R/W4 ,Master 4 Read/Write Status" "Write,Read"
eventfld.long 0x00 13. "  FLK4 ,Master 4 PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 12. "  ALK4 ,Master 4 PLB4A0_EAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 7. " PTE6 ,Master 6 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 6. "  R/W6 ,Master 6 Read/Write Status" "Write,Read"
eventfld.long 0x00 5. "  FLK6 ,Master 6 PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 4. "  ALK6 ,Master 6 PLB4A0_EAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 3. " PTE7 ,Master 7 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 2. "  R/W7 ,Master 7 Read/Write Status" "Write,Read"
eventfld.long 0x00 1. "  FLK7 ,Master 7 PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 0. "  ALK7 ,Master 7 PLB4A0_EAR Address Lock" "-,Locked"
rgroup dcr:0x0084++0x00
line.long 0x00 "PLB4A0_EARL,PLB4 Error Address Register Low"
rgroup dcr:0x0085++0x00
line.long 0x00 "PLB4A0_EARH,PLB4 Error Address Register High"
group dcr:0x0088++0x00
line.long 0x00 "PLB4A0_CCR,PLB4 Crossbar Control Register"
bitfld.long 0x00 28.--31. " PSA     ,PLB Segmentation Upper Address Control" "PLB4A0,PLB4A0,PLB4A0,PLB4A0,PLB4A0,PLB4A0,PLB4A0,PLB4A0,PLB4A1,PLB4A1,PLB4A1,PLB4A1,PLB4A1,PLB4A1,PLB4A1,PLB4A1"
bitfld.long 0x00 27. "   PLB3_0 ,PLB3 TimeOut Mode Enabled [0]" "PLB4,PLB3"
bitfld.long 0x00 26. "    PLB3_1  ,PLB3 TimeOut Mode Enabled [1]" "PLB4,PLB3"
textline "                       "
bitfld.long 0x00 25. " PLB3_2  ,PLB3 TimeOut Mode Enabled [2]" "PLB4,PLB3"
bitfld.long 0x00 24. "     PLB3_3 ,PLB3 TimeOut Mode Enabled [3]" "PLB4,PLB3"
bitfld.long 0x00 23. "    PLB3_4  ,PLB3 TimeOut Mode Enabled [4]" "PLB4,PLB3"
textline "                       "
bitfld.long 0x00 22. " PLB3_5  ,PLB3 TimeOut Mode Enabled [5]" "PLB4,PLB3"
bitfld.long 0x00 21. "     PLB3_6 ,PLB3 TimeOut Mode Enabled [6]" "PLB4,PLB3"
bitfld.long 0x00 20. "    PLB3_7  ,PLB3 TimeOut Mode Enabled [7]" "PLB4,PLB3"
textline "                       "
bitfld.long 0x00 19. " PLB3_8  ,PLB3 TimeOut Mode Enabled [8]" "PLB4,PLB3"
bitfld.long 0x00 18. "     PLB3_9 ,PLB3 TimeOut Mode Enabled [9]" "PLB4,PLB3"
bitfld.long 0x00 17. "    PLB3_10 ,PLB3 TimeOut Mode Enabled [10]" "PLB4,PLB3"
textline "                       "
bitfld.long 0x00 16. " PLB3_11 ,PLB3 TimeOut Mode Enabled [11]" "PLB4,PLB3"
group dcr:0x0089++0x00
line.long 0x00 "PLB4A1_ACR,PLB4 Arbiter Control Register"
bitfld.long 0x00 31. " PPM0    ,PLB Priority Mode" "Fixed,Fair"
bitfld.long 0x00 30. "    PPM1   ,PLB Priority Mode" "Fixed,Fair"
bitfld.long 0x00 28. "   PPM3    ,PLB Priority Mode" "Fixed,Fair"
textline "                       "
bitfld.long 0x00 27. " HBU     ,High Bus Utilization" "-,Enabled"
bitfld.long 0x00 25.--26. "  RDP    ,Read Pipeline Control" "-,2 deep,3 deep,4 deep"
bitfld.long 0x00 24. "  WRP     ,Write Pipeline Control" "-,2 deep"
group dcr:0x008a++0x00
line.long 0x00 "PLB4A1_ESRL,PLB4 Error Status Register Low"
eventfld.long 0x00 31. " PTE0 ,Master 0 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 30. "  R/W0 ,Master 0 Read/Write Status" "Write,Read"
eventfld.long 0x00 29. "  FLK0 ,Master 0 PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 28. "  ALK0 ,Master 0 PLB4A0_EAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 27. " PTE1 ,Master 1 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 26. "  R/W1 ,Master 1 Read/Write Status" "Write,Read"
eventfld.long 0x00 25. "  FLK1 ,Master 1PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 24. "  ALK1 ,Master 1 PLB4A0_EAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 23. " PTE2 ,Master 2 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 22. "  R/W2 ,Master 2 Read/Write Status" "Write,Read"
eventfld.long 0x00 21. "  FLK2 ,Master 2 PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 20. "  ALK2 ,Master 2 PLB4A0_EAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 19. " PTE3 ,Master 3 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 18. "  R/W3 ,Master 3 Read/Write Status" "Write,Read"
eventfld.long 0x00 17. "  FLK3 ,Master 3 PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 16. "  ALK3 ,Master 3 PLB4A0_EAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 15. " PTE4 ,Master 4 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 14. "  R/W4 ,Master 4 Read/Write Status" "Write,Read"
eventfld.long 0x00 13. "  FLK4 ,Master 4 PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 12. "  ALK4 ,Master 4 PLB4A0_EAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 7. " PTE6 ,Master 6 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 6. "  R/W6 ,Master 6 Read/Write Status" "Write,Read"
eventfld.long 0x00 5. "  FLK6 ,Master 6 PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 4. "  ALK6 ,Master 6 PLB4A0_EAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 3. " PTE7 ,Master 7 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 2. "  R/W7 ,Master 7 Read/Write Status" "Write,Read"
eventfld.long 0x00 1. "  FLK7 ,Master 7 PLB4A0_ESR Field Lock" "-,Locked"
eventfld.long 0x00 0. "  ALK7 ,Master 7 PLB4A0_EAR Address Lock" "-,Locked"
rgroup dcr:0x008c++0x00
line.long 0x00 "PLB4A1_EARL,PLB4 Error Address Register Low"
rgroup dcr:0x008d++0x00
line.long 0x00 "PLB4A1_EARH,PLB4 Error Address Register High"

;PLB4 to PLB3 Bridge (Bridge Out 0)
width 15.
group dcr:0x0022++0x00 "PLB4 to PLB3 Bridge Registers"
line.long 0x00 "P4P3BO0_BEARL,PLB4 to PLB3 Bridge Error Address Register Low"
group dcr:0x0023++0x00
line.long 0x00 "P4P3BO0_BEARH,PLB4 to PLB3 Bridge Error Address Register High"
group dcr:0x0020++0x00
line.long 0x00 "P4P3BO0_BESR0,PLB4 to PLB3 Bridge Error Status Register 0 Master Devices 0,1,2,3"
bitfld.long 0x00 30.--31. " SSET0 ,Secondary PLB Bus Slave Error Type for master 0" "-,Timeout error,Data error,Reserved"
eventfld.long 0x00 29. "  R/W0 ,Read write status master 0" "Write,Read"
eventfld.long 0x00 28. "  FLK0 ,P4P3BO0_BESR field lock master 0" "-,Locked"
eventfld.long 0x00 27. "  ALK0 ,P4P3BO0_BEAR address lock master 0" "-,Locked"
eventfld.long 0x00 26. "  WIRQ0 ,Write Error Interrupt master 0" "-,Error"
bitfld.long 0x00 24.--25. "  PAR0 ,Parity Error Type master 0" "-,Read error,Address error,Write error"
textline "                        "
bitfld.long 0x00 22.--23. " SSET1 ,Secondary PLB Bus Slave Error Type for master 1" "-,Timeout error,Data error,Reserved"
eventfld.long 0x00 21. "  R/W1 ,Read write status master 1" "Write,Read"
eventfld.long 0x00 20. "  FLK1 ,P4P3BO0_BESR field lock master 1" "-,Locked"
eventfld.long 0x00 19. "  ALK1 ,P4P3BO0_BEAR address lock master 1" "-,Locked"
eventfld.long 0x00 18. "  WIRQ1 ,Write Error Interrupt master 1" "-,Error"
bitfld.long 0x00 16.--17. "  PAR1 ,Parity Error Type master 1" "-,Read error,Address error,Write error"
textline "                        "
bitfld.long 0x00 14.--15. " SSET2 ,Secondary PLB Bus Slave Error Type for master 2" "-,Timeout error,Data error,Reserved"
eventfld.long 0x00 13. "  R/W2 ,Read write status master 2" "Write,Read"
eventfld.long 0x00 12. "  FLK2 ,P4P3BO0_BESR field lock master 2" "-,Locked"
eventfld.long 0x00 11. "  ALK2 ,P4P3BO0_BEAR address lock master 2" "-,Locked"
eventfld.long 0x00 10. "  WIRQ2 ,Write Error Interrupt master 2" "-,Error"
bitfld.long 0x00 8.--9. "  PAR2 ,Parity Error Type master 2" "-,Read error,Address error,Write error"
textline "                        "
bitfld.long 0x00 6.--7. " SSET3 ,Secondary PLB Bus Slave Error Type for master 3" "-,Timeout error,Data error,Reserved"
eventfld.long 0x00 5. "  R/W3 ,Read write status master 3" "Write,Read"
eventfld.long 0x00 4. "  FLK3 ,P4P3BO0_BESR field lock master 3" "-,Locked"
eventfld.long 0x00 3. "  ALK3 ,P4P3BO0_BEAR address lock master 3" "-,Locked"
eventfld.long 0x00 2. "  WIRQ3 ,Write Error Interrupt master 3" "-,Error"
bitfld.long 0x00 0.--1. "  PAR3 ,Parity Error Type master 3" "-,Read error,Address error,Write error"
group dcr:0x0024++0x00
line.long 0x00 "P4P3BO0_BESR1,PLB4 to PLB3 Bridge Error Status Register 1 Master Devices 4,5,6,7"
bitfld.long 0x00 30.--31. " SSET4 ,Secondary PLB Bus Slave Error Type for master 4" "-,Timeout error,Data error,Reserved"
eventfld.long 0x00 29. "  R/W4 ,Read write status master 4" "Write,Read"
eventfld.long 0x00 28. "  FLK4 ,P4P3BO0_BESR field lock master 4" "-,Locked"
eventfld.long 0x00 27. "  ALK4 ,P4P3BO0_BEAR address lock master 4" "-,Locked"
eventfld.long 0x00 26. "  WIRQ4 ,Write Error Interrupt master 4" "-,Error"
bitfld.long 0x00 24.--25. "  PAR4 ,Parity Error Type master 4" "-,Read error,Address error,Write error"
textline "                        "
bitfld.long 0x00 14.--15. " SSET6 ,Secondary PLB Bus Slave Error Type for master 6" "-,Timeout error,Data error,Reserved"
eventfld.long 0x00 13. "  R/W6 ,Read write status master 6" "Write,Read"
eventfld.long 0x00 12. "  FLK6 ,P4P3BO0_BESR field lock master 6" "-,Locked"
eventfld.long 0x00 11. "  ALK6 ,P4P3BO0_BEAR address lock master 6" "-,Locked"
eventfld.long 0x00 10. "  WIRQ6 ,Write Error Interrupt master 6" "-,Error"
bitfld.long 0x00 8.--9. "  PAR6 ,Parity Error Type master 6" "-,Read error,Address error,Write error"
textline "                        "
bitfld.long 0x00 6.--7. " SSET7 ,Secondary PLB Bus Slave Error Type for master 7" "-,Timeout error,Data error,Reserved"
eventfld.long 0x00 5. "  R/W7 ,Read write status master 7" "Write,Read"
eventfld.long 0x00 4. "  FLK7 ,P4P3BO0_BESR field lock master 7" "-,Locked"
eventfld.long 0x00 3. "  ALK7 ,P4P3BO0_BEAR address lock master 7" "-,Locked"
eventfld.long 0x00 2. "  WIRQ7 ,Write Error Interrupt master 7" "-,Error"
bitfld.long 0x00 0.--1. "  PAR7 ,Parity Error Type master 7" "-,Read error,Address error,Write error"
group dcr:0x0026++0x00
line.long 0x00 "P4P3BO0_CFG,PLB4 to PLB3 Bridge Configuration Register"
bitfld.long 0x00 31. " SSPS  ,Slave side primary/secondary priority" "Secondary,Primary"
bitfld.long 0x00 29.--30. "  FIFOE ,FIFO Enablement" "-,One level deep,Two levels deep,Reserved"
bitfld.long 0x00 28. "  SRE   ,Secondary Read Enablement" "-,Enabled"
textline "                        "
bitfld.long 0x00 27. " SWE   ,Secondary Write Enablement" "-,Enabled"
bitfld.long 0x00 26. "    PBASS ,PLB Bus Architecture for Slave Side" "3.x PLB,4.x PLB"
bitfld.long 0x00 25. "          PBAMS ,PLB Bus Architecture for Master Side" "3.x PLB,4.x PLB"
textline "                        "
bitfld.long 0x00 24. " ER    ,Enable Rearbitration" "-,Enabled"
bitfld.long 0x00 22.--23. "    PRI   ,PLB Priority Bits" "Lowest,Next Highest,Next Highest,Highest"
bitfld.long 0x00 21. "     PE    ,Parity Enable" "-,Enabled"
textline "                        "
bitfld.long 0x00 20. " FI    ,Flush Interrupt Enable" "-,Enabled"
bitfld.long 0x00 17.--19. "    FIID  ,Flush Interrupt ID" "0,1,2,3,4,5,6,7" 
group dcr:0x0027++0x00
line.long 0x00 "P4P3BO0_PICR,PLB4 to PLB3 Bridge Priority Incrementation Counter Register"
bitfld.long 0x00 31. " PICE  ,Priority Incrementation Counter Enable" "-,Enabled"
bitfld.long 0x00 26.--30. "    IPICV ,Initial Priority Incrementation Counter Value" "8,16,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,160,168,176,184,192,200,208,216,224,232,240,248,256"
group dcr:0x0028++0x00
line.long 0x00 "P4P3BO0_PEIR,PLB4 to PLB3 Bridge Parity Error Interrupt Register"
bitfld.long 0x00 31. " ADRPE ,A Bus Parity Error Interrupt" "-,Error"
bitfld.long 0x00 30. "      RDPE  ,Read Data Bus Parity Error Interrupt" "-,Error"
group dcr:0x002A++0x00
line.long 0x00 "P4P3BO0_REVID,PLB4 to PLB3 Bridge Revision ID Register"
hexmask.long.word 0x00 8.--19. 1. " RN    ,Revision number"
hexmask.long.byte 0x00 0.--7. 1. "       BRN   ,Branch revision number"
width 0x0B
;PLB3 to PLB4 Bridge (Bridge In 0)
width 15.
group dcr:0x0032++0x00 "PLB3 to PLB4 Bridge Registers"
line.long 0x00 "P3P4BI0_BEARL,PLB3 to PLB4 Bridge Error Address Register Low"
group dcr:0x0033++0x00
line.long 0x00 "P3P4BI0_BEARH,PLB3 to PLB4 Bridge Error Address Register High"
group dcr:0x0030++0x00
line.long 0x00 "P3P4BI0_BESR0,PLB3 to PLB4 Bridge Error Status Register 0"
bitfld.long 0x00 30.--31. " SSET0 ,Secondary PLB Bus Slave Error Type for master 0" "-,Timeout error,Data error,Reserved"
eventfld.long 0x00 29. "  R/W0 ,Read write status master 0" "Write,Read"
eventfld.long 0x00 28. "  FLK0 ,P3P4BI0_BESR field lock master 0" "-,Locked"
eventfld.long 0x00 27. "  ALK0 ,P3P4BI0_BEAR address lock master 0" "-,Locked"
eventfld.long 0x00 26. "  WIRQ0 ,Write Error Interrupt master 0" "-,Error"
bitfld.long 0x00 24.--25. "  PAR0 ,Parity Error Type master 0" "-,Read error,Address error,Write error"
textline "                        "
bitfld.long 0x00 14.--15. " SSET2 ,Secondary PLB Bus Slave Error Type for master 2" "-,Timeout error,Data error,Reserved"
eventfld.long 0x00 13. "  R/W2 ,Read write status master 2" "Write,Read"
eventfld.long 0x00 12. "  FLK2 ,P3P4BI0_BESR field lock master 2" "-,Locked"
eventfld.long 0x00 11. "  ALK2 ,P3P4BI0_BEAR address lock master 2" "-,Locked"
eventfld.long 0x00 10. "  WIRQ2 ,Write Error Interrupt master 2" "-,Error"
bitfld.long 0x00 8.--9. "  PAR2 ,Parity Error Type master 2" "-,Read error,Address error,Write error"
textline "                        "
bitfld.long 0x00 6.--7. " SSET3 ,Secondary PLB Bus Slave Error Type for master 3" "-,Timeout error,Data error,Reserved"
eventfld.long 0x00 5. "  R/W3 ,Read write status master 3" "Write,Read"
eventfld.long 0x00 4. "  FLK3 ,P3P4BI0_BESR field lock master 3" "-,Locked"
eventfld.long 0x00 3. "  ALK3 ,P3P4BI0_BEAR address lock master 3" "-,Locked"
eventfld.long 0x00 2. "  WIRQ3 ,Write Error Interrupt master 3" "-,Error"
bitfld.long 0x00 0.--1. "  PAR3 ,Parity Error Type master 3" "-,Read error,Address error,Write error"
group dcr:0x0034++0x00
line.long 0x00 "P3P4BI0_BESR1,PLB3 to PLB4 Bridge Error Status Register 1 Master Devices 4,5,6,7"
bitfld.long 0x00 22.--23. " SSET5 ,Secondary PLB Bus Slave Error Type for master 5" "-,Timeout error,Data error,Reserved"
eventfld.long 0x00 21. "  R/W5 ,Read write status master 5" "Write,Read"
eventfld.long 0x00 20. "  FLK5 ,P3P4BI0_BESR field lock master 5" "-,Locked"
eventfld.long 0x00 19. "  ALK5 ,P3P4BI0_BEAR address lock master 5" "-,Locked"
eventfld.long 0x00 18. "  WIRQ5 ,Write Error Interrupt master 5" "-,Error"
bitfld.long 0x00 16.--17. "  PAR5 ,Parity Error Type master 5" "-,Read error,Address error,Write error"
group dcr:0x0036++0x00
line.long 0x00 "P3P4BI0_CFG,PLB3 to PLB4 Bridge Configuration Register"
bitfld.long 0x00 31. " SSPS  ,Slave side primary/secondary priority" "Secondary,Primary"
bitfld.long 0x00 29.--30. "  FIFOE ,FIFO Enablement" "-,One level deep,Two levels deep,Reserved"
bitfld.long 0x00 28. "  SRE   ,Secondary Read Enablement" "-,Enabled"
textline "                        "
bitfld.long 0x00 27. " SWE   ,Secondary Write Enablement" "-,Enabled"
bitfld.long 0x00 26. "    PBASS ,PLB Bus Architecture for Slave Side" "3.x PLB,4.x PLB"
bitfld.long 0x00 25. "          PBAMS ,PLB Bus Architecture for Master Side" "3.x PLB,4.x PLB"
textline "                        "
bitfld.long 0x00 24. " ER    ,Enable Rearbitration" "-,Enabled"
bitfld.long 0x00 22.--23. "    PRI   ,PLB Priority Bits" "Lowest,Next Highest,Next Highest,Highest"
bitfld.long 0x00 21. "     PE    ,Parity Enable" "-,Enabled"
textline "                        "
bitfld.long 0x00 20. " FI    ,Flush Interrupt Enable" "-,Enabled"
bitfld.long 0x00 17.--19. "    FIID  ,Flush Interrupt ID" "0,1,2,3,4,5,6,7"
group dcr:0x0037++0x00
line.long 0x00 "P3P4BI0_PICR,PLB3 to PLB4 Bridge Priority Incrementation Counter Register"
bitfld.long 0x00 31. " PICE  ,Priority Incrementation Counter Enable" "-,Enabled"
bitfld.long 0x00 26.--30. "    IPICV ,Initial Priority Incrementation Counter Value" "8,16,24,32,40,48,56,64,72,80,88,96,104,112,120,128,136,144,152,160,168,176,184,192,200,208,216,224,232,240,248,256"
group dcr:0x0038++0x00
line.long 0x00 "P3P4BI0_PEIR,PLB3 to PLB4 Bridge Parity Error Interrupt Register"
bitfld.long 0x00 31. " ADRPE ,A Bus Parity Error Interrupt" "-,Error"
bitfld.long 0x00 30. "      RDPE  ,Read Data Bus Parity Error Interrupt" "-,Error"
group dcr:0x003A++0x00
line.long 0x00 "P3P4BI0_REVID,PLB3 to PLB4 Bridge Revision ID Register"
hexmask.long.word 0x00 8.--19. 1. " RN    ,Revision number"
hexmask.long.byte 0x00 0.--7. 1. "       BRN   ,Branch revision number"
width 0x0B
;PLB3 Arbiter
width 14.
rgroup dcr:0x072++0x00 "PLB3 Arbiter Registers"
line.long 0x00 "PLB3A0_REVID,PLB3 Arbiter 0 Revision ID Regisgter"
hexmask.long.word 0x00 8.--19. 1. " RN   ,Revision number"
hexmask.long.byte 0x00 0.--7. 1. "   BRN  ,Branch revision number"
group dcr:0x074++0x00
line.long 0x00 "PLB3A0_BESR,PLB3 Error Status Register"
eventfld.long 0x00 31. " PTE0 ,Master 0 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 30. "  R/W0 ,Master 0 Read/Write Status" "Write error,Read error"
eventfld.long 0x00 29. "  FLK0 ,Master 0 PLB3A0_BESR Field Lock" "-,Locked"
eventfld.long 0x00 28. "  ALK0 ,Master 0 PLB3A0_BEAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 23. " PTE2 ,Master 2 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 22. "  R/W2 ,Master 2 Read/Write Status" "Write error,Read error"
eventfld.long 0x00 21. "  FLK2 ,Master 2 PLB3A0_BESR Field Lock" "-,Locked"
eventfld.long 0x00 20. "  ALK2 ,Master 2 PLB3A0_BEAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 19. " PTE3 ,Master 3 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 18. "  R/W3 ,Master 3 Read/Write Status" "Write error,Read error"
eventfld.long 0x00 17. "  FLK3 ,Master 3 PLB3A0_BESR Field Lock" "-,Locked"
eventfld.long 0x00 16. "  ALK3 ,Master 3 PLB3A0_BEAR Address Lock" "-,Locked"
textline "                       "
eventfld.long 0x00 11. " PTE5 ,Master 5 PLB Timeout Error Status" "-,Error"
eventfld.long 0x00 10. "  R/W5 ,Master 5 Read/Write Status" "Write error,Read error"
eventfld.long 0x00 9. "  FLK5 ,Master 5 PLB3A0_BESR Field Lock" "-,Locked"
eventfld.long 0x00 8. "  ALK5 ,Master 5 PLB3A0_BEAR Address Lock" "-,Locked"
rgroup dcr:0x076++0x00
line.long 0x00 "PLB3A0_BEAR,PLB3 Error Address Register"
group dcr:0x077++0x00
line.long 0x00 "PLB3A0_ACR,PLB3 Arbiter Control Register"
bitfld.long 0x00 31. " PPM ,PLB Priority Mode" "Fixed,Fair"
bitfld.long 0x00 28.--30. "  PPO ,PLB Priority Masters Order" "0-1-2-3-4-5,1-2-3-4-5-0,2-3-4-5-0-1,3-4-5-0-1-2,4-5-0-1-2-3,5-0-1-2-3-4,Reserved,Reserved"
bitfld.long 0x00 27. "  HBU ,High Bus Utilization" "-,Enabled"
width 0x0B
;PLB3 to OPB Bridge
width 17.
group dcr:0x0090++0x00 "PLB3 to OPB Bridge Registers"
line.long 0x00 "PLB32OPB0_BESR0,PLB3 to OPB Bridge Error Status Register 0"
bitfld.long 0x00 30.--31. " PTE0 ,PLB Timeout Error Status Master 0" "-,Timeout error,Slave error,Reserved"
eventfld.long 0x00 29. "  R/W0 ,Read Write Status Master 0" "Write,Read"
textline "                          "
bitfld.long 0x00 20.--21. " PTE2 ,PLB Timeout Error Status Master 0" "-,Timeout error,Slave error,Reserved"
eventfld.long 0x00 19. "  R/W2 ,Read Write Status Master 2" "Write,Read"
eventfld.long 0x00 18. "  FLK2 ,PLB32OPB0_BESR0 Field Lock Master 2" "-,Locked"
eventfld.long 0x00 17. "  ALK2 ,PLB32OPB0_BEAR Address Lock Master 2" "-,Locked"
textline "                          "
bitfld.long 0x00 15.--16. " PTE3 ,PLB Timeout Error Status Master 0" "-,Timeout error,Slave error,Reserved"
eventfld.long 0x00 14. "  R/W3 ,Read Write Status Master 3" "Write,Read"
rgroup dcr:0x0092++0x00
line.long 0x00 "PLB32OPB0_BEAR,PLB3 to OPB Bridge Error Address Register"
rgroup dcr:0x0093++0x00
line.long 0x00 "PLB32OPB0_REVID,PLB3 to OPB Revision ID Register"
bitfld.long 0x00 0.--3. " RID  ,This value is the revision level for PLB32OPB0" "0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15"
group dcr:0x0094++0x00
line.long 0x00 "PLB32OPB0_BESR1,PLB3 to OPB Bridge Error Status Register 1"
bitfld.long 0x00 25.--26. " PTE5 ,PLB3 Timeout Error Status Master 5" "-,Timeout error,Slave error,Reserved"
eventfld.long 0x00 24. "  R/W5 ,Read/Write Status Master 5" "Write error,Read error"
width 0x0B
width 10.
base ANC:0x1:0xEF600A00
group 0x00++0x01 "OPB Arbiter Registers"
line.byte 0x00 "OPBA0_PR,OPB Arbiter Priority Register"
bitfld.byte 0x00 6.--7. " HPM ,High Priority Master ID" "M0_request / OPB_M0Grant,M1_request / OPB_M1GrantReserved,M2_request / OPB_M2GrantReserved,M3_request / OPB_M3GrantReserved"
textline "               "
bitfld.byte 0x00 4.--5. " MHP ,Medium High Priority Master ID" "M0_request / OPB_M0Grant,M1_request / OPB_M1Grant,M2_request / OPB_M2Grant,M3_request / OPB_M3Grant"   
line.byte 0x01 "OPBA0_CR,OPB Arbiter Control Register"
bitfld.byte 0x01 7. " DPE ,Dynamic Priority Enable" "-,Enabled"
textline "               "
bitfld.byte 0x01 6. " PEN ,Park Enable" "-,Enabled"
textline "               "
bitfld.byte 0x01 5. " PMN ,Park on Master" "Last,-"
textline "               "
bitfld.byte 0x01 3.--4. " PID ,Parked Master ID" "M0_request / OPB_M0Grant,M1_request / OPB_M1GrantReserved,M2_request / OPB_M2Grant,M3_request / OPB_M3GrantReserved"

tree.end
endif
sif ((cpu()=="PPC440GX")||(cpu()=="PPC440GP")||(cpu()=="PPC440GR")||(cpu()=="PPC440EP"))
tree "PPM (PLB Performance Monitor)"
;PLB Performance Monitor
width 14.
rgroup dcr:0x0017++0x0
saveout dcr:0x0016 %l 0x0000
line.long 0x00 "PPM0_ISR,Interrupt Status Register 0"
bitfld.long 0x00 31. " MC0  ,Master Counter 0 Interrupt Status" "-,Occurred"
bitfld.long 0x00 30. "  MC1 ,Master Counter 1 Interrupt Status" "-,Occurred"
bitfld.long 0x00 29. "  MC2 ,Master Counter 2 Interrupt Status" "-,Occurred"
textline "                       "
bitfld.long 0x00 28. " MC3  ,Master Counter 3 Interrupt Status" "-,Occurred"
bitfld.long 0x00 27. "  SC0 ,Slave Counter 0 Interrupt Status" "-,Occurred"
bitfld.long 0x00 26. "  SC1 ,Slave Counter 1 Interrupt Status" "-,Occurred"
textline "                       "
bitfld.long 0x00 25. " SC2  ,Slave Counter 2 Interrupt Status" "-,Occurred"
bitfld.long 0x00 24. "  SC3 ,Slave Counter 3 Interrupt Status" "-,Occurred"
bitfld.long 0x00 23. "  GC0 ,Generic Counter 0 Interrupt Status" "-,Occurred"
textline "                       "
bitfld.long 0x00 22. " GC1  ,Generic Counter 1 Interrupt Status" "-,Occurred"
bitfld.long 0x00 21. "  GC2 ,Generic Counter 2 Interrupt Status" "-,Occurred"
bitfld.long 0x00 20. "  GC3 ,Generic Counter 3 Interrupt Status" "-,Occurred"
textline "                       "
bitfld.long 0x00 19. " DC0  ,Duration Counter 0 Interrupt Status" "-,Occurred"
bitfld.long 0x00 18. "  DC1 ,Duration Counter 1 Interrupt Status" "-,Occurred"
bitfld.long 0x00 17. "  CC  ,Cycle Counter Interrupt Status" "-,Occurred"
sif ((cpu()=="PPC440GX")||(cpu()=="PPC440GR"))
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0002
line.long 0x00 "PPM0_CR,Control Register 0"
bitfld.long 0x00 31. " EMC0 ,Enable Master Counter 0" "-,Enabled"
bitfld.long 0x00 30. "   EMC1 ,Enable Master Counter 1" "-,Enabled"
bitfld.long 0x00 29. "  EMC2 ,Enable Master Counter 2" "-,Enabled"
textline "                       "
bitfld.long 0x00 28. " EMC3 ,Enable Master Counter 3" "-,Enabled"
bitfld.long 0x00 23. "   ESC0 ,Enable Slave Counter 0" "-,Enabled"
bitfld.long 0x00 22. "  ESC1 ,Enable Slave Counter 1" "-,Enabled"
textline "                       "
bitfld.long 0x00 21. " ESC2 ,Enable Slave Counter 2" "-,Enabled"
bitfld.long 0x00 20. "   ESC3 ,Enable Slave Counter 3" "-,Enabled"
bitfld.long 0x00 16. "  SOS  ,Synchout Selector" "Driven,Asserted"
textline "                       "
bitfld.long 0x00 15. " EGC0 ,Enable Generic Counter 0" "-,Enabled"
bitfld.long 0x00 14. "   EGC1 ,Enable Generic Counter 1" "-,Enabled"
bitfld.long 0x00 13. "  EGC2 ,Enable Generic Counter 2" "-,Enabled"
textline "                       "
bitfld.long 0x00 12. " EGC3 ,Enable Generic Counter 3" "-,Enabled"
bitfld.long 0x00 11. "   EDC0 ,Enable Duration Counter Set 0" "-,Enabled"
bitfld.long 0x00 10. "  EDC1 ,Enable Duration Counter Set 1" "-,Enabled"
textline "                       "
bitfld.long 0x00 8.--9. " PME  ,Power Mode Enable" "Normal,Low,Ultra low,Reserved"
bitfld.long 0x00 7. " RDC0 ,Reset Event Counters 0" "-,Reset"
bitfld.long 0x00 6. "    RDC1 ,Reset Event Counters 1" "-,Reset"
textline "                       "
bitfld.long 0x00 5. " SYNC ,SyncIn Enable" "-,Enabled"
bitfld.long 0x00 4. "   EI   ,Enable Interrupts " "-,Enabled"
bitfld.long 0x00 3. "  SSD  ,Start/Stop Duration Events" "Stopped,Started"
textline "                       "
bitfld.long 0x00 2. " SSC  ,Start/Stop Cycle Counter" "Stopped,Started"
bitfld.long 0x00 1. "   RCC  ,Reset Cycle Counters" "-,Reset"
bitfld.long 0x00 0. "    REC  ,Reset Event Counters" "-,Reset"
else
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0002
line.long 0x00 "PPM0_CR,Control Register 0"
bitfld.long 0x00 31. " EMC0 ,Enable Master Counter 0" "-,Enabled"
bitfld.long 0x00 30. "  EMC1 ,Enable Master Counter 1" "-,Enabled"
bitfld.long 0x00 29. "  EMC2 ,Enable Master Counter 2" "-,Enabled"
textline "                       "
bitfld.long 0x00 28. " EMC3 ,Enable Master Counter 3" "-,Enabled"
bitfld.long 0x00 23. "  ESC0 ,Enable Slave Counter 0" "-,Enabled"
bitfld.long 0x00 22. "  ESC1 ,Enable Slave Counter 1" "-,Enabled"
textline "                       "
bitfld.long 0x00 21. " ESC2 ,Enable Slave Counter 2" "-,Enabled"
bitfld.long 0x00 20. "  ESC3 ,Enable Slave Counter 3" "-,Enabled"
bitfld.long 0x00 15. "  EGC0 ,Enable Generic Counter 0" "-,Enabled"
textline "                       "
bitfld.long 0x00 14. " EGC1 ,Enable Generic Counter 1" "-,Enabled"
bitfld.long 0x00 13. "  EGC2 ,Enable Generic Counter 2" "-,Enabled"
bitfld.long 0x00 12. "  EGC3 ,Enable Generic Counter 3" "-,Enabled"
textline "                       "
bitfld.long 0x00 11. " EDC0 ,Enable Duration Counter Set 0" "-,Enabled"
bitfld.long 0x00 10. "  EDC1 ,Enable Duration Counter Set 1" "-,Enabled"
bitfld.long 0x00 8.--9. "  PME  ,Power Mode Enable" "Normal,Low,Ultra low,Reserved"
textline "                       "
bitfld.long 0x00 7. " RDC0 ,Reset Event Counters 0" "-,Reset"
bitfld.long 0x00 6. "    RDC1 ,Reset Event Counters 1" "-,Reset"
bitfld.long 0x00 5. "    SYNC ,SyncIn Enable" "-,Enabled"
textline "                       "
bitfld.long 0x00 4. " EI   ,Enable Interrupts " "-,Enabled"
bitfld.long 0x00 3. "  SSD  ,Start/Stop Duration Events" "Stopped,Started"
bitfld.long 0x00 2. "  SSC  ,Start/Stop Cycle Counter" "Stopped,Started"
textline "                       "
bitfld.long 0x00 1. " RCC  ,Reset Cycle Counters" "-,Reset"
bitfld.long 0x00 0. "    REC  ,Reset Event Counters" "-,Reset"
endif
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0003
line.long 0x00 "PPM0_CCR,Cycle Counter Register 0"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0004
line.long 0x00 "PPM0_UAR,Upper Address Register 0"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0005
line.long 0x00 "PPM0_LAR,Lower Address Register 0"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0006
line.long 0x00 "PPM0_UAMR,Upper Address Mask Register 0"
bitfld.long 0x00 31. " UAM[63:32] ,Upper Address Bit-63 Mask" "0,1"
bitfld.long 0x00 30. ",Upper Address Bit-62 Mask"  "0,1"
bitfld.long 0x00 29. ",Upper Address Bit-61 Mask"  "0,1"
bitfld.long 0x00 28. ",Upper Address Bit-60 Mask"  "0,1"
bitfld.long 0x00 27. ",Upper Address Bit-59 Mask"  "0,1"
bitfld.long 0x00 26. ",Upper Address Bit-58 Mask"  "0,1"
bitfld.long 0x00 25. ",Upper Address Bit-57 Mask"  "0,1"
bitfld.long 0x00 24. ",Upper Address Bit-56 Mask"  "0,1"
bitfld.long 0x00 23. ",Upper Address Bit-55 Mask"  "0,1"
bitfld.long 0x00 22. ",Upper Address Bit-54 Mask"  "0,1"
bitfld.long 0x00 21. ",Upper Address Bit-53 Mask"  "0,1"
bitfld.long 0x00 20. ",Upper Address Bit-52 Mask"  "0,1"
bitfld.long 0x00 19. ",Upper Address Bit-51 Mask"  "0,1"
bitfld.long 0x00 18. ",Upper Address Bit-50 Mask"  "0,1"
bitfld.long 0x00 17. ",Upper Address Bit-49 Mask"  "0,1"
bitfld.long 0x00 16. ",Upper Address Bit-48 Mask"  "0,1"
bitfld.long 0x00 15. ",Upper Address Bit-47 Mask"  "0,1"
bitfld.long 0x00 14. ",Upper Address Bit-46 Mask"  "0,1"
bitfld.long 0x00 13. ",Upper Address Bit-45 Mask"  "0,1"
bitfld.long 0x00 12. ",Upper Address Bit-44 Mask"  "0,1"
bitfld.long 0x00 11. ",Upper Address Bit-43 Mask"  "0,1"
bitfld.long 0x00 10. ",Upper Address Bit-42 Mask"  "0,1"
bitfld.long 0x00 9. ",Upper Address Bit-41 Mask"  "0,1"
bitfld.long 0x00 8. ",Upper Address Bit-40 Mask"  "0,1"
bitfld.long 0x00 7. ",Upper Address Bit-39 Mask"  "0,1"
bitfld.long 0x00 6. ",Upper Address Bit-38 Mask"  "0,1"
bitfld.long 0x00 5. ",Upper Address Bit-37 Mask"  "0,1"
bitfld.long 0x00 4. ",Upper Address Bit-36 Mask"  "0,1"
bitfld.long 0x00 3. ",Upper Address Bit-35 Mask"  "0,1"
bitfld.long 0x00 2. ",Upper Address Bit-34 Mask"  "0,1"
bitfld.long 0x00 1. ",Upper Address Bit-33 Mask"  "0,1"
bitfld.long 0x00 0. ",Upper Address Bit-32 Mask"  "0,1"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0007
line.long 0x00 "PPM0_LAMR,Lower Address Mask Register 0"
bitfld.long 0x00 31. " LAM[31:0]  ,Lower Address Bit-31 Mask" "0,1"
bitfld.long 0x00 30. ",Lower Address Bit-30 Mask"  "0,1"
bitfld.long 0x00 29. ",Lower Address Bit-29 Mask"  "0,1"
bitfld.long 0x00 28. ",Lower Address Bit-28 Mask"  "0,1"
bitfld.long 0x00 27. ",Lower Address Bit-27 Mask"  "0,1"
bitfld.long 0x00 26. ",Lower Address Bit-26 Mask"  "0,1"
bitfld.long 0x00 25. ",Lower Address Bit-25 Mask"  "0,1"
bitfld.long 0x00 24. ",Lower Address Bit-24 Mask"  "0,1"
bitfld.long 0x00 23. ",Lower Address Bit-23 Mask"  "0,1"
bitfld.long 0x00 22. ",Lower Address Bit-22 Mask"  "0,1"
bitfld.long 0x00 21. ",Lower Address Bit-21 Mask"  "0,1"
bitfld.long 0x00 20. ",Lower Address Bit-20 Mask"  "0,1"
bitfld.long 0x00 19. ",Lower Address Bit-19 Mask"  "0,1"
bitfld.long 0x00 18. ",Lower Address Bit-18 Mask"  "0,1"
bitfld.long 0x00 17. ",Lower Address Bit-17 Mask"  "0,1"
bitfld.long 0x00 16. ",Lower Address Bit-16 Mask"  "0,1"
bitfld.long 0x00 15. ",Lower Address Bit-15 Mask"  "0,1"
bitfld.long 0x00 14. ",Lower Address Bit-14 Mask"  "0,1"
bitfld.long 0x00 13. ",Lower Address Bit-13 Mask"  "0,1"
bitfld.long 0x00 12. ",Lower Address Bit-12 Mask"  "0,1"
bitfld.long 0x00 11. ",Lower Address Bit-11 Mask"  "0,1"
bitfld.long 0x00 10. ",Lower Address Bit-10 Mask"  "0,1"
bitfld.long 0x00 9. ",Lower Address Bit-9 Mask"  "0,1"
bitfld.long 0x00 8. ",Lower Address Bit-8 Mask"  "0,1"
bitfld.long 0x00 7. ",Lower Address Bit-7 Mask"  "0,1"
bitfld.long 0x00 6. ",Lower Address Bit-6 Mask"  "0,1"
bitfld.long 0x00 5. ",Lower Address Bit-5 Mask"  "0,1"
bitfld.long 0x00 4. ",Lower Address Bit-4 Mask"  "0,1"
bitfld.long 0x00 3. ",Lower Address Bit-3 Mask"  "0,1"
bitfld.long 0x00 2. ",Lower Address Bit-2 Mask"  "0,1"
bitfld.long 0x00 1. ",Lower Address Bit-1 Mask"  "0,1"
bitfld.long 0x00 0. ",Lower Address Bit-0 Mask"  "0,1"
rgroup dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0008
line.long 0x00 "PPM0_RIDR,Revision ID Register 0"
width 14.
sif (cpu()=="PPC440GX")
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0009
line.long 0x00 "PPM0_MCSR0,Master Event Counter Selection Register 0 0"
bitfld.long 0x00 29.--31. " MSEL ,Master Selection" "ICU Read,DCU Read,DCU Write,PCIX,IMU,MAL,DMA,OPB to PLB"
bitfld.long 0x00 24.--27. "  ESEL ,Master Event Selection" "PLB_MnAddrAck,PLB_MnRdDAck,PLB_MnWrDAck,PLB_MnRdErr,PLB_MnWrErr,PLB_MnRequest,PLB_MnAbort,Reserved,Mn_WrBurst,Mn_RdBurst,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 21.--22. "       PM  ,Priority Matching" "Lowest,Low,High,Highest"
textline "                       "
bitfld.long 0x00 20. " EPM  ,Enable Priority Matching" "-,Enabled"
bitfld.long 0x00 16.--19. "     SM   ,PLB Transaction Size Matching" "One to 4 bytes,4-word line,8-word line,16-word line,Reserved,Reserved,Reserved,Reserved,Burst-bytes,Burst-half words,Burst-words,Burst-double words,Burst-quad words,Burst-octal words,Reserved,Reserved"
bitfld.long 0x00 15. "  ESM ,Enable Size Matching" "-,Enabled"
textline "                       "
bitfld.long 0x00 14. " EAM  ,Enable Address Matching" "-,Enabled"
bitfld.long 0x00 13. "     RWM  ,RnW Matching" "Write,Read"
bitfld.long 0x00 12. "               ERM ,Enable RnW Matching" "-,Enabled"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x000A
line.long 0x00 "PPM0_MCSR1,Master Event Counter Selection Register 0 1"
bitfld.long 0x00 29.--31. " MSEL ,Master Selection" "ICU Read,DCU Read,DCU Write,PCIX,IMU,MAL,DMA,OPB to PLB"
bitfld.long 0x00 24.--27. "  ESEL ,Master Event Selection" "PLB_MnAddrAck,PLB_MnRdDAck,PLB_MnWrDAck,PLB_MnRdErr,PLB_MnWrErr,PLB_MnRequest,PLB_MnAbort,Reserved,Mn_WrBurst,Mn_RdBurst,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 21.--22. "       PM  ,Priority Matching" "Lowest,Low,High,Highest"
textline "                       "
bitfld.long 0x00 20. " EPM  ,Enable Priority Matching" "-,Enabled"
bitfld.long 0x00 16.--19. "     SM   ,PLB Transaction Size Matching" "One to 4 bytes,4-word line,8-word line,16-word line,Reserved,Reserved,Reserved,Reserved,Burst-bytes,Burst-half words,Burst-words,Burst-double words,Burst-quad words,Burst-octal words,Reserved,Reserved"
bitfld.long 0x00 15. "  ESM ,Enable Size Matching" "-,Enabled"
textline "                       "
bitfld.long 0x00 14. " EAM  ,Enable Address Matching" "-,Enabled"
bitfld.long 0x00 13. "     RWM  ,RnW Matching" "Write,Read"
bitfld.long 0x00 12. "               ERM ,Enable RnW Matching" "-,Enabled"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x000B
line.long 0x00 "PPM0_MCSR2,Master Event Counter Selection Register 0 2"
bitfld.long 0x00 29.--31. " MSEL ,Master Selection" "ICU Read,DCU Read,DCU Write,PCIX,IMU,MAL,DMA,OPB to PLB"
bitfld.long 0x00 24.--27. "  ESEL ,Master Event Selection" "PLB_MnAddrAck,PLB_MnRdDAck,PLB_MnWrDAck,PLB_MnRdErr,PLB_MnWrErr,PLB_MnRequest,PLB_MnAbort,Reserved,Mn_WrBurst,Mn_RdBurst,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 21.--22. "       PM  ,Priority Matching" "Lowest,Low,High,Highest"
textline "                       "
bitfld.long 0x00 20. " EPM  ,Enable Priority Matching" "-,Enabled"
bitfld.long 0x00 16.--19. "     SM   ,PLB Transaction Size Matching" "One to 4 bytes,4-word line,8-word line,16-word line,Reserved,Reserved,Reserved,Reserved,Burst-bytes,Burst-half words,Burst-words,Burst-double words,Burst-quad words,Burst-octal words,Reserved,Reserved"
bitfld.long 0x00 15. "  ESM ,Enable Size Matching" "-,Enabled"
textline "                       "
bitfld.long 0x00 14. " EAM  ,Enable Address Matching" "-,Enabled"
bitfld.long 0x00 13. "     RWM  ,RnW Matching" "Write,Read"
bitfld.long 0x00 12. "               ERM ,Enable RnW Matching" "-,Enabled"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x000C
line.long 0x00 "PPM0_MCSR3,Master Event Counter Selection Register 0 3"
bitfld.long 0x00 29.--31. " MSEL ,Master Selection" "ICU Read,DCU Read,DCU Write,PCIX,IMU,MAL,DMA,OPB to PLB"
bitfld.long 0x00 24.--27. "  ESEL ,Master Event Selection" "PLB_MnAddrAck,PLB_MnRdDAck,PLB_MnWrDAck,PLB_MnRdErr,PLB_MnWrErr,PLB_MnRequest,PLB_MnAbort,Reserved,Mn_WrBurst,Mn_RdBurst,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 21.--22. "       PM  ,Priority Matching" "Lowest,Low,High,Highest"
textline "                       "
bitfld.long 0x00 20. " EPM  ,Enable Priority Matching" "-,Enabled"
bitfld.long 0x00 16.--19. "     SM   ,PLB Transaction Size Matching" "One to 4 bytes,4-word line,8-word line,16-word line,Reserved,Reserved,Reserved,Reserved,Burst-bytes,Burst-half words,Burst-words,Burst-double words,Burst-quad words,Burst-octal words,Reserved,Reserved"
bitfld.long 0x00 15. "  ESM ,Enable Size Matching" "-,Enabled"
textline "                       "
bitfld.long 0x00 14. " EAM  ,Enable Address Matching" "-,Enabled"
bitfld.long 0x00 13. "     RWM  ,RnW Matching" "Write,Read"
bitfld.long 0x00 12. "               ERM ,Enable RnW Matching" "-,Enabled"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0011
line.long 0x00 "PPM0_SCSR0,Slave Event Counter Selection Register 0 0"
bitfld.long 0x00 29.--31. " SSEL ,Slave Selection" "DDR_SDRAM,PCIX,SRAM,IMU,Reserved,PLB to OPB,Reserved,Reserved"
bitfld.long 0x00 24.--27. "  ESEL ,Slave Event Selection" "PLB_SlnAddrAck,PLB_SlnRdDAck,PLB_SlnWrDAck,PLB_SlnRearbitrate,Sln_Wait,Sln_WrComp,Sln_RdComp,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 20.--22. "  MIM ,Master ID Matching" "ICU Read,DCU Read,DCU Write,PCIX,IMU,MAL,DMA,OPB to PLB"
textline "                       "
bitfld.long 0x00 19. " EMIM ,Enable Master ID Matching" "-,Enabled"
bitfld.long 0x00 18. "     RWM  ,RnW Matching" "Write,Read"
bitfld.long 0x00 17. "               ERM ,Enable RnW Matching" "-,Enabled"
textline "                       "
bitfld.long 0x00 16. " AVM  ,Address Valid Matching" "PAValid,SAValid"
bitfld.long 0x00 15. "     EVM  ,Enable Address Valid Matching" "-,Enabled"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0012
line.long 0x00 "PPM0_SCSR1,Slave Event Counter Selection Register 0 1"
bitfld.long 0x00 29.--31. " SSEL ,Slave Selection" "DDR_SDRAM,PCIX,SRAM,IMU,Reserved,PLB to OPB,Reserved,Reserved"
bitfld.long 0x00 24.--27. "  ESEL ,Slave Event Selection" "PLB_SlnAddrAck,PLB_SlnRdDAck,PLB_SlnWrDAck,PLB_SlnRearbitrate,Sln_Wait,Sln_WrComp,Sln_RdComp,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 20.--22. "  MIM ,Master ID Matching" "ICU Read,DCU Read,DCU Write,PCIX,IMU,MAL,DMA,OPB to PLB"
textline "                       "
bitfld.long 0x00 19. " EMIM ,Enable Master ID Matching" "-,Enabled"
bitfld.long 0x00 18. "     RWM  ,RnW Matching" "Write,Read"
bitfld.long 0x00 17. "               ERM ,Enable RnW Matching" "-,Enabled"
textline "                       "
bitfld.long 0x00 16. " AVM  ,Address Valid Matching" "PAValid,SAValid"
bitfld.long 0x00 15. "     EVM  ,Enable Address Valid Matching" "-,Enabled"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0013
line.long 0x00 "PPM0_SCSR2,Slave Event Counter Selection Register 0 2"
bitfld.long 0x00 29.--31. " SSEL ,Slave Selection" "DDR_SDRAM,PCIX,SRAM,IMU,Reserved,PLB to OPB,Reserved,Reserved"
bitfld.long 0x00 24.--27. "  ESEL ,Slave Event Selection" "PLB_SlnAddrAck,PLB_SlnRdDAck,PLB_SlnWrDAck,PLB_SlnRearbitrate,Sln_Wait,Sln_WrComp,Sln_RdComp,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 20.--22. "  MIM ,Master ID Matching" "ICU Read,DCU Read,DCU Write,PCIX,IMU,MAL,DMA,OPB to PLB"
textline "                       "
bitfld.long 0x00 19. " EMIM ,Enable Master ID Matching" "-,Enabled"
bitfld.long 0x00 18. "     RWM  ,RnW Matching" "Write,Read"
bitfld.long 0x00 17. "               ERM ,Enable RnW Matching" "-,Enabled"
textline "                       "
bitfld.long 0x00 16. " AVM  ,Address Valid Matching" "PAValid,SAValid"
bitfld.long 0x00 15. "     EVM  ,Enable Address Valid Matching" "-,Enabled"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0014
line.long 0x00 "PPM0_SCSR3,Slave Event Counter Selection Register 0 3"
bitfld.long 0x00 29.--31. " SSEL ,Slave Selection" "DDR_SDRAM,PCIX,SRAM,IMU,Reserved,PLB to OPB,Reserved,Reserved"
bitfld.long 0x00 24.--27. "  ESEL ,Slave Event Selection" "PLB_SlnAddrAck,PLB_SlnRdDAck,PLB_SlnWrDAck,PLB_SlnRearbitrate,Sln_Wait,Sln_WrComp,Sln_RdComp,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 20.--22. "  MIM ,Master ID Matching" "ICU Read,DCU Read,DCU Write,PCIX,IMU,MAL,DMA,OPB to PLB"
textline "                       "
bitfld.long 0x00 19. " EMIM ,Enable Master ID Matching" "-,Enabled"
bitfld.long 0x00 18. "     RWM  ,RnW Matching" "Write,Read"
bitfld.long 0x00 17. "               ERM ,Enable RnW Matching" "-,Enabled"
textline "                       "
bitfld.long 0x00 16. " AVM  ,Address Valid Matching" "PAValid,SAValid"
bitfld.long 0x00 15. "     EVM  ,Enable Address Valid Matching" "-,Enabled"
else
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0009
line.long 0x00 "PPM0_MCSR0,Master Event Counter Selection Register 0 0"
bitfld.long 0x00 29.--31. " MSEL ,Master Selection" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 24.--27. "        ESEL ,Master Event Selection" "PLB_MnAddrAck,PLB_MnRdDAck,PLB_MnWrDAck,PLB_MnRdErr,PLB_MnWrErr,PLB_MnRequest,PLB_MnAbort,PLB_MnBuslock,Mn_WrBurst,Mn_RdBurst,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 21.--22. "       PM  ,Priority Matching" "Lowest,Low,High,Highest"
textline "                       "
bitfld.long 0x00 20. " EPM  ,Enable Priority Matching" "-,Enabled"
bitfld.long 0x00 16.--19. "  SM   ,PLB Transaction Size Matching" "One to 4 bytes,4-word line,8-word line,16-word line,Reserved,Reserved,Reserved,Reserved,Burst-bytes,Burst-half words,Burst-words,Burst-double words,Burst-quad words,Burst-octal words,Reserved,Reserved"
bitfld.long 0x00 15. "  ESM ,Enable Size Matching" "-,Enabled"
textline "                       "
bitfld.long 0x00 14. " EAM  ,Enable Address Matching" "-,Enabled"
bitfld.long 0x00 13. "  RWM  ,RnW Matching" "Write,Read"
bitfld.long 0x00 12. "               ERM ,Enable RnW Matching" "-,Enabled"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x000A
line.long 0x00 "PPM0_MCSR1,Master Event Counter Selection Register 0 1"
bitfld.long 0x00 29.--31. " MSEL ,Master Selection" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 24.--27. "        ESEL ,Master Event Selection" "PLB_MnAddrAck,PLB_MnRdDAck,PLB_MnWrDAck,PLB_MnRdErr,PLB_MnWrErr,PLB_MnRequest,PLB_MnAbort,PLB_MnBuslock,Mn_WrBurst,Mn_RdBurst,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 21.--22. "       PM  ,Priority Matching" "Lowest,Low,High,Highest"
textline "                       "
bitfld.long 0x00 20. " EPM  ,Enable Priority Matching" "-,Enabled"
bitfld.long 0x00 16.--19. "  SM   ,PLB Transaction Size Matching" "One to 4 bytes,4-word line,8-word line,16-word line,Reserved,Reserved,Reserved,Reserved,Burst-bytes,Burst-half words,Burst-words,Burst-double words,Burst-quad words,Burst-octal words,Reserved,Reserved"
bitfld.long 0x00 15. "  ESM ,Enable Size Matching" "-,Enabled"
textline "                       "
bitfld.long 0x00 14. " EAM  ,Enable Address Matching" "-,Enabled"
bitfld.long 0x00 13. "  RWM  ,RnW Matching" "Write,Read"
bitfld.long 0x00 12. "               ERM ,Enable RnW Matching" "-,Enabled"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x000B
line.long 0x00 "PPM0_MCSR2,Master Event Counter Selection Register 0 2"
bitfld.long 0x00 29.--31. " MSEL ,Master Selection" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 24.--27. "        ESEL ,Master Event Selection" "PLB_MnAddrAck,PLB_MnRdDAck,PLB_MnWrDAck,PLB_MnRdErr,PLB_MnWrErr,PLB_MnRequest,PLB_MnAbort,PLB_MnBuslock,Mn_WrBurst,Mn_RdBurst,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 21.--22. "       PM  ,Priority Matching" "Lowest,Low,High,Highest"
textline "                       "
bitfld.long 0x00 20. " EPM  ,Enable Priority Matching" "-,Enabled"
bitfld.long 0x00 16.--19. "  SM   ,PLB Transaction Size Matching" "One to 4 bytes,4-word line,8-word line,16-word line,Reserved,Reserved,Reserved,Reserved,Burst-bytes,Burst-half words,Burst-words,Burst-double words,Burst-quad words,Burst-octal words,Reserved,Reserved"
bitfld.long 0x00 15. "  ESM ,Enable Size Matching" "-,Enabled"
textline "                       "
bitfld.long 0x00 14. " EAM  ,Enable Address Matching" "-,Enabled"
bitfld.long 0x00 13. "  RWM  ,RnW Matching" "Write,Read"
bitfld.long 0x00 12. "               ERM ,Enable RnW Matching" "-,Enabled"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x000C
line.long 0x00 "PPM0_MCSR3,Master Event Counter Selection Register 0 3"
bitfld.long 0x00 29.--31. " MSEL ,Master Selection" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 24.--27. "        ESEL ,Master Event Selection" "PLB_MnAddrAck,PLB_MnRdDAck,PLB_MnWrDAck,PLB_MnRdErr,PLB_MnWrErr,PLB_MnRequest,PLB_MnAbort,PLB_MnBuslock,Mn_WrBurst,Mn_RdBurst,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 21.--22. "       PM  ,Priority Matching" "Lowest,Low,High,Highest"
textline "                       "
bitfld.long 0x00 20. " EPM  ,Enable Priority Matching" "-,Enabled"
bitfld.long 0x00 16.--19. "  SM   ,PLB Transaction Size Matching" "One to 4 bytes,4-word line,8-word line,16-word line,Reserved,Reserved,Reserved,Reserved,Burst-bytes,Burst-half words,Burst-words,Burst-double words,Burst-quad words,Burst-octal words,Reserved,Reserved"
bitfld.long 0x00 15. "  ESM ,Enable Size Matching" "-,Enabled"
textline "                       "
bitfld.long 0x00 14. " EAM  ,Enable Address Matching" "-,Enabled"
bitfld.long 0x00 13. "  RWM  ,RnW Matching" "Write,Read"
bitfld.long 0x00 12. "               ERM ,Enable RnW Matching" "-,Enabled"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0011
line.long 0x00 "PPM0_SCSR0,Slave Event Counter Selection Register 0"
bitfld.long 0x00 29.--31. " SSEL ,Master Selection" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 24.--27. "        ESEL ,Master Event Selection" "PLB_SlnAddrAck,PLB_SlnRdDAck,PLB_SlnWrDAck,PLB_SlnRearbitrate,Sln_Wait,Sln_WrComp,Sln_RdComp,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 20.--22. "  MIM ,Master ID Matching" "0,1,2,3,4,5,6,7"
textline "                       "
bitfld.long 0x00 19. " EMIM ,Enable Master ID Matching" "-,Enabled"
bitfld.long 0x00 18. "  RWM  ,RnW Matching" "Write,Read"
bitfld.long 0x00 17. "               ERM ,Enable RnW Matching" "-,Enabled"
textline "                       "
bitfld.long 0x00 16. " AVM  ,Address Valid Matching" "PAValid,SAValid"
bitfld.long 0x00 15. "  EVM  ,Enable Address Valid Matching" "-,Enabled"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0012
line.long 0x00 "PPM0_SCSR1,Slave Event Counter Selection Register 1"
bitfld.long 0x00 29.--31. " SSEL ,Slave Selection" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 24.--27. "        ESEL ,Master Event Selection" "PLB_SlnAddrAck,PLB_SlnRdDAck,PLB_SlnWrDAck,PLB_SlnRearbitrate,Sln_Wait,Sln_WrComp,Sln_RdComp,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 20.--22. "  MIM ,Master ID Matching" "0,1,2,3,4,5,6,7"
textline "                       "
bitfld.long 0x00 19. " EMIM ,Enable Master ID Matching" "-,Enabled"
bitfld.long 0x00 18. "  RWM  ,RnW Matching" "Write,Read"
bitfld.long 0x00 17. "               ERM ,Enable RnW Matching" "-,Enabled"
textline "                       "
bitfld.long 0x00 16. " AVM  ,Address Valid Matching" "PAValid,SAValid"
bitfld.long 0x00 15. "  EVM  ,Enable Address Valid Matching" "-,Enabled"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0013
line.long 0x00 "PPM0_SCSR2,Slave Event Counter Selection Register 2"
bitfld.long 0x00 29.--31. " SSEL ,Master Selection" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 24.--27. "        ESEL ,Master Event Selection" "PLB_SlnAddrAck,PLB_SlnRdDAck,PLB_SlnWrDAck,PLB_SlnRearbitrate,Sln_Wait,Sln_WrComp,Sln_RdComp,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 20.--22. "  MIM ,Master ID Matching" "0,1,2,3,4,5,6,7"
textline "                       "
bitfld.long 0x00 19. " EMIM ,Enable Master ID Matching" "-,Enabled"
bitfld.long 0x00 18. "  RWM  ,RnW Matching" "Write,Read"
bitfld.long 0x00 17. "               ERM ,Enable RnW Matching" "-,Enabled"
textline "                       "
bitfld.long 0x00 16. " AVM  ,Address Valid Matching" "PAValid,SAValid"
bitfld.long 0x00 15. "  EVM  ,Enable Address Valid Matching" "-,Enabled"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0014
line.long 0x00 "PPM0_SCSR3,Slave Event Counter Selection Register 3"
bitfld.long 0x00 29.--31. " SSEL ,Master Selection" "0,1,2,3,4,5,6,7"
bitfld.long 0x00 24.--27. "        ESEL ,Master Event Selection" "PLB_SlnAddrAck,PLB_SlnRdDAck,PLB_SlnWrDAck,PLB_SlnRearbitrate,Sln_Wait,Sln_WrComp,Sln_RdComp,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
bitfld.long 0x00 20.--22. "  MIM ,Master ID Matching" "0,1,2,3,4,5,6,7"
textline "                       "
bitfld.long 0x00 19. " EMIM ,Enable Master ID Matching" "-,Enabled"
bitfld.long 0x00 18. "  RWM  ,RnW Matching" "Write,Read"
bitfld.long 0x00 17. "               ERM ,Enable RnW Matching" "-,Enabled"
textline "                       "
bitfld.long 0x00 16. " AVM  ,Address Valid Matching" "PAValid,SAValid"
bitfld.long 0x00 15. "  EVM  ,Enable Address Valid Matching" "-,Enabled"
endif
width 14.
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0019
line.long 0x00 "PPM0_GCSR0,Generic Event Counter Selection Register 0 0"
bitfld.long 0x00 28.--31. " GES  ,Generic Event Selection" "G0_input,G1_input,G2_input,G3_input,Write-pipeline-depth 1,Write-pipeline-depth 2,Read-pipeline-depth 1,Read-pipeline-depth 2,Read-pipeline-depth 3,Read-pipeline-depth 4,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x001A
line.long 0x00 "PPM0_GCSR1,Generic Event Counter Selection Register 0 1"
bitfld.long 0x00 28.--31. " GES  ,Generic Event Selection" "G0_input,G1_input,G2_input,G3_input,Write-pipeline-depth 1,Write-pipeline-depth 2,Read-pipeline-depth 1,Read-pipeline-depth 2,Read-pipeline-depth 3,Read-pipeline-depth 4,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x001B
line.long 0x00 "PPM0_GCSR2,Generic Event Counter Selection Register 0 2"
bitfld.long 0x00 28.--31. " GES  ,Generic Event Selection" "G0_input,G1_input,G2_input,G3_input,Write-pipeline-depth 1,Write-pipeline-depth 2,Read-pipeline-depth 1,Read-pipeline-depth 2,Read-pipeline-depth 3,Read-pipeline-depth 4,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x001C
line.long 0x00 "PPM0_GCSR3,Generic Event Counter Selection Register 0 3"
bitfld.long 0x00 28.--31. " GES  ,Generic Event Selection" "G0_input,G1_input,G2_input,G3_input,Write-pipeline-depth 1,Write-pipeline-depth 2,Read-pipeline-depth 1,Read-pipeline-depth 2,Read-pipeline-depth 3,Read-pipeline-depth 4,Reserved,Reserved,Reserved,Reserved,Reserved,Reserved"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x001D
line.long 0x00 "PPM0_MCR0,Master Event Counter Register 0 0"
hexmask.long 0x00 0.--23. 1. " MECV ,Master Event Counter Value"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x001E
line.long 0x00 "PPM0_MCR1,Master Event Counter Register 0 1"
hexmask.long 0x00 0.--23. 1. " MECV ,Master Event Counter Value"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x001F
line.long 0x00 "PPM0_MCR2,Master Event Counter Register 0 2"
hexmask.long 0x00 0.--23. 1. " MECV ,Master Event Counter Value"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0020
line.long 0x00 "PPM0_MCR3,Master Event Counter Register 0 3"
hexmask.long 0x00 0.--23. 1. " MECV ,Master Event Counter Value"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0025
line.long 0x00 "PPM0_SCR0,Slave Event Counter Register 0 0"
hexmask.long 0x00 0.--23. 1. " SECV ,Slave Event Counter Value"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0026
line.long 0x00 "PPM0_SCR1,Slave Event Counter Register 0 1"
hexmask.long 0x00 0.--23. 1. " SECV ,Slave Event Counter Value"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0027
line.long 0x00 "PPM0_SCR2,Slave Event Counter Register 0 2"
hexmask.long 0x00 0.--23. 1. " SECV ,Slave Event Counter Value"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0028
line.long 0x00 "PPM0_SCR3,Slave Event Counter Register 0 3"
hexmask.long 0x00 0.--23. 1. " SECV ,Slave Event Counter Value"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x002D
line.long 0x00 "PPM0_GCR0,Generic Pipeline Event Counter Register 0 0"
hexmask.long 0x00 0.--23. 1. " GECV ,Generic Event Counter Value"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x002E
line.long 0x00 "PPM0_GCR1,Generic Pipeline Event Counter Register 0 1"
hexmask.long 0x00 0.--23. 1. " GECV ,Generic Event Counter Value"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x002F
line.long 0x00 "PPM0_GCR2,Generic Pipeline Event Counter Register 0 2"
hexmask.long 0x00 0.--23. 1. " GECV ,Generic Event Counter Value"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0030
line.long 0x00 "PPM0_GCR3,Generic Pipeline Event Counter Register 0 3"
hexmask.long 0x00 0.--23. 1. " GECV ,Generic Event Counter Value"
width 14.
sif (cpu()=="PPC440GX")
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0031
line.long 0x00 "PPM0_DCSR0,Duration Event Counter Selection Register 0 0"
bitfld.long 0x00 31. " SSS ,Single Shot Selection" "-,Enabled"
bitfld.long 0x00 27.--28. "  MT ,Measurement Type" "Write,Read,Wait,Reserved"
bitfld.long 0x00 24.--26. "  SLS ,Slave Selection" "DDR_SDRAM,PCIX,SRAM,IMU,Reserved,PLB to OPB,Reserved,Reserved"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0032
line.long 0x00 "PPM0_DCSR1,Duration Event Counter Selection Register 0 1"
bitfld.long 0x00 31. " SSS ,Single Shot Selection" "-,Enabled"
bitfld.long 0x00 27.--28. "  MT ,Measurement Type" "Write,Read,Wait,Reserved"
bitfld.long 0x00 24.--26. "  SLS ,Slave Selection" "DDR_SDRAM,PCIX,SRAM,IMU,Reserved,PLB to OPB,Reserved,Reserved"
else
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0031
line.long 0x00 "PPM0_DCSR0,Duration Event Counter Selection Register 0 0"
bitfld.long 0x00 31. " SSS ,Single Shot Selection" "-,Enabled"
bitfld.long 0x00 27.--28. "  MT ,Measurement Type" "Write,Read,Wait,Reserved"
bitfld.long 0x00 24.--26. "  SLS ,Slave Selection" "SI0,SI1,SI2,SI3,SI4,SI5,SI6,SI7"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0032
line.long 0x00 "PPM0_DCSR1,Duration Event Counter Selection Register 0 1"
bitfld.long 0x00 31. " SSS ,Single Shot Selection" "-,Enabled"
bitfld.long 0x00 27.--28. "  MT ,Measurement Type" "Write,Read,Wait,Reserved"
bitfld.long 0x00 24.--26. "  SLS ,Slave Selection" "SI0,SI1,SI2,SI3,SI4,SI5,SI6,SI7"
endif
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0033
line.long 0x00 "PPM0_DCMXR0,Duration Event Counter Maximum Register 0 0"
hexmask.long 0x00 0.--23. 1. " MXV ,Highest Max value"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0034
line.long 0x00 "PPM0_DCMXR1,Duration Event Counter Maximum Register 0 1"
hexmask.long 0x00 0.--23. 1. " MXV ,Highest Max value"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0035
line.long 0x00 "PPM0_DCMNR0,Duration Event Counter Minimum Register 0 0"
hexmask.long 0x00 0.--23. 1. " MNV ,Least Min value"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0036
line.long 0x00 "PPM0_DCMNR1,Duration Event Counter Minimum Register 0 1"
hexmask.long 0x00 0.--23. 1. " MNV ,Least Min value"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0037
line.long 0x00 "PPM0_DCTVR0,Duration Event Counter Total Value Register 0 0"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0038
line.long 0x00 "PPM0_DCTVR1,Duration Event Counter Total Value Register 0 1"
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x0039
line.long 0x00 "PPM0_DCOTR0,Duration Counter Occurrence Total Register 0 0"
hexmask.long 0x00 0.--23. 1. " DOT ,Total number of event occurrences"  
group dcr:0x0017++0x00
saveout dcr:0x0016 %l 0x003A
line.long 0x00 "PPM0_DCOTR1,Duration Counter Occurrence Total Register 0 1"
hexmask.long 0x00 0.--23. 1. " DOT ,Total number of event occurrences"  
width 0x0B
tree.end
endif
textline ""
