\ ident	"%Z%%M%	%I%	%E% SMI"
\ Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
\ Use is subject to license terms.
\
\ CDDL HEADER START
\
\ The contents of this file are subject to the terms of the
\ Common Development and Distribution License, Version 1.0 only
\ (the "License").  You may not use this file except in compliance
\ with the License.
\
\ You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
\ or http://www.opensolaris.org/os/licensing.
\ See the License for the specific language governing permissions
\ and limitations under the License.
\
\ When distributing Covered Code, include this CDDL HEADER in each
\ file and include the License file at usr/src/OPENSOLARIS.LICENSE.
\ If applicable, add the following below this CDDL HEADER, with the
\ fields enclosed by brackets "[]" replaced with your own identifying
\ information: Portions Copyright [yyyy] [name of copyright owner]
\
\ CDDL HEADER END
\

hex

only forth also definitions
vocabulary kdbg-words
also kdbg-words definitions

defer p@
defer p!
['] x@ is p@
['] x! is p!

8 constant ptrsize

d# 32 constant nbitsminor
h# ffffffff constant maxmin
\
\ Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
\ Use is subject to license terms.
\
\ CDDL HEADER START
\
\ The contents of this file are subject to the terms of the
\ Common Development and Distribution License (the "License").
\ You may not use this file except in compliance with the License.
\
\ You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
\ or http://www.opensolaris.org/os/licensing.
\ See the License for the specific language governing permissions
\ and limitations under the License.
\
\ When distributing Covered Code, include this CDDL HEADER in each
\ file and include the License file at usr/src/OPENSOLARIS.LICENSE.
\ If applicable, add the following below this CDDL HEADER, with the
\ fields enclosed by brackets "[]" replaced with your own identifying
\ information: Portions Copyright [yyyy] [name of copyright owner]
\
\ CDDL HEADER END
\

\ #pragma ident	"%Z%%M%	%I%	%E% SMI"

h# 7ff constant v9bias
h# modules-val-here value modules-val
h# primaries-v-here value primaries-val

0 value exit-behavior

\ enable forthdebug when entering interpreter
' kdbg-words is debugger-vocabulary-hook

: next-word ( alf voc-acf -- false | alf' true )
   over  if  drop  else  nip >threads  then
   another-link?  if  >link true  else  false  then
;

\ another? that allows nesting
: another? ( alf voc-acf -- false | alf' voc-acf anf true )
   dup >r next-word  if         ( alf' ) ( r: voc-acf )
      r> over l>name true       ( alf' voc-acf anf true )
   else                         ( ) ( r: voc-acf )
      r> drop false             ( false )
   then
;


create err-no-sym ," symbol not found"

\ guard against bad symbols
: $symbol ( adr,len -- x )
   $handle-literal? 0= if  err-no-sym throw  then
;

\ Compile the value of the symbol if known,
\ otherwise arrange to look it up later at run time.
: symbol ( -- n ) \ symbol-name
   parse-word 2dup 2>r $handle-literal?  if   ( r: sym$ )
      2r> 2drop
   else
      +level
      2r> compile (") ", compile $symbol
      -level
   then
; immediate


\ print in octal
: .o ( n -- ) base @ >r octal . r> base ! ;

\ redefine type, cstrlen & cscount to support 64 bit addresses
: type ( adr len -- ) bounds ?do i c@ emit loop ;

: cstrlen ( cstr -- len )
   dup begin
      dup c@
   while
      char+
   repeat swap -
;

: cscount ( cstr -- adr,len )  dup cstrlen  ;


\ add carriage return if found linefeed
: lf-type ( adr len -- )
   bounds ?do
      i c@
      dup linefeed = if
         cr drop
      else
         emit
      then
   loop
;

\ print at most cnt characters of a string
: .nstr ( str cnt -- )
   over if
      over cscount nip min
      bounds ?do i c@ dup 20 80 within if emit else drop then loop
   else
      ." NULL " 2drop
   then
;

\ print string
: .str ( str -- )
   ?dup  if
      cscount type
   else
      ." NULL"
   then
;

\ new actions
: print 2 perform-action ;
: index 3 perform-action ;
: sizeof 1 perform-action ;

\ indent control
-8 value plevel
: +plevel ( -- ) plevel 8 + to plevel ;
: -plevel ( -- ) plevel 8 - to plevel ;
: 0plevel ( -- ) -8 to plevel ;

defer print-offset
' noop is print-offset

: show-offset ( apf -- apf ) ." [ " dup @ . ." ] " ;
: offset-on ['] show-offset is print-offset ;
: offset-off ['] noop is print-offset ;

\ new print words
: name-print ( addr apf -- addr apf )
   print-offset
   plevel spaces dup body>
   .name ." = "
;

: voc-print ( addr acf -- )
   ??cr +plevel
   0 swap                         ( addr 0 acf )
   begin  another?  while         ( addr alf acf anf )
      3 pick swap name> print     ( addr alf acf )
      exit?  if                   ( addr alf acf )
         0plevel true throw       ( )
      then                        ( addr alf acf )
   repeat                         ( addr )
   drop -plevel                   ( )
;


3 actions ( offset print-acf )
action: ( addr apf -- x )       @ + x@ ;        \ get
action: ( addr x apf -- )       @ rot + x! ;    \ set
action: ( addr apf -- )
   name-print
   dup @ rot + x@ swap         ( x apf )
   na1+ @ execute cr ;                          \ print

: ext-field ( acf offset -- ) create , , use-actions ;


3 actions ( offset print-acf )
action: ( addr apf -- l )       @ + l@ ;        \ get
action: ( addr l apf -- )       @ rot + l! ;    \ set
action: ( addr apf -- )
   name-print
   dup @ rot + l@ swap          ( l apf )
   na1+ @ execute cr ;                          \ print

: long-field ( acf offset -- ) create , , use-actions ;


3 actions ( offset print-acf )
action: ( addr apf -- w )       @ + w@ ;        \ get
action: ( addr w apf -- )       @ rot + w! ;    \ set
action: ( addr apf -- )
   name-print
   dup @ rot + w@ swap          ( w apf )
   na1+ @ execute cr ;                          \ print

: short-field ( acf offset -- ) create , , use-actions ;


3 actions ( offset print-acf )
action: ( addr apf -- c )       @ + c@ ;        \ get
action: ( addr c apf -- )       @ rot + c! ;    \ set
action: ( addr apf -- )
   name-print
   dup @ rot + c@ swap          ( c apf )
   na1+ @ execute cr ;                          \ print

: byte-field ( acf offset -- ) create , , use-actions ;


3 actions ( offset print-acf )
action: ( addr apf -- ptr )     @ + p@ ;        \ get
action: ( addr l apf -- )       @ rot + p! ;    \ set
action: ( addr apf -- )
   name-print
   dup @ rot + p@ ?dup  if     ( apf ptr )
      swap na1+ @ execute      ( )
   else                        ( apf )
      drop ." NULL"            ( )
   then                        ( )
   cr ;                                         \ print
 
: ptr-field ( acf offset -- ) create , , use-actions ;


3 actions ( offset print-acf )
action: ( addr apf -- saddr )   @ + ;           \ get
action: ( -- )                  quit ;          \ error
action: ( addr apf -- )
   name-print
   dup @ rot + swap             ( saddr apf )
   na1+ @ execute ??cr ;                       \ print
 
: struct-field ( acf offset -- ) create , , use-actions ;


4 actions ( offset inc limit print-acf fetch-acf )
action: ( addr apf -- araddr )  @ + ;           \ get
action: ( -- )                  quit ;          \ set
action: ( addr apf -- )
   name-print
   dup @ rot + swap         ( base apf )
   na1+ dup @ -rot          ( inc base apf' )
   na1+ dup @ swap          ( inc base limit apf' )
   na1+ dup @ swap          ( inc base limit p-acf apf' )
   na1+ @ 2swap             ( inc p-acf f-acf base limit )
   bounds  do               ( inc p-acf f-acf )
      3dup                  ( inc p-acf f-acf inc p-acf f-acf )
      i swap execute        ( inc f-acf p-acf inc p-acf n )
      swap execute          ( inc f-acf p-acf inc )
   +loop                    ( inc f-acf p-acf )
   3drop ??cr ;                                 \ print
action: ( addr index apf -- ith-item )
   rot swap                 ( index addr apf )
   dup @ rot + swap         ( index base apf )
   na1+ dup @ 3 roll *      ( base apf' ioff )
   rot + swap 3 na+ @       ( iaddr f-acf )
   execute ;                                    \ index

: array-field ( f-acf p-acf limit inc offset -- ) create , , , , , use-actions ;


3 actions ( offset mask shift print-acf )
action: ( addr apf -- bits )
   dup @ rot + l@ swap         ( b-word apf )
   na1+ dup @ rot and swap     ( b-masked apf' )
   na1+ @ >> ;                               \ get
action: ( addr bits apf -- )
   rot over @ + dup l@ 2swap   ( b-addr b-word nbits apf )
   na1+ dup @ -rot             ( b-addr b-word mask nbits apf' )
   na1+ @ << over and          ( b-addr b-word mask nb-masked )
   -rot invert and or swap l! ;              \ set
action: ( addr apf -- )
   name-print
   dup @ rot + l@ swap         ( b-word apf )
   na1+ dup @ rot and swap     ( b-mask apf' )
   na1+ dup @ rot swap >> swap ( bits apf' )
   na1+ @ execute cr ;                       \ print

: bits-field ( acf shift mask offset -- ) create , , , , use-actions ;


2 actions ( voc-acf size )
action: ( apf -- )              @ voc-print ;   \ print vocabulary
action: ( apf -- size )         na1+ @ ;        \ sizeof

: c-struct ( size acf -- ) create , , use-actions ;

: c-enum ( {str value}+ n-values -- )
   create   ( n-values {value str}+ )
      dup 2* 1+ 0  do  ,  loop
   does>    ( enum apf -- )
      dup @ 0  do                     ( enum apf' )
         na1+ 2dup @ =  if            ( enum apf' )
            na1+ @ .str               ( enum )
            drop unloop exit          ( )
         then                         ( enum apf' )
         na1+                         ( enum apf' )
      loop                            ( enum apf' )
      drop .d cr                      ( )
;

\ end kdbg section


vocabulary Shdr-words
h# 40 constant Shdr-sz
40 ' Shdr-words c-struct .Shdr
also Shdr-words definitions

' .x 38 ext-field sh_entsize
' .x 30 ext-field sh_addralign
' .x 2c long-field sh_info
' .x 28 long-field sh_link
' .x 20 ext-field sh_size
' .x 18 ext-field sh_offset
' .x 10 ext-field sh_addr
' .x 8 ext-field sh_flags
' .x 4 long-field sh_type
' .x 0 long-field sh_name

kdbg-words definitions
previous

\ end Shdr section


vocabulary Sym-words
h# 18 constant Sym-sz
18 ' Sym-words c-struct .Sym
also Sym-words definitions

' .x 10 ext-field st_size
' .x 8 ext-field st_value
' .x 6 short-field st_shndx
' .x 5 byte-field st_other
' .x 4 byte-field st_info
' .x 0 long-field st_name

kdbg-words definitions
previous

\ end Sym section


vocabulary modctl-words
h# 90 constant modctl-sz
90 ' modctl-words c-struct .modctl
also modctl-words definitions

' .x 88 ptr-field mod_requisite_loading
' .d 80 long-field mod_gencount
' .d 78 ext-field mod_text_size
' .x 70 ptr-field mod_text
' .d 6c long-field mod_nenabled
' .d 68 long-field mod_loadcnt
' .x 58 ptr-field mod_requisites
' .x 53 byte-field mod_delay_unload
' .x 52 byte-field mod_loadflags
' .x 51 byte-field mod_installed
' .x 50 byte-field mod_loaded
' .d 4c long-field mod_ref
' .x 4a byte-field mod_prim
' .x 49 byte-field mod_want
' .x 48 byte-field mod_busy
' .str 40 ptr-field mod_modname
' .str 38 ptr-field mod_filename
' .x 30 ptr-field mod_linkage
' .x 28 ptr-field mod_modinfo
' .x 20 ptr-field mod_inprogress_thread
' .x 18 ptr-field mod_mp
' .d 10 long-field mod_id
' .x 8 ptr-field mod_prev
' .x 0 ptr-field mod_next

kdbg-words definitions
previous

\ end modctl section


vocabulary module-words
h# 178 constant module-sz
178 ' module-words c-struct .module
also module-words definitions

' .str e8 ptr-field filename
' .x e0 ext-field bss
' .d d8 ext-field bss_size
' .d d4 long-field bss_align
' .d d0 long-field nsyms
' .x c8 ptr-field chains
' .x c0 ptr-field buckets
' .d b8 long-field hashsize
' .x b0 ptr-field strings
' .x a8 ptr-field symtbl
' .d a0 long-field symtbl_section
' .x 98 ptr-field data
' .x 90 ptr-field text
' .x 88 ext-field data_size
' .x 80 ext-field text_size
' .x 78 long-field flags
' .x 70 ptr-field symspace
' .d 68 ext-field symsize
' .str 60 ptr-field depends_on
' .x 58 ptr-field strhdr
' .x 50 ptr-field symhdr
' .x 48 ptr-field shdrs
' .d 0 long-field total_allocated

kdbg-words definitions
previous

\ end module section


vocabulary modctl_list-words
h# 10 constant modctl_list-sz
10 ' modctl_list-words c-struct .modctl_list
also modctl_list-words definitions

' .x 8 ptr-field modl_modp
' .x 0 ptr-field modl_next

kdbg-words definitions
previous

\ end modctl_list section


: .module-list ( -- )
   [ also modctl-words ]
   modules-val dup            ( mod0 mod0 )
   begin                      ( mod0 mod )
      dup mod_next swap       ( mod0 mod' mod )
      mod_mp ?dup  if         ( mod0 mod' mp )
         .module cr           ( mod0 mod' )
      then                    ( mod0 mod' )
   2dup =  until              ( mod0 mod' )
   2drop                      ( )
   [ previous ]
;

: .module-name ( modctl_p -- 0 )
   [ also modctl-words ]
   [ also module-words ]
   dup b u.r mod_mp dup c u.r ."  "  ( mp )
   dup if
      filename .str 0
   then cr
   [ previous ]
   [ previous ]
;

: =module-name ( name$ modctl_p -- name$ modctl_p|0 )
   [ also modctl-words ]
   >r 2dup r@ mod_modname cscount compare ( name$ =? ) ( R: modctl_p )
   r> swap if drop 0 then
   [ previous ]
;

: modctl-action ( ??? f modctl_p -- ??? f modctl_p result|0 )
   [ also modctl-words ]
   2dup 2>r         ( ??? f modctl_p )    ( R: f modctl_p )
   dup if           ( ??? f modctl_p )    ( R: f modctl_p )
      swap execute  ( ??? result )  ( R: f modctl_p )
   else             ( ??? f 0 )     ( R: f modctl_p )
      nip           ( ??? 0 )       ( R: f modctl_p )
   then             ( ??? result|0) ( R: f modctl_p )
   2r> rot          ( ??? f modctl_p result|0 )
   [ previous ]
;
 
: module-op ( ??? f modctl -- ??? f modctl|modctl-n result|0 )
   [ also modctl-words ]
   dup begin            ( ??? f mod0 mod )
      swap >r           ( ??? f mod )         ( R: mod0 )
      modctl-action     ( ??? f mod result )  ( R: mod0 )
      ?dup if
         r> drop exit   ( ??? f mod result )
      then              ( ??? f mod )         ( R: mod0 )
      mod_next r> swap  ( ??? f mod0 mod' )
   2dup =  until        ( ??? f mod0 mod' )
   drop 0               ( ??? f mod0 0 )
   [ previous ]
;

: .module-names ( -- )
   ['] .module-name modules-val module-op 3drop
;

: module-locate ( name$ -- name$ modctl_p|0 )
   ['] =module-name
   modules-val    ( name$ '=module-name mod0 )
   module-op      ( name$ '=module-name modctl_p result )
   nip nip        ( name$ result )
;

0 value sym-key

: hash-char ( key char -- key' )
   swap 4 << + dup    ( key' key' ) \ key' = char + key << 4
   f d# 28 << and     ( key' g  )   \ g = key' & 0xf0000000
   dup if             ( key' g  )
      tuck            ( g key' g )
      d# 24 >> xor    ( g key'' )   \ key'' = key' ^ (g >> 24)
      swap            ( key'' g )
   then               ( key   g )
   not and            ( key&~g  )
;

: hash-sym ( sym$ -- )
   bounds 0 -rot            ( 0 hi lo )
   do i c@ hash-char loop   ( key )
   to sym-key
;

: valid-sp? ( sp -- true | false )
   [ also Sym-words ]
   dup st_info f and  ( sp sp->st_info&f )
   4 <>               ( sp !=STT_FILE )
   swap st_shndx dup  ( !=STT_FILE sp->st_shndx sp->st_shndx )
   0 <> swap fff2 <>  ( !=STT_FILE !=SHN_UNDEF != SHN_COMMON )
   and and            ( true | false )
   [ previous ]
;

: field>offset  ( field-word-addr -- offset-in-bytes )
   >body dup l@ swap 1 la+ l@ swap lxjoin
;

: module>symid ( mp -- mp->buckets[key%hashsize] )
   [ also module-words ]
   sym-key over   ( mp key mp )
   hashsize mod   ( mp key%hashsize )
   /w * swap      ( key%hashsize*2 mp )
   buckets + w@   ( mp->buckets[key%hashsize] )
   [ previous ]
;


: symid>sym ( mp symid -- mp sp )
   [ also Shdr-words ]
   [ also module-words ]
   >r dup symhdr sh_entsize  ( mp mp->symhdr->sh_entsize ) ( R: symid )
   r> * over symtbl +
   [ previous ]
   [ previous ]
;

: mod-sym>value ( sym$ modctl_p -- sym$ adr|0 )   \ sym-key must be valid
   [ also modctl-words ]
   mod_mp               ( sym$ mp )
   [ previous ]
   dup 0= if exit then  ( sym$ 0 )

   [ also module-words ]
   [ also Sym-words ]
   dup module>symid     ( sym$ mp id )      \ id = mp->buckets[key%hashsize]
   begin dup while      ( sym$ mp id )
      dup >r            ( sym$ mp id )           ( R: id )
      symid>sym         ( sym$ mp sp )           ( R: id )

      dup >r st_name    ( sym$ mp sp->st_name )  ( R: id sp )
      over strings +    ( sym$ mp name1 )   \ name1 = sp->st_name + mp->strings
      cscount rot       ( sym$ name1$ mp )       ( R: id sp )
      >r 2over compare  ( sym$ strcmp )          ( R: id sp mp )

      0= r> swap        ( sym$ mp !strcmp )      ( R: id sp )
      r> dup valid-sp?  ( sym$ mp !strcmp sp ? ) ( R: id )
      rot and r> swap   ( sym$ mp sp id good? )
      if
         drop st_value  ( sym$ mp adr )
         nip exit       ( sym$ adr )
      else
         nip            ( sym$ mp id )
      then
      /w * over         ( sym$ mp id*2 mp )
      chains + w@       ( sym$ mp id' )      \ id' = mp->chains[id] )
   repeat               ( sym$ mp 0 )
   nip                  ( sym$ 0 )
   [ previous ]
   [ previous ]
;

: unix-sym>value ( sym$ -- adr | 0 )
   [ also modctl_list-words ]
   [ also modctl-words ]
   2dup hash-sym             ( sym$ )
   primaries-val p@              ( sym$ modctl_list )
   begin dup                 ( sym$ modctl_list modctl_list )
   while                     ( sym$ modctl_list )
      dup modl_modp mod_mp   ( sym$ modctl_list module )
      ?dup if
         2over rot           ( sym$ modctl_list sym$ module )
         mod-sym>value       ( sym$ modctl_list sym$ adr|0 )
         nip nip ?dup if     ( sym$ modctl_list adr|0 )
            >r 3drop r> exit ( adr )
         then                ( sym$ modctl_list )
      then modl_next         ( sym$ modctl_list' )
   repeat                    ( sym$ 0 )
   nip nip                   ( 0 )
   [ previous ]
   [ previous ]
;

: primary-op ( ??? f -- ??? result|0 )
   [ also modctl_list-words ]
   primaries-val p@          ( ??? f modctl_list )
   begin
      dup >r modl_modp       ( ??? f modctl )         ( R: modctl_list )
      modctl-action          ( ??? f modctl result )  ( R: modctl_list )
      nip ?dup if            ( ??? f result )         ( R: modctl_list )
         r> drop nip exit    ( ??? result )
      then                   ( ??? f )                ( R: modctl_list )
      r> modl_next dup       ( ??? f modctl_list' modctl_list' )
   0= until                  ( ??? f modctl_list' )
   2drop 0                   ( ??? 0 )
   [ previous ]
;

: .primary-names ( -- )
   ['] .module-name primary-op drop
;

: primary-sym>value ( sym$ -- adr | 0 )
   2dup hash-sym ['] mod-sym>value primary-op nip nip
;

: mods-sym>value ( sym$ -- adr | 0 )
   2dup hash-sym    \ sym-key
   ['] mod-sym>value modules-val  ( sym$ 'mod-sym>value mod0 )
   module-op                      ( sym$ 'mod-sym>value mod adr )
   >r 2drop 2drop r>
;

: unix-mod?	( mod$ -- ==<unix||genunix>? )
   2dup " unix" compare		( mod$ !=unix? )
   if				( mod$ )	\ != unix
      " genunix" compare	( !=genunix? )
      if false else true then	( ==genunix? )
   else				( mod$ )	\ ==unix
      2drop true
   then
;

: s>v ( sym$ -- adr | 0 )
   ascii : left-parse-string	( mod-sym$ mod$ )
   2swap dup			( mod$ mod-sym$ mod-sym-len )
   if		\ there is a module name
      2swap 2dup unix-mod?	( mod-sym$ mod$ ==<unix||genunix>? )
      if 2drop	\ unix symbols	( mod-sym$ )
         primary-sym>value	( adr | 0 )
      else	\ non-unix mod	( mod-sym$ mod$ )
         module-locate		( mod-sym$ mod$ modctl_p )
         ?dup if   \ found mod	( mod-sym$ mod$ modctl_p )
            >r 2drop 2dup	( mod-sym$ mod-sym$ ) ( R: modctl_p )
            hash-sym r>		( mod-sym$ modctl_p ) \ must hash-sym before
            mod-sym>value	( mod-sym$ adr|0 )    \ calling individual mod
            nip nip		( adr|0 )
         else			( mod-sym$ mod$ )
            \ ." module " type ."  not found" cr 2drop 0 exit
            2drop 2drop 0	( 0 )
         then
      then
   else		\ global: sym$ is in mod$ due to left-parse-string
      2drop 2dup		( mod$ mod$ )
      primary-sym>value		( mod$ adr|0 )
      ?dup if
         nip nip		( adr | 0 )
      else			( mod$ )
         mods-sym>value		( adr | 0 )
      then
   then
;

: sym2value ( $sym -- adr true | $sym false )
   2dup s>v	( $sym adr|0 )
   dup if	( $sym adr|0 )
      nip nip true	( adr true )
   then		( $sym 0 )
;

' sym2value is sym>value	\ replace default sym>value lookup

: segment-sym? ( adr base size -- true | false )
   bounds     ( adr base+size base )
   >r over r> ( adr base+size adr base )
   >= -rot    ( adr>=base? adr base+size )
   < and
;

: module-sym? ( adr mod_p -- true | false )
   [ also module-words ]
   2dup 2>r                ( adr mp )  ( R: adr mp )
   dup text swap text_size ( adr mp->text mp->text_size ) ( R: adr mp )
   segment-sym? if
      2r> 2drop true exit
   then
   2r@                     ( adr mp ) ( R: adr mp )
   dup data swap data_size ( adr mp->data mp->data_size ) ( R: adr mp )
   segment-sym? if
      2r> 2drop true exit
   then
   2r> dup bss             ( adr mp bss )
   ?dup if
      swap bss_size        ( adr bss bss_size )
      segment-sym? exit    ( true | false )
   then nip nip false
   [ previous ]
;

-1 value symbol-off
0 value sym-p

: exam-sym? ( st_info -- valid? )
   dup 4 >> 1 <> if          ( st_info ) \ !GLOBAL
      dup 4 >> 0 = if        ( st_info ) \ LOCAL
         f and               ( ELF_ST_TYPE )
         dup 1 = swap 2 = or ( func-or-object? )
      else
         drop false          ( 0 )
      then
   then                      ( valid? )
;

: min-sym ( sym off -- sym )
   dup 0< if
      drop exit
   then
   dup symbol-off u> if
      drop exit
   then
   to symbol-off
   dup to sym-p
;

: module-value>sym ( value mod_p -- value )
   -1 to symbol-off 0 to sym-p
   [ also module-words ]
   [ also Shdr-words ]
   [ also Sym-words ]
   >r r@ symhdr sh_entsize      ( value entsize )                ( R: mod_p )
   r@ symtbl r> nsyms           ( value entsize sym0 nsyms )
   1 do                         ( value entsize sym )
      over + dup st_info        ( value entsize sym' st_info )
      exam-sym? if             ( value entsize sym' )
         >r over r@ st_value -  ( value entsize value-st_value ) ( R: sym' )
         dup 0= if              ( value entsize 0 )              ( R: sym' )
            to symbol-off
            r> dup to sym-p     ( value entsize sym' )
            leave
         then                   ( value entsize value-st_value ) ( R: sym' )
         r> swap min-sym        ( value entsize sym' )
      then                      ( value entsize sym' )
   loop                         ( value entsize sym' )
   2drop                        ( value )
   [ previous ]
   [ previous ]
   [ previous ]
;

: modctl-value>sym ( value modctl_p -- value adr )
   [ also modctl-words ]
   mod_mp               ( value mp )
   [ previous ]
   dup 0= if exit       ( value 0 )
   then                 ( value mp )
   2dup module-sym? if  ( value mp )
      module-value>sym  ( value )
      sym-p             ( value sym-p )
   else
      drop 0            ( value 0 )
   then
;

: sym>str. ( modctl adr -- )
   [ also Sym-words ]
   [ also modctl-words ]
   [ also module-words ]
   st_name            ( modctl st_name )
   over mod_mp        ( modctl st_name mod_p )
   strings +          ( modctl name_p )
   swap mod_modname   ( st_name mod_modname )
   [ previous ]
   [ previous ]
   [ previous ]
   cscount type ." :" cscount type
   symbol-off if
      ." +" symbol-off .
   then
;

: v>s ( value -- true | value false )
   ['] modctl-value>sym modules-val module-op ( value f modctl adr )
   ?dup if
      sym>str.		( value f )
      2drop true exit	( true )
   then			( value f modctl )
   2drop false		( value false )
;

: v>m ( value -- modctl|0 )
   ['] modctl-value>sym modules-val module-op	( value f modctl adr )
   if						( value f modctl )
      nip nip					( modctl )
   else						( value f modctl )
      3drop 0					( 0 )
   then
;

h# modreloc-flagval value modreloc-flag-val
: mod-reloc? ( modctl -- true | false )
   [ also modctl-words ]
   [ also module-words ]
   mod_mp flags modreloc-flag-val and
   [ previous ]
   [ previous ]
;

: reloc? ( value -- reloc-flag-0x80 | 0 )
   v>m			( modctl | 0 )
   dup if		( modctl )
      mod-reloc?	( reloc-flag | 0 )
   then			( 0 )
;

: $sym-literal?  ( sym$ -- handled? )
   2dup 2>r $dnumber? ?dup if		( empty | [ n .. ] #cells ) ( R: sym$ )
      do-literal 2r> 2drop true exit	( true )
   then	2r>				( sym$ )

   2dup s>v ?dup if			( sym$ adr | sym$ )
      nip nip 1 do-literal true exit	( adr true )
   then					( sym$ )

   name-to-value  if			( sym$ )
      encode-string over here - allot	( encoded$ )
      drop  name-to-value  call32  nip	( retval )
      dup l@ l->n  if			( retval )
         drop false			( true )
      else				( pstr retval )
         la1+ l@ 1 do-literal true	( true )
      then exit				( flag )
   then 2drop false			( flag )
;

' $sym-literal? is $handle-literal?

: .addr>sym ( addr -- )
   dup origin  u>=  if  .x  exit  then	( addr )
   v>s if exit then		( addr )

   value-to-name  if                ( addr )
      value-to-name  call32         ( addr retval )
      dup l@ l->n -1 <>  if         ( addr retval )
         swap .x space              ( retval )
         dup l@ swap la1+ cscount   ( offset name,len )
         type  .offset  exit        (  )
      then drop                     ( addr )
   then                             ( addr )

   \ No symbolic info available display as number
   .x
;

also disassembler
' .addr>sym is showaddr		\ dis
' .addr>sym is .subname		\ ctrace
previous

   \ END OF SYMBOL - Do not edit, boot depends on it


\ Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
\ Use is subject to license terms.
\
\ CDDL HEADER START
\
\ The contents of this file are subject to the terms of the
\ Common Development and Distribution License, Version 1.0 only
\ (the "License").  You may not use this file except in compliance
\ with the License.
\
\ You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
\ or http://www.opensolaris.org/os/licensing.
\ See the License for the specific language governing permissions
\ and limitations under the License.
\
\ When distributing Covered Code, include this CDDL HEADER in each
\ file and include the License file at usr/src/OPENSOLARIS.LICENSE.
\ If applicable, add the following below this CDDL HEADER, with the
\ fields enclosed by brackets "[]" replaced with your own identifying
\ information: Portions Copyright [yyyy] [name of copyright owner]
\
\ CDDL HEADER END
\
\ #pragma ident	"%Z%%M%	%I%	%E% SMI"

\ start dbp section

20 constant max#defer-bp
0 value #defer-bp
d# 80 value /defer-bp           \ up to 80 chars for each defer bp symbol
max#defer-bp /defer-bp * buffer: >defer-bp-sym
max#defer-bp /n* buffer: >defer-bp-len
max#defer-bp /n* buffer: >defer-bp-off
max#defer-bp /n* buffer: >defer-bp-adr

: 'dbp-len ( index -- adr ) >defer-bp-len swap na+ ;
: 'dbp-off ( index -- adr ) >defer-bp-off swap na+ ;
: 'dbp-adr ( index -- adr ) >defer-bp-adr swap na+ ;
: 'dbp-sym ( index -- adr ) /defer-bp * >defer-bp-sym + ;

: dbp-len@ ( index -- len ) 'dbp-len @ ;
: dbp-off@ ( index -- off ) 'dbp-off @ ;
: dbp-adr@ ( index -- adr ) 'dbp-adr @ ;

: dbp-len! ( val index -- ) 'dbp-len ! ;
: dbp-off! ( val index -- ) 'dbp-off ! ;
: dbp-adr! ( val index -- ) 'dbp-adr ! ;

: fill0 ( adr len -- ) dup if bounds do 0 i c! loop then ;

: defer-sym>buf ( sym$ -- )
   tuck #defer-bp 'dbp-sym      ( len sym$ buf-addr )
   dup >r swap move r>          ( len buf-addr )
   over + swap /defer-bp swap - ( buf-addr+len 80-len )
   fill0
;

\ overwrite "index" entry with "index+1" entry content
: dbp-shift ( index -- )
   dup 1+ dbp-len@ over dbp-len!  ( index )
   dup 1+ dbp-off@ over dbp-off!  ( index )
   dup 1+ dbp-adr@ over dbp-adr!  ( index )
   'dbp-sym dup /defer-bp +  ( dst-adr src-adr )
   swap /defer-bp move
;

\ try to add break point if the symbol is already there
: dbp-+bp? ( off sym$ -- off sym$ adr+off|0 )
   2dup 2>r                     ( off sym$ ) ( R: sym$ )
   $handle-literal?             ( off adr true | off false )
   if                           ( off adr )
      over + dup +bp            ( off adr+off )
   else                         ( off )
      0                         ( off 0 )
   then
   2r> rot                      ( off sym$ adr+off ) ( R: )
;

: +dbp ( off sym$ -- )
   #defer-bp max#defer-bp >= if
      ." too many defer break points" cr
      2drop drop exit
   then

   dup /defer-bp > if                     ( off sym$ )
      ." symbol too long" cr
      2drop drop exit
   then

   \ add breakpoint for resolvable symbols
   dbp-+bp? #defer-bp dbp-adr!            ( off sym$ )
   rot      #defer-bp dbp-off!            ( sym$ )

   \ copy symbol to buffer
   tuck defer-sym>buf                     ( len )
   #defer-bp dbp-len!                     ( )

   \ adjust array index
   #defer-bp 1+ to #defer-bp              ( off sym$ )
;

: .dbp ( -- )
   #defer-bp dup .d ." defer break points" cr
   ."  "#  address  off len symbol" cr
   0 ?do
      i 2 .r ."  "
      i dbp-adr@ 8 u.r ."  "
      i dbp-off@ 4  .r ."  "
      i dbp-len@ dup 3 .r ."  "           ( len )
      i 'dbp-sym swap type cr
   loop
;

: dbp-scrub-last ( -- )
   #defer-bp 0> if
      #defer-bp 1- dup to #defer-bp       ( #defer-bp-1 )
      'dbp-sym /defer-bp fill0
      0 #defer-bp dbp-len!
      0 #defer-bp dbp-off!
      0 #defer-bp dbp-adr!
   then
;

: --dbp ( -- )
   #defer-bp 0> if
      #defer-bp 1- dbp-adr@ -bp
      dbp-scrub-last
   then
;

: -dbp  ( index -- )
   dup #defer-bp >= if                    ( index )
      ." bad break point index " . exit
   then                                   ( index )
   dup dbp-adr@ -bp                       ( index )
   #defer-bp 1- swap ?do                  ( #defer-bp-1 index )
      i dbp-shift
   loop
   dbp-scrub-last
;

: valid-sym?  ( index -- adr true | false )
   dup 'dbp-sym swap dbp-len@ sym>value
   if true else 2drop false then
;

: dbp-enable  ( bp-virt index -- ) over swap dbp-adr! +bp ;
: dbp-disable ( index -- ) dup dbp-adr@ -bp 0 swap dbp-adr! ;

: dbp-refresh ( -- )
   #defer-bp 0 ?do
      i valid-sym? if        ( adr )
         i dbp-adr@ if drop  ( )
         else                ( adr )      \ found newly resolved symbol
            i dbp-off@ +     ( adr+off )
            dup reloc? if    ( adr+off )  \ has the module been relocated?
               i dbp-enable  ( )          \ set new break point
            else             ( adr+off )
               drop          ( )
            then             ( )
         then                ( )
      else                   ( )
         i dbp-adr@ if       ( )          \ old symbol now becomes invalid
            i dbp-disable    ( )          \ clear break point
         then
      then
   loop
;

\ frontend interface for +dbp
: dbp   \ symbol+off   ( -- )
   parse-word			( symbol+off$ )
   ascii + left-parse-string	( off$ symbol$ )
   2swap $number if 0 then	( symbol$ off|0 )
   dup 3 and 0<> if		( symbol$ off|0 )
      ." warning: offset not aligned" cr
   then
   -rot +dbp			( )
;

\ resolves potential new breakpoints from the new module or deletes
\ breakpoints from theunloaded module and returns.
: dbp-kobj-hook ( -- ) dbp-refresh go ;

\ : dbp-install ( -- )
\    ['] noop 0 ['] ' 0    ['] +bpx (patch)
\    symbol fdbp_hook ['] dbp-kobj-hook +bpx	\ +bpx ( bp-adr bp-action -- )
\    \ test obp cpu sync kernel return fix
\    \ symbol kobj_notify_load ['] dbp-kobj-hook +bpx
\    ['] ' 0    ['] noop 0 ['] +bpx (patch)
\ ;

\ fdbp_hook: a kernel null function called upon each module load/unload.
: dbp-install " symbol fdbp_hook +bpx dbp-kobj-hook" eval ;

: dbp?	( -- )
   ." dbp?			- help, display defer break point words"    cr
   ." dbp pci_attach+4	- add defer break point at pci_attach + 4"  cr
   ." dbp pcisch:pci_attach+4	- same as above, except from pcisch module" cr
   ." .dbp			- display all requested defer break points" cr
   ." 3 -dbp			- remove defer break point #3 (from .dbp)"  cr
   ." --dbp			- remove the very last defer break point"   cr
;

\ end dbp section


: .dev_t ( dev -- ) dup nbitsminor >> .d maxmin and .d ;

: .phys ( pa -- ) dup .x  d >>  ." pfn:"  .x ;


vocabulary list-words
h# 20 constant list-sz
20 ' list-words c-struct .list
also list-words definitions

' .x 10 struct-field list_head
' .x 8 ext-field list_offset
' .x 0 ext-field list_size

kdbg-words definitions
previous

\ end list section


vocabulary list_node-words
h# 10 constant list_node-sz
10 ' list_node-words c-struct .list_node
also list_node-words definitions

' .x 8 ptr-field list_prev
' .x 0 ptr-field list_next

kdbg-words definitions
previous

\ end list_node section


vocabulary adaptive_mutex-words
h# 8 constant adaptive_mutex-sz
8 ' adaptive_mutex-words c-struct .adaptive_mutex
also adaptive_mutex-words definitions

' .x 0 ext-field _m_owner

kdbg-words definitions
previous

\ end adaptive_mutex section


vocabulary spin_mutex-words
h# 8 constant spin_mutex-sz
8 ' spin_mutex-words c-struct .spin_mutex
also spin_mutex-words definitions

' .x 7 byte-field m_dummylock
' .x 6 byte-field m_spinlock
' .x 4 short-field m_filler
' .x 2 short-field m_minspl
' .x 0 short-field m_oldspl

kdbg-words definitions
previous

\ end spin_mutex section


vocabulary rwlock_impl-words
h# 8 constant rwlock_impl-sz
8 ' rwlock_impl-words c-struct .rwlock_impl
also rwlock_impl-words definitions

' .x 0 ext-field rw_wwwh

kdbg-words definitions
previous

\ end rwlock_impl section


alias .mutex .adaptive_mutex
alias .rwlock .rwlock_impl


vocabulary avl_tree-words
h# 28 constant avl_tree-sz
28 ' avl_tree-words c-struct .avl_tree
also avl_tree-words definitions

' .x 20 ext-field avl_size
' .d 18 ext-field avl_numnodes
' .x 10 ext-field avl_offset
' .x 8 ptr-field avl_compar
' .x 0 ptr-field avl_root

kdbg-words definitions
previous

\ end avl_tree section


vocabulary avl_node-words
h# 18 constant avl_node-sz
18 ' avl_node-words c-struct .avl_node
also avl_node-words definitions

' .x 10 ext-field avl_pcb
' x@ ' .x 10 8 0 array-field avl_child

kdbg-words definitions
previous

\ end avl_node section


vocabulary as_callback-words
h# 30 constant as_callback-sz
30 ' as_callback-words c-struct .as_callback
also as_callback-words definitions

' .x 28 ext-field ascb_len
' .x 20 ptr-field ascb_saddr
' .x 18 ptr-field ascb_arg
' .x 10 ptr-field ascb_func
' .x 8 long-field ascb_events
' .x 0 ptr-field ascb_next

kdbg-words definitions
previous

\ end as_callback section


vocabulary as-words
h# e8 constant as-sz
e8 ' as-words c-struct .as
also as-words definitions

' .x d0 ptr-field a_xhat
' .x c8 ptr-field a_callbacks
' .avl_tree 50 struct-field a_segtree
' .x 40 ptr-field a_lastgap
' .x 38 ext-field a_size
' .rwlock 30 struct-field a_lock
' .x 28 ptr-field a_seglast
' .x 20 ptr-field a_userlimit
' .x 10 ptr-field a_hat
' .x a struct-field a_cv
' .x 9 byte-field a_vbits
' .mutex 0 struct-field a_contents

kdbg-words definitions
previous

\ end as section


vocabulary seg-words
h# 60 constant seg-sz
60 ' seg-words c-struct .seg
also seg-words definitions

' .x 40 ptr-field s_data
' .addr>sym 38 ptr-field s_ops
' .avl_node 20 struct-field s_tree
' .x 18 ptr-field s_as
' .d 10 long-field s_szc
' .x 8 ext-field s_size
' .x 0 ptr-field s_base

kdbg-words definitions
previous

\ end seg section


vocabulary page-words
h# 80 constant page-sz
80 ' page-words c-struct .page
also page-words definitions

' .x 78 struct-field p_ilock
' .x 70 ptr-field p_kpmelist
' .x 6c long-field p_kpmref
' .x 68 long-field p_slckcnt
' .x 64 long-field p_sharepad
' .x 60 long-field p_share
' .x 58 ext-field p_pagenum
' .x 50 ptr-field p_mapping
' .x 4f byte-field p_toxic
' .x 4e byte-field p_index
' .x 4d byte-field p_vcolor
' .x 4c byte-field p_nrm
' .x 4b byte-field p_state
' .x 4a byte-field p_fsdata
' .x 49 byte-field p_szc
' .x 48 byte-field p_iolock_state
' .x 46 struct-field p_io_cv
' .x 44 struct-field p_cv
' .x 42 short-field p_cowcnt
' .x 40 short-field p_lckcnt
' .x 38 ptr-field p_prev
' .x 30 ptr-field p_next
' .x 28 ptr-field p_vpprev
' .x 20 ptr-field p_vpnext
' .x 18 ptr-field p_hash
' .x 14 long-field p_vpmref
' .x 10 long-field p_selock
' .x 8 ptr-field p_vnode
' .x 0 ext-field p_offset

kdbg-words definitions
previous

\ end page section


vocabulary memlist-words
h# 20 constant memlist-sz
20 ' memlist-words c-struct .memlist
also memlist-words definitions

' .x 10 ptr-field next
' .phys 8 ext-field size
' .phys 0 ext-field address

kdbg-words definitions
previous

\ end memlist section


vocabulary segvn_data-words
h# a8 constant segvn_data-sz
a8 ' segvn_data-words c-struct .segvn_data
also segvn_data-words definitions

' .x a0 ext-field softlockcnt_send
' .x 98 ext-field softlockcnt_sbase
' .x 94 byte-field pageswap
' .x 90 long-field tr_state
' .x 88 ptr-field svn_trprev
' .x 80 ptr-field svn_trnext
' .x 78 ptr-field seg
' .x 70 struct-field tr_policy_info
' .x 68 ptr-field rcookie
' .x 60 struct-field policy_info
' .x 58 ext-field softlockcnt
' .x 52 short-field flags
' .x 51 byte-field pageadvice
' .x 50 byte-field advice
' .x 48 ext-field swresv
' .x 40 ptr-field cred
' .x 38 ptr-field vpage
' .x 30 ptr-field amp
' .x 28 ext-field anon_index
' .x 20 ptr-field vp
' .x 18 ext-field offset
' .x 13 byte-field type
' .x 12 byte-field maxprot
' .x 11 byte-field prot
' .x 10 byte-field pageprot
' .x 8 struct-field segfree_syncmtx
' .x 0 struct-field lock

kdbg-words definitions
previous

\ end segvn_data section


vocabulary segvn_crargs-words
h# 30 constant segvn_crargs-sz
30 ' segvn_crargs-words c-struct .segvn_crargs
also segvn_crargs-words definitions

' .x 2c long-field lgrp_mem_policy_flags
' .x 28 long-field szc
' .x 20 ptr-field amp
' .x 1c long-field flags
' .x 1a byte-field maxprot
' .x 19 byte-field prot
' .x 18 byte-field type
' .x 10 ext-field offset
' .x 8 ptr-field cred
' .x 0 ptr-field vp

kdbg-words definitions
previous

\ end segvn_crargs section


vocabulary anon-words
h# 30 constant anon-sz
30 ' anon-words c-struct .anon
also anon-words definitions

' .x 28 long-field an_refcnt
' .x 20 ptr-field an_hash
' .x 18 ext-field an_poff
' .x 10 ext-field an_off
' .x 8 ptr-field an_pvp
' .x 0 ptr-field an_vp

kdbg-words definitions
previous

\ end anon section


vocabulary anon_hdr-words
h# 20 constant anon_hdr-sz
20 ' anon_hdr-words c-struct .anon_hdr
also anon_hdr-words definitions

' .x 18 long-field flags
' .x 10 ptr-field array_chunk
' .x 8 ext-field size
' .x 0 struct-field serial_lock

kdbg-words definitions
previous

\ end anon_hdr section


vocabulary anon_map-words
h# 70 constant anon_map-sz
70 ' anon_map-words c-struct .anon_map
also anon_map-words definitions

' .x 60 struct-field a_phead
' .x 58 struct-field a_pmtx
' .x 50 ext-field a_softlockcnt
' .x 48 struct-field a_purgemtx
' .x 44 struct-field a_purgecv
' .x 40 long-field a_purgewait
' .x 38 ptr-field a_sp
' .x 30 ptr-field locality
' .x 28 short-field a_szc
' .x 20 ext-field refcnt
' .x 18 ext-field swresv
' .x 10 ptr-field ahp
' .x 8 ext-field size
' .x 0 struct-field a_rwlock

kdbg-words definitions
previous

\ end anon_map section


: .seg-visit ( seg -- ) recursive
   [ also seg-words ]
   [ also avl_node-words ]

   dup s_tree avl_child p@		( seg leftnode )
   ?dup if
      0 s_tree -			( seg seg' )
      .seg-visit			( seg )
   then

   dup .seg cr				( seg )

   s_tree avl_child ptrsize + p@	( rightnode )
   ?dup if
      0 s_tree -			( seg' )
      .seg-visit
   then
   [ previous ]
   [ previous ]
;



: .seg-list ( seg -- ) recursive
   [ also seg-words ]
   [ also avl_node-words ]
   dup .seg cr				( seg )

   dup s_tree avl_child ptrsize + p@	( seg rightnode )
   ?dup if
      0 s_tree -			( seg seg' )
      .seg-visit
   then

   s_tree avl_pcb dup			( avl_pcb avl_pcb)
   4 and 0= if
      7 not and				( parentnode )
      ?dup if
         0 s_tree - .seg-list		( parentseg )
      then
   else
      drop
   then
   [ previous ]
   [ previous ]
;



: .seg-addr ( as addr -- )
   [ also as-words ]
   [ also seg-words ]
   [ also avl_tree-words ]
   [ also avl_node-words ]
   swap a_segtree dup avl_offset negate swap avl_root  ( addr offset root )

   begin ?dup while				( addr off node )
      3dup +					( addr off node addr seg )
      dup s_base swap s_size			( addr off node addr base size )
      over +					( addr off node addr base end )
      within  if				( addr off node )
         + .seg drop exit			( )
      then					( addr off node )

      3dup + s_base				( addr off node addr base )
      < if					( addr off node )
      avl_child p@				( addr off leftnode )
      else
      avl_child ptrsize + p@			( addr off rightnode)
      then					

   repeat					( addr off node )
   drop						( addr )
   . ." not found"                              ( )
   [ previous ]
   [ previous ]
   [ previous ]
   [ previous ]
;


vocabulary _label_t-words
h# 10 constant _label_t-sz
10 ' _label_t-words c-struct ._label_t
also _label_t-words definitions

' x@ ' .x 10 8 0 array-field val

kdbg-words definitions
previous

\ end _label_t section


vocabulary timeval-words
h# 10 constant timeval-sz
10 ' timeval-words c-struct .timeval
also timeval-words definitions

' .x 8 ext-field tv_usec
' .x 0 ext-field tv_sec

kdbg-words definitions
previous

\ end timeval section


vocabulary itimerval-words
h# 20 constant itimerval-sz
20 ' itimerval-words c-struct .itimerval
also itimerval-words definitions

' .timeval 10 struct-field it_value
' .timeval 0 struct-field it_interval

kdbg-words definitions
previous

\ end itimerval section


vocabulary k_sigset_t-words
h# 8 constant k_sigset_t-sz
8 ' k_sigset_t-words c-struct .k_sigset_t
also k_sigset_t-words definitions

' l@ ' .x 8 4 0 array-field __sigbits

kdbg-words definitions
previous

\ end k_sigset_t section


vocabulary k_siginfo-words
h# 38 constant k_siginfo-sz
38 ' k_siginfo-words c-struct .k_siginfo
also k_siginfo-words definitions

' .d 8 long-field si_errno
' .x 4 long-field si_code
' .x 0 long-field si_signo

kdbg-words definitions
previous

\ end k_siginfo section


vocabulary lwpchan_t-words
h# 10 constant lwpchan_t-sz
10 ' lwpchan_t-words c-struct .lwpchan_t
also lwpchan_t-words definitions

' .x 8 ptr-field lc_wchan
' .x 0 ptr-field lc_wchan0

kdbg-words definitions
previous

\ end lwpchan_t section


vocabulary _kthread-words
h# 348 constant _kthread-sz
348 ' _kthread-words c-struct ._kthread
also _kthread-words definitions

' .x 2a0 ptr-field t_lgrp_affinity
' .x 290 ptr-field t_sleepq
' .x 288 ptr-field t_priback
' .x 280 ptr-field t_priforw
' .x 200 ptr-field t_ts
' .x 1f8 ptr-field t_prioinv
' .x 1f0 ptr-field t_rprof
' .d 1e8 long-field t_mstate
' .x 1e0 ext-field t_waitrq
' .x 1dc struct-field _tu
' .d 1d8 long-field t_kpri_req
' .d 1d0 ext-field t_disp_time
' .x 1c2 byte-field t_pre_sys
' .x 1c0 short-field t_oldspl
' .x 1b8 ptr-field t_lockp
' .x 1ae struct-field t_delay_cv
' .d 1ac short-field t_sysnum
' .x 1a8 long-field t_pctcpu
' .x 198 ext-field t_lbolt
' .x 188 ptr-field t_cred
' .x 178 ptr-field t_pollstate
' .d 172 short-field t_whatstop
' .d 170 short-field t_whystop
' .x 168 ptr-field t_prev
' .x 160 ptr-field t_next
' .x 150 ptr-field t_procp
' .x 148 ptr-field t_lwp
' .x 138 ptr-field t_back
' .x 130 ptr-field t_forw
' .k_sigset_t 120 struct-field t_hold
' .k_sigset_t 110 struct-field t_sig
' .x 108 ptr-field t_sigqueue
' .d 100 long-field t_tid
' .d e0 ext-field t_did
' .x d0 ptr-field t_intr
' .x a8 ptr-field t_cpu
' .d a2 byte-field t_pil
' .x a0 byte-field t_lock
' .x 98 ptr-field t_swap
' .x 90 ptr-field t_ontrap
' .x 88 ptr-field t_onfault
' .x 80 ext-field t_lofault
' .x 78 ptr-field t_ctx
' .x 70 ptr-field t_cldata
' .x 68 ptr-field t_clfuncs
' .x 60 long-field t_cid
' .addr>sym 58 ptr-field t_sobj_ops
' .lwpchan_t 48 struct-field t_lwpchan
' ._label_t 38 struct-field t_pcb
' .d 32 short-field t_epri
' .d 30 short-field t_pri
' .x 2c long-field t_state
' .d 2a byte-field t_preempt
' .x 28 short-field t_schedflag
' .x 26 short-field t_proc_flag
' .x 24 short-field t_flag
' .d 22 short-field t_bind_cpu
' .d 20 short-field t_affinitycnt
' .x 18 ptr-field t_bound_cpu
' .x 8 ptr-field t_stk
' .x 0 ptr-field t_link

kdbg-words definitions
previous

\ end _kthread section


vocabulary mstate-words
h# 70 constant mstate-sz
70 ' mstate-words c-struct .mstate
also mstate-words definitions

' .x 18 ext-field ms_state_start
' .x 10 ext-field ms_term
' .x 8 ext-field ms_start
' .x 0 long-field ms_prev

kdbg-words definitions
previous

\ end mstate section


vocabulary _klwp-words
h# 3a0 constant _klwp-sz
3a0 ' _klwp-words c-struct ._klwp
also _klwp-words definitions

' .x 358 ptr-field lwp_procp
' .x 350 ptr-field lwp_thread
' .x 34a short-field lwp_nostop
' .x 349 byte-field lwp_state
' .x 2e0 ptr-field lwp_lastfaddr
' .d 2d8 long-field lwp_lastfault
' .mstate 208 struct-field lwp_mstate
' .x 200 long-field lwp_oweupc
' .k_sigset_t 178 struct-field lwp_sigoldmask
' .x 138 ptr-field lwp_curinfo
' .x 11b byte-field lwp_asleep
' .x 11a byte-field lwp_sysabort
' .x 119 byte-field lwp_curflt
' .x 118 byte-field lwp_cursig
' ._label_t 108 struct-field lwp_qsav
' .x 100 ptr-field lwp_fpu
' .x f8 ptr-field lwp_regs
' x@ ' .x 40 8 b8 array-field lwp_arg
' .x b5 byte-field lwp_eosys
' .x b4 byte-field lwp_error
' .d b0 long-field lwp_errno
' .x a8 ptr-field lwp_ap
' .x a0 ext-field lwp_oldcontext

kdbg-words definitions
previous

\ end _klwp section


vocabulary timespec-words
h# 10 constant timespec-sz
10 ' timespec-words c-struct .timespec
also timespec-words definitions

' .x 8 ext-field tv_nsec
' .x 0 ext-field tv_sec

kdbg-words definitions
previous

\ end timespec section


alias .timestruc .timespec


vocabulary user-words
h# 5f8 constant user-sz
5f8 ' user-words c-struct .user
also user-words definitions

' x@ ' .x 180 8 3e0 array-field u_signal
' .x 1ed byte-field u_systrap
' .x 1ec byte-field u_acflag
' .x 1e8 long-field u_cmask
' .x 1d8 ext-field u_mem
' .x 1d0 ptr-field u_rdir
' .x 1c8 ptr-field u_cdir
' .x 1c0 ext-field u_envp
' .x 1b8 ext-field u_argv
' .d 1b4 long-field u_argc
' c@ ' .x 50 1 161 array-field u_psargs
' c@ ' .x 11 1 150 array-field u_comm
' .x 148 ext-field u_ticks
' .timestruc 138 struct-field u_start
' noop ' .x 130 10 8 array-field u_auxv
' .x 0 ptr-field u_execsw

kdbg-words definitions
previous

\ end user section


vocabulary proc-words
h# c20 constant proc-sz
c20 ' proc-words c-struct .proc
also proc-words definitions

' .x be0 ptr-field p_zone
' .list_node b90 struct-field p_ct_member
' .x b88 ptr-field p_ct_process
' .x b80 ptr-field p_ct_equeue
' .avl_tree b58 struct-field p_ct_held
' .x aa8 long-field p_model
' .x a98 ptr-field p_usrstack
' .x 448 struct-field p_user
' .d 268 long-field p_stkpageszc
' .x 260 ext-field p_stksize
' .x 258 struct-field p_srwchan_cv
' .x 250 ptr-field p_rlink
' .x 1d8 ptr-field p_plist
' .x 1d0 ptr-field p_trace
' .k_sigset_t 1c0 struct-field p_sigmask
' .x 178 ptr-field p_tlist
' .d 174 long-field p_zombcnt
' .d 164 long-field p_lwprcnt
' .d 160 long-field p_lwpcnt
' .d 158 byte-field p_stopsig
' .x 140 ptr-field p_sigqueue
' .k_sigset_t 134 struct-field p_siginfo
' .k_sigset_t 12c struct-field p_ignore
' .k_sigset_t 11c struct-field p_sig
' .d 118 long-field p_brkpageszc
' .x 110 ext-field p_brksize
' .x 108 ptr-field p_brkbase
' .x 100 ptr-field p_bssbase
' .x f8 ptr-field p_semacct
' .x f0 ptr-field p_segacct
' .x e8 ext-field p_cstime
' .x e0 ext-field p_cutime
' .x d8 ext-field p_stime
' .x d0 ext-field p_utime
' .x cc long-field p_flag
' .x c8 long-field p_proc_flag
' .x c6 struct-field p_holdlwps
' .x c4 struct-field p_lwpexit
' .x c2 struct-field p_flag_cv
' .x c0 struct-field p_cv
' .x b8 ptr-field p_pgidp
' .x b0 ptr-field p_pidp
' .x a8 ptr-field p_sessp
' .x 98 ptr-field p_pglink
' .x 90 ptr-field p_nextorph
' .x 88 ptr-field p_orphan
' .x 80 ptr-field p_nextofkin
' .x 78 ptr-field p_prev
' .x 70 ptr-field p_next
' .x 68 ptr-field p_child_ns
' .x 60 ptr-field p_sibling_ns
' .x 58 ptr-field p_psibling
' .x 50 ptr-field p_sibling
' .x 48 ptr-field p_child
' .x 40 ptr-field p_parent
' .x 38 ptr-field p_link
' .d 34 long-field p_ppid
' .d 2c byte-field p_stat
' .d 28 long-field p_swapcnt
' .x 20 ptr-field p_cred
' .mutex 18 struct-field p_crlock
' .x 8 ptr-field p_as
' .x 0 ptr-field p_exec

kdbg-words definitions
previous

\ end proc section


vocabulary pid-words
h# 28 constant pid-sz
28 ' pid-words c-struct .pid
also pid-words definitions

' .x 20 long-field pid_ref
' .x 18 ptr-field pid_link
' .x 8 ptr-field pid_pglink
' .d 4 long-field pid_id
' .x 0 ffffff 0 bits-field pid_prslot
' .x 1e 40000000 0 bits-field pid_pgorphaned
' .x 1f 80000000 0 bits-field pid_prinactive

kdbg-words definitions
previous

\ end pid section


alias .thread ._kthread
alias .lwp ._klwp

: l0x ( sp -- sp l0 ) dup v9bias + d# 0 + x@ ;
: l1x ( sp -- sp l1 ) dup v9bias + d# 8 + x@ ;
: l2x ( sp -- sp l2 ) dup v9bias + d# 16 + x@ ;
: l3x ( sp -- sp l3 ) dup v9bias + d# 24 + x@ ;
: l4x ( sp -- sp l4 ) dup v9bias + d# 32 + x@ ;
: l5x ( sp -- sp l5 ) dup v9bias + d# 40 + x@ ;
: l6x ( sp -- sp l6 ) dup v9bias + d# 48 + x@ ;
: l7x ( sp -- sp l7 ) dup v9bias + d# 56 + x@ ;
: i0x ( sp -- sp i0 ) dup v9bias + d# 64 + x@ ;
: i1x ( sp -- sp i1 ) dup v9bias + d# 72 + x@ ;
: i2x ( sp -- sp i2 ) dup v9bias + d# 80 + x@ ;
: i3x ( sp -- sp i3 ) dup v9bias + d# 88 + x@ ;
: i4x ( sp -- sp i4 ) dup v9bias + d# 96 + x@ ;
: i5x ( sp -- sp i5 ) dup v9bias + d# 104 + x@ ;
: i6x ( sp -- sp i6 ) dup v9bias + d# 112 + x@ ;
: i7x ( sp -- sp i7 ) dup v9bias + d# 120 + x@ ;

: l0 ( sp -- sp l0 ) dup d# 0 + l@ ;
: l1 ( sp -- sp l1 ) dup d# 4 + l@ ;
: l2 ( sp -- sp l2 ) dup d# 8 + l@ ;
: l3 ( sp -- sp l3 ) dup d# 12 + l@ ;
: l4 ( sp -- sp l4 ) dup d# 16 + l@ ;
: l5 ( sp -- sp l5 ) dup d# 20 + l@ ;
: l6 ( sp -- sp l6 ) dup d# 24 + l@ ;
: l7 ( sp -- sp l7 ) dup d# 28 + l@ ;
: i0 ( sp -- sp i0 ) dup d# 32 + l@ ;
: i1 ( sp -- sp i1 ) dup d# 36 + l@ ;
: i2 ( sp -- sp i2 ) dup d# 40 + l@ ;
: i3 ( sp -- sp i3 ) dup d# 44 + l@ ;
: i4 ( sp -- sp i4 ) dup d# 48 + l@ ;
: i5 ( sp -- sp i5 ) dup d# 52 + l@ ;
: i6 ( sp -- sp i6 ) dup d# 56 + l@ ;
: i7 ( sp -- sp i7 ) dup d# 60 + l@ ;

: client-pointer-bad?		( addr -- flag )
   dup 1 and if			( addr )
      v9bias + dup 7 and 0<>	( addr' non-aligned-flag )
   else				( addr )
      n->l dup 3 and 0<>	( addr' non-aligned-flag )
   then				( addr' non-aligned-flag )
   if				( addr' )
      drop true exit		( not-good-flag )
   then				( addr' )
   dup f000.0000 ffff.ffff between if	( addr' )
      drop true		( not-good-flag )
   else				( addr' )
      0 unix-tte if
				( tte )
         drop false		( good-flag )
      else
				( )
         true			( not-good-flag) 
      then			( flag )
   then				( flag )
;

: .stacktrace ( sp -- )
   begin  dup client-pointer-bad?
      0= over and  while
      dup 1 and  if
         i7x dup client-pointer-bad? 0<>
	 if drop ." XXXXXXXX " else
	 dup 1 and if v9bias + then .subroutine
	 then
	 ." from " i7x .subname cr
         ."  ( " i0x .h i1x .h i2x .h i3x .h i4x .h i5x .h ." )" cr
         i6x
      else
         i7 dup client-pointer-bad? 0<> if drop ." XXXXXXXX " else
	 .subroutine then ."  from " i7 .subname cr
         ."  ( " i0 .h i1 .h i2 .h i3 .h i4 .h i5 .h ." )" cr
         i6
      then
      exit? throw nip
   repeat
   drop
;

: .threadtrace ( t -- )
   [ also _kthread-words ]
   [ also _label_t-words ]
   t_pcb                              ( pcb )
   ."  pc: " dup 0 ['] val index .x   ( pcb )
   ."  sp: " 1 ['] val index dup .x   ( sp )
   cr .stacktrace cr                  ( )
   [ previous ]
   [ previous ]
;

: .proctlist ( p -- )
   [ also proc-words ]
   [ also _kthread-words ]
   p_tlist dup                     ( t0 t0 )
   begin                           ( t0 t )
      ."    thread " dup .x        ( t0 t )
      dup t_forw swap              ( t0 t' t )
      .threadtrace                 ( t0 t' )
   2dup =  until                   ( t0 t )
   2drop                           ( )
   [ previous ]
   [ previous ]
;

: .threadstate ( t -- )
   [ also _kthread-words ]
   t_state dup 10 u<= if
      " FSR?O???Z???????T" drop + c@ emit
   else
      drop ." ?" 
   then
   [ previous ]
;

d# 80 constant PSARGSZ

: .ttrace ( t -- )
   [ also user-words ]
   [ also proc-words ]
   [ also _kthread-words ]
   ?dup  if  ( t )
      dup t_state  if                        ( t )
         space dup t_state ." t_state: " .x  ( t )
         dup t_procp                         ( t p )
         dup p_pidp 4 + l@ ."  pid: " .d     ( t p )
         dup p_ppid ."  ppid: " .d cr        ( t p )
         space dup ." proc: " .x             ( t p )
         space dup p_as ." as: " .x          ( t p )
         space p_user dup ."  user: " .x cr  ( t u )
         space ." CMD: " u_psargs PSARGSZ .nstr cr ( t )
         .threadtrace
      else                                   ( t )
         ." free" cr drop
      then
   then
   [ previous ]
   [ previous ]
   [ previous ]
;

: .tlist ( -- )
   [ also user-words ]
   [ also proc-words ]
   [ also pid-words ]
   [ also _kthread-words ]
   d#  2 to-column ." THREAD"
   d# 16 to-column ." S"
   d# 18 to-column ." PID"
   d# 26 to-column ." PPID"
   d# 34 to-column ." COMMAND" cr
   symbol genunix:allthreads p@ ?dup  if     ( t )
      dup                                    ( t t )
      begin                                  ( t0 t )
         dup t_next swap                     ( t0 t' t )
         dup t_state  if                     ( t0 t' t )
            d# 2 to-column dup .x            ( t0 t' t )
            d# 16 to-column dup .threadstate ( t0 t' t )
            d# 18 to-column t_procp          ( t0 t' p )
            dup p_pidp pid_id .d             ( t0 t' p )
            d# 26 to-column dup p_ppid .d    ( t0 t' p )
            d# 34 to-column                  ( tp t' p )
            p_user u_psargs PSARGSZ .nstr cr ( to t' )
         else                                ( t0 t' t )
            drop                             ( t0 t' )
         then                                ( t0 t' done? )
         exit?
      dup 2over = or nip  until              ( t0 t )
      2drop                                  ( )
   then                                      ( )
   [ previous ]
   [ previous ]
   [ previous ]
   [ previous ]
;

: .threadlist ( -- )
   [ also _kthread-words ]
   symbol genunix:allthreads p@ ?dup  if  ( t )
      dup                                 ( t t )
      begin                               ( t0 t )
         ."    thread " dup .x            ( t0 t )
         dup t_next swap                  ( t0 t' t )
	 dup t_state  if                  ( t0 t' t )
            .ttrace false                 ( t0 t false )
         else                             ( t0 t' t )
            ."  free" cr cr drop exit?    ( t0 t' done? )
         then                             ( t0 t' done? )
      dup 2over = or nip  until           ( t0 t )
      2drop                               ( )
   then                                   ( )
   [ previous ]
;


vocabulary cpupart-words
h# 148 constant cpupart-sz
148 ' cpupart-words c-struct .cpupart
also cpupart-words definitions

' .x 138 struct-field cp_haltset
' .x 128 struct-field cp_cmt_pgs
' .x 120 long-field cp_lgrp_hint
' .x 11c long-field cp_gen
' .x 118 long-field cp_attr
' x@ ' .x 18 8 100 array-field cp_hp_avenrun
' .x f8 long-field cp_nlgrploads
' .x f0 ptr-field cp_lgrploads
' .x e8 ext-field cp_lgrpset
' .x 80 struct-field cp_loadavg
' .x 78 ext-field cp_nwaiting_cum
' .x 70 ext-field cp_nrunnable_cum
' .x 68 ext-field cp_updates
' .x 64 long-field cp_nrunning
' .x 60 long-field cp_nrunnable
' .x 58 ptr-field cp_kstat
' .x 50 ptr-field cp_cpulist
' .x 48 ptr-field cp_prev
' .x 40 ptr-field cp_next
' .x 3c long-field cp_ncpus
' .x 38 long-field cp_id
' .x 0 struct-field cp_kp_queue

kdbg-words definitions
previous

\ end cpupart section


vocabulary cpu_stats-words
h# 2f8 constant cpu_stats-sz
2f8 ' cpu_stats-words c-struct .cpu_stats
also cpu_stats-words definitions

' .x 200 struct-field vm
' .x 0 struct-field sys

kdbg-words definitions
previous

\ end cpu_stats section


vocabulary _disp-words
h# 38 constant _disp-sz
38 ' _disp-words c-struct ._disp
also _disp-words definitions

' .d 24 long-field disp_nrunnable
' .d 22 short-field disp_max_unbound_pri
' .d 20 short-field disp_maxrunpri
' .x 18 ptr-field disp_qactmap
' .x 10 ptr-field disp_q_limit
' .x 8 ptr-field disp_q
' .d 2 short-field disp_npri
' .x 0 byte-field disp_lock

kdbg-words definitions
previous

\ end _disp section


vocabulary cpu-words
h# e18 constant cpu-sz
e18 ' cpu-words c-struct .cpu
also cpu-words definitions

' .x 600 struct-field cpu_m
' .x 4b8 ptr-field cpu_cyclic
' .d 10c long-field cpu_base_spl
' .x 108 long-field cpu_intr_actv
' .x 100 ptr-field cpu_intr_thread
' .x f8 ptr-field cpu_intr_stack
' .d ea short-field cpu_dispatch_pri
' .x e8 byte-field cpu_thread_lock
' .x e0 ptr-field cpu_dispthread
' .x d9 byte-field cpu_kprunrun
' .x d8 byte-field cpu_runrun
' ._disp d0 ptr-field cpu_disp
' .x 80 ptr-field cpu_prev_part
' .x 78 ptr-field cpu_next_part
' .x 70 ptr-field cpu_prev_onln
' .x 68 ptr-field cpu_next_onln
' .x 60 ptr-field cpu_prev
' .x 58 ptr-field cpu_next
' .x 50 long-field cpu_cache_offset
' .x 48 ptr-field cpu_lpl
' .x 40 ptr-field cpu_part
' .x 38 ptr-field cpu_fpowner
' .x 30 ptr-field cpu_lwp
' .x 28 ptr-field cpu_pause_thread
' .x 20 ptr-field cpu_idle_thread
' .x 18 ptr-field cpu_thread
' .x 8 short-field cpu_flags
' .d 4 long-field cpu_seqid
' .d 0 long-field cpu_id

kdbg-words definitions
previous

\ end cpu section


alias .disp ._disp

: .cpu-n ( n -- )
   dup ptrsize * symbol cpu + p@        ( n cpu )
   ?dup  if                       ( n cpu )
      .cpu drop                   ( )
   else                           ( n )
      ." cpu[ " .d ." ] is NULL"  ( )
   then                           ( )
;

: .cpu-list ( -- )
   [ also cpu-words ]
   symbol cpu_list p@ ?dup  if   ( cpu0 )
      dup                        ( cpu0 cpu0 )
      begin                      ( cpu0 cpu )
         dup .cpu cpu_next cr    ( cpu0 cpu' )
      2dup =  until              ( cpu0 cpu )
      2drop                      ( )
   then                          ( )
   [ previous ]
;


vocabulary pm_scan-words
h# 10 constant pm_scan-sz
10 ' pm_scan-words c-struct .pm_scan
also pm_scan-words definitions

' .x 8 ptr-field ps_scan_id
' .x 4 long-field ps_scan_flags
' .x 0 long-field ps_idle_down

kdbg-words definitions
previous

\ end pm_scan section


vocabulary pm_comp-words
h# 40 constant pm_comp-sz
40 ' pm_comp-words c-struct .pm_comp
also pm_comp-words definitions

' .x 38 ext-field pmc_lnames_sz
' .x 30 ptr-field pmc_lname_buf
' .x 28 ext-field pmc_name_sz
' .x 20 ptr-field pmc_lnames
' .x 18 ptr-field pmc_thresh
' .x 10 ptr-field pmc_lvals
' .x 8 long-field pmc_numlevels
' .x 0 ptr-field pmc_name

kdbg-words definitions
previous

\ end pm_comp section


vocabulary pm_component-words
h# 60 constant pm_component-sz
60 ' pm_component-words c-struct .pm_component
also pm_component-words definitions

' .x 20 struct-field pmc_comp
' .x 18 long-field pmc_phc_pwr
' .x 14 long-field pmc_cur_pwr
' .x 10 long-field pmc_norm_pwr
' .x 8 ext-field pmc_timestamp
' .x 4 long-field pmc_busycount
' .x 0 long-field pmc_flags

kdbg-words definitions
previous

\ end pm_component section


vocabulary pm_info-words
h# 20 constant pm_info-sz
20 ' pm_info-words c-struct .pm_info
also pm_info-words definitions

' .x 18 struct-field pmi_cv
' .x 10 ptr-field pmi_lp
' l@ ' .x 8 4 8 array-field pmi_levels
' .x 4 long-field pmi_clone
' .x 0 long-field pmi_dev_pm_state

kdbg-words definitions
previous

\ end pm_info section


here ," PMR_SET_POWER" 1
here ," PMR_SUSPEND" 2
here ," PMR_RESUME" 3
here ," PMR_PRE_SET_POWER" 4
here ," PMR_POST_SET_POWER" 5
here ," PMR_PPM_SET_POWER" 6
here ," PMR_PPM_ATTACH" 7
here ," PMR_PPM_DETACH" 8
here ," PMR_PPM_POWER_CHANGE_NOTIFY" 9
here ," PMR_REPORT_PMCAP" a
here ," PMR_CHANGED_POWER" b
here ," PMR_PPM_PRE_PROBE" c
here ," PMR_PPM_POST_PROBE" d
here ," PMR_PPM_PRE_ATTACH" e
here ," PMR_PPM_POST_ATTACH" f
here ," PMR_PPM_PRE_DETACH" 10
here ," PMR_PPM_POST_DETACH" 11
here ," PMR_PPM_UNMANAGE" 12
here ," PMR_PPM_PRE_RESUME" 13
here ," PMR_PPM_ALL_LOWEST" 14
here ," PMR_PPM_LOCK_POWER" 15
here ," PMR_PPM_UNLOCK_POWER" 16
here ," PMR_PPM_TRY_LOCK_POWER" 17
here ," PMR_PPM_INIT_CHILD" 18
here ," PMR_PPM_UNINIT_CHILD" 19
here ," PMR_PPM_POWER_LOCK_OWNER" 1a
here ," PMR_PPM_ENTER_SX" 1b
here ," PMR_PPM_EXIT_SX" 1c
here ," PMR_PPM_SEARCH_LIST" 1d
1d c-enum .pm_request_type

vocabulary power_req-words
h# 28 constant power_req-sz
28 ' power_req-words c-struct .power_req
also power_req-words definitions

' .x 8 struct-field req
' .d 0 long-field request_type

kdbg-words definitions
previous

\ end power_req section


vocabulary pm_thresh_entry-words
h# 10 constant pm_thresh_entry-sz
10 ' pm_thresh_entry-words c-struct .pm_thresh_entry
also pm_thresh_entry-words definitions

' .x 8 ptr-field pte_thresh
' .x 0 long-field pte_numthresh

kdbg-words definitions
previous

\ end pm_thresh_entry section


vocabulary pm_thresh_rec-words
h# 28 constant pm_thresh_rec-sz
28 ' pm_thresh_rec-words c-struct .pm_thresh_rec
also pm_thresh_rec-words definitions

' .x 20 ptr-field ptr_entries
' .x 10 long-field ptr_numcomps
' .x 8 ptr-field ptr_next
' .str 0 ptr-field ptr_physpath

kdbg-words definitions
previous

\ end pm_thresh_rec section

: pm_info ( adr-struct -- )
  [ also pm_info-words ]
  dup pmi_dev_pm_state ." state " .x cr
  [ previous ]
;

: pm_component ( adr-pm_component-struct -- )
   [ also pm_component-words ]
   dup pmc_flags ." pmc_flags: " .x cr
   dup pmc_busycount ." pmc_busycount: 0x" .x cr
   dup pmc_timestamp ." pmc_timestamp: 0x" .x cr
   pmc_norm_pwr ." pmc_norm_pwr (index): 0x" .x cr
  [ previous ]
;


vocabulary dev_info-words
h# 288 constant dev_info-sz
288 ' dev_info-words c-struct .dev_info
also dev_info-words definitions

' .x 280 ptr-field devi_hp_hdlp
' .x 278 ptr-field devi_flavorv
' .x 271 byte-field devi_flavorv_n
' .x 270 byte-field devi_flavor
' .x 268 ptr-field devi_cb_p
' .x 260 ptr-field devi_iommulib_handle
' .x 258 ptr-field devi_iommu_private
' .x 250 ptr-field devi_prop_dyn_parent
' .x 248 ptr-field devi_prop_dyn_driver
' .x 228 struct-field devi_bus
' .x 208 struct-field devi_ct
' .x 200 long-field devi_ct_neg
' .x 1fc long-field devi_ct_count
' .x 1f8 struct-field devi_ct_cv
' .x 1f0 struct-field devi_ct_lock
' .x 1e8 ptr-field devi_rebinding_name
' .x 1e0 ptr-field devi_addr_buf
' .x 1d8 ptr-field devi_nex_pm
' .x 1d0 ptr-field devi_intr_p
' .x 1c8 long-field devi_cpr_flags
' .x 1c0 ptr-field devi_fmhdl
' .x 1b8 ptr-field devi_audit
' .x 1b0 ptr-field devi_taskq
' .x 1a8 ptr-field devi_busy_thread
' .x 1a4 long-field devi_circular
' .x 1a0 long-field devi_flags
' .d 19c long-field devi_node_state
' .x 198 long-field devi_major
' .x 190 ptr-field devi_global_prop_list
' .x 188 ptr-field devi_mdi_xhci
' .x 180 ptr-field devi_mdi_client
' .x 178 long-field devi_mdi_component
' .x 170 ptr-field devi_device_class
' .x 16c long-field devi_node_attributes
' .d 168 long-field devi_node_class
' .x 160 ptr-field devi_dacf_tasks
' .x 158 long-field devi_ref
' .x 154 struct-field devi_cv
' .x 150 long-field devi_state
' .x 148 struct-field devi_pm_busy_lock
' .x 140 struct-field devi_pm_lock
' .x 13c long-field devi_pm_volpmd
' .x 138 long-field devi_pm_noinvolpm
' .x 130 ptr-field devi_pm_scan
' .x 12c long-field devi_pm_kidsupcnt
' .x 128 long-field devi_pm_dev_thresh
' .x 120 ptr-field devi_pm_ppm_private
' .x 118 ptr-field devi_pm_ppm
' .x 110 ptr-field devi_pm_components
' .x 108 ext-field devi_pm_comp_size
' .x 104 long-field devi_pm_num_components
' .x 100 long-field devi_pm_flags
' .x f8 ptr-field devi_pm_info
' .x f0 ptr-field devi_devid_str
' .x e8 ptr-field devi_bus_dma_unbindfunc
' .x e0 ptr-field devi_bus_dma_bindfunc
' .x d8 ext-field devi_compat_length
' .x d0 ptr-field devi_compat_names
' .x c8 ptr-field devi_node_name
' .x c0 ptr-field devi_hw_prop_ptr
' .x b8 ptr-field devi_bus_ctl
' .x b0 ptr-field devi_bus_dma_ctl
' .x a8 ptr-field devi_bus_dma_win
' .x a0 ptr-field devi_bus_dma_flush
' .x 98 ptr-field devi_bus_dma_unbindhdl
' .x 90 ptr-field devi_bus_dma_bindhdl
' .x 88 ptr-field devi_bus_dma_freehdl
' .x 80 ptr-field devi_bus_dma_allochdl
' .x 78 ptr-field devi_bus_dma_map
' .x 70 ptr-field devi_bus_map_fault
' .x 68 struct-field devi_lock
' .x 60 ptr-field devi_next
' .x 58 ptr-field devi_minor
' .x 50 ptr-field devi_sys_prop_ptr
' .x 48 ptr-field devi_drv_prop_ptr
' .x 40 ptr-field devi_driver_data
' .x 38 ptr-field devi_parent_data
' .x 30 ptr-field devi_ops
' .x 2c long-field devi_instance
' .x 28 long-field devi_nodeid
' .x 20 ptr-field devi_addr
' .x 18 ptr-field devi_binding_name
' .x 10 ptr-field devi_sibling
' .x 8 ptr-field devi_child
' .x 0 ptr-field devi_parent

kdbg-words definitions
previous

\ end dev_info section


vocabulary lldaddr_t-words
h# 8 constant lldaddr_t-sz
8 ' lldaddr_t-words c-struct .lldaddr_t
also lldaddr_t-words definitions

' .x 0 ext-field _f

kdbg-words definitions
previous

\ end lldaddr_t section


vocabulary buf.b_un-words
h# 8 constant buf.b_un-sz
8 ' buf.b_un-words c-struct .buf.b_un
also buf.b_un-words definitions

' .x 0 ptr-field b_addr

kdbg-words definitions
previous

\ end buf.b_un section


vocabulary buf-words
h# f8 constant buf-sz
f8 ' buf-words c-struct .buf
also buf-words definitions

' .dev_t a8 ext-field b_edev
' .d 9c long-field b_error
' .x 88 ptr-field b_vp
' .x 80 ptr-field b_iodone
' .d 78 ext-field b_bufsize
' .x 68 ptr-field b_pages
' .addr>sym 60 ptr-field b_proc
' .d 50 ext-field b_resid
' .lldaddr_t 40 struct-field _b_blkno
' .buf.b_un 38 struct-field b_un
' .d 30 ext-field b_bcount
' .x 20 ptr-field av_back
' .x 18 ptr-field av_forw
' .x 10 ptr-field b_back
' .x 8 ptr-field b_forw
' .x 0 long-field b_flags

kdbg-words definitions
previous

\ end buf section


vocabulary uio-words
h# 30 constant uio-sz
30 ' uio-words c-struct .uio
also uio-words definitions

' .x 28 ext-field uio_resid
' .x 20 struct-field _uio_limit
' .x 1e short-field uio_extflg
' .x 1c short-field uio_fmode
' .d 18 long-field uio_segflg
' .x 10 struct-field _uio_offset
' .x 8 long-field uio_iovcnt
' .x 0 ptr-field uio_iov

kdbg-words definitions
previous

\ end uio section


vocabulary iovec-words
h# 10 constant iovec-sz
10 ' iovec-words c-struct .iovec
also iovec-words definitions

' .x 8 ext-field iov_len
' .x 0 ptr-field iov_base

kdbg-words definitions
previous

\ end iovec section


: .devinfo-tree ( dip -- ) recursive
   [ also dev_info-words ]
   dup .dev_info cr           ( dip )
   dup devi_child ?dup  if    ( dip child )
      .devinfo-tree cr        ( dip )
   then                       ( dip )
   dup devi_sibling ?dup  if  ( dip sibling )
      .devinfo-tree cr        ( dip )
   then                       ( dip )
   drop                       ( )
   [ previous ]
;

: .devinfo-inst ( dip -- )
   [ also dev_info-words ]
   begin  ?dup  while         ( dip )
      dup .dev_info cr        ( dip )
      devi_next               ( nextdip )
   repeat                     ( )
   [ previous ]
;

: .devinfo-level ( dip -- )
   [ also dev_info-words ]
   begin  ?dup  while         ( dip )
      dup .dev_info cr        ( dip)
      devi_sibling            ( siblingdip )
   repeat                     ( )
   [ previous ]
;

: pm_devinfo ( adr-struct-dev_info -- )
   [ also dev_info-words ]
   [ also pm_info-words ]
   [ also pm_component-words ]
   dup devi_binding_name ." name: " .str
   dup devi_addr ." @" .str cr
   dup devi_pm_info ." devi_pm_info: " .x space
   dup 0 <> if dup devi_pm_info  pm_info then cr
   dup devi_pm_components ." devi_pm_components: " .x space
   devi_pm_components pm_component
   [ previous ]
;


vocabulary kmem_bufctl-words
h# 18 constant kmem_bufctl-sz
18 ' kmem_bufctl-words c-struct .kmem_bufctl
also kmem_bufctl-words definitions

' .x 10 ptr-field bc_slab
' .x 8 ptr-field bc_addr
' .x 0 ptr-field bc_next

kdbg-words definitions
previous

\ end kmem_bufctl section


vocabulary kmem_bufctl_audit-words
h# 80 constant kmem_bufctl_audit-sz
80 ' kmem_bufctl_audit-words c-struct .kmem_bufctl_audit
also kmem_bufctl_audit-words definitions

' l@ ' .x 3c 4 44 array-field bc_stack
' .x 40 long-field bc_depth
' .x 38 ptr-field bc_contents
' .x 30 ptr-field bc_lastlog
' .x 28 ptr-field bc_thread
' .x 20 ext-field bc_timestamp
' .x 18 ptr-field bc_cache
' .x 10 ptr-field bc_slab
' .x 8 ptr-field bc_addr
' .x 0 ptr-field bc_next

kdbg-words definitions
previous

\ end kmem_bufctl_audit section


vocabulary kmem_buftag-words
h# 18 constant kmem_buftag-sz
18 ' kmem_buftag-words c-struct .kmem_buftag
also kmem_buftag-words definitions

' .x 10 ext-field bt_bxstat
' .x 8 ptr-field bt_bufctl
' .x 0 ext-field bt_redzone

kdbg-words definitions
previous

\ end kmem_buftag section


vocabulary kmem_slab-words
h# 48 constant kmem_slab-sz
48 ' kmem_slab-words c-struct .kmem_slab
also kmem_slab-words definitions

' .x 46 short-field slab_flags
' .x 44 short-field slab_later_count
' .x 40 long-field slab_stuck_offset
' .x 38 ext-field slab_chunks
' .x 30 ext-field slab_refcnt
' .x 28 ptr-field slab_head
' .x 10 struct-field slab_link
' .x 8 ptr-field slab_base
' .x 0 ptr-field slab_cache

kdbg-words definitions
previous

\ end kmem_slab section


vocabulary kmem_cpu_cache-words
h# 40 constant kmem_cpu_cache-sz
40 ' kmem_cpu_cache-words c-struct .kmem_cpu_cache
also kmem_cpu_cache-words definitions

' c@ ' .x a 1 36 array-field cc_pad
' .x 34 short-field cc_dump_prounds
' .x 32 short-field cc_dump_rounds
' .x 30 short-field cc_magsize
' .x 2e short-field cc_prounds
' .x 2c short-field cc_rounds
' .x 28 long-field cc_flags
' .x 20 ptr-field cc_ploaded
' .x 18 ptr-field cc_loaded
' .x 10 ext-field cc_free
' .x 8 ext-field cc_alloc
' .x 0 struct-field cc_lock

kdbg-words definitions
previous

\ end kmem_cpu_cache section


vocabulary kmem_cache-words
h# 278 constant kmem_cache-sz
278 ' kmem_cache-words c-struct .kmem_cache
also kmem_cache-words definitions

' noop ' .x 40 40 238 array-field cache_cpu
' .x 230 ptr-field cache_dumplog
' .x 228 ptr-field cache_dumpfreelist
' .x 200 struct-field cache_empty
' .x 1d8 struct-field cache_full
' .x 1d0 ptr-field cache_magtype
' .x 1c8 struct-field cache_depot_lock
' .x 1c0 ptr-field cache_defrag
' .x 1b8 ptr-field cache_hash_table
' .x 1b0 ptr-field cache_bufctl_cache
' .x 1a8 ext-field cache_partial_binshift
' .x 180 struct-field cache_partial_slabs
' .x 178 ext-field cache_complete_slab_count
' .x 158 struct-field cache_complete_slabs
' .x 150 ext-field cache_hash_mask
' .x 148 ext-field cache_hash_shift
' .x 140 ext-field cache_maxcolor
' .x 138 ext-field cache_mincolor
' .x 130 ext-field cache_color
' .x 128 ext-field cache_contents
' .x 120 ext-field cache_verify
' .x 118 ext-field cache_buftag
' .x 110 ext-field cache_bufctl
' .x 108 ext-field cache_maxchunks
' .x 100 ext-field cache_slabsize
' .x f8 ext-field cache_chunksize
' .x f0 struct-field cache_lock
' .x e0 struct-field cache_link
' .x d8 ptr-field cache_kstat
' .x d4 long-field cache_pad1
' .x d0 long-field cache_mtbf
' .x cc long-field cache_flags
' .x c8 long-field cache_cflags
' .x c0 ptr-field cache_arena
' .x b8 ptr-field cache_private
' .x b0 ptr-field cache_move
' .x a8 ptr-field cache_reclaim
' .x a0 ptr-field cache_destructor
' .x 98 ptr-field cache_constructor
' .x 90 ext-field cache_align
' .x 88 ext-field cache_bufsize
' c@ ' .x 20 1 68 array-field cache_name
' .x 60 ext-field cache_depot_contention_prev
' .x 58 ext-field cache_depot_contention
' .x 50 ext-field cache_lookup_depth
' .x 48 ext-field cache_rescale
' .x 40 ext-field cache_reap
' .x 38 ext-field cache_bufslab
' .x 30 ext-field cache_bufmax
' .x 28 ext-field cache_buftotal
' .x 20 ext-field cache_alloc_fail
' .x 18 ext-field cache_slab_free
' .x 10 ext-field cache_slab_alloc
' .x 8 ext-field cache_slab_destroy
' .x 0 ext-field cache_slab_create

kdbg-words definitions
previous

\ end kmem_cache section


h# feed.face constant buftag-marker

: >kmem_buftag  ( addr -- buftag )
   symbol kmem_flags l@  h# f and
   0=  if  ." no buftags in kmem flags" drop exit  then
   /l round-up
   begin  dup l@ buftag-marker <>  while  la1+  repeat
   2 la+
;

: bufaudit-trace  ( bufaudit -- ) 
   [ also kmem_bufctl_audit-words ]
   dup bc_depth 0  do
      dup i ['] bc_stack index  .addr>sym cr
   loop  drop
   [ previous ]
;


vocabulary vmem_seg-words
h# 98 constant vmem_seg-sz
98 ' vmem_seg-words c-struct .vmem_seg
also vmem_seg-words definitions

' l@ ' .x 50 4 48 array-field vs_stack
' .x 40 ext-field vs_timestamp
' .x 38 ptr-field vs_thread
' .x 32 byte-field vs_depth
' .x 31 byte-field vs_import
' .x 30 byte-field vs_type
' .x 28 ptr-field vs_aprev
' .x 20 ptr-field vs_anext
' .x 18 ptr-field vs_kprev
' .x 10 ptr-field vs_knext
' .x 8 ext-field vs_end
' .x 0 ext-field vs_start

kdbg-words definitions
previous

\ end vmem_seg section


vocabulary vmem_freelist-words
h# 20 constant vmem_freelist-sz
20 ' vmem_freelist-words c-struct .vmem_freelist
also vmem_freelist-words definitions

' .x 18 ptr-field vs_kprev
' .x 10 ptr-field vs_knext
' .x 8 ext-field vs_end
' .x 0 ext-field vs_start

kdbg-words definitions
previous

\ end vmem_freelist section


vocabulary vmem-words
h# d98 constant vmem-sz
d98 ' vmem-words c-struct .vmem
also vmem-words definitions

' .x a0 ext-field vm_freemap
' .x 98 ext-field vm_hash_shift
' .x 90 ext-field vm_hash_mask
' .x 88 ptr-field vm_hash_table
' .x 80 ptr-field vm_segfree
' .d 78 ext-field vm_nsegfree
' .x 70 ptr-field vm_ksp
' .x 68 ptr-field vm_next
' .x 60 ptr-field vm_source
' .addr>sym 58 ptr-field vm_source_free
' .addr>sym 50 ptr-field vm_source_alloc
' .d 40 ext-field vm_qcache_max
' .d 38 ext-field vm_quantum
' .d 34 long-field vm_qshift
' .mutex 20 struct-field vm_lock
' .x 1e struct-field vm_cv
' c@ ' emit 1e 1 0 array-field vm_name

kdbg-words definitions
previous

\ end vmem section


here ," VNON" 0
here ," VREG" 1
here ," VDIR" 2
here ," VBLK" 3
here ," VCHR" 4
here ," VLNK" 5
here ," VFIFO" 6
here ," VDOOR" 7
here ," VPROC" 8
here ," VSOCK" 9
here ," VPORT" a
here ," VBAD" b
c c-enum .vtype

vocabulary vattr-words
h# 88 constant vattr-sz
88 ' vattr-words c-struct .vattr
also vattr-words definitions

' .d 78 ext-field va_nblocks
' .d 70 long-field va_blksize
' .dev_t 68 ext-field va_rdev
' .timespec 58 struct-field va_ctime
' .timespec 48 struct-field va_mtime
' .timespec 38 struct-field va_atime
' .d 30 ext-field va_size
' .d 28 long-field va_nlink
' .x 20 ext-field va_nodeid
' .x 18 ext-field va_fsid
' .d 10 long-field va_gid
' .d c long-field va_uid
' .x 8 long-field va_mode
' .d 4 long-field va_type
' .x 0 long-field va_mask

kdbg-words definitions
previous

\ end vattr section


vocabulary vnode-words
h# d0 constant vnode-sz
d0 ' vnode-words c-struct .vnode
also vnode-words definitions

' .x 50 ptr-field v_filocks
' .x 48 ptr-field v_pages
' .addr>sym 40 ptr-field v_op
' .x 38 ptr-field v_vfsmountedhere
' .dev_t 30 ext-field v_rdev
' .vtype 28 long-field v_type
' .x 20 ptr-field v_stream
' .x 18 ptr-field v_vfsp
' .x 10 ptr-field v_data
' .d c long-field v_count
' .x 8 long-field v_flag

kdbg-words definitions
previous

\ end vnode section


vocabulary vfs-words
h# d0 constant vfs-sz
d0 ' vfs-words c-struct .vfs
also vfs-words definitions

' .x b8 ptr-field vfs_zone_prev
' .x b0 ptr-field vfs_zone_next
' .x a8 ptr-field vfs_zone
' .x 58 ptr-field vfs_hash
' .x 50 ptr-field vfs_list
' .dev_t 40 ext-field vfs_dev
' .x 38 ptr-field vfs_data
' .d 28 long-field vfs_fstype
' .x 20 long-field vfs_flag
' .x 18 ptr-field vfs_vnodecovered
' .addr>sym 10 ptr-field vfs_op
' .x 8 ptr-field vfs_prev
' .x 0 ptr-field vfs_next

kdbg-words definitions
previous

\ end vfs section


vocabulary callout-words
h# 50 constant callout-sz
50 ' callout-words c-struct .callout
also callout-words definitions

' .x 4a short-field c_waiting
' .x 48 struct-field c_done
' .x 40 ptr-field c_executor
' .x 38 ptr-field c_arg
' .x 30 ptr-field c_func
' .x 28 ptr-field c_list
' .x 20 ext-field c_xid
' .x 18 ptr-field c_clprev
' .x 10 ptr-field c_clnext
' .x 8 ptr-field c_idprev
' .x 0 ptr-field c_idnext

kdbg-words definitions
previous

\ end callout section


vocabulary callout_table-words
h# c0 constant callout_table-sz
c0 ' callout_table-words c-struct .callout_table
also callout_table-words definitions

' c@ ' .x 1c 1 a4 array-field ct_pad
' .x a0 long-field ct_nreap
' .x 98 ptr-field ct_kstats
' .x 90 ptr-field ct_taskq
' .x 80 struct-field ct_expired
' .x 78 ext-field ct_gen_id
' .x 70 ptr-field ct_lcache
' .x 68 ptr-field ct_cache
' .x 60 ext-field ct_heap_max
' .x 58 ext-field ct_heap_num
' .x 50 ptr-field ct_heap
' .x 48 ext-field ct_cyclic
' .x 44 long-field ct_suspend
' .x 40 long-field ct_type
' .x 38 ptr-field ct_kstat_data
' .x 30 ptr-field ct_clhash
' .x 28 ptr-field ct_idhash
' .x 20 ext-field ct_long_id
' .x 18 ext-field ct_short_id
' .x 10 ptr-field ct_lfree
' .x 8 ptr-field ct_free
' .x 0 struct-field ct_mutex

kdbg-words definitions
previous

\ end callout_table section


vocabulary cred-words
h# 80 constant cred-sz
80 ' cred-words c-struct .cred
also cred-words definitions

' .x 58 ptr-field cr_zone
' .d 18 long-field cr_sgid
' .d 14 long-field cr_suid
' .d 10 long-field cr_rgid
' .d c long-field cr_ruid
' .d 8 long-field cr_gid
' .d 4 long-field cr_uid
' .d 0 long-field cr_ref

kdbg-words definitions
previous

\ end cred section


vocabulary kstat_named.value-words
h# 10 constant kstat_named.value-sz
10 ' kstat_named.value-words c-struct .kstat_named.value
also kstat_named.value-words definitions

' .x 0 ext-field ul

kdbg-words definitions
previous

\ end kstat_named.value section


vocabulary kstat_named-words
h# 30 constant kstat_named-sz
30 ' kstat_named-words c-struct .kstat_named
also kstat_named-words definitions

' .kstat_named.value 20 struct-field value
' c@ ' emit 1f 1 0 array-field name

kdbg-words definitions
previous

\ end kstat_named section


vocabulary kstat-words
h# b8 constant kstat-sz
b8 ' kstat-words c-struct .kstat
also kstat-words definitions

' .x b0 ptr-field ks_lock
' .x a8 ptr-field ks_snapshot
' .x a0 ptr-field ks_private
' .x 98 ptr-field ks_update
' .x 90 ext-field ks_snaptime
' .x 88 ext-field ks_data_size
' .x 80 long-field ks_ndata
' .x 78 ptr-field ks_data
' .x 77 byte-field ks_flags
' c@ ' .x 1f 1 58 array-field ks_class
' .x 57 byte-field ks_type
' c@ ' .x 1f 1 38 array-field ks_name
' .x 34 long-field ks_instance
' .x 33 byte-field ks_resv
' c@ ' .x 1f 1 14 array-field ks_module
' .x 10 long-field ks_kid
' .x 8 ptr-field ks_next
' .x 0 ext-field ks_crtime

kdbg-words definitions
previous

\ end kstat section


vocabulary cyc_cpu-words
h# b8 constant cyc_cpu-sz
b8 ' cyc_cpu-words c-struct .cyc_cpu
also cyc_cpu-words definitions

' .x b4 long-field cyp_rpend
' .x b0 long-field cyp_modify_levels
' .x a0 struct-field cyp_modify_wait
' .x 98 ptr-field cyp_backend
' noop ' .x 70 38 28 array-field cyp_softbuf
' .d 20 long-field cyp_state
' .x 1c long-field cyp_size
' .x 18 long-field cyp_nelems
' .x 10 ptr-field cyp_cyclics
' .x 8 ptr-field cyp_heap
' .x 0 ptr-field cyp_cpu

kdbg-words definitions
previous

\ end cyc_cpu section


vocabulary cyclic-words
h# 28 constant cyclic-sz
28 ' cyclic-words c-struct .cyclic
also cyclic-words definitions

' .x 26 short-field cy_level
' .x 24 short-field cy_flags
' .x 20 long-field cy_pend
' .x 18 ptr-field cy_arg
' .x 10 ptr-field cy_handler
' .x 8 ext-field cy_interval
' .x 0 ext-field cy_expire

kdbg-words definitions
previous

\ end cyclic section


vocabulary cyc_pcbuffer-words
h# 18 constant cyc_pcbuffer-sz
18 ' cyc_pcbuffer-words c-struct .cyc_pcbuffer
also cyc_pcbuffer-words definitions

' .x 10 long-field cypc_sizemask
' .x c long-field cypc_consndx
' .x 8 long-field cypc_prodndx
' .x 0 ptr-field cypc_buf

kdbg-words definitions
previous

\ end cyc_pcbuffer section


vocabulary cyc_softbuf-words
h# 38 constant cyc_softbuf-sz
38 ' cyc_softbuf-words c-struct .cyc_softbuf
also cyc_softbuf-words definitions

' noop ' .x 30 18 8 array-field cys_buf
' .x 1 byte-field cys_soft
' .x 0 byte-field cys_hard

kdbg-words definitions
previous

\ end cyc_softbuf section


vocabulary cyc_id-words
h# 48 constant cyc_id-sz
48 ' cyc_id-words c-struct .cyc_id
also cyc_id-words definitions

' .x 40 ptr-field cyi_omni_list
' .x 28 struct-field cyi_omni_hdlr
' .x 20 ptr-field cyi_next
' .x 18 ptr-field cyi_prev
' .x 10 long-field cyi_ndx
' .x 8 ptr-field cyi_cpu
' .x 0 struct-field cyi_lock

kdbg-words definitions
previous

\ end cyc_id section


vocabulary cyc_tracerec-words
h# 20 constant cyc_tracerec-sz
20 ' cyc_tracerec-words c-struct .cyc_tracerec
also cyc_tracerec-words definitions

' .x 18 ext-field cyt_arg1
' .x 10 ext-field cyt_arg0
' .str 8 ptr-field cyt_why
' .x 0 ext-field cyt_tstamp

kdbg-words definitions
previous

\ end cyc_tracerec section


vocabulary cyc_tracebuf-words
h# 4008 constant cyc_tracebuf-sz
4008 ' cyc_tracebuf-words c-struct .cyc_tracebuf
also cyc_tracebuf-words definitions

' noop ' .x 4000 20 8 array-field cyt_buf
' .x 0 long-field cyt_ndx

kdbg-words definitions
previous

\ end cyc_tracebuf section


vocabulary streamtab-words
h# 20 constant streamtab-sz
20 ' streamtab-words c-struct .streamtab
also streamtab-words definitions

' .x 18 ptr-field st_muxwinit
' .x 10 ptr-field st_muxrinit
' .x 8 ptr-field st_wrinit
' .x 0 ptr-field st_rdinit

kdbg-words definitions
previous

\ end streamtab section


vocabulary stroptions-words
h# 40 constant stroptions-sz
40 ' stroptions-words c-struct .stroptions
also stroptions-words definitions

' .x 3a short-field so_tail
' .x 38 short-field so_copyopt
' .x 30 ext-field so_maxblk
' .x 2a short-field so_erropt
' .x 28 byte-field so_band
' .x 20 ext-field so_lowat
' .x 18 ext-field so_hiwat
' .x 10 ext-field so_maxpsz
' .x 8 ext-field so_minpsz
' .x 6 short-field so_wroff
' .x 4 short-field so_readopt
' .x 0 long-field so_flags

kdbg-words definitions
previous

\ end stroptions section


vocabulary struiod-words
h# 138 constant struiod-sz
138 ' struiod-words c-struct .struiod
also struiod-words definitions

' noop ' .x 100 10 38 array-field d_iov
' .x 8 struct-field d_uio
' .x 0 ptr-field d_mp

kdbg-words definitions
previous

\ end struiod section


vocabulary infod-words
h# 18 constant infod-sz
18 ' infod-words c-struct .infod
also infod-words definitions

' .x 10 ptr-field d_uiop
' .x 8 long-field d_count
' .x 4 long-field d_bytes
' .x 1 byte-field d_res
' .x 0 byte-field d_cmd

kdbg-words definitions
previous

\ end infod section


vocabulary queue-words
h# f8 constant queue-sz
f8 ' queue-words c-struct .queue
also queue-words definitions

' .x f0 ptr-field q_fp
' .x e8 ext-field q_sqtstamp
' .x e0 long-field q_sqflags
' .x d8 ptr-field q_sqprev
' .x d0 ptr-field q_sqnext
' .x c8 ptr-field q_sqtail
' .x c0 ptr-field q_sqhead
' .x b8 short-field q_spri
' .x b0 ext-field q_rwcnt
' .x a8 long-field q_syncqmsgs
' .x a0 ext-field q_mblkcnt
' .x 98 ext-field q_qtstamp
' .x 92 short-field q_struiot
' .x 90 short-field q_draining
' .x 88 ptr-field q_nfsrv
' .x 82 struct-field q_wait
' .x 80 byte-field q_nband
' .x 78 ptr-field q_syncq
' .x 70 ptr-field q_stream
' .x 68 struct-field q_lock
' .x 60 ptr-field q_bandp
' .x 58 ext-field q_lowat
' .x 50 ext-field q_hiwat
' .x 48 ext-field q_maxpsz
' .x 40 ext-field q_minpsz
' .x 38 long-field q_flag
' .x 30 ext-field q_count
' .x 28 ptr-field q_ptr
' .x 20 ptr-field q_link
' .x 18 ptr-field q_next
' .x 10 ptr-field q_last
' .x 8 ptr-field q_first
' .x 0 ptr-field q_qinfo

kdbg-words definitions
previous

\ end queue section


vocabulary module_info-words
h# 30 constant module_info-sz
30 ' module_info-words c-struct .module_info
also module_info-words definitions

' .d 28 ext-field mi_lowat
' .d 20 ext-field mi_hiwat
' .d 18 ext-field mi_maxpsz
' .d 10 ext-field mi_minpsz
' .str 8 ptr-field mi_idname
' .d 0 short-field mi_idnum

kdbg-words definitions
previous

\ end module_info section


vocabulary qinit-words
h# 50 constant qinit-sz
50 ' qinit-words c-struct .qinit
also qinit-words definitions

' .x 48 long-field qi_struiot
' .addr>sym 40 ptr-field qi_infop
' .module_info 28 ptr-field qi_minfo
' .addr>sym 20 ptr-field qi_qadmin
' .addr>sym 18 ptr-field qi_qclose
' .addr>sym 10 ptr-field qi_qopen
' .addr>sym 8 ptr-field qi_srvp
' .addr>sym 0 ptr-field qi_putp

kdbg-words definitions
previous

\ end qinit section


vocabulary linkblk-words
h# 18 constant linkblk-sz
18 ' linkblk-words c-struct .linkblk
also linkblk-words definitions

' .x 10 long-field l_index
' .x 8 ptr-field l_qbot
' .x 0 ptr-field l_qtop

kdbg-words definitions
previous

\ end linkblk section


vocabulary free_rtn-words
h# 10 constant free_rtn-sz
10 ' free_rtn-words c-struct .free_rtn
also free_rtn-words definitions

' .x 8 ptr-field free_arg
' .x 0 ptr-field free_func

kdbg-words definitions
previous

\ end free_rtn section


vocabulary stdata-words
h# 178 constant stdata-sz
178 ' stdata-words c-struct .stdata
also stdata-words definitions

' .x 170 ptr-field sd_cmdblk
' .x 16c long-field sd_anchorzone
' .x 168 long-field sd_copyflag
' .x 166 struct-field sd_zcopy_wait
' .x 164 struct-field sd_qcv
' .x 162 short-field sd_nqueues
' .x 160 short-field sd_svcflags
' .x 158 ptr-field sd_servid
' .x 150 ptr-field sd_qtail
' .x 148 ptr-field sd_qhead
' .x 140 struct-field sd_qlock
' .x 13c long-field sd_anchor
' .x 138 long-field sd_nciputctrl
' .x 130 ptr-field sd_ciputctrl
' .x 128 ptr-field sd_wrerrfunc
' .x 120 ptr-field sd_rderrfunc
' .x 118 ptr-field sd_wputdatafunc
' .x 110 ptr-field sd_rmiscfunc
' .x 108 ptr-field sd_rputdatafunc
' .x 100 ptr-field sd_rprotofunc
' .x f8 long-field sd_read_opt
' .x f4 long-field sd_wput_opt
' .x f0 long-field sd_rput_opt
' .x e8 ext-field sd_maxblk
' .x e0 ptr-field sd_t_audit_data
' .x d8 ptr-field sd_struionak
' .x d0 byte-field sd_struiodnak
' .x c8 ptr-field sd_struiowrq
' .x c0 ptr-field sd_struiordq
' .x bc long-field sd_wakeq
' .x b8 long-field sd_refcnt
' .x b0 struct-field sd_reflock
' .x a8 ptr-field sd_freezer
' .x a0 ptr-field sd_mate
' .x 98 ext-field sd_qn_maxpsz
' .x 90 ext-field sd_qn_minpsz
' .x 8c struct-field sd_refmonitor
' .x 8a struct-field sd_iocmonitor
' .x 88 struct-field sd_monitor
' .x 80 struct-field sd_lock
' .x 78 ext-field sd_closetime
' .x 70 ptr-field sd_mark
' .x 58 struct-field sd_pollist
' .x 50 ptr-field sd_siglist
' .x 48 long-field sd_sigflags
' .x 44 long-field sd_pushcnt
' .x 40 long-field sd_werror
' .x 3c long-field sd_rerror
' .x 3a short-field sd_wroff
' .x 38 short-field sd_tail
' .x 30 ptr-field sd_pgidp
' .x 28 ptr-field sd_sidp
' .x 24 long-field sd_iocid
' .x 20 long-field sd_flag
' .x 18 ptr-field sd_strtab
' .x 10 ptr-field sd_vnode
' .x 8 ptr-field sd_iocblk
' .x 0 ptr-field sd_wrq

kdbg-words definitions
previous

\ end stdata section


vocabulary syncq-words
h# a0 constant syncq-sz
a0 ' syncq-words c-struct .syncq
also syncq-words definitions

' .x 98 short-field sq_pri
' .x 90 ext-field sq_tstamp
' .x 8c long-field sq_svcflags
' .x 88 long-field sq_servcount
' .x 80 ptr-field sq_servid
' .x 78 ptr-field sq_next
' .x 74 long-field sq_needexcl
' .x 70 long-field sq_nciputctrl
' .x 68 ptr-field sq_ciputctrl
' .x 60 ptr-field sq_oprev
' .x 58 ptr-field sq_onext
' .x 50 ptr-field sq_outer
' .x 48 ptr-field sq_callbpend
' .x 40 ext-field sq_cancelid
' .x 3c short-field sq_callbflags
' .x 3a struct-field sq_exitwait
' .x 38 struct-field sq_wait
' .x 36 short-field sq_rmqcount
' .x 34 short-field sq_type
' .x 30 long-field sq_nqueues
' .x 28 ptr-field sq_evtail
' .x 20 ptr-field sq_evhead
' .x 18 ptr-field sq_tail
' .x 10 ptr-field sq_head
' .x a short-field sq_flags
' .x 8 short-field sq_count
' .x 0 struct-field sq_lock

kdbg-words definitions
previous

\ end syncq section


vocabulary msgb-words
h# 40 constant msgb-sz
40 ' msgb-words c-struct .msgb
also msgb-words definitions

' .x 38 ptr-field b_queue
' .x 32 short-field b_flag
' .x 31 byte-field b_tag
' .x 30 byte-field b_band
' .x 28 ptr-field b_datap
' .x 20 ptr-field b_wptr
' .x 18 ptr-field b_rptr
' .x 10 ptr-field b_cont
' .x 8 ptr-field b_prev
' .x 0 ptr-field b_next

kdbg-words definitions
previous

\ end msgb section


vocabulary datab-words
h# 70 constant datab-sz
70 ' datab-words c-struct .datab
also datab-words definitions

' .x 68 ptr-field db_credp
' .x 60 ptr-field db_fthdr
' .x 58 struct-field db_struioun
' .x 50 ext-field db_cksumstuff
' .x 48 ext-field db_cksumend
' .x 40 ext-field db_cksumstart
' .x 38 ptr-field db_lastfree
' .x 30 ptr-field db_free
' .x 28 ptr-field db_mblk
' .x 20 ptr-field db_cache
' .x 1c long-field db_cpid
' .x 1b byte-field db_struioflag
' .x 1a byte-field db_flags
' .x 19 byte-field db_type
' .x 18 byte-field db_ref
' .x 10 ptr-field db_lim
' .x 8 ptr-field db_base
' .x 0 ptr-field db_frtnp

kdbg-words definitions
previous

\ end datab section


vocabulary qband-words
h# 40 constant qband-sz
40 ' qband-words c-struct .qband
also qband-words definitions

' .x 38 ext-field qb_mblkcnt
' .x 30 long-field qb_flag
' .x 28 ext-field qb_lowat
' .x 20 ext-field qb_hiwat
' .x 18 ptr-field qb_last
' .x 10 ptr-field qb_first
' .x 8 ext-field qb_count
' .x 0 ptr-field qb_next

kdbg-words definitions
previous

\ end qband section


vocabulary iocblk-words
h# 28 constant iocblk-sz
28 ' iocblk-words c-struct .iocblk
also iocblk-words definitions

' .x 24 long-field ioc_error
' .x 20 long-field ioc_rval
' .x 18 ext-field ioc_count
' .x 14 long-field ioc_flag
' .x 10 long-field ioc_id
' .x 8 ptr-field ioc_cr
' .x 0 long-field ioc_cmd

kdbg-words definitions
previous

\ end iocblk section


vocabulary copyreq-words
h# 30 constant copyreq-sz
30 ' copyreq-words c-struct .copyreq
also copyreq-words definitions

' .x 28 ext-field cq_size
' .x 20 ptr-field cq_addr
' .x 18 ptr-field cq_private
' .x 14 long-field cq_flag
' .x 10 long-field cq_id
' .x 8 ptr-field cq_cr
' .x 0 long-field cq_cmd

kdbg-words definitions
previous

\ end copyreq section


vocabulary copyresp-words
h# 28 constant copyresp-sz
28 ' copyresp-words c-struct .copyresp
also copyresp-words definitions

' .x 20 ptr-field cp_rval
' .x 18 ptr-field cp_private
' .x 14 long-field cp_flag
' .x 10 long-field cp_id
' .x 8 ptr-field cp_cr
' .x 0 long-field cp_cmd

kdbg-words definitions
previous

\ end copyresp section


vocabulary ioctypes-words
h# 30 constant ioctypes-sz
30 ' ioctypes-words c-struct .ioctypes
also ioctypes-words definitions

' .x 0 struct-field iocblk
' .x 0 struct-field copyreq
' .x 0 struct-field copyresp

kdbg-words definitions
previous

\ end ioctypes section


: .stream-list ( stream -- )
   [ also stdata-words ]
   [ also queue-words ]
   [ also qinit-words ]
   sd_wrq		       ( queue )
   begin  ?dup  while          ( queue )
      dup .queue cr	       ( queue )
      dup q_qinfo .qinit cr    ( queue )
      cr
      q_next		       ( queue' )
   repeat                      ( )
   [ previous ]
   [ previous ]
   [ previous ]
;

: .msgbuf
   [ also queue-words ]
   log_recentq p@ q_first        ( msgb0 )      \ msgb0 = log_recentq->q_first
   [ previous ]
   [ also msgb-words ]
   begin
      dup                       ( msgb msgb )
   while                        ( msgb )
      dup b_cont                ( msgb msgb->b_cont )
      dup b_rptr swap b_wptr    ( msgb b_cont->b_rptr b_cont->b_wptr )
      over - lf-type            ( msgb )
      b_next                    ( msgb' )     \ msgb' = msgb->b_next
   repeat                       ( msgb' )
   [ previous ]
   drop cr                      ( )
;


vocabulary ipc_service-words
h# 98 constant ipc_service-sz
98 ' ipc_service-words c-struct .ipc_service
also ipc_service-words definitions

' .x 90 long-field ipcs_atype
' .x 70 struct-field ipcs_usedids
' .x 68 ptr-field ipcs_rmid
' .x 60 ptr-field ipcs_dtor
' .x 58 ext-field ipcs_ssize
' .x 50 ptr-field ipcs_ids
' .x 48 ext-field ipcs_rctlofs
' .x 44 long-field ipcs_zone_rctl
' .x 40 long-field ipcs_proj_rctl
' .x 3c long-field ipcs_count
' .x 38 long-field ipcs_tabsz
' .x 30 ptr-field ipcs_table
' .x 8 struct-field ipcs_keys
' .x 0 struct-field ipcs_lock

kdbg-words definitions
previous

\ end ipc_service section


vocabulary kipc_perm-words
h# 60 constant kipc_perm-sz
60 ' kipc_perm-words c-struct .kipc_perm
also kipc_perm-words definitions

' .x 58 ptr-field ipc_zone
' .x 54 long-field ipc_zoneid
' .x 50 long-field ipc_id
' .x 48 ptr-field ipc_proj
' .x 40 long-field ipc_key
' .x 3c long-field ipc_mode
' .x 38 long-field ipc_cgid
' .x 34 long-field ipc_cuid
' .x 30 long-field ipc_gid
' .x 2c long-field ipc_uid
' .x 28 long-field ipc_ref
' .x 18 struct-field ipc_list
' .x 0 struct-field ipc_avl

kdbg-words definitions
previous

\ end kipc_perm section


vocabulary kshmid-words
h# c8 constant kshmid-sz
c8 ' kshmid-words c-struct .kshmid
also kshmid-words definitions

' .x c0 ext-field shm_sptprot
' .x b8 ptr-field shm_sptseg
' .x b0 ptr-field shm_sptinfo
' .x a8 ext-field shm_ctime
' .x a0 ext-field shm_dtime
' .x 98 ext-field shm_atime
' .x 90 ext-field shm_ismattch
' .x 8c long-field shm_cpid
' .x 88 long-field shm_lpid
' .x 80 struct-field shm_mlock
' .x 78 ext-field shm_lkpages
' .x 70 short-field shm_lkcnt
' .x 68 ptr-field shm_amp
' .x 60 ext-field shm_segsz
' .x 0 struct-field shm_perm

kdbg-words definitions
previous

\ end kshmid section


vocabulary ksemid-words
h# a8 constant ksemid-sz
a8 ' ksemid-words c-struct .ksemid
also ksemid-words definitions

' .x 88 struct-field sem_undos
' .x 84 long-field sem_maxops
' .x 80 long-field sem_binary
' .x 78 ext-field sem_ctime
' .x 70 ext-field sem_otime
' .x 68 short-field sem_nsems
' .x 60 ptr-field sem_base
' .x 0 struct-field sem_perm

kdbg-words definitions
previous

\ end ksemid section


vocabulary kmsqid-words
h# 1178 constant kmsqid-sz
1178 ' kmsqid-words c-struct .kmsqid
also kmsqid-words definitions

' .x 1174 byte-field msg_neg_copy
' .x 1170 long-field msg_ngt_cnt
' .x 1168 ext-field msg_snd_smallest
' .x 1148 struct-field msg_wait_rcv
' noop ' .x 820 20 928 array-field msg_wait_snd_ngt
' noop ' .x 820 20 108 array-field msg_wait_snd
' .x e8 struct-field msg_cpy_block
' .x e0 struct-field msg_snd_cv
' .x d8 ptr-field msg_fnd_rdr
' .x d0 ptr-field msg_fnd_sndr
' .x c8 ext-field msg_lowest_type
' .x c4 long-field msg_rcv_cnt
' .x c0 long-field msg_snd_cnt
' .x b8 ext-field msg_ctime
' .x b0 ext-field msg_rtime
' .x a8 ext-field msg_stime
' .x a4 long-field msg_lrpid
' .x a0 long-field msg_lspid
' .x 98 ext-field msg_qbytes
' .x 90 ext-field msg_qmax
' .x 88 ext-field msg_qnum
' .x 80 ext-field msg_cbytes
' .x 60 struct-field msg_list
' .x 0 struct-field msg_perm

kdbg-words definitions
previous

\ end kmsqid section


vocabulary dirent64-words
h# 18 constant dirent64-sz
18 ' dirent64-words c-struct .dirent64
also dirent64-words definitions

' c@ ' .x 1 1 12 array-field d_name
' .x 10 short-field d_reclen
' .x 8 ext-field d_off
' .x 0 ext-field d_ino

kdbg-words definitions
previous

\ end dirent64 section


vocabulary dirent32-words
h# c constant dirent32-sz
c ' dirent32-words c-struct .dirent32
also dirent32-words definitions

' c@ ' .x 1 1 a array-field d_name
' .x 8 short-field d_reclen
' .x 4 long-field d_off
' .x 0 long-field d_ino

kdbg-words definitions
previous

\ end dirent32 section


vocabulary dirent-words
h# 18 constant dirent-sz
18 ' dirent-words c-struct .dirent
also dirent-words definitions

' c@ ' .x 1 1 12 array-field d_name
' .x 10 short-field d_reclen
' .x 8 ext-field d_off
' .x 0 ext-field d_ino

kdbg-words definitions
previous

\ end dirent section


vocabulary ufid-words
h# c constant ufid-sz
c ' ufid-words c-struct .ufid
also ufid-words definitions

' .x 8 long-field ufid_gen
' .x 4 long-field ufid_ino
' .x 2 short-field ufid_flags
' .x 0 short-field ufid_len

kdbg-words definitions
previous

\ end ufid section


vocabulary mntinfo-words
h# 228 constant mntinfo-sz
228 ' mntinfo-words c-struct .mntinfo
also mntinfo-words definitions

' .x 220 struct-field mi_remap_lock
' .x 210 struct-field mi_zone_node
' .x 208 ptr-field mi_zone
' .x 200 ptr-field mi_klmconfig
' .x 1f8 ptr-field mi_ro_kstats
' .x 1f0 ptr-field mi_io_kstats
' .x 1e8 long-field mi_remap
' .x 1e4 long-field mi_failover
' .x 1e0 long-field mi_noresponse
' .x 1d8 ptr-field mi_acl_timer_type
' .x 1d0 ptr-field mi_acl_ss_call_type
' .x 1c8 ptr-field mi_acl_call_type
' .x 1c0 ptr-field mi_aclreqs
' .x 1b8 ptr-field mi_aclnames
' .x 1b0 ext-field mi_printftime
' .x 1a8 ptr-field mi_timer_type
' .x 1a0 ptr-field mi_ss_call_type
' .x 198 ptr-field mi_call_type
' .x 190 ptr-field mi_reqs
' .x 188 ptr-field mi_rfsnames
' .x 184 long-field mi_vers
' .x 180 long-field mi_prog
' .x 178 ptr-field mi_pathconf
' .x 170 struct-field mi_async_lock
' .x 16a struct-field mi_async_work_cv
' .x 168 struct-field mi_async_cv
' .x 160 ptr-field mi_manager_thread
' .x 15c short-field mi_max_threads
' .x 15a short-field mi_threads
' .x 158 struct-field mi_async_reqs_cv
' .x 154 long-field mi_async_req_count
' .x 150 long-field mi_async_init_clusters
' l@ ' .x 18 4 138 array-field mi_async_clusters
' .x 130 ptr-field mi_async_curr
' x@ ' .x 30 8 100 array-field mi_async_tail
' x@ ' .x 30 8 d0 array-field mi_async_reqs
' .x cc long-field mi_curwrite
' .x c8 long-field mi_curread
' noop ' .x 60 18 68 array-field mi_timers
' .x 60 ext-field mi_maxfilesize
' .x 58 ext-field mi_acdirmax
' .x 50 ext-field mi_acdirmin
' .x 48 ext-field mi_acregmax
' .x 40 ext-field mi_acregmin
' .x 3c long-field mi_retrans
' .x 38 long-field mi_timeo
' .x 34 long-field mi_stsize
' .x 30 long-field mi_tsize
' .x 2c long-field mi_flags
' .d 28 long-field mi_type
' .x 20 ptr-field mi_vfsp
' .x 1c long-field mi_readers
' .x 18 struct-field mi_failover_cv
' .x 10 ptr-field mi_curr_serv
' .x 8 ptr-field mi_servers
' .x 0 struct-field mi_lock

kdbg-words definitions
previous

\ end mntinfo section


vocabulary failinfo-words
h# 28 constant failinfo-sz
28 ' failinfo-words c-struct .failinfo
also failinfo-words definitions

' .x 20 ptr-field xattrdirproc
' .x 18 ptr-field lookupproc
' .x 10 ptr-field copyproc
' .x 8 ptr-field fhp
' .x 0 ptr-field vp

kdbg-words definitions
previous

\ end failinfo section


vocabulary servinfo-words
h# 98 constant servinfo-sz
98 ' servinfo-words c-struct .servinfo
also servinfo-words definitions

' .x 90 struct-field sv_lock
' .x 88 ptr-field sv_next
' .x 84 long-field sv_flags
' .x 80 long-field sv_hostnamelen
' .x 78 ptr-field sv_hostname
' .x 70 ptr-field sv_secdata
' .x 20 struct-field sv_fhandle
' .x 10 struct-field sv_addr
' .x 8 ptr-field sv_origknconf
' .x 0 ptr-field sv_knconf

kdbg-words definitions
previous

\ end servinfo section


vocabulary nfs_fid-words
h# 24 constant nfs_fid-sz
24 ' nfs_fid-words c-struct .nfs_fid
also nfs_fid-words definitions

' c@ ' .x 20 1 4 array-field nf_data
' .x 2 short-field nf_pad
' .x 0 short-field nf_len

kdbg-words definitions
previous

\ end nfs_fid section


vocabulary svcfh-words
h# 20 constant svcfh-sz
20 ' svcfh-words c-struct .svcfh
also svcfh-words definitions

' c@ ' .x a 1 16 array-field fh_xdata
' .x 14 short-field fh_xlen
' c@ ' .x a 1 a array-field fh_data
' .x 8 short-field fh_len
' .x 0 struct-field fh_fsid

kdbg-words definitions
previous

\ end svcfh section


vocabulary sess-words
h# 40 constant sess-sz
40 ' sess-words c-struct .sess
also sess-words definitions

' .x 38 ptr-field s_cred
' .x 30 ptr-field s_vp
' .x 28 ext-field s_dev
' .x 24 struct-field s_cnt_cv
' .x 20 long-field s_cnt
' .x 1c struct-field s_exit_cv
' .d 18 long-field s_exit
' .d 14 long-field s_sighuped
' .x 10 long-field s_ref
' .x 8 struct-field s_lock
' .x 0 ptr-field s_sidp

kdbg-words definitions
previous

\ end sess section


vocabulary snode-words
h# 98 constant snode-sz
98 ' snode-words c-struct .snode
also snode-words definitions

' .x 90 struct-field s_cv
' .x 88 struct-field s_lock
' .x 80 ext-field s_mapcnt
' .x 78 long-field s_count
' .x 70 ext-field s_ctime
' .x 68 ext-field s_mtime
' .x 60 ext-field s_atime
' .x 58 ext-field s_fsid
' .x 50 long-field s_flag
' .x 48 ext-field s_size
' .x 40 ptr-field s_plcy
' .x 38 ptr-field s_list
' .x 30 ext-field s_nextr
' .x 28 ptr-field s_dip
' .x 20 ext-field s_dev
' .x 18 ptr-field s_commonvp
' .x 10 ptr-field s_realvp
' .x 8 ptr-field s_vnode
' .x 0 ptr-field s_next

kdbg-words definitions
previous

\ end snode section


vocabulary fnnode-words
h# f0 constant fnnode-sz
f0 ' fnnode-words c-struct .fnnode
also fnnode-words definitions

' .x 68 ptr-field fn_trigger
' .x 60 ptr-field fn_dirents
' .x 58 ptr-field fn_next
' .x 50 ptr-field fn_parent
' .x 48 ptr-field fn_vnode
' .d 44 long-field fn_size
' .d 18 long-field fn_linkcnt
' .str 0 ptr-field fn_name

kdbg-words definitions
previous

\ end fnnode section


vocabulary utsname-words
h# 505 constant utsname-sz
505 ' utsname-words c-struct .utsname
also utsname-words definitions

' c@ ' .x 101 1 404 array-field machine
' c@ ' .x 101 1 303 array-field version
' c@ ' .x 101 1 202 array-field release
' c@ ' .x 101 1 101 array-field nodename
' c@ ' .x 101 1 0 array-field sysname

kdbg-words definitions
previous

\ end utsname section

: utsname
   [ also utsname-words ]
   symbol utsname
   dup sysname .str space
   dup nodename .str space
   dup release .str space
   dup version .str space
   machine .str cr
   [ previous ]
;

vocabulary rlimit64-words
h# 10 constant rlimit64-sz
10 ' rlimit64-words c-struct .rlimit64
also rlimit64-words definitions

' .x 8 ext-field rlim_max
' .x 0 ext-field rlim_cur

kdbg-words definitions
previous

\ end rlimit64 section


vocabulary rlimit32-words
h# 8 constant rlimit32-sz
8 ' rlimit32-words c-struct .rlimit32
also rlimit32-words definitions

' .x 4 long-field rlim_max
' .x 0 long-field rlim_cur

kdbg-words definitions
previous

\ end rlimit32 section


vocabulary zone-words
h# 238 constant zone-sz
238 ' zone-words c-struct .zone
also zone-words definitions

' .x 230 struct-field zone_mntfs_db_lock
' .x 228 ptr-field zone_mntfs_db
' .x 220 ptr-field zone_audit_kctxt
' .x 218 ptr-field zone_cpucap
' .x 210 ptr-field zone_netstack
' .x 1f0 struct-field zone_dl_list
' .x 1e8 ptr-field zone_lockedmem_kstat
' .x 1e0 ptr-field zone_swapresv_kstat
' .x 1d8 long-field zone_defaultcid
' .x 1d0 ptr-field zone_brand_data
' .x 1c8 ptr-field zone_brand
' .d 1c0 long-field zone_restart_init
' .x 1a8 struct-field zone_mlps
' .x 1a0 long-field zone_match
' .x 198 ptr-field zone_slabel
' .x 178 struct-field zone_datasets
' .x 170 long-field zone_ncpus_online
' .x 16c long-field zone_ncpus
' .x 168 long-field zone_psetid
' .x 160 ext-field zone_pool_mod
' .x 158 ptr-field zone_pool
' .x 150 ptr-field zone_kcred
' .x 148 ext-field zone_uniqid
' .x 140 ptr-field zone_vfslist
' .x 138 ptr-field zone_privset
' .x 130 ptr-field zone_kthreads
' .x 128 ext-field zone_phys_mcap
' .x 120 ptr-field zone_bootargs
' .x 118 long-field zone_boot_err
' .x 110 ptr-field zone_initname
' .x 108 long-field zone_proc_initpid
' .x 100 ptr-field zone_zsched
' .x f8 struct-field zone_cv
' .x d8 struct-field zone_zsd
' .x d0 ext-field zone_max_swap_ctl
' .x c8 ext-field zone_max_swap
' .x c0 ext-field zone_locked_mem_ctl
' .x b8 ext-field zone_locked_mem
' .x b0 struct-field zone_mem_lock
' .x a8 ptr-field zone_rctls
' .x a4 long-field zone_shares
' .x a0 long-field zone_rootpathlen
' .x 88 struct-field zone_ipc
' .x 80 ext-field zone_shmmax
' .x 78 ext-field zone_nlwps_ctl
' .x 70 ext-field zone_nlwps
' .x 68 struct-field zone_nlwps_lock
' .x 60 long-field zone_ntasks
' .d 5c long-field zone_status
' .x 58 short-field zone_flags
' .x 50 ptr-field zone_rootpath
' .x 48 ptr-field zone_rootvp
' .x 40 long-field zone_cred_ref
' .x 3c long-field zone_ref
' .x 38 long-field zone_id
' .x 28 struct-field zone_linkage
' .x 20 struct-field zone_lock
' .x 18 long-field zone_hostid
' .x 10 ptr-field zone_domain
' .x 8 ptr-field zone_nodename
' .x 0 ptr-field zone_name

kdbg-words definitions
previous

\ end zone section


vocabulary v_address-words
h# 18 constant v_address-sz
18 ' v_address-words c-struct .v_address
also v_address-words definitions

' .x 10 ptr-field v_priv
' .x 8 ptr-field v_as
' .x 0 ptr-field v_addr

kdbg-words definitions
previous

\ end v_address section


vocabulary pp_address-words
h# 10 constant pp_address-sz
10 ' pp_address-words c-struct .pp_address
also pp_address-words definitions

' .x 8 long-field pp_offset
' .x 0 ptr-field pp_pp

kdbg-words definitions
previous

\ end pp_address section


vocabulary phy_address-words
h# 10 constant phy_address-sz
10 ' phy_address-words c-struct .phy_address
also phy_address-words definitions

' .x 8 ext-field p_memtype
' .x 0 ext-field p_addr

kdbg-words definitions
previous

\ end phy_address section


vocabulary ddi_dma_aobj_t-words
h# 18 constant ddi_dma_aobj_t-sz
18 ' ddi_dma_aobj_t-words c-struct .ddi_dma_aobj_t
also ddi_dma_aobj_t-words definitions

' .x 0 struct-field virt_obj
' .x 0 struct-field pp_obj
' .x 0 struct-field phys_obj

kdbg-words definitions
previous

\ end ddi_dma_aobj_t section


vocabulary ddi_dma_obj_t-words
h# 20 constant ddi_dma_obj_t-sz
20 ' ddi_dma_obj_t-words c-struct .ddi_dma_obj_t
also ddi_dma_obj_t-words definitions

' .x 8 struct-field dmao_obj
' .d 4 long-field dmao_type
' .x 0 long-field dmao_size

kdbg-words definitions
previous

\ end ddi_dma_obj_t section


vocabulary ddi_dma_lim-words
h# 18 constant ddi_dma_lim-sz
18 ' ddi_dma_lim-words c-struct .ddi_dma_lim
also ddi_dma_lim-words definitions

' .x 14 long-field dlim_dmaspeed
' .x 10 long-field dlim_minxfer
' .x c long-field dlim_burstsizes
' .x 8 long-field dlim_cntr_max
' .x 4 long-field dlim_addr_hi
' .x 0 long-field dlim_addr_lo

kdbg-words definitions
previous

\ end ddi_dma_lim section


vocabulary ddi_dma_attr-words
h# 50 constant ddi_dma_attr-sz
50 ' ddi_dma_attr-words c-struct .ddi_dma_attr
also ddi_dma_attr-words definitions

' .x 48 long-field dma_attr_flags
' .x 44 long-field dma_attr_granular
' .x 40 long-field dma_attr_sgllen
' .x 38 ext-field dma_attr_seg
' .x 30 ext-field dma_attr_maxxfer
' .x 2c long-field dma_attr_minxfer
' .x 28 long-field dma_attr_burstsizes
' .x 20 ext-field dma_attr_align
' .x 18 ext-field dma_attr_count_max
' .x 10 ext-field dma_attr_addr_hi
' .x 8 ext-field dma_attr_addr_lo
' .x 0 long-field dma_attr_version

kdbg-words definitions
previous

\ end ddi_dma_attr section


vocabulary ddi_dma_req-words
h# 40 constant ddi_dma_req-sz
40 ' ddi_dma_req-words c-struct .ddi_dma_req
also ddi_dma_req-words definitions

' .x 20 struct-field dmar_object
' .x 18 ptr-field dmar_arg
' .x 10 ptr-field dmar_fp
' .x 8 long-field dmar_flags
' .x 0 ptr-field dmar_limits

kdbg-words definitions
previous

\ end ddi_dma_req section


vocabulary ddi_dma_impl-words
h# 118 constant ddi_dma_impl-sz
118 ' ddi_dma_impl-words c-struct .ddi_dma_impl
also ddi_dma_impl-words definitions

' .x f0 struct-field dmai_error
' .x e8 long-field dmai_fault
' .x e0 ptr-field dmai_fault_notify
' .x d8 ptr-field dmai_fault_check
' .x d0 ptr-field dmai_cookie
' .x 80 struct-field dmai_attr
' .x 60 struct-field dmai_object
' .x 58 ptr-field dmai_rdip
' .x 50 ptr-field dmai_minfo
' .x 48 ptr-field dmai_sbi
' .x 40 ptr-field dmai_iopte
' .x 38 ptr-field dmai_nexus_private
' .x 34 long-field dmai_winsize
' .x 30 long-field dmai_nwin
' .x 2c long-field dmai_inuse
' .x 28 long-field dmai_rflags
' .x 24 long-field dmai_pool
' .x 20 long-field dmai_ndvmapages
' .x 1c long-field dmai_burstsizes
' .x 18 long-field dmai_minxfer
' .x 10 ext-field dmai_offset
' .x 8 long-field dmai_size
' .x 0 ext-field dmai_mapping

kdbg-words definitions
previous

\ end ddi_dma_impl section


vocabulary i_ddi_soft_state-words
h# 28 constant i_ddi_soft_state-sz
28 ' i_ddi_soft_state-words c-struct .i_ddi_soft_state
also i_ddi_soft_state-words definitions

' .x 20 ptr-field next
' .x 18 ext-field n_items
' .x 10 ext-field size
' .x 8 struct-field lock
' .x 0 ptr-field array

kdbg-words definitions
previous

\ end i_ddi_soft_state section


vocabulary intrspec-words
h# 10 constant intrspec-sz
10 ' intrspec-words c-struct .intrspec
also intrspec-words definitions

' .x 8 ptr-field intrspec_func
' .x 4 long-field intrspec_vec
' .x 0 long-field intrspec_pri

kdbg-words definitions
previous

\ end intrspec section


vocabulary ddi_acc_hdl-words
h# 68 constant ddi_acc_hdl-sz
68 ' ddi_acc_hdl-words c-struct .ddi_acc_hdl
also ddi_acc_hdl-words definitions

' .x 60 struct-field ah_acc
' .x 58 ext-field ah_xfermodes
' .x 50 long-field ah_pnum
' .x 48 ext-field ah_pfn
' .x 40 long-field ah_hat_flags
' .x 38 ext-field ah_len
' .x 30 ext-field ah_offset
' .x 28 ptr-field ah_addr
' .x 20 long-field ah_rnumber
' .x 18 ptr-field ah_dip
' .x 10 ptr-field ah_platform_private
' .x 8 ptr-field ah_bus_private
' .x 0 long-field ah_vers

kdbg-words definitions
previous

\ end ddi_acc_hdl section


vocabulary ddi_acc_impl-words
h# 108 constant ddi_acc_impl-sz
108 ' ddi_acc_impl-words c-struct .ddi_acc_impl
also ddi_acc_impl-words definitions

' .x 100 ptr-field ahi_err
' .x f8 long-field ahi_fault
' .x f0 ptr-field ahi_fault_notify
' .x e8 ptr-field ahi_fault_check
' .x e0 ptr-field ahi_rep_put64
' .x d8 ptr-field ahi_rep_put32
' .x d0 ptr-field ahi_rep_put16
' .x c8 ptr-field ahi_rep_put8
' .x c0 ptr-field ahi_rep_get64
' .x b8 ptr-field ahi_rep_get32
' .x b0 ptr-field ahi_rep_get16
' .x a8 ptr-field ahi_rep_get8
' .x a0 ptr-field ahi_put64
' .x 98 ptr-field ahi_put32
' .x 90 ptr-field ahi_put16
' .x 88 ptr-field ahi_put8
' .x 80 ptr-field ahi_get64
' .x 78 ptr-field ahi_get32
' .x 70 ptr-field ahi_get16
' .x 68 ptr-field ahi_get8
' .x 0 struct-field ahi_common

kdbg-words definitions
previous

\ end ddi_acc_impl section


vocabulary ddi_map_req_t-words
h# 28 constant ddi_map_req_t-sz
28 ' ddi_map_req_t-words c-struct .ddi_map_req_t
also ddi_map_req_t-words definitions

' .x 20 long-field map_vers
' .x 18 ptr-field map_handlep
' .x 14 long-field map_prot
' .x 10 long-field map_flags
' .x 8 struct-field map_obj
' .d 4 long-field map_type
' .d 0 long-field map_op

kdbg-words definitions
previous

\ end ddi_map_req_t section


vocabulary ddi_dma_cookie_t-words
h# 18 constant ddi_dma_cookie_t-sz
18 ' ddi_dma_cookie_t-words c-struct .ddi_dma_cookie_t
also ddi_dma_cookie_t-words definitions

' .x 10 long-field dmac_type
' .x 8 ext-field dmac_size
' .x 0 struct-field _dmu

kdbg-words definitions
previous

\ end ddi_dma_cookie_t section


vocabulary regs-words
h# 98 constant regs-sz
98 ' regs-words c-struct .regs
also regs-words definitions

' .x 90 long-field r_y
' .x 88 ext-field r_npc
' .x 80 ext-field r_pc
' .x 78 ext-field r_o7
' .x 70 ext-field r_o6
' .x 68 ext-field r_o5
' .x 60 ext-field r_o4
' .x 58 ext-field r_o3
' .x 50 ext-field r_o2
' .x 48 ext-field r_o1
' .x 40 ext-field r_o0
' .x 38 ext-field r_g7
' .x 30 ext-field r_g6
' .x 28 ext-field r_g5
' .x 20 ext-field r_g4
' .x 18 ext-field r_g3
' .x 10 ext-field r_g2
' .x 8 ext-field r_g1
' .x 0 ext-field r_tstate

kdbg-words definitions
previous

\ end regs section


vocabulary kfpu_t.fpu_fr-words
h# 100 constant kfpu_t.fpu_fr-sz
100 ' kfpu_t.fpu_fr-words c-struct .kfpu_t.fpu_fr
also kfpu_t.fpu_fr-words definitions

' x@ ' .x 100 8 0 array-field fpu_dregs

kdbg-words definitions
previous

\ end kfpu_t.fpu_fr section


vocabulary kfpu_t-words
h# 120 constant kfpu_t-sz
120 ' kfpu_t-words c-struct .kfpu_t
also kfpu_t-words definitions

' .x 11a byte-field fpu_en
' .d 119 byte-field fpu_q_entrysize
' .d 118 byte-field fpu_qcnt
' .x 110 ptr-field fpu_q
' .x 108 long-field fpu_fprs
' .x 100 ext-field fpu_fsr
' .kfpu_t.fpu_fr 0 struct-field fpu_fr

kdbg-words definitions
previous

\ end kfpu_t section


vocabulary ddi_intr_handle_impl_t-words
h# 70 constant ddi_intr_handle_impl_t-sz
70 ' ddi_intr_handle_impl_t-words c-struct .ddi_intr_handle_impl_t
also ddi_intr_handle_impl_t-words definitions

' .x 68 long-field ih_target
' .x 60 ptr-field ih_scratch2
' .x 58 long-field ih_scratch1
' .x 50 ptr-field ih_private
' .x 48 ptr-field ih_main
' .x 44 long-field ih_dup_cnt
' .x 40 long-field ih_flags
' .x 38 ptr-field ih_cb_arg2
' .x 30 ptr-field ih_cb_arg1
' .x 28 ptr-field ih_cb_func
' .x 20 struct-field ih_rwlock
' .x 1c long-field ih_pri
' .x 18 long-field ih_cap
' .x 14 long-field ih_state
' .x 10 short-field ih_ver
' .x c long-field ih_vector
' .x a short-field ih_inum
' .x 8 short-field ih_type
' .x 0 ptr-field ih_dip

kdbg-words definitions
previous

\ end ddi_intr_handle_impl_t section


vocabulary ddi_softint_hdl_impl_t-words
h# 40 constant ddi_softint_hdl_impl_t-sz
40 ' ddi_softint_hdl_impl_t-words c-struct .ddi_softint_hdl_impl_t
also ddi_softint_hdl_impl_t-words definitions

' .x 38 ptr-field ih_private
' .x 30 ptr-field ih_cb_arg2
' .x 28 ptr-field ih_cb_arg1
' .x 20 ptr-field ih_cb_func
' .x 18 ptr-field ih_pending
' .x 10 struct-field ih_rwlock
' .x 8 long-field ih_pri
' .x 0 ptr-field ih_dip

kdbg-words definitions
previous

\ end ddi_softint_hdl_impl_t section


vocabulary devinfo_intr_t-words
h# 30 constant devinfo_intr_t-sz
30 ' devinfo_intr_t-words c-struct .devinfo_intr_t
also devinfo_intr_t-words definitions

' .x 28 ptr-field devi_irm_req_p
' .x 20 ptr-field devi_intr_handle_p
' .x 1c long-field devi_intr_curr_nenables
' .x 18 long-field devi_intr_curr_nintrs
' .x 14 long-field devi_intr_sup_nintrs
' .x 10 long-field devi_intr_curr_type
' .x 8 ptr-field devi_msix_p
' .x 0 long-field devi_intr_sup_types

kdbg-words definitions
previous

\ end devinfo_intr_t section


vocabulary ddi_intr_msix_t-words
h# 38 constant ddi_intr_msix_t-sz
38 ' ddi_intr_msix_t-words c-struct .ddi_intr_msix_t
also ddi_intr_msix_t-words definitions

' .x 2c struct-field msix_dev_attr
' .x 28 long-field msix_pba_offset
' .x 20 ptr-field msix_pba_addr
' .x 18 ptr-field msix_pba_hdl
' .x 10 long-field msix_tbl_offset
' .x 8 ptr-field msix_tbl_addr
' .x 0 ptr-field msix_tbl_hdl

kdbg-words definitions
previous

\ end ddi_intr_msix_t section


h# 58 constant ASI_MMU_CTX
h#  8 constant MMU_PCONTEXT
h# 10 constant MMU_SCONTEXT

code asm-search4  ( address size data -- )
                  ( address' size' found-addr true | false )
   sp  sc1  pop   \ size
   sp  sc2  pop   \ addr
   begin
      sc1  test
   0<>  while  nop
      sc2  %g0  h# 14  sc3  lda
      sc1  4           sc1  sub
      sc2  4           sc2  add
      tos  sc3              cmp
      =  if
         sc2  4    sc3  sub
         sc2  sp        push
         sc1  sp        push
         sc3  sp        push
         -1   tos       move
         next
      then
   repeat  nop
   0  tos  move
c;
         
code asm-search8  ( address size data -- )
                  ( address' size' found-addr true | false )
   sp  sc1  pop   \ size
   sp  sc2  pop   \ addr
   begin
      sc1  test
   0<>  while  nop
      sc2  %g0  h# 14  sc3  ldxa
      sc1  8           sc1  sub
      sc2  8           sc2  add
      tos  sc3              cmp
      =  if
         sc2  8    sc3  sub
         sc2  sp        push
         sc1  sp        push
         sc3  sp        push
         -1   tos       move
         next
      then
   repeat  nop
   0  tos  move
c;
   
: phys-search  ( address size data acf -- )
   2>r  begin                 ( address size  r: data acf )
      2r@ execute  if         ( address size found-addr  r: data acf )
         2r@ drop .x          ( address size found-addr  r: data acf )
         ." found at " .x cr  ( address size  r: data acf )
         false                ( address size done?  r: data acf )
      else                    (  r: data acf )
         true                 ( done?  r: data acf )
      then
   until  2r> 2drop
;

: type>acf  ( type -- acf )
   case
      4  of  ['] asm-search4  endof
      8  of  ['] asm-search8  endof
      ." no search by " .x cr  true throw
   endcase
;

: memlist-search ( data type memlist -- )
   [ also memlist-words ]
   -rot  type>acf  2>r               ( memlist  r: data acf )
   begin  ?dup  while                ( memlist  r: data acf )
      dup address over size          ( memlist address size  r: data acf )
      2r@ phys-search  next          ( next  r: data acf )
   repeat  2r> 2drop
   [ previous ]
;

: avail-search
   symbol phys_avail p@  memlist-search
;

: install-search
   symbol phys_install p@  memlist-search
;


vocabulary intr_vec-words
h# 40 constant intr_vec-sz
40 ' intr_vec-words c-struct .intr_vec
also intr_vec-words definitions

' .x 38 ptr-field iv_pil_next
' .x 30 ptr-field iv_vec_next
' .x 28 ptr-field iv_payload_buf
' .x 20 ptr-field iv_arg2
' .x 18 ptr-field iv_arg1
' .addr>sym 10 ptr-field iv_handler
' c@ ' .x a 1 6 array-field iv_pad
' .d 4 short-field iv_flags
' .d 2 short-field iv_pil
' .d 0 short-field iv_inum

kdbg-words definitions
previous

\ end intr_vec section


vocabulary intr_vecx-words
h# 138 constant intr_vecx-sz
138 ' intr_vecx-words c-struct .intr_vecx
also intr_vecx-words definitions

' x@ ' .x f8 8 40 array-field iv_pil_xnext
' .intr_vec 0 struct-field iv_vec

kdbg-words definitions
previous

\ end intr_vecx section


vocabulary machcpu-words
h# 818 constant machcpu-sz
818 ' machcpu-words c-struct .machcpu
also machcpu-words definitions

' x@ ' .x 80 8 138 array-field intr_tail
' x@ ' .x 80 8 b8 array-field intr_head
' .d 18 long-field tl1_hdlr
' .d 14 long-field in_prom
' .d 10 long-field mutex_ready
' .x 0 ptr-field mpcb

kdbg-words definitions
previous

\ end machcpu section


vocabulary machpcb-words
h# 3e8 constant machpcb-sz
3e8 ' machpcb-words c-struct .machpcb
also machpcb-words definitions

' .x 3d0 ptr-field mpcb_thread
' .x 3c0 long-field mpcb_flags
' .x 2a8 ptr-field mpcb_fpu
' .x 2a4 long-field mpcb_wstate
' .d 2a0 long-field mpcb_wbcnt
' x@ ' .x 40 8 150 array-field mpcb_spbuf
' .x 148 ptr-field mpcb_wbuf
' .regs b0 struct-field mpcb_regs

kdbg-words definitions
previous

\ end machpcb section


vocabulary TRAP_TRACE_CTL.d-words
h# 20 constant TRAP_TRACE_CTL.d-sz
20 ' TRAP_TRACE_CTL.d-words c-struct .TRAP_TRACE_CTL.d
also TRAP_TRACE_CTL.d-words definitions

' .x 1c byte-field asi
' .x 18 long-field limit
' .x 14 long-field offset
' .x 10 long-field last_offset
' .x 8 ext-field paddr_base
' .x 0 ptr-field vaddr_base

kdbg-words definitions
previous

\ end TRAP_TRACE_CTL.d section


vocabulary TRAP_TRACE_CTL-words
h# 40 constant TRAP_TRACE_CTL-sz
40 ' TRAP_TRACE_CTL-words c-struct .TRAP_TRACE_CTL
also TRAP_TRACE_CTL-words definitions

' .x 0 struct-field d
' c@ ' .x 40 1 0 array-field cache_linesize

kdbg-words definitions
previous

\ end TRAP_TRACE_CTL section


vocabulary trap_trace_record-words
h# 50 constant trap_trace_record-sz
50 ' trap_trace_record-words c-struct .trap_trace_record
also trap_trace_record-words definitions

' .x 48 ext-field tt_f4
' .x 40 ext-field tt_f3
' .x 38 ext-field tt_f2
' .x 30 ext-field tt_f1
' .x 28 ext-field tt_tr
' .x 20 ext-field tt_sp
' .x 18 ext-field tt_tick
' .x 10 ext-field tt_tstate
' .x 8 ext-field tt_tpc
' .x 2 short-field tt_tt
' .x 0 short-field tt_tl

kdbg-words definitions
previous

\ end trap_trace_record section


alias .ttc .TRAP_TRACE_CTL.d

: cpu-ttc ( n -- )
   8 to-column ." cpuid = " dup .x cr                    ( n )
   ['] .TRAP_TRACE_CTL sizeof  * symbol trap_trace_ctl + ( trace-hdr )
   .ttc                                                  ( )
;

: .sttr-hdr ( n -- n )
   ." cpuid = " dup .x cr
   6 to-column ." tick"
   d# 24 to-column ." type"
   d# 32 to-column ." level"
   d# 40 to-column ." trap PC" cr
;

: .sttr ( ptr -- )
   [ also trap_trace_record-words ]
   dup tt_tick .x
   d# 24 to-column dup tt_tt .x
   d# 32 to-column dup tt_tl .x
   d# 40 to-column tt_tpc .addr>sym cr
   [ previous ]
;

: .lttr-hdr ( n -- n )
   8 to-column ." cpuid = " dup .x cr
;

: .lttr ( ptr -- )
   [ also trap_trace_record-words ]
   ." tick = " dup tt_tick .x cr
   ." trap type = " dup tt_tt .x cr
   ." trap level = " dup tt_tl .x cr
   ." trap pc = " dup tt_tpc .addr>sym cr
   ." tstate = " dup tt_tstate .x cr
   ." trap sp = " dup tt_sp .x cr
   ." trap tr = " dup tt_tr .x cr
   ." trap f1 = " dup tt_f1 .x cr
   ." trap f2 = " dup tt_f2 .x cr
   ." trap f3 = " dup tt_f3 .x cr
   ." trap f4 = " tt_f4 .x cr cr
   [ previous ]
;

' .trap_trace_record sizeof negate constant ttr-decr

: ttr-loop ( print-acf screen-acf end start -- )
   do                          ( p-acf s-acf )
      2dup i swap execute  if  ( p-acf s-acf p-acf addr )
	 swap execute          ( p-acf s-acf )
         exit? throw           ( p-acf s-acf )
      else                     ( p-acf s-acf p-acf addr )
	 2drop                 ( p-acf s-acf )
      then                     ( p-acf s-acf )
   ttr-decr  +loop             ( p-acf s-acf )
   2drop                       ( )
;


: ttr-bounds1 ( trace-hdr -- vaddr_base vaddr_base+last_offset )
   [ also TRAP_TRACE_CTL.d-words ]
   dup vaddr_base swap last_offset over +
   [ previous ]
;

: ttr-bounds2 ( trace-hdr -- vaddr_base+offset vaddr_base+limit )
   [ also TRAP_TRACE_CTL.d-words ]
   dup vaddr_base over offset bounds   ( hdr v+o v )
   rot limit +                         ( v+o v+l )
   [ previous ]
;

: do-ttr ( n print-acf screen-acf -- )
   rot ['] .TRAP_TRACE_CTL sizeof * symbol trap_trace_ctl + 
                                        ( p-acf s-acf trace-hdr )
   3dup ttr-bounds1 ttr-loop            ( p-acf s-acf trace-hdr )
   ttr-bounds2 ttr-loop                 ( )
;

: cpu-ttr ( n -- )
   .sttr-hdr ['] .sttr ['] true do-ttr
;
   
: cpu-xttr ( n -- )
   .lttr-hdr ['] .lttr ['] true do-ttr
;



0 value sift-pc-start
0 value sift-pc-end

: set-sift-pc  ( base len -- )
   over to sift-pc-start
   + to sift-pc-end
;

: pc-in-range?  ( p -- p flag )
   [ also trap_trace_record-words ]
   dup tt_tpc  sift-pc-start sift-pc-end  within
   [ previous ]
;

: cpu-ttr-pc  ( n -- )
   .sttr-hdr ['] .sttr ['] pc-in-range? do-ttr
;

: cpu-xttr-pc  ( n -- )
   .lttr-hdr ['] .lttr ['] pc-in-range? do-ttr
;

0 value sift-tt

: same-tt?  ( p -- p flag )
   [ also trap_trace_record-words ]
   dup tt_tt  sift-tt  =
   [ previous ]
;

: cpu-ttr-tt  ( n -- )
   .sttr-hdr ['] .sttr ['] same-tt? do-ttr
;

: cpu-xttr-tt  ( n -- )
   .lttr-hdr ['] .lttr ['] same-tt? do-ttr
;

: ncpu-acf ( acf -- )
   symbol cpu symbol _ncpu l@ 0  do   ( acf cpu )
      dup i ptrsize * + p@ 0<>  if          ( acf cpu )
	 over i swap execute cr       ( acf cpu )
      then                            ( acf cpu )
   loop                               ( acf cpu )
   2drop                              ( )
;

: ncpu-ttr ( -- ) ['] cpu-ttr ncpu-acf ;
: ncpu-xttr ( -- ) ['] cpu-xttr ncpu-acf ;
: ncpu-ttc ( -- ) ['] cpu-ttc ncpu-acf ;


vocabulary sbus_soft_state-words
h# 398 constant sbus_soft_state-sz
398 ' sbus_soft_state-words c-struct .sbus_soft_state
also sbus_soft_state-words definitions

' .x 390 ptr-field sbus_counters_ksp
' .x 388 ptr-field sbus_pic
' .x 380 ptr-field sbus_pcr
' .x 378 long-field intr_mapping_ign
' .x 370 ptr-field sbus_io_ranges
' .x 368 ext-field sbus_io_hi_pfn
' .x 360 ext-field sbus_io_lo_pfn
' .x 358 long-field bto_ctr
' .x 350 ext-field bto_timestamp
' .x 348 ptr-field ontrap_data
' .x 340 struct-field pokefault_mutex
' .x 338 struct-field intr_poll_list_lock
' x@ ' .x 1d0 8 168 array-field intr_list
' .x 160 long-field dma_reserve
' .x 158 ptr-field dmaimplbase
' .x 150 struct-field dma_pool_lock
' .x 148 ext-field dvma_call_list_id
' .x 140 ptr-field dvma_arena
' .x 138 long-field sbus64_burst_sizes
' .x 134 long-field sbus_burst_sizes
' .x 130 long-field stream_buf_off
' .x 128 struct-field sync_reg_lock
' .x 120 ptr-field str_buf_pg_tag_diag
' .x 118 ptr-field str_buf_sync_reg
' .x 110 ptr-field str_buf_flush_reg
' .x 108 ptr-field str_buf_ctrl_reg
' .x 100 ptr-field sbus_err_reg
' .x f8 ptr-field sysio_ce_reg
' .x f0 ptr-field sysio_ue_reg
' .x e8 ptr-field sysio_ecc_reg
' c@ ' .x 11 1 d0 array-field spurious_cntrs
' c@ ' .x 10 1 c0 array-field intr_hndlr_cnt
' .x b8 ptr-field obio_intr_state
' .x b0 ptr-field sbus_intr_state
' .x a8 ptr-field intr_retry_reg
' .x a0 ptr-field clr_intr_reg
' .x 98 ptr-field intr_mapping_reg
' l@ ' .x 1c 4 78 array-field sbus_slave_burstsizes
' .x 70 ptr-field sbus_slot_config_reg
' .x 68 ptr-field sbus_ctrl_reg
' .x 60 ptr-field sysio_ctrl_reg
' .x 5c short-field iommu_tsb_cookie
' .x 58 long-field iommu_dvma_base
' .x 50 ext-field iommu_dvma_size
' .x 48 ptr-field iommu_tlb_data
' .x 40 ptr-field iommu_tlb_tag
' .x 38 ptr-field soft_tsb_base_addr
' .x 30 ptr-field tsb_base_addr
' .x 28 ptr-field iommu_ctrl_reg
' .x 20 ptr-field iommu_flush_reg
' .x 18 ptr-field ac
' .x 10 ptr-field address
' .x 8 long-field upa_id
' .x 0 ptr-field dip

kdbg-words definitions
previous

\ end sbus_soft_state section


: .uintarray ( array-addr -- )
   dup  if                       ( array-addr )
      begin dup l@ ?dup  while   ( array-addr item )
         .x la1+                 ( array-addr' )
      repeat                     ( array-addr )
   then                          ( array-addr )
   drop
;


vocabulary io_mem_list-words
h# 30 constant io_mem_list-sz
30 ' io_mem_list-words c-struct .io_mem_list
also io_mem_list-words definitions

' .x 28 ptr-field next
' .uintarray 20 ptr-field pfn
' .d 18 ext-field npages
' .x 10 ext-field addr
' .x 8 ext-field ioaddr
' .x 0 ptr-field rdip

kdbg-words definitions
previous

\ end io_mem_list section


: .io_mem_list_list
    [ also io_mem_list-words ]
    begin ?dup while
	dup .io_mem_list cr next
    repeat
    [ previous ]
;

: clr_pagecol_stats
	symbol sys_req_bins
	200 4 *
	0 fill
	symbol sys_nak_bins
	200 4 *
	0 fill
;


vocabulary tte-words
h# 8 constant tte-sz
8 ' tte-words c-struct .tte
also tte-words definitions

' .x 0 1 4 bits-field g
' .x 1 2 4 bits-field w
' .x 2 4 4 bits-field p
' .x 3 8 4 bits-field e
' .x 4 10 4 bits-field cv
' .x 5 20 4 bits-field cp
' .x 6 40 4 bits-field l
' .x 7 80 4 bits-field exec_perm
' .x 9 200 4 bits-field wr_perm
' .x a 400 4 bits-field ref
' .x b 800 4 bits-field suspend
' .x c 1000 4 bits-field no_sync
' .x d ffffe000 4 bits-field palo
' .x 0 7fff 0 bits-field pahi
' .x 18 7000000 0 bits-field hmenum
' .x 1b 8000000 0 bits-field ie
' .x 1c 10000000 0 bits-field nfo
' .x 1d 60000000 0 bits-field sz
' .x 1f 80000000 0 bits-field v

kdbg-words definitions
previous

\ end tte section


vocabulary tsb_info-words
h# 40 constant tsb_info-sz
40 ' tsb_info-words c-struct .tsb_info
also tsb_info-words definitions

' .x 30 ptr-field tsb_cache
' .x 28 ptr-field tsb_sfmmu
' .tte 20 struct-field tsb_tte
' .x 1c long-field tsb_ttesz_mask
' .x 1a short-field tsb_flags
' .d 18 short-field tsb_szc
' .x 10 ptr-field tsb_next
' .x 8 ext-field tsb_pa
' .x 0 ptr-field tsb_va

kdbg-words definitions
previous

\ end tsb_info section


vocabulary hat.h_un-words
h# 8 constant hat.h_un-sz
8 ' hat.h_un-words c-struct .hat.h_un
also hat.h_un-words definitions

' .x 0 ptr-field sfmmu_iblkp

kdbg-words definitions
previous

\ end hat.h_un section


vocabulary sfmmu_ctx-words
h# 8 constant sfmmu_ctx-sz
8 ' sfmmu_ctx-words c-struct .sfmmu_ctx
also sfmmu_ctx-words definitions

' .x 6 short-field cnum
' .x fffffff0 ffff0000 0 bits-field gnum

kdbg-words definitions
previous

\ end sfmmu_ctx section


vocabulary hat-words
h# 190 constant hat-sz
190 ' hat-words c-struct .hat
also hat-words definitions

' noop ' .sfmmu_ctx 8 8 188 array-field sfmmu_ctxs
' c@ ' .x 6 1 10d array-field sfmmu_pgsz
' .x 10c byte-field sfmmu_cext
' .x 10a struct-field sfmmu_tsb_cv
' .x 108 byte-field sfmmu_ctx_lock
' .x 100 ext-field sfmmu_ismblkpa
' .tsb_info f8 ptr-field sfmmu_tsb
' .x ee short-field sfmmu_flags
' .x ec short-field sfmmu_clrbin
' .x ea short-field sfmmu_clrstart
' .x e9 byte-field sfmmu_rmstat
' .x 1e 40000000 e8 bits-field sfmmu_ismhat
' .x 1f 80000000 e8 bits-field sfmmu_free
' .hat.h_un e0 struct-field h_un
' x@ ' .d 30 8 78 array-field sfmmu_ismttecnt
' x@ ' .d 30 8 18 array-field sfmmu_ttecnt
' .x 10 ptr-field sfmmu_as
' .x 8 ext-field sfmmu_cpusran
' .x 0 ptr-field sfmmu_xhat_provider

kdbg-words definitions
previous

\ end hat section


vocabulary hmehash_bucket-words
h# 20 constant hmehash_bucket-sz
20 ' hmehash_bucket-words c-struct .hmehash_bucket
also hmehash_bucket-words definitions

' .x 10 ptr-field hmeblkp
' .x 8 ext-field hmeh_nextpa
' .mutex 0 struct-field hmehash_mutex

kdbg-words definitions
previous

\ end hmehash_bucket section


vocabulary hmeblk_tag-words
h# 10 constant hmeblk_tag-sz
10 ' hmeblk_tag-words c-struct .hmeblk_tag
also hmeblk_tag-words definitions

' x@ ' .x 10 8 0 array-field htag_tag

kdbg-words definitions
previous

\ end hmeblk_tag section


vocabulary hme_blk.hblk_misc-words
h# 4 constant hme_blk.hblk_misc-sz
4 ' hme_blk.hblk_misc-words c-struct .hme_blk.hblk_misc
also hme_blk.hblk_misc-words definitions

' .x 0 7 0 bits-field ttesize
' .x 3 8 0 bits-field nucleus_bit
' .x 4 10 0 bits-field shadow_bit
' .x 5 20 0 bits-field xhat_bit
' .x 6 40 0 bits-field shared_bit
' .x 7 ffffff80 0 bits-field notused

kdbg-words definitions
previous

\ end hme_blk.hblk_misc section


vocabulary hme_blk.hblk_un-words
h# 4 constant hme_blk.hblk_un-sz
4 ' hme_blk.hblk_un-words c-struct .hme_blk.hblk_un
also hme_blk.hblk_un-words definitions

' .x 0 struct-field hblk_counts
' .x 0 long-field hblk_shadow_mask

kdbg-words definitions
previous

\ end hme_blk.hblk_un section


vocabulary hme_blk-words
h# 58 constant hme_blk-sz
58 ' hme_blk-words c-struct .hme_blk
also hme_blk-words definitions

' .hme_blk.hblk_un 30 struct-field hblk_un
' .hme_blk.hblk_misc 2c struct-field hblk_misc
' .d 28 long-field hblk_span
' .x 20 ptr-field hblk_shadow
' .x 18 ptr-field hblk_next
' .hmeblk_tag 8 struct-field hblk_tag
' .x 0 ext-field hblk_nextpa

kdbg-words definitions
previous

\ end hme_blk section


vocabulary sf_hment.sf_hment_un-words
h# 8 constant sf_hment.sf_hment_un-sz
8 ' sf_hment.sf_hment_un-words c-struct .sf_hment.sf_hment_un
also sf_hment.sf_hment_un-words definitions

' .x 0 ptr-field page

kdbg-words definitions
previous

\ end sf_hment.sf_hment_un section


vocabulary sf_hment-words
h# 20 constant sf_hment-sz
20 ' sf_hment-words c-struct .sf_hment
also sf_hment-words definitions

' .x 18 ptr-field hme_prev
' .x 10 ptr-field hme_next
' .sf_hment.sf_hment_un 8 struct-field sf_hment_un
' .tte 0 struct-field hme_tte

kdbg-words definitions
previous

\ end sf_hment section


vocabulary sfmmu_global_stat-words
h# f4 constant sfmmu_global_stat-sz
f4 ' sfmmu_global_stat-words c-struct .sfmmu_global_stat
also sfmmu_global_stat-words definitions

' .d f0 long-field sf_destroy_scd
' .d ec long-field sf_leave_scd
' .d e8 long-field sf_join_scd
' .d e4 long-field sf_create_scd
' .d e0 long-field sf_region_remap_demap
' .d dc long-field sf_tlb_reprog_pgsz
' .d d8 long-field sf_ctx_inv
' .d d4 long-field sf_user_vtop
' .d d0 long-field sf_tsb_reloc
' .d cc long-field sf_tsb_resize_failures
' .d c8 long-field sf_tsb_shrink
' .d c4 long-field sf_tsb_grow
' .d c0 long-field sf_user_xcalls
' .d bc long-field sf_kernel_xcalls
' .d b8 long-field sf_pagesync_invalid
' .d b0 long-field sf_pagesync
' .d ac long-field sf_steal_count
' .d a8 long-field sf_recache
' .d a4 long-field sf_ism_recache
' .d a0 long-field sf_ism_uncache
' .d 9c long-field sf_unload_conflict
' .d 98 long-field sf_uncache_conflict
' .d 94 long-field sf_pgcolor_conflict
' .d 90 long-field sf_put_free_fail
' .d 8c long-field sf_put_free_success
' .d 88 long-field sf_get_free_fail
' .d 84 long-field sf_get_free_throttle
' .d 80 long-field sf_get_free_success
' .d 7c long-field sf_hblk_reserve_hit
' .d 78 long-field sf_hblk_recurse_cnt
' .d 74 long-field sf_hblk_reserve_cnt
' .d 70 long-field sf_hblk_slab_cnt
' .d 6c long-field sf_hblk1_nalloc
' .d 68 long-field sf_hblk1_ncreate
' .d 64 long-field sf_hblk8_nalloc
' .d 60 long-field sf_hblk8_ncreate
' .d 5c long-field sf_hblk_hit
' .d 58 long-field sf_tsb_load4m
' .d 54 long-field sf_tsb_load8k
' .d 48 long-field sf_tteload4m
' .d 44 long-field sf_tteload512k
' .d 40 long-field sf_tteload64k
' .d 3c long-field sf_tteload8k
' .d 38 long-field sf_scd_2ndtsb_allocfail
' .d 34 long-field sf_scd_1sttsb_allocfail
' .d 30 long-field sf_scd_2ndtsb_alloc
' .d 2c long-field sf_scd_1sttsb_alloc
' .d 28 long-field sf_tsb_sectsb_create
' .d 24 long-field sf_tsb_allocfail
' .d 20 long-field sf_tsb_alloc
' .d 1c long-field sf_swapout
' .d 18 long-field sf_khash_links
' .d 14 long-field sf_khash_searches
' .d 10 long-field sf_uhash_links
' .d c long-field sf_uhash_searches
' .d 8 long-field sf_pagefaults
' .d 4 long-field sf_tsb_raise_exception
' .d 0 long-field sf_tsb_exceptions

kdbg-words definitions
previous

\ end sfmmu_global_stat section


vocabulary sfmmu_tsbsize_stat-words
h# 40 constant sfmmu_tsbsize_stat-sz
40 ' sfmmu_tsbsize_stat-words c-struct .sfmmu_tsbsize_stat
also sfmmu_tsbsize_stat-words definitions

' .d 24 long-field sf_tsbsz_4m
' .d 20 long-field sf_tsbsz_2m
' .d 1c long-field sf_tsbsz_1m
' .d 18 long-field sf_tsbsz_512k
' .d 14 long-field sf_tsbsz_256k
' .d 10 long-field sf_tsbsz_128k
' .d c long-field sf_tsbsz_64k
' .d 8 long-field sf_tsbsz_32k
' .d 4 long-field sf_tsbsz_16k
' .d 0 long-field sf_tsbsz_8k

kdbg-words definitions
previous

\ end sfmmu_tsbsize_stat section


vocabulary _mseg_un-words
h# 8 constant _mseg_un-sz
8 ' _mseg_un-words c-struct ._mseg_un
also _mseg_un-words definitions

' .x 0 ptr-field kpm_lpgs

kdbg-words definitions
previous

\ end _mseg_un section


vocabulary memseg-words
h# 70 constant memseg-sz
70 ' memseg-words c-struct .memseg
also memseg-words definitions

' .x 68 long-field msegflags
' ._mseg_un 58 struct-field mseg_un
' .x 50 ext-field kpm_nkpmpgs
' .x 48 ext-field kpm_pbase
' .x 20 ptr-field next
' .x 18 ext-field pages_end
' .x 10 ext-field pages_base
' .x 8 ptr-field epages
' .x 0 ptr-field pages

kdbg-words definitions
previous

\ end memseg section


vocabulary tsbmiss-words
h# c0 constant tsbmiss-sz
c0 ' tsbmiss-words c-struct .tsbmiss
also tsbmiss-words definitions

' c@ ' .x 30 1 90 array-field pad
' x@ ' .x 8 8 88 array-field scd_shmermap
' x@ ' .x 8 8 80 array-field shmermap
' x@ ' .x 18 8 68 array-field scratch
' .x 66 short-field kprot_traps
' .x 64 short-field uprot_traps
' .x 60 long-field ktsb_misses
' .x 5c long-field utsb_misses
' .x 5b byte-field uhat_rtteflags
' .x 5a byte-field uhat_tteflags
' .x 58 short-field dcache_line_mask
' .x 54 long-field uhashsz
' .x 50 long-field khashsz
' .x 48 ptr-field uhashstart
' .x 40 ptr-field khashstart
' .x 38 ext-field ismblkpa
' .x 30 ptr-field tsbscdptr4m
' .x 28 ptr-field tsbscdptr
' .x 20 ptr-field tsbptr4m
' .x 18 ptr-field tsbptr
' .x 10 ptr-field usrdp
' .x 8 ptr-field usfmmup
' .x 0 ptr-field ksfmmup

kdbg-words definitions
previous

\ end tsbmiss section


vocabulary ism_blk-words
h# 110 constant ism_blk-sz
110 ' ism_blk-words c-struct .ism_blk
also ism_blk-words definitions

' .x 108 ext-field iblk_nextpa
' .x 100 ptr-field iblk_next
' noop ' .x 100 20 0 array-field iblk_maps

kdbg-words definitions
previous

\ end ism_blk section


vocabulary ism_map-words
h# 20 constant ism_map-sz
20 ' ism_map-words c-struct .ism_map
also ism_map-words definitions

' .x 18 ptr-field imap_ment
' .x 10 ptr-field imap_ismhat
' .x c long-field imap_sz_mask
' .x a short-field imap_hatflags
' .x 9 byte-field imap_rid
' .x 8 byte-field imap_vb_shift
' .x 0 ext-field imap_seg

kdbg-words definitions
previous

\ end ism_map section


vocabulary ism_ment-words
h# 20 constant ism_ment-sz
20 ' ism_ment-words c-struct .ism_ment
also ism_ment-words definitions

' .x 18 ptr-field iment_prev
' .x 10 ptr-field iment_next
' .x 8 ptr-field iment_base_va
' .x 0 ptr-field iment_hat

kdbg-words definitions
previous

\ end ism_ment section


( given a pfn will return the page structure )
: pfn>page ( pfn -- page )
   [ also page-words ]
   [ also memseg-words ]
   symbol memsegs p@                   ( n memseg )
   begin  ?dup  while                  ( n memseg )
      2dup                             ( n memseg n memseg )
      dup pages_base swap pages_end    ( n memseg n base end )
      within  if                       ( n memseg )
         2dup pages_base -             ( n memseg noff )
         ['] .page sizeof * swap       ( n poff memseg )
         pages +  		       ( n page )
	 nip exit		       ( page )
      then                             ( n memseg )
      next                             ( n memseg' )
   repeat                              ( n )
   drop 0 			       ( 0 )
   [ previous ]
   [ previous ]
;

( given a pfn will display page struct )
: .page-n ( n -- )
   dup pfn>page ?dup			( n page )
   if
      dup ." page " .x cr		( n page )
      .page				( n )
      drop
   else
      . ." not found "			( )
   then
;

: .memseg-list ( -- )
   [ also memseg-words ]
   symbol memsegs p@        ( memseg )
   begin  ?dup  while       ( memseg )
      dup .memseg cr next   ( memseg' )
   repeat
   [ previous ]
;

: .memlist-list ( memlist -- )
   [ also memlist-words ]
   begin  ?dup  while        ( memlist )
      dup .memlist cr next   ( memlist' )
   repeat                    ( )
   [ previous ]
;

: .hmeb-shift ( sfmmu addr shift -- )
   >> over xor swap                 ( hash sfmmu )
   symbol ksfmmup p@ <>  if               ( hash )
      symbol uhmehash_num l@ and    ( bucket )
      ['] .hmehash_bucket sizeof *  ( index )
      symbol uhme_hash p@ +         ( hmeb )
   else                             ( hash )
      symbol khmehash_num l@ and    ( bucket )
      ['] .hmehash_bucket sizeof *  ( index )
      symbol khme_hash p@ +         ( hmeb )
   then                             ( hmeb )
   ." hmeb " dup .x cr              ( hmeb )
   .hmehash_bucket                  ( )
;

: .hmeb-8k ( sfmmup addr -- ) d# 16 .hmeb-shift ;

alias .hmeb-64k .hmeb-8k

: .hmeb-512k ( sfmmup addr -- ) d# 19 .hmeb-shift ;

: .hmeb-4m ( sfmmup addr -- ) d# 22 .hmeb-shift ;

: .hmeblk-list ( hmeblk -- )
   [ also hme_blk-words ]
   begin  ?dup  while             ( hmeblk )
      dup .hme_blk cr hblk_next   ( hmeblk' )
   repeat                         ( )
   [ previous ]
;

: .pmap-list ( sfhme -- )
   [ also sf_hment-words ]
   begin  ?dup  while            ( sfhme )
      dup .sf_hment cr hme_next  ( sfhme' )
   repeat                        ( )
   [ previous ]
;

: clr_mmustats ( -- )
	[ also sfmmu_global_stat-words ]
	[ also tsbmiss-words ]
	symbol sfmmu_global_stat 
	dup 0 to sf_tsb_exceptions
	dup 0 to sf_tsb_raise_exception
	dup 0 to sf_pagefaults
	dup 0 to sf_uhash_searches
	dup 0 to sf_uhash_links
	dup 0 to sf_khash_searches
	dup 0 to sf_khash_links
	dup 0 to sf_swapout
	dup 0 to sf_tsb_alloc
	dup 0 to sf_tsb_allocfail
	dup 0 to sf_tsb_sectsb_create
	dup 0 to sf_scd_1sttsb_alloc
	dup 0 to sf_scd_2ndtsb_alloc
	dup 0 to sf_scd_1sttsb_allocfail
	dup 0 to sf_scd_2ndtsb_allocfail
	dup 0 to sf_tteload8k
	dup 0 to sf_tteload64k
	dup 0 to sf_tteload512k
	dup 0 to sf_tteload4m
	dup 0 to sf_tsb_load8k
	dup 0 to sf_tsb_load4m
	dup 0 to sf_hblk_hit
	dup 0 to sf_hblk8_ncreate
	dup 0 to sf_hblk8_nalloc
	dup 0 to sf_hblk1_ncreate
	dup 0 to sf_hblk1_nalloc
	dup 0 to sf_hblk_slab_cnt
	dup 0 to sf_hblk_reserve_cnt
	dup 0 to sf_hblk_recurse_cnt
	dup 0 to sf_hblk_reserve_hit
	dup 0 to sf_get_free_success
	dup 0 to sf_get_free_throttle
	dup 0 to sf_get_free_fail
	dup 0 to sf_put_free_success
	dup 0 to sf_put_free_fail
	dup 0 to sf_pgcolor_conflict
	dup 0 to sf_uncache_conflict
	dup 0 to sf_unload_conflict
	dup 0 to sf_ism_uncache
	dup 0 to sf_ism_recache
	dup 0 to sf_recache
	dup 0 to sf_steal_count
	dup 0 to sf_pagesync
	dup 0 to sf_pagesync_invalid
	dup 0 to sf_kernel_xcalls
	dup 0 to sf_user_xcalls
	dup 0 to sf_tsb_grow
	dup 0 to sf_tsb_shrink
	dup 0 to sf_tsb_resize_failures
	dup 0 to sf_tsb_reloc
	dup 0 to sf_user_vtop
	dup 0 to sf_ctx_inv
	dup 0 to sf_tlb_reprog_pgsz
	dup 0 to sf_region_remap_demap
	dup 0 to sf_create_scd
	dup 0 to sf_join_scd
	dup 0 to sf_leave_scd
	dup 0 to sf_destroy_scd
	symbol tsbmiss_area
	20 1 do
		dup 0 to utsb_misses
		dup 0 to ktsb_misses
		dup 0 to uprot_traps
		dup 0 to kprot_traps
		['] .tsbmiss sizeof +
	loop
	[ previous ]
	[ previous ]
;

0 value itlbmis_total
0 value dtlbmis_total
0 value utsbmis_total
0 value ktsbmis_total
0 value kprot_total
0 value uprot_total
0 value thisarea
1 value hatstatcpu

: prt_mmustats ( -- )
	[ also sfmmu_global_stat-words ]
	[ also tsbmiss-words ]
	symbol sfmmu_global_stat .sfmmu_global_stat 
	0 to itlbmis_total
	0 to dtlbmis_total
	0 to utsbmis_total
	0 to ktsbmis_total
	0 to uprot_total
	0 to kprot_total
	1 to hatstatcpu
	symbol tsbmiss_area to thisarea
	20 1 do i
		symbol cpu_ready_set l@ hatstatcpu and
		0 <> if 
			thisarea utsb_misses thisarea uprot_traps - utsbmis_total + to utsbmis_total
			thisarea ktsb_misses thisarea kprot_traps - ktsbmis_total + to ktsbmis_total
			thisarea uprot_traps uprot_total + to uprot_total
			thisarea kprot_traps kprot_total + to kprot_total
		then
		thisarea
		['] .tsbmiss sizeof + to thisarea
		hatstatcpu 1 lshift to hatstatcpu
	loop
	." inst tlb misses = " itlbmis_total .d cr
	." data tlb misses = " dtlbmis_total .d cr
	." u tsb misses = " utsbmis_total .d cr
	." k tsb misses = " ktsbmis_total .d cr
	." u prot misses = " uprot_total .d cr
	." k prot misses = " kprot_total .d cr
	[ previous ]
	[ previous ]
;


: sctx@
        MMU_SCONTEXT ASI_MMU_CTX spacex@
;
: pctx@
        MMU_PCONTEXT ASI_MMU_CTX spacex@
;
 
: umap? ( uvaddr -- )
        sctx@ unix-tte if               \ false | tte-data true
          tte> drop             \ pa
          ." pa = " . cr
        else
          ." no translation" cr
        then
;

( given a page struct will display a list of hatid/va mappings )
( Typical usage:  pfn pfn>page .page-mappings )
: .page-mappings ( page -- )
   [ also page-words ]
   [ also hme_blk-words ]
   [ also hat-words ]
   [ also sf_hment-words ]
   [ also tte-words ]

   ?dup 0= if exit then				( page )
   p_mapping					( sf_hment )
   begin  ?dup  while
      dup hme_tte hmenum			( sf_hment ttenum )
      over sfmmu_hmetohblk call nip		( sf_hment ttenum hblk )
      hblk_tag dup 8 + x@ swap			( sf_hment ttenum hatid tagp )
      x@ h# 1fff invert and			( sf_hment ttenum hatid va )
      rot 2000 * +				( sf_hment hatid va )
      ." VA: " .x ."  HATID: " .x cr		( sf_hment )
      hme_next					( 'sf_hment )
   repeat

   [ previous ]
   [ previous ]
   [ previous ]
   [ previous ]
   [ previous ]
;

: >i$adr ( set addr line -- i$addr )
   3 << swap 5 << or swap d# 13 << or
;

: i$-instr@ ( set addr line -- instr0 instr1 )
   >i$adr h# 66 spaced@ drop       ( i$data )
   xlsplit swap                    ( instr0 instr1 )
;

: i$-tag@ ( set addr -- tag valid )
   0 >i$adr h# 67 spaced@ drop     ( i$data )
   dup d# 8 >> h# fffffff and      ( i$data tag )
   swap d# 36 >> 1 and             ( tag valid )
;

: i$-pdec@ ( set addr line -- pdec0 pdec1 )
   >i$adr h# 6e spaced@ drop       ( i$data )
   dup 4 >> h# f and               ( i$data pdec0 )
   swap h# f and                   ( pdec0 pdec1 )
;

: i$-pnext@ ( set addr line -- lru sp nfa brpd0 brpd1 )
   1 << >i$adr h# 6f spaced@ drop  ( i$data )
   dup d# 24 >> 1 and              ( i$data lru )
   swap dup d# 23 >> 1 and         ( lru i$data sp )
   swap dup d# 12 >> h# 7ff and    ( lru sp i$data nfa )
   swap dup d# 10 >> 3 and         ( lru sp nfa i$data brpd0 )
   swap d# 8 >> 3 and              ( lru sp nfa brpd0 brpd1 )
;

: .i$-tag ( addr tag valid -- )
   ." valid: " .h dup ."  tag: " .h
   d# 13 << swap 5 << or ."  pa: " .h cr
;

: .i$-pdec ( pdec -- )
   ." ( " dup .h ." )"
   dup 2 >>  case
      0  of  ."  call, fba, fbpa or ba"  endof
      1  of  ."  not call, jmpl, bpa, fba, fbpa, or ba"  endof
      2  of  ."  normal jmpl"  endof
      3  of  ."  return jmpl"  endof
   endcase
   dup 1 >> 1 and 0=  if  ."  pc-relative cti"  then
   1 and 0<>  if  ."  store"  then
   cr
;

: .i$-brpd ( brpd -- )
   dup ." ( " .h ." )"
   case
      0  of  ."  likely not taken"  endof
      1  of  ."  likely taken"  endof
      2  of  ."  strongly taken"  endof
      3  of  ."  strongly not taken"  endof
   endcase
;

: .i$-pnext ( which lru sp nfa brpd0 brpd1 -- )
   2>r 2>r
   over 0=  if
      ." lru: " .h
   else
      drop
   then
   2r> rot 0>=  if
      swap ." sp: " .h
   else
      nip
   then
   ." nfa: " .h cr
   2r> swap
   ." brpd0: " .i$-brpd cr
   ." brpd1: " .i$-brpd cr
;

: .i$-set-data ( set addr -- )
   2dup tuck i$-tag@ .i$-tag
   ." instructions" cr
   4 0  do
      2dup i i$-instr@
      swap .h .h cr
   loop
   ." pre-decode" cr
   4 0  do
      2dup i i$-pdec@ swap
      ." instruction" i 2* .h .i$-pdec
      ." instruction" i 2* 1+ .h .i$-pdec
   loop
   ." misc block 0" cr
   2dup over -rot 0 i$-pnext@ .i$-pnext
   ." misc block 1" cr
   -1 -rot 1 i$-pnext@ .i$-pnext
;

: .i$data ( addr -- )
   5 >> h# ff and
   ." set " dup .h cr
   ." way 0:" cr
   dup 0 swap .i$-set-data cr
   ." way 1:" cr
   1 swap .i$-set-data cr
;

: >d$adr ( set addr -- d$addr )
   3 << swap 5 << or
;

: d$-data@ ( set addr -- instr0 instr1 )
   >d$adr h# 46 spacex@        ( d$data )
;

: d$-tag@ ( set -- tag valid0 valid1 )
   0 >d$adr h# 47 spacex@      ( d$data )
   dup 2 >> h# fffffff and     ( d$data tag )
   swap dup 1 and              ( tag d$data valid0 )
   swap 2 and                  ( tag valid0 valid1 )
;

: .d$-tag ( tag valid0 valid1 -- )
   ." valid1: " .h ." valid0: " .h ." tag: " .h
;

: .d$-data ( set -- )
   dup d$-tag@ .d$-tag
   ." data" cr
   4 0  do
      dup i d$-data@
      .h cr
   loop
   drop
;

: .d$data ( addr -- )
   5 >> h# 1ff and
   ." set " dup .h cr
   .d$-data cr
;


vocabulary av1394_isoch_seg_s-words
h# 990 constant av1394_isoch_seg_s-sz
990 ' av1394_isoch_seg_s-words c-struct .av1394_isoch_seg_s
also av1394_isoch_seg_s-words definitions

' .x 988 long-field is_dma_ncookies
' noop ' .x 960 18 28 array-field is_dma_cookie
' .x 20 ptr-field is_dma_hdl
' .x 18 ext-field is_umem_size
' .x 10 ptr-field is_umem_cookie
' .x 8 long-field is_size
' .x 0 ptr-field is_kaddr

kdbg-words definitions
previous

\ end av1394_isoch_seg_s section


vocabulary av1394_isoch_pool_s-words
h# 18 constant av1394_isoch_pool_s-sz
18 ' av1394_isoch_pool_s-words c-struct .av1394_isoch_pool_s
also av1394_isoch_pool_s-words definitions

' .x 14 long-field ip_umem_size
' .x 10 long-field ip_size
' .x c long-field ip_alloc_size
' .x 8 long-field ip_nsegs
' .x 0 ptr-field ip_seg

kdbg-words definitions
previous

\ end av1394_isoch_pool_s section


vocabulary av1394_ir_ixl_data_s-words
h# 60 constant av1394_ir_ixl_data_s-sz
60 ' av1394_ir_ixl_data_s-words c-struct .av1394_ir_ixl_data_s
also av1394_ir_ixl_data_s-words definitions

' .x 40 struct-field rd_jump
' .x 18 struct-field rd_cb
' .x 0 struct-field rd_label

kdbg-words definitions
previous

\ end av1394_ir_ixl_data_s section


vocabulary av1394_ir_s-words
h# 80 constant av1394_ir_s-sz
80 ' av1394_ir_s-words c-struct .av1394_ir_s
also av1394_ir_s-words definitions

' .x 78 ext-field ir_read_off
' .x 70 long-field ir_read_cnt
' .x 6c long-field ir_read_idx
' .x 68 long-field ir_overflow_idx
' .x 64 long-field ir_lowat
' .x 60 long-field ir_hiwat
' .x 5c long-field ir_last_empty
' .x 58 long-field ir_nempty
' .x 54 long-field ir_first_full
' .x 50 long-field ir_nfull
' .x 48 ext-field ir_ixl_tailsz
' .x 40 ext-field ir_ixl_bufsz
' .x 38 ext-field ir_ixl_bpf
' .x 30 long-field ir_ixl_nbufs
' .x 28 ptr-field ir_ixl_buf
' .x 20 ptr-field ir_ixl_data
' .x 18 ptr-field ir_ixlp
' .x 0 struct-field ir_data_pool

kdbg-words definitions
previous

\ end av1394_ir_s section


vocabulary av1394_it_ixl_begin_s-words
h# 118 constant av1394_it_ixl_begin_s-sz
118 ' av1394_it_ixl_begin_s-words c-struct .av1394_it_ixl_begin_s
also av1394_it_ixl_begin_s-words definitions

' .x f8 struct-field be_jump
' noop ' .x 78 28 80 array-field be_empty_post
' .x 58 struct-field be_cb
' .x 40 struct-field be_store_ts
' .x 18 struct-field be_empty_pre
' .x 0 struct-field be_label

kdbg-words definitions
previous

\ end av1394_it_ixl_begin_s section


vocabulary av1394_it_ixl_common_s-words
h# 10 constant av1394_it_ixl_common_s-sz
10 ' av1394_it_ixl_common_s-words c-struct .av1394_it_ixl_common_s
also av1394_it_ixl_common_s-words definitions

' .x 8 long-field tc_size
' .x 0 ptr-field tc_next

kdbg-words definitions
previous

\ end av1394_it_ixl_common_s section


vocabulary av1394_it_ixl_buf_s-words
h# c0 constant av1394_it_ixl_buf_s-sz
c0 ' av1394_it_ixl_buf_s-words c-struct .av1394_it_ixl_buf_s
also av1394_it_ixl_buf_s-words definitions

' .x a0 struct-field tb_jump
' .x 78 struct-field tb_cb
' .x 60 struct-field tb_store_ts
' .x 38 struct-field tb_buf
' .x 20 struct-field tb_label
' .x 18 ptr-field tb_icp
' .x 14 long-field tb_framenum
' .x 10 long-field tb_flags
' .x 0 struct-field tb_common

kdbg-words definitions
previous

\ end av1394_it_ixl_buf_s section


vocabulary av1394_it_ixl_empty_cip_s-words
h# 70 constant av1394_it_ixl_empty_cip_s-sz
70 ' av1394_it_ixl_empty_cip_s-words c-struct .av1394_it_ixl_empty_cip_s
also av1394_it_ixl_empty_cip_s-words definitions

' .x 50 struct-field te_jump
' .x 28 struct-field te_pkt
' .x 10 struct-field te_label
' .x 0 struct-field te_common

kdbg-words definitions
previous

\ end av1394_it_ixl_empty_cip_s section


vocabulary av1394_it_frame_info_s-words
h# 20 constant av1394_it_frame_info_s-sz
20 ' av1394_it_frame_info_s-words c-struct .av1394_it_frame_info_s
also av1394_it_frame_info_s-words definitions

' .x 18 ptr-field fi_last_buf
' .x 10 ptr-field fi_first_buf
' .x 8 long-field fi_ncycs
' .x 0 ptr-field fi_ts_off

kdbg-words definitions
previous

\ end av1394_it_frame_info_s section


vocabulary av1394_it_s-words
h# 190 constant av1394_it_s-sz
190 ' av1394_it_s-words c-struct .av1394_it_s
also av1394_it_s-words definitions

' .x 188 ext-field it_write_off
' .x 184 long-field it_write_cnt
' .x 180 long-field it_write_idx
' .x 178 ptr-field it_saved_label
' .x 170 long-field it_underrun_idx
' .x 16c struct-field it_ts_init
' .x 168 long-field it_start_thre
' .x 164 long-field it_lowat
' .x 160 long-field it_hiwat
' .x 15c long-field it_nfull
' .x 158 long-field it_last_full
' .x 154 long-field it_nempty
' .x 150 long-field it_first_empty
' .x 148 ptr-field it_skipped_cip
' .x 140 ptr-field it_frame_info
' .x 138 ptr-field it_ixl_data
' .x 20 struct-field it_ixl_begin
' .x 18 ptr-field it_ixlp
' .x 0 struct-field it_data_pool

kdbg-words definitions
previous

\ end av1394_it_s section


vocabulary av1394_ic_param_s-words
h# 18 constant av1394_ic_param_s-sz
18 ' av1394_ic_param_s-words c-struct .av1394_ic_param_s
also av1394_ic_param_s-words definitions

' .x 14 long-field cp_ts_mode
' .x 10 long-field cp_d
' .x c long-field cp_n
' .x 8 long-field cp_fn
' .x 4 long-field cp_dbs
' .x 0 long-field cp_bus_speed

kdbg-words definitions
previous

\ end av1394_ic_param_s section


vocabulary av1394_ic_s-words
h# 288 constant av1394_ic_s-sz
288 ' av1394_ic_s-words c-struct .av1394_ic_s
also av1394_ic_s-words definitions

' .x f8 struct-field ic_it
' .x 78 struct-field ic_ir
' .x 74 long-field ic_preq
' .x 70 struct-field ic_xfer_cv
' .x 68 ptr-field ic_isoch_hdl
' .x 60 ptr-field ic_sii_hdl
' .x 58 ext-field ic_mmap_off
' .x 50 ext-field ic_mmap_sz
' .x 34 struct-field ic_param
' .x 30 long-field ic_nframes
' .x 28 ext-field ic_framesz
' .x 20 long-field ic_npkts
' .x 1c long-field ic_pktsz
' .d 18 long-field ic_state
' .x 14 long-field ic_dir
' .x 10 long-field ic_num
' .x 8 ptr-field ic_avp
' .x 0 struct-field ic_mutex

kdbg-words definitions
previous

\ end av1394_ic_s section


vocabulary av1394_as_s-words
h# 8 constant av1394_as_s-sz
8 ' av1394_as_s-words c-struct .av1394_as_s
also av1394_as_s-words definitions

' .x 0 ext-field as_end

kdbg-words definitions
previous

\ end av1394_as_s section


vocabulary av1394_pcr_s-words
h# 10 constant av1394_pcr_s-sz
10 ' av1394_pcr_s-words c-struct .av1394_pcr_s
also av1394_pcr_s-words definitions

' .x 8 ptr-field pcr_addr_hdl
' .x 0 long-field pcr_val

kdbg-words definitions
previous

\ end av1394_pcr_s section


vocabulary av1394_cmp_s-words
h# 208 constant av1394_cmp_s-sz
208 ' av1394_cmp_s-words c-struct .av1394_cmp_s
also av1394_cmp_s-words definitions

' x@ ' .x 200 8 8 array-field cmp_pcr
' .x 0 struct-field cmp_pcr_rwlock

kdbg-words definitions
previous

\ end av1394_cmp_s section


vocabulary av1394_isoch_s-words
h# 440 constant av1394_isoch_s-sz
440 ' av1394_isoch_s-words c-struct .av1394_isoch_s
also av1394_isoch_s-words definitions

' .x 430 struct-field i_autoxmit
' .x 428 ext-field i_softintr_ch
' .x 420 ptr-field i_softintr_id
' .x 418 struct-field i_mmap_as
' x@ ' .x 200 8 218 array-field i_ic
' .x 10 struct-field i_cmp
' .x 8 long-field i_nopen
' .x 0 struct-field i_mutex

kdbg-words definitions
previous

\ end av1394_isoch_s section


vocabulary av1394_list_item_s-words
h# 10 constant av1394_list_item_s-sz
10 ' av1394_list_item_s-words c-struct .av1394_list_item_s
also av1394_list_item_s-words definitions

' .x 8 ptr-field i_prev
' .x 0 ptr-field i_next

kdbg-words definitions
previous

\ end av1394_list_item_s section


vocabulary av1394_list_s-words
h# 18 constant av1394_list_s-sz
18 ' av1394_list_s-words c-struct .av1394_list_s
also av1394_list_s-words definitions

' .x 10 long-field l_cnt
' .x 8 ptr-field l_tail
' .x 0 ptr-field l_head

kdbg-words definitions
previous

\ end av1394_list_s section


vocabulary av1394_queue_s-words
h# 30 constant av1394_queue_s-sz
30 ' av1394_queue_s-words c-struct .av1394_queue_s
also av1394_queue_s-words definitions

' .x 28 struct-field q_cv
' .x 24 long-field q_max
' .x 20 long-field q_size
' .x 8 struct-field q_list
' .x 0 struct-field q_mutex

kdbg-words definitions
previous

\ end av1394_queue_s section


vocabulary av1394_fcp_cmd_s-words
h# 18 constant av1394_fcp_cmd_s-sz
18 ' av1394_fcp_cmd_s-words c-struct .av1394_fcp_cmd_s
also av1394_fcp_cmd_s-words definitions

' .x 14 struct-field fc_xmit_cv
' .d 10 long-field fc_xmit
' .x c struct-field fc_busy_cv
' .d 8 long-field fc_busy
' .x 0 ptr-field fc_cmd

kdbg-words definitions
previous

\ end av1394_fcp_cmd_s section


vocabulary av1394_fcp_s-words
h# 30 constant av1394_fcp_s-sz
30 ' av1394_fcp_s-words c-struct .av1394_fcp_s
also av1394_fcp_s-words definitions

' .x 18 struct-field fcp_resp
' .x 0 struct-field fcp_cmd

kdbg-words definitions
previous

\ end av1394_fcp_s section


vocabulary av1394_cfgrom_text_leaf_s-words
h# 10 constant av1394_cfgrom_text_leaf_s-sz
10 ' av1394_cfgrom_text_leaf_s-words c-struct .av1394_cfgrom_text_leaf_s
also av1394_cfgrom_text_leaf_s-words definitions

' .x 8 long-field tl_desc_entry
' .x 0 ext-field tl_addr

kdbg-words definitions
previous

\ end av1394_cfgrom_text_leaf_s section


vocabulary av1394_cfgrom_parsed_dir_s-words
h# 10 constant av1394_cfgrom_parsed_dir_s-sz
10 ' av1394_cfgrom_parsed_dir_s-words c-struct .av1394_cfgrom_parsed_dir_s
also av1394_cfgrom_parsed_dir_s-words definitions

' .x c long-field pd_tl_next
' .x 8 long-field pd_tl_size
' .x 0 ptr-field pd_tl

kdbg-words definitions
previous

\ end av1394_cfgrom_parsed_dir_s section


vocabulary av1394_cfgrom_parse_arg_s-words
h# 28 constant av1394_cfgrom_parse_arg_s-sz
28 ' av1394_cfgrom_parse_arg_s-words c-struct .av1394_cfgrom_parse_arg_s
also av1394_cfgrom_parse_arg_s-words definitions

' .x 20 ptr-field pa_dir
' .x 18 short-field pa_len
' .x 10 ext-field pa_addr
' .x 8 byte-field pa_parent_k
' .x 4 long-field pa_desc_entry
' .x 0 long-field pa_depth

kdbg-words definitions
previous

\ end av1394_cfgrom_parse_arg_s section


vocabulary av1394_cfgrom_s-words
h# 30 constant av1394_cfgrom_s-sz
30 ' av1394_cfgrom_s-words c-struct .av1394_cfgrom_s
also av1394_cfgrom_s-words definitions

' .x 20 struct-field cr_unit_dir
' .x 10 struct-field cr_root_dir
' .d 8 long-field cr_parsed
' .x 0 struct-field cr_rwlock

kdbg-words definitions
previous

\ end av1394_cfgrom_s section


vocabulary av1394_async_cmd_s-words
h# 18 constant av1394_async_cmd_s-sz
18 ' av1394_async_cmd_s-words c-struct .av1394_async_cmd_s
also av1394_async_cmd_s-words definitions

' .x 10 ptr-field ac_cmd
' .x c struct-field ac_cv
' .d 8 long-field ac_busy
' .x 0 struct-field ac_mutex

kdbg-words definitions
previous

\ end av1394_async_cmd_s section


vocabulary av1394_async_s-words
h# d0 constant av1394_async_s-sz
d0 ' av1394_async_s-words c-struct .av1394_async_s
also av1394_async_s-words definitions

' .x c8 short-field a_pollevents
' .x b0 struct-field a_pollhead
' .x 80 struct-field a_rq
' .x 50 struct-field a_cfgrom
' .x 20 struct-field a_fcp
' .x 1c long-field a_bus_generation
' .x 10 struct-field a_targetinfo
' .x c long-field a_oflag
' .x 8 long-field a_nopen
' .x 0 struct-field a_mutex

kdbg-words definitions
previous

\ end av1394_async_s section


vocabulary av1394_inst_s-words
h# 5b8 constant av1394_inst_s-sz
5b8 ' av1394_inst_s-words c-struct .av1394_inst_s
also av1394_inst_s-words definitions

' .x 5b0 ptr-field av_insert_cb
' .x 5a8 ptr-field av_remove_cb
' .x 5a0 ptr-field av_reset_cb
' .x 160 struct-field av_i
' .x 90 struct-field av_a
' .x 88 ptr-field av_t1394_hdl
' .x 20 struct-field av_attachinfo
' .d 18 long-field av_prev_dev_state
' .d 14 long-field av_dev_state
' .x 10 long-field av_instance
' .x 8 ptr-field av_dip
' .x 0 struct-field av_mutex

kdbg-words definitions
previous

\ end av1394_inst_s section


vocabulary cachefsoptions-words
h# c constant cachefsoptions-sz
c ' cachefsoptions-words c-struct .cachefsoptions
also cachefsoptions-words definitions

' .x 8 long-field opt_fgsize
' .x 4 long-field opt_popsize
' .x 0 long-field opt_flags

kdbg-words definitions
previous

\ end cachefsoptions section


vocabulary cachefs_workq-words
h# 38 constant cachefs_workq-sz
38 ' cachefs_workq-words c-struct .cachefs_workq
also cachefs_workq-words definitions

' .x 30 ptr-field wq_cachep
' .x 28 struct-field wq_queue_lock
' .x 24 struct-field wq_halt_cv
' .x 22 struct-field wq_req_cv
' .x 1e 40000000 20 bits-field wq_logwork
' .x 1f 80000000 20 bits-field wq_keepone
' .x 1c long-field wq_halt_request
' .x 18 long-field wq_max_len
' .x 14 long-field wq_thread_count
' .x 10 long-field wq_length
' .x 8 ptr-field wq_tail
' .x 0 ptr-field wq_head

kdbg-words definitions
previous

\ end cachefs_workq section


vocabulary cfs_cid-words
h# 10 constant cfs_cid-sz
10 ' cfs_cid-words c-struct .cfs_cid
also cfs_cid-words definitions

' .x 8 long-field cid_flags
' .x 0 ext-field cid_fileno

kdbg-words definitions
previous

\ end cfs_cid section


vocabulary cache_label-words
h# 30 constant cache_label-sz
30 ' cache_label-words c-struct .cache_label
also cache_label-words definitions

' .x 2c long-field cl_maxfiles
' .x 28 long-field cl_filemin
' .x 24 long-field cl_filetresh
' .x 20 long-field cl_blockmin
' .x 1c long-field cl_blocktresh
' .x 18 long-field cl_filelowat
' .x 14 long-field cl_filehiwat
' .x 10 long-field cl_maxinodes
' .x c long-field cl_blklowat
' .x 8 long-field cl_blkhiwat
' .x 4 long-field cl_maxblks
' .x 0 long-field cl_cfsversion

kdbg-words definitions
previous

\ end cache_label section


vocabulary cache_usage-words
h# 10 constant cache_usage-sz
10 ' cache_usage-words c-struct .cache_usage
also cache_usage-words definitions

' .x c short-field cu_unique
' .x 8 long-field cu_flags
' .x 4 long-field cu_filesused
' .x 0 long-field cu_blksused

kdbg-words definitions
previous

\ end cache_usage section


vocabulary cachefs_rl_listhead-words
h# 10 constant cachefs_rl_listhead-sz
10 ' cachefs_rl_listhead-words c-struct .cachefs_rl_listhead
also cachefs_rl_listhead-words definitions

' .x c long-field rli_itemcnt
' .x 8 long-field rli_blkcnt
' .x 4 long-field rli_back
' .x 0 long-field rli_front

kdbg-words definitions
previous

\ end cachefs_rl_listhead section


vocabulary cachefs_rl_info-words
h# 98 constant cachefs_rl_info-sz
98 ' cachefs_rl_info-words c-struct .cachefs_rl_info
also cachefs_rl_info-words definitions

' noop ' .x 90 10 8 array-field rl_items
' .x 4 long-field rl_gctime
' .x 0 long-field rl_entries

kdbg-words definitions
previous

\ end cachefs_rl_info section


vocabulary rl_entry-words
h# 28 constant rl_entry-sz
28 ' rl_entry-words c-struct .rl_entry
also rl_entry-words definitions

' .x 20 long-field rl_bkwd_idx
' .x 1c long-field rl_fwd_idx
' .d 18 long-field rl_current
' .x 10 ext-field rl_fileno
' .x 8 ext-field rl_fsid
' .x 1d 20000000 0 bits-field rl_local
' .x 1e 40000000 0 bits-field rl_fsck
' .x 1f 80000000 0 bits-field rl_attrc

kdbg-words definitions
previous

\ end rl_entry section


vocabulary cachefscache-words
h# 1c0 constant cachefscache-sz
1c0 ' cachefscache-words c-struct .cachefscache
also cachefscache-words definitions

' .x 1b8 struct-field c_log_mutex
' .x 1b0 ptr-field c_log_ctl
' .x 1a8 ptr-field c_log
' .x 1a4 long-field c_rootdaemonid
' .x 1a0 long-field c_apop_inqueue
' .x 198 ext-field c_gc_after
' .x 190 ext-field c_gc_before
' .x 188 ext-field c_gc_time
' .x 180 long-field c_gc_count
' .x 17c struct-field c_cwhaltcv
' .x 17a struct-field c_cwcv
' .x 178 short-field c_unique
' .x 170 struct-field c_mflock
' .x 168 struct-field c_fslistlock
' .x 160 struct-field c_contentslock
' .x 128 struct-field c_workq
' .x 120 ptr-field c_fslist
' .x 118 long-field c_refcnt
' .x 110 ptr-field c_lostfoundvp
' .x 108 ptr-field c_lockvp
' .x 100 ptr-field c_dirvp
' .x f8 ptr-field c_rl_entries
' .x f0 long-field c_rl_window
' .x e8 ptr-field c_resfilevp
' .x 4c struct-field c_rlinfo
' .x 3c struct-field c_usage
' .x c struct-field c_label
' .x 8 long-field c_flags
' .x 0 ptr-field c_next

kdbg-words definitions
previous

\ end cachefscache section


vocabulary cachefs_allocmap-words
h# 10 constant cachefs_allocmap-sz
10 ' cachefs_allocmap-words c-struct .cachefs_allocmap
also cachefs_allocmap-words definitions

' .x 8 ext-field am_size
' .x 0 ext-field am_start_off

kdbg-words definitions
previous

\ end cachefs_allocmap section


vocabulary cachefs_metadata-words
h# 3a8 constant cachefs_metadata-sz
3a8 ' cachefs_metadata-words c-struct .cachefs_metadata
also cachefs_metadata-words definitions

' noop ' .x 200 10 1a8 array-field md_allocinfo
' .x 1a0 long-field md_allocents
' .x 19c long-field md_seq
' .x 198 long-field md_resetfileno
' .x 190 ext-field md_localfileno
' .x 188 long-field md_resettimes
' .x 178 struct-field md_localctime
' .x 168 struct-field md_localmtime
' .x 158 struct-field md_x_time
' .x 148 struct-field md_timestamp
' .x 138 struct-field md_parent
' .x 134 long-field md_gen
' .x 130 long-field md_frontblks
' .x e8 struct-field md_fid
' .x e4 long-field md_consttype
' .d e0 long-field md_rltype
' .x dc long-field md_rlno
' .x d8 long-field md_flags
' .x 90 struct-field md_cookie
' .x 8a short-field md_pad1
' .x 88 short-field md_aclclass
' .x 0 struct-field md_vattr

kdbg-words definitions
previous

\ end cachefs_metadata section


vocabulary cachefsops-words
h# 28 constant cachefsops-sz
28 ' cachefsops-words c-struct .cachefsops
also cachefsops-words definitions

' .x 20 ptr-field co_convert_cobject
' .x 18 ptr-field co_invalidate_cobject
' .x 10 ptr-field co_modify_cobject
' .x 8 ptr-field co_check_cobject
' .x 0 ptr-field co_init_cobject

kdbg-words definitions
previous

\ end cachefsops section


vocabulary attrcache_header-words
h# 14 constant attrcache_header-sz
14 ' attrcache_header-words c-struct .attrcache_header
also attrcache_header-words definitions

' .d 10 long-field ach_rl_current
' .x c long-field ach_rlno
' .x 8 long-field ach_nblks
' .x 4 long-field ach_nffs
' .x 0 long-field ach_count

kdbg-words definitions
previous

\ end attrcache_header section


vocabulary attrcache_index-words
h# 4 constant attrcache_index-sz
4 ' attrcache_index-words c-struct .attrcache_index
also attrcache_index-words definitions

' .x 0 7fffffff 0 bits-field ach_offset
' .x 1f 80000000 0 bits-field ach_written

kdbg-words definitions
previous

\ end attrcache_index section


vocabulary cnode-words
h# 498 constant cnode-sz
498 ' cnode-words c-struct .cnode
also cnode-words definitions

' .x 494 long-field c_wrcnt
' .x 490 long-field c_rdcnt
' .x 488 ext-field c_modaddr
' .x 480 long-field c_apoplen
' .x 478 ext-field c_apopoffset
' .x 474 long-field c_mapcnt
' .x 470 long-field c_ipending
' .x 468 ptr-field c_cred
' .x 460 struct-field c_iomutex
' .x 458 struct-field c_iocv
' .x 454 long-field c_ioflags
' .x 450 long-field c_nio
' .x 448 ptr-field c_unlcred
' .x 440 ptr-field c_unlname
' .x 438 ptr-field c_unldvp
' .x 430 ptr-field c_popthrp
' .x 428 struct-field c_popcv
' .x 420 struct-field c_rwlock
' .x 418 struct-field c_statelock
' .x 410 long-field c_error
' .x 68 struct-field c_metadata
' .x 60 ptr-field c_vnode
' .x 5c long-field c_usage
' .x 58 long-field c_invals
' .x 48 struct-field c_id
' .x 40 ptr-field c_filegrp
' .x 38 ext-field c_size
' .x 30 ptr-field c_acldirvp
' .x 28 ptr-field c_backvp
' .x 20 ptr-field c_frontvp
' .x 18 ptr-field c_idlefront
' .x 10 ptr-field c_idleback
' .x 8 ptr-field c_next
' .x 0 long-field c_flags

kdbg-words definitions
previous

\ end cnode section


vocabulary cachefs_fs_sync_req-words
h# 8 constant cachefs_fs_sync_req-sz
8 ' cachefs_fs_sync_req-words c-struct .cachefs_fs_sync_req
also cachefs_fs_sync_req-words definitions

' .x 0 ptr-field cf_cachep

kdbg-words definitions
previous

\ end cachefs_fs_sync_req section


vocabulary cachefs_idle_req-words
h# 8 constant cachefs_idle_req-sz
8 ' cachefs_idle_req-words c-struct .cachefs_idle_req
also cachefs_idle_req-words definitions

' .x 0 ptr-field ci_vp

kdbg-words definitions
previous

\ end cachefs_idle_req section


vocabulary cachefs_putpage_req-words
h# 18 constant cachefs_putpage_req-sz
18 ' cachefs_putpage_req-words c-struct .cachefs_putpage_req
also cachefs_putpage_req-words definitions

' .x 14 long-field cp_flags
' .x 10 long-field cp_len
' .x 8 ext-field cp_off
' .x 0 ptr-field cp_vp

kdbg-words definitions
previous

\ end cachefs_putpage_req section


vocabulary cachefs_populate_req-words
h# 18 constant cachefs_populate_req-sz
18 ' cachefs_populate_req-words c-struct .cachefs_populate_req
also cachefs_populate_req-words definitions

' .x 10 ext-field cpop_size
' .x 8 ext-field cpop_off
' .x 0 ptr-field cpop_vp

kdbg-words definitions
previous

\ end cachefs_populate_req section


vocabulary cachefs_req-words
h# 38 constant cachefs_req-sz
38 ' cachefs_req-words c-struct .cachefs_req
also cachefs_req-words definitions

' .x 30 struct-field cfs_req_lock
' .x 18 struct-field cfs_req_u
' .x 10 ptr-field cfs_cr
' .d 8 long-field cfs_cmd
' .x 0 ptr-field cfs_next

kdbg-words definitions
previous

\ end cachefs_req section


vocabulary cachefs_fid-words
h# 18 constant cachefs_fid-sz
18 ' cachefs_fid-words c-struct .cachefs_fid
also cachefs_fid-words definitions

' .x 10 long-field cf_gen
' .x 8 ext-field cf_fileno
' .x 0 short-field cf_len

kdbg-words definitions
previous

\ end cachefs_fid section


vocabulary cachefs_debug_info-words
h# a8 constant cachefs_debug_info-sz
a8 ' cachefs_debug_info-words c-struct .cachefs_debug_info
also cachefs_debug_info-words definitions

' .x a0 ptr-field cdb_next
' l@ ' .x 40 4 5c array-field cdb_stack
' .x 58 long-field cdb_depth
' .x 50 ext-field cdb_timestamp
' .x 48 ptr-field cdb_thread
' .x 40 ptr-field cdb_backvp
' .x 38 ptr-field cdb_frontvp
' .x 30 ptr-field cdb_cnode
' .x 28 ptr-field cdb_fscp
' .x 20 ptr-field cdb_cachep
' .x 18 long-field cdb_count
' .x 10 ptr-field cdb_pointer
' .x c long-field cdb_int
' .x 8 long-field cdb_flags
' .x 0 ptr-field cdb_message

kdbg-words definitions
previous

\ end cachefs_debug_info section


vocabulary dcd_address-words
h# 10 constant dcd_address-sz
10 ' dcd_address-words c-struct .dcd_address
also dcd_address-words definitions

' .x 8 ptr-field a_hba_tran
' .x 2 short-field da_target
' .x 0 byte-field da_lun

kdbg-words definitions
previous

\ end dcd_address section


vocabulary dcd_device-words
h# 30 constant dcd_device-sz
30 ' dcd_device-words c-struct .dcd_device
also dcd_device-words definitions

' .x 28 ptr-field dcd_private
' .x 20 ptr-field dcd_ident
' .x 18 ptr-field dcd_reserved
' .x 10 struct-field dcd_mutex
' .x 8 ptr-field dcd_dev
' .x 0 ptr-field dcd_address

kdbg-words definitions
previous

\ end dcd_device section


vocabulary dcd_disk-words
h# 188 constant dcd_disk-sz
188 ' dcd_disk-words c-struct .dcd_disk
also dcd_disk-words definitions

' .x 180 struct-field un_tgattribute
' .x 178 ptr-field un_dklbhandle
' .x 176 short-field un_save_state
' .x 174 short-field un_power_level
' .x 172 struct-field un_disk_busy_cv
' .x 170 struct-field un_suspend_cv
' .x 168 ptr-field un_errstats
' .x 160 ptr-field un_reissued_timeid
' .x 15c byte-field un_bus_master
' .x 158 long-field un_max_xfer_size
' .x 150 ptr-field un_devid
' .x 148 long-field un_dcvb_timeid
' .x 144 long-field un_cmd_stat_size
' .x 140 long-field un_cmd_flags
' .x 13c short-field un_sbuf_busy
' .x 13a short-field un_throttle
' .x 138 short-field un_ncmds
' .x 130 ext-field un_timestamp
' .x 12a byte-field un_write_cache_enabled
' .x 129 byte-field un_flush_not_supported
' .x 128 byte-field un_format_in_progress
' .x 127 byte-field un_last_state
' .x 126 byte-field un_state
' .x 125 byte-field un_mediastate
' .x 124 byte-field un_exclopen
' .x 120 long-field un_secdiv
' .x 11c long-field un_secsize
' .x 118 long-field un_blknoshift
' .x 114 long-field un_lbadiv
' .x 110 long-field un_lbasize
' .x 10c long-field un_diskcapacity
' .x 108 long-field un_err_blkno
' .x f8 struct-field un_semoclose
' x@ ' .x 40 8 b8 array-field un_pstats
' .x b0 ptr-field un_stats
' .x 78 struct-field un_utab
' .x 70 byte-field un_last_pkt_reason
' .x 28 struct-field un_ocmap
' .x 22 struct-field un_state_cv
' .x 20 struct-field un_sbuf_cv
' .x 18 ptr-field un_srqbufp
' .x 10 ptr-field un_sbufp
' .x 8 ptr-field un_dp
' .x 0 ptr-field un_dcd

kdbg-words definitions
previous

\ end dcd_disk section


vocabulary dcd_cmd-words
h# 10 constant dcd_cmd-sz
10 ' dcd_cmd-words c-struct .dcd_cmd
also dcd_cmd-words definitions

' .x c struct-field sector_num
' .x 8 long-field version
' .x 4 long-field size
' .x 3 byte-field features
' .x 2 byte-field direction
' .x 1 byte-field address_mode
' .x 0 byte-field cmd

kdbg-words definitions
previous

\ end dcd_cmd section


vocabulary dcd_hba_tran-words
h# 88 constant dcd_hba_tran-sz
88 ' dcd_hba_tran-words c-struct .dcd_hba_tran
also dcd_hba_tran-words definitions

' .x 81 byte-field tran_max_burst_size
' .x 80 byte-field tran_min_burst_size
' .x 7c long-field tran_min_xfer
' .x 78 long-field tran_hba_flags
' .x 70 ptr-field tran_sync_pkt
' .x 68 ptr-field tran_dmafree
' .x 60 ptr-field tran_destroy_pkt
' .x 58 ptr-field tran_init_pkt
' .x 50 ptr-field tran_abort
' .x 48 ptr-field tran_reset
' .x 40 ptr-field tran_start
' .x 38 ptr-field tran_tgt_free
' .x 30 ptr-field tran_tgt_probe
' .x 28 ptr-field tran_tgt_init
' .x 20 ptr-field tran_sd
' .x 18 ptr-field tran_tgt_private
' .x 10 ptr-field tran_hba_private
' .x 8 ptr-field tran_hba_dip
' .x 0 long-field version

kdbg-words definitions
previous

\ end dcd_hba_tran section


vocabulary dcd_identify-words
h# 200 constant dcd_identify-sz
200 ' dcd_identify-words c-struct .dcd_identify
also dcd_identify-words definitions

' w@ ' .x 102 2 fe array-field dcd_padding5
' .x fc short-field dcd_lastlun
' w@ ' .x 4a 2 b2 array-field dcd_padding4
' .x b0 short-field dcd_ultra_dma
' w@ ' .x 4 2 ac array-field dcd_padding3
' .x aa short-field dcd_features85
' w@ ' .x 8 2 a2 array-field dcd_padding2
' .x a0 short-field dcd_majvers
' w@ ' .x 16 2 8a array-field dcd_padding1
' .x 88 short-field dcd_minpioflow
' .x 86 short-field dcd_minpio
' .x 84 short-field dcd_recmwdma
' .x 82 short-field dcd_minmwdma
' .x 80 short-field dcd_advpiomode
' .x 7e short-field dcd_dworddma
' .x 7c short-field dcd_sworddma
' w@ ' .x 4 2 78 array-field dcd_addrsec
' .x 76 short-field dcd_mult2
' w@ ' .x 4 2 72 array-field dcd_cursccp
' .x 70 short-field dcd_cursectrk
' .x 6e short-field dcd_curheads
' .x 6c short-field dcd_curcyls
' .x 6a short-field dcd_validinfo
' .x 68 short-field dcd_dmamode
' .x 66 short-field dcd_piomode
' .x 64 short-field dcd_resv2
' .x 62 short-field dcd_cap
' .x 60 short-field dcd_dwcap
' .x 5e short-field dcd_mult1
' c@ ' .x 28 1 36 array-field dcd_model
' c@ ' .x 8 1 2e array-field dcd_fw
' .x 2c short-field dcd_ecc
' .x 2a short-field dcd_bufsz
' .x 28 short-field dcd_buftype
' c@ ' .x 14 1 14 array-field dcd_drvser
' w@ ' .x 6 2 e array-field dcd_resv1
' .x c short-field dcd_sectors
' .x a short-field dcd_secsiz
' .x 8 short-field dcd_trksiz
' .x 6 short-field dcd_heads
' .x 4 short-field dcd_remcyls
' .x 2 short-field dcd_fixcyls
' .x 0 short-field dcd_config

kdbg-words definitions
previous

\ end dcd_identify section


vocabulary dcd_pkt-words
h# 78 constant dcd_pkt-sz
78 ' dcd_pkt-words c-struct .dcd_pkt
also dcd_pkt-words definitions

' w@ ' .x 4 2 74 array-field reserved
' .x 70 long-field version_no
' .x 60 struct-field pkt_address
' .x 58 ptr-field pkt_passthru
' .x 50 ptr-field pkt_ha_private
' .x 48 ptr-field pkt_private
' .x 40 long-field pkt_startsec
' .x 38 ext-field pkt_resid
' .x 30 ptr-field pkt_comp
' .x 2c long-field pkt_secleft
' .x 28 long-field pkt_reason
' .x 24 long-field pkt_statistics
' .x 20 long-field pkt_state
' .x 1c long-field pkt_cdblen
' .x 18 long-field pkt_scblen
' .x 14 long-field pkt_time
' .x 10 long-field pkt_flags
' .x 8 ptr-field pkt_scbp
' .x 0 ptr-field pkt_cdbp

kdbg-words definitions
previous

\ end dcd_pkt section


vocabulary ecppunit-words
h# 248 constant ecppunit-sz
248 ' ecppunit-words c-struct .ecppunit
also ecppunit-words definitions

' .x 240 long-field noecpregs
' .x 23c long-field intr_soft
' .x 238 long-field intr_spurious
' .x 234 long-field intr_hard
' .x 230 long-field isr_reattempt_high
' .x 22c long-field joblen
' .x 228 long-field ctx_cf
' .x 224 long-field xfer_tout
' l@ ' .x 28 4 1fc array-field to_mode
' l@ ' .x 28 4 1d4 array-field ibytes
' l@ ' .x 28 4 1ac array-field obytes
' .x 1a8 long-field ctxpio_obytes
' .x 1a0 ptr-field intrstats
' .x 198 ptr-field ksp
' .x 190 ext-field nspur
' .x 188 ext-field lastspur
' .x 180 long-field rev_timeout_cnt
' .x 178 ext-field last_dmacnt
' .x 170 ext-field nread
' .x 16d byte-field tfifo_intr
' .x 16c byte-field dma_cancelled
' .x 168 long-field ecpp_drain_counter
' .x 160 ptr-field last_byte
' .x 158 ptr-field next_byte
' .x 150 ext-field resid
' .x 148 ext-field xfercnt
' .x 140 ptr-field ioblock
' .x 13c byte-field softintr_pending
' .x 138 long-field softintr_flags
' .x 130 ptr-field softintr_id
' .x 128 ptr-field wsrv_timer_id
' .x 120 ptr-field fifo_timer_id
' .x 118 ptr-field timeout_id
' .x 114 long-field rev_watchdog
' .x 110 long-field ecp_rev_speed
' .x 10d byte-field fast_compat
' .x 10c byte-field fast_centronics
' .x 108 long-field strobe_pulse_width
' .x 104 long-field data_setup_time
' .x 100 long-field wait_for_busy
' .x fc long-field wsrv_retry
' .x f8 byte-field init_seq
' .x f0 struct-field prn_timeouts
' .x ec byte-field port
' .d e8 long-field timeout_error
' .x e6 byte-field saved_dsr
' .x e4 struct-field regs
' .x dc struct-field xfer_parms
' .x da byte-field io_mode
' .x d9 byte-field backchannel
' .x d8 byte-field current_phase
' .x d4 long-field current_mode
' .d d0 long-field suspended
' .x c8 ptr-field msg
' .x c0 ptr-field writeq
' .x b8 ptr-field readq
' .d b0 long-field oflag
' .x 80 struct-field uh
' .x 78 ptr-field hw
' .x 74 long-field dma_dir
' .x 70 long-field dma_curwin
' .x 6c long-field dma_nwin
' .x 68 long-field dma_cookie_count
' .x 50 struct-field dma_cookie
' .x 48 ptr-field dma_handle
' .x 40 ptr-field f_handle
' .x 38 ptr-field i_handle
' .x 30 ptr-field f_reg
' .x 28 ptr-field i_reg
' .x 24 struct-field pport_cv
' .d 20 long-field e_busy
' .x 18 ptr-field ecpp_trap_cookie
' .x 10 ptr-field dip
' .x 8 long-field instance
' .x 0 struct-field umutex

kdbg-words definitions
previous

\ end ecppunit section


vocabulary isadma_devstate_t-words
h# 38 constant isadma_devstate_t-sz
38 ' isadma_devstate_t-words c-struct .isadma_devstate_t
also isadma_devstate_t-words definitions

' .x 30 long-field isadma_want
' .x 28 ptr-field isadma_ldip
' .x 20 struct-field isadma_access_cv
' .x 18 struct-field isadma_access_lock
' .x 10 long-field isadma_reglen
' .x 8 ptr-field isadma_regp
' .x 0 ptr-field isadma_dip

kdbg-words definitions
previous

\ end isadma_devstate_t section


vocabulary ehci_state-words
h# 28a8 constant ehci_state-sz
28a8 ' ehci_state-words c-struct .ehci_state
also ehci_state-words definitions

' x@ ' .x 20 8 2888 array-field ehci_count_stats
' .x 2880 ptr-field ehci_total_stats
' .x 2878 ptr-field ehci_intrs_stats
' .x 2870 ptr-field ehci_log_hdl
' .x 286c long-field ehci_hc_soft_state
' .x 2868 long-field ehci_polled_read_count
' .x 2864 long-field ehci_polled_kbd_count
' .x 2860 long-field ehci_polled_enter_count
' x@ ' .x 2000 8 860 array-field ehci_polled_frame_list_table
' .x 7a0 struct-field ehci_polled_save_regs
' .x 79c long-field ehci_missed_intr_sts
' .x 798 long-field ehci_hc_error
' .x 790 ext-field ehci_fno
' .x 648 struct-field ehci_root_hub
' .x 640 ptr-field ehci_reclaim_list
' .x 638 long-field ehci_open_periodic_count
' .x 634 long-field ehci_open_async_count
' .x 630 long-field ehci_open_pipe_count
' noop ' .x 480 24 1b0 array-field ehci_frame_bandwidth
' .x 1a8 ptr-field ehci_active_itd_list
' .x 1a0 ptr-field ehci_active_qtd_list
' .x 198 ptr-field ehci_head_of_async_sched_list
' .x 190 struct-field ehci_async_schedule_advance_cv
' .x 188 ptr-field ehci_itd_pool_mem_handle
' .x 180 ptr-field ehci_itd_pool_dma_handle
' .x 168 struct-field ehci_itd_pool_cookie
' .x 160 ptr-field ehci_itd_pool_addr
' .x 158 ptr-field ehci_qtd_pool_mem_handle
' .x 150 ptr-field ehci_qtd_pool_dma_handle
' .x 138 struct-field ehci_qtd_pool_cookie
' .x 130 ptr-field ehci_qtd_pool_addr
' .x 128 long-field ehci_dma_addr_bind_flag
' .x 120 ptr-field ehci_qh_pool_mem_handle
' .x 118 ptr-field ehci_qh_pool_dma_handle
' .x 100 struct-field ehci_qh_pool_cookie
' .x f8 ptr-field ehci_qh_pool_addr
' .x f0 ptr-field ehci_pflt_mem_handle
' .x e8 ptr-field ehci_pflt_dma_handle
' .x d0 struct-field ehci_pflt_cookie
' .x c8 ptr-field ehci_periodic_frame_list_tablep
' .x c0 struct-field ehci_int_mutex
' .d b8 long-field ehci_msi_enabled
' .x b4 long-field ehci_intr_cap
' .x b0 long-field ehci_intr_pri
' .x ac long-field ehci_intr_cnt
' .x a8 long-field ehci_intr_type
' .x a0 ptr-field ehci_htable
' .x 50 struct-field ehci_dma_attr
' .x 48 long-field ehci_frame_interval
' .x 40 ptr-field ehci_config_handle
' .x 38 ptr-field ehci_regsp
' .x 30 ptr-field ehci_capsp
' .x 28 ptr-field ehci_caps_handle
' .x 20 byte-field ehci_rev_id
' .x 1e short-field ehci_device_id
' .x 1c short-field ehci_vendor_id
' .x 18 long-field ehci_flags
' .x 10 ptr-field ehci_hcdi_ops
' .x 8 long-field ehci_instance
' .x 0 ptr-field ehci_dip

kdbg-words definitions
previous

\ end ehci_state section


vocabulary ehci_frame_bandwidth-words
h# 24 constant ehci_frame_bandwidth-sz
24 ' ehci_frame_bandwidth-words c-struct .ehci_frame_bandwidth
also ehci_frame_bandwidth-words definitions

' l@ ' .x 20 4 4 array-field ehci_micro_frame_bandwidth
' .x 0 long-field ehci_allocated_frame_bandwidth

kdbg-words definitions
previous

\ end ehci_frame_bandwidth section


vocabulary ehci_pipe_private-words
h# 80 constant ehci_pipe_private-sz
80 ' ehci_pipe_private-words c-struct .ehci_pipe_private
also ehci_pipe_private-words definitions

' .x 78 ptr-field pp_client_periodic_in_reqp
' .x 74 struct-field pp_halt_cmpl_cv
' .x 70 long-field pp_halt_state
' .x 6c long-field pp_flag
' .x 68 struct-field pp_xfer_cmpl_cv
' .d 64 long-field pp_error
' .x 60 long-field pp_count_done_qtds
' .x 58 ptr-field pp_timer_id
' .x 50 ptr-field pp_timeout_list
' .x 48 ptr-field pp_itw_tail
' .x 40 ptr-field pp_itw_head
' .x 38 ptr-field pp_tw_tail
' .x 30 ptr-field pp_tw_head
' .x 28 ext-field pp_next_frame_number
' .x 24 long-field pp_max_periodic_req_cnt
' .x 20 long-field pp_cur_periodic_req_cnt
' .x 1d byte-field pp_cmask
' .x 1c byte-field pp_smask
' .x 18 long-field pp_pnode
' .x 14 struct-field pp_policy
' .x 10 long-field pp_state
' .x 8 ptr-field pp_qh
' .x 0 ptr-field pp_pipe_handle

kdbg-words definitions
previous

\ end ehci_pipe_private section


vocabulary ehci_trans_wrapper-words
h# b8 constant ehci_trans_wrapper-sz
b8 ' ehci_trans_wrapper-words c-struct .ehci_trans_wrapper
also ehci_trans_wrapper-words definitions

' .x b0 ptr-field tw_alt_qtd
' .x a8 ptr-field tw_qtd_free_list
' .x a0 ptr-field tw_handle_callback_value
' .x 98 ptr-field tw_handle_qtd
' .x 90 ptr-field tw_timeout_next
' .x 88 long-field tw_timeout
' .x 80 ptr-field tw_curr_xfer_reqp
' .x 78 long-field tw_direction
' .x 70 ptr-field tw_qtd_tail
' .x 68 ptr-field tw_qtd_head
' .x 64 long-field tw_num_qtds
' .d 60 long-field tw_flags
' .x 58 ptr-field tw_buf
' .x 50 ext-field tw_length
' .x 48 long-field tw_id
' .x 40 ext-field tw_dma_offs
' .x 3c long-field tw_cookie_idx
' .x 38 long-field tw_ncookies
' .x 20 struct-field tw_cookie
' .x 18 ptr-field tw_accesshandle
' .x 10 ptr-field tw_dmahandle
' .x 8 ptr-field tw_pipe_private
' .x 0 ptr-field tw_next

kdbg-words definitions
previous

\ end ehci_trans_wrapper section


vocabulary ehci_caps-words
h# 14 constant ehci_caps-sz
14 ' ehci_caps-words c-struct .ehci_caps
also ehci_caps-words definitions

' c@ ' .x 8 1 c array-field ehci_port_route
' .x 8 long-field ehci_hcc_params
' .x 4 long-field ehci_hcs_params
' .x 2 short-field ehci_version
' .x 1 byte-field ehci_pad
' .x 0 byte-field ehci_caps_length

kdbg-words definitions
previous

\ end ehci_caps section


vocabulary ehci_regs-words
h# c0 constant ehci_regs-sz
c0 ' ehci_regs-words c-struct .ehci_regs
also ehci_regs-words definitions

' l@ ' .x 7c 4 44 array-field ehci_rh_port_status
' .x 40 long-field ehci_config_flag
' l@ ' .x 24 4 1c array-field ehci_pad
' .x 18 long-field ehci_async_list_addr
' .x 14 long-field ehci_periodic_list_base
' .x 10 long-field ehci_ctrl_segment
' .x c long-field ehci_frame_index
' .x 8 long-field ehci_interrupt
' .x 4 long-field ehci_status
' .x 0 long-field ehci_command

kdbg-words definitions
previous

\ end ehci_regs section


vocabulary ehci_qh-words
h# 60 constant ehci_qh-sz
60 ' ehci_qh-words c-struct .ehci_qh
also ehci_qh-words definitions

' c@ ' .x 8 1 58 array-field qh_pad
' .x 54 long-field qh_reclaim_frame
' .x 50 long-field qh_reclaim_next
' .x 4c long-field qh_state
' .x 48 long-field qh_prev
' .x 44 long-field qh_dummy_qtd
' l@ ' .x 14 4 30 array-field qh_buf_high
' l@ ' .x 14 4 1c array-field qh_buf
' .x 18 long-field qh_status
' .x 14 long-field qh_alt_next_qtd
' .x 10 long-field qh_next_qtd
' .x c long-field qh_curr_qtd
' .x 8 long-field qh_split_ctrl
' .x 4 long-field qh_ctrl
' .x 0 long-field qh_link_ptr

kdbg-words definitions
previous

\ end ehci_qh section


vocabulary ehci_qtd-words
h# 60 constant ehci_qtd-sz
60 ' ehci_qtd-words c-struct .ehci_qtd
also ehci_qtd-words definitions

' c@ ' .x c 1 54 array-field qtd_pad
' .x 50 long-field qtd_xfer_len
' .x 4c long-field qtd_xfer_offs
' .x 48 long-field qtd_ctrl_phase
' .x 44 long-field qtd_state
' .x 40 long-field qtd_active_qtd_prev
' .x 3c long-field qtd_active_qtd_next
' .x 38 long-field qtd_tw_next_qtd
' .x 34 long-field qtd_trans_wrapper
' l@ ' .x 14 4 20 array-field qtd_buf_high
' l@ ' .x 14 4 c array-field qtd_buf
' .x 8 long-field qtd_ctrl
' .x 4 long-field qtd_alt_next_qtd
' .x 0 long-field qtd_next_qtd

kdbg-words definitions
previous

\ end ehci_qtd section


vocabulary ehci_root_hub-words
h# 148 constant ehci_root_hub-sz
148 ' ehci_root_hub-words c-struct .ehci_root_hub
also ehci_root_hub-words definitions

' .x 140 ptr-field rh_intr_pipe_timer_id
' .x 13c long-field rh_intr_pending_status
' .x 138 long-field rh_intr_pipe_state
' .x 130 ptr-field rh_client_intr_reqp
' .x 128 ptr-field rh_curr_intr_reqp
' .x 120 ptr-field rh_intr_pipe_handle
' .x 118 long-field rh_ctrl_pipe_state
' .x 110 ptr-field rh_curr_ctrl_reqp
' .x 108 ptr-field rh_ctrl_pipe_handle
' l@ ' .x 7c 4 8c array-field rh_port_state
' l@ ' .x 7c 4 10 array-field rh_port_status
' .x c long-field rh_companion_controllers
' .x 0 struct-field rh_descr

kdbg-words definitions
previous

\ end ehci_root_hub section


vocabulary esp-words
h# 10c8 constant esp-sz
10c8 ' esp-words c-struct .esp
also esp-words definitions

' .x 10c0 ptr-field e_intr_kstat
' .x 10b8 long-field e_flags
' .x 10b0 ptr-field e_cmdarea_acc_handle
' .x 10a8 ptr-field e_regs_acc_handle
' w@ ' .x 10 2 1098 array-field e_qfull_retry_interval
' c@ ' .x 8 1 1090 array-field e_qfull_retries
' .x 1088 ptr-field e_restart_cmd_timeid
' .x 1080 ptr-field e_reset_notify_listf
' .x 1078 ptr-field e_kmem_cache
' .x 1070 ptr-field e_startb
' .x 1068 ptr-field e_startf
' .x 1060 struct-field e_startQ_mutex
' .x 1058 ptr-field e_callback_info
' .x 1050 long-field e_callback_signal_needed
' x@ ' .x 200 8 e50 array-field e_save_pkt
' x@ ' .x 200 8 c50 array-field e_rq_sense_data
' x@ ' .x 200 8 a50 array-field e_arq_pkt
' l@ ' .x 20 4 a30 array-field e_reset_delay
' w@ ' .x 80 2 9b0 array-field e_tcmds
' w@ ' .x 80 2 930 array-field e_throttle
' x@ ' .x 200 8 730 array-field e_tagQ
' x@ ' .x 200 8 530 array-field e_readyb
' x@ ' .x 200 8 330 array-field e_readyf
' x@ ' .x 200 8 130 array-field e_slots
' .x 12a short-field e_next_slot
' .x 128 short-field e_cur_slot
' .x 126 short-field e_last_slot
' .x 124 byte-field e_dslot
' .x 120 long-field e_esc_read_count
' .x 11c long-field e_lastcount
' .x 118 long-field e_lastdma
' .x 110 ptr-field e_dma
' .x 108 ptr-field e_reg
' .x 102 short-field e_ndisc
' .x 100 short-field e_ncmds
' .x f8 ptr-field e_dma_attr
' .x f0 ptr-field e_dmahandle
' .x d8 struct-field e_dmacookie
' .x d0 long-field e_dmaga_csr
' .x c8 ptr-field e_cmdarea
' .x c0 long-field e_scsi_reset_delay
' .x bc long-field e_options
' .x b8 long-field e_scsi_tag_age_limit
' l@ ' .x 20 4 98 array-field e_target_scsi_options
' .x 94 long-field e_scsi_options
' .x 92 short-field e_props_update
' .x 91 byte-field e_polled_intr
' .x 90 byte-field e_target_scsi_options_defined
' .x 8f byte-field e_notag
' .x 8e byte-field e_weak
' .x 8d byte-field e_nodisc
' .x 8c byte-field e_force_async
' .x 8b byte-field e_sync_known
' .x 8a byte-field e_period_last
' .x 89 byte-field e_offset_last
' .x 88 byte-field e_req_ack_delay
' c@ ' .x 8 1 80 array-field e_default_period
' c@ ' .x 8 1 78 array-field e_backoff
' c@ ' .x 8 1 70 array-field e_neg_period
' c@ ' .x 8 1 68 array-field e_period
' c@ ' .x 8 1 60 array-field e_offset
' .x 5f byte-field e_last_msgin
' .x 5e byte-field e_imsgindex
' .x 5d byte-field e_imsglen
' c@ ' .x 8 1 55 array-field e_imsgarea
' .x 54 byte-field e_omsglen
' .x 53 byte-field e_last_msgout
' c@ ' .x c 1 47 array-field e_cur_msgout
' .x 46 byte-field e_suspended
' .x 44 short-field e_laststate
' .x 42 short-field e_state
' .x 41 byte-field e_last_cmd
' .x 40 byte-field e_reset
' .x 3f byte-field e_abort
' .x 3e byte-field e_step
' .x 3d byte-field e_intr
' .x 3c byte-field e_stat
' .x 3b byte-field e_sdtr
' .x 3a byte-field e_stval
' .x 38 short-field e_clock_cycle
' .x 37 byte-field e_clock_conv
' .x 36 byte-field e_espconf3_last
' .x 35 byte-field e_espconf3_fastscsi
' c@ ' .x 8 1 2d array-field e_espconf3
' .x 2c byte-field e_espconf2
' .x 2b byte-field e_espconf
' .x 2a byte-field e_dma_rev
' .x 29 byte-field e_idcode
' .x 28 byte-field e_type
' .x 20 ptr-field e_next
' .x 18 ptr-field e_iblock
' .x 10 struct-field e_mutex
' .x 8 ptr-field e_dev
' .x 0 ptr-field e_tran

kdbg-words definitions
previous

\ end esp section


vocabulary callback_info-words
h# 40 constant callback_info-sz
40 ' callback_info-words c-struct .callback_info
also callback_info-words definitions

' .x 3a struct-field c_cvd
' .x 39 byte-field c_exit
' .x 38 byte-field c_signal_needed
' .x 37 byte-field c_count
' .x 36 byte-field c_spawned
' .x 35 byte-field c_cb_now_qlen
' .x 34 byte-field c_id
' .x 30 long-field c_qlen
' .x 28 ptr-field c_thread
' .x 20 struct-field c_cv
' .x 18 struct-field c_mutex
' .x 10 ptr-field c_qb
' .x 8 ptr-field c_qf
' .x 0 ptr-field c_next

kdbg-words definitions
previous

\ end callback_info section


vocabulary esp_cmd-words
h# 158 constant esp_cmd-sz
158 ' esp_cmd-words c-struct .esp_cmd
also esp_cmd-words definitions

' .x b8 struct-field cmd_pkt
' c@ ' .x 2 1 b6 array-field cmd_tag
' .x b4 short-field cmd_age
' c@ ' .x 20 1 94 array-field cmd_scb
' .x 90 long-field cmd_privlen
' .x 8c long-field cmd_scblen
' .x 8a byte-field cmd_qfull_retries
' .x 89 byte-field cmd_cdblen_alloc
' .x 88 byte-field cmd_cdblen
' x@ ' .x 10 8 78 array-field cmd_pkt_private
' c@ ' .x c 1 68 array-field cmd_cdb
' .x 60 ext-field cmd_timeout
' .x 58 long-field cmd_dmacount
' .x 40 struct-field cmd_dmacookie
' .x 38 ptr-field cmd_dmahandle
' .x 30 long-field cmd_saved_cur_addr
' .x 2c long-field cmd_saved_data_count
' .x 28 short-field cmd_saved_win
' .x 26 short-field cmd_cur_win
' .x 24 short-field cmd_nwin
' .x 20 long-field cmd_cur_addr
' .x 1c long-field cmd_data_count
' .x 18 long-field cmd_flags
' .x 10 ptr-field cmd_scbp
' .x 8 ptr-field cmd_cdbp
' .x 0 ptr-field cmd_forw

kdbg-words definitions
previous

\ end esp_cmd section


vocabulary t_slots-words
h# 810 constant t_slots-sz
810 ' t_slots-words c-struct .t_slots
also t_slots-words definitions

' x@ ' .x 800 8 10 array-field t_slot
' .x 8 long-field e_timebase
' .x 4 long-field e_timeout
' .x 2 byte-field e_tags
' .x 0 short-field e_dups

kdbg-words definitions
previous

\ end t_slots section


vocabulary fas-words
h# 1488 constant fas-sz
1488 ' fas-words c-struct .fas
also fas-words definitions

' .x 1480 ptr-field f_intr_kstat
' .x 1478 ptr-field f_quiesce_timeid
' .x 1470 long-field f_softstate
' .x 146c struct-field f_cv
' .x 1468 long-field f_flags
' .x 1460 ptr-field f_dmar_acc_handle
' .x 1458 ptr-field f_cmdarea_acc_handle
' .x 1450 ptr-field f_regs_acc_handle
' .x 1448 ptr-field f_kmem_cache
' .x 1440 ptr-field f_restart_cmd_timeid
' w@ ' .x 20 2 1420 array-field f_qfull_retry_interval
' c@ ' .x 10 1 1410 array-field f_qfull_retries
' .x 1408 ptr-field f_reset_notify_listf
' .x 1400 ptr-field f_waitb
' .x 13f8 ptr-field f_waitf
' .x 13f0 struct-field f_waitQ_mutex
' .x 13e8 long-field f_c_in_callback
' .x 13e0 struct-field f_c_mutex
' .x 13d8 ptr-field f_c_qb
' .x 13d0 ptr-field f_c_qf
' x@ ' .x 400 8 fd0 array-field f_arq_pkt
' l@ ' .x 40 4 f90 array-field f_reset_delay
' w@ ' .x 100 2 e90 array-field f_tcmds
' w@ ' .x 100 2 d90 array-field f_throttle
' x@ ' .x 400 8 990 array-field f_readyb
' x@ ' .x 400 8 590 array-field f_readyf
' x@ ' .x 400 8 190 array-field f_active
' .x 188 ptr-field f_current_sp
' .x 184 long-field f_lastcount
' .x 180 long-field f_lastdma
' .x 178 ptr-field f_dma
' .x 170 ptr-field f_reg
' .x 16a short-field f_ndisc
' .x 168 short-field f_ncmds
' .x 160 ptr-field f_dma_attr
' .x 158 ptr-field f_dmahandle
' .x 140 struct-field f_dmacookie
' .x 138 long-field f_dma_csr
' .x 130 ptr-field f_cmdarea
' .x 12c long-field f_scsi_reset_delay
' .x 128 long-field f_scsi_tag_age_limit
' l@ ' .x 40 4 e8 array-field f_target_scsi_options
' .x e4 long-field f_scsi_options
' .x e0 long-field f_target_scsi_options_defined
' .x de short-field f_props_update
' .x dc short-field f_notag
' .x da short-field f_force_narrow
' .x d8 short-field f_force_async
' .x d6 short-field f_sync_enabled
' .x d4 short-field f_nosync
' .x d2 short-field f_sync_known
' .x d0 short-field f_wide_enabled
' .x ce short-field f_nowide
' .x cc short-field f_wide_known
' c@ ' .x 20 1 ac array-field f_fifo
' .x ab byte-field f_fifolen
' .x aa byte-field f_period_reg_last
' .x a9 byte-field f_offset_reg_last
' .x a8 byte-field f_req_ack_delay
' .x a6 short-field f_backoff
' c@ ' .x 10 1 95 array-field f_neg_period
' c@ ' .x 10 1 85 array-field f_sync_period
' c@ ' .x 10 1 75 array-field f_offset
' .x 74 byte-field f_resel_slot
' .x 73 byte-field f_next_slot
' .x 72 byte-field f_last_msgin
' .x 71 byte-field f_imsgindex
' .x 70 byte-field f_imsglen
' c@ ' .x 8 1 68 array-field f_imsgarea
' .x 67 byte-field f_omsglen
' .x 66 byte-field f_last_msgout
' c@ ' .x c 1 5a array-field f_cur_msgout
' .x 59 byte-field f_polled_intr
' .x 58 byte-field f_idcode
' .x 57 byte-field f_dslot
' .x 56 byte-field f_suspended
' .x 54 short-field f_laststate
' .x 52 short-field f_state
' .x 51 byte-field f_last_cmd
' .x 50 byte-field f_reset_msg_sent
' .x 4f byte-field f_abort_msg_sent
' .x 4e byte-field f_step
' .x 4d byte-field f_intr
' .x 4c byte-field f_stat2
' .x 4b byte-field f_stat
' .x 4a byte-field f_wdtr_sent
' .x 49 byte-field f_sdtr_sent
' .x 48 byte-field f_stval
' .x 46 short-field f_clock_cycle
' .x 45 byte-field f_clock_conv
' .x 44 byte-field f_fasconf3_reg_last
' c@ ' .x 10 1 34 array-field f_fasconf3
' .x 33 byte-field f_fasconf2
' .x 32 byte-field f_fasconf
' .x 31 byte-field f_hm_rev
' .x 30 byte-field f_type
' .x 28 ptr-field f_next
' .x 20 ptr-field f_iblock
' .x 18 struct-field f_mutex
' .x 10 ptr-field f_dev
' .x 8 ptr-field f_tran
' .x 0 long-field f_instance

kdbg-words definitions
previous

\ end fas section


vocabulary fasreg-words
h# 40 constant fasreg-sz
40 ' fasreg-words c-struct .fasreg
also fasreg-words definitions

' .x 3f byte-field _pad57
' .x 3e byte-field _pad56
' .x 3d byte-field _pad55
' .x 3c byte-field fas_recmd_hi
' .x 3b byte-field _pad54
' .x 3a byte-field _pad53
' .x 39 byte-field _pad52
' .x 38 byte-field fas_recmd_lo
' c@ ' .x 4 1 34 array-field _pad_reserved
' .x 33 byte-field _pad51
' .x 32 byte-field _pad50
' .x 31 byte-field _pad49
' .x 30 byte-field fas_conf3
' .x 2f byte-field _pad47
' .x 2e byte-field _pad46
' .x 2d byte-field _pad45
' .x 2c byte-field fas_conf2
' .x 2b byte-field _pad43
' .x 2a byte-field _pad42
' .x 29 byte-field _pad41
' .x 28 byte-field fas_test
' .x 27 byte-field _pad39
' .x 26 byte-field _pad38
' .x 25 byte-field _pad37
' .x 24 byte-field fas_clock_conv
' .x 23 byte-field _pad35
' .x 22 byte-field _pad34
' .x 21 byte-field _pad33
' .x 20 byte-field fas_conf
' .x 1f byte-field _pad31
' .x 1e byte-field _pad30
' .x 1d byte-field _pad29
' .x 1c byte-field fas_fifo_flag
' .x 1b byte-field _pad27
' .x 1a byte-field _pad26
' .x 19 byte-field _pad25
' .x 18 byte-field fas_step
' .x 17 byte-field _pad23
' .x 16 byte-field _pad22
' .x 15 byte-field _pad21
' .x 14 byte-field fas_intr
' .x 13 byte-field _pad19
' .x 12 byte-field _pad18
' .x 11 byte-field _pad17
' .x 10 byte-field fas_stat
' .x f byte-field _pad15
' .x e byte-field _pad14
' .x d byte-field _pad13
' .x c byte-field fas_cmd
' .x b byte-field _pad11
' .x a byte-field _pad10
' .x 9 byte-field _pad9
' .x 8 byte-field fas_fifo_data
' .x 7 byte-field _pad7
' .x 6 byte-field _pad6
' .x 5 byte-field _pad5
' .x 4 byte-field fas_xcnt_mid
' .x 3 byte-field _pad3
' .x 2 byte-field _pad2
' .x 1 byte-field _pad1
' .x 0 byte-field fas_xcnt_lo

kdbg-words definitions
previous

\ end fasreg section


vocabulary fas_cmd-words
h# b0 constant fas_cmd-sz
b0 ' fas_cmd-words c-struct .fas_cmd
also fas_cmd-words definitions

' .x ae byte-field cmd_actual_cdblen
' c@ ' .x 2 1 ac array-field cmd_tag
' .x a8 long-field cmd_privlen
' x@ ' .x 10 8 98 array-field cmd_pkt_private
' .x 94 long-field cmd_cdblen
' .x 91 byte-field cmd_age
' .x 90 byte-field cmd_slot
' .x 8c long-field cmd_scblen
' .x 6c struct-field cmd_scb
' .x 68 long-field cmd_flags
' c@ ' .x c 1 5c array-field cmd_cdb
' .x 58 long-field cmd_dmacount
' .x 40 struct-field cmd_dmacookie
' .x 38 ptr-field cmd_dmahandle
' .x 30 long-field cmd_pkt_flags
' .x 2c long-field cmd_saved_cur_addr
' .x 28 long-field cmd_saved_data_count
' .x 26 short-field cmd_saved_win
' .x 24 short-field cmd_cur_win
' .x 22 short-field cmd_nwin
' .x 20 short-field cmd_qfull_retries
' .x 1c long-field cmd_cur_addr
' .x 18 long-field cmd_data_count
' .x 10 ptr-field cmd_cdbp
' .x 8 ptr-field cmd_forw
' .x 0 ptr-field cmd_pkt

kdbg-words definitions
previous

\ end fas_cmd section


vocabulary f_slots-words
h# 18 constant f_slots-sz
18 ' f_slots-words c-struct .f_slots
also f_slots-words definitions

' x@ ' .x 8 8 10 array-field f_slot
' .x e short-field f_size
' .x c short-field f_n_slots
' .x 8 long-field f_timebase
' .x 4 long-field f_timeout
' .x 2 short-field f_tags
' .x 0 short-field f_dups

kdbg-words definitions
previous

\ end f_slots section


vocabulary dma-words
h# 10 constant dma-sz
10 ' dma-words c-struct .dma
also dma-words definitions

' .x c long-field dma_test
' .x 8 long-field dma_count
' .x 4 long-field dma_addr
' .x 0 long-field dma_csr

kdbg-words definitions
previous

\ end dma section


vocabulary fdctlr-words
h# 208 constant fdctlr-sz
208 ' fdctlr-words c-struct .fdctlr
also fdctlr-words definitions

' .x 204 byte-field sb_dma_lock
' .x 200 long-field sb_dma_channel
' .x 1f8 ptr-field c_dma_buf_handle
' .x 1f0 ptr-field dma_buf
' .x 1a0 struct-field c_fd_dma_lim
' .x 198 ptr-field c_auxio_reg
' .x 190 ptr-field c_dmahandle
' .x 188 ptr-field c_handlep_aux
' .x 180 ptr-field c_handlep_dma
' .x 178 ptr-field c_handlep_cont
' .x 171 byte-field c_auxiodata2
' .x 170 byte-field c_auxiodata
' .x 168 ptr-field c_auxiova
' .x 160 byte-field c_flags
' .x 138 struct-field fdstats
' .x 130 ptr-field c_intrstat
' .x 128 ptr-field c_current
' .x 120 ptr-field c_actl
' .x 118 ptr-field c_actf
' .x 110 ptr-field c_un
' .x 108 ptr-field c_mtimeid
' .x 100 ptr-field c_timeid
' .x f8 ptr-field c_dip
' .x f0 ptr-field c_softid
' .x e8 ptr-field c_block
' .x d8 struct-field c_ocsem
' .x d0 struct-field c_suspend_cv
' .x ce struct-field c_statecv
' .x cc struct-field c_motoncv
' .x ca struct-field c_csbcv
' .x c8 struct-field c_iocv
' .x c0 struct-field c_lolock
' .x b8 struct-field c_hilock
' .x 50 struct-field c_csb
' .x 4c byte-field c_fasttrap
' .x 48 long-field c_softic
' .x 40 ptr-field c_hiintct
' .x 38 long-field c_fdtype
' .x 30 ptr-field c_dma_regs
' .x 28 ptr-field c_dir
' .x 20 ptr-field c_dor
' .x 18 ptr-field c_fifo
' .x 10 ptr-field c_control
' .x 8 ptr-field c_reg
' .x 0 ptr-field c_next

kdbg-words definitions
previous

\ end fdctlr section


vocabulary fdcsb-words
h# 68 constant fdcsb-sz
68 ' fdcsb-words c-struct .fdcsb
also fdcsb-words definitions

' .x 64 long-field csb_read
' .x 60 long-field csb_windex
' .x 5c long-field csb_nwin
' .x 58 long-field csb_ccount
' .x 40 struct-field csb_dmacookie
' .x 3a byte-field csb_dma_rslt
' .x 39 byte-field csb_dcsr_rslt
' c@ ' .x a 1 2f array-field csb_rslt
' c@ ' .x a 1 25 array-field csb_cmds
' .x 24 byte-field csb_cmdstat
' .x 23 byte-field csb_status
' .x 22 byte-field csb_retrys
' .x 21 byte-field csb_maxretry
' .x 20 byte-field csb_opflags
' .x 1f byte-field csb_nrslts
' .x 1e byte-field csb_ncmds
' .x 1d byte-field csb_unit
' .x 1c byte-field csb_opmode
' .x 18 long-field csb_rlen
' .x 10 ptr-field csb_raddr
' .x 8 long-field csb_len
' .x 0 ptr-field csb_addr

kdbg-words definitions
previous

\ end fdcsb section


vocabulary glm-words
h# 1328 constant glm-sz
1328 ' glm-words c-struct .glm
also glm-words definitions

' .x 1322 short-field g_force_narrow
' .x 1320 short-field g_force_async
' .x 131c long-field g_reset_received
' .x 1318 long-field g_reset_recursion
' .x 1314 long-field g_reset_retries
' .x 1310 long-field g_errmsg_retries
' .x 12c0 struct-field g_hba_dma_attrs
' .x 12b8 byte-field g_max_div
' .x 12b0 ptr-field g_config_handle
' .x 12a8 long-field g_power_level
' c@ ' .x 10 1 1298 array-field g_max_lun
' .x 1294 long-field g_in_callback
' l@ ' .x 40 4 1254 array-field g_arq_mask
' .x 1250 long-field g_options
' .x 1248 ptr-field g_kmem_cache
' .x 1246 byte-field g_suspended
' .x 1245 byte-field g_polled_intr
' .x 1244 byte-field g_state
' .x 1242 short-field g_ndisc
' .x 1241 byte-field g_glmid
' .x 1240 byte-field g_scntl3
' l@ ' .x 40 4 1200 array-field g_minperiod
' c@ ' .x 10 1 11f0 array-field g_syncstate
' .x 11ec long-field g_hba_period
' .x 11e8 long-field g_speriod
' .x 11e4 long-field g_sclock
' l@ ' .x 40 4 11a4 array-field g_reset_delay
' .x 11a0 long-field g_scsi_reset_delay
' .x 1198 ptr-field g_restart_cmd_timeid
' w@ ' .x 20 2 1178 array-field g_qfull_retry_interval
' c@ ' .x 10 1 1168 array-field g_qfull_retries
' .x 1160 ptr-field g_reset_notify_listf
' .x 115c long-field g_scsi_tag_age_limit
' .x 1158 short-field g_notag
' .x 1156 short-field g_props_update
' .x 1154 short-field g_backoff
' .x 1152 byte-field g_wdtr_sent
' .x 1150 short-field g_wide_enabled
' .x 114e short-field g_nowide
' .x 114c short-field g_wide_known
' .x 114a short-field g_ppr_sent
' .x 1148 short-field g_ppr_known
' .x 1146 short-field g_ppr_supported
' .x 1144 short-field g_ppr_enabled
' l@ ' .x 40 4 1104 array-field g_target_scsi_options
' .x 1100 long-field g_scsi_options
' .x 10fc long-field g_target_scsi_options_defined
' .x 10f8 long-field g_dsa_addr
' .x 10f0 ptr-field g_dsa
' .x 10e8 ptr-field g_dsa_acc_h
' .x 10e0 ptr-field g_dsa_dma_h
' .x 10dc long-field g_dt_di_list_end
' .x 10d8 long-field g_dt_do_list_end
' .x 10d4 long-field g_di_list_end
' .x 10d0 long-field g_do_list_end
' l@ ' .x 28 4 10a8 array-field g_glm_scripts
' .x 10a0 ptr-field g_script_dma_handle
' .x 1098 ptr-field g_script_acc_handle
' .x 1090 long-field g_ram_base_addr
' .x 1088 ptr-field g_scripts_ram
' .x 1080 ptr-field g_quiesce_timeid
' .x 107c byte-field g_dt_offset
' .x 107b byte-field g_sync_offset
' .x 107a byte-field g_revid
' .x 1078 short-field g_devid
' .x 1070 ptr-field g_devaddr
' .x 1068 ptr-field g_datap
' .x 1060 ptr-field g_donetail
' .x 1058 ptr-field g_doneq
' .x 1050 ptr-field g_backp
' .x 1048 ptr-field g_forwp
' .x 1040 ptr-field g_current
' x@ ' .x 1000 8 40 array-field g_units
' .x 38 long-field g_softstate
' .x 30 ptr-field g_dip
' .x 28 ptr-field g_iblock
' .x 20 struct-field g_cv
' .x 18 struct-field g_mutex
' .x 10 ptr-field g_tran
' .x 8 ptr-field g_next
' .x 0 long-field g_instance

kdbg-words definitions
previous

\ end glm section


vocabulary glm_scsi_cmd-words
h# 148 constant glm_scsi_cmd-sz
148 ' glm_scsi_cmd-words c-struct .glm_scsi_cmd
also glm_scsi_cmd-words definitions

' c@ ' .x 2 1 140 array-field cmd_tag
' x@ ' .x 80 8 c0 array-field cmd_pkt_private
' c@ ' .x c 1 b0 array-field cmd_cdb
' noop ' .x 8 8 a8 array-field cmd_sg
' .x a0 ptr-field cmd_linkp
' .x 9f byte-field cmd_type
' .x 9e byte-field cmd_queued
' .x 9c short-field cmd_qfull_retries
' .x 98 long-field cmd_dmacount
' .x 94 long-field cmd_scblen
' .x 93 byte-field cmd_privlen
' .x 92 byte-field cmd_age
' .x 91 byte-field cmd_rqslen
' .x 90 byte-field cmd_cdblen
' .x 70 struct-field cmd_scb
' .x 68 ptr-field cmd_pkt
' .x 64 long-field cmd_pkt_flags
' .x 60 byte-field cmd_saved_cookie
' .x 5c long-field cmd_pmm_count
' .x 58 long-field cmd_pmm_addr
' .x 54 long-field cmd_saved_count
' .x 50 long-field cmd_saved_addr
' .x 48 ext-field cmd_dma_offset
' .x 40 ext-field cmd_dma_length
' .x 3c long-field cmd_woff
' .x 38 long-field cmd_cwin
' .x 34 long-field cmd_scc
' .x 30 long-field cmd_nwin
' .x 2c long-field cmd_winindex
' .x 28 long-field cmd_cookiec
' .x 10 struct-field cmd_cookie
' .x 8 ptr-field cmd_dmahandle
' .x 0 long-field cmd_flags

kdbg-words definitions
previous

\ end glm_scsi_cmd section


vocabulary glm_dsa-words
h# 7c constant glm_dsa-sz
7c ' glm_dsa-words c-struct .glm_dsa
also glm_dsa-words definitions

' c@ ' .x 6 1 75 array-field nt_ppribuf
' c@ ' .x 2 1 73 array-field nt_wideibuf
' c@ ' .x 1 1 72 array-field nt_errmsgbuf
' c@ ' .x 1 1 71 array-field nt_statbuf
' c@ ' .x 3 1 6e array-field nt_syncibuf
' c@ ' .x 1 1 6d array-field nt_extmsgbuf
' c@ ' .x 1 1 6c array-field nt_msginbuf
' c@ ' .x c 1 60 array-field nt_msgoutbuf
' c@ ' .x c 1 54 array-field nt_cdb
' noop ' .x 8 8 4c array-field nt_data
' .x 44 struct-field nt_pprin
' .x 3c struct-field nt_widein
' .x 34 struct-field nt_errmsg
' .x 2c struct-field nt_syncin
' .x 24 struct-field nt_extmsg
' .x 1c struct-field nt_status
' .x 14 struct-field nt_cmd
' .x c struct-field nt_rcvmsg
' .x 4 struct-field nt_sendmsg
' .x 0 struct-field nt_selectparm

kdbg-words definitions
previous

\ end glm_dsa section


vocabulary glm_unit-words
h# 78 constant glm_unit-sz
78 ' glm_unit-words c-struct .glm_unit
also glm_unit-words definitions

' .x 74 long-field nt_msgouttype
' .x 70 long-field nt_msgoutcount
' .x 68 ptr-field nt_arq_pkt
' .x 64 short-field nt_throttle
' .x 63 byte-field nt_sscfX10
' .x 62 byte-field nt_fastscsi
' .x 60 short-field nt_lun
' .x 5e short-field nt_target
' .x 5c byte-field nt_status1
' .x 5b byte-field nt_status0
' .x 5a byte-field nt_dma_status
' .x 59 byte-field nt_goterror
' .x 58 byte-field nt_state
' .x 50 ptr-field nt_accessp
' .x 48 ptr-field nt_dma_p
' .x 40 short-field nt_tcmds
' .x 38 ptr-field nt_active
' .x 30 long-field nt_dsa_addr
' .x 28 ptr-field nt_linkp
' .x 20 ptr-field nt_waitqtail
' .x 18 ptr-field nt_waitq
' .x 10 ptr-field nt_ncmdp
' .x 8 ptr-field nt_dsap
' .x 0 long-field nt_refcnt

kdbg-words definitions
previous

\ end glm_unit section


vocabulary nt_slots-words
h# 18 constant nt_slots-sz
18 ' nt_slots-words c-struct .nt_slots
also nt_slots-words definitions

' x@ ' .x 8 8 10 array-field nt_slot
' .x e short-field nt_size
' .x c short-field nt_n_slots
' .x 8 long-field nt_timebase
' .x 4 long-field nt_timeout
' .x 2 short-field nt_tags
' .x 0 short-field nt_dups

kdbg-words definitions
previous

\ end nt_slots section


vocabulary hci1394_state_s-words
h# 240 constant hci1394_state_s-sz
240 ' hci1394_state_s-words c-struct .hci1394_state_s
also hci1394_state_s-words definitions

' .x b8 struct-field halinfo
' .d b0 long-field swap_data
' .x a8 ptr-field pci_config
' .x 90 struct-field vendor_info
' .x 30 struct-field drvinfo
' .x 28 ptr-field sl_selfid_buf
' .x 20 ptr-field isoch
' .x 18 ptr-field csr
' .x 10 ptr-field vendor
' .x 8 ptr-field async
' .x 0 ptr-field ohci

kdbg-words definitions
previous

\ end hci1394_state_s section


vocabulary hci1394_q_info_s-words
h# 28 constant hci1394_q_info_s-sz
28 ' hci1394_q_info_s-words c-struct .hci1394_q_info_s
also hci1394_q_info_s-words definitions

' .x 20 ptr-field qi_callback_arg
' .x 18 ptr-field qi_wake
' .x 10 ptr-field qi_start
' .d 8 long-field qi_mode
' .x 4 long-field qi_data_size
' .x 0 long-field qi_desc_size

kdbg-words definitions
previous

\ end hci1394_q_info_s section


vocabulary hci1394_q_cmd_s-words
h# 68 constant hci1394_q_cmd_s-sz
68 ' hci1394_q_cmd_s-words c-struct .hci1394_q_cmd_s
also hci1394_q_cmd_s-words definitions

' .x 40 struct-field qc_node
' .x 38 long-field qc_data_buf
' .x 30 ptr-field qc_data_end
' .d 2c long-field qc_data_used
' .x 28 long-field qc_descriptor_buf
' .x 20 ptr-field qc_descriptor_end
' .x 18 ptr-field qc_status_addr
' .x 10 long-field qc_status
' .x c long-field qc_timestamp
' .x 8 long-field qc_generation
' .x 0 ptr-field qc_arg

kdbg-words definitions
previous

\ end hci1394_q_cmd_s section


vocabulary hci1394_q_bufptr_s-words
h# 40 constant hci1394_q_bufptr_s-sz
40 ' hci1394_q_bufptr_s-words c-struct .hci1394_q_bufptr_s
also hci1394_q_bufptr_s-words definitions

' .x 3c long-field qp_resv_size
' .x 38 long-field qp_free_buf
' .x 34 long-field qp_current_buf
' .x 30 long-field qp_offset
' .x 28 ptr-field qp_end
' .x 20 ptr-field qp_begin
' .x 18 ptr-field qp_free
' .x 10 ptr-field qp_current
' .x 8 ptr-field qp_bottom
' .x 0 ptr-field qp_top

kdbg-words definitions
previous

\ end hci1394_q_bufptr_s section


vocabulary hci1394_q_buf_s-words
h# 250 constant hci1394_q_buf_s-sz
250 ' hci1394_q_buf_s-words c-struct .hci1394_q_buf_s
also hci1394_q_buf_s-words definitions

' .x 208 struct-field qb_buf
' .x 200 ptr-field qb_buf_handle
' noop ' .x 180 18 80 array-field qb_cookie
' .x 40 struct-field qb_backup_ptrs
' .x 0 struct-field qb_ptrs

kdbg-words definitions
previous

\ end hci1394_q_buf_s section


vocabulary hci1394_q_s-words
h# 508 constant hci1394_q_s-sz
508 ' hci1394_q_s-words c-struct .hci1394_q_s
also hci1394_q_s-words definitions

' .x 500 struct-field q_mutex
' .x 4d8 struct-field q_info
' .x 288 struct-field q_data
' .x 38 struct-field q_desc
' .d 34 long-field q_dma_running
' .x 30 long-field q_space_left
' .x 28 ptr-field q_head
' .x 20 long-field q_block_cnt
' .x 18 ptr-field q_previous
' .x 10 ptr-field q_ohci
' .x 8 ptr-field q_drvinfo
' .x 0 ptr-field q_queued_list

kdbg-words definitions
previous

\ end hci1394_q_s section


vocabulary hci1394_async_cmd_s-words
h# c8 constant hci1394_async_cmd_s-sz
c8 ' hci1394_async_cmd_s-words c-struct .hci1394_async_cmd_s
also hci1394_async_cmd_s-words definitions

' .x 60 struct-field ac_qcmd
' .x 38 struct-field ac_plist_node
' .x 30 ptr-field ac_async
' .d 28 long-field ac_state
' .x 24 long-field ac_dest
' .x 20 long-field ac_status
' .d 1c long-field ac_mblk_alloc
' .x 14 struct-field ac_tlabel
' .d 10 long-field ac_tlabel_alloc
' .x 8 ptr-field ac_priv
' .x 0 ptr-field ac_cmd

kdbg-words definitions
previous

\ end hci1394_async_cmd_s section


vocabulary hci1394_async_s-words
h# 58 constant hci1394_async_s-sz
58 ' hci1394_async_s-words c-struct .hci1394_async_s
also hci1394_async_s-words definitions

' .x 50 struct-field as_atomic_lookup
' .x 4c long-field as_phy_reset
' .d 48 long-field as_flushing_arreq
' .x 40 ptr-field as_drvinfo
' .x 38 ptr-field as_atresp_q
' .x 30 ptr-field as_arreq_q
' .x 28 ptr-field as_arresp_q
' .x 20 ptr-field as_atreq_q
' .x 18 ptr-field as_csr
' .x 10 ptr-field as_tlabel
' .x 8 ptr-field as_ohci
' .x 0 ptr-field as_pending_list

kdbg-words definitions
previous

\ end hci1394_async_s section


vocabulary hci1394_csr_s-words
h# 30 constant hci1394_csr_s-sz
30 ' hci1394_csr_s-words c-struct .hci1394_csr_s
also hci1394_csr_s-words definitions

' .x 28 struct-field csr_mutex
' .x 20 ptr-field csr_drvinfo
' .x 18 ptr-field csr_ohci
' .x 14 long-field csr_capabilities
' .d 10 long-field csr_was_root
' .x c long-field csr_split_timeout
' .x 8 long-field csr_split_timeout_hi
' .x 4 long-field csr_split_timeout_lo
' .x 0 long-field csr_state

kdbg-words definitions
previous

\ end hci1394_csr_s section


vocabulary hci1394_buf_parms_s-words
h# 18 constant hci1394_buf_parms_s-sz
18 ' hci1394_buf_parms_s-words c-struct .hci1394_buf_parms_s
also hci1394_buf_parms_s-words definitions

' .x 10 ext-field bp_alignment
' .x 8 long-field bp_max_cookies
' .x 0 ext-field bp_length

kdbg-words definitions
previous

\ end hci1394_buf_parms_s section


vocabulary hci1394_buf_info_s-words
h# 48 constant hci1394_buf_info_s-sz
48 ' hci1394_buf_info_s-words c-struct .hci1394_buf_info_s
also hci1394_buf_info_s-words definitions

' .x 40 ptr-field bi_dma_handle
' .x 38 ptr-field bi_handle
' .x 30 ext-field bi_real_length
' .x 28 ext-field bi_length
' .x 20 ptr-field bi_kaddr
' .x 18 long-field bi_cookie_count
' .x 0 struct-field bi_cookie

kdbg-words definitions
previous

\ end hci1394_buf_info_s section


vocabulary hci1394_buf_s-words
h# 18 constant hci1394_buf_s-sz
18 ' hci1394_buf_s-words c-struct .hci1394_buf_s
also hci1394_buf_s-words definitions

' .x 10 ptr-field bu_drvinfo
' .x 8 ptr-field bu_dma_handle
' .x 0 ptr-field bu_handle

kdbg-words definitions
previous

\ end hci1394_buf_s section


vocabulary hci1394_drvstate_s-words
h# 10 constant hci1394_drvstate_s-sz
10 ' hci1394_drvstate_s-words c-struct .hci1394_drvstate_s
also hci1394_drvstate_s-words definitions

' .x 8 struct-field ds_mutex
' .d 0 long-field ds_state

kdbg-words definitions
previous

\ end hci1394_drvstate_s section


vocabulary hci1394_stats_s-words
h# 1c constant hci1394_stats_s-sz
1c ' hci1394_stats_s-words c-struct .hci1394_stats_s
also hci1394_stats_s-words definitions

' .x 18 long-field st_phy_portevt_err
' .x 14 long-field st_phy_timeout_err
' .x 10 long-field st_phy_pwrfail_err
' .x c long-field st_phy_loop_err
' .x 8 long-field st_phy_isr
' .x 4 long-field st_selfid_count
' .x 0 long-field st_bus_reset_count

kdbg-words definitions
previous

\ end hci1394_stats_s section


vocabulary hci1394_drvinfo_s-words
h# 60 constant hci1394_drvinfo_s-sz
60 ' hci1394_drvinfo_s-words c-struct .hci1394_drvinfo_s
also hci1394_drvinfo_s-words definitions

' .x 56 struct-field di_buf_attr
' .x 50 struct-field di_reg_attr
' .x 48 ptr-field di_iblock_cookie
' .x 28 struct-field di_stats
' .x 18 struct-field di_drvstate
' .x 14 long-field di_gencnt
' .x 10 long-field di_instance
' .x 8 ptr-field di_sl_private
' .x 0 ptr-field di_dip

kdbg-words definitions
previous

\ end hci1394_drvinfo_s section


vocabulary hci1394_idma_desc_mem_s-words
h# 60 constant hci1394_idma_desc_mem_s-sz
60 ' hci1394_idma_desc_mem_s-words c-struct .hci1394_idma_desc_mem_s
also hci1394_idma_desc_mem_s-words definitions

' .x 5c long-field offset
' .x 58 long-field used
' .x 10 struct-field mem
' .x 8 ptr-field mem_handle
' .x 0 ptr-field dma_nextp

kdbg-words definitions
previous

\ end hci1394_idma_desc_mem_s section


vocabulary hci1394_iso_ctxt_s-words
h# 90 constant hci1394_iso_ctxt_s-sz
90 ' hci1394_iso_ctxt_s-words c-struct .hci1394_iso_ctxt_s
also hci1394_iso_ctxt_s-words definitions

' .x 88 ptr-field isoch_dma_stopped
' .x 80 ptr-field idma_evt_arg
' .x 78 ptr-field global_callback_arg
' .x 70 ptr-field default_skipxferp
' .x 68 ptr-field default_skiplabelp
' .x 66 short-field default_skipmode
' .x 64 short-field default_sync
' .x 62 short-field default_tag
' .x 60 short-field dma_last_time
' .x 5c long-field rem_noadv_intrs
' .x 58 long-field max_noadv_intrs
' .x 54 long-field max_dma_skips
' .x 50 long-field ixl_exec_depth
' .x 48 ptr-field ixl_execp
' .x 40 ptr-field ixl_firstp
' .x 3c long-field reserved
' .x 38 long-field dma_mem_execp
' .x 30 ptr-field dma_firstp
' .x 28 ptr-field xcs_firstp
' .x 20 ptr-field ctxt_regsp
' .x 1c short-field isochan
' .x 1a short-field isospd
' .x 18 struct-field intr_cv
' .x 10 struct-field intrprocmutex
' .x c long-field intr_flags
' .x 8 long-field ctxt_flags
' .x 4 long-field ctxt_io_mode
' .x 0 long-field ctxt_index

kdbg-words definitions
previous

\ end hci1394_iso_ctxt_s section


vocabulary hci1394_isoch_s-words
h# 2448 constant hci1394_isoch_s-sz
2448 ' hci1394_isoch_s-words c-struct .hci1394_isoch_s
also hci1394_isoch_s-words definitions

' .x 2440 struct-field ctxt_list_mutex
' noop ' .x 1200 90 1240 array-field ctxt_recv
' noop ' .x 1200 90 40 array-field ctxt_xmit
' .x 3c long-field ctxt_recv_count
' .x 38 long-field ctxt_xmit_count
' .x 34 long-field unused
' .x 30 long-field isoch_dma_alloc_cnt
' .x 18 struct-field cycle_incon_thresh
' .x 0 struct-field cycle_lost_thresh

kdbg-words definitions
previous

\ end hci1394_isoch_s section


vocabulary hci1394_ohci_s-words
h# e0 constant hci1394_ohci_s-sz
e0 ' hci1394_ohci_s-words c-struct .hci1394_ohci_s
also hci1394_ohci_s-words definitions

' .x d8 ptr-field soft_state
' .x d0 struct-field ohci_mutex
' .x c8 ptr-field ohci_regs
' .x c0 ptr-field ohci_reg_handle
' .x 78 struct-field ohci_cfgrom
' .x 30 struct-field ohci_selfid
' .x 28 ptr-field ohci_drvinfo
' .d 24 long-field ohci_phy
' .d 20 long-field ohci_bustime_enabled
' .x 1c long-field ohci_bustime_count
' .x 18 long-field ohci_gap_count
' .d 14 long-field ohci_set_gap_count
' .d 10 long-field ohci_set_root_holdoff
' .x 8 ptr-field ohci_selfid_handle
' .x 0 ptr-field ohci_cfgrom_handle

kdbg-words definitions
previous

\ end hci1394_ohci_s section


vocabulary hci1394_tlabel_info_s-words
h# 8 constant hci1394_tlabel_info_s-sz
8 ' hci1394_tlabel_info_s-words c-struct .hci1394_tlabel_info_s
also hci1394_tlabel_info_s-words definitions

' .x 4 long-field tbi_tlabel
' .x 0 long-field tbi_destination

kdbg-words definitions
previous

\ end hci1394_tlabel_info_s section


vocabulary hci1394_tlabel_s-words
h# 8660 constant hci1394_tlabel_s-sz
8660 ' hci1394_tlabel_s-words c-struct .hci1394_tlabel_s
also hci1394_tlabel_s-words definitions

' .x 8658 struct-field tb_mutex
' .x 8650 ptr-field tb_drvinfo
' noop ' .x 8000 200 650 array-field tb_lookup
' .x 648 ext-field tb_reclaim_time
' x@ ' .x 200 8 448 array-field tb_bad_timestamp
' c@ ' .x 40 1 408 array-field tb_last
' x@ ' .x 200 8 208 array-field tb_bad
' x@ ' .x 200 8 8 array-field tb_free
' .d 4 long-field tb_bcast_sent
' .x 0 long-field tb_max_node

kdbg-words definitions
previous

\ end hci1394_tlabel_s section


vocabulary hci1394_tlist_node_s-words
h# 28 constant hci1394_tlist_node_s-sz
28 ' hci1394_tlist_node_s-words c-struct .hci1394_tlist_node_s
also hci1394_tlist_node_s-words definitions

' .x 20 ptr-field tln_next
' .x 18 ptr-field tln_prev
' .x 10 ext-field tln_expire_time
' .d 8 long-field tln_on_list
' .x 0 ptr-field tln_addr

kdbg-words definitions
previous

\ end hci1394_tlist_node_s section


vocabulary hci1394_tlist_timer_s-words
h# 20 constant hci1394_tlist_timer_s-sz
20 ' hci1394_tlist_timer_s-words c-struct .hci1394_tlist_timer_s
also hci1394_tlist_timer_s-words definitions

' .x 18 ptr-field tlt_callback_arg
' .x 10 ptr-field tlt_callback
' .x 8 ext-field tlt_timer_resolution
' .x 0 ext-field tlt_timeout

kdbg-words definitions
previous

\ end hci1394_tlist_timer_s section


vocabulary hci1394_tlist_s-words
h# 50 constant hci1394_tlist_s-sz
50 ' hci1394_tlist_s-words c-struct .hci1394_tlist_s
also hci1394_tlist_s-words definitions

' .x 48 struct-field tl_mutex
' .x 40 ptr-field tl_drvinfo
' .x 20 struct-field tl_timer_info
' .x 18 ptr-field tl_timeout_id
' .d 14 long-field tl_state
' .d 10 long-field tl_timer_enabled
' .x 8 ptr-field tl_tail
' .x 0 ptr-field tl_head

kdbg-words definitions
previous

\ end hci1394_tlist_s section


vocabulary hci1394_vendor_info_s-words
h# 18 constant hci1394_vendor_info_s-sz
18 ' hci1394_vendor_info_s-words c-struct .hci1394_vendor_info_s
also hci1394_vendor_info_s-words definitions

' .x 14 long-field vendor_reg_count
' .x 10 long-field ohci_vendor_id
' .x c long-field ohci_version
' .x 8 long-field revision_id
' .x 4 long-field device_id
' .x 0 long-field vendor_id

kdbg-words definitions
previous

\ end hci1394_vendor_info_s section


vocabulary hci1394_vendor_reg_s-words
h# 10 constant hci1394_vendor_reg_s-sz
10 ' hci1394_vendor_reg_s-words c-struct .hci1394_vendor_reg_s
also hci1394_vendor_reg_s-words definitions

' .x 8 ptr-field vr_reg_handle
' .x 0 ptr-field vr_reg_addr

kdbg-words definitions
previous

\ end hci1394_vendor_reg_s section


vocabulary hci1394_vendor_s-words
h# 60 constant hci1394_vendor_s-sz
60 ' hci1394_vendor_s-words c-struct .hci1394_vendor_s
also hci1394_vendor_s-words definitions

' .x 48 struct-field ve_info
' .x 40 ptr-field ve_drvinfo
' x@ ' .x 30 8 10 array-field ve_reg_array
' .x 8 long-field ve_reg_count
' .x 0 ptr-field ve_ohci

kdbg-words definitions
previous

\ end hci1394_vendor_s section


vocabulary hid_power_t-words
h# 28 constant hid_power_t-sz
28 ' hid_power_t-words c-struct .hid_power_t
also hid_power_t-words definitions

' .x 20 ptr-field hid_pm_pwrup
' .x 18 byte-field hid_current_power
' .d 14 long-field hid_raise_power
' .x 12 byte-field hid_pm_capabilities
' .x 11 byte-field hid_pwr_states
' .x 10 byte-field hid_wakeup_enabled
' .d c long-field hid_pm_strategy
' .x 8 long-field hid_pm_busy
' .x 0 ptr-field hid_state

kdbg-words definitions
previous

\ end hid_power_t section


vocabulary hid_state_t-words
h# b0 constant hid_state_t-sz
b0 ' hid_state_t-words c-struct .hid_state_t
also hid_state_t-words definitions

' .x ac long-field hid_external_flag
' .x a8 long-field hid_internal_flag
' .x a0 ptr-field hid_inuse_rq
' .x 98 ptr-field hid_external_rq
' .x 90 ptr-field hid_internal_rq
' .x 88 ptr-field hid_log_handle
' .x 80 ptr-field hid_polled_raw_buf
' .x 78 ptr-field hid_polled_console_info
' .x 74 struct-field hid_intr_pipe_policy
' .x 70 long-field hid_packet_size
' .x 68 ptr-field hid_interrupt_pipe
' .x 60 ptr-field hid_default_pipe
' .x 58 ptr-field hid_report_descr
' .x 50 struct-field hid_ep_intr_descr
' .x 46 struct-field hid_hid_descr
' .x 3c struct-field hid_if_descr
' .x 38 long-field hid_interfaceno
' .x 30 ptr-field hid_dev_descr
' .x 28 ptr-field hid_dev_data
' .x 20 ptr-field hid_pm
' .x 1c long-field hid_default_pipe_req
' .x 18 long-field hid_dev_state
' .x 14 long-field hid_attach_flags
' .x 10 long-field hid_instance
' .x 8 struct-field hid_mutex
' .x 0 ptr-field hid_dip

kdbg-words definitions
previous

\ end hid_state_t section


vocabulary hub_power_t-words
h# 70 constant hub_power_t-sz
70 ' hub_power_t-words c-struct .hub_power_t
also hub_power_t-words definitions

' .x 58 struct-field hubp_confpwr_descr
' x@ ' .x 28 8 30 array-field hubp_pmcomp
' .x 28 ptr-field hubp_child_pwrstate
' .x 20 byte-field hubp_min_pm_threshold
' .x 18 ext-field hubp_time_at_full_power
' .x 11 byte-field hubp_current_power
' .x 10 byte-field hubp_pm_capabilities
' .x c long-field hubp_busy_pm
' .x 9 byte-field hubp_pwr_states
' .x 8 byte-field hubp_wakeup_enabled
' .x 0 ptr-field hubp_hubd

kdbg-words definitions
previous

\ end hub_power_t section


vocabulary hubd-words
h# 1d0 constant hubd-sz
1d0 ' hubd-words c-struct .hubd
also hubd-words definitions

' .x 1c8 ptr-field h_cleanup_child
' .d 1c0 long-field h_ignore_pwr_budget
' .x 1be short-field h_pwr_left
' .x 1bc short-field h_pwr_limit
' .d 1b8 long-field h_local_pwr_on
' .d 1b4 long-field h_local_pwr_capable
' .d 1b0 long-field h_cleanup_active
' .d 1ac long-field h_cleanup_needed
' .d 1a8 long-field h_cleanup_enabled
' .x 1a0 ptr-field h_dev_data
' .x 198 ptr-field h_ancestry_str
' .x 190 ext-field h_total_hotplug_failure
' .x 188 ext-field h_total_hotplug_success
' .x 180 ptr-field h_cpr_cb
' .x 178 ptr-field h_ndi_event_hdl
' .x 170 ptr-field h_log_handle
' .x 16c long-field h_intr_completion_reason
' .x 16a struct-field h_cv_hotplug_dev
' .x 168 struct-field h_cv_reset_port
' c@ ' .x 20 1 148 array-field h_child_events
' l@ ' .d 80 4 c8 array-field h_reset_port
' w@ ' .x 40 2 88 array-field h_port_state
' .x 84 long-field h_port_reset_wait
' .x 80 long-field h_port_change
' .x 78 ptr-field h_usba_devices
' .x 70 ext-field h_cd_list_length
' .x 68 ptr-field h_children_dips
' .x 64 long-field h_hotplug_thread
' .x 58 struct-field h_hub_descr
' .x 54 long-field h_intr_pipe_state
' .x 50 struct-field h_pipe_policy
' .x 48 struct-field h_ep1_descr
' .x 40 ptr-field h_ep1_ph
' .x 38 ptr-field h_default_pipe
' .x 30 long-field h_softstate
' .x 28 ptr-field h_usba_device
' .x 20 struct-field h_mutex
' .x 18 ptr-field h_dip
' .x 10 ptr-field h_hubpm
' .x d byte-field h_bus_pwr
' .x c byte-field h_bus_ctls
' .x 8 long-field h_dev_state
' .x 4 long-field h_init_state
' .x 0 long-field h_instance

kdbg-words definitions
previous

\ end hubd section


vocabulary usb_hub_descr-words
h# a constant usb_hub_descr-sz
a ' usb_hub_descr-words c-struct .usb_hub_descr
also usb_hub_descr-words definitions

' .x 9 byte-field PortPwrCtrlMask
' .x 8 byte-field DeviceRemovable
' .x 7 byte-field bHubContrCurrent
' .x 6 byte-field bPwrOn2PwrGood
' .x 4 short-field wHubCharacteristics
' .x 2 byte-field bNbrPorts
' .x 1 byte-field bDescriptorType
' .x 0 byte-field bDescLength

kdbg-words definitions
previous

\ end usb_hub_descr section


vocabulary hubd_offline_req_t-words
h# 48 constant hubd_offline_req_t-sz
48 ' hubd_offline_req_t-words c-struct .hubd_offline_req_t
also hubd_offline_req_t-words definitions

' .x 40 long-field or_flag
' .x 38 ptr-field or_dip
' .x 30 short-field or_port
' .x 28 ptr-field or_hubd
' .x 0 struct-field or_queue

kdbg-words definitions
previous

\ end hubd_offline_req_t section


vocabulary ibnex_t-words
h# 88 constant ibnex_t-sz
88 ' ibnex_t-words c-struct .ibnex_t
also ibnex_t-words definitions

' .x 80 ptr-field ibnex_ioc_list
' .x 7c long-field ibnex_ioc_list_state
' .x 78 struct-field ibnex_ioc_list_cv
' .x 74 long-field ibnex_pseudo_inited
' .x 70 long-field ibnex_num_disconnect_iocs
' .x 6c struct-field ibnex_reprobe_cv
' .x 68 long-field ibnex_reprobe_state
' .x 60 ptr-field ibnex_prop_update_evt_cookie
' .x 58 ptr-field ibnex_ndi_event_hdl
' .x 50 ptr-field ibnex_pseudo_node_head
' .x 48 ptr-field ibnex_ioc_node_head
' .x 40 ptr-field ibnex_port_node_head
' .x 38 ptr-field ibnex_hcasvc_comm_svc_names
' .x 30 long-field ibnex_nhcasvc_comm_svcs
' .x 28 ptr-field ibnex_vppa_comm_svc_names
' .x 20 long-field ibnex_nvppa_comm_svcs
' .x 18 ptr-field ibnex_comm_svc_names
' .x 10 long-field ibnex_num_comm_svcs
' .x 8 struct-field ibnex_mutex
' .x 0 ptr-field ibnex_dip

kdbg-words definitions
previous

\ end ibnex_t section


vocabulary ibnex_ioc_node_t-words
h# c8 constant ibnex_ioc_node_t-sz
c8 ' ibnex_ioc_node_t-words c-struct .ibnex_ioc_node_t
also ibnex_ioc_node_t-words definitions

' c@ ' .x 42 1 81 array-field ioc_phci_guid
' c@ ' .x 21 1 60 array-field ioc_guid_str
' .x 58 ptr-field ioc_profile
' .x 50 long-field ioc_ngids
' c@ ' .x 40 1 10 array-field ioc_id_string
' .x 8 ext-field ioc_guid
' .x 0 ext-field iou_guid

kdbg-words definitions
previous

\ end ibnex_ioc_node_t section


vocabulary ibnex_port_node_t-words
h# 28 constant ibnex_port_node_t-sz
28 ' ibnex_port_node_t-words c-struct .ibnex_port_node_t
also ibnex_port_node_t-words definitions

' .x 20 ptr-field port_pdip
' .x 18 short-field port_pkey
' .x 10 ext-field port_hcaguid
' .x 8 ext-field port_guid
' .x 4 long-field port_commsvc_idx
' .x 0 byte-field port_num

kdbg-words definitions
previous

\ end ibnex_port_node_t section


vocabulary ibnex_pseudo_node_t-words
h# 28 constant ibnex_pseudo_node_t-sz
28 ' ibnex_pseudo_node_t-words c-struct .ibnex_pseudo_node_t
also ibnex_pseudo_node_t-words definitions

' .x 20 long-field pseudo_merge_node
' .x 18 ptr-field pseudo_devi_name
' .x 10 long-field pseudo_unit_addr_len
' .x 8 ptr-field pseudo_unit_addr
' .x 0 ptr-field pseudo_node_addr

kdbg-words definitions
previous

\ end ibnex_pseudo_node_t section


vocabulary ibnex_node_data_t-words
h# f0 constant ibnex_node_data_t-sz
f0 ' ibnex_node_data_t-words c-struct .ibnex_node_data_t
also ibnex_node_data_t-words definitions

' .x ec long-field node_ap_state
' .x e8 long-field node_reprobe_state
' .d e4 long-field node_state
' .d e0 long-field node_type
' .x d8 ptr-field node_prev
' .x d0 ptr-field node_next
' .x 8 struct-field node_data
' .x 0 ptr-field node_dip

kdbg-words definitions
previous

\ end ibnex_node_data_t section


vocabulary ibnex_ioctl_data_t-words
h# 28 constant ibnex_ioctl_data_t-sz
28 ' ibnex_ioctl_data_t-words c-struct .ibnex_ioctl_data_t
also ibnex_ioctl_data_t-words definitions

' .x 24 long-field misc_arg
' .x 20 long-field ap_id_len
' .x 18 ptr-field ap_id
' .x 10 long-field bufsiz
' .x 8 ptr-field buf
' .x 0 long-field cmd

kdbg-words definitions
previous

\ end ibnex_ioctl_data_t section


vocabulary ibcm_mad_addr_t-words
h# 58 constant ibcm_mad_addr_t-sz
58 ' ibcm_mad_addr_t-words c-struct .ibcm_mad_addr_t
also ibcm_mad_addr_t-words definitions

' .x 50 ptr-field cm_qp_entry
' .x 4c byte-field port_num
' .d 48 long-field grh_exists
' .x 40 ptr-field ibmf_hdl
' .x 28 struct-field rcvd_addr
' .x 0 struct-field grh_hdr

kdbg-words definitions
previous

\ end ibcm_mad_addr_t section


vocabulary ibcm_state_data_t-words
h# 238 constant ibcm_state_data_t-sz
238 ' ibcm_state_data_t-words c-struct .ibcm_state_data_t
also ibcm_state_data_t-words definitions

' .x 230 ptr-field req_msgp
' .x 228 ptr-field conn_trace
' .x 220 ptr-field close_link
' .x 218 ptr-field open_link
' .x 210 ptr-field close_ret_status
' .x 208 ptr-field close_ret_priv_data_len
' .x 200 ptr-field close_ret_priv_data
' .x 1f8 ptr-field ap_return_data
' .x 1f0 ptr-field open_return_data
' .x 1e8 ptr-field recycle_arg
' .x 1e2 struct-field block_mad_cv
' .x 1e0 struct-field block_client_cv
' .x 1d8 ptr-field state_svc_infop
' .x 1d0 ptr-field state_cm_private
' .d 1cc long-field close_nocb_state
' .d 1c8 long-field clnt_proceed
' .d 1c4 long-field cep_in_rts
' .d 1c0 long-field timedout_state
' .x 1b8 ptr-field timeout_next
' .d 1b4 long-field abort_flag
' .x 1b2 byte-field open_flow
' .x 1b1 byte-field close_flow
' .x 1b0 byte-field send_mad_flags
' .d 1ac long-field ap_done
' .d 1a8 long-field close_done
' .d 1a4 long-field open_done
' .d 1a0 long-field skip_rtr
' .d 19c long-field delete_state_data
' .d 198 long-field stale
' .d 194 long-field delete_mra_msg
' .x 191 byte-field alt_src_path_bits
' .x 190 byte-field prim_src_path_bits
' .x 18c long-field starting_psn
' .x 18b byte-field alt_port
' .x 18a byte-field prim_port
' .x 188 short-field pkey
' .d 184 long-field local_alt_srate
' .d 180 long-field local_srate
' .x 1d e0000000 17c bits-field cep_retry_cnt
' .x 17b byte-field drep_in_progress
' .x 17a byte-field cm_retries
' .x 179 byte-field max_cm_retries
' .x 178 byte-field remaining_retry_cnt
' .d 174 long-field timer_stored_ap_state
' .d 170 long-field timer_stored_state
' .x 168 ext-field mra_time
' .x 160 ext-field post_time
' .x 158 ext-field stale_clock
' .x 150 ext-field rc_alt_pkt_lt
' .x 148 ext-field remote_ack_delay
' .x 140 ext-field pkt_life_time
' .x 138 ext-field timer_value
' .x 130 ptr-field timerid
' .x 128 ptr-field defer_cm_msg
' .x 120 ptr-field lapr_msg
' .x 118 ptr-field drep_msg
' .x 110 ptr-field dreq_msg
' .x 108 ptr-field mra_msg
' .x 100 ptr-field stored_msg
' .x f8 ptr-field hcap
' .x a0 struct-field stored_reply_addr
' .x 98 ptr-field cm_handler
' .x 90 ext-field svcid
' .x 88 long-field ref_cnt
' .x 80 ptr-field channel
' .x 78 struct-field state_mutex
' .d 70 long-field ap_state
' .d 6c long-field state
' .d 68 long-field mode
' .x 60 ext-field local_hca_guid
' .x 5c long-field local_qpn
' .x 58 long-field local_comid
' .x 54 long-field remote_qpn
' .x 50 long-field remote_comid
' .x 48 ext-field remote_hca_guid
' .x 30 struct-field avl_passive_comid_link
' .x 18 struct-field avl_passive_link
' .x 0 struct-field avl_active_link

kdbg-words definitions
previous

\ end ibcm_state_data_t section


vocabulary ibcm_ud_state_data_t-words
h# 118 constant ibcm_ud_state_data_t-sz
118 ' ibcm_ud_state_data_t-words c-struct .ibcm_ud_state_data_t
also ibcm_ud_state_data_t-words definitions

' .d 110 long-field ud_timer_stored_state
' .x 108 ptr-field ud_return_data
' .x 100 struct-field ud_block_client_cv
' .d fc long-field ud_clnt_proceed
' .x f8 byte-field ud_send_mad_flags
' .d f4 long-field ud_blocking_done
' .d f0 long-field ud_delete_state_data
' .x e8 ptr-field ud_timeout_next
' .x e0 ptr-field ud_state_cm_private
' .x d8 long-field ud_passive_qp_qkey
' .x d4 long-field ud_passive_qpn
' .d d0 long-field ud_grh_exists
' .x c0 struct-field ud_sidr_req_gid
' .x b8 short-field ud_sidr_req_lid
' .x b0 ptr-field ud_stored_msg
' .x 58 struct-field ud_stored_reply_addr
' .x 50 ext-field ud_pkt_life_time
' .x 48 ext-field ud_timer_value
' .x 40 ptr-field ud_timerid
' .x 38 ptr-field ud_hcap
' .x 30 ptr-field ud_nextp
' .x 28 ptr-field ud_cm_handler
' .x 21 byte-field ud_remaining_retry_cnt
' .x 20 byte-field ud_max_cm_retries
' .x 18 ext-field ud_svc_id
' .x 14 long-field ud_req_id
' .x 10 long-field ud_ref_cnt
' .d c long-field ud_mode
' .d 8 long-field ud_state
' .x 0 struct-field ud_state_mutex

kdbg-words definitions
previous

\ end ibcm_ud_state_data_t section


vocabulary ibcm_svc_info_t-words
h# 48 constant ibcm_svc_info_t-sz
48 ' ibcm_svc_info_t-words c-struct .ibcm_svc_info_t
also ibcm_svc_info_t-words definitions

' .d 44 long-field svc_flags
' .x 40 long-field svc_num_sids
' .x 38 ext-field svc_id
' .x 34 long-field svc_to_delete
' .x 30 long-field svc_ref_cnt
' .x 28 ptr-field svc_ud_handler
' .x 20 ptr-field svc_rc_handler
' .x 18 ptr-field svc_bind_list
' .x 0 struct-field svc_link

kdbg-words definitions
previous

\ end ibcm_svc_info_t section


vocabulary ibcm_port_info_t-words
h# 78 constant ibcm_port_info_t-sz
78 ' ibcm_port_info_t-words c-struct .ibcm_port_info_t
also ibcm_port_info_t-words definitions

' .x 70 ptr-field port_hcap
' .x 68 ptr-field port_qplist
' .x 40 struct-field port_qp1
' .d 38 long-field port_ibmf_caps
' .x 28 struct-field port_ibmf_reg
' .x 22 byte-field port_num
' .x 21 byte-field port_saa_open_in_progress
' .x 20 byte-field port_event_status
' .x 10 struct-field port_sgid0
' .x 8 ptr-field port_ibmf_saa_hdl
' .x 0 ptr-field port_ibmf_hdl

kdbg-words definitions
previous

\ end ibcm_port_info_t section


vocabulary ibcm_hca_info_t-words
h# 150 constant ibcm_hca_info_t-sz
150 ' ibcm_hca_info_t-words c-struct .ibcm_hca_info_t
also ibcm_hca_info_t-words definitions

' noop ' .x 78 78 d8 array-field hca_port_info
' .x d4 byte-field hca_num_ports
' .x d0 long-field hca_res_cnt
' .x cc long-field hca_acc_cnt
' .x c8 long-field hca_svc_cnt
' .x c0 ptr-field hca_next
' .x b8 struct-field hca_sidr_list_lock
' .x b0 ptr-field hca_sidr_list
' .x a8 struct-field hca_state_rwlock
' .x 80 struct-field hca_passive_comid_tree
' .x 58 struct-field hca_passive_tree
' .x 30 struct-field hca_active_tree
' .x 28 ptr-field hca_reqid_arena
' .x 20 ptr-field hca_comid_arena
' .x 1c byte-field hca_max_rdma_out_chan
' .x 1b byte-field hca_max_rdma_in_chan
' .x 1a byte-field hca_ack_delay
' .x 18 short-field hca_device_id
' .x 8 ffffff00 14 bits-field hca_vendor_id
' .d 10 long-field hca_caps
' .x 8 ext-field hca_guid
' .d 0 long-field hca_state

kdbg-words definitions
previous

\ end ibcm_hca_info_t section


vocabulary ibcm_passive_node_info_t-words
h# 10 constant ibcm_passive_node_info_t-sz
10 ' ibcm_passive_node_info_t-words c-struct .ibcm_passive_node_info_t
also ibcm_passive_node_info_t-words definitions

' .x 8 ext-field info_hca_guid
' .x 0 long-field info_qpn

kdbg-words definitions
previous

\ end ibcm_passive_node_info_t section


vocabulary ibcm_req_msg_t-words
h# e8 constant ibcm_req_msg_t-sz
e8 ' ibcm_req_msg_t-words c-struct .ibcm_req_msg_t
also ibcm_req_msg_t-words definitions

' c@ ' .x 5c 1 8c array-field req_private_data
' .x 8b byte-field req_alt_localtime_plus
' .x 8a byte-field req_alt_sl_plus
' .x 89 byte-field req_alt_hop_limit
' .x 88 byte-field req_alt_traffic_class
' .x 84 long-field req_alt_flow_label_plus
' c@ ' .x 10 1 74 array-field req_alt_r_port_gid
' c@ ' .x 10 1 64 array-field req_alt_l_port_gid
' .x 62 short-field req_alt_r_port_lid
' .x 60 short-field req_alt_l_port_lid
' .x 5f byte-field req_primary_localtime_plus
' .x 5e byte-field req_primary_sl_plus
' .x 5d byte-field req_primary_hop_limit
' .x 5c byte-field req_primary_traffic_class
' .x 58 long-field req_primary_flow_label_plus
' .x 48 struct-field req_primary_r_port_gid
' .x 38 struct-field req_primary_l_port_gid
' .x 36 short-field req_primary_r_port_lid
' .x 34 short-field req_primary_l_port_lid
' .x 33 byte-field req_max_cm_retries_plus
' .x 32 byte-field req_mtu_plus
' .x 30 short-field req_part_key
' .x 2c long-field req_starting_psn_plus
' .x 28 long-field req_remote_eecn_plus
' .x 24 long-field req_local_eec_no_plus
' .x 20 long-field req_local_qpn_plus
' .x 1c long-field req_local_qkey
' .x 18 long-field req_rsvd1p
' .x 10 ext-field req_local_ca_guid
' .x 8 ext-field req_svc_id
' .x 4 long-field req_rsvd1
' .x 0 long-field req_local_comm_id

kdbg-words definitions
previous

\ end ibcm_req_msg_t section


vocabulary ibcm_rep_msg_t-words
h# e8 constant ibcm_rep_msg_t-sz
e8 ' ibcm_rep_msg_t-words c-struct .ibcm_rep_msg_t
also ibcm_rep_msg_t-words definitions

' c@ ' .x c4 1 24 array-field rep_private_data
' c@ ' .x 8 1 1c array-field rep_local_ca_guid
' .x 1b byte-field rep_rnr_retry_cnt_plus
' .x 1a byte-field rep_target_delay_plus
' .x 19 byte-field rep_initiator_depth
' .x 18 byte-field rep_resp_resources
' .x 14 long-field rep_starting_psn_plus
' .x 10 long-field rep_local_eecn_plus
' .x c long-field rep_local_qpn_plus
' .x 8 long-field rep_local_qkey
' .x 4 long-field rep_remote_comm_id
' .x 0 long-field rep_local_comm_id

kdbg-words definitions
previous

\ end ibcm_rep_msg_t section


vocabulary ibcm_rej_msg_t-words
h# e8 constant ibcm_rej_msg_t-sz
e8 ' ibcm_rej_msg_t-words c-struct .ibcm_rej_msg_t
also ibcm_rej_msg_t-words definitions

' c@ ' .x 94 1 54 array-field rej_private_data
' c@ ' .x 48 1 c array-field rej_addl_rej_info
' .x a short-field rej_rejection_reason
' .x 9 byte-field rej_reject_info_len_plus
' .x 8 byte-field rej_msg_type_plus
' .x 4 long-field rej_remote_comm_id
' .x 0 long-field rej_local_comm_id

kdbg-words definitions
previous

\ end ibcm_rej_msg_t section


vocabulary ibcm_rtu_msg_t-words
h# e8 constant ibcm_rtu_msg_t-sz
e8 ' ibcm_rtu_msg_t-words c-struct .ibcm_rtu_msg_t
also ibcm_rtu_msg_t-words definitions

' c@ ' .x e0 1 8 array-field rtu_private_data
' .x 4 long-field rtu_remote_comm_id
' .x 0 long-field rtu_local_comm_id

kdbg-words definitions
previous

\ end ibcm_rtu_msg_t section


vocabulary ibcm_mra_msg_t-words
h# e8 constant ibcm_mra_msg_t-sz
e8 ' ibcm_mra_msg_t-words c-struct .ibcm_mra_msg_t
also ibcm_mra_msg_t-words definitions

' c@ ' .x de 1 a array-field mra_private_data
' .x 9 byte-field mra_service_timeout_plus
' .x 8 byte-field mra_message_type_plus
' .x 4 long-field mra_remote_comm_id
' .x 0 long-field mra_local_comm_id

kdbg-words definitions
previous

\ end ibcm_mra_msg_t section


vocabulary ibcm_lap_msg_t-words
h# e8 constant ibcm_lap_msg_t-sz
e8 ' ibcm_lap_msg_t-words c-struct .ibcm_lap_msg_t
also ibcm_lap_msg_t-words definitions

' c@ ' .x a8 1 40 array-field lap_private_data
' .x 3f byte-field lap_alt_local_acktime_plus
' .x 3e byte-field lap_alt_sl_plus
' .x 3d byte-field lap_alt_srate_plus
' .x 3c byte-field lap_alt_hop_limit
' .x 38 long-field lap_alt_flow_label_plus
' .x 28 struct-field lap_alt_r_port_gid
' .x 18 struct-field lap_alt_l_port_gid
' .x 16 short-field lap_alt_r_port_lid
' .x 14 short-field lap_alt_l_port_lid
' .x 10 long-field lap_rsvd2
' .x c long-field lap_remote_qpn_eecn_plus
' .x 8 long-field lap_rsvd1
' .x 4 long-field lap_remote_comm_id
' .x 0 long-field lap_local_comm_id

kdbg-words definitions
previous

\ end ibcm_lap_msg_t section


vocabulary ibcm_apr_msg_t-words
h# e8 constant ibcm_apr_msg_t-sz
e8 ' ibcm_apr_msg_t-words c-struct .ibcm_apr_msg_t
also ibcm_apr_msg_t-words definitions

' c@ ' .x 94 1 54 array-field apr_private_data
' c@ ' .x 48 1 c array-field apr_addl_info
' .x a short-field apr_rsvd1
' .x 9 byte-field apr_ap_status
' .x 8 byte-field apr_addl_info_len
' .x 4 long-field apr_remote_comm_id
' .x 0 long-field apr_local_comm_id

kdbg-words definitions
previous

\ end ibcm_apr_msg_t section


vocabulary ibcm_sidr_req_msg_t-words
h# e8 constant ibcm_sidr_req_msg_t-sz
e8 ' ibcm_sidr_req_msg_t-words c-struct .ibcm_sidr_req_msg_t
also ibcm_sidr_req_msg_t-words definitions

' c@ ' .x d8 1 10 array-field sidr_req_private_data
' .x 8 ext-field sidr_req_service_id
' c@ ' .x 2 1 6 array-field sidr_req_reserved
' .x 4 short-field sidr_req_pkey
' .x 0 long-field sidr_req_request_id

kdbg-words definitions
previous

\ end ibcm_sidr_req_msg_t section


vocabulary ibcm_sidr_rep_msg_t-words
h# e8 constant ibcm_sidr_rep_msg_t-sz
e8 ' ibcm_sidr_rep_msg_t-words c-struct .ibcm_sidr_rep_msg_t
also ibcm_sidr_rep_msg_t-words definitions

' c@ ' .x 88 1 60 array-field sidr_rep_private_data
' c@ ' .x 48 1 18 array-field sidr_rep_class_port_info
' .x 14 long-field sidr_rep_qkey
' c@ ' .x 8 1 c array-field sidr_rep_service_id
' .x 8 long-field sidr_rep_qpn_plus
' c@ ' .x 2 1 6 array-field sidr_rep_reserved1
' .x 5 byte-field sidr_rep_add_info_len
' .x 4 byte-field sidr_rep_rep_status
' .x 0 long-field sidr_rep_request_id

kdbg-words definitions
previous

\ end ibcm_sidr_rep_msg_t section


vocabulary ibdm_t-words
h# 80 constant ibdm_t-sz
80 ' ibdm_t-words c-struct .ibdm_t
also ibdm_t-words definitions

' .x 78 long-field ibdm_prev_iou
' .x 70 ptr-field ibdm_ibnex_callback
' .x 68 ptr-field ibdm_ibt_clnt_hdl
' .x 60 long-field ibdm_state
' .x 5c long-field ibdm_busy
' .x 58 long-field ibdm_ngids
' .x 50 ext-field ibdm_transactionID
' .x 48 long-field ibdm_ngid_probes_in_progress
' .x 44 struct-field ibdm_port_settle_cv
' .x 42 struct-field ibdm_busy_cv
' .x 40 struct-field ibdm_probe_cv
' .x 38 ptr-field ibdm_dp_gidlist_tail
' .x 30 ptr-field ibdm_dp_gidlist_head
' .x 28 ptr-field ibdm_hca_list_tail
' .x 20 ptr-field ibdm_hca_list_head
' .x 18 struct-field ibdm_ibnex_mutex
' .x 10 struct-field ibdm_hl_mutex
' .x 8 long-field ibdm_hca_count
' .x 0 struct-field ibdm_mutex

kdbg-words definitions
previous

\ end ibdm_t section


vocabulary ibdm_port_attr_t-words
h# 60 constant ibdm_port_attr_t-sz
60 ' ibdm_port_attr_t-words c-struct .ibdm_port_attr_t
also ibdm_port_attr_t-words definitions

' .x 58 ptr-field pa_hca_hdl
' .d 50 long-field pa_ibmf_caps
' .x 48 ptr-field pa_sa_hdl
' .d 40 long-field pa_state
' .x 3c long-field pa_dev_version
' .x 38 long-field pa_productid
' .x 34 long-field pa_vendorid
' .x 30 short-field pa_port_num
' .x 28 ext-field pa_sn_prefix
' .x 20 ptr-field pa_ibmf_hdl
' .x 18 short-field pa_npkeys
' .x 10 ext-field pa_port_guid
' .x 8 ext-field pa_hca_guid
' .x 0 ptr-field pa_pkey_tbl

kdbg-words definitions
previous

\ end ibdm_port_attr_t section


vocabulary ibdm_srvents_info_t-words
h# 60 constant ibdm_srvents_info_t-sz
60 ' ibdm_srvents_info_t-words c-struct .ibdm_srvents_info_t
also ibdm_srvents_info_t-words definitions

' .x 40 struct-field se_cb_args
' .x 38 ptr-field se_timeout_id
' .x 8 struct-field se_attr
' .x 0 long-field se_state

kdbg-words definitions
previous

\ end ibdm_srvents_info_t section


vocabulary ibdm_ioc_info_t-words
h# 148 constant ibdm_ioc_info_t-sz
148 ' ibdm_ioc_info_t-words c-struct .ibdm_ioc_info_t
also ibdm_ioc_info_t-words definitions

' .x 140 ptr-field ioc_hca_list
' .x 138 struct-field ioc_info_updated
' .x 134 long-field ioc_prev_nportgids
' .x 130 byte-field ioc_prev_serv_cnt
' .x 128 ptr-field ioc_prev_gid_list
' .x 120 ptr-field ioc_prev_serv
' .x 118 ptr-field ioc_next
' .x 110 ptr-field ioc_iou_info
' .x 10c short-field ioc_diagdeviceid
' .x 10a short-field ioc_iou_diagcode
' .x 108 short-field ioc_diagcode
' .x 100 ext-field ioc_nodeguid
' .x e0 struct-field ioc_dc_cb_args
' .x c0 struct-field ioc_cb_args
' .d bc long-field ioc_iou_dc_valid
' .d b8 long-field ioc_dc_valid
' .x b0 ptr-field ioc_dc_timeout_id
' .x a8 ptr-field ioc_timeout_id
' .x a0 ext-field ioc_iou_guid
' .x 98 long-field ioc_nportgids
' .x 90 ptr-field ioc_gid_list
' .x 88 ptr-field ioc_serv
' .x 80 long-field ioc_state
' .x 0 struct-field ioc_profile

kdbg-words definitions
previous

\ end ibdm_ioc_info_t section


vocabulary ibdm_iou_info_t-words
h# a8 constant ibdm_iou_info_t-sz
a8 ' ibdm_iou_info_t-words c-struct .ibdm_iou_info_t
also ibdm_iou_info_t-words definitions

' .x a0 long-field iou_niocs_probe_in_progress
' .x 9c short-field iou_diagcode
' .d 98 long-field iou_dc_valid
' .x 90 ext-field iou_guid
' .x 88 ptr-field iou_ioc_info
' .x 0 struct-field iou_info

kdbg-words definitions
previous

\ end ibdm_iou_info_t section


vocabulary ibdm_hca_list_t-words
h# 38 constant ibdm_hca_list_t-sz
38 ' ibdm_hca_list_t-words c-struct .ibdm_hca_list_t
also ibdm_hca_list_t-words definitions

' .x 30 ptr-field hl_hca_port_attr
' .x 28 ptr-field hl_hca_hdl
' .x 20 ext-field hl_attach_time
' .x 1c long-field hl_nports_active
' .x 18 long-field hl_nports
' .x 10 ext-field hl_hca_guid
' .x 8 ptr-field hl_next
' .x 0 ptr-field hl_port_attr

kdbg-words definitions
previous

\ end ibdm_hca_list_t section


vocabulary ibdm_dp_gidinfo_t-words
h# 150 constant ibdm_dp_gidinfo_t-sz
150 ' ibdm_dp_gidinfo_t-words c-struct .ibdm_dp_gidinfo_t
also ibdm_dp_gidinfo_t-words definitions

' .x 18 f000000 148 bits-field gl_redirectSL
' .x 1c f0000000 148 bits-field gl_SL
' .x 144 long-field gl_flag
' .x 142 struct-field gl_probe_cv
' .x 140 short-field gl_devid
' .x 138 ptr-field gl_prev_iou
' .x 130 ext-field gl_max_transactionID
' .x 128 ext-field gl_min_transactionID
' .x 120 long-field gl_disconnected
' .x 118 ptr-field gl_hca_list
' .x 114 long-field gl_num_iocs
' .x 110 long-field gl_resp_timeout
' .x 108 ptr-field gl_gid
' .x 100 long-field gl_ngids
' .x e0 struct-field gl_cpi_cb_args
' .x d8 ptr-field gl_timeout_id
' .x d0 ptr-field gl_sa_hdl
' .x c8 ptr-field gl_ibmf_hdl
' .x c0 ext-field gl_redirectGID_lo
' .x b8 ext-field gl_redirectGID_hi
' .x b0 long-field gl_redirect_qkey
' .x ac short-field gl_redirect_pkey
' .x a8 long-field gl_redirect_QP
' .x a4 long-field gl_redirect_dlid
' .d a0 long-field gl_redirected
' .d 9c long-field gl_is_dm_capable
' .x 98 short-field gl_p_key
' .x 90 ext-field gl_portguid
' .x 88 ext-field gl_nodeguid
' .x 80 ext-field gl_sgid_lo
' .x 78 ext-field gl_sgid_hi
' .x 70 ext-field gl_dgid_lo
' .x 68 ext-field gl_dgid_hi
' .x 62 short-field gl_slid
' .x 60 short-field gl_dlid
' .x 40 struct-field gl_iou_cb_args
' .x 38 ext-field gl_transactionID
' .x 30 ptr-field gl_qp_hdl
' .x 28 long-field gl_pending_cmds
' .x 20 ptr-field gl_iou
' .x 18 ptr-field gl_prev
' .x 10 ptr-field gl_next
' .x c long-field gl_reprobe_flag
' .x 8 long-field gl_state
' .x 0 struct-field gl_mutex

kdbg-words definitions
previous

\ end ibdm_dp_gidinfo_t section


vocabulary ibdm_timeout_cb_args_t-words
h# 20 constant ibdm_timeout_cb_args_t-sz
20 ' ibdm_timeout_cb_args_t-words c-struct .ibdm_timeout_cb_args_t
also ibdm_timeout_cb_args_t-words definitions

' .x 18 long-field cb_srvents_end
' .x 14 long-field cb_srvents_start
' .x 10 long-field cb_retry_count
' .x c long-field cb_ioc_num
' .x 8 long-field cb_req_type
' .x 0 ptr-field cb_gid_info

kdbg-words definitions
previous

\ end ibdm_timeout_cb_args_t section


vocabulary ibdm_pkey_tbl_t-words
h# 10 constant ibdm_pkey_tbl_t-sz
10 ' ibdm_pkey_tbl_t-words c-struct .ibdm_pkey_tbl_t
also ibdm_pkey_tbl_t-words definitions

' .x 8 ptr-field pt_qp_hdl
' .x 0 short-field pt_pkey

kdbg-words definitions
previous

\ end ibdm_pkey_tbl_t section


vocabulary ibdm_gid_t-words
h# 18 constant ibdm_gid_t-sz
18 ' ibdm_gid_t-words c-struct .ibdm_gid_t
also ibdm_gid_t-words definitions

' .x 10 ptr-field gid_next
' .x 8 ext-field gid_dgid_lo
' .x 0 ext-field gid_dgid_hi

kdbg-words definitions
previous

\ end ibdm_gid_t section


vocabulary ib_dm_io_unitinfo_t-words
h# 84 constant ib_dm_io_unitinfo_t-sz
84 ' ib_dm_io_unitinfo_t-words c-struct .ib_dm_io_unitinfo_t
also ib_dm_io_unitinfo_t-words definitions

' c@ ' .x 80 1 4 array-field iou_ctrl_list
' .x 3 byte-field iou_flag
' .x 2 byte-field iou_num_ctrl_slots
' .x 0 short-field iou_changeid

kdbg-words definitions
previous

\ end ib_dm_io_unitinfo_t section


vocabulary ib_dm_ioc_ctrl_profile_t-words
h# 80 constant ib_dm_ioc_ctrl_profile_t-sz
80 ' ib_dm_ioc_ctrl_profile_t-words c-struct .ib_dm_ioc_ctrl_profile_t
also ib_dm_ioc_ctrl_profile_t-words definitions

' c@ ' .x 40 1 40 array-field ioc_id_string
' c@ ' .x 9 1 37 array-field ioc_rsvd6
' .x 36 byte-field ioc_service_entries
' .x 35 byte-field ioc_rsvd5
' .x 34 byte-field ioc_ctrl_opcap_mask
' .x 30 long-field ioc_rdma_xfer_sz
' .x 2c long-field ioc_send_msg_sz
' .x 2b byte-field ioc_rdma_read_qdepth
' .x 2a byte-field ioc_rsvd4
' .x 28 short-field ioc_send_msg_qdepth
' .x 26 short-field ioc_rsvd3
' .x 24 short-field ioc_rsvd2
' .x 22 short-field ioc_protocol_ver
' .x 20 short-field ioc_protocol
' .x 1e short-field ioc_io_subclass
' .x 1c short-field ioc_io_class
' .x 18 long-field ioc_subsys_id
' .x 14 long-field ioc_subsys_vendorid
' .x 12 short-field ioc_rsvd1
' .x 10 short-field ioc_device_ver
' .x c long-field ioc_deviceid
' .x 8 long-field ioc_vendorid
' .x 0 ext-field ioc_guid

kdbg-words definitions
previous

\ end ib_dm_ioc_ctrl_profile_t section


vocabulary ib_dm_srv_t-words
h# 30 constant ib_dm_srv_t-sz
30 ' ib_dm_srv_t-words c-struct .ib_dm_srv_t
also ib_dm_srv_t-words definitions

' .x 28 ext-field srv_id
' c@ ' .x 28 1 0 array-field srv_name

kdbg-words definitions
previous

\ end ib_dm_srv_t section


here ," SUBN_AGENT" 10001
here ," SUBN_MANAGER" 20001
here ," SUBN_ADM_AGENT" 10003
here ," SUBN_ADM_MANAGER" 20003
here ," PERF_AGENT" 10004
here ," PERF_MANAGER" 20004
here ," BM_AGENT" 10005
here ," BM_MANAGER" 20005
here ," DEV_MGT_AGENT" 10006
here ," DEV_MGT_MANAGER" 20006
here ," COMM_MGT_MANAGER_AGENT" 30007
here ," SNMP_MANAGER_AGENT" 30008
here ," VENDOR_09_MANAGER_AGENT" 30009
here ," VENDOR_0A_MANAGER_AGENT" 3000a
here ," VENDOR_0B_MANAGER_AGENT" 3000b
here ," VENDOR_0C_MANAGER_AGENT" 3000c
here ," VENDOR_0D_MANAGER_AGENT" 3000d
here ," VENDOR_0E_MANAGER_AGENT" 3000e
here ," VENDOR_0F_MANAGER_AGENT" 3000f
here ," VENDOR_30_MANAGER_AGENT" 30030
here ," VENDOR_31_MANAGER_AGENT" 30031
here ," VENDOR_32_MANAGER_AGENT" 30032
here ," VENDOR_33_MANAGER_AGENT" 30033
here ," VENDOR_34_MANAGER_AGENT" 30034
here ," VENDOR_35_MANAGER_AGENT" 30035
here ," VENDOR_36_MANAGER_AGENT" 30036
here ," VENDOR_37_MANAGER_AGENT" 30037
here ," VENDOR_38_MANAGER_AGENT" 30038
here ," VENDOR_39_MANAGER_AGENT" 30039
here ," VENDOR_3A_MANAGER_AGENT" 3003a
here ," VENDOR_3B_MANAGER_AGENT" 3003b
here ," VENDOR_3C_MANAGER_AGENT" 3003c
here ," VENDOR_3D_MANAGER_AGENT" 3003d
here ," VENDOR_3E_MANAGER_AGENT" 3003e
here ," VENDOR_3F_MANAGER_AGENT" 3003f
here ," VENDOR_40_MANAGER_AGENT" 30040
here ," VENDOR_41_MANAGER_AGENT" 30041
here ," VENDOR_42_MANAGER_AGENT" 30042
here ," VENDOR_43_MANAGER_AGENT" 30043
here ," VENDOR_44_MANAGER_AGENT" 30044
here ," VENDOR_45_MANAGER_AGENT" 30045
here ," VENDOR_46_MANAGER_AGENT" 30046
here ," VENDOR_47_MANAGER_AGENT" 30047
here ," VENDOR_48_MANAGER_AGENT" 30048
here ," VENDOR_49_MANAGER_AGENT" 30049
here ," VENDOR_4A_MANAGER_AGENT" 3004a
here ," VENDOR_4B_MANAGER_AGENT" 3004b
here ," VENDOR_4C_MANAGER_AGENT" 3004c
here ," VENDOR_4D_MANAGER_AGENT" 3004d
here ," VENDOR_4E_MANAGER_AGENT" 3004e
here ," VENDOR_4F_MANAGER_AGENT" 3004f
here ," APPLICATION_10_MANAGER_AGENT" 30010
here ," APPLICATION_11_MANAGER_AGENT" 30011
here ," APPLICATION_12_MANAGER_AGENT" 30012
here ," APPLICATION_13_MANAGER_AGENT" 30013
here ," APPLICATION_14_MANAGER_AGENT" 30014
here ," APPLICATION_15_MANAGER_AGENT" 30015
here ," APPLICATION_16_MANAGER_AGENT" 30016
here ," APPLICATION_17_MANAGER_AGENT" 30017
here ," APPLICATION_18_MANAGER_AGENT" 30018
here ," APPLICATION_19_MANAGER_AGENT" 30019
here ," APPLICATION_1A_MANAGER_AGENT" 3001a
here ," APPLICATION_1B_MANAGER_AGENT" 3001b
here ," APPLICATION_1C_MANAGER_AGENT" 3001c
here ," APPLICATION_1D_MANAGER_AGENT" 3001d
here ," APPLICATION_1E_MANAGER_AGENT" 3001e
here ," APPLICATION_1F_MANAGER_AGENT" 3001f
here ," APPLICATION_20_MANAGER_AGENT" 30020
here ," APPLICATION_21_MANAGER_AGENT" 30021
here ," APPLICATION_22_MANAGER_AGENT" 30022
here ," APPLICATION_23_MANAGER_AGENT" 30023
here ," APPLICATION_24_MANAGER_AGENT" 30024
here ," APPLICATION_25_MANAGER_AGENT" 30025
here ," APPLICATION_26_MANAGER_AGENT" 30026
here ," APPLICATION_27_MANAGER_AGENT" 30027
here ," APPLICATION_28_MANAGER_AGENT" 30028
here ," APPLICATION_29_MANAGER_AGENT" 30029
here ," APPLICATION_2A_MANAGER_AGENT" 3002a
here ," APPLICATION_2B_MANAGER_AGENT" 3002b
here ," APPLICATION_2C_MANAGER_AGENT" 3002c
here ," APPLICATION_2D_MANAGER_AGENT" 3002d
here ," APPLICATION_2E_MANAGER_AGENT" 3002e
here ," APPLICATION_2F_MANAGER_AGENT" 3002f
here ," UNIVERSAL_CLASS" 40001
54 c-enum .ibmf_client_type_t

vocabulary ibmf_retrans_t-words
h# 10 constant ibmf_retrans_t-sz
10 ' ibmf_retrans_t-words c-struct .ibmf_retrans_t
also ibmf_retrans_t-words definitions

' .x c long-field retrans_trans_to
' .x 8 long-field retrans_rttv
' .x 4 long-field retrans_rtv
' .x 0 long-field retrans_retries

kdbg-words definitions
previous

\ end ibmf_retrans_t section


vocabulary ibmf_register_info_t-words
h# 10 constant ibmf_register_info_t-sz
10 ' ibmf_register_info_t-words c-struct .ibmf_register_info_t
also ibmf_register_info_t-words definitions

' .d c long-field ir_client_class
' .x 8 long-field ir_port_num
' .x 0 ext-field ir_ci_guid

kdbg-words definitions
previous

\ end ibmf_register_info_t section


here ," IBMF_DEF_QP_HDL_P_KEY_ANY" 1
here ," IBMF_DEF_QP_HDL_Q_KEY_ANY" 2
here ," IBMF_NON_DEF_QP_HDL_P_KEY_ANY" 4
here ," IBMF_NON_DEF_QP_HDL_Q_KEY_ANY" 8
4 c-enum .ibmf_impl_caps_t

here ," IBMF_CI_OFFLINE" 1
1 c-enum .ibmf_async_event_t

vocabulary ibmf_qp_t-words
h# 30 constant ibmf_qp_t-sz
30 ' ibmf_qp_t-words c-struct .ibmf_qp_t
also ibmf_qp_t-words definitions

' .x 28 struct-field iq_mutex
' .x 20 long-field iq_rwqes_posted
' .x 1c long-field iq_flags
' .x 18 long-field iq_qp_ref
' .x 14 long-field iq_qp_num
' .x 10 long-field iq_port_num
' .x 8 ptr-field iq_qp_handle
' .x 0 ptr-field iq_next

kdbg-words definitions
previous

\ end ibmf_qp_t section


vocabulary ibmf_alt_qp_t-words
h# a8 constant ibmf_alt_qp_t-sz
a8 ' ibmf_alt_qp_t-words c-struct .ibmf_alt_qp_t
also ibmf_alt_qp_t-words definitions

' .x a0 ptr-field isq_wqe_mgt_list
' .x 98 struct-field isq_wqe_mutex
' .x 90 ptr-field isq_wqe_ib_vmem
' .x 88 ptr-field isq_recv_wqes_cache
' .x 80 ptr-field isq_send_wqes_cache
' .x 7c long-field isq_rwqes_posted
' .x 78 struct-field isq_wqes_cv
' .x 74 long-field isq_wqes_alloced
' .x 70 struct-field isq_sqd_cv
' .d 6c long-field isq_supports_rmpp
' .x 68 long-field isq_port_num
' .x 64 long-field isq_qkey
' .x 60 short-field isq_pkey
' .x 5c long-field isq_qpn
' .x 58 long-field isq_recvs_active
' .x 54 long-field isq_sends_active
' .x 50 long-field isq_flags
' .x 48 struct-field isq_mutex
' .x 40 struct-field isq_recv_cb_teardown_cv
' .x 38 ptr-field isq_recv_cb_arg
' .x 30 ptr-field isq_recv_cb
' .x 28 ptr-field isq_client_hdl
' .x 10 struct-field isq_qp_sizes
' .x 8 ptr-field isq_qp_handle
' .x 0 ptr-field isq_next

kdbg-words definitions
previous

\ end ibmf_alt_qp_t section


vocabulary ibmf_rmpp_ctx_t-words
h# 48 constant ibmf_rmpp_ctx_t-sz
48 ' ibmf_rmpp_ctx_t-words c-struct .ibmf_rmpp_ctx_t
also ibmf_rmpp_ctx_t-words definitions

' .x 43 byte-field rmpp_status
' .x 42 byte-field rmpp_flags
' .x 41 byte-field rmpp_respt
' .x 40 byte-field rmpp_type
' .x 3c long-field rmpp_word4
' .x 38 long-field rmpp_word3
' .x 30 ext-field rmpp_data_offset
' .x 2c long-field rmpp_num_pkts
' .x 28 long-field rmpp_last_pkt_sz
' .x 24 long-field rmpp_pkt_data_sz
' .x 20 long-field rmpp_retry_cnt
' .x 1c long-field rmpp_state
' .x 18 long-field rmpp_pyld_len
' .x 14 long-field rmpp_nwl
' .x 10 long-field rmpp_is_ds
' .x c long-field rmpp_es
' .x 8 long-field rmpp_ns
' .x 4 long-field rmpp_wl
' .x 0 long-field rmpp_wf

kdbg-words definitions
previous

\ end ibmf_rmpp_ctx_t section


vocabulary ibmf_ud_dest_t-words
h# 20 constant ibmf_ud_dest_t-sz
20 ' ibmf_ud_dest_t-words c-struct .ibmf_ud_dest_t
also ibmf_ud_dest_t-words definitions

' .x 18 ptr-field ud_next
' .x 0 struct-field ud_dest

kdbg-words definitions
previous

\ end ibmf_ud_dest_t section


vocabulary ibmf_msg_impl_t-words
h# 198 constant ibmf_msg_impl_t-sz
198 ' ibmf_msg_impl_t-words c-struct .ibmf_msg_impl_t
also ibmf_msg_impl_t-words definitions

' .x 190 long-field im_pending_send_compls
' .d 18c long-field im_unsolicited
' .x 188 long-field im_ref_count
' .x 180 ptr-field im_tr_unset_timeout_id
' .x 178 ptr-field im_rp_unset_timeout_id
' .x 170 ptr-field im_tr_timeout_id
' .x 168 ptr-field im_rp_timeout_id
' .x 158 struct-field im_retrans
' .x 110 struct-field im_rmpp_ctx
' .x 108 struct-field im_trans_cv
' .x 104 long-field im_trans_state_flags
' .x 100 long-field im_flags
' .x fc long-field im_transp_op_flags
' .x f8 long-field im_state
' .x f0 struct-field im_mutex
' .x e8 byte-field im_mgt_class
' .x e0 ext-field im_tid
' .x d8 ptr-field im_trans_cb_arg
' .x d0 ptr-field im_trans_cb
' .x c8 ptr-field im_ibmf_ud_dest
' .x c0 ptr-field im_ud_dest
' .x b8 ptr-field im_qp_hdl
' .x b0 ptr-field im_client
' .x a8 ptr-field im_msg_prev
' .x a0 ptr-field im_msg_next
' .x 78 struct-field im_msgbufs_recv
' .x 50 struct-field im_msgbufs_send
' .x 48 ext-field im_msg_sz_limit
' .x 44 long-field im_msg_flags
' .x 40 long-field im_msg_status
' .x 18 struct-field im_global_addr
' .x 0 struct-field im_local_addr

kdbg-words definitions
previous

\ end ibmf_msg_impl_t section


vocabulary ibmf_rmpp_hdr_t-words
h# c constant ibmf_rmpp_hdr_t-sz
c ' ibmf_rmpp_hdr_t-words c-struct .ibmf_rmpp_hdr_t
also ibmf_rmpp_hdr_t-words definitions

' .x 8 long-field rmpp_pyldlen_nwl
' .x 4 long-field rmpp_segnum
' .x 3 byte-field rmpp_status
' .x 8 700 0 bits-field rmpp_flags
' .x b f800 0 bits-field rmpp_resp_time
' .x 1 byte-field rmpp_type
' .x 0 byte-field rmpp_version

kdbg-words definitions
previous

\ end ibmf_rmpp_hdr_t section


here ," IBMF_RESP_TIMER" 1
here ," IBMF_TRANS_TIMER" 2
2 c-enum .ibmf_timer_t

vocabulary ibmf_client_info_t-words
h# 10 constant ibmf_client_info_t-sz
10 ' ibmf_client_info_t-words c-struct .ibmf_client_info_t
also ibmf_client_info_t-words definitions

' .d c long-field client_class
' .x 8 long-field port_num
' .x 0 ext-field ci_guid

kdbg-words definitions
previous

\ end ibmf_client_info_t section


vocabulary ibmf_client_t-words
h# e0 constant ibmf_client_t-sz
e0 ' ibmf_client_t-words c-struct .ibmf_client_t
also ibmf_client_t-words definitions

' .x d8 ptr-field ic_kstatp
' .x d0 struct-field ic_kstat_mutex
' .x cc short-field ic_base_lid
' .x c8 long-field ic_recvs_active
' .x c4 long-field ic_sends_active
' .x c0 long-field ic_trans_active
' .x bc long-field ic_msgs_active
' .x b8 long-field ic_msgs_alloced
' .x b4 long-field ic_reg_flags
' .x b0 long-field ic_flags
' .x a8 struct-field ic_mutex
' .x a0 ptr-field ic_ci_handle
' .x 98 ptr-field ic_qp
' .x 88 struct-field ic_client_info
' .x 80 struct-field ic_recv_cb_teardown_cv
' .x 78 ptr-field ic_recv_cb_arg
' .x 70 ptr-field ic_recv_cb
' .x 68 ptr-field ic_async_cb_arg
' .x 60 ptr-field ic_async_cb
' .x 58 struct-field ic_msg_mutex
' .x 50 ptr-field ic_term_msg_last
' .x 48 ptr-field ic_term_msg_list
' .x 40 ptr-field ic_msg_last
' .x 38 ptr-field ic_msg_list
' .x 30 long-field ic_init_state_class
' .x 28 ptr-field ic_recv_taskq
' .x 20 ptr-field ic_send_taskq
' .x 18 ptr-field ic_prev
' .x 10 ptr-field ic_next
' .x 8 ptr-field ic_myci
' .x 0 ptr-field ic_client_sig

kdbg-words definitions
previous

\ end ibmf_client_t section


vocabulary ibmf_send_wqe_t-words
h# 88 constant ibmf_send_wqe_t-sz
88 ' ibmf_send_wqe_t-words c-struct .ibmf_send_wqe_t
also ibmf_send_wqe_t-words definitions

' .x 84 long-field send_rmpp_segment
' .x 80 long-field send_status
' .x 78 ptr-field send_msg
' .x 70 ptr-field send_ibmf_qp_handle
' .x 68 ptr-field send_qp_handle
' .x 64 byte-field send_port_num
' .x 60 long-field send_wqe_flags
' .x 58 ptr-field send_mem_hdl
' .x 50 long-field send_sg_lkey
' .x 48 ext-field send_sg_mem
' .x 40 ptr-field send_mem
' .x 38 ptr-field send_client
' .x 8 struct-field send_wr
' .x 0 ptr-field send_wqe_next

kdbg-words definitions
previous

\ end ibmf_send_wqe_t section


vocabulary ibmf_recv_wqe_t-words
h# b0 constant ibmf_recv_wqe_t-sz
b0 ' ibmf_recv_wqe_t-words c-struct .ibmf_recv_wqe_t
also ibmf_recv_wqe_t-words definitions

' .x a8 ptr-field recv_msg
' .x a0 ptr-field recv_ibmf_qp_handle
' .x 98 ptr-field recv_qp_handle
' .x 94 byte-field recv_port_num
' .x 90 long-field recv_wqe_flags
' .x 88 ptr-field recv_mem_hdl
' .x 80 long-field recv_sg_lkey
' .x 78 ext-field recv_sg_mem
' .x 38 struct-field recv_wc
' .x 30 ptr-field recv_qpp
' .x 28 ptr-field recv_mem
' .x 20 ptr-field recv_client
' .x 8 struct-field recv_wr
' .x 0 ptr-field recv_wqe_next

kdbg-words definitions
previous

\ end ibmf_recv_wqe_t section


vocabulary ibmf_port_kstat_t-words
h# 120 constant ibmf_port_kstat_t-sz
120 ' ibmf_port_kstat_t-words c-struct .ibmf_port_kstat_t
also ibmf_port_kstat_t-words definitions

' .x f0 struct-field rwqe_allocs_failed
' .x c0 struct-field swqe_allocs_failed
' .x 90 struct-field recv_wqes_alloced
' .x 60 struct-field send_wqes_alloced
' .x 30 struct-field client_regs_failed
' .x 0 struct-field clients_registered

kdbg-words definitions
previous

\ end ibmf_port_kstat_t section


vocabulary ibmf_kstat_t-words
h# 300 constant ibmf_kstat_t-sz
300 ' ibmf_kstat_t-words c-struct .ibmf_kstat_t
also ibmf_kstat_t-words definitions

' .x 2d0 struct-field rmpp_errors
' .x 2a0 struct-field send_pkt_failed
' .x 270 struct-field alt_qp_allocs_failed
' .x 240 struct-field uddest_allocs_failed
' .x 210 struct-field msg_allocs_failed
' .x 1e0 struct-field recv_bufs_alloced
' .x 1b0 struct-field recv_cb_active
' .x 180 struct-field send_cb_active
' .x 150 struct-field alt_qps_alloced
' .x 120 struct-field ud_dests_alloced
' .x f0 struct-field recvs_active
' .x c0 struct-field sends_active
' .x 90 struct-field msgs_received
' .x 60 struct-field msgs_sent
' .x 30 struct-field msgs_active
' .x 0 struct-field msgs_alloced

kdbg-words definitions
previous

\ end ibmf_kstat_t section


vocabulary ibmf_ci_t-words
h# e0 constant ibmf_ci_t-sz
e0 ' ibmf_ci_t-words c-struct .ibmf_ci_t
also ibmf_ci_t-words definitions

' .x d8 ptr-field ci_port_kstatp
' .x d0 struct-field ci_wqes_cv
' .x cc long-field ci_wqes_alloced
' .x c8 long-field ci_init_state
' .x c4 struct-field ci_state_cv
' .x c2 short-field ci_state_flags
' .x c0 short-field ci_state
' .x bc long-field ci_ref
' .x b8 short-field ci_device_id
' .x 8 ffffff00 b4 bits-field ci_vendor_id
' .x b0 long-field ci_nports
' .x a8 ptr-field ci_wqe_mgt_list
' .x a0 struct-field ci_wqe_mutex
' .x 98 ptr-field ci_wqe_ib_vmem
' .x 90 ptr-field ci_recv_wqes_cache
' .x 88 ptr-field ci_send_wqes_cache
' .x 80 ptr-field ci_ud_dest_list_head
' .x 78 struct-field ci_ud_dest_list_mutex
' .x 70 long-field ci_ud_dest_list_count
' .x 68 ptr-field ci_alt_qp_list
' .x 60 ptr-field ci_alt_cq_handle
' .x 58 ptr-field ci_cq_handle
' .x 50 struct-field ci_qp_cv
' .x 48 ptr-field ci_qp_list_tail
' .x 40 ptr-field ci_qp_list
' .x 38 ptr-field ci_pd
' .x 30 ptr-field ci_ci_handle
' .x 28 ext-field ci_node_guid
' .x 20 struct-field ci_clients_mutex
' .x 18 ptr-field ci_clients_last
' .x 10 ptr-field ci_clients
' .x 8 struct-field ci_mutex
' .x 0 ptr-field ci_next

kdbg-words definitions
previous

\ end ibmf_ci_t section


vocabulary ibmf_state_t-words
h# 50 constant ibmf_state_t-sz
50 ' ibmf_state_t-words c-struct .ibmf_state_t
also ibmf_state_t-words definitions

' .x 48 ptr-field ibmf_taskq
' .x 28 struct-field ibmf_ibt_modinfo
' .x 20 struct-field ibmf_mutex
' .x 18 ptr-field ibmf_cq_handler
' .x 10 ptr-field ibmf_ibt_handle
' .x 8 ptr-field ibmf_ci_list_tail
' .x 0 ptr-field ibmf_ci_list

kdbg-words definitions
previous

\ end ibmf_state_t section


vocabulary ibmf_addr_info_t-words
h# 14 constant ibmf_addr_info_t-sz
14 ' ibmf_addr_info_t-words c-struct .ibmf_addr_info_t
also ibmf_addr_info_t-words definitions

' .x 1c f0000000 10 bits-field ia_service_level
' .x c long-field ia_q_key
' .x 8 short-field ia_p_key
' .x 4 long-field ia_remote_qno
' .x 2 short-field ia_remote_lid
' .x 0 short-field ia_local_lid

kdbg-words definitions
previous

\ end ibmf_addr_info_t section


vocabulary ibmf_global_addr_info_t-words
h# 28 constant ibmf_global_addr_info_t-sz
28 ' ibmf_global_addr_info_t-words c-struct .ibmf_global_addr_info_t
also ibmf_global_addr_info_t-words definitions

' .x 25 byte-field ig_hop_limit
' .x 24 byte-field ig_tclass
' .x 20 long-field ig_flow_label
' .x 10 struct-field ig_recver_gid
' .x 0 struct-field ig_sender_gid

kdbg-words definitions
previous

\ end ibmf_global_addr_info_t section


vocabulary ibmf_msg_bufs_t-words
h# 28 constant ibmf_msg_bufs_t-sz
28 ' ibmf_msg_bufs_t-words c-struct .ibmf_msg_bufs_t
also ibmf_msg_bufs_t-words definitions

' .x 20 ext-field im_bufs_cl_data_len
' .x 18 ptr-field im_bufs_cl_data
' .x 10 ext-field im_bufs_cl_hdr_len
' .x 8 ptr-field im_bufs_cl_hdr
' .x 0 ptr-field im_bufs_mad_hdr

kdbg-words definitions
previous

\ end ibmf_msg_bufs_t section


vocabulary ibmf_msg_t-words
h# a0 constant ibmf_msg_t-sz
a0 ' ibmf_msg_t-words c-struct .ibmf_msg_t
also ibmf_msg_t-words definitions

' .x 78 struct-field im_msgbufs_recv
' .x 50 struct-field im_msgbufs_send
' .x 48 ext-field im_msg_sz_limit
' .x 44 long-field im_msg_flags
' .x 40 long-field im_msg_status
' .x 18 struct-field im_global_addr
' .x 0 struct-field im_local_addr

kdbg-words definitions
previous

\ end ibmf_msg_t section


here ," IBMF_SAA_RETRIEVE" 0
here ," IBMF_SAA_UPDATE" 1
here ," IBMF_SAA_DELETE" 2
3 c-enum .ibmf_saa_access_type_t

vocabulary ibmf_saa_access_args_t-words
h# 30 constant ibmf_saa_access_args_t-sz
30 ' ibmf_saa_access_args_t-words c-struct .ibmf_saa_access_args_t
also ibmf_saa_access_args_t-words definitions

' .x 28 ptr-field sq_callback_arg
' .x 20 ptr-field sq_callback
' .x 18 ext-field sq_template_length
' .x 10 ptr-field sq_template
' .x 8 ext-field sq_component_mask
' .d 4 long-field sq_access_type
' .x 0 short-field sq_attr_id

kdbg-words definitions
previous

\ end ibmf_saa_access_args_t section


vocabulary ibmf_saa_subnet_event_args_t-words
h# 10 constant ibmf_saa_subnet_event_args_t-sz
10 ' ibmf_saa_subnet_event_args_t-words c-struct .ibmf_saa_subnet_event_args_t
also ibmf_saa_subnet_event_args_t-words definitions

' .x 8 ptr-field is_event_callback_arg
' .x 0 ptr-field is_event_callback

kdbg-words definitions
previous

\ end ibmf_saa_subnet_event_args_t section


here ," IBMF_SAA_PORT_STATE_REGISTERING" 0
here ," IBMF_SAA_PORT_STATE_READY" 1
here ," IBMF_SAA_PORT_STATE_INVALID" 2
here ," IBMF_SAA_PORT_STATE_PURGING" 3
4 c-enum .saa_port_state_t

vocabulary saa_port_t-words
h# 100 constant saa_port_t-sz
100 ' saa_port_t-words c-struct .saa_port_t
also saa_port_t-words definitions

' .x f8 ext-field saa_pt_sa_uptime
' .x f0 byte-field saa_pt_port_num
' .x e8 ext-field saa_pt_node_guid
' .x e0 ptr-field saa_pt_event_sub_client_list
' .x da byte-field saa_pt_event_sub_last_success_mask
' .x d9 byte-field saa_pt_event_sub_success_mask
' .x d8 byte-field saa_pt_event_sub_arrive_mask
' .x d0 struct-field saa_pt_event_sub_mutex
' .x c8 ptr-field saa_pt_kstatp
' .x c0 struct-field saa_pt_kstat_mutex
' .x b8 long-field saa_pt_num_outstanding_trans
' .x b0 ext-field saa_pt_current_tid
' .x a0 struct-field saa_pt_ibmf_retrans
' .d 9c long-field saa_pt_redirect_active
' .x 98 long-field saa_pt_ibmf_msg_flags
' .x 70 struct-field saa_pt_ibmf_global_addr
' .x 5c struct-field saa_pt_ibmf_addr_info
' .x 58 short-field saa_pt_sa_cap_mask
' .x 54 long-field saa_pt_timeout
' .x 50 long-field saa_pt_qpn
' .x 48 ptr-field saa_pt_qp_handle
' .d 40 long-field saa_pt_ibmf_impl_features
' .x 38 ptr-field saa_pt_ibmf_handle
' .x 28 struct-field saa_pt_ibmf_reginfo
' .x 20 ext-field saa_pt_port_guid
' .x 18 long-field saa_pt_reference_count
' .d 14 long-field saa_pt_state
' .x 10 struct-field saa_pt_ibmf_reg_cv
' .x 8 struct-field saa_pt_mutex
' .x 0 ptr-field next

kdbg-words definitions
previous

\ end saa_port_t section


vocabulary ibmf_saa_kstat_t-words
h# 120 constant ibmf_saa_kstat_t-sz
120 ' ibmf_saa_kstat_t-words c-struct .ibmf_saa_kstat_t
also ibmf_saa_kstat_t-words definitions

' .x f0 struct-field requests_timedout
' .x c0 struct-field failed_requests
' .x 90 struct-field total_requests
' .x 60 struct-field outstanding_requests
' .x 30 struct-field clients_reg_failed
' .x 0 struct-field clients_registered

kdbg-words definitions
previous

\ end ibmf_saa_kstat_t section


here ," SAA_CLIENT_STATE_ACTIVE" 0
here ," SAA_CLIENT_STATE_WAITING" 1
here ," SAA_CLIENT_STATE_CLOSED" 2
3 c-enum .saa_client_state_t

vocabulary saa_client_data_t-words
h# 50 constant saa_client_data_t-sz
50 ' saa_client_data_t-words c-struct .saa_client_data_t
also saa_client_data_t-words definitions

' .x 48 ptr-field saa_client_event_cb_arg
' .x 40 ptr-field saa_client_event_cb
' .x 3c struct-field saa_client_event_cb_cv
' .x 38 long-field saa_client_event_cb_num_active
' .x 30 ext-field saa_client_sm_key
' .d 28 long-field saa_client_state
' .x 24 struct-field saa_client_state_cv
' .x 20 long-field saa_client_num_pending_trans
' .x 18 struct-field saa_client_mutex
' .x 10 ptr-field saa_client_port
' .x 8 ptr-field saa_client_sig
' .x 0 ptr-field next

kdbg-words definitions
previous

\ end saa_client_data_t section


vocabulary saa_state_t-words
h# 18 constant saa_state_t-sz
18 ' saa_state_t-words c-struct .saa_state_t
also saa_state_t-words definitions

' .x 10 ptr-field saa_event_taskq
' .x 8 struct-field saa_port_list_mutex
' .x 0 ptr-field saa_port_list

kdbg-words definitions
previous

\ end saa_state_t section


vocabulary saa_impl_trans_info_t-words
h# 80 constant saa_impl_trans_info_t-sz
80 ' saa_impl_trans_info_t-words c-struct .saa_impl_trans_info_t
also saa_impl_trans_info_t-words definitions

' .x 78 ext-field si_trans_send_time
' .x 75 byte-field si_trans_retry_busy_count
' .x 74 byte-field si_trans_transport_flags
' .d 70 long-field si_trans_unseq_unsubscribe
' .x 68 ptr-field si_trans_sub_callback
' .x 60 long-field si_trans_sub_producer_type
' .x 58 ext-field si_trans_length
' .x 50 ptr-field si_trans_result
' .x 48 long-field si_trans_status
' .x 40 ptr-field si_trans_callback_arg
' .x 38 ptr-field si_trans_callback
' .x 30 byte-field si_trans_method
' .x 28 ptr-field si_trans_template
' .x 20 ext-field si_trans_component_mask
' .x 18 short-field si_trans_attr_id
' .x 10 ext-field si_trans_template_length
' .x 8 ptr-field si_trans_port
' .x 0 ptr-field si_trans_client_data

kdbg-words definitions
previous

\ end saa_impl_trans_info_t section


vocabulary ibmf_saa_event_taskq_args_t-words
h# 30 constant ibmf_saa_event_taskq_args_t-sz
30 ' ibmf_saa_event_taskq_args_t-words c-struct .ibmf_saa_event_taskq_args_t
also ibmf_saa_event_taskq_args_t-words definitions

' .x 28 ptr-field et_callback_arg
' .x 20 ptr-field et_callback
' .x 18 ptr-field et_notice
' .x 10 ptr-field et_event_details
' .d 8 long-field et_subnet_event
' .x 0 ptr-field et_client

kdbg-words definitions
previous

\ end ibmf_saa_event_taskq_args_t section


vocabulary ibt_mr_prot_bounds_t-words
h# 10 constant ibt_mr_prot_bounds_t-sz
10 ' ibt_mr_prot_bounds_t-words c-struct .ibt_mr_prot_bounds_t
also ibt_mr_prot_bounds_t-words definitions

' .x 8 ext-field pb_len
' .x 0 ext-field pb_addr

kdbg-words definitions
previous

\ end ibt_mr_prot_bounds_t section


vocabulary ibt_mr_attr_t-words
h# 20 constant ibt_mr_attr_t-sz
20 ' ibt_mr_attr_t-words c-struct .ibt_mr_attr_t
also ibt_mr_attr_t-words definitions

' .d 18 long-field mr_flags
' .x 10 ptr-field mr_as
' .x 8 ext-field mr_len
' .x 0 ext-field mr_vaddr

kdbg-words definitions
previous

\ end ibt_mr_attr_t section


vocabulary ibt_smr_attr_t-words
h# 18 constant ibt_smr_attr_t-sz
18 ' ibt_smr_attr_t-words c-struct .ibt_smr_attr_t
also ibt_smr_attr_t-words definitions

' .x 14 long-field mr_rkey
' .x 10 long-field mr_lkey
' .x c byte-field mr_key
' .d 8 long-field mr_flags
' .x 0 ext-field mr_vaddr

kdbg-words definitions
previous

\ end ibt_smr_attr_t section


vocabulary ibt_mr_query_attr_t-words
h# 48 constant ibt_mr_query_attr_t-sz
48 ' ibt_mr_query_attr_t-words c-struct .ibt_mr_query_attr_t
also ibt_mr_query_attr_t-words definitions

' .x 40 long-field mr_phys_buf_list_sz
' .d 3c long-field mr_lkey_state
' .d 38 long-field mr_sync_required
' .x 30 ptr-field mr_pd
' .d 28 long-field mr_attr_flags
' .x 18 struct-field mr_rbounds
' .x 8 struct-field mr_lbounds
' .x 4 long-field mr_rkey
' .x 0 long-field mr_lkey

kdbg-words definitions
previous

\ end ibt_mr_query_attr_t section


vocabulary ib_gid_t-words
h# 10 constant ib_gid_t-sz
10 ' ib_gid_t-words c-struct .ib_gid_t
also ib_gid_t-words definitions

' .x 0 struct-field gid

kdbg-words definitions
previous

\ end ib_gid_t section


vocabulary ibt_adds_vect_t-words
h# 38 constant ibt_adds_vect_t-sz
38 ' ibt_adds_vect_t-words c-struct .ibt_adds_vect_t
also ibt_adds_vect_t-words definitions

' .x 34 long-field av_opaque4
' .x 32 byte-field av_opaque3
' .x 30 short-field av_opaque2
' .d 2c long-field av_opaque1
' .x 29 byte-field av_port_num
' .x 28 byte-field av_hop
' .x 27 byte-field av_tclass
' .x 8 fffff00 24 bits-field av_flow
' .x 1c f0000000 24 bits-field av_srvl
' .d 20 long-field av_srate
' .x 10 struct-field av_sgid
' .x 0 struct-field av_dgid

kdbg-words definitions
previous

\ end ibt_adds_vect_t section


vocabulary ibt_cep_path_t-words
h# 40 constant ibt_cep_path_t-sz
40 ' ibt_cep_path_t-words c-struct .ibt_cep_path_t
also ibt_cep_path_t-words definitions

' .x 3b byte-field cep_cm_opaque1
' .x 3a byte-field cep_hca_port_num
' .x 38 short-field cep_pkey_ix
' .x 0 struct-field cep_adds_vect

kdbg-words definitions
previous

\ end ibt_cep_path_t section


vocabulary ibt_path_attr_t-words
h# a8 constant ibt_path_attr_t-sz
a8 ' ibt_path_attr_t-words c-struct .ibt_path_attr_t
also ibt_path_attr_t-words definitions

' .x a6 short-field pa_pkey
' .x a4 byte-field pa_tclass
' .x a3 byte-field pa_hop
' .x c fffff000 a0 bits-field pa_flow
' .x 90 struct-field pa_pkt_lt
' .x 84 struct-field pa_srate
' .x 7c struct-field pa_mtu
' .x c f000 78 bits-field pa_sl
' .x 79 byte-field pa_num_dgids
' .x 78 byte-field pa_hca_port_num
' .x 38 struct-field pa_sdata
' .d 30 long-field pa_sd_flags
' .x 28 ext-field pa_sid
' .x 20 ptr-field pa_sname
' .x 18 ext-field pa_hca_guid
' .x 8 struct-field pa_sgid
' .x 0 ptr-field pa_dgids

kdbg-words definitions
previous

\ end ibt_path_attr_t section


vocabulary ibt_wr_ud_t-words
h# 10 constant ibt_wr_ud_t-sz
10 ' ibt_wr_ud_t-words c-struct .ibt_wr_ud_t
also ibt_wr_ud_t-words definitions

' .x 8 ptr-field udwr_dest
' .x 0 long-field udwr_immed

kdbg-words definitions
previous

\ end ibt_wr_ud_t section


vocabulary ibt_wr_rd_t-words
h# 18 constant ibt_wr_rd_t-sz
18 ' ibt_wr_rd_t-words c-struct .ibt_wr_rd_t
also ibt_wr_rd_t-words definitions

' .x 8 struct-field rdwr
' .x 0 ptr-field rdwr_dest_hdl

kdbg-words definitions
previous

\ end ibt_wr_rd_t section


vocabulary ibt_wr_uc_t-words
h# 10 constant ibt_wr_uc_t-sz
10 ' ibt_wr_uc_t-words c-struct .ibt_wr_uc_t
also ibt_wr_uc_t-words definitions

' .x 0 struct-field ucwr

kdbg-words definitions
previous

\ end ibt_wr_uc_t section


vocabulary ibt_wr_rc_t-words
h# 10 constant ibt_wr_rc_t-sz
10 ' ibt_wr_rc_t-words c-struct .ibt_wr_rc_t
also ibt_wr_rc_t-words definitions

' .x 0 struct-field rcwr

kdbg-words definitions
previous

\ end ibt_wr_rc_t section


vocabulary ibt_wr_reth_t-words
h# c constant ibt_wr_reth_t-sz
c ' ibt_wr_reth_t-words c-struct .ibt_wr_reth_t
also ibt_wr_reth_t-words definitions

' .d 8 long-field reth_rate
' .x 14 f00000 4 bits-field reth_sl
' .x 4 byte-field reth_slid_bits
' .x 2 short-field reth_dlid
' .x 0 short-field reth_type

kdbg-words definitions
previous

\ end ibt_wr_reth_t section


vocabulary ibt_wr_ripv6_t-words
h# 8 constant ibt_wr_ripv6_t-sz
8 ' ibt_wr_ripv6_t-words c-struct .ibt_wr_ripv6_t
also ibt_wr_ripv6_t-words definitions

' .d 4 long-field rip_rate
' .x 4 f0 0 bits-field rip_sl
' .x 2 byte-field rip_slid_bits
' .x 0 short-field rip_dlid

kdbg-words definitions
previous

\ end ibt_wr_ripv6_t section


vocabulary ibt_wr_ds_t-words
h# 10 constant ibt_wr_ds_t-sz
10 ' ibt_wr_ds_t-words c-struct .ibt_wr_ds_t
also ibt_wr_ds_t-words definitions

' .x c long-field ds_len
' .x 8 long-field ds_key
' .x 0 ext-field ds_va

kdbg-words definitions
previous

\ end ibt_wr_ds_t section


vocabulary ibt_wr_rdma_t-words
h# 10 constant ibt_wr_rdma_t-sz
10 ' ibt_wr_rdma_t-words c-struct .ibt_wr_rdma_t
also ibt_wr_rdma_t-words definitions

' .x c long-field rdma_immed
' .x 8 long-field rdma_rkey
' .x 0 ext-field rdma_raddr

kdbg-words definitions
previous

\ end ibt_wr_rdma_t section


vocabulary ibt_wr_atomic_t-words
h# 20 constant ibt_wr_atomic_t-sz
20 ' ibt_wr_atomic_t-words c-struct .ibt_wr_atomic_t
also ibt_wr_atomic_t-words definitions

' .x 18 long-field atom_rkey
' .x 10 ext-field atom_arg2
' .x 8 ext-field atom_arg1
' .x 0 ext-field atom_raddr

kdbg-words definitions
previous

\ end ibt_wr_atomic_t section


vocabulary ibt_wr_bind_t-words
h# 30 constant ibt_wr_bind_t-sz
30 ' ibt_wr_bind_t-words c-struct .ibt_wr_bind_t
also ibt_wr_bind_t-words definitions

' .x 28 ext-field bind_len
' .x 20 ext-field bind_va
' .x 18 ptr-field bind_ibt_mw_hdl
' .x 10 ptr-field bind_ibt_mr_hdl
' .x c long-field bind_rkey_out
' .x 8 long-field bind_lkey
' .x 4 long-field bind_rkey
' .d 0 long-field bind_flags

kdbg-words definitions
previous

\ end ibt_wr_bind_t section


vocabulary ibt_send_wr_t-words
h# 30 constant ibt_send_wr_t-sz
30 ' ibt_send_wr_t-words c-struct .ibt_send_wr_t
also ibt_send_wr_t-words definitions

' .x 18 struct-field wr
' .x 10 ptr-field wr_sgl
' .x c long-field wr_nds
' .x b byte-field wr_rsvd
' .x a byte-field wr_opcode
' .x 9 byte-field wr_trans
' .x 8 byte-field wr_flags
' .x 0 ext-field wr_id

kdbg-words definitions
previous

\ end ibt_send_wr_t section


vocabulary ibt_recv_wr_t-words
h# 18 constant ibt_recv_wr_t-sz
18 ' ibt_recv_wr_t-words c-struct .ibt_recv_wr_t
also ibt_recv_wr_t-words definitions

' .x 10 ptr-field wr_sgl
' .x 8 long-field wr_nds
' .x 0 ext-field wr_id

kdbg-words definitions
previous

\ end ibt_recv_wr_t section


vocabulary ibt_rc_chan_alloc_args_t-words
h# 48 constant ibt_rc_chan_alloc_args_t-sz
48 ' ibt_rc_chan_alloc_args_t-words c-struct .ibt_rc_chan_alloc_args_t
also ibt_rc_chan_alloc_args_t-words definitions

' .x 40 ptr-field rc_srq
' .x 38 ptr-field rc_clone_chan
' .x 30 ptr-field rc_pd
' .x 28 ptr-field rc_rcq
' .x 20 ptr-field rc_scq
' .x c struct-field rc_sizes
' .x 8 byte-field rc_hca_port_num
' .d 4 long-field rc_control
' .d 0 long-field rc_flags

kdbg-words definitions
previous

\ end ibt_rc_chan_alloc_args_t section


vocabulary ibt_rc_chan_query_attr_t-words
h# f0 constant ibt_rc_chan_query_attr_t-sz
f0 ' ibt_rc_chan_query_attr_t-words c-struct .ibt_rc_chan_query_attr_t
also ibt_rc_chan_query_attr_t-words definitions

' .x e8 ptr-field rc_srq
' .x e0 long-field rc_dst_qpn
' .x dc long-field rc_qpn
' .d d8 long-field rc_mig_state
' .d d4 long-field rc_control
' .d d0 long-field rc_flags
' .x cd byte-field rc_rdma_ra_in
' .x cc byte-field rc_rdma_ra_out
' .x b8 struct-field rc_chan_sizes
' .x 78 struct-field rc_alt_path
' .x 38 struct-field rc_prim_path
' .d 30 long-field rc_min_rnr_nak
' .d 2c long-field rc_path_rnr_retry_cnt
' .x 1d e0000000 28 bits-field rc_path_retry_cnt
' .d 24 long-field rc_path_mtu
' .d 20 long-field rc_state
' .x 18 ptr-field rc_pd
' .x 10 ptr-field rc_rcq
' .x 8 ptr-field rc_scq
' .x 0 ext-field rc_hca_guid

kdbg-words definitions
previous

\ end ibt_rc_chan_query_attr_t section


vocabulary ibt_rc_chan_modify_attr_t-words
h# 90 constant ibt_rc_chan_modify_attr_t-sz
90 ' ibt_rc_chan_modify_attr_t-words c-struct .ibt_rc_chan_modify_attr_t
also ibt_rc_chan_modify_attr_t-words definitions

' .x 8f byte-field rc_rdma_ra_in
' .x 8e byte-field rc_rdma_ra_out
' .x 8d byte-field rc_alt_port_num
' .x 8c byte-field rc_prim_port_num
' .d 88 long-field rc_min_rnr_nak
' .d 84 long-field rc_path_rnr_retry_cnt
' .x 1d e0000000 80 bits-field rc_path_retry_cnt
' .x 48 struct-field rc_alt_adds_vect
' .x 10 struct-field rc_prim_adds_vect
' .x 8 long-field rc_rq_sz
' .x 4 long-field rc_sq_sz
' .d 0 long-field rc_control

kdbg-words definitions
previous

\ end ibt_rc_chan_modify_attr_t section


vocabulary ibt_ud_dest_attr_t-words
h# 38 constant ibt_ud_dest_attr_t-sz
38 ' ibt_ud_dest_attr_t-words c-struct .ibt_ud_dest_attr_t
also ibt_ud_dest_attr_t-words definitions

' .x 30 ptr-field ud_priv_data
' .x 28 byte-field ud_priv_data_len
' .x 20 ptr-field ud_cm_private
' .x 18 ptr-field ud_cm_handler
' .x 12 byte-field ud_pkt_lt
' .x 10 short-field ud_pkey_ix
' .x 8 ptr-field ud_addr
' .x 0 ext-field ud_sid

kdbg-words definitions
previous

\ end ibt_ud_dest_attr_t section


vocabulary ibt_ud_dest_query_attr_t-words
h# 50 constant ibt_ud_dest_query_attr_t-sz
50 ' ibt_ud_dest_query_attr_t-words c-struct .ibt_ud_dest_query_attr_t
also ibt_ud_dest_query_attr_t-words definitions

' .x 48 ptr-field ud_pd
' .x 10 struct-field ud_addr_vect
' .x c long-field ud_qkey
' .x 8 long-field ud_dst_qpn
' .x 0 ptr-field ud_hca_hdl

kdbg-words definitions
previous

\ end ibt_ud_dest_query_attr_t section


vocabulary ibt_ud_chan_alloc_args_t-words
h# 80 constant ibt_ud_chan_alloc_args_t-sz
80 ' ibt_ud_chan_alloc_args_t-words c-struct .ibt_ud_chan_alloc_args_t
also ibt_ud_chan_alloc_args_t-words definitions

' .x 48 struct-field ud_rss
' .x 40 ptr-field ud_srq
' .x 38 ptr-field ud_clone_chan
' .x 30 ptr-field ud_pd
' .x 28 ptr-field ud_rcq
' .x 20 ptr-field ud_scq
' .x 1c long-field ud_qkey
' .x 8 struct-field ud_sizes
' .x 6 short-field ud_pkey_ix
' .x 4 byte-field ud_hca_port_num
' .d 0 long-field ud_flags

kdbg-words definitions
previous

\ end ibt_ud_chan_alloc_args_t section


vocabulary ibt_ud_chan_query_attr_t-words
h# 90 constant ibt_ud_chan_query_attr_t-sz
90 ' ibt_ud_chan_query_attr_t-words c-struct .ibt_ud_chan_query_attr_t
also ibt_ud_chan_query_attr_t-words definitions

' .x 58 struct-field ud_rss
' .x 50 ptr-field ud_srq
' .d 4c long-field ud_flags
' .x 38 struct-field ud_chan_sizes
' .x 34 long-field ud_qkey
' .x 30 short-field ud_pkey_ix
' .d 2c long-field ud_state
' .x 28 byte-field ud_hca_port_num
' .x 20 ptr-field ud_pd
' .x 18 ptr-field ud_rcq
' .x 10 ptr-field ud_scq
' .x 8 ext-field ud_hca_guid
' .x 0 long-field ud_qpn

kdbg-words definitions
previous

\ end ibt_ud_chan_query_attr_t section


vocabulary ibt_ud_chan_modify_attr_t-words
h# 44 constant ibt_ud_chan_modify_attr_t-sz
44 ' ibt_ud_chan_modify_attr_t-words c-struct .ibt_ud_chan_modify_attr_t
also ibt_ud_chan_modify_attr_t-words definitions

' .x c struct-field ud_rss
' .x 8 long-field ud_qkey
' .x 4 long-field ud_rq_sz
' .x 0 long-field ud_sq_sz

kdbg-words definitions
previous

\ end ibt_ud_chan_modify_attr_t section


vocabulary ibt_chan_open_args_t-words
h# 50 constant ibt_chan_open_args_t-sz
50 ' ibt_chan_open_args_t-words c-struct .ibt_chan_open_args_t
also ibt_chan_open_args_t-words definitions

' .x 4c long-field oc_opaque4
' .x 48 long-field oc_opaque3
' .x 8 ffffff00 44 bits-field oc_opaque2
' .x 14 f00000 40 bits-field oc_opaque1
' .x 40 byte-field oc_cm_pkt_lt
' .x 38 ptr-field oc_cm_cep_path
' .x 30 ptr-field oc_cm_redirect_info
' .x 28 ptr-field oc_dup_channel
' .x 20 ptr-field oc_priv_data
' .x 1f byte-field oc_priv_data_len
' .x 1e byte-field oc_rdma_ra_in
' .x 1d byte-field oc_rdma_ra_out
' .x 1d e0000000 1c bits-field oc_path_retry_cnt
' .d 18 long-field oc_path_rnr_retry_cnt
' .x 10 ptr-field oc_cm_clnt_private
' .x 8 ptr-field oc_cm_handler
' .x 0 ptr-field oc_path

kdbg-words definitions
previous

\ end ibt_chan_open_args_t section


vocabulary ibt_rc_returns_t-words
h# 68 constant ibt_rc_returns_t-sz
68 ' ibt_rc_returns_t-words c-struct .ibt_rc_returns_t
also ibt_rc_returns_t-words definitions

' .x 60 ptr-field rc_priv_data
' .x 5d byte-field rc_priv_data_len
' .x 5c byte-field rc_failover_status
' .d 58 long-field rc_status
' .x 8 struct-field rc_arej_info
' .x 1 byte-field rc_rdma_ra_out
' .x 0 byte-field rc_rdma_ra_in

kdbg-words definitions
previous

\ end ibt_rc_returns_t section


vocabulary ibt_ud_returns_t-words
h# 48 constant ibt_ud_returns_t-sz
48 ' ibt_ud_returns_t-words c-struct .ibt_ud_returns_t
also ibt_ud_returns_t-words definitions

' .x 40 ptr-field ud_priv_data
' .x 38 byte-field ud_priv_data_len
' .x 34 long-field ud_qkey
' .x 30 long-field ud_dqpn
' .x 8 struct-field ud_redirect
' .d 0 long-field ud_status

kdbg-words definitions
previous

\ end ibt_ud_returns_t section


vocabulary ibt_ud_dest_t-words
h# 18 constant ibt_ud_dest_t-sz
18 ' ibt_ud_dest_t-words c-struct .ibt_ud_dest_t
also ibt_ud_dest_t-words definitions

' .x 10 ptr-field ud_dest_opaque1
' .x c long-field ud_qkey
' .x 8 long-field ud_dst_qpn
' .x 0 ptr-field ud_ah

kdbg-words definitions
previous

\ end ibt_ud_dest_t section


vocabulary ibt_rd_dest_t-words
h# 18 constant ibt_rd_dest_t-sz
18 ' ibt_rd_dest_t-words c-struct .ibt_rd_dest_t
also ibt_rd_dest_t-words definitions

' .x 10 long-field rd_dst_qkey
' .x c long-field rd_dst_qpn
' .x 8 long-field rd_eecn
' .x 0 ptr-field rd_ah

kdbg-words definitions
previous

\ end ibt_rd_dest_t section


vocabulary ibt_clnt_modinfo_t-words
h# 20 constant ibt_clnt_modinfo_t-sz
20 ' ibt_clnt_modinfo_t-words c-struct .ibt_clnt_modinfo_t
also ibt_clnt_modinfo_t-words definitions

' .x 18 ptr-field mi_clnt_name
' .x 10 ptr-field mi_reserved
' .x 8 ptr-field mi_async_handler
' .d 4 long-field mi_clnt_class
' .d 0 long-field mi_ibt_version

kdbg-words definitions
previous

\ end ibt_clnt_modinfo_t section


vocabulary ibt_cq_attr_t-words
h# 18 constant ibt_cq_attr_t-sz
18 ' ibt_cq_attr_t-words c-struct .ibt_cq_attr_t
also ibt_cq_attr_t-words definitions

' .d 10 long-field cq_flags
' .x 8 ptr-field cq_sched
' .x 0 long-field cq_size

kdbg-words definitions
previous

\ end ibt_cq_attr_t section


vocabulary ibt_eec_info_t-words
h# a0 constant ibt_eec_info_t-sz
a0 ' ibt_eec_info_t-words c-struct .ibt_eec_info_t
also ibt_eec_info_t-words definitions

' .x 60 struct-field eec_alt_path
' .x 20 struct-field eec_prim_path
' .d 1c long-field eec_path_mtu
' .d 18 long-field eec_rnr_retry_cnt
' .x d e000 14 bits-field eec_retry_cnt
' .x 15 byte-field eec_rdma_ra_in
' .x 14 byte-field eec_rdma_ra_out
' .d 10 long-field eec_mig
' .d c long-field eec_state
' .x 8 long-field eec_dst_eecn
' .x 8 ffffff00 4 bits-field eec_rq_psn
' .x 8 ffffff00 0 bits-field eec_sq_psn

kdbg-words definitions
previous

\ end ibt_eec_info_t section


vocabulary ibt_eec_query_attr_t-words
h# b0 constant ibt_eec_query_attr_t-sz
b0 ' ibt_eec_query_attr_t-words c-struct .ibt_eec_query_attr_t
also ibt_eec_query_attr_t-words definitions

' .x 10 struct-field eec_info
' .x 8 ptr-field eec_rdd_hdl
' .x 0 long-field eec_eecn

kdbg-words definitions
previous

\ end ibt_eec_query_attr_t section


vocabulary ibtl_hca_devinfo_t-words
h# c8 constant ibtl_hca_devinfo_t-sz
c8 ' ibtl_hca_devinfo_t-words c-struct .ibtl_hca_devinfo_t
also ibtl_hca_devinfo_t-words definitions

' noop ' .x 8 8 bc array-field hd_async_port
' .x b8 long-field hd_hca_port_ks_info_len
' .x b0 ptr-field hd_hca_port_ks_info
' .x a8 long-field hd_multism
' .x a4 struct-field hd_async_task_cv
' .x a0 long-field hd_async_task_cnt
' .x 98 ext-field hd_fma_ena
' .d 90 long-field hd_async_flags
' .x 60 struct-field hd_async_event
' .d 5c long-field hd_async_code
' .d 58 long-field hd_async_codes
' .x 54 long-field hd_async_busy
' .x 52 struct-field hd_async_busy_cv
' .x 50 byte-field hd_portinfo_locked_port
' .x 4c long-field hd_portinfo_waiters
' .x 48 struct-field hd_portinfo_cv
' .x 40 ptr-field hd_async_link
' .x 38 ptr-field hd_hca_dip
' .x 30 ptr-field hd_hca_attr
' .x 28 ptr-field hd_ibc_ops
' .x 20 ptr-field hd_ibc_hca_hdl
' .x 18 ptr-field hd_clnt_list
' .x 10 ptr-field hd_portinfop
' .x c long-field hd_portinfo_len
' .d 8 long-field hd_state
' .x 0 ptr-field hd_hca_dev_link

kdbg-words definitions
previous

\ end ibtl_hca_devinfo_t section


vocabulary ibt_hca_attr_t-words
h# 138 constant ibt_hca_attr_t-sz
138 ' ibt_hca_attr_t-words c-struct .ibt_hca_attr_t
also ibt_hca_attr_t-words definitions

' .x 134 long-field hca_conn_rdma_sgl_overhead
' .x 130 long-field hca_conn_send_sgl_sz
' .x 12c long-field hca_ud_send_sgl_sz
' .x 128 long-field hca_recv_sgl_sz
' .x 124 long-field hca_conn_rdmaw_inline_overhead
' .x 120 long-field hca_conn_send_inline_sz
' .x 11c long-field hca_ud_send_inline_sz
' .x 118 long-field hca_max_xrc_srq_sgl
' .x 114 long-field hca_max_xrc_srq_size
' .x 110 long-field hca_max_xrc_srqs
' .x 10c long-field hca_max_xrc_domains
' .x 10a short-field hca_fw_micro_version
' .x 108 short-field hca_fw_minor_version
' .x 104 long-field hca_fw_major_version
' .x 100 long-field hca_max_cq_mod_usec
' .x fc long-field hca_max_cq_mod_count
' .x f8 long-field hca_max_inline_size
' .x f4 long-field hca_max_lso_hdr_size
' .x f0 long-field hca_max_lso_size
' .x ec long-field hca_opaque9
' .x e8 long-field hca_max_fmrs
' .x e4 long-field hca_reserved_lkey
' .x e0 long-field hca_max_cq_handlers
' .x d8 ext-field hca_block_sz_hi
' .x d0 ext-field hca_block_sz_lo
' .x c8 long-field hca_max_phys_buf_list_sz
' .x c4 long-field hca_max_srq_sgl
' .x c0 long-field hca_max_srqs_sz
' .x bc long-field hca_max_srqs
' .x b8 long-field hca_opaque8
' .x b4 long-field hca_opaque7
' .x b2 byte-field hca_rss_max_log2_table
' .x b1 byte-field hca_opaque6
' .x b0 byte-field hca_opaque5
' .x ac long-field hca_opaque4
' .x a8 long-field hca_opaque3
' .x a4 long-field hca_opaque2
' .x a0 long-field hca_max_ud_dest
' .x 9c long-field hca_cq_sched_max_ci_priv_sz
' .x 98 long-field hca_ud_dest_max_ci_priv_sz
' .x 94 long-field hca_mw_max_ci_priv_sz
' .x 90 long-field hca_mr_max_ci_priv_sz
' .x 8c long-field hca_pd_max_ci_priv_sz
' .x 88 long-field hca_cq_max_ci_priv_sz
' .x 84 long-field hca_chan_max_ci_priv_sz
' .x 80 long-field hca_hca_max_ci_priv_sz
' .x 78 ext-field hca_si_guid
' .x 74 long-field hca_max_pd
' .x 70 short-field hca_max_port_pkey_tbl_sz
' .x 6c long-field hca_max_port_sgid_tbl_sz
' .x 68 byte-field hca_local_ack_delay
' .x 60 ext-field hca_node_guid
' .x 5a byte-field hca_nports
' .x 58 short-field hca_max_partitions
' .x 54 long-field hca_max_chan_per_mcg
' .x 50 long-field hca_max_mcg
' .x 4c long-field hca_max_mcg_chans
' .x 48 long-field hca_max_ether_chan
' .x 44 long-field hca_max_ipv6_chan
' .x 41 byte-field hca_max_rdma_out_chan
' .x 40 byte-field hca_max_rdma_in_chan
' .x 3c long-field hca_max_rsc
' .x 38 long-field hca_max_mem_win
' .x 30 ext-field hca_max_memr_len
' .x 2c long-field hca_max_memr
' .d 28 long-field hca_page_sz
' .x 24 long-field hca_max_cq_sz
' .x 20 long-field hca_max_cq
' .x 1c long-field hca_max_sgl
' .x 18 long-field hca_max_chan_sz
' .x 14 long-field hca_max_chans
' .x 10 long-field hca_version_id
' .x c short-field hca_device_id
' .x 8 ffffff00 8 bits-field hca_vendor_id
' .d 4 long-field hca_flags2
' .d 0 long-field hca_flags

kdbg-words definitions
previous

\ end ibt_hca_attr_t section


vocabulary ibt_qp_rc_attr_t-words
h# a0 constant ibt_qp_rc_attr_t-sz
a0 ' ibt_qp_rc_attr_t-words c-struct .ibt_qp_rc_attr_t
also ibt_qp_rc_attr_t-words definitions

' .x 60 struct-field rc_alt_path
' .x 20 struct-field rc_path
' .d 1c long-field rc_path_mtu
' .d 18 long-field rc_min_rnr_nak
' .x 16 byte-field rc_rdma_ra_in
' .x 15 byte-field rc_rdma_ra_out
' .x 1d e0000000 14 bits-field rc_retry_cnt
' .d 10 long-field rc_rnr_retry_cnt
' .d c long-field rc_mig_state
' .x 8 long-field rc_dst_qpn
' .x 8 ffffff00 4 bits-field rc_rq_psn
' .x 8 ffffff00 0 bits-field rc_sq_psn

kdbg-words definitions
previous

\ end ibt_qp_rc_attr_t section


vocabulary ibt_qp_uc_attr_t-words
h# 98 constant ibt_qp_uc_attr_t-sz
98 ' ibt_qp_uc_attr_t-words c-struct .ibt_qp_uc_attr_t
also ibt_qp_uc_attr_t-words definitions

' .x 58 struct-field uc_alt_path
' .x 18 struct-field uc_path
' .d 10 long-field uc_path_mtu
' .d c long-field uc_mig_state
' .x 8 long-field uc_dst_qpn
' .x 8 ffffff00 4 bits-field uc_rq_psn
' .x 8 ffffff00 0 bits-field uc_sq_psn

kdbg-words definitions
previous

\ end ibt_qp_uc_attr_t section


vocabulary ibt_qp_ud_attr_t-words
h# 44 constant ibt_qp_ud_attr_t-sz
44 ' ibt_qp_ud_attr_t-words c-struct .ibt_qp_ud_attr_t
also ibt_qp_ud_attr_t-words definitions

' .x c struct-field ud_rss
' .x a byte-field ud_port
' .x 8 short-field ud_pkey_ix
' .x 8 ffffff00 4 bits-field ud_sq_psn
' .x 0 long-field ud_qkey

kdbg-words definitions
previous

\ end ibt_qp_ud_attr_t section


vocabulary ibt_qp_info_t-words
h# b8 constant ibt_qp_info_t-sz
b8 ' ibt_qp_info_t-words c-struct .ibt_qp_info_t
also ibt_qp_info_t-words definitions

' .x 18 struct-field qp_transport
' .x 14 byte-field qp_trans
' .d 10 long-field qp_flags
' .d c long-field qp_current_state
' .d 8 long-field qp_state
' .x 4 long-field qp_rq_sz
' .x 0 long-field qp_sq_sz

kdbg-words definitions
previous

\ end ibt_qp_info_t section


vocabulary ibt_qp_alloc_attr_t-words
h# 60 constant ibt_qp_alloc_attr_t-sz
60 ' ibt_qp_alloc_attr_t-words c-struct .ibt_qp_alloc_attr_t
also ibt_qp_alloc_attr_t-words definitions

' .x 58 ptr-field qp_opaque3
' .x 50 ptr-field qp_srq_hdl
' .x 48 ptr-field qp_opaque2
' .x 40 ptr-field qp_opaque1
' .d 3c long-field qp_flags
' .x 28 struct-field qp_sizes
' .x 20 ptr-field qp_pd_hdl
' .x 18 ptr-field qp_rdd_hdl
' .x 10 ptr-field qp_rcq_hdl
' .x 8 ptr-field qp_scq_hdl
' .d 0 long-field qp_alloc_flags

kdbg-words definitions
previous

\ end ibt_qp_alloc_attr_t section


vocabulary ibt_chan_sizes_t-words
h# 14 constant ibt_chan_sizes_t-sz
14 ' ibt_chan_sizes_t-words c-struct .ibt_chan_sizes_t
also ibt_chan_sizes_t-words definitions

' .x 10 long-field cs_inline
' .x c long-field cs_rq_sgl
' .x 8 long-field cs_sq_sgl
' .x 4 long-field cs_rq
' .x 0 long-field cs_sq

kdbg-words definitions
previous

\ end ibt_chan_sizes_t section


vocabulary ibt_mcg_attr_t-words
h# 58 constant ibt_mcg_attr_t-sz
58 ' ibt_mcg_attr_t-words c-struct .ibt_mcg_attr_t
also ibt_mcg_attr_t-words definitions

' .x 50 short-field mc_opaque1
' .x c f000 4c bits-field mc_join_state
' .x 10 f0000 4c bits-field mc_scope
' .x 14 f00000 4c bits-field mc_sl
' .x 4c byte-field mc_tclass
' .x 4b byte-field mc_hop
' .x c fffff000 48 bits-field mc_flow
' .x 38 struct-field mc_pkt_lt_req
' .x 30 struct-field mc_rate_req
' .x 28 struct-field mc_mtu_req
' .x 24 short-field mc_pkey
' .x 20 long-field mc_qkey
' .x 10 struct-field mc_pgid
' .x 0 struct-field mc_mgid

kdbg-words definitions
previous

\ end ibt_mcg_attr_t section


vocabulary ibt_mcg_info_t-words
h# 50 constant ibt_mcg_info_t-sz
50 ' ibt_mcg_info_t-words c-struct .ibt_mcg_info_t
also ibt_mcg_info_t-words definitions

' .x 48 ext-field mc_opaque2
' .x c f000 40 bits-field mc_scope
' .x 40 short-field mc_pkey_ix
' .x 3c long-field mc_qkey
' .d 38 long-field mc_mtu
' .x 0 struct-field mc_adds_vect

kdbg-words definitions
previous

\ end ibt_mcg_info_t section


vocabulary ibt_path_info_t-words
h# d8 constant ibt_path_info_t-sz
d8 ' ibt_path_info_t-words c-struct .ibt_path_info_t
also ibt_path_info_t-words definitions

' .x d5 byte-field pi_alt_pkt_lt
' .x d4 byte-field pi_prim_pkt_lt
' .d d0 long-field pi_path_mtu
' .x 90 struct-field pi_alt_cep_path
' .x 50 struct-field pi_prim_cep_path
' .x 10 struct-field pi_sdata
' .x 8 ext-field pi_sid
' .x 0 ext-field pi_hca_guid

kdbg-words definitions
previous

\ end ibt_path_info_t section


vocabulary ibt_async_event_t-words
h# 30 constant ibt_async_event_t-sz
30 ' ibt_async_event_t-words c-struct .ibt_async_event_t
also ibt_async_event_t-words definitions

' .x 2c byte-field ev_port
' .d 28 long-field ev_port_flags
' .x 20 ptr-field ev_srq_hdl
' .x 18 ext-field ev_hca_guid
' .x 10 ptr-field ev_cq_hdl
' .x 8 ptr-field ev_chan_hdl
' .x 0 ext-field ev_fma_ena

kdbg-words definitions
previous

\ end ibt_async_event_t section


vocabulary ibtl_channel_t-words
h# 98 constant ibtl_channel_t-sz
98 ' ibtl_channel_t-words c-struct .ibtl_channel_t
also ibtl_channel_t-words definitions

' .x 90 ptr-field ch_cm_private
' .x 88 struct-field ch_cm_cv
' .x 80 struct-field ch_cm_mutex
' .x 78 ptr-field ch_clnt_private
' .d 70 long-field ch_current_state
' .x 60 struct-field ch_transport
' .x 0 struct-field ch_qp

kdbg-words definitions
previous

\ end ibtl_channel_t section


vocabulary ibtl_clnt_t-words
h# 48 constant ibtl_clnt_t-sz
48 ' ibtl_clnt_t-words c-struct .ibtl_clnt_t
also ibtl_clnt_t-words definitions

' .x 40 ptr-field clnt_sm_trap_handler_arg
' .x 38 ptr-field clnt_sm_trap_handler
' .x 30 ptr-field clnt_hca_list
' .x 2c long-field clnt_srv_cnt
' .x 28 long-field clnt_async_cnt
' .x 20 ptr-field clnt_list_link
' .x 18 ptr-field clnt_dip
' .x 10 ptr-field clnt_private
' .x 8 ptr-field clnt_modinfop
' c@ ' .x 8 1 0 array-field clnt_name

kdbg-words definitions
previous

\ end ibtl_clnt_t section


vocabulary ibtl_cq_t-words
h# 58 constant ibtl_cq_t-sz
58 ' ibtl_cq_t-words c-struct .ibtl_cq_t
also ibtl_cq_t-words definitions

' .x 50 ext-field cq_fma_ena
' .d 4c long-field cq_async_flags
' .d 48 long-field cq_async_codes
' .x 44 long-field cq_in_thread
' .d 40 long-field cq_impl_flags
' .x 38 ptr-field cq_async_link
' .x 30 ptr-field cq_link
' .x 28 ptr-field cq_clnt_private
' .x 20 struct-field cq_mutex
' .x 18 ptr-field cq_arg
' .x 10 ptr-field cq_comp_handler
' .x 8 ptr-field cq_hca
' .x 0 ptr-field cq_ibc_cq_hdl

kdbg-words definitions
previous

\ end ibtl_cq_t section


vocabulary ibtl_eec_t-words
h# 40 constant ibtl_eec_t-sz
40 ' ibtl_eec_t-words c-struct .ibtl_eec_t
also ibtl_eec_t-words definitions

' .x 38 ext-field eec_pth_fma_ena
' .x 30 ext-field eec_cat_fma_ena
' .d 2c long-field eec_async_flags
' .d 28 long-field eec_async_codes
' .x 20 ptr-field eec_async_link
' .x 18 ptr-field eec_channel
' .x 10 ptr-field eec_ibc_rdd_hdl
' .x 8 ptr-field eec_hca
' .x 0 ptr-field eec_ibc_eec_hdl

kdbg-words definitions
previous

\ end ibtl_eec_t section


vocabulary ibtl_hca_t-words
h# 68 constant ibtl_hca_t-sz
68 ' ibtl_hca_t-words c-struct .ibtl_hca_t
also ibtl_hca_t-words definitions

' .x 64 long-field ha_ma_cnt
' .x 60 long-field ha_fmr_pool_cnt
' .x 5c long-field ha_async_cnt
' .d 58 long-field ha_async_flags
' .x 54 long-field ha_srq_cnt
' .x 50 long-field ha_qpn_cnt
' .x 4c long-field ha_mw_cnt
' .x 48 long-field ha_mr_cnt
' .x 44 long-field ha_ah_cnt
' .x 40 long-field ha_pd_cnt
' .x 3c long-field ha_cq_cnt
' .x 38 long-field ha_eec_cnt
' .x 34 long-field ha_qp_cnt
' .x 30 long-field ha_flags
' .x 28 struct-field ha_mutex
' .x 20 ptr-field ha_clnt_private
' .x 18 ptr-field ha_clnt_devp
' .x 10 ptr-field ha_hca_devp
' .x 8 ptr-field ha_clnt_link
' .x 0 ptr-field ha_hca_link

kdbg-words definitions
previous

\ end ibtl_hca_t section


vocabulary ibt_mr_desc_t-words
h# 18 constant ibt_mr_desc_t-sz
18 ' ibt_mr_desc_t-words c-struct .ibt_mr_desc_t
also ibt_mr_desc_t-words definitions

' .d 10 long-field md_sync_required
' .x c long-field md_rkey
' .x 8 long-field md_lkey
' .x 0 ext-field md_vaddr

kdbg-words definitions
previous

\ end ibt_mr_desc_t section


vocabulary ibtl_qp_t-words
h# 60 constant ibtl_qp_t-sz
60 ' ibtl_qp_t-words c-struct .ibtl_qp_t
also ibtl_qp_t-words definitions

' .x 58 ext-field qp_acc_fma_ena
' .x 50 ext-field qp_inv_fma_ena
' .x 48 ext-field qp_pth_fma_ena
' .x 40 ext-field qp_cat_fma_ena
' .d 3c long-field qp_async_flags
' .d 38 long-field qp_async_codes
' .x 30 ptr-field qp_async_link
' .x 28 ptr-field qp_recv_cq
' .x 20 ptr-field qp_send_cq
' .x 18 ptr-field qp_hca
' .x 10 ptr-field qp_pd_hdl
' .x 8 ptr-field qp_ibc_qp_hdl
' .d 4 long-field qp_flags
' .x 0 byte-field qp_type

kdbg-words definitions
previous

\ end ibtl_qp_t section


vocabulary ibt_srv_desc_t-words
h# 18 constant ibt_srv_desc_t-sz
18 ' ibt_srv_desc_t-words c-struct .ibt_srv_desc_t
also ibt_srv_desc_t-words definitions

' .d 10 long-field sd_flags
' .x 8 ptr-field sd_handler
' .x 0 ptr-field sd_ud_handler

kdbg-words definitions
previous

\ end ibt_srv_desc_t section


vocabulary ibt_wc_t-words
h# 40 constant ibt_wc_t-sz
40 ' ibt_wc_t-words c-struct .ibt_wc_t
also ibt_wc_t-words definitions

' .x 38 byte-field wc_opaque4
' .x 34 long-field wc_rkey
' .x 30 long-field wc_local_qpn
' .x 2c long-field wc_detail
' .x 28 long-field wc_qpn
' .x 26 short-field wc_opaque2
' .x 24 short-field wc_opaque1
' .x 22 short-field wc_ethertype
' .x 14 f00000 20 bits-field wc_sl
' .x 20 byte-field wc_status
' .x 1c long-field wc_res_hash
' .x 18 long-field wc_immed_data
' .x 16 short-field wc_cksum
' .x 15 byte-field wc_type
' .x 14 byte-field wc_flags
' .x 10 long-field wc_bytes_xfer
' .x 8 ext-field wc_fma_ena
' .x 0 ext-field wc_id

kdbg-words definitions
previous

\ end ibt_wc_t section


vocabulary ifp-words
h# 3958 constant ifp-sz
3958 ' ifp-words c-struct .ifp
also ifp-words definitions

' .x 3950 short-field ifp_chip_reg_cnt
' .x 394e short-field ifp_chip_rev
' .x 394c short-field ifp_chip_id
' .x 3150 struct-field ifp_stats
' .x 314c long-field ifp_scandb_retry
' .x 3148 long-field ifp_running_diags
' .x 3138 struct-field ifp_ndi_events
' .x 3130 ptr-field ifp_ndi_event_hdl
' .x 3128 ptr-field ifp_hp_elem_tail
' .x 3120 ptr-field ifp_hp_elem_head
' .x 3118 struct-field ifp_hp_daemon_mutex
' .x 3114 struct-field ifp_hp_daemon_cv
' .x 3110 long-field ifp_hp_thread_go_away
' c@ ' .x 80 1 3090 array-field ifp_fcal_map
' noop ' .x 2800 10 890 array-field ifp_slots
' .x 888 ptr-field ifp_kmem_cache
' .x 880 ptr-field ifp_reset_notify_listf
' .x 87e short-field ifp_last_slot_watched
' .x 87c short-field ifp_free_slot
' .x 878 long-field ifp_lip_state
' .x 874 long-field ifp_state
' .x 870 long-field ifp_softstate
' .x 868 ptr-field ifp_ksp
' .x 860 ptr-field ifp_response_base
' .x 858 ptr-field ifp_response_ptr
' .x 850 ptr-field ifp_request_base
' .x 848 ptr-field ifp_request_ptr
' .x 846 short-field ifp_response_out
' .x 844 short-field ifp_response_in
' .x 842 short-field ifp_request_out
' .x 840 short-field ifp_request_in
' .x 838 struct-field ifp_response_mutex
' .x 830 struct-field ifp_request_mutex
' .x 828 long-field ifp_queue_space
' .x 820 struct-field ifp_my_port_wwn
' .x 818 struct-field ifp_my_wwn
' .x 814 byte-field ifp_my_alpa
' .x 794 struct-field ifp_portdb
' c@ ' .x 80 1 714 array-field ifp_alpa_states
' c@ ' .x 80 1 694 array-field ifp_loop_map
' .x 690 long-field ifp_lip_cnt
' x@ ' .x 100 8 590 array-field ifp_wwn_lists
' x@ ' .x 3f0 8 1a0 array-field ifp_targets
' .x 198 ext-field ifp_reset_time
' .x 190 long-field ifp_burst_size
' .x 188 ptr-field ifp_waitq_timeout
' .x 180 ptr-field ifp_waitb
' .x 178 ptr-field ifp_waitf
' .x 170 struct-field ifp_waitq_mutex
' .x 158 struct-field ifp_portdb_dmacookie
' .x 140 struct-field ifp_map_dmacookie
' .x 138 ptr-field ifp_fcal_porthandle
' .x 130 ptr-field ifp_fcal_maphandle
' .x 128 ptr-field ifp_biu_acc_handle
' .x 120 ptr-field ifp_pci_config_acc_handle
' .x 11c long-field ifp_response_dvma
' .x 118 long-field ifp_request_dvma
' .x 110 ptr-field ifp_dma_acc_handle
' .x 108 ptr-field ifp_dmahandle
' .x f0 struct-field ifp_dmacookie
' .x e8 ptr-field ifp_cmdarea
' .x e0 ext-field ifp_loopdown_timeout
' .x dc long-field ifp_que_inited
' .x db byte-field ifp_alive
' .x da byte-field ifp_handling_fatal_aen
' .x d9 byte-field ifp_shutdown
' .x d8 byte-field ifp_polled_intr
' .x 70 struct-field ifp_mbox
' .x 38 struct-field ifp_icb
' .x 30 ptr-field ifp_biu_reg
' .x 2c byte-field ifp_suspended
' .x 28 long-field ifp_scsi_reset_delay
' .x 24 short-field ifp_subminor_rev
' .x 22 short-field ifp_minor_rev
' .x 20 short-field ifp_major_rev
' .x 18 ptr-field ifp_next
' .x 10 ptr-field ifp_iblock
' .x 8 ptr-field ifp_dip
' .x 0 ptr-field ifp_tran

kdbg-words definitions
previous

\ end ifp section


vocabulary ifp_cmd-words
h# 108 constant ifp_cmd-sz
108 ' ifp_cmd-words c-struct .ifp_cmd
also ifp_cmd-words definitions

' c@ ' .x 8 1 fc array-field cmd_pkt_private
' .x f8 long-field cmd_privlen
' .x f4 long-field cmd_scblen
' .x f0 long-field cmd_cdblen
' .x ec short-field cmd_slot
' .x e8 long-field cmd_flags
' c@ ' .x 10 1 d8 array-field cmd_cdb
' .x d0 ext-field cmd_deadline
' .x c8 ext-field cmd_start_time
' .x b0 struct-field cmd_dmacookie
' .x a8 ptr-field cmd_dmahandle
' .x a4 long-field cmd_dmacount
' .x a0 long-field cmd_id
' .x 98 ptr-field cmd_scbp
' .x 90 ptr-field cmd_cdbp
' .x 88 ptr-field cmd_forw
' .x 80 ptr-field cmd_pkt
' .x 40 struct-field cmd_ifp_response
' .x 0 struct-field cmd_ifp_request

kdbg-words definitions
previous

\ end ifp_cmd section


vocabulary ifp_request-words
h# 40 constant ifp_request-sz
40 ' ifp_request-words c-struct .ifp_request
also ifp_request-words definitions

' noop ' .x 18 8 28 array-field req_dataseg
' .x 24 long-field req_byte_count
' l@ ' .x 10 4 14 array-field req_cdb
' .x 12 short-field req_seg_count
' .x 10 short-field req_time
' .x e short-field req_reserved
' .x c short-field req_flags
' .x a short-field req_cdblen
' .x 9 byte-field req_lun_trn
' .x 8 byte-field req_target
' .x 4 long-field req_token
' .x 0 struct-field req_header

kdbg-words definitions
previous

\ end ifp_request section


vocabulary ifp_response-words
h# 40 constant ifp_response-sz
40 ' ifp_response-words c-struct .ifp_response
also ifp_response-words definitions

' c@ ' .x 20 1 20 array-field resp_request_sense
' c@ ' .x 8 1 18 array-field resp_fcp_resp_info
' .x 14 long-field resp_resid
' .x 12 short-field resp_sense_data_len
' .x 10 short-field resp_resp_info_len
' .x e short-field resp_status_flags
' .x c short-field resp_state
' .x a short-field resp_reason
' .x 8 short-field resp_scb
' .x 4 long-field resp_token
' .x 0 struct-field resp_header

kdbg-words definitions
previous

\ end ifp_response section


vocabulary ifp_biu_regs-words
h# 100 constant ifp_biu_regs-sz
100 ' ifp_biu_regs-words c-struct .ifp_biu_regs
also ifp_biu_regs-words definitions

' .x 80 struct-field ifp_un
' .x 7e short-field ifp_pci_rdma_addr3
' .x 7c short-field ifp_pci_rdma_addr2
' .x 7a short-field ifp_rdma_addr1
' .x 78 short-field ifp_rdma_addr0
' w@ ' .x 4 2 74 array-field ifp_rdma_gap2
' .x 72 short-field ifp_rdma_count_hi
' .x 70 short-field ifp_rdma_count_lo
' w@ ' .x 4 2 6c array-field ifp_rdma_gap1
' .x 6a short-field ifp_rdma_payload_count
' .x 68 short-field ifp_rdma_gap0
' .x 66 short-field ifp_rdma_rds_hi
' .x 64 short-field ifp_rdma_rds_lo
' .x 62 short-field ifp_rdma_status
' .x 60 short-field ifp_rdma_control
' .x 5e short-field ifp_pci_tdma_addr3
' .x 5c short-field ifp_pci_tdma_addr2
' .x 5a short-field ifp_tdma_addr1
' .x 58 short-field ifp_tdma_addr0
' w@ ' .x 4 2 54 array-field ifp_tdma_gap1
' .x 52 short-field ifp_tdma_count_hi
' .x 50 short-field ifp_tdma_count_lo
' .x 4e short-field ifp_tdma_seq_count_hi
' .x 4c short-field ifp_tdma_seq_count_lo
' .x 4a short-field ifp_tdma_frame_counter
' .x 48 short-field ifp_tdma_frame_size
' w@ ' .x 4 2 44 array-field ifp_tdma_gap0
' .x 42 short-field ifp_tdma_status
' .x 40 short-field ifp_tdma_control
' .x 3e short-field ifp_pci_cdma_addr3
' .x 3c short-field ifp_pci_cdma_addr2
' .x 3a short-field ifp_cdma_addr1
' .x 38 short-field ifp_cdma_addr0
' w@ ' .x 6 2 32 array-field ifp_cdma_gap2
' .x 30 short-field ifp_cdma_count
' w@ ' .x 6 2 2a array-field ifp_cdma_gap1
' .x 28 short-field ifp_cdma_fifo_port
' w@ ' .x 4 2 24 array-field ifp_cdma_gap0
' .x 22 short-field ifp_cdma_status
' .x 20 short-field ifp_cdma_control
' .x 1e short-field ifp_pci_mailbox7
' .x 1c short-field ifp_pci_mailbox6
' .x 1a short-field ifp_mailbox5
' .x 18 short-field ifp_mailbox4
' .x 16 short-field ifp_mailbox3
' .x 14 short-field ifp_mailbox2
' .x 12 short-field ifp_mailbox1
' .x 10 short-field ifp_mailbox0
' .x e short-field ifp_pci_nvram
' .x c short-field ifp_bus_sema
' .x a short-field ifp_bus_isr
' .x 8 short-field ifp_bus_icr
' .x 6 short-field ifp_bus_icsr
' .x 4 short-field ifp_bus_reserved
' .x 2 short-field ifp_bus_flash_data
' .x 0 short-field ifp_bus_flash_addr

kdbg-words definitions
previous

\ end ifp_biu_regs section


: .ipaddr_t ( addr -- )
	." [ "
	dup d# 24 >> .d 
	." . "
	dup d# 16 >> h# ff and .d
	." . "                
	dup d# 8 >> h# ff and .d 
	." . "               
	h# ff and .d            
	." ]"
;


vocabulary ipf_s-words
h# 78 constant ipf_s-sz
78 ' ipf_s-words c-struct .ipf_s
also ipf_s-words definitions

' .x 74 long-field ipf_checksum
' .x 72 short-field ipf_checksum_flags
' .x 71 byte-field ipf_num_dups
' .x 70 byte-field ipf_ecn
' .x 6c long-field ipf_prev_nexthdr_offset
' .x 5c struct-field ipf_v6dst
' .x 4c struct-field ipf_v6src
' .x 48 long-field ipf_nf_hdr_len
' .x 40 ext-field ipf_count
' .x 38 long-field ipf_gen
' .x 34 long-field ipf_end
' .x 30 long-field ipf_hole_cnt
' .x 28 ptr-field ipf_tail_mp
' .x 20 ptr-field ipf_mp
' .x 18 ext-field ipf_timestamp
' .x 17 800000 14 bits-field ipf_last_frag_seen
' .x 14 byte-field ipf_protocol
' .x 10 long-field ipf_ident
' .x 8 ptr-field ipf_ptphn
' .x 0 ptr-field ipf_hash_next

kdbg-words definitions
previous

\ end ipf_s section


vocabulary icmph_s-words
h# 8 constant icmph_s-sz
8 ' icmph_s-words c-struct .icmph_s
also icmph_s-words definitions

' .x 4 struct-field icmph_u
' .x 2 short-field icmph_checksum
' .x 1 byte-field icmph_code
' .x 0 byte-field icmph_type

kdbg-words definitions
previous

\ end icmph_s section


vocabulary ipha_s-words
h# 14 constant ipha_s-sz
14 ' ipha_s-words c-struct .ipha_s
also ipha_s-words definitions

' .ipaddr_t 10 long-field ipha_dst
' .ipaddr_t c long-field ipha_src
' .x a short-field ipha_hdr_checksum
' .d 9 byte-field ipha_protocol
' .d 8 byte-field ipha_ttl
' .x 6 short-field ipha_fragment_offset_and_flags
' .d 4 short-field ipha_ident
' .d 2 short-field ipha_length
' .d 1 byte-field ipha_type_of_service
' .d 0 byte-field ipha_version_and_hdr_length

kdbg-words definitions
previous

\ end ipha_s section


vocabulary ip_m_s-words
h# 30 constant ip_m_s-sz
30 ' ip_m_s-words c-struct .ip_m_s
also ip_m_s-words definitions

' .x 28 ptr-field ip_m_v6destintfid
' .x 20 ptr-field ip_m_v6intfid
' .x 18 ptr-field ip_m_v6mapping
' .x 10 ptr-field ip_m_v4mapping
' .x c long-field ip_m_ipv6sap
' .x 8 long-field ip_m_ipv4sap
' .x 4 long-field ip_m_type
' .x 0 long-field ip_m_mac_type

kdbg-words definitions
previous

\ end ip_m_s section


vocabulary ire_s-words
h# 158 constant ire_s-sz
158 ' ire_s-words c-struct .ire_s
also ire_s-words definitions

' .x 128 struct-field ire_metrics
' .x 120 ptr-field ire_ipst
' .d 118 long-field ire_trace_disable
' .x 114 long-field ire_defense_time
' .x 110 long-field ire_defense_count
' .x 108 ext-field ire_last_badcnt
' .x 104 long-field ire_badcnt
' .x 100 long-field ire_dep_parent_generation
' .x f8 ptr-field ire_dep_sib_ptpn
' .x f0 ptr-field ire_dep_sib_next
' .x e8 ptr-field ire_dep_children
' .x e0 ptr-field ire_dep_parent
' .d d8 long-field ire_nce_capable
' .x d0 ptr-field ire_nce_cache
' .x c8 long-field ire_zoneid
' .x c0 ptr-field ire_gw_secattr
' .x b8 ext-field ire_last_used_time
' .x b0 struct-field ire_lock
' .x a8 ptr-field ire_bucket
' .x 64 struct-field ire_u
' .x 60 long-field ire_masklen
' .x 58 ptr-field ire_postfragfn
' .x 50 ptr-field ire_sendfn
' .x 48 ptr-field ire_recvfn
' .d 44 long-field ire_testhidden
' .x 40 long-field ire_flags
' .x 38 ext-field ire_create_time
' .x 30 long-field ire_ob_pkt_count
' .x 2c long-field ire_ib_pkt_count
' .x 28 long-field ire_generation
' .x 26 short-field ire_type
' .x 24 byte-field ire_ipversion
' .x 20 long-field ire_identical_ref
' .x 18 ptr-field ire_ill
' .x 10 long-field ire_refcnt
' .x 8 ptr-field ire_ptpn
' .x 0 ptr-field ire_next

kdbg-words definitions
previous

\ end ire_s section


vocabulary ipif_s-words
h# d8 constant ipif_s-sz
d8 ' ipif_s-words c-struct .ipif_s
also ipif_s-words definitions

' .x d0 ptr-field ipif_ire_if
' .x c8 ptr-field ipif_ire_local
' .d c0 long-field ipif_bound
' .x b8 ptr-field ipif_bound_next
' .x b0 ptr-field ipif_bound_ill
' .d a8 long-field ipif_trace_disable
' .x a0 ptr-field ipif_recovery_id
' .x 9c long-field ipif_zoneid
' .x 98 long-field ipif_refcnt
' .x 94 long-field ipif_state_flags
' .x 90 long-field ipif_seqid
' .x 88 ptr-field ipif_solmulti_ilm
' .x 80 ptr-field ipif_allhosts_ilm
' .x 0 fffffff 7c bits-field ipif_pad_to_31
' .x 1c 10000000 7c bits-field ipif_added_nce
' .x 1d 20000000 7c bits-field ipif_was_dup
' .x 1e 40000000 7c bits-field ipif_addr_ready
' .x 1f 80000000 7c bits-field ipif_was_up
' .x 78 long-field ipif_ib_pkt_count
' .x 74 long-field ipif_ire_type
' .x 70 long-field ipif_metric
' .x 68 ext-field ipif_flags
' .x 54 struct-field ipif_v6pp_dst_addr
' .x 44 struct-field ipif_v6brd_addr
' .x 34 struct-field ipif_v6net_mask
' .x 24 struct-field ipif_v6subnet
' .x 14 struct-field ipif_v6lcl_addr
' .x 10 long-field ipif_id
' .x 8 ptr-field ipif_ill
' .x 0 ptr-field ipif_next

kdbg-words definitions
previous

\ end ipif_s section


vocabulary isp-words
h# b278 constant isp-sz
b278 ' isp-words c-struct .isp
also isp-words definitions

' .x b276 short-field isp_polled_completion
' .x b274 short-field isp_instance
' .x b272 short-field isp_attached
' .x b270 short-field isp_checking_semlock
' .x b26e short-field isp_no_obp
' .x b26c short-field isp_in_reset
' .x b26a short-field isp_in_intr
' .x b268 struct-field isp_intr_cv
' .x b260 struct-field isp_intr_mutex
' noop ' .x 800 4 aa5e array-field isp_markers
' .x aa5c short-field isp_marker_free
' .x aa5a short-field isp_marker_out
' .x aa58 short-field isp_marker_in
' c@ ' .x 10 1 aa48 array-field isp_max_lun
' .x aa44 struct-field free_slots
' .x aa40 struct-field busy_slots
' noop ' .x a7d0 18 270 array-field isp_slots
' .x 268 ptr-field isp_err_kstats
' .x 260 ptr-field isp_kstat
' .x 258 struct-field isp_hotplug_mutex
' .x 254 struct-field isp_cv
' .x 250 long-field isp_hotplug_waiting
' .x 24c long-field isp_softstate
' .x 248 short-field isp_backoff
' .x 240 ptr-field isp_kmem_cache
' .x 238 ptr-field isp_reset_notify_listf
' .x 236 short-field isp_alive
' .x 234 short-field isp_conf1_fifo
' .x 230 long-field isp_burst_size
' .x 228 ptr-field isp_waitq_timeout
' .x 220 ptr-field isp_waitb
' .x 218 ptr-field isp_waitf
' .x 210 struct-field isp_waitq_mutex
' .x 208 ptr-field isp_response_base
' .x 200 ptr-field isp_response_ptr
' .x 1f8 ptr-field isp_request_base
' .x 1f0 ptr-field isp_request_ptr
' .x 1ee short-field isp_response_out
' .x 1ec short-field isp_response_in
' .x 1ea short-field isp_request_out
' .x 1e8 short-field isp_request_in
' .x 1e0 struct-field isp_response_mutex
' .x 1d8 struct-field isp_request_mutex
' .x 1d0 long-field isp_queue_space
' .x 1c8 ptr-field isp_risc_acc_handle
' .x 1c0 ptr-field isp_sxp_acc_handle
' .x 1b8 ptr-field isp_mbox_acc_handle
' .x 1b0 ptr-field isp_biu_acc_handle
' .x 1a8 ptr-field isp_pci_config_acc_handle
' .x 1a4 long-field isp_response_dvma
' .x 1a0 long-field isp_request_dvma
' .x 198 ptr-field isp_dma_acc_handle
' .x 190 ptr-field isp_dmahandle
' .x 178 struct-field isp_dmacookie
' .x 170 ptr-field isp_cmdarea
' .x 168 short-field isp_prop_update
' .x 130 struct-field isp_mbox
' .x 128 long-field isp_reg_number
' .x 120 ptr-field isp_risc_reg
' .x 118 ptr-field isp_sxp_reg
' .x 110 ptr-field isp_mbox_reg
' .x 108 ptr-field isp_biu_reg
' w@ ' .x 20 2 e2 array-field isp_synch
' w@ ' .x 20 2 c2 array-field isp_cap
' .x c1 byte-field isp_suspended
' .x c0 byte-field isp_initiator_id
' .x b8 ext-field isp_scsi_reset_delay
' l@ ' .x 40 4 78 array-field isp_arq_pending
' .x 74 long-field isp_scsi_tag_age_limit
' l@ ' .x 40 4 34 array-field isp_target_scsi_options
' .x 30 long-field isp_scsi_options
' .x 2e short-field isp_target_scsi_options_defined
' .x 2c short-field isp_cust_prod
' .x 2a short-field isp_subminor_rev
' .x 28 short-field isp_maj_min_rev
' .x 20 ptr-field isp_next
' .x 18 ptr-field isp_iblock
' .x 14 long-field isp_clock_frequency
' .x 10 byte-field isp_bus
' .x 8 ptr-field isp_dip
' .x 0 ptr-field isp_tran

kdbg-words definitions
previous

\ end isp section


vocabulary isp_cmd-words
h# f8 constant isp_cmd-sz
f8 ' isp_cmd-words c-struct .isp_cmd
also isp_cmd-words definitions

' x@ ' .x 10 8 e8 array-field cmd_pkt_private
' .x e0 long-field cmd_privlen
' .x dc long-field cmd_scblen
' .x d8 long-field cmd_cdblen
' .x d4 long-field cmd_flags
' c@ ' .x c 1 c8 array-field cmd_cdb
' .x b0 struct-field cmd_dmacookie
' .x a8 ptr-field cmd_dmahandle
' .x a0 long-field cmd_dmacount
' .x 98 ptr-field cmd_scbp
' .x 90 ptr-field cmd_cdbp
' .x 88 ptr-field cmd_forw
' .x 80 ptr-field cmd_pkt
' .x 40 struct-field cmd_isp_response
' .x 0 struct-field cmd_isp_request

kdbg-words definitions
previous

\ end isp_cmd section


vocabulary isp_request-words
h# 40 constant isp_request-sz
40 ' isp_request-words c-struct .isp_request
also isp_request-words definitions

' noop ' .x 20 8 20 array-field req_dataseg
' l@ ' .x c 4 14 array-field req_cdb
' .x 12 short-field req_seg_count
' .x 10 short-field req_time
' .x e short-field req_reserved
' .x c short-field req_flags
' .x a short-field req_cdblen
' .x 8 struct-field req_scsi_id
' .x 4 long-field req_token
' .x 0 struct-field req_header

kdbg-words definitions
previous

\ end isp_request section


vocabulary isp_response-words
h# 40 constant isp_response-sz
40 ' isp_response-words c-struct .isp_response
also isp_response-words definitions

' l@ ' .x 20 4 20 array-field resp_request_sense
' l@ ' .x 8 4 18 array-field resp_reserved
' .x 14 long-field resp_resid
' .x 12 short-field resp_rqs_count
' .x 10 short-field resp_time
' .x e short-field resp_status_flags
' .x c short-field resp_state
' .x a short-field resp_reason
' .x 8 short-field resp_scb
' .x 4 long-field resp_token
' .x 0 struct-field resp_header

kdbg-words definitions
previous

\ end isp_response section


vocabulary mem_node_conf-words
h# 18 constant mem_node_conf-sz
18 ' mem_node_conf-words c-struct .mem_node_conf
also mem_node_conf-words definitions

' .x 10 ext-field physmax
' .x 8 ext-field physbase
' .d 0 long-field exists

kdbg-words definitions
previous

\ end mem_node_conf section


vocabulary ohci_state-words
h# 508 constant ohci_state-sz
508 ' ohci_state-words c-struct .ohci_state
also ohci_state-words definitions

' x@ ' .x 20 8 4e8 array-field ohci_count_stats
' .x 4e0 ptr-field ohci_total_stats
' .x 4d8 ptr-field ohci_intrs_stats
' .x 4d0 ptr-field ohci_log_hdl
' .x 4c8 ptr-field ohci_polled_done_list
' .x 4c4 long-field ohci_polled_kbd_count
' .x 4c0 long-field ohci_polled_enter_count
' x@ ' .x 100 8 3c0 array-field ohci_polled_save_IntTble
' .x 330 struct-field ohci_polled_save_regs
' .x 300 struct-field ohci_save_intr_sts
' .x 2fc long-field ohci_hc_soft_state
' .d 2f8 long-field ohci_sof_flag
' .x 2f4 long-field ohci_hc_error
' .x 2f0 long-field ohci_so_error
' .x 2e8 ext-field ohci_fno
' .x 2e0 ptr-field ohci_timer_id
' .x 2d8 ptr-field ohci_timeout_list
' .x 208 struct-field ohci_root_hub
' .x 200 ptr-field ohci_reclaim_list
' .x 1fc long-field ohci_open_isoch_pipe_count
' .x 1f8 long-field ohci_open_periodic_pipe_count
' .x 1f4 long-field ohci_open_bulk_pipe_count
' .x 1f0 long-field ohci_open_ctrl_pipe_count
' .x 1ec long-field ohci_open_pipe_count
' l@ ' .x 80 4 16c array-field ohci_periodic_bandwidth
' .x 168 long-field ohci_periodic_minimum_bandwidth
' .x 158 struct-field ohci_ocsem
' .x 154 struct-field ohci_SOF_cv
' .x 150 long-field ohci_dma_addr_bind_flag
' .x 148 ptr-field ohci_ed_pool_mem_handle
' .x 140 ptr-field ohci_ed_pool_dma_handle
' .x 128 struct-field ohci_ed_pool_cookie
' .x 120 ptr-field ohci_ed_pool_addr
' .x 118 ptr-field ohci_td_pool_mem_handle
' .x 110 ptr-field ohci_td_pool_dma_handle
' .x f8 struct-field ohci_td_pool_cookie
' .x f0 ptr-field ohci_td_pool_addr
' .x e8 ptr-field ohci_hcca_mem_handle
' .x e0 ptr-field ohci_hcca_dma_handle
' .x c8 struct-field ohci_hcca_cookie
' .x c0 ptr-field ohci_hccap
' .x b8 struct-field ohci_int_mutex
' .d b0 long-field ohci_msi_enabled
' .x ac long-field ohci_intr_cap
' .x a8 long-field ohci_intr_pri
' .x a4 long-field ohci_intr_cnt
' .x a0 long-field ohci_intr_type
' .x 98 ptr-field ohci_htable
' .x 48 struct-field ohci_dma_attr
' .x 40 long-field ohci_frame_interval
' .x 38 ptr-field ohci_config_handle
' .x 30 ptr-field ohci_regs_handle
' .x 28 ptr-field ohci_regsp
' .x 20 byte-field ohci_rev_id
' .x 1e short-field ohci_device_id
' .x 1c short-field ohci_vendor_id
' .x 18 long-field ohci_flags
' .x 10 ptr-field ohci_hcdi_ops
' .x 8 long-field ohci_instance
' .x 0 ptr-field ohci_dip

kdbg-words definitions
previous

\ end ohci_state section


vocabulary ohci_pipe_private-words
h# 58 constant ohci_pipe_private-sz
58 ' ohci_pipe_private-words c-struct .ohci_pipe_private
also ohci_pipe_private-words definitions

' .x 50 ptr-field pp_client_periodic_in_reqp
' .x 4c struct-field pp_xfer_cmpl_cv
' .x 48 long-field pp_flag
' .d 44 long-field pp_error
' .x 40 long-field pp_count_done_tds
' .x 38 ptr-field pp_tw_tail
' .x 30 ptr-field pp_tw_head
' .x 28 ext-field pp_next_frame_number
' .x 20 long-field pp_max_periodic_req_cnt
' .x 1c long-field pp_cur_periodic_req_cnt
' .x 18 long-field pp_node
' .x 14 struct-field pp_policy
' .x 10 long-field pp_state
' .x 8 ptr-field pp_ept
' .x 0 ptr-field pp_pipe_handle

kdbg-words definitions
previous

\ end ohci_pipe_private section


vocabulary ohci_trans_wrapper-words
h# c8 constant ohci_trans_wrapper-sz
c8 ' ohci_trans_wrapper-words c-struct .ohci_trans_wrapper
also ohci_trans_wrapper-words definitions

' .x c0 ptr-field tw_handle_callback_value
' .x b8 ptr-field tw_handle_td
' .x b0 ptr-field tw_timeout_next
' .x a8 long-field tw_timeout
' .x a0 ext-field tw_isoc_strtlen
' .x 98 ptr-field tw_isoc_bufs
' .x 90 ptr-field tw_curr_isoc_pktp
' .x 88 ptr-field tw_curr_xfer_reqp
' .x 80 ptr-field tw_hctd_free_list
' .x 7c long-field tw_pkt_idx
' .x 78 long-field tw_direction
' .x 70 ptr-field tw_hctd_tail
' .x 68 ptr-field tw_hctd_head
' .x 64 long-field tw_num_tds
' .d 60 long-field tw_flags
' .x 58 ext-field tw_dma_offs
' .x 54 long-field tw_cookie_idx
' .x 50 long-field tw_ncookies
' .x 48 ptr-field tw_buf
' .x 40 ext-field tw_length
' .x 38 long-field tw_id
' .x 20 struct-field tw_cookie
' .x 18 ptr-field tw_accesshandle
' .x 10 ptr-field tw_dmahandle
' .x 8 ptr-field tw_pipe_private
' .x 0 ptr-field tw_next

kdbg-words definitions
previous

\ end ohci_trans_wrapper section


vocabulary ohci_regs-words
h# 90 constant ohci_regs-sz
90 ' ohci_regs-words c-struct .ohci_regs
also ohci_regs-words definitions

' l@ ' .x 3c 4 54 array-field hcr_rh_portstatus
' .x 50 long-field hcr_rh_status
' .x 4c long-field hcr_rh_descriptorB
' .x 48 long-field hcr_rh_descriptorA
' .x 44 long-field hcr_transfer_ls
' .x 40 long-field hcr_periodic_strt
' .x 3c long-field hcr_frame_number
' .x 38 long-field hcr_frame_remaining
' .x 34 long-field hcr_frame_interval
' .x 30 long-field hcr_done_head
' .x 2c long-field hcr_bulk_curr
' .x 28 long-field hcr_bulk_head
' .x 24 long-field hcr_ctrl_curr
' .x 20 long-field hcr_ctrl_head
' .x 1c long-field hcr_periodic_curr
' .x 18 long-field hcr_HCCA
' .x 14 long-field hcr_intr_disable
' .x 10 long-field hcr_intr_enable
' .x c long-field hcr_intr_status
' .x 8 long-field hcr_cmd_status
' .x 4 long-field hcr_control
' .x 0 long-field hcr_revision

kdbg-words definitions
previous

\ end ohci_regs section


vocabulary ohci_hcca-words
h# 100 constant ohci_hcca-sz
100 ' ohci_hcca-words c-struct .ohci_hcca
also ohci_hcca-words definitions

' c@ ' .x 78 1 88 array-field HccaReserved
' .x 84 long-field HccaDoneHead
' .x 82 short-field HccaPad
' .x 80 short-field HccaFrameNo
' l@ ' .x 80 4 0 array-field HccaIntTble

kdbg-words definitions
previous

\ end ohci_hcca section


vocabulary ohci_ed-words
h# 30 constant ohci_ed-sz
30 ' ohci_ed-words c-struct .ohci_ed
also ohci_ed-words definitions

' c@ ' .x c 1 24 array-field hce_pad
' .x 20 long-field hced_state
' .x 1c long-field hced_reclaim_frame
' .x 18 long-field hced_reclaim_next
' .x 14 long-field hced_node
' .x 10 long-field hced_prev
' .x c long-field hced_next
' .x 8 long-field hced_headp
' .x 4 long-field hced_tailp
' .x 0 long-field hced_ctrl

kdbg-words definitions
previous

\ end ohci_ed section


vocabulary ohci_td-words
h# 40 constant ohci_td-sz
40 ' ohci_td-words c-struct .ohci_td
also ohci_td-words definitions

' c@ ' .x 8 1 38 array-field hctd_pad
' .x 34 long-field hctd_xfer_len
' .x 30 long-field hctd_xfer_offs
' .x 2c long-field hctd_ctrl_phase
' .x 28 long-field hctd_tw_next_td
' .x 24 long-field hctd_state
' .x 20 long-field hctd_trans_wrapper
' l@ ' .x 10 4 10 array-field hctd_offsets
' .x c long-field hctd_buf_end
' .x 8 long-field hctd_next_td
' .x 4 long-field hctd_cbp
' .x 0 long-field hctd_ctrl

kdbg-words definitions
previous

\ end ohci_td section


vocabulary mblk_t-words
h# 40 constant mblk_t-sz
40 ' mblk_t-words c-struct .mblk_t
also mblk_t-words definitions

' .x 38 ptr-field b_queue
' .x 32 short-field b_flag
' .x 31 byte-field b_tag
' .x 30 byte-field b_band
' .x 28 ptr-field b_datap
' .x 20 ptr-field b_wptr
' .x 18 ptr-field b_rptr
' .x 10 ptr-field b_cont
' .x 8 ptr-field b_prev
' .x 0 ptr-field b_next

kdbg-words definitions
previous

\ end mblk_t section


vocabulary queue_t-words
h# f8 constant queue_t-sz
f8 ' queue_t-words c-struct .queue_t
also queue_t-words definitions

' .x f0 ptr-field q_fp
' .x e8 ext-field q_sqtstamp
' .x e0 long-field q_sqflags
' .x d8 ptr-field q_sqprev
' .x d0 ptr-field q_sqnext
' .x c8 ptr-field q_sqtail
' .x c0 ptr-field q_sqhead
' .x b8 short-field q_spri
' .x b0 ext-field q_rwcnt
' .x a8 long-field q_syncqmsgs
' .x a0 ext-field q_mblkcnt
' .x 98 ext-field q_qtstamp
' .x 92 short-field q_struiot
' .x 90 short-field q_draining
' .x 88 ptr-field q_nfsrv
' .x 82 struct-field q_wait
' .x 80 byte-field q_nband
' .x 78 ptr-field q_syncq
' .x 70 ptr-field q_stream
' .x 68 struct-field q_lock
' .x 60 ptr-field q_bandp
' .x 58 ext-field q_lowat
' .x 50 ext-field q_hiwat
' .x 48 ext-field q_maxpsz
' .x 40 ext-field q_minpsz
' .x 38 long-field q_flag
' .x 30 ext-field q_count
' .x 28 ptr-field q_ptr
' .x 20 ptr-field q_link
' .x 18 ptr-field q_next
' .x 10 ptr-field q_last
' .x 8 ptr-field q_first
' .x 0 ptr-field q_qinfo

kdbg-words definitions
previous

\ end queue_t section


vocabulary ohci_root_hub-words
h# d0 constant ohci_root_hub-sz
d0 ' ohci_root_hub-words c-struct .ohci_root_hub
also ohci_root_hub-words definitions

' .x c8 ptr-field rh_intr_pipe_timer_id
' .x c0 long-field rh_intr_pipe_state
' .x b8 ptr-field rh_client_intr_reqp
' .x b0 ptr-field rh_curr_intr_reqp
' .x a8 ptr-field rh_intr_pipe_handle
' .x a0 long-field rh_ctrl_pipe_state
' .x 98 ptr-field rh_curr_ctrl_reqp
' .x 90 ptr-field rh_ctrl_pipe_handle
' l@ ' .x 3c 4 54 array-field rh_port_state
' l@ ' .x 3c 4 18 array-field rh_port_status
' .x 14 long-field rh_status
' .x 10 long-field rh_des_B
' .x c long-field rh_des_A
' .x 0 struct-field rh_descr

kdbg-words definitions
previous

\ end ohci_root_hub section


vocabulary ohci_polled-words
h# 58 constant ohci_polled-sz
58 ' ohci_polled-words c-struct .ohci_polled
also ohci_polled-words definitions

' .d 54 long-field ohci_polled_no_sync_flag
' .x 50 byte-field ohci_polled_ep_addr
' .x 48 ptr-field ohci_polled_usb_dev
' .x 40 long-field ohci_polled_entry
' .x 38 ptr-field ohci_polled_input_done_tail
' .x 30 ptr-field ohci_polled_input_done_head
' .x 28 long-field ohci_polled_flags
' .x 20 ptr-field ohci_polled_buf
' .x 18 ptr-field ohci_polled_ed
' .x 10 ptr-field ohci_polled_dummy_ed
' .x 8 ptr-field ohci_polled_input_pipe_handle
' .x 0 ptr-field ohci_polled_ohcip

kdbg-words definitions
previous

\ end ohci_polled section


vocabulary ohci_save_intr_sts-words
h# 30 constant ohci_save_intr_sts-sz
30 ' ohci_save_intr_sts-words c-struct .ohci_save_intr_sts
also ohci_save_intr_sts-words definitions

' .x 28 ptr-field ohci_missed_done_lst
' .x 20 long-field ohci_missed_intr_sts
' .x 18 ptr-field ohci_critical_done_lst
' .x 10 long-field ohci_critical_intr_sts
' .x 8 ptr-field ohci_curr_done_lst
' .x 4 long-field ohci_curr_intr_sts
' .x 0 long-field ohci_intr_flag

kdbg-words definitions
previous

\ end ohci_save_intr_sts section


vocabulary pci_common-words
h# 68 constant pci_common-sz
68 ' pci_common-words c-struct .pci_common
also pci_common-words definitions

' .x 60 struct-field pci_fm_mutex
' .x 58 ptr-field pci_common_uksp
' .x 48 struct-field pci_cmn_uks_pa
' .x 40 ptr-field pci_common_ecc_p
' .x 38 ptr-field pci_common_ib_p
' .x 30 ptr-field pci_common_cb_p
' .x 28 ptr-field pci_common_iommu_p
' .x 20 long-field pci_chip_id
' x@ ' .x 10 8 10 array-field pci_p
' .x 8 short-field pci_common_tsb_cookie
' .x 6 short-field pci_common_attachcnt
' .x 4 short-field pci_common_refcnt
' .x 0 long-field pci_common_id

kdbg-words definitions
previous

\ end pci_common section


vocabulary pci-words
h# 110 constant pci-sz
110 ' pci-words c-struct .pci
also pci-words definitions

' .x 108 ptr-field pci_fm_ibc
' .x 104 long-field pci_fm_cap
' .d 100 long-field hotplug_capable
' .x f8 ptr-field pci_ksp
' .x e8 struct-field pci_ks_addr
' .x e0 ptr-field intr_map_mask
' .x d8 ptr-field intr_map
' .x d0 long-field intr_map_size
' x@ ' .x 20 8 b0 array-field pci_ac
' x@ ' .x 20 8 90 array-field pci_address
' .x 88 long-field pci_thermal_interrupt
' .x 84 long-field pci_numproxy
' .x 80 long-field pci_inos_len
' .x 78 ptr-field pci_inos
' .x 70 long-field pci_ranges_length
' .x 68 ptr-field pci_ranges
' .x 60 struct-field pci_bus_range
' .d 5c long-field pci_side
' .x 58 long-field pci_id
' .x 50 ptr-field pci_ecc_p
' .x 48 ptr-field pci_sc_p
' .x 40 ptr-field pci_iommu_p
' .x 38 ptr-field pci_pbm_p
' .x 30 ptr-field pci_cb_p
' .x 28 ptr-field pci_ib_p
' .x 20 ptr-field pci_dip
' .x 18 ptr-field pci_common_p
' .x 10 struct-field pci_mutex
' .x 8 short-field pci_tsb_cookie
' .x 4 long-field pci_soft_state
' .d 0 long-field pci_state

kdbg-words definitions
previous

\ end pci section


vocabulary cb-words
h# 68 constant cb-sz
68 ' cb-words c-struct .cb
also cb-words definitions

' .x 60 ptr-field cb_imr_save
' .x 58 ext-field cb_obsta_pa
' .x 50 ext-field cb_clr_pa
' .x 48 ext-field cb_map_pa
' .x 40 ext-field cb_icbase_pa
' .x 38 ext-field cb_base_pa
' l@ ' .x 18 4 1c array-field cb_inos
' .x 18 long-field cb_no_of_inos
' .x 10 struct-field cb_intr_lock
' .x a short-field cb_ign
' .x 8 short-field cb_node_id
' .x 0 ptr-field cb_pci_cmn_p

kdbg-words definitions
previous

\ end cb section


vocabulary ib-words
h# 98 constant ib-sz
98 ' ib-words c-struct .ib
also ib-words definitions

' w@ ' .x 10 2 88 array-field ib_map_reg_counters
' .x 80 struct-field ib_intr_lock
' .x 78 struct-field ib_ino_lst_mutex
' .x 70 ptr-field ib_ino_lst
' .x 68 long-field ib_max_ino
' .x 60 ptr-field ib_obio_intr_state_diag_reg
' .x 58 ptr-field ib_slot_intr_state_diag_reg
' .x 50 ptr-field ib_intr_retry_timer_reg
' x@ ' .x 10 8 40 array-field ib_upa_imr_state
' x@ ' .x 10 8 30 array-field ib_upa_imr
' .x 28 ext-field ib_obio_clear_intr_regs
' .x 20 ext-field ib_slot_clear_intr_regs
' .x 18 ext-field ib_obio_intr_map_regs
' .x 10 ext-field ib_slot_intr_map_regs
' .x 8 short-field ib_ign
' .x 0 ptr-field ib_pci_p

kdbg-words definitions
previous

\ end ib section


vocabulary pbm-words
h# 128 constant pbm-sz
128 ' pbm-words c-struct .pbm
also pbm-words definitions

' .x 120 ptr-field pbm_nameaddr_str
' c@ ' .x 40 1 e0 array-field pbm_nameinst_str
' .x dc long-field pbm_pio_counter
' .x d8 long-field pbm_pio_limit
' .x d0 ext-field pbm_anychild_cfgpa
' .x c8 ptr-field pbm_debug_cb_id
' .x c0 ptr-field pbm_panic_cb_id
' .x b8 long-field pbm_quiesce_count
' .x b0 ext-field pbm_saved_ctrl_reg
' .x a8 ptr-field pbm_excl_handle
' .x a0 struct-field pbm_pokefault_mutex
' .x 98 ptr-field pbm_ontrap_data
' .x 90 struct-field pbm_sync_mutex
' .x 8c long-field pbm_cdma_flag
' .x 88 byte-field pbm_sync_ino
' .x 80 ext-field pbm_sync_reg_pa
' .x 78 ptr-field pbm_iblock_cookie
' .x 70 ext-field pbm_cdma_imr_save
' .x 68 ext-field pbm_imr_save
' .x 60 ext-field pbm_last_pfn
' .x 58 ext-field pbm_base_pfn
' .x 50 ptr-field pbm_config_header
' .x 48 ptr-field pbm_upper_retry_counter_reg
' .x 40 ptr-field pbm_pci_ped_ctrl
' .x 38 ptr-field pbm_pcix_err_stat_reg
' .x 30 ptr-field pbm_estar_reg
' .x 28 ptr-field pbm_diag_reg
' .x 20 ptr-field pbm_async_flt_addr_reg
' .x 18 ptr-field pbm_async_flt_status_reg
' .x 10 ptr-field pbm_ctrl_reg
' .d 8 long-field pbm_speed
' .x 0 ptr-field pbm_pci_p

kdbg-words definitions
previous

\ end pbm section


vocabulary iommu-words
h# 108 constant iommu-sz
108 ' iommu-words c-struct .iommu
also iommu-words definitions

' .x 100 struct-field iommu_mtlb_lock
' .x f8 long-field iommu_mtlb_nreq
' .x f4 long-field iommu_mtlb_npgs
' .x f0 long-field iommu_mtlb_maxpgs
' .x e8 ptr-field iommu_mtlb_req_p
' .x e0 ptr-field dvma_active_list
' .x d8 ptr-field dvma_free_rec
' .x d0 ptr-field dvma_alloc_rec
' .x c8 long-field dvma_active_count
' .x c4 long-field dvma_free_rec_index
' .x c0 long-field dvma_alloc_rec_index
' .x b8 struct-field dvma_debug_lock
' .x b0 ptr-field iommu_ctx_bitmap
' .x a8 long-field iommu_dvma_addr_scan_start
' .x a0 ptr-field iommu_dvma_cache_locks
' .x 98 ext-field iommu_dvma_reserve
' .x 90 ext-field iommu_dvma_clid
' .x 88 ptr-field iommu_dvma_map
' .x 80 ext-field iommu_dma_bypass_end
' .x 78 ext-field iommu_dma_bypass_base
' .x 70 ext-field dvma_end_pg
' .x 68 ext-field dvma_base_pg
' .x 60 ext-field iommu_dvma_fast_end
' .x 58 ext-field iommu_dvma_end
' .x 50 ext-field iommu_dvma_base
' .x 4c long-field iommu_tsb_size
' .x 48 long-field iommu_tsb_entries
' .x 40 ext-field iommu_tsb_paddr
' .x 38 ptr-field iommu_tsb_vaddr
' .x 30 ptr-field iommu_tfar_reg
' .x 28 ptr-field iommu_flush_ctx_reg
' .x 20 ptr-field iommu_flush_page_reg
' .x 18 ptr-field iommu_tsb_base_addr_reg
' .x 10 ptr-field iommu_ctrl_reg
' .x 8 long-field iommu_inst
' .x 0 ptr-field iommu_pci_p

kdbg-words definitions
previous

\ end iommu section


vocabulary sc-words
h# 70 constant sc-sz
70 ' sc-words c-struct .sc
also sc-words definitions

' .x 68 struct-field sc_sync_mutex
' .x 60 ext-field sc_sync_flag_pa
' .x 58 ptr-field sc_sync_flag_vaddr
' .x 50 ptr-field sc_sync_flag_base
' .x 48 ptr-field sc_ltag_diag_acc
' .x 40 ptr-field sc_tag_diag_acc
' .x 38 ptr-field sc_data_diag_acc
' .x 30 ptr-field sc_ctx_match_reg
' .x 28 ptr-field sc_ctx_invl_reg
' .x 20 ext-field sc_sync_reg_pa
' .x 18 ptr-field sc_sync_reg
' .x 10 ptr-field sc_invl_reg
' .x 8 ptr-field sc_ctrl_reg
' .x 0 ptr-field sc_pci_p

kdbg-words definitions
previous

\ end sc section


vocabulary config_header-words
h# 10 constant config_header-sz
10 ' config_header-words c-struct .config_header
also config_header-words definitions

' .x e byte-field ch_header_type_reg
' .x d byte-field ch_latency_timer_reg
' .x c byte-field ch_cache_line_size_reg
' .x b byte-field ch_base_class_reg
' .x a byte-field ch_sub_class_reg
' .x 9 byte-field ch_programming_if_code_reg
' .x 8 byte-field ch_revision_id_reg
' .x 6 short-field ch_status_reg
' .x 4 short-field ch_command_reg
' .x 2 short-field ch_device_id
' .x 0 short-field ch_vendor_id

kdbg-words definitions
previous

\ end config_header section


vocabulary ecc-words
h# 88 constant ecc-sz
88 ' ecc-words c-struct .ecc
also ecc-words definitions

' .x 80 ptr-field ecc_to_id
' .x 48 struct-field ecc_ce
' .x 10 struct-field ecc_ue
' .x 8 ext-field ecc_csr_pa
' .x 0 ptr-field ecc_pci_cmn_p

kdbg-words definitions
previous

\ end ecc section


vocabulary ecc_intr_info-words
h# 38 constant ecc_intr_info-sz
38 ' ecc_intr_info-words c-struct .ecc_intr_info
also ecc_intr_info-words definitions

' .x 34 long-field ecc_size_log2
' .x 30 long-field ecc_offset_shift
' .x 28 ext-field ecc_offset_mask
' .x 20 ext-field ecc_errpndg_mask
' .x 18 ext-field ecc_afar_pa
' .x 10 ext-field ecc_afsr_pa
' .x 8 long-field ecc_type
' .x 0 ptr-field ecc_p

kdbg-words definitions
previous

\ end ecc_intr_info section


vocabulary ib_ino_info-words
h# 70 constant ib_ino_info-sz
70 ' ib_ino_info-words c-struct .ib_ino_info
also ib_ino_info-words definitions

' .x 68 ptr-field ino_next_p
' .x 60 ptr-field ino_ipil_p
' .x 58 short-field ino_claimed
' .x 56 short-field ino_lopil
' .x 54 short-field ino_ipil_size
' .x 50 long-field ino_intr_weight
' .x 4c long-field ino_cpuid
' .x 48 long-field ino_established
' .x 40 ext-field ino_spurintr_begin
' .x 38 long-field ino_unclaimed_intrs
' .x 30 ext-field ino_map_reg_save
' .x 28 ptr-field ino_map_reg
' .x 20 ptr-field ino_clr_reg
' .x 18 ptr-field ino_ib_p
' .x 10 byte-field ino_slot_no
' .x 8 ext-field ino_mondo
' .x 0 byte-field ino_ino

kdbg-words definitions
previous

\ end ib_ino_info section


vocabulary ib_ino_pil-words
h# 30 constant ib_ino_pil-sz
30 ' ib_ino_pil-words c-struct .ib_ino_pil
also ib_ino_pil-words definitions

' .x 28 ptr-field ipil_next_p
' .x 20 ptr-field ipil_ino_p
' .x 18 ptr-field ipil_ih_start
' .x 10 ptr-field ipil_ih_tail
' .x 8 ptr-field ipil_ih_head
' .x 2 short-field ipil_ih_size
' .x 0 short-field ipil_pil

kdbg-words definitions
previous

\ end ib_ino_pil section


vocabulary ih-words
h# 58 constant ih-sz
58 ' ih-words c-struct .ih
also ih-words definitions

' .x 50 ptr-field ih_ipil_p
' .x 48 ptr-field ih_ksp
' .x 40 ext-field ih_nsec
' .x 38 ext-field ih_ticks
' .x 30 ptr-field ih_next
' .x 28 ptr-field ih_config_handle
' .x 20 ptr-field ih_handler_arg2
' .x 18 ptr-field ih_handler_arg1
' .x 10 ptr-field ih_handler
' .x c long-field ih_intr_state
' .x 8 long-field ih_inum
' .x 0 ptr-field ih_dip

kdbg-words definitions
previous

\ end ih section


vocabulary dvma_rec-words
h# 20 constant dvma_rec-sz
20 ' dvma_rec-words c-struct .dvma_rec
also dvma_rec-words definitions

' .x 18 ptr-field next
' .x 10 ptr-field mp
' .x 8 long-field len
' .x 0 ptr-field dvma_addr

kdbg-words definitions
previous

\ end dvma_rec section


vocabulary pci_dma_impl-words
h# 170 constant pci_dma_impl-sz
170 ' pci_dma_impl-words c-struct .pci_dma_impl
also pci_dma_impl-words definitions

' x@ ' .x 28 8 148 array-field pdh_cbcookie
' .x 140 ext-field pdh_sync_buf_pa
' .x f0 struct-field pdh_attr_dev
' .x e8 long-field dmai_fault
' .x e0 ptr-field dmai_fault_notify
' .x d8 ptr-field dmai_fault_check
' .x d0 ptr-field dmai_cookie
' .x 80 struct-field dmai_attr_aug
' .x 60 struct-field dmai_object
' .x 58 ptr-field dmai_rdip
' .x 50 ptr-field dmai_winlst
' .x 48 ptr-field dmai_pfn0
' .x 40 ptr-field dmai_pfnlst
' .x 38 ptr-field dmai_tte_fdvma
' .x 34 long-field dmai_winsize
' .x 30 long-field dmai_nwin
' .x 2c long-field dmai_flags
' .x 28 long-field dmai_rflags
' .x 24 long-field dmai_roffset
' .x 20 long-field dmai_ndvmapages
' .x 1c long-field dmai_burstsizes
' .x 18 long-field dmai_minxfer
' .x 10 ext-field dmai_offset
' .x 8 long-field dmai_size
' .x 0 ext-field dmai_mapping

kdbg-words definitions
previous

\ end pci_dma_impl section


vocabulary pci_dma_win-words
h# 20 constant pci_dma_win-sz
20 ' pci_dma_win-words c-struct .pci_dma_win
also pci_dma_win-words definitions

' .x 18 ext-field win_offset
' .x 10 ext-field win_size
' .x c long-field win_curseg
' .x 8 long-field win_ncookies
' .x 0 ptr-field win_next

kdbg-words definitions
previous

\ end pci_dma_win section


: print8 ( addr -- )
  dup (.) 8 swap - spaces drop .
;

: print4 ( addr -- )
  dup (.) 4 swap - spaces drop .
;

: .dip_name				( dip -- )
   [ also dev_info-words ]
   dup . ." (" devi_binding_name .str ." )"
   [ previous ]
;

: walk-dvma-rec ( f list-head count -- )
   [ also dvma_rec-words ]
   over 0 = if					( f list-head count )
      drop 2drop exit				( )
   then						( f list-head count )
   0 do						( f rec )
      I -rot 2dup 2>r -rot execute 2r>		( f rec )
      next					( f rec' )
   loop						( f rec' )
   2drop					( f )
   [ previous ]
;

: .dvma-rec ( rec I -- )
   [ also dvma_rec-words ]
   over dvma_addr 0= if 2drop exit then
   [ also ddi_dma_impl-words ]
   print4		( rec )
   dup . " : " type	( rec )
   dup dvma_addr .	( rec )
   dup len print8	( rec )
   mp dup . dmai_rdip .dip_name cr
   [ previous ]
   [ previous ]
;

: inst-to-state         ( &statepp inst -- statep )
   [ also i_ddi_soft_state-words ]
   ptrsize *		( &statepp offset )
   swap p@ ?dup if	( offset statepp )
      array ?dup if	( offset array )
         + p@		( statep )
      else drop 0 then
   else drop 0 then
   [ previous ]
;

: inst-to-pci_state     ( inst -- statep )
   symbol per_pci_state ( inst &statepp )
   swap inst-to-state   ( statep)
;

: .pci-state            ( inst -- )
   inst-to-pci_state dup 0 = if drop exit then .pci
;

: inst-to-iommu		( inst -- iommu_p|0 )
   inst-to-pci_state	( statep )
   ?dup if		( statep )
      [ also pci-words ]
      pci_iommu_p	( iommu_p )
      [ previous ]
   else 0 then		( 0 )
;

: .pci-iommu            ( inst -- )
   inst-to-iommu	( iommu_p )
   ?dup if .iommu then
;

: walk-dvma-inst ( f inst -- )
   inst-to-iommu		( f iommu_p )
   ?dup if dup			( f iommu_p iommu_p )
      [ also iommu-words ]
      dvma_active_list swap	( f list-head iommu_p )
      dvma_active_count		( f list-head count )
      walk-dvma-rec
      [ previous ]
   else
      drop
   then
;

: .pci-dvma		( inst -- )
   ['] .dvma-rec swap walk-dvma-inst
;

: .pci-dvma-array-rec		( base end+1 start -- base )
   do I dvma_rec-sz * over +	( base base+offset )
   I .dvma-rec loop		( base )
;

: .pci-dvma-array		( base index -- )
   over 0= if 2drop exit then	( base index )
   symbol pci_dvma_debug_rec	( base index &max )
   l@ 2dup . ."  records, index at " . cr  ( base index max )
   swap 2dup > if dup		( base max index index )
      >r .pci-dvma-array-rec r>	( base index )
   else	nip then		( base index )
   0 .pci-dvma-array-rec	( base )
   drop
;

: .pci-dvma-bind	( inst -- )
   inst-to-iommu dup 0= if drop
   else			( iommu_p )
      [ also iommu-words ]
      dup dvma_alloc_rec ( iommu_p base )
      swap dvma_alloc_rec_index ( base index )
      [ previous ]
      .pci-dvma-array
   then
;

: .pci-dvma-unbind	( inst -- )
   inst-to-iommu dup 0= if drop
   else			( iommu_p )
      [ also iommu-words ]
      dup dvma_free_rec ( iommu_p base )
      swap dvma_free_rec_index ( base index )
      [ previous ]
      .pci-dvma-array
   then
;

: .pci-node		( state_p -- )
   ?dup if
      [ also pci-words ]
      pci_pbm_p		( pbm_p )
      ?dup if
         [ also pbm-words ]
         pbm_nameaddr_str	( nameaddr )
         [ previous ]
         ?dup if
            .str
         then
      then
      [ previous ]
   then
;
   
: .pci-states		( -- )
   [ also i_ddi_soft_state-words ]
   ." instance pci_t*" cr
   symbol per_pci_state p@ dup	( soft_states soft_states )
   0= if drop exit then		( soft_states )
   dup n_items			( soft_states n_items )
   dup 0= if 2drop exit then	( soft_states n_items )
   swap array swap		( array n_items )
   0 do
      I print8
      dup p@ dup . .pci-node cr
      ptrsize +
   loop
   drop
   ." <instance#> .pci-state to view individual instances" cr
   [ previous ]
;

: .ib_ino_lst ( pci_p->ib_p->ib_ino_lst -- )
[ also ib_ino_info-words ]
begin ?dup while
   \ dup .ib_ino_info
   ." ino_ino="          dup ino_ino            .
   ." ino_mondo="	 dup ino_mondo          .
   ." ino_slot_no="      dup ino_slot_no        .
   ." ino_ib_p="         dup ino_ib_p           . cr
   ." ino_clr_reg="      dup ino_clr_reg dup p@ swap >physical drop . ." =" .
   ." ino_map_reg="      dup ino_map_reg dup p@ swap >physical drop . ." =" . cr
   ." ino_map_reg_save=" dup ino_map_reg_save   .x
   ." ino_unclaimed_intrs=" dup ino_unclaimed_intrs
   ." ino_spurintr_begin=" dup ino_spurintr_begin	.x cr
   ." ino_established="  dup ino_established    .
   ." ino_cpuid="        dup ino_cpuid          .
   ." ino_intr_weight="  dup ino_intr_weight    .
   ." ino_ipil_size="    dup ino_ipil_size      .
   ." ino_lopil="        dup ino_lopil          .
   ." ino_claimed="      dup ino_claimed        .
   ." ino_ipil_p="       dup ino_ipil_p         . cr
   ." ino_next_p="       dup ino_next_p         . cr
   cr
   ino_next_p
repeat
[ previous ]
;

: .iommu-tte   ( tte -- )
   1 << 1 >>                        ( tte-V )
   dup 1 d# 43 << 1 - 1 d# 13 << 1 - xor and   ( tte pa ) \ pfn: bit 42-13
   dup ." pa=" .                    ( tte pa )
   xor                              ( tte-template )
   dup 1 d# 59 << 1 - 1 d# 47 << 1 - xor and   ( tte-template ctx )
   dup ." ctx=" d# 47 >> . xor      ( tte-template-ctx )
   dup 1 d# 60 << and if ." S" 1 d# 60 << xor then ( tte-template-S )
   dup 10 and if ." C" 10 xor then  ( tte-template-SC ) 
   dup 2 and if ." W" 2 xor then    ( tte-template-SCW )
   dup if ." flags=" . else drop then ( )
;

: iommu-tte?   ( tte-va -- tte-va )
   dup x@ d# 63 >>
;

: .iommu-tsb   ( dma-va tsb-base-va entries -- )
   0 do
      iommu-tte? if
         I print8 " : " type ( dma-va tsb-base-va )
         over I d# 13 << +
         ." va=" .
         dup x@              ( dma-va tsb-base-va tte )
         .iommu-tte          ( dma-va tsb-base-va )
         cr
      then
      8 +                    ( dma-va tsb-base-va+8 )
   loop
   2drop 
;

: .pci-iommu-tsb	( inst )
   inst-to-pci_state	( statep )
   dup 0= if		( statep )
      drop exit then	( statep )
   [ also pci-words ]
   pci_iommu_p
   dup 0= if
      drop exit then 	( iommu_p )
   [ also iommu-words ]
   dup iommu_dvma_base	( iommu_p base )
   over iommu_tsb_vaddr	( iommu_p base vaddr )
   rot iommu_tsb_entries ( base vaddr entries )
   .iommu-tsb
   [ previous ]
   [ previous ]
;

: pciva>tte   ( va instance -- tte )
   inst-to-pci_state	( va statep )
   dup 0= if		( va statep )
      drop exit then	( va statep )
   [ also pci-words ]
   pci_iommu_p tuck	( iommup va iommup )
   [ also iommu-words ]
   iommu_dvma_base	( iommup va dvmabase )
   - d# 13 >> 3 <<	( iommup tsb-off )
   dup 0 < if		( iommup tsb-off )
      ." dvma address out of range" 2drop exit
   then			( iommup tsb-off )
   swap iommu_tsb_vaddr	( tsb-off tsbva )
   + x@			( tte )
   [ previous ]
   [ previous ]
;

: dip>pci-inst		( dip -- inst )
   [ also dev_info-words ]
   begin
      dup devi_parent	( dip pdip )
      devi_parent	( dip gpdip )
   while
      devi_parent	( pdip )
   repeat
   devi_instance	( inst )
   [ previous ]
;

: mp>tte   ( mp -- tte )
   [ also ddi_dma_impl-words ]
   dup dmai_mapping     	( mp va )
   over dmai_winsize d# 13 >>	( mp va npages )
   . ." page(s) from " dup . cr	( mp va )
   swap dmai_rdip       	( va dip )
   dip>pci-inst         	( va inst )
   pciva>tte            	( tte )
   [ previous ]
;

: .mp-ttes	( mp -- )
   [ also ddi_dma_impl-words ]
   dup dmai_mapping             ( mp va )
   over dmai_winsize d# 13 >>	( mp va npages )
   dup . ." page(s) from "	( mp va npages )
   over . cr			( mp va npages )
   swap d# 13 >> d# 13 <<	( mp npages va )
   rot dmai_rdip		( npages va dip )
   dip>pci-inst			( npages va inst )
   rot 0 do			( va inst )
      over ." va=" . ."  "	( va inst )
      2dup pciva>tte		( va inst tte )
      .iommu-tte cr		( va inst )
      swap 2000 + swap		( va' inst )
   loop				( va inst )
   2drop
   [ previous ]
;

0 value dip-dvma-cnt

: (dip-tte1 ( dip rec I -- dip )
   [ also dvma_rec-words ]
   [ also ddi_dma_impl-words ]
   drop 2dup mp dmai_rdip	( dip rec dip dip' )
   = if				( dip rec )
      dip-dvma-cnt dup . 1+	( dip rec cnt+1 )
      to dip-dvma-cnt		( dip rec )
      dvma_addr			( dip dvma-addr )
      dup ." va=" . 0		( dip dvma-addr 0 )
      pciva>tte .iommu-tte	( dip )
      cr			( dip )
   else				( dip rec )
      drop			( dip )
   then				( dip )
   [ previous ]
   [ previous ]
;

: .dip-tte1  ( dip inst -- )
   0 to dip-dvma-cnt
   ['] (dip-tte1 swap walk-dvma-inst drop
;

: within-dvma-rec? ( va rec I -- va )
   [ also dvma_rec-words ]
   to dip-dvma-cnt	( va rec )
   2dup dvma_addr >=	( va rec va>=dvma_addr? )
   if			( va rec )
      dup dvma_addr	( va rec dvma_addr )
      over len +	( va rec addr+size )
      >r over r>	( va rec va addr+size )
      <=		( va rec va<=addr+size? )
      if dip-dvma-cnt	( va rec I )
         .dvma-rec	( va )
      else		( va rec )
         drop		( va )
      then		( va )
   else			( va rec )
      drop		( va )
   then			( va )
   [ previous ]
;

: locate-dvma-rec ( va inst -- )
   ['] within-dvma-rec? swap walk-dvma-inst drop
;

: .pci-dma-win1		( win_p -- )
   [ also pci_dma_win-words ]
   dup win_ncookies . ." cookies "	( win_p )
   dup ." curseg="	win_curseg .	( win_p )
   dup ." size="	win_size .	( win_p )
   dup ." offset="	win_offset . 	( win_p )
   dup ." next="	win_next . cr	( win_p )
   dup win_ncookies swap		( ncookies win_p )
   pci_dma_win-sz +			( ncookies &cookie[0] )
   [ also ddi_dma_cookie_t-words ]
   swap 0 do				( cookie_p )
      ."    cookie-" I . ." : "		( cookie_p )
      dup ." addr=" x?			( cookie_p )
      dup ." size=" dmac_size .	( cookie_p )
      dup ." type=" dmac_type . cr	( cookie_p )
      ddi_dma_cookie_t-sz +		( cookie_p' )
   loop drop				( )
   [ previous ]
   [ previous ]
;

: .pci-dma-winlst	( mp -- )
   [ also pci_dma_impl-words ]
   [ also pci_dma_win-words ]
   dup dmai_winlst			( mp winlst )
   dup 0 = if				( mp winlst )
      2drop exit			( )
   then					( mp winlst )
   swap dmai_nwin			( winlst nwin )
   0 do
      ." win-" I . ." : "		( winlst )
      dup .pci-dma-win1			( winlst )
      win_next				( winlst' )
   loop drop				( )
   [ previous ]
   [ previous ]
;


vocabulary ppm_db-words
h# 20 constant ppm_db-sz
20 ' ppm_db-words c-struct .ppm_db
also ppm_db-words definitions

' l@ ' .x 8 4 18 array-field wcpos
' .x 14 long-field wccnt
' .x 10 long-field plen
' .x 8 ptr-field name
' .x 0 ptr-field next

kdbg-words definitions
previous

\ end ppm_db section


vocabulary ppm_dev-words
h# 38 constant ppm_dev-sz
38 ' ppm_dev-words c-struct .ppm_dev
also ppm_dev-words definitions

' .x 34 long-field flags
' .x 30 long-field highest
' .x 2c long-field lowest
' .x 28 long-field level
' .x 24 long-field rplvl
' .x 20 long-field cmpt
' .x 18 ptr-field path
' .x 10 ptr-field dip
' .x 8 ptr-field domp
' .x 0 ptr-field next

kdbg-words definitions
previous

\ end ppm_dev section


vocabulary ppm_dc-words
h# 38 constant ppm_dc-sz
38 ' ppm_dc-words c-struct .ppm_dc
also ppm_dc-words definitions

' .x 20 struct-field m_un
' .x 1c long-field method
' .x 18 long-field cmd
' .x 10 ptr-field path
' .x 8 ptr-field lh
' .x 0 ptr-field next

kdbg-words definitions
previous

\ end ppm_dc section


vocabulary ppm_domain-words
h# 60 constant ppm_domain-sz
60 ' ppm_domain-words c-struct .ppm_domain
also ppm_domain-words definitions

' .x 58 ext-field last_off_time
' .x 50 ptr-field next
' .x 48 ptr-field owned
' .x 40 ptr-field dc
' .x 3c long-field sub_domain
' .x 38 long-field status
' .x 34 long-field model
' .x 30 long-field refcnt
' .x 28 struct-field lock
' .x 20 ptr-field propname
' .x 18 ptr-field devlist
' .x 10 ptr-field conflist
' .x c long-field pwr_cnt
' .x 8 long-field dflags
' .x 0 ptr-field name

kdbg-words definitions
previous

\ end ppm_domain section


vocabulary px-words
h# 320 constant px-sz
320 ' px-words c-struct .px
also px-words definitions

' .x 318 ptr-field px_dbg_hdl
' .x 310 long-field px_dma_sync_opt
' .x 308 ptr-field px_cprcb_id
' .x 300 long-field px_pmetoack_ignored
' .x 2fc long-field px_pm_msiq_id
' .x 2f8 long-field px_pm_flags
' .x 2f4 long-field px_lup_pending
' .x 2f0 struct-field px_l23ready_cv
' .x 2e8 struct-field px_l23ready_lock
' .x 2e0 ptr-field px_plat_p
' .x 2dc long-field px_dev_caps
' .x 2d8 long-field px_pfd_idx
' noop ' .x 190 50 148 array-field px_pfd_arr
' .x 140 ptr-field px_fm_ibc
' .x 138 ptr-field px_fm_mutex_owner
' .x 130 struct-field px_fm_mutex
' .x 128 long-field px_fm_cap
' .x c8 struct-field px_cb_fault
' .x 68 struct-field px_fault
' .x 60 long-field px_inos_len
' .x 58 ptr-field px_inos
' .x 50 long-field px_ranges_length
' .x 48 ptr-field px_ranges_p
' .x 3c struct-field px_bus_range
' .x 38 short-field px_bdf
' .x 30 ptr-field px_mmu_p
' .x 28 ptr-field px_pec_p
' .x 20 ptr-field px_ib_p
' .x 18 ext-field px_dev_hdl
' .x 10 ptr-field px_dip
' .x 8 struct-field px_mutex
' .x 4 long-field px_soft_state
' .d 0 long-field px_state

kdbg-words definitions
previous

\ end px section


vocabulary px_ib-words
h# b0 constant px_ib-sz
b0 ' px_ib-words c-struct .px_ib
also px_ib-words definitions

' .x 60 struct-field ib_msi_state
' .x 20 struct-field ib_msiq_state
' .x 18 struct-field ib_intr_lock
' .x 10 struct-field ib_ino_lst_mutex
' .x 8 ptr-field ib_ino_lst
' .x 0 ptr-field ib_px_p

kdbg-words definitions
previous

\ end px_ib section


vocabulary px_pec-words
h# a0 constant px_pec-sz
a0 ' px_pec-words c-struct .px_pec
also px_pec-words definitions

' .x 98 long-field pec_fatal_msg_msiq_id
' .x 94 long-field pec_non_fatal_msg_msiq_id
' .x 90 long-field pec_corr_msg_msiq_id
' .x 88 ptr-field pec_nameaddr_str
' c@ ' .x 40 1 48 array-field pec_nameinst_str
' .x 40 ptr-field pec_acc_hdl
' .x 38 struct-field pec_pokefault_mutex
' .x 30 long-field pec_safeacc_type
' .x 28 ptr-field pec_ontrap_data
' .x 20 ext-field pec_last64_pfn
' .x 18 ext-field pec_base64_pfn
' .x 10 ext-field pec_last32_pfn
' .x 8 ext-field pec_base32_pfn
' .x 0 ptr-field pec_px_p

kdbg-words definitions
previous

\ end px_pec section


vocabulary px_mmu-words
h# 90 constant px_mmu-sz
90 ' px_mmu-words c-struct .px_mmu
also px_mmu-words definitions

' .x 88 ptr-field dvma_active_list
' .x 80 ptr-field dvma_free_rec
' .x 78 ptr-field dvma_alloc_rec
' .x 70 long-field dvma_active_count
' .x 6c long-field dvma_free_rec_index
' .x 68 long-field dvma_alloc_rec_index
' .x 60 struct-field dvma_debug_lock
' .x 58 long-field mmu_dvma_addr_scan_start
' .x 50 ptr-field mmu_dvma_cache_locks
' .x 48 ext-field mmu_dvma_reserve
' .x 40 ext-field mmu_dvma_clid
' .x 38 ptr-field mmu_dvma_map
' .x 30 ext-field dvma_end_pg
' .x 28 ext-field dvma_base_pg
' .x 20 ext-field mmu_dvma_fast_end
' .x 18 ext-field mmu_dvma_end
' .x 10 ext-field mmu_dvma_base
' .x 8 long-field mmu_inst
' .x 0 ptr-field mmu_px_p

kdbg-words definitions
previous

\ end px_mmu section


vocabulary px_config_header-words
h# 10 constant px_config_header-sz
10 ' px_config_header-words c-struct .px_config_header
also px_config_header-words definitions

' .x e byte-field ch_header_type_reg
' .x d byte-field ch_latency_timer_reg
' .x c byte-field ch_cache_line_size_reg
' .x b byte-field ch_base_class_reg
' .x a byte-field ch_sub_class_reg
' .x 9 byte-field ch_programming_if_code_reg
' .x 8 byte-field ch_revision_id_reg
' .x 6 short-field ch_status_reg
' .x 4 short-field ch_command_reg
' .x 2 short-field ch_device_id
' .x 0 short-field ch_vendor_id

kdbg-words definitions
previous

\ end px_config_header section


vocabulary px_ino-words
h# 60 constant px_ino-sz
60 ' px_ino-words c-struct .px_ino
also px_ino-words definitions

' .x 58 short-field ino_ipil_cntr
' .x 50 ptr-field ino_next_p
' .x 48 ptr-field ino_ipil_p
' .x 40 ptr-field ino_msiq_p
' .x 38 short-field ino_claimed
' .x 36 short-field ino_lopil
' .x 34 short-field ino_ipil_size
' .x 30 long-field ino_intr_weight
' .x 2c long-field ino_default_cpuid
' .x 28 long-field ino_cpuid
' .x 20 ext-field ino_spurintr_begin
' .x 18 long-field ino_unclaimed_intrs
' .x 10 ptr-field ino_ib_p
' .x 8 ext-field ino_sysino
' .x 0 long-field ino_ino

kdbg-words definitions
previous

\ end px_ino section


vocabulary px_ino_pil-words
h# 30 constant px_ino_pil-sz
30 ' px_ino_pil-words c-struct .px_ino_pil
also px_ino_pil-words definitions

' .x 28 ptr-field ipil_next_p
' .x 20 ptr-field ipil_ino_p
' .x 18 ptr-field ipil_ih_start
' .x 10 ptr-field ipil_ih_tail
' .x 8 ptr-field ipil_ih_head
' .x 2 short-field ipil_ih_size
' .x 0 short-field ipil_pil

kdbg-words definitions
previous

\ end px_ino_pil section


vocabulary px_ih-words
h# 68 constant px_ih-sz
68 ' px_ih-words c-struct .px_ih
also px_ih-words definitions

' .x 60 ptr-field ih_ipil_p
' .x 58 ptr-field ih_ksp
' .x 50 ext-field ih_nsec
' .x 48 ext-field ih_ticks
' .x 40 ptr-field ih_next
' .d 3c long-field ih_retarget_flag
' .x 38 long-field ih_msg_code
' .d 34 long-field ih_rec_type
' .x 30 long-field ih_intr_state
' .x 28 ptr-field ih_config_handle
' .x 20 ptr-field ih_handler_arg2
' .x 18 ptr-field ih_handler_arg1
' .x 10 ptr-field ih_handler
' .x 8 long-field ih_inum
' .x 0 ptr-field ih_dip

kdbg-words definitions
previous

\ end px_ih section


vocabulary px_dvma_rec-words
h# 20 constant px_dvma_rec-sz
20 ' px_dvma_rec-words c-struct .px_dvma_rec
also px_dvma_rec-words definitions

' .x 18 ptr-field next
' .x 10 ptr-field mp
' .x 8 long-field len
' .x 0 ptr-field dvma_addr

kdbg-words definitions
previous

\ end px_dvma_rec section


vocabulary px_dma_impl-words
h# 140 constant px_dma_impl-sz
140 ' px_dma_impl-words c-struct .px_dma_impl
also px_dma_impl-words definitions

' .x f0 struct-field dmai_attr_dev
' .x e8 long-field dmai_fault
' .x e0 ptr-field dmai_fault_notify
' .x d8 ptr-field dmai_fault_check
' .x d0 ptr-field dmai_cookie
' .x 80 struct-field dmai_attr_aug
' .x 60 struct-field dmai_object
' .x 58 ptr-field dmai_rdip
' .x 50 ptr-field dmai_winlst
' .x 48 ptr-field dmai_pfn0
' .x 40 ptr-field dmai_pfnlst
' .x 38 ptr-field dmai_tte
' .x 34 long-field dmai_winsize
' .x 30 long-field dmai_nwin
' .x 2c long-field dmai_flags
' .x 28 long-field dmai_rflags
' .x 24 long-field dmai_roffset
' .x 20 long-field dmai_ndvmapages
' .x 1c long-field dmai_burstsizes
' .x 18 long-field dmai_minxfer
' .x 10 ext-field dmai_offset
' .x 8 long-field dmai_size
' .x 0 ext-field dmai_mapping

kdbg-words definitions
previous

\ end px_dma_impl section


vocabulary px_dma_win-words
h# 20 constant px_dma_win-sz
20 ' px_dma_win-words c-struct .px_dma_win
also px_dma_win-words definitions

' .x 18 ext-field win_offset
' .x 10 ext-field win_size
' .x c long-field win_curseg
' .x 8 long-field win_ncookies
' .x 0 ptr-field win_next

kdbg-words definitions
previous

\ end px_dma_win section


vocabulary pxu-words
h# b8 constant pxu-sz
b8 ' pxu-words c-struct .pxu
also pxu-words definitions

' .x b0 ptr-field pcitool_addr
' x@ ' .x 20 8 90 array-field px_ac
' x@ ' .x 20 8 70 array-field px_address
' .x 68 long-field cpr_flag
' .x 60 ptr-field msiq_config_state
' .x 58 ptr-field xcb_config_state
' .x 50 ptr-field ib_config_state
' .x 48 ptr-field ib_intr_map
' .x 40 ptr-field mmu_config_state
' .x 38 ptr-field pec_config_state
' .x 30 ptr-field px_cb_p
' .x 28 ptr-field msiq_mapped_p
' .x 20 ext-field hp_sysino
' .x 18 ext-field tsb_paddr
' .x 10 ptr-field tsb_vaddr
' .x 8 long-field tsb_size
' .x 6 short-field tsb_cookie
' .x 4 byte-field portid
' .d 0 long-field chip_type

kdbg-words definitions
previous

\ end pxu section


vocabulary px_msi-words
h# 18 constant px_msi-sz
18 ' px_msi-words c-struct .px_msi
also px_msi-words definitions

' .x 14 long-field msi_msiq_id
' .x 10 long-field msi_msinum
' .x c long-field msi_state
' .x 8 long-field msi_inum
' .x 0 ptr-field msi_dip

kdbg-words definitions
previous

\ end px_msi section


vocabulary px_msi_state-words
h# 50 constant px_msi_state-sz
50 ' px_msi_state-words c-struct .px_msi_state
also px_msi_state-words definitions

' .x 48 ptr-field msi_pool_p
' .d 44 long-field msi_mem_flg
' .x 40 long-field msi_type
' .x 38 struct-field msi_mutex
' .x 30 ptr-field msi_p
' .x 28 ext-field msi_addr64_len
' .x 20 ext-field msi_addr64
' .x 18 ext-field msi_addr32_len
' .x 10 ext-field msi_addr32
' .x c long-field msi_data_width
' .x 8 long-field msi_data_mask
' .x 4 long-field msi_1st_msinum
' .x 0 long-field msi_cnt

kdbg-words definitions
previous

\ end px_msi_state section


vocabulary px_msiq-words
h# 28 constant px_msiq-sz
28 ' px_msiq-words c-struct .px_msiq
also px_msiq-words definitions

' .x 20 short-field msiq_recs2process
' .x 18 ext-field msiq_new_head_index
' .x 10 ext-field msiq_curr_head_index
' .x 8 ptr-field msiq_base_p
' .x 6 short-field msiq_refcnt
' .x 4 short-field msiq_state
' .x 0 long-field msiq_id

kdbg-words definitions
previous

\ end px_msiq section


vocabulary px_msiq_state-words
h# 40 constant px_msiq_state-sz
40 ' px_msiq_state-words c-struct .px_msiq_state
also px_msiq_state-words definitions

' .x 38 struct-field msiq_mutex
' .x 30 ptr-field msiq_buf_p
' .x 28 ptr-field msiq_p
' .x 20 long-field msiq_1st_msg_qid
' .x 1c long-field msiq_msg_qcnt
' .x 18 long-field msiq_1st_msi_qid
' .x 14 long-field msiq_msi_qcnt
' .d 10 long-field msiq_redist_flag
' .x c long-field msiq_1st_devino
' .x 8 long-field msiq_1st_msiq_id
' .x 4 long-field msiq_rec_cnt
' .x 0 long-field msiq_cnt

kdbg-words definitions
previous

\ end px_msiq_state section


vocabulary msiq_rec-words
h# 40 constant msiq_rec-sz
40 ' msiq_rec-words c-struct .msiq_rec
also msiq_rec-words definitions

' .x 38 ext-field msiq_rec_rsvd3
' .x 30 struct-field msiq_rec_data
' .x 28 ext-field msiq_rec_msi_addr
' .x 26 short-field msiq_rec_rid
' .x fffffff0 ffff0000 20 bits-field msiq_rec_rsvd2
' .x 18 ext-field msiq_rec_timestamp
' .x 10 ext-field msiq_rec_rsvd1
' .x 8 ext-field msiq_rec_intx
' .x 7 byte-field msiq_rec_type
' .x 8 ffffff00 4 bits-field msiq_rec_rsvd0
' .x 0 long-field msiq_rec_version

kdbg-words definitions
previous

\ end msiq_rec section


vocabulary eq_rec-words
h# 40 constant eq_rec-sz
40 ' eq_rec-words c-struct .eq_rec
also eq_rec-words definitions

' x@ ' .x 30 8 10 array-field eq_rec_rsvd
' .x e short-field eq_rec_data1
' .x fffffff0 ffff0000 8 bits-field eq_rec_addr1
' .x 6 short-field eq_rec_data0
' .x 4 short-field eq_rec_rid
' .x 0 3fff 0 bits-field eq_rec_addr0
' .x e ffc000 0 bits-field eq_rec_len
' .x 18 7f000000 0 bits-field eq_rec_fmt_type
' .x 1f 80000000 0 bits-field eq_rec_rsvd0

kdbg-words definitions
previous

\ end eq_rec section


: px-print8 ( addr -- )
  dup (.) 8 swap - spaces drop .
;

: px-print4 ( addr -- )
  dup (.) 4 swap - spaces drop .
;

: .px_dip_name				( dip -- )
   [ also dev_info-words ]
   dup . ." (" devi_binding_name .str ." )"
   [ previous ]
;

: px-walk-dvma-rec ( f list-head count -- )
   [ also px_dvma_rec-words ]
   over 0 = if					( f list-head count )
      drop 2drop exit				( )
   then						( f list-head count )
   0 do						( f rec )
      I -rot 2dup 2>r -rot execute 2r>		( f rec )
      next					( f rec' )
   loop						( f rec' )
   2drop					( f )
   [ previous ]
;

: .px-dvma-rec ( rec I -- )
   [ also px_dvma_rec-words ]
   over dvma_addr 0= if 2drop exit then
   [ also ddi_dma_impl-words ]
   px-print4		( rec )
   dup . " : " type	( rec )
   dup dvma_addr .	( rec )
   dup len px-print8	( rec )
   mp dup . dmai_rdip .px_dip_name cr
   [ previous ]
   [ previous ]
;

: px-inst-to-state         ( &statepp inst -- statep )
   [ also i_ddi_soft_state-words ]
   ptrsize *		( &statepp offset )
   swap p@ ?dup if	( offset statepp )
      array ?dup if	( offset array )
         + p@		( statep )
      else drop 0 then
   else drop 0 then
   [ previous ]
;

: inst-to-px_state     ( inst -- statep )
   symbol px_state_p ( inst &statepp )
   swap px-inst-to-state   ( statep)
;

: .px-state            ( inst -- )
   inst-to-px_state dup 0 = if drop exit then .px
;

: px-inst-to-mmu		( inst -- iommu_p|0 )
   inst-to-px_state	( statep )
   ?dup if		( statep )
      [ also px-words ]
      px_mmu_p	( iommu_p )
      [ previous ]
   else 0 then		( 0 )
;

: .px-mmu            ( inst -- )
   px-inst-to-mmu	( iommu_p )
   ?dup if .px_mmu then
;

: px-walk-dvma-inst ( f inst -- )
   px-inst-to-mmu		( f iommu_p )
   ?dup if dup			( f iommu_p iommu_p )
      [ also px_mmu-words ]
      dvma_active_list swap	( f list-head iommu_p )
      dvma_active_count		( f list-head count )
      px-walk-dvma-rec
      [ previous ]
   else
      drop
   then
;

: .px-dvma		( inst -- )
   ['] .px-dvma-rec swap px-walk-dvma-inst
;

: .px-dvma-array-rec		( base end+1 start -- base )
   do I px_dvma_rec-sz * over +	( base base+offset )
   I .px-dvma-rec loop		( base )
;

: .px-dvma-array		( base index -- )
   over 0= if 2drop exit then	( base index )
   symbol px_dvma_debug_rec	( base index &max )
   l@ 2dup . ."  records, index at " . cr  ( base index max )
   swap 2dup > if dup		( base max index index )
      >r .px-dvma-array-rec r>	( base index )
   else	nip then		( base index )
   0 .px-dvma-array-rec	( base )
   drop
;

: .px-dvma-bind	( inst -- )
   px-inst-to-mmu dup 0= if drop
   else			( iommu_p )
      [ also px_mmu-words ]
      dup dvma_alloc_rec ( iommu_p base )
      swap dvma_alloc_rec_index ( base index )
      [ previous ]
      .px-dvma-array
   then
;

: .px-dvma-unbind	( inst -- )
   px-inst-to-mmu dup 0= if drop
   else			( iommu_p )
      [ also px_mmu-words ]
      dup dvma_free_rec ( iommu_p base )
      swap dvma_free_rec_index ( base index )
      [ previous ]
      .px-dvma-array
   then
;

: .px-node		( state_p -- )
   ?dup if
      [ also px-words ]
      px_pec_p		( pec_p )
      ?dup if
         [ also px_pec-words ]
         pec_nameaddr_str	( nameaddr )
         [ previous ]
         ?dup if
            .str
         then
      then
      [ previous ]
   then
;
   
: .px-states		( -- )
   [ also i_ddi_soft_state-words ]
   ." instance px_t*" cr
   symbol px_state_p p@ dup	( soft_states soft_states )
   0= if drop exit then		( soft_states )
   dup n_items			( soft_states n_items )
   dup 0= if 2drop exit then	( soft_states n_items )
   swap array swap		( array n_items )
   0 do
      I px-print8
      dup p@ dup . .px-node cr
      ptrsize +
   loop
   drop
   ." <instance#> .px-state to view individual instances" cr
   [ previous ]
;

: .px_ib_ino_lst ( px_p->ib_p->ib_ino_lst -- )
[ also px_ino-words ]
begin ?dup while
   \ dup .px_ino
   ." ino_ino="          dup ino_ino            .
   ." ino_sysino="       dup ino_sysino         .
   ." ino_ib_p="         dup ino_ib_p           . cr
   ." ino_unclaimed_intrs="    dup ino_unclaimed_intrs
   ." ino_spurintr_begin=" dup ino_spurintr_begin	.x cr
   ." ino_cpuid="        dup ino_cpuid          .
   ." ino_intr_weight="  dup ino_intr_weight    .
   ." ino_ipil_size="    dup ino_ipil_size      .
   ." ino_lopil="        dup ino_lopil          .
   ." ino_claimed="      dup ino_claimed        .
   ." ino_msiq_p="       dup ino_msiq_p         . cr
   ." ino_ipil_p="       dup ino_ipil_p         . cr
   ." ino_next_p="       dup ino_next_p         . cr
   cr
   ino_next_p
repeat
[ previous ]
;

: .px-mmu-tte   ( tte -- )
   1 << 1 >>                        ( tte-V )
   dup 1 d# 43 << 1 - 1 d# 13 << 1 - xor and   ( tte pa ) \ pfn: bit 42-13
   dup ." pa=" .                    ( tte pa )
   xor                              ( tte-template )
   dup 1 d# 59 << 1 - 1 d# 47 << 1 - xor and   ( tte-template ctx )
   dup ." ctx=" d# 47 >> . xor      ( tte-template-ctx )
   dup 1 d# 60 << and if ." S" 1 d# 60 << xor then ( tte-template-S )
   dup 10 and if ." C" 10 xor then  ( tte-template-SC ) 
   dup 2 and if ." W" 2 xor then    ( tte-template-SCW )
   dup if ." flags=" . else drop then ( )
;

: px-mmu-tte?   ( tte-va -- tte-va )
   dup x@ d# 63 >>
;

: .px-mmu-tsb   ( dma-va tsb-base-va entries -- )
   0 do
      px-mmu-tte? if
         I px-print8 " : " type ( dma-va tsb-base-va )
         over I d# 13 << +
         ." va=" .
         dup x@              ( dma-va tsb-base-va tte )
         .px-mmu-tte          ( dma-va tsb-base-va )
         cr
      then
      8 +                    ( dma-va tsb-base-va+8 )
   loop
   2drop 
;

: .px_mmu_tsb	( inst )
   inst-to-px_state	( statep )
   dup 0= if		( statep )
      drop exit then	( statep )

   [ also px-words ]
   dup px_plat_p swap	( pxu_p statep )
   px_mmu_p
   dup 0= if
      2drop exit then 	( pxu_p iommu_p )
   [ previous ]

   [ also px_mmu-words ]
   mmu_dvma_base swap	( base pxu_p )
   [ previous ]

   [ also pxu-words ]
   dup tsb_vaddr swap	( base vaddr pxu_p )
   tsb_size 3 >>	( base vaddr entries )
   [ previous ]

   .px-mmu-tsb
;

: pxva>tte   ( va instance -- tte )
   inst-to-px_state	( va statep )
   dup 0= if		( va statep )
      drop exit then	( va statep )
   [ also px-words ]
   dup px_plat_p	( va statep pxu_p )

   [ also pxu-words ]
   tsb_vaddr -rot	( tsbva va statep )
   [ previous ]

   px_mmu_p 		( tsbva va iommup )
   [ previous ]

   [ also px_mmu-words ]
   mmu_dvma_base	( tsbva va dvmabase )
   - d# 13 >> 3 <<	( tsbva tsb-off )
   dup 0 < if		( tsbva tsb-off )
      ." dvma address out of range" 2drop exit
   then			( tsbva tsb-off )
   + x@			( tte )
   [ previous ]
;

: dip>px-inst		( dip -- inst )
   [ also dev_info-words ]
   begin
      dup devi_parent	( dip pdip )
      devi_parent	( dip gpdip )
   while
      devi_parent	( pdip )
   repeat
   devi_instance	( inst )
   [ previous ]
;

: pxmp>tte   ( mp -- tte )
   [ also ddi_dma_impl-words ]
   dup dmai_mapping     	( mp va )
   over dmai_winsize d# 13 >>	( mp va npages )
   . ." page(s) from " dup . cr	( mp va )
   swap dmai_rdip       	( va dip )
   dip>px-inst         	( va inst )
   pxva>tte            	( tte )
   [ previous ]
;

: .px-mp-ttes	( mp -- )
   [ also ddi_dma_impl-words ]
   dup dmai_mapping             ( mp va )
   over dmai_winsize d# 13 >>	( mp va npages )
   dup . ." page(s) from "	( mp va npages )
   over . cr			( mp va npages )
   swap d# 13 >> d# 13 <<	( mp npages va )
   rot dmai_rdip		( npages va dip )
   dip>px-inst			( npages va inst )
   rot 0 do			( va inst )
      over ." va=" . ."  "	( va inst )
      2dup pxva>tte		( va inst tte )
      .px-mmu-tte cr		( va inst )
      swap 2000 + swap		( va' inst )
   loop				( va inst )
   2drop
   [ previous ]
;

0 value px-dip-dvma-cnt

: (px-dip-tte1 ( dip rec I -- dip )
   [ also px_dvma_rec-words ]
   [ also ddi_dma_impl-words ]
   drop 2dup mp dmai_rdip	( dip rec dip dip' )
   = if				( dip rec )
      px-dip-dvma-cnt dup . 1+	( dip rec cnt+1 )
      to px-dip-dvma-cnt		( dip rec )
      dvma_addr			( dip dvma-addr )
      dup ." va=" . 0		( dip dvma-addr 0 )
      pxva>tte .px-mmu-tte	( dip )
      cr			( dip )
   else				( dip rec )
      drop			( dip )
   then				( dip )
   [ previous ]
   [ previous ]
;

: .px-dip-tte1  ( dip inst -- )
   0 to px-dip-dvma-cnt
   ['] (px-dip-tte1 swap px-walk-dvma-inst drop
;

: px-within-dvma-rec? ( va rec I -- va )
   [ also px_dvma_rec-words ]
   to px-dip-dvma-cnt	( va rec )
   2dup dvma_addr >=	( va rec va>=dvma_addr? )
   if			( va rec )
      dup dvma_addr	( va rec dvma_addr )
      over len +	( va rec addr+size )
      >r over r>	( va rec va addr+size )
      <=		( va rec va<=addr+size? )
      if px-dip-dvma-cnt	( va rec I )
         .px-dvma-rec	( va )
      else		( va rec )
         drop		( va )
      then		( va )
   else			( va rec )
      drop		( va )
   then			( va )
   [ previous ]
;

: px-locate-dvma-rec ( va inst -- )
   ['] px-within-dvma-rec? swap px-walk-dvma-inst drop
;

: .px-dma-win1		( win_p -- )
   [ also px_dma_win-words ]
   dup win_ncookies . ." cookies "	( win_p )
   dup ." curseg="	win_curseg .	( win_p )
   dup ." size="	win_size .	( win_p )
   dup ." offset="	win_offset . 	( win_p )
   dup ." next="	win_next . cr	( win_p )
   dup win_ncookies swap		( ncookies win_p )
   px_dma_win-sz +			( ncookies &cookie[0] )
   [ also ddi_dma_cookie_t-words ]
   swap 0 do				( cookie_p )
      ."    cookie-" I . ." : "		( cookie_p )
      dup ." addr=" x?			( cookie_p )
      dup ." size=" dmac_size .	( cookie_p )
      dup ." type=" dmac_type . cr	( cookie_p )
      ddi_dma_cookie_t-sz +		( cookie_p' )
   loop drop				( )
   [ previous ]
   [ previous ]
;

: .px-dma-winlst	( mp -- )
   [ also px_dma_impl-words ]
   [ also px_dma_win-words ]
   dup dmai_winlst			( mp winlst )
   dup 0 = if				( mp winlst )
      2drop exit			( )
   then					( mp winlst )
   swap dmai_nwin			( winlst nwin )
   0 do
      ." win-" I . ." : "		( winlst )
      dup .px-dma-win1			( winlst )
      win_next				( winlst' )
   loop drop				( )
   [ previous ]
   [ previous ]
;


vocabulary pcie_pm-words
h# 10 constant pcie_pm-sz
10 ' pcie_pm-words c-struct .pcie_pm
also pcie_pm-words definitions

' .x 8 ptr-field pcie_par_pminfo
' .x 0 ptr-field pcie_pwr_p

kdbg-words definitions
previous

\ end pcie_pm section


vocabulary pcie_pwr-words
h# 40 constant pcie_pwr-sz
40 ' pcie_pwr-words c-struct .pcie_pwr
also pcie_pwr-words definitions

' l@ ' .x 14 4 2c array-field pwr_counters
' .x 28 long-field pwr_hold
' .x 24 long-field pwr_flags
' .x 20 long-field pwr_func_lvl
' .x 1c long-field pwr_link_lvl
' .x 18 byte-field pwr_pmcsr_offset
' .x 10 ptr-field pwr_conf_hdl
' .x 8 long-field pwr_pmcaps
' .x 0 struct-field pwr_lock

kdbg-words definitions
previous

\ end pcie_pwr section


vocabulary pcie_pwr_child-words
h# 14 constant pcie_pwr_child-sz
14 ' pcie_pwr_child-words c-struct .pcie_pwr_child
also pcie_pwr_child-words definitions

' l@ ' .x 14 4 0 array-field pwr_child_counters

kdbg-words definitions
previous

\ end pcie_pwr_child section



vocabulary s1394_state_s-words
h# 18 constant s1394_state_s-sz
18 ' s1394_state_s-words c-struct .s1394_state_s
also s1394_state_s-words definitions

' .x 10 ptr-field hal_tail
' .x 8 ptr-field hal_head
' .x 0 struct-field hal_list_mutex

kdbg-words definitions
previous

\ end s1394_state_s section


vocabulary s1394_addr_space_blk_s-words
h# 68 constant s1394_addr_space_blk_s-sz
68 ' s1394_addr_space_blk_s-words c-struct .s1394_addr_space_blk_s
also s1394_addr_space_blk_s-words definitions

' .x 60 ptr-field addr_arg
' .x 58 ptr-field kmem_bufp
' .x 40 struct-field addr_events
' .d 38 long-field addr_type
' .d 34 long-field addr_enable
' .x 30 long-field addr_reserved
' .x 28 ext-field addr_hi
' .x 20 ext-field addr_lo
' .d 1c long-field free_kmem_bufp
' .x 18 long-field asb_color
' .x 10 ptr-field asb_right
' .x 8 ptr-field asb_left
' .x 0 ptr-field asb_parent

kdbg-words definitions
previous

\ end s1394_addr_space_blk_s section


vocabulary s1394_isoch_cec_member_s-words
h# 58 constant s1394_isoch_cec_member_s-sz
58 ' s1394_isoch_cec_member_s-words c-struct .s1394_isoch_cec_member_s
also s1394_isoch_cec_member_s-words definitions

' .x 50 ptr-field cec_mem_target
' .d 4c long-field cec_mem_options
' .x 48 long-field req_max_speed
' .x 40 ext-field req_channel_mask
' .x 38 ptr-field isoch_cec_evts_arg
' .x 10 struct-field isoch_cec_evts
' .x 8 ptr-field cec_mem_prev
' .x 0 ptr-field cec_mem_next

kdbg-words definitions
previous

\ end s1394_isoch_cec_member_s section


vocabulary s1394_config_rom_s-words
h# 20 constant s1394_config_rom_s-sz
20 ' s1394_config_rom_s-words c-struct .s1394_config_rom_s
also s1394_config_rom_s-words definitions

' .x 18 ptr-field cfgrom_prev
' .x 10 ptr-field cfgrom_next
' .x c long-field root_dir_offset
' .x 8 long-field cfgrom_addr_hi
' .x 4 long-field cfgrom_addr_lo
' .d 0 long-field cfgrom_used

kdbg-words definitions
previous

\ end s1394_config_rom_s section


vocabulary s1394_isoch_cec_s-words
h# a0 constant s1394_isoch_cec_s-sz
a0 ' s1394_isoch_cec_s-words c-struct .s1394_isoch_cec_s
also s1394_isoch_cec_s-words definitions

' .x 98 long-field realloc_speed
' .x 94 long-field realloc_bandwidth
' .x 90 long-field realloc_chnl_num
' .d 8c long-field realloc_fail_reason
' .d 88 long-field realloc_failed
' .d 84 long-field realloc_valid
' .d 80 long-field cec_want_wakeup
' .x 7c struct-field in_callbacks_cv
' .d 78 long-field in_fail_callbacks
' .d 74 long-field in_callbacks
' .d 70 long-field state_transitions
' .d 6c long-field cec_options
' .x 68 long-field bandwidth
' .x 60 ext-field filter_channel_mask
' .x 58 long-field filter_current_speed
' .x 54 long-field filter_max_speed
' .x 50 long-field filter_min_speed
' .x 38 struct-field cec_alloc_props
' .x 30 ptr-field cec_member_talker
' .x 28 ptr-field cec_member_list_tail
' .x 20 ptr-field cec_member_list_head
' .d 18 long-field cec_type
' .x 10 struct-field isoch_cec_mutex
' .x 8 ptr-field cec_prev
' .x 0 ptr-field cec_next

kdbg-words definitions
previous

\ end s1394_isoch_cec_s section


vocabulary s1394_node_s-words
h# 138 constant s1394_node_s-sz
138 ' s1394_node_s-words c-struct .s1394_node_s
also s1394_node_s-words definitions

' .x 132 byte-field cfgrom_read_delay
' .x 131 byte-field cfgrom_read_fails
' .x 130 byte-field rescan_cnt
' .x 12e short-field cfgrom_quad_read_cnt
' .x 12c short-field cfgrom_quad_to_read
' .x 12a byte-field expected_dir_quad
' .x 129 byte-field expected_type
' .x 128 byte-field dir_stack_top
' .x 126 short-field cur_dir_size
' .x 124 short-field cur_dir_start
' noop ' .x 60 6 c4 array-field dir_stack
' .x c0 long-field bus_enum_flags
' .x bc long-field cfgrom_state
' .x b8 long-field node_state
' .x b0 ptr-field cfgrom
' .x aa byte-field is_a_leaf
' .x a9 byte-field parent_port
' .x a8 byte-field last_port_checked
' .x a7 byte-field max_2nd
' .x a6 byte-field max_1st
' .x a5 byte-field node_num
' .x a4 byte-field link_active
' .x a2 short-field cfgrom_valid_size
' .x a0 short-field cfgrom_size
' .x 98 ptr-field target_list
' .x 90 ptr-field cur_node
' .x 88 ptr-field old_node
' x@ ' .x 80 8 8 array-field phy_port
' .x 0 ptr-field selfid_packet

kdbg-words definitions
previous

\ end s1394_node_s section


vocabulary s1394_selfid_pkt_s-words
h# 8 constant s1394_selfid_pkt_s-sz
8 ' s1394_selfid_pkt_s-words c-struct .s1394_selfid_pkt_s
also s1394_selfid_pkt_s-words definitions

' .x 4 long-field spkt_inverse
' .x 0 long-field spkt_data

kdbg-words definitions
previous

\ end s1394_selfid_pkt_s section


vocabulary s1394_target_s-words
h# b8 constant s1394_target_s-sz
b8 ' s1394_target_s-words c-struct .s1394_target_s
also s1394_target_s-words definitions

' noop ' .x 60 18 58 array-field target_fa
' .x 54 long-field target_state
' .x 50 long-field physical_arreq_enabled
' .x 4c long-field target_num_cmds
' .x 48 long-field current_max_payload
' .x 44 long-field dev_max_payload
' .x 40 long-field unit_dir
' .x 38 ptr-field target_sibling
' .x 30 ptr-field target_list
' .x 28 ptr-field target_prev
' .x 20 ptr-field target_next
' .x 18 ptr-field on_hal
' .x 10 ptr-field on_node
' .x 8 ptr-field target_dip
' .x 0 long-field target_version

kdbg-words definitions
previous

\ end s1394_target_s section


vocabulary scsa2usb_power-words
h# 8 constant scsa2usb_power-sz
8 ' scsa2usb_power-words c-struct .scsa2usb_power
also scsa2usb_power-words definitions

' .x 6 byte-field scsa2usb_current_power
' .x 5 byte-field scsa2usb_wakeup_enabled
' .x 4 byte-field scsa2usb_pwr_states
' .x 0 long-field scsa2usb_pm_busy

kdbg-words definitions
previous

\ end scsa2usb_power section


vocabulary scsa2usb_last_cmd-words
h# 14 constant scsa2usb_last_cmd-sz
14 ' scsa2usb_last_cmd-words c-struct .scsa2usb_last_cmd
also scsa2usb_last_cmd-words definitions

' .x 10 long-field status
' c@ ' .x 10 1 0 array-field cdb

kdbg-words definitions
previous

\ end scsa2usb_last_cmd section


vocabulary scsa2usb_state-words
h# de0 constant scsa2usb_state-sz
de0 ' scsa2usb_state-words c-struct .scsa2usb_state
also scsa2usb_state-words definitions

' .x dd8 ptr-field scsa2usb_ugen_hdl
' .d dd4 long-field scsa2usb_rcvd_not_ready
' .d dd0 long-field scsa2usb_warning_given
' .x dc8 ptr-field scsa2usb_override_str
' .x dc4 long-field scsa2usb_protocol_override
' .x dc0 long-field scsa2usb_subclass_override
' .x db8 ptr-field scsa2usb_work_thread_id
' .x db0 long-field scsa2usb_cmd_protocol
' .x dac long-field scsa2usb_attrs
' .x d98 struct-field scsa2usb_last_cmd
' .x d90 ptr-field scsa2usb_dev_data
' .x d88 ext-field scsa2usb_max_bulk_xfer_size
' x@ ' .x 80 8 d08 array-field scsa2usb_secsz
' x@ ' .x 80 8 c88 array-field scsa2usb_totalsec
' x@ ' .x 80 8 c08 array-field scsa2usb_lbasize
' .x c00 ptr-field scsa2usb_panic_info
' .x bf8 ptr-field scsa2usb_log_handle
' .x bf4 long-field scsa2usb_n_luns
' .x bf0 long-field scsa2usb_pkt_state
' .x bec long-field scsa2usb_tag
' .x be8 long-field scsa2usb_pipe_state
' .x be0 ptr-field scsa2usb_bulkout_pipe
' .x bd8 ptr-field scsa2usb_bulkin_pipe
' .x bd0 ptr-field scsa2usb_intr_pipe
' .x bc8 ptr-field scsa2usb_default_pipe
' .x bba struct-field scsa2usb_intr_ept
' .x bb2 struct-field scsa2usb_bulkout_ept
' .x baa struct-field scsa2usb_bulkin_ept
' .x ba0 struct-field scsa2usb_intfc_descr
' noop ' .x 840 84 360 array-field scsa2usb_lun_inquiry
' x@ ' .x 80 8 2e0 array-field scsa2usb_lun_dip
' .x 2d8 ptr-field scsa2usb_arq_bp
' .x 2d0 ptr-field scsa2usb_arq_cmd
' noop ' .x 280 28 50 array-field scsa2usb_waitQ
' .x 48 ptr-field scsa2usb_cur_pkt
' .x 40 ptr-field scsa2usb_tran
' .x 38 struct-field scsa2usb_mutex
' .x 30 ptr-field scsa2usb_busy_thread
' .x 28 struct-field scsa2usb_transport_busy_cv
' .x 24 long-field scsa2usb_ugen_open_count
' .x 20 long-field scsa2usb_transport_busy
' .x 18 ptr-field scsa2usb_pm
' .x 10 ptr-field scsa2usb_dip
' .x c long-field scsa2usb_intfc_num
' .x 8 long-field scsa2usb_flags
' .x 4 long-field scsa2usb_dev_state
' .x 0 long-field scsa2usb_instance

kdbg-words definitions
previous

\ end scsa2usb_state section


vocabulary scsa2usb_cmd-words
h# a8 constant scsa2usb_cmd-sz
a8 ' scsa2usb_cmd-words c-struct .scsa2usb_cmd
also scsa2usb_cmd-words definitions

' .x 80 struct-field cmd_waitQ
' .x 78 long-field cmd_blksize
' .x 74 long-field cmd_done
' .x 70 long-field cmd_lba
' .x 68 ext-field cmd_offset
' .x 60 ext-field cmd_total_xfercount
' .x 40 struct-field cmd_scb
' .x 3e byte-field cmd_cdblen
' .x 3d byte-field cmd_actual_len
' .x 3c byte-field cmd_dir
' c@ ' .x 10 1 2c array-field cmd_cdb
' .x 28 long-field cmd_timeout
' .x 24 long-field cmd_tag
' .x 20 long-field cmd_scblen
' .x 18 ext-field cmd_resid_xfercount
' .x 10 ext-field cmd_xfercount
' .x 8 ptr-field cmd_bp
' .x 0 ptr-field cmd_pkt

kdbg-words definitions
previous

\ end scsa2usb_cmd section


vocabulary usb_bulk_csw-words
h# d constant usb_bulk_csw-sz
d ' usb_bulk_csw-words c-struct .usb_bulk_csw
also usb_bulk_csw-words definitions

' .x c byte-field csw_bCSWStatus
' .x b byte-field csw_dCSWDataResidue3
' .x a byte-field csw_dCSWDataResidue2
' .x 9 byte-field csw_dCSWDataResidue1
' .x 8 byte-field csw_dCSWDataResidue0
' .x 7 byte-field csw_dCSWTag0
' .x 6 byte-field csw_dCSWTag1
' .x 5 byte-field csw_dCSWTag2
' .x 4 byte-field csw_dCSWTag3
' .x 3 byte-field csw_dCSWSignature3
' .x 2 byte-field csw_dCSWSignature2
' .x 1 byte-field csw_dCSWSignature1
' .x 0 byte-field csw_dCSWSignature0

kdbg-words definitions
previous

\ end usb_bulk_csw section


vocabulary scsi_address-words
h# 10 constant scsi_address-sz
10 ' scsi_address-words c-struct .scsi_address
also scsi_address-words definitions

' .x 8 struct-field a
' .x 0 ptr-field a_hba_tran

kdbg-words definitions
previous

\ end scsi_address section


vocabulary scsi_arq_status-words
h# 20 constant scsi_arq_status-sz
20 ' scsi_arq_status-words c-struct .scsi_arq_status
also scsi_arq_status-words definitions

' .x c struct-field sts_sensedata
' .x 8 long-field sts_rqpkt_statistics
' .x 4 long-field sts_rqpkt_state
' .x 3 byte-field sts_rqpkt_resid
' .x 2 byte-field sts_rqpkt_reason
' .x 1 struct-field sts_rqpkt_status
' .x 0 struct-field sts_status

kdbg-words definitions
previous

\ end scsi_arq_status section


vocabulary scsi_device-words
h# 60 constant scsi_device-sz
60 ' scsi_device-words c-struct .scsi_device
also scsi_device-words definitions

' .x 58 ptr-field sd_tran_safe
' .x 50 long-field sd_uninit_prevent
' .x 48 ptr-field sd_pathinfo
' .x 40 long-field sd_fm_capable
' .x 38 ptr-field sd_private
' .x 30 ptr-field sd_sense
' .x 28 ptr-field sd_inq
' .x 20 ptr-field sd_hba_private
' .x 18 struct-field sd_mutex
' .x 10 ptr-field sd_dev
' .x 0 struct-field sd_address

kdbg-words definitions
previous

\ end scsi_device section


vocabulary scsi_hba_tran-words
h# 1d0 constant scsi_hba_tran-sz
1d0 ' scsi_hba_tran-words c-struct .scsi_hba_tran
also scsi_hba_tran-words definitions

' .x 1c8 ptr-field tran_tgtmap
' .x 1c0 ptr-field tran_iportmap
' .x 1b8 ptr-field tran_iport_dip
' .x 1b0 long-field tran_fm_capable
' .x 1a8 ptr-field tran_extension
' .x 158 struct-field tran_dma_attr
' .x 150 ptr-field tran_teardown_pkt
' .x 148 ptr-field tran_setup_pkt
' .x 140 long-field tran_hba_len
' .x 138 ptr-field tran_pkt_cache_ptr
' .x 130 ptr-field tran_pkt_destructor
' .x 128 ptr-field tran_pkt_constructor
' .x 120 long-field tran_interconnect_type
' .x 118 ptr-field tran_bus_power
' .x 110 ptr-field tran_bus_unconfig
' .x 108 ptr-field tran_bus_config
' .x 100 ext-field tran_open_flag
' .x f8 struct-field tran_open_lock
' .x f1 byte-field tran_obs3
' .x f0 byte-field tran_obs2
' .x ec long-field tran_obs1
' .x e8 long-field tran_hba_flags
' .x e0 ptr-field tran_bus_reset
' .x d8 ptr-field tran_unquiesce
' .x d0 ptr-field tran_quiesce
' .x c8 ptr-field tran_post_event
' .x c0 ptr-field tran_remove_eventcall
' .x b8 ptr-field tran_add_eventcall
' .x b0 ptr-field tran_get_eventcookie
' .x a8 ptr-field tran_terminate_task
' .x a0 ptr-field tran_clear_task_set
' .x 98 ptr-field tran_clear_aca
' .x 90 ptr-field tran_get_name
' .x 88 ptr-field tran_get_bus_addr
' .x 80 ptr-field tran_reset_notify
' .x 78 ptr-field tran_sync_pkt
' .x 70 ptr-field tran_dmafree
' .x 68 ptr-field tran_destroy_pkt
' .x 60 ptr-field tran_init_pkt
' .x 58 ptr-field tran_setcap
' .x 50 ptr-field tran_getcap
' .x 48 ptr-field tran_abort
' .x 40 ptr-field tran_reset
' .x 38 ptr-field tran_start
' .x 30 ptr-field tran_tgt_free
' .x 28 ptr-field tran_tgt_probe
' .x 20 ptr-field tran_tgt_init
' .x 18 ptr-field tran_sd
' .x 10 ptr-field tran_tgt_private
' .x 8 ptr-field tran_hba_private
' .x 0 ptr-field tran_hba_dip

kdbg-words definitions
previous

\ end scsi_hba_tran section


vocabulary scsi_pkt-words
h# a0 constant scsi_pkt-sz
a0 ' scsi_pkt-words c-struct .scsi_pkt
also scsi_pkt-words definitions

' .x 98 ptr-field pkt_stmp
' .x 90 long-field pkt_path_instance
' .x 88 ptr-field pkt_cookies
' .x 80 long-field pkt_dma_flags
' .x 78 ext-field pkt_dma_len
' .x 70 ext-field pkt_dma_offset
' .x 68 long-field pkt_numcookies
' .x 60 ptr-field pkt_handle
' .x 5c long-field pkt_scblen
' .x 58 long-field pkt_tgtlen
' .x 54 long-field pkt_cdblen
' .x 50 byte-field pkt_reason
' .x 4c long-field pkt_statistics
' .x 48 long-field pkt_state
' .x 40 ext-field pkt_resid
' .x 38 ptr-field pkt_cdbp
' .x 30 ptr-field pkt_scbp
' .x 2c long-field pkt_time
' .x 28 long-field pkt_flags
' .x 20 ptr-field pkt_comp
' .x 18 ptr-field pkt_private
' .x 8 struct-field pkt_address
' .x 0 ptr-field pkt_ha_private

kdbg-words definitions
previous

\ end scsi_pkt section


vocabulary scsi_inquiry-words
h# 84 constant scsi_inquiry-sz
84 ' scsi_inquiry-words c-struct .scsi_inquiry
also scsi_inquiry-words definitions

' c@ ' .x 3a 1 4a array-field __inq_74_127
' noop ' .x 10 2 3a array-field inq_vd
' .x 39 byte-field __inq_57
' .x 18 1000000 38 bits-field inq_ius
' .x 19 2000000 38 bits-field inq_qas
' .x 1a c000000 38 bits-field inq_clk
' .x 1c 10000000 38 bits-field __inq_56_4
' .x 1d 20000000 38 bits-field __inq_56_5
' .x 1e 40000000 38 bits-field __inq_56_6
' .x 1f 80000000 38 bits-field __inq_56_7
' .x 37 byte-field __inq_55
' .x 36 byte-field __inq_54
' .x 35 byte-field __inq_53
' .x 34 byte-field __inq_52
' .x 33 byte-field __inq_51
' .x 32 byte-field __inq_50
' .x 31 byte-field __inq_49
' .x 30 byte-field __inq_48
' c@ ' .x c 1 24 array-field inq_serial
' c@ ' .x 4 1 20 array-field inq_revision
' c@ ' .x 10 1 10 array-field inq_pid
' c@ ' .x 8 1 8 array-field inq_vid
' .x 0 1 4 bits-field inq_sftre
' .x 1 2 4 bits-field inq_cmdque
' .x 2 4 4 bits-field inq_trandis
' .x 3 8 4 bits-field inq_linked
' .x 4 10 4 bits-field inq_sync
' .x 5 20 4 bits-field inq_wbus16
' .x 6 40 4 bits-field inq_wbus32
' .x 7 80 4 bits-field inq_reladdr
' .x 8 100 4 bits-field inq_addr16
' .x 9 200 4 bits-field inq_addr32
' .x a 400 4 bits-field inq_ackqreqq
' .x b 800 4 bits-field inq_mchngr
' .x c 1000 4 bits-field inq_dualp
' .x d 2000 4 bits-field inq_port
' .x e 4000 4 bits-field inq_encserv
' .x f 8000 4 bits-field inq_bque
' .x 10 10000 4 bits-field inq_protect
' .x 11 20000 4 bits-field inq_5_1
' .x 12 40000 4 bits-field inq_5_2
' .x 13 80000 4 bits-field inq_3pc
' .x 14 300000 4 bits-field inq_tpgs
' .x 16 400000 4 bits-field inq_acc
' .x 17 800000 4 bits-field inq_sccs
' .x 4 byte-field inq_len
' .x 0 f 0 bits-field inq_rdf
' .x 4 10 0 bits-field inq_hisup
' .x 5 20 0 bits-field inq_normaca
' .x 6 40 0 bits-field inq_trmiop
' .x 7 80 0 bits-field inq_aenc
' .x 8 700 0 bits-field inq_ansi
' .x b 3800 0 bits-field inq_ecma
' .x e c000 0 bits-field inq_iso
' .x 10 7f0000 0 bits-field inq_qual
' .x 17 800000 0 bits-field inq_rmb
' .x 0 byte-field inq_dtype

kdbg-words definitions
previous

\ end scsi_inquiry section


vocabulary scsi_extended_sense-words
h# 14 constant scsi_extended_sense-sz
14 ' scsi_extended_sense-words c-struct .scsi_extended_sense
also scsi_extended_sense-words definitions

' c@ ' .x 2 1 12 array-field es_add_info
' c@ ' .x 3 1 f array-field es_skey_specific
' .x e byte-field es_fru_code
' .x d byte-field es_qual_code
' .x c byte-field es_add_code
' c@ ' .x 4 1 8 array-field es_cmd_info
' .x 7 byte-field es_add_len
' .x 6 byte-field es_info_4
' .x 5 byte-field es_info_3
' .x 4 byte-field es_info_2
' .x 3 byte-field es_info_1
' .x 8 f00 0 bits-field es_key
' .x d 2000 0 bits-field es_ili
' .x e 4000 0 bits-field es_eom
' .x f 8000 0 bits-field es_filmk
' .x 1 byte-field es_segnum
' .x 18 f000000 0 bits-field es_code
' .x 1c 70000000 0 bits-field es_class
' .x 1f 80000000 0 bits-field es_valid

kdbg-words definitions
previous

\ end scsi_extended_sense section


vocabulary scsi_status-words
h# 1 constant scsi_status-sz
1 ' scsi_status-words c-struct .scsi_status
also scsi_status-words definitions

' .x 18 1000000 0 bits-field sts_vu0
' .x 19 2000000 0 bits-field sts_chk
' .x 1a 4000000 0 bits-field sts_cm
' .x 1b 8000000 0 bits-field sts_busy
' .x 1c 10000000 0 bits-field sts_is
' .x 1d 20000000 0 bits-field sts_vu6
' .x 1e 40000000 0 bits-field sts_vu7
' .x 1f 80000000 0 bits-field sts_resvd

kdbg-words definitions
previous

\ end scsi_status section


vocabulary sd_lun-words
h# 2f0 constant sd_lun-sz
2f0 ' sd_lun-words c-struct .sd_lun
also sd_lun-words definitions

' .x 2e8 ptr-field un_fm_private
' .x 2e0 ptr-field un_cmlbhandle
' .x 2de struct-field un_wcc_cv
' .x 2dc short-field un_in_callback
' .x 2d8 long-field un_failfast_state
' .x 2d0 ptr-field un_failfast_tailp
' .x 2c8 ptr-field un_failfast_headp
' .x 2c0 ptr-field un_failfast_bp
' .x 2b8 long-field un_sonoma_failure_count
' .x 2b0 ptr-field un_pm_idle_timeid
' .x 2a8 ext-field un_pm_idle_time
' .x 2a0 ptr-field un_retry_timeid
' .x 298 ext-field un_tran_fatal_count
' .x 290 ptr-field un_direct_priority_timeid
' .x 288 ptr-field un_startstop_timeid
' .x 280 ptr-field un_rmw_msg_timeid
' .x 278 ext-field un_rmw_incre_count
' .x 270 ptr-field un_wm
' .x 268 long-field un_rmw_count
' .x 260 ptr-field un_wm_cache
' .x 258 ptr-field un_swr_token
' .d 254 long-field un_specified_mediastate
' .d 250 long-field un_mediastate
' .x 24e struct-field un_state_cv
' .x 24c struct-field un_disk_busy_cv
' .x 24a struct-field un_suspend_cv
' .x 248 byte-field un_save_state
' .x 246 short-field un_power_level
' .x 244 struct-field un_pm_busy_cv
' .x 240 long-field un_pm_busy
' .x 238 ptr-field un_pm_timeid
' .x 230 long-field un_pm_count
' .x 228 struct-field un_pm_mutex
' .x 220 ptr-field un_additional_codes
' .x 0 1f 218 bits-field un_f_reserved
' .x 5 20 218 bits-field un_f_mmc_gesn_polling
' .x 6 40 218 bits-field un_f_is_solid_state
' .x 7 80 218 bits-field un_f_pm_log_sense_smart
' .x 8 100 218 bits-field un_f_power_condition_supported
' .x 9 200 218 bits-field un_f_power_condition_disabled
' .x a c00 218 bits-field un_f_rmw_type
' .x c 1000 218 bits-field un_f_devid_transport_defined
' .x d 2000 218 bits-field un_f_sync_cache_required
' .x e 4000 218 bits-field un_f_sync_nv_supported
' .x f 8000 218 bits-field un_f_suppress_cache_flush
' .x 10 10000 218 bits-field un_f_ejecting
' .x 11 20000 218 bits-field un_f_wcc_inprog
' .x 12 40000 218 bits-field un_f_cfg_is_lsi
' .x 13 80000 218 bits-field un_f_pm_supported
' .x 14 100000 218 bits-field un_f_log_sense_supported
' .x 15 200000 218 bits-field un_f_attach_spinup
' .x 16 400000 218 bits-field un_f_monitor_media_state
' .x 17 800000 218 bits-field un_f_check_start_stop
' .x 18 1000000 218 bits-field un_f_descr_format_supported
' .x 19 2000000 218 bits-field un_f_chk_wp_open
' .x 1a 4000000 218 bits-field un_f_eject_media_supported
' .x 1b 8000000 218 bits-field un_f_devid_supported
' .x 1c 10000000 218 bits-field un_f_non_devbsize_supported
' .x 1d 20000000 218 bits-field un_f_has_removable_media
' .x 1e 40000000 218 bits-field un_f_is_hotpluggable
' .x 1f 80000000 218 bits-field un_f_mboot_supported
' .x 0 1 214 bits-field un_f_reserved1
' .x 1 2 214 bits-field un_f_start_stop_supported
' .x 2 4 214 bits-field un_f_doorlock_supported
' .x 3 8 214 bits-field un_f_lun_reset_enabled
' .x 4 10 214 bits-field un_f_disksort_disabled
' .x 5 20 214 bits-field un_f_pkstats_enabled
' .x 6 40 214 bits-field un_f_watcht_stopped
' .x 7 80 214 bits-field un_f_pm_is_enabled
' .x 8 100 214 bits-field un_f_use_adaptive_throttle
' .x 9 200 214 bits-field un_f_cfg_tur_check
' .x a 400 214 bits-field un_f_cfg_cdda
' .x b 800 214 bits-field un_f_dvdram_writable_device
' .x c 1000 214 bits-field un_f_mmc_writable_media
' .x d 2000 214 bits-field un_f_mmc_cap
' .x e 4000 214 bits-field un_f_cfg_read_cd_xd4
' .x f 8000 214 bits-field un_f_cfg_no_read_header
' .x 10 10000 214 bits-field un_f_cfg_read_toc_addr_bcd
' .x 11 20000 214 bits-field un_f_cfg_read_toc_trk_bcd
' .x 12 40000 214 bits-field un_f_cfg_readsub_bcd
' .x 13 80000 214 bits-field un_f_cfg_playmsf_bcd
' .x 14 100000 214 bits-field un_f_write_cache_enabled
' .x 15 200000 214 bits-field un_f_cfg_is_atapi
' .x 16 400000 214 bits-field un_f_opt_disable_cache
' .x 17 800000 214 bits-field un_f_opt_fab_devid
' .x 18 1000000 214 bits-field un_f_opt_queueing
' .x 19 2000000 214 bits-field un_f_format_in_progress
' .x 1a 4000000 214 bits-field un_f_sync_cache_supported
' .x 1b 8000000 214 bits-field un_f_is_fibre
' .x 1c 10000000 214 bits-field un_f_allow_bus_device_reset
' .x 1d 20000000 214 bits-field un_f_tgt_blocksize_is_valid
' .x 1e 40000000 214 bits-field un_f_blockcount_is_valid
' .x 1f 80000000 214 bits-field un_f_arq_enabled
' .x 210 long-field un_vpd_page_mask
' .x 208 ptr-field un_devid
' .x 200 ext-field un_exclopen
' .x 1f8 ptr-field un_errstats
' .x 1f0 ptr-field un_stats
' x@ ' .x 40 8 1b0 array-field un_pstats
' .x 150 struct-field un_ocmap
' .x 148 ptr-field un_dcvb_timeid
' .x 140 long-field un_start_stop_cycle_page
' .x 138 ptr-field un_remove_cb_id
' .x 130 ptr-field un_remove_event
' .x 128 ptr-field un_insert_cb_id
' .x 120 ptr-field un_insert_event
' .x 118 ptr-field un_resvd_timeid
' .x 110 ptr-field un_mhd_token
' .x 108 ptr-field un_reset_throttle_timeid
' .x 100 short-field un_min_throttle
' .x fe short-field un_busy_throttle
' .x fc short-field un_saved_throttle
' .x fa short-field un_throttle
' .x f8 short-field un_ncmds_in_transport
' .x f0 ext-field un_ncmds_in_driver
' .x e0 struct-field un_semoclose
' .x d8 ext-field un_opens_in_progress
' .x d0 ext-field un_layer_count
' .x c8 ext-field un_detach_count
' .x c4 short-field un_resvd_status
' .x c0 long-field un_tagflags
' .x bc byte-field un_last_pkt_reason
' .x bb byte-field un_last_state
' .x ba byte-field un_state
' .x b8 short-field un_busy_timeout
' .x b6 short-field un_uscsi_timeout
' .x b4 short-field un_cmd_timeout
' .x b0 long-field un_pkt_flags
' .x ac long-field un_status_len
' .x a8 long-field un_max_hba_cdb
' .x a4 long-field un_maxcdb
' .x a0 long-field un_mincdb
' .x 9c long-field un_buf_breakup_supported
' .x 98 long-field un_partial_dma_supported
' .x 94 long-field un_max_xfer_size
' .x 92 byte-field un_reservation_type
' .x 90 short-field un_reserve_release_time
' .x 8c long-field un_reset_retry_count
' .x 88 long-field un_victim_retry_count
' .x 84 long-field un_retry_count
' .x 80 long-field un_busy_retry_count
' .x 7c long-field un_notready_retry_count
' .x 78 byte-field un_interconnect_type
' .x 70 ptr-field un_node_type
' .x 68 byte-field un_ctype
' .x 60 ext-field un_blockcount
' .x 5c long-field un_tgt_blocksize
' .x 58 long-field un_sys_blocksize
' .x 50 ptr-field un_xbuf_attr
' .x 48 ptr-field un_retry_statp
' .x 40 ptr-field un_retry_bp
' .x 38 ptr-field un_waitq_tailp
' .x 30 ptr-field un_waitq_headp
' .x 28 long-field un_priority_chain_type
' .x 24 long-field un_direct_chain_type
' .x 20 long-field un_uscsi_chain_type
' .x 1c long-field un_buf_chain_type
' .x 18 long-field un_sense_isbusy
' .x 10 ptr-field un_rqs_pktp
' .x 8 ptr-field un_rqs_bp
' .x 0 ptr-field un_sd

kdbg-words definitions
previous

\ end sd_lun section


vocabulary sd_xbuf-words
h# 80 constant sd_xbuf-sz
80 ' sd_xbuf-words c-struct .sd_xbuf
also sd_xbuf-words definitions

' c@ ' .x 14 1 69 array-field xb_sense_data
' .x 68 byte-field xb_sense_status
' .x 60 ext-field xb_sense_resid
' .x 58 long-field xb_sense_state
' .x 50 ptr-field xb_sense_bp
' .x 4e short-field xb_nr_retry_count
' .x 4c short-field xb_ua_retry_count
' .x 4a short-field xb_victim_retry_count
' .x 48 short-field xb_retry_count
' .x 40 ext-field xb_dma_resid
' .x 38 long-field xb_pkt_flags
' .x 34 long-field xb_chain_iodone
' .x 30 long-field xb_chain_iostart
' .x 28 ext-field xb_ena
' .x 20 ext-field xb_blkno
' .x 18 ptr-field xb_private
' .x 10 ptr-field xb_pktinfo
' .x 8 ptr-field xb_pktp
' .x 0 ptr-field xb_un

kdbg-words definitions
previous

\ end sd_xbuf section


vocabulary dk_geom-words
h# 2a constant dk_geom-sz
2a ' dk_geom-words c-struct .dk_geom
also dk_geom-words definitions

' w@ ' .x e 2 1c array-field dkg_extra
' .x 1a short-field dkg_read_reinstruct
' .x 18 short-field dkg_write_reinstruct
' .x 16 short-field dkg_pcyl
' .x 14 short-field dkg_rpm
' .x 12 short-field dkg_apc
' .x 10 short-field dkg_obs3
' .x e short-field dkg_obs2
' .x c short-field dkg_intrlv
' .x a short-field dkg_nsect
' .x 8 short-field dkg_obs1
' .x 6 short-field dkg_nhead
' .x 4 short-field dkg_bcyl
' .x 2 short-field dkg_acyl
' .x 0 short-field dkg_ncyl

kdbg-words definitions
previous

\ end dk_geom section


vocabulary dk_label-words
h# 200 constant dk_label-sz
200 ' dk_label-words c-struct .dk_label
also dk_label-words definitions

' .x 1fe short-field dkl_cksum
' .x 1fc short-field dkl_magic
' noop ' .x 40 8 1bc array-field dkl_map
' .x 1ba short-field dkl_obs4
' .x 1b8 short-field dkl_obs3
' .x 1b6 short-field dkl_nsect
' .x 1b4 short-field dkl_nhead
' .x 1b2 short-field dkl_acyl
' .x 1b0 short-field dkl_ncyl
' .x 1ae short-field dkl_intrlv
' .x 1ac short-field dkl_obs2
' .x 1aa short-field dkl_obs1
' .x 1a8 short-field dkl_apc
' .x 1a6 short-field dkl_pcyl
' .x 1a4 short-field dkl_rpm
' c@ ' .x 98 1 10c array-field dkl_pad
' .x 10a short-field dkl_read_reinstruct
' .x 108 short-field dkl_write_reinstruct
' .x 80 struct-field dkl_vtoc
' c@ ' .x 80 1 0 array-field dkl_asciilabel

kdbg-words definitions
previous

\ end dk_label section


vocabulary dk_vtoc-words
h# 88 constant dk_vtoc-sz
88 ' dk_vtoc-words c-struct .dk_vtoc
also dk_vtoc-words definitions

' l@ ' .x 20 4 68 array-field v_timestamp
' l@ ' .x 28 4 40 array-field v_reserved
' .x 3c long-field v_sanity
' l@ ' .x c 4 30 array-field v_bootinfo
' noop ' .x 20 4 e array-field v_part
' .x c short-field v_nparts
' c@ ' .x 8 1 4 array-field v_volume
' .x 0 long-field v_version

kdbg-words definitions
previous

\ end dk_vtoc section


vocabulary scsi_tape-words
h# 258 constant scsi_tape-sz
258 ' scsi_tape-words c-struct .scsi_tape
also scsi_tape-words definitions

' .d 250 long-field un_tlr_flag
' .x 248 ext-field un_last_path_instance
' .x 241 byte-field un_multipath
' .x 240 byte-field un_unit_attention_flags
' .x 220 struct-field un_running
' .x 218 ptr-field un_recov_taskq
' .x 212 byte-field un_recov_buf_busy
' .x 210 struct-field un_recov_buf_cv
' .x 208 ptr-field un_recov_buf
' .x 200 ptr-field un_media_id_method
' .x 1f8 long-field un_media_id_len
' .x 1f0 ptr-field un_media_id
' .x 1e8 ptr-field un_error_entry_stk
' .x 1e0 ptr-field un_read_pos_data
' .d 1dc long-field un_read_pos_type
' .x 1d8 long-field un_max_cdb_sz
' .x 1d0 ptr-field un_wormable
' .x 1c8 byte-field un_data_mod
' .x 1c0 ptr-field un_uscsi_rqs_buf
' .x 1ba byte-field un_rqs_state
' .x 1b9 byte-field un_HeadClean
' .x 1b8 byte-field un_eject_tape_on_failure
' .x 1b6 struct-field un_suspend_cv
' .x 1b4 struct-field un_tape_busy_cv
' .x 1b2 short-field un_tids_at_suspend
' .x 1b0 byte-field un_silent_skip
' .x 190 struct-field un_suspend_pos
' .x 188 byte-field un_restore_pos
' .x 180 ext-field un_save_blkno
' .x 17c long-field un_save_fileno
' .x 178 long-field un_init_options
' .x 170 ptr-field un_errstats
' .x 169 byte-field un_rsvd_status
' .x 168 byte-field un_comp_page
' .x 160 ptr-field un_swr_token
' .x 158 ptr-field un_hib_tid
' .x 150 ptr-field un_delay_tid
' .d 14c long-field un_specified_mediastate
' .d 148 long-field un_mediastate
' .x 144 struct-field un_state_cv
' .x 140 long-field un_errno
' .x 13c long-field un_minbsize
' .x 138 long-field un_maxbsize
' .x 134 long-field un_bsize
' .x 130 long-field un_maxdma
' .x 128 ptr-field un_rbl
' .x 120 ptr-field un_wl
' .x 118 ptr-field un_wf
' .x 110 ptr-field un_rqs_bp
' .x 108 ptr-field un_stats
' .x 104 long-field un_last_count
' .x 100 long-field un_last_resid
' .x fc long-field un_kbytes_xferred
' .x fb byte-field un_flush_on_errors
' .x fa byte-field un_persist_errors
' .x f9 byte-field un_persistence
' .x f8 byte-field un_max_throttle
' .x f7 byte-field un_last_throttle
' .x f6 byte-field un_throttle
' .x f5 byte-field un_ncmds
' .x f4 byte-field un_sbuf_busy
' .x f3 byte-field un_allow_large_xfer
' .x f2 byte-field un_untagged_qing
' .x f1 byte-field un_arq_enabled
' .x f0 byte-field un_test_append
' .d ec long-field un_read_only
' .x e9 byte-field un_retry_ct
' .x e8 byte-field un_status
' .d e4 long-field un_state
' .d e0 long-field un_laststate
' .d dc long-field un_lastop
' .x d9 byte-field un_curdens
' .x d8 byte-field un_density_known
' .x d4 long-field un_pwr_mgmt
' .x d0 byte-field un_attached
' .x c8 ext-field un_dev
' .x c4 short-field un_fmneeded
' .x c0 long-field un_err_resid
' .x a0 struct-field un_err_pos
' .x 98 long-field un_oflags
' .x 78 struct-field un_pos
' .x 70 ptr-field un_tmpbuf
' .x 68 long-field un_dp_size
' .x 60 ptr-field un_dp
' .x 58 ptr-field un_mspl
' .x 50 ptr-field un_runql
' .x 48 ptr-field un_runqf
' .x 40 ptr-field un_quel
' .x 38 ptr-field un_quef
' .x 30 struct-field un_clscv
' .x 28 ptr-field un_srqbufp
' .x 20 ptr-field un_sbufp
' .x 1a struct-field un_queue_cv
' .x 18 struct-field un_sbuf_cv
' .x 10 ptr-field un_mkr_pkt
' .x 8 ptr-field un_rqs
' .x 0 ptr-field un_sd

kdbg-words definitions
previous

\ end scsi_tape section


vocabulary st_drivetype-words
h# 70 constant st_drivetype-sz
70 ' st_drivetype-words c-struct .st_drivetype
also st_drivetype-words definitions

' .x 6e short-field erase_timeout
' .x 6c short-field unload_timeout
' .x 6a short-field load_timeout
' .x 68 short-field space_timeout
' .x 66 short-field rewind_timeout
' .x 64 short-field io_timeout
' .x 62 short-field non_motion_timeout
' c@ ' .x 4 1 5d array-field mediatype
' .x 5c byte-field default_density
' c@ ' .x 4 1 58 array-field densities
' .x 54 long-field max_wretries
' .x 50 long-field max_rretries
' .x 4c long-field options
' .x 48 long-field bsize
' .x 45 byte-field type
' c@ ' .x 18 1 2d array-field vid
' .x 2c byte-field length
' c@ ' .x 2c 1 0 array-field name

kdbg-words definitions
previous

\ end st_drivetype section


vocabulary ata_controller-words
h# 6e0 constant ata_controller-sz
6e0 ' ata_controller-words c-struct .ata_controller
also ata_controller-words definitions

' .x 6d8 ptr-field reset_chip
' .x 6d0 ptr-field nien_toggle
' .x 6c8 ptr-field power_entry_point
' .x 6c0 ptr-field power_mgmt_initialize
' .x 6b8 ptr-field get_speed_capabilities
' .x 6b0 ptr-field enable_intr
' .x 6a8 ptr-field disable_intr
' .x 6a0 ptr-field enable_channel
' .x 698 ptr-field program_timing_reg
' .x 690 ptr-field get_intr_status
' .x 688 ptr-field clear_interrupt
' .x 680 ptr-field program_read_ahead
' .x 678 ptr-field init_timing_tables
' .x 670 long-field ac_reset_done
' .x 66c long-field ac_power_level
' .x 668 long-field ac_intr_unclaimed
' .x 664 long-field ac_polled_count
' .x 660 long-field ac_polled_finish
' l@ ' .x 8 4 658 array-field ac_speed
' l@ ' .x 8 4 650 array-field ac_saved_dmac_address
' .x 64c byte-field ac_suspended
' c@ ' .x 7 1 645 array-field ac_udmatable
' c@ ' .x 3 1 642 array-field ac_dmawtable
' c@ ' .x 3 1 63f array-field ac_dmartable
' c@ ' .x 5 1 63a array-field ac_piowtable
' c@ ' .x 5 1 635 array-field ac_piortable
' .x 634 byte-field ac_revision
' .x 632 short-field ac_device_id
' .x 630 short-field ac_vendor_id
' x@ ' .x 10 8 620 array-field ac_drvaddr
' x@ ' .x 10 8 610 array-field ac_devctl
' x@ ' .x 10 8 600 array-field ac_altstatus
' x@ ' .x 10 8 5f0 array-field ioaddr2
' x@ ' .x 10 8 5e0 array-field ac_cmd
' x@ ' .x 10 8 5d0 array-field ac_status
' x@ ' .x 10 8 5c0 array-field ac_drvhd
' x@ ' .x 10 8 5b0 array-field ac_hcyl
' x@ ' .x 10 8 5a0 array-field ac_lcyl
' x@ ' .x 10 8 590 array-field ac_sect
' x@ ' .x 10 8 580 array-field ac_count
' x@ ' .x 10 8 570 array-field ac_feature
' x@ ' .x 10 8 560 array-field ac_error
' x@ ' .x 10 8 550 array-field ac_data
' x@ ' .x 10 8 540 array-field ioaddr1
' x@ ' .x 10 8 530 array-field ac_memp
' x@ ' .x 10 8 520 array-field ata_prd_dma_handle
' x@ ' .x 10 8 510 array-field ata_prd_acc_handle
' .x 508 ptr-field ata_cs_addr
' .x 500 ptr-field ata_cs_handle
' .x 4f8 ptr-field ata_conf_addr
' .x 4f0 ptr-field ata_conf_handle
' x@ ' .x 10 8 4e0 array-field ata_devaddr1
' x@ ' .x 10 8 4d0 array-field ata_datap1
' x@ ' .x 10 8 4c0 array-field ata_devaddr
' x@ ' .x 10 8 4b0 array-field ata_datap
' noop ' .x 240 120 270 array-field ac_ccc
' .x 26c long-field ac_atapi_dev_rst_waittime
' .x 268 long-field ac_dcd_options
' .x 260 ptr-field ac_ata_tran
' .x 258 ptr-field ac_atapi_tran
' noop ' .x 200 80 58 array-field ac_drvp
' .x 50 ptr-field ac_iblock
' x@ ' .x 10 8 40 array-field ac_cccp
' x@ ' .x 10 8 30 array-field ac_active
' .x 28 struct-field ac_hba_mutex
' l@ ' .x 8 4 1c array-field ac_pending
' .x 18 long-field ac_actv_chnl
' .x 14 long-field ac_simplex
' .x 10 long-field ac_flags
' .x 8 ptr-field ac_next
' .x 0 ptr-field ac_dip

kdbg-words definitions
previous

\ end ata_controller section


vocabulary ata_drive-words
h# 478 constant ata_drive-sz
478 ' ata_drive-words c-struct .ata_drive
also ata_drive-words definitions

' .x 470 short-field ad_ref
' .x 46e short-field ad_invalid
' .x 46d byte-field ad_run_ultra
' .x 46c byte-field ad_cur_disk_mode
' .x 46a short-field ad_bytes_per_block
' .x 468 short-field ad_block_factor
' .x 467 byte-field ad_wr_cmd
' .x 466 byte-field ad_rd_cmd
' .x 465 byte-field ad_piomode
' .x 464 byte-field ad_dmamode
' .x 460 long-field ad_dcd_options
' .x 260 struct-field ad_inquiry
' .x 250 struct-field ad_address
' .x 220 struct-field ad_device
' .x 21b byte-field ad_cdb_len
' .x 21a byte-field ad_drive_bits
' .x 219 byte-field ad_lun
' .x 218 byte-field ad_targ
' .x 214 long-field ad_channel
' .x 210 long-field ad_flags
' .x 10 struct-field ad_id
' .x 8 ptr-field ad_gtgtp
' .x 0 ptr-field ad_ctlp

kdbg-words definitions
previous

\ end ata_drive section


vocabulary ata_pkt-words
h# f8 constant ata_pkt-sz
f8 ' ata_pkt-words c-struct .ata_pkt
also ata_pkt-words definitions

' .x f0 ptr-field ap_orig_addr
' .x e8 ptr-field ap_buf_addr
' .x e4 long-field ap_count_bytes
' .x e1 byte-field ap_cdb_pad
' .x e0 byte-field ap_cdb_len
' .x dc long-field ap_bytes_per_block
' .x d9 byte-field ap_scb
' .x d8 byte-field ap_cdb
' .x d0 ptr-field ap_complete
' .x c8 ptr-field ap_intr
' .x c0 ptr-field ap_start
' .x b8 ext-field ap_cnt
' .x b0 long-field ap_addr
' .x af byte-field ap_error
' .x ae byte-field ap_status
' .x ad byte-field ap_cmd
' .x ac byte-field ap_hd
' .x ab byte-field ap_hicyl
' .x aa byte-field ap_lwcyl
' .x a9 byte-field ap_count
' .x a8 byte-field ap_sec
' .x a4 long-field ap_targ
' .x a0 long-field ap_chno
' .x 98 ptr-field ap_v_addr
' .x 90 long-field ap_flags
' .x 0 struct-field ap_gcmd

kdbg-words definitions
previous

\ end ata_pkt section


vocabulary cmd_ctl-words
h# 120 constant cmd_ctl-sz
120 ' cmd_ctl-words c-struct .cmd_ctl
also cmd_ctl-words definitions

' .x 118 ptr-field ccc_timeout_func
' .x 110 ptr-field ccc_get_status
' .x 108 ptr-field ccc_process_intr
' .x 100 ptr-field ccc_hba_complete
' .x f8 ptr-field ccc_hba_start
' .x f0 ptr-field ccc_sg_func
' .x e8 ptr-field ccc_ccbfree
' .x e0 ptr-field ccc_ccballoc
' .x d8 ptr-field ccc_hba_handle
' .x c0 struct-field ccc_doneq
' .x b8 struct-field ccc_doneq_mutex
' .x b0 ptr-field ccc_doneq_softid
' .x 80 struct-field ccc_waitq
' .x 78 struct-field ccc_waitq_mutex
' .x 68 struct-field ccc_devs
' .x 60 long-field ccc_hba_pollmode
' .x 58 struct-field ccc_hba_mutex
' .x 50 ptr-field ccc_soft_id
' .x 48 ptr-field ccc_iblock
' .x 40 ptr-field ccc_hba_dip
' .x 28 struct-field ccc_activel
' .x 20 struct-field ccc_activel_mutex
' .x 18 long-field ccc_chno
' .x 10 ptr-field ccc_label
' .x 8 ptr-field ccc_tmrp
' .x 0 ptr-field ccc_nextp

kdbg-words definitions
previous

\ end cmd_ctl section


vocabulary ghd_cmd-words
h# 90 constant ghd_cmd-sz
90 ' ghd_cmd-words c-struct .ghd_cmd
also ghd_cmd-words definitions

' .x 88 ext-field cmd_resid
' .x 80 ext-field cmd_totxfer
' .x 78 long-field cmd_dma_flags
' .x 70 ptr-field cmd_dmaseg
' .x 68 ptr-field cmd_dmawin
' .x 60 ptr-field cmd_dma_handle
' .x 58 ptr-field cmd_gtgtp
' .x 50 ptr-field cmd_pktp
' .x 48 ptr-field cmd_private
' .x 40 ext-field cmd_timeout
' .x 38 ext-field cmd_start_time
' .x 20 struct-field cmd_timer_link
' .x 1c long-field cmd_waitq_level
' .d 18 long-field cmd_state
' .x 0 struct-field cmd_q

kdbg-words definitions
previous

\ end ghd_cmd section


vocabulary udf_fid-words
h# c constant udf_fid-sz
c ' udf_fid-words c-struct .udf_fid
also udf_fid-words definitions

' .x 8 long-field udfid_uinq_lo
' .x 4 long-field udfid_icb_lbn
' .x 2 short-field udfid_prn
' .x 0 short-field udfid_len

kdbg-words definitions
previous

\ end udf_fid section


vocabulary ud_inode-words
h# 150 constant ud_inode-sz
150 ' ud_inode-words c-struct .ud_inode
also ud_inode-words definitions

' .x 14c long-field i_marker3
' .x 148 long-field i_max_emb
' .x 144 long-field i_data_off
' .x 140 long-field i_marker2
' .x 138 ext-field i_rdev
' .x 130 ptr-field i_map
' .x 128 ext-field i_mapcnt
' .x 120 ext-field i_nextr
' .x 11c long-field i_seq
' .x 118 long-field i_marker1
' .x 114 long-field i_minor
' .x 110 long-field i_major
' .x 108 struct-field i_tlock
' .x 100 ext-field i_writes
' .x f8 ext-field i_nextrio
' .x f0 ext-field i_delayoff
' .x e8 ext-field i_delaylen
' .x e0 struct-field i_ctime
' .x d8 struct-field i_mtime
' .x d0 struct-field i_atime
' .x c8 ext-field i_uniqid
' .x c0 ext-field i_lbr
' .x b8 ext-field i_size
' .x b4 long-field i_maxent
' .x b0 long-field i_nlink
' .x ac long-field i_gid
' .x a8 long-field i_uid
' .x a6 short-field i_perm
' .x a4 short-field i_char
' .d a0 long-field i_type
' .x 9c long-field i_cur_max_ext
' .x 98 long-field i_con_read
' .x 94 long-field i_con_used
' .x 90 long-field i_con_count
' .x 88 ptr-field i_con
' .x 80 struct-field i_con_lock
' .x 78 ptr-field i_ext
' .x 74 long-field i_ext_used
' .x 70 long-field i_ext_count
' .x 6e short-field i_desc_type
' .x 6c short-field i_astrat
' .x 68 long-field i_icb_block
' .x 64 long-field i_flag
' .x 62 struct-field i_wrcv
' .x 60 short-field i_icb_prn
' .x 58 ext-field i_icb_lbano
' .x 50 ext-field i_diroff
' .x 48 ext-field i_dev
' .x 40 struct-field i_contents
' .x 38 struct-field i_rwlock
' .x 30 ptr-field i_udf
' .x 28 ptr-field i_devvp
' .x 20 ptr-field i_vnode
' .x 18 ptr-field i_freeb
' .x 10 ptr-field i_freef
' .x 8 ptr-field i_back
' .x 0 ptr-field i_forw

kdbg-words definitions
previous

\ end ud_inode section


vocabulary ud_part-words
h# 78 constant ud_part-sz
78 ' ud_part-words c-struct .ud_part
also ud_part-words definitions

' x@ ' .x 40 8 38 array-field udp_cache
' .x 30 long-field udp_cache_count
' .x 2c long-field udp_last_alloc
' .x 28 long-field udp_nblocks
' .x 24 long-field udp_nfree
' .x 20 long-field udp_freed_len
' .x 1c long-field udp_freed_loc
' .x 18 long-field udp_unall_len
' .x 14 long-field udp_unall_loc
' .x 10 long-field udp_length
' .x c long-field udp_start
' .x 8 long-field udp_access
' .x 4 long-field udp_seqno
' .x 2 short-field udp_number
' .x 0 short-field udp_flags

kdbg-words definitions
previous

\ end ud_part section


vocabulary ud_map-words
h# 88 constant ud_map-sz
88 ' ud_map-words c-struct .ud_map
also ud_map-words definitions

' x@ ' .x 20 8 68 array-field udm_spaddr
' x@ ' .x 20 8 48 array-field udm_sbp
' l@ ' .x 10 4 34 array-field udm_loc
' .x 30 long-field udm_spsz
' .x 2c long-field udm_nspm
' .x 28 long-field udm_plen
' .x 20 ptr-field udm_addr
' .x 18 ptr-field udm_bp
' .x 10 ptr-field udm_count
' .x c long-field udm_nent
' .x 8 long-field udm_vat_icb
' .x 6 short-field udm_pn
' .x 4 short-field udm_vsn
' .x 0 long-field udm_flags

kdbg-words definitions
previous

\ end ud_map section


vocabulary udf_vfs-words
h# 150 constant udf_vfs-sz
150 ' udf_vfs-words c-struct .udf_vfs
also udf_vfs-words definitions

' .x 148 ext-field udf_root_blkno
' .x 144 long-field udf_ricb_len
' .x 140 long-field udf_ricb_loc
' .x 13c short-field udf_ricb_prn
' .x 138 long-field udf_fsd_len
' .x 134 long-field udf_fsd_loc
' .x 130 short-field udf_fsd_prn
' .x 12c long-field udf_iseq_len
' .x 128 long-field udf_iseq_loc
' .x 124 long-field udf_rvds_len
' .x 120 long-field udf_rvds_loc
' .x 11c long-field udf_mvds_len
' .x 118 long-field udf_mvds_loc
' .x 110 ptr-field udf_lvid
' .x 108 ptr-field udf_lvd
' .x 100 ptr-field udf_pvd
' .x f8 struct-field udf_rename_lck
' .x f0 struct-field udf_lock
' .x ec long-field udf_clean
' .x e8 long-field udf_mod
' .x e0 ext-field udf_time
' .x d8 long-field udf_mawrite
' .x d4 long-field udf_miwrite
' .x d0 long-field udf_miread
' .x cc long-field udf_ndirs
' .x c8 long-field udf_nfiles
' .x c0 ext-field udf_maxuniq
' .x bc long-field udf_totalblks
' .x b8 long-field udf_freeblks
' .x b4 long-field udf_mark_bad
' .x b0 long-field udf_fragmented
' .x a8 ptr-field udf_maps
' .x a0 long-field udf_nmaps
' .x 98 ptr-field udf_parts
' .x 90 long-field udf_npart
' .x 8c long-field udf_l2d_shift
' .x 88 long-field udf_l2b_shift
' .x 84 long-field udf_lbmask
' .x 80 long-field udf_lbsize
' .x 7c short-field udf_tsno
' c@ ' .x 20 1 5c array-field udf_volid
' .x 58 long-field udf_maxfbits
' .x 50 ext-field udf_maxfsize
' .x 4c long-field udf_wrclustsz
' .x 48 long-field udf_rdclustsz
' .x 44 long-field udf_mtype
' .x 40 long-field udf_flags
' .x 38 ptr-field udf_fsmnt
' .x 30 ptr-field udf_devvp
' .x 28 ptr-field udf_root
' .x 20 ptr-field udf_iseq
' .x 18 ptr-field udf_vds
' .x 10 ptr-field udf_wnext
' .x 8 ptr-field udf_next
' .x 0 ptr-field udf_vfs

kdbg-words definitions
previous

\ end udf_vfs section


vocabulary icb_ext-words
h# 20 constant icb_ext-sz
20 ' icb_ext-words c-struct .icb_ext
also icb_ext-words definitions

' .x 18 long-field ib_marker2
' .x 14 long-field ib_marker1
' .x 10 long-field ib_count
' .x 8 ext-field ib_offset
' .x 4 long-field ib_block
' .x 2 short-field ib_prn
' .x 0 short-field ib_flags

kdbg-words definitions
previous

\ end icb_ext section


vocabulary icommon-words
h# 80 constant icommon-sz
80 ' icommon-words c-struct .icommon
also icommon-words definitions

' .x 7c long-field ic_oeftflag
' .x 78 long-field ic_gid
' .x 74 long-field ic_uid
' .x 70 long-field ic_shadow
' .x 6c long-field ic_gen
' .x 68 long-field ic_blocks
' .x 64 long-field ic_flags
' l@ ' .x c 4 58 array-field ic_ib
' l@ ' .x 30 4 28 array-field ic_db
' .x 20 struct-field ic_ctime
' .x 18 struct-field ic_mtime
' .x 10 struct-field ic_atime
' .x 8 ext-field ic_lsize
' .x 6 short-field ic_sgid
' .x 4 short-field ic_suid
' .x 2 short-field ic_nlink
' .x 0 short-field ic_smode

kdbg-words definitions
previous

\ end icommon section


vocabulary inode-words
h# 170 constant inode-sz
170 ' inode-words c-struct .inode
also inode-words definitions

' .x 168 ptr-field i_writer
' .x 158 struct-field i_danchor
' .x 150 ptr-field i_ufs_acl
' .x 148 ext-field i_doff
' .x 140 struct-field i_wrcv
' .x 138 ext-field i_writes
' .x 130 ext-field i_nextrio
' .x 128 ext-field i_delayoff
' .x 120 ext-field i_delaylen
' .x 118 ext-field i_rdev
' .x 110 ptr-field i_map
' .x 108 ext-field i_mapcnt
' .d 100 long-field i_cachedir
' .x fc long-field i_seq
' .x f8 long-field i_flag
' .x f0 ext-field i_nextr
' .x e8 struct-field i_tlock
' .x e0 struct-field i_contents
' .x d8 struct-field i_rwlock
' .x d0 ptr-field i_dquot
' .x c8 ptr-field i_ufsvfs
' .x c0 ext-field i_diroff
' .x b8 ext-field i_number
' .x b0 ext-field i_dev
' .x a8 ptr-field i_devvp
' .x a0 ptr-field i_vnode
' .x 20 struct-field i_ic
' .x 18 ptr-field i_freeb
' .x 10 ptr-field i_freef
' x@ ' .x 10 8 0 array-field i_chain

kdbg-words definitions
previous

\ end inode section


vocabulary ufs_q-words
h# 28 constant ufs_q-sz
28 ' ufs_q-words c-struct .ufs_q
also ufs_q-words definitions

' .x 20 struct-field uq_mutex
' .x 18 ptr-field uq_threadp
' .x 16 struct-field uq_cv
' .x 14 short-field uq_flags
' .x 10 long-field uq_hiwat
' .x c long-field uq_lowat
' .x 8 long-field uq_ne
' .x 0 struct-field _uq_head

kdbg-words definitions
previous

\ end ufs_q section


vocabulary ufsvfs-words
h# 1c0 constant ufsvfs-sz
1c0 ' ufsvfs-words c-struct .ufsvfs
also ufsvfs-words definitions

' .x 1b0 struct-field vfs_delete_info
' .x 1ac long-field vfs_validfs
' .x 1a8 long-field vfs_nolog_si
' .x 1a0 ext-field vfs_lastwhinetime
' .x 198 ptr-field vfs_snapshot
' .x 190 long-field vfs_noatime
' .x 188 ptr-field vfs_log
' .x 180 ext-field vfs_dev
' .x 178 long-field vfs_dfritime
' .x 170 ext-field vfs_iotstamp
' .x 16c long-field vfs_forcedirectio
' .x 168 long-field vfs_minfrags
' .x 158 struct-field vfs_fsfx
' .x 154 long-field vfs_iotransz
' .x 150 long-field vfs_ioclustsz
' .x 14c long-field vfs_nindiroffset
' .x 148 long-field vfs_nindirshift
' .x 140 ext-field vfs_avgbfree
' .x 138 ext-field vfs_dirsize
' .x 130 ext-field vfs_maxacl
' .x 12c long-field vfs_domatamap
' .x 128 long-field vfs_dontblock
' .x 124 long-field vfs_syncdir
' .x 120 long-field vfs_nosetsec
' .x 11c long-field vfs_nointr
' .x 118 long-field vfs_dio
' .x b0 struct-field vfs_ulockfs
' .x a8 struct-field vfs_lock
' .x a0 long-field vfs_nrpos
' .x 78 struct-field vfs_reclaim
' .x 50 struct-field vfs_delete
' .x 48 struct-field vfs_dqrwlock
' .x 44 long-field vfs_ftimelimit
' .x 40 long-field vfs_btimelimit
' .x 38 ptr-field vfs_qinod
' .x 32 short-field vfs_qflags
' .x 30 short-field vfs_lfflags
' .x 28 ptr-field vfs_devvp
' .x 20 ptr-field vfs_bufp
' .x 18 ptr-field vfs_root
' .x 10 ptr-field vfs_wnext
' .x 8 ptr-field vfs_next
' .x 0 ptr-field vfs_vfs

kdbg-words definitions
previous

\ end ufsvfs section


vocabulary csum-words
h# 10 constant csum-sz
10 ' csum-words c-struct .csum
also csum-words definitions

' .x c long-field cs_nffree
' .x 8 long-field cs_nifree
' .x 4 long-field cs_nbfree
' .x 0 long-field cs_ndir

kdbg-words definitions
previous

\ end csum section


vocabulary fs-words
h# 568 constant fs-sz
568 ' fs-words c-struct .fs
also fs-words definitions

' c@ ' .x 1 1 560 array-field fs_space
' .x 55c long-field fs_magic
' .x 558 long-field fs_rotbloff
' .x 554 long-field fs_postbloff
' .x 550 long-field fs_nrpos
' .x 54c long-field fs_postblformat
' .x 544 struct-field fs_qfmask
' .x 53c struct-field fs_qbmask
' .x 538 long-field fs_state
' .x 534 long-field fs_sparecon2
' .x 530 long-field fs_reclaim
' .x 52c long-field fs_logbno
' .x 528 long-field fs_version
' l@ ' .x cc 4 45c array-field fs_sparecon
' noop ' .x 100 10 35c array-field fs_opostbl
' .x 358 long-field fs_cpc
' .x 2d8 struct-field fs_u
' .x 2d4 long-field fs_cgrotor
' c@ ' .x 200 1 d4 array-field fs_fsmnt
' .x d3 byte-field fs_flags
' .x d2 byte-field fs_ronly
' .x d1 byte-field fs_clean
' .x d0 byte-field fs_fmod
' .x c0 struct-field fs_cstotal
' .x bc long-field fs_fpg
' .x b8 long-field fs_ipg
' .x b4 long-field fs_cpg
' .x b0 long-field fs_ncyl
' .x ac long-field fs_spc
' .x a8 long-field fs_nsect
' .x a4 long-field fs_ntrak
' .x a0 long-field fs_cgsize
' .x 9c long-field fs_cssize
' .x 98 long-field fs_csaddr
' l@ ' .x 8 4 90 array-field fs_id
' .x 8c long-field fs_trackskew
' .x 88 long-field fs_si
' .x 84 long-field fs_npsect
' .x 80 long-field fs_optim
' .x 7c long-field fs_nspf
' .x 78 long-field fs_inopb
' .x 74 long-field fs_nindir
' .x 70 long-field fs_csshift
' .x 6c long-field fs_csmask
' .x 68 long-field fs_sbsize
' .x 64 long-field fs_fsbtodb
' .x 60 long-field fs_fragshift
' .x 5c long-field fs_maxbpg
' .x 58 long-field fs_maxcontig
' .x 54 long-field fs_fshift
' .x 50 long-field fs_bshift
' .x 4c long-field fs_fmask
' .x 48 long-field fs_bmask
' .x 44 long-field fs_rps
' .x 40 long-field fs_rotdelay
' .x 3c long-field fs_minfree
' .x 38 long-field fs_frag
' .x 34 long-field fs_fsize
' .x 30 long-field fs_bsize
' .x 2c long-field fs_ncg
' .x 28 long-field fs_dsize
' .x 24 long-field fs_size
' .x 20 long-field fs_time
' .x 1c long-field fs_cgmask
' .x 18 long-field fs_cgoffset
' .x 14 long-field fs_dblkno
' .x 10 long-field fs_iblkno
' .x c long-field fs_cblkno
' .x 8 long-field fs_sblkno
' .x 4 long-field fs_rolled
' .x 0 long-field fs_link

kdbg-words definitions
previous

\ end fs section


vocabulary cg-words
h# ac constant cg-sz
ac ' cg-words c-struct .cg
also cg-words definitions

' c@ ' .x 1 1 a8 array-field cg_space
' l@ ' .x 40 4 68 array-field cg_sparecon
' .x 64 long-field cg_nextfreeoff
' .x 60 long-field cg_freeoff
' .x 5c long-field cg_iusedoff
' .x 58 long-field cg_boff
' .x 54 long-field cg_btotoff
' l@ ' .x 20 4 34 array-field cg_frsum
' .x 30 long-field cg_irotor
' .x 2c long-field cg_frotor
' .x 28 long-field cg_rotor
' .x 18 struct-field cg_cs
' .x 14 long-field cg_ndblk
' .x 12 short-field cg_niblk
' .x 10 short-field cg_ncyl
' .x c long-field cg_cgx
' .x 8 long-field cg_time
' .x 4 long-field cg_magic
' .x 0 long-field cg_link

kdbg-words definitions
previous

\ end cg section


vocabulary cpudrv_pm_spd-words
h# 38 constant cpudrv_pm_spd-sz
38 ' cpudrv_pm_spd-words c-struct .cpudrv_pm_spd
also cpudrv_pm_spd-words definitions

' .x 30 long-field pm_level
' .x 2c long-field user_lwm
' .x 28 long-field user_hwm
' .x 24 long-field idle_blwm_cnt
' .x 20 long-field idle_bhwm_cnt
' .x 1c long-field idle_lwm
' .x 18 long-field idle_hwm
' .x 10 ptr-field up_spd
' .x 8 ptr-field down_spd
' .x 4 long-field quant_cnt
' .x 0 long-field speed

kdbg-words definitions
previous

\ end cpudrv_pm_spd section


vocabulary cpudrv_pm-words
h# 68 constant cpudrv_pm-sz
68 ' cpudrv_pm-words c-struct .cpudrv_pm
also cpudrv_pm-words definitions

' .d 64 long-field pm_started
' .x 60 struct-field timeout_cv
' .x 58 struct-field timeout_lock
' .x 50 long-field timeout_count
' .x 48 ptr-field timeout_id
' .x 40 ptr-field tq
' .x 38 long-field pm_busycnt
' .x 30 ext-field lastquan_ticks
' x@ ' .x 18 8 18 array-field lastquan_mstate
' .x 10 long-field num_spd
' .x 8 ptr-field cur_spd
' .x 0 ptr-field head_spd

kdbg-words definitions
previous

\ end cpudrv_pm section


vocabulary cpudrv_devstate-words
h# 88 constant cpudrv_devstate-sz
88 ' cpudrv_devstate-words c-struct .cpudrv_devstate
also cpudrv_devstate-words definitions

' .x 80 struct-field lock
' .x 18 struct-field cpudrv_pm
' .x 10 long-field cpu_id
' .x 8 ptr-field cp
' .x 0 ptr-field dip

kdbg-words definitions
previous

\ end cpudrv_devstate section


vocabulary ugen_skel_state_t-words
h# 18 constant ugen_skel_state_t-sz
18 ' ugen_skel_state_t-words c-struct .ugen_skel_state_t
also ugen_skel_state_t-words definitions

' .x 10 ptr-field ugen_skel_hdl
' .x 8 long-field ugen_skel_instance
' .x 0 ptr-field ugen_skel_dip

kdbg-words definitions
previous

\ end ugen_skel_state_t section


vocabulary usb_mid-words
h# 90 constant usb_mid-sz
90 ' usb_mid-words c-struct .usb_mid
also usb_mid-words definitions

' .x 88 ptr-field mi_ugen_hdl
' .x 80 ptr-field mi_ndi_event_hdl
' .x 78 ptr-field mi_dev_data
' .x 70 ptr-field mi_log_handle
' .x 68 long-field mi_attach_count
' .x 60 ext-field mi_cd_list_length
' .d 58 long-field mi_removed_children
' .x 50 ptr-field mi_children_dips
' .x 48 ptr-field mi_children_ifs
' .x 40 ptr-field mi_child_events
' .x 38 long-field mi_n_ifs
' .x 34 long-field mi_dev_state
' .x 30 long-field mi_softstate
' .x 28 ptr-field mi_usba_device
' .x 20 ptr-field mi_pm
' .x 18 ptr-field mi_dip
' .x 10 struct-field mi_mutex
' .x 8 long-field mi_ugen_open_count
' .x 4 long-field mi_init_state
' .x 0 long-field mi_instance

kdbg-words definitions
previous

\ end usb_mid section


vocabulary usb_ia-words
h# 60 constant usb_ia-sz
60 ' usb_ia-words c-struct .usb_ia
also usb_ia-words definitions

' .x 58 ptr-field ia_ndi_event_hdl
' .x 50 ptr-field ia_dev_data
' .x 48 ptr-field ia_log_handle
' .x 40 ext-field ia_cd_list_length
' .x 38 ptr-field ia_children_dips
' .x 30 ptr-field ia_child_events
' .x 28 long-field ia_n_ifs
' .x 24 long-field ia_first_if
' .x 20 long-field ia_dev_state
' .x 18 ptr-field ia_pm
' .x 10 ptr-field ia_dip
' .x 8 struct-field ia_mutex
' .x 4 long-field ia_init_state
' .x 0 long-field ia_instance

kdbg-words definitions
previous

\ end usb_ia section


vocabulary usba_pipe_handle_data-words
h# b8 constant usba_pipe_handle_data-sz
b8 ' usba_pipe_handle_data-words c-struct .usba_pipe_handle_data
also usba_pipe_handle_data-words definitions

' .x b4 long-field p_spec_flag
' .x b0 long-field p_soft_intr
' .x 88 struct-field p_cb_queue
' .x 80 ptr-field p_thread_id
' .x 78 ptr-field p_taskq
' .x 70 ptr-field p_usba_private
' .x 68 long-field p_req_count
' .x 60 ptr-field p_client_private
' .x 58 ptr-field p_hcd_private
' .x 50 struct-field p_mutex
' .x 48 ptr-field p_dip
' .x 3a struct-field p_ep
' .x 38 struct-field p_policy
' .x 30 ptr-field p_usba_device
' .x 8 struct-field p_queue
' .x 0 ptr-field p_ph_impl

kdbg-words definitions
previous

\ end usba_pipe_handle_data section


vocabulary usb_pipe_policy-words
h# 1 constant usb_pipe_policy-sz
1 ' usb_pipe_policy-words c-struct .usb_pipe_policy
also usb_pipe_policy-words definitions

' .x 0 byte-field pp_max_async_reqs

kdbg-words definitions
previous

\ end usb_pipe_policy section


vocabulary usba_device-words
h# a30 constant usba_device-sz
a30 ' usba_device-words c-struct .usba_device
also usba_device-words definitions

' c@ ' .x 20 1 a10 array-field usb_shared_taskq_ref_count
' x@ ' .x 100 8 910 array-field usb_shared_taskq
' .x 908 ptr-field usb_client_ev_cb_list
' .x 8e0 struct-field usb_client_dev_data_list
' .x 8d8 ptr-field usb_client_attach_list
' .x 8d0 ptr-field usb_client_flags
' .x 8c8 ptr-field usb_evdata
' .x 8c0 ptr-field resume_cookie
' .x 8b8 ptr-field suspend_cookie
' .x 8b0 ptr-field ins_cookie
' .x 8a8 ptr-field rm_cookie
' .x 880 struct-field usb_allocated
' .x 87c long-field usb_ref_count
' .x 878 short-field usb_pwr_from_hub
' .x 870 ptr-field usb_wireless_data
' .d 868 long-field usb_is_wireless
' .d 864 long-field usb_is_wa
' .x 861 byte-field usb_n_ifs
' .x 860 byte-field usb_n_cfgs
' .x 858 ptr-field usb_cfg_str_descr
' .x 850 long-field usb_active_cfg_ndx
' .x 84c long-field usb_cfg_value
' .x 848 long-field usb_cfg_array_len_length
' .x 840 ptr-field usb_cfg_array_len
' .x 838 long-field usb_cfg_array_length
' .x 830 ptr-field usb_cfg_array
' l@ ' .x 80 4 7b0 array-field usb_hs_hub_bandwidth
' .x 7ac long-field usb_hs_hub_min_bandwidth
' .x 7aa short-field usb_hs_hub_port
' .x 7a8 byte-field usb_hs_hub_addr
' .x 7a0 ptr-field usb_hs_hub_usba_dev
' .x 79a short-field usb_port
' .x 798 byte-field usb_port_status
' .x 790 ptr-field usb_preferred_driver
' .x 788 ptr-field usb_serialno_str
' .x 780 ptr-field usb_product_str
' .x 778 ptr-field usb_mfg_str
' .x 770 ext-field usb_cfg_length
' .x 768 ptr-field usb_cfg
' .x 760 ptr-field usb_dev_descr
' .x 758 ptr-field usb_root_hubd
' .x 750 ptr-field usb_root_hub_dip
' .x 749 byte-field usb_no_cpr
' .x 748 byte-field usb_addr
' .x 740 ptr-field usb_hubdi
' .x 738 ptr-field usb_hcdi_ops
' .x 730 ptr-field usb_dip
' .x 728 struct-field usb_mutex
' noop ' .x 700 38 28 array-field usb_ph_list
' .x 0 struct-field usb_device_list

kdbg-words definitions
previous

\ end usba_device section


vocabulary usba_ph_impl-words
h# 38 constant usba_ph_impl-sz
38 ' usba_ph_impl-words c-struct .usba_ph_impl
also usba_ph_impl-words definitions

' .x 30 long-field usba_ph_state_changing
' .d 2c long-field usba_ph_state
' .x 28 long-field usba_ph_ref_count
' .x 24 long-field usba_ph_flags
' .x 20 struct-field usba_ph_policy
' .x 18 struct-field usba_ph_ep
' .x 10 ptr-field usba_ph_dip
' .x 8 ptr-field usba_ph_data
' .x 0 struct-field usba_ph_mutex

kdbg-words definitions
previous

\ end usba_ph_impl section


vocabulary usba_hcdi_ops-words
h# d0 constant usba_hcdi_ops-sz
d0 ' usba_hcdi_ops-words c-struct .usba_hcdi_ops
also usba_hcdi_ops-words definitions

' .x c8 ptr-field usba_hcdi_console_output_exit
' .x c0 ptr-field usba_hcdi_console_write
' .x b8 ptr-field usba_hcdi_console_output_enter
' .x b0 ptr-field usba_hcdi_console_output_fini
' .x a8 ptr-field usba_hcdi_console_output_init
' .x a0 ptr-field usba_hcdi_console_input_exit
' .x 98 ptr-field usba_hcdi_console_read
' .x 90 ptr-field usba_hcdi_console_input_enter
' .x 88 ptr-field usba_hcdi_console_input_fini
' .x 80 ptr-field usba_hcdi_console_input_init
' .x 78 ptr-field usba_hcdi_get_max_isoc_pkts
' .x 70 ptr-field usba_hcdi_get_current_frame_number
' .x 68 ptr-field usba_hcdi_pipe_stop_isoc_polling
' .x 60 ptr-field usba_hcdi_pipe_isoc_xfer
' .x 58 ptr-field usba_hcdi_pipe_stop_intr_polling
' .x 50 ptr-field usba_hcdi_pipe_intr_xfer
' .x 48 ptr-field usba_hcdi_pipe_bulk_xfer
' .x 40 ptr-field usba_hcdi_bulk_transfer_size
' .x 38 ptr-field usba_hcdi_pipe_ctrl_xfer
' .x 30 ptr-field usba_hcdi_pipe_reset_data_toggle
' .x 28 ptr-field usba_hcdi_pipe_reset
' .x 20 ptr-field usba_hcdi_pipe_close
' .x 18 ptr-field usba_hcdi_pipe_open
' .x 10 ptr-field usba_hcdi_pm_support
' .x 8 ptr-field usba_hcdi_dip
' .x 0 long-field usba_hcdi_ops_version

kdbg-words definitions
previous

\ end usba_hcdi_ops section


vocabulary usba_hcdi-words
h# d0 constant usba_hcdi-sz
d0 ' usba_hcdi-words c-struct .usba_hcdi
also usba_hcdi-words definitions

' .x c8 long-field hcdi_ugen_default_binding
' .x c0 ptr-field hcdi_error_stats
' .x b8 ptr-field hcdi_hotplug_stats
' .x b0 byte-field hcdi_device_count
' .x a8 ext-field hcdi_hotplug_failure
' .x a0 ext-field hcdi_hotplug_success
' .x 98 ext-field hcdi_total_hotplug_failure
' .x 90 ext-field hcdi_total_hotplug_success
' .x 88 ptr-field hcdi_soft_iblock_cookie
' .x 80 ptr-field hcdi_iblock_cookie
' .x 78 struct-field hcdi_mutex
' .x 70 ptr-field hcdi_log_handle
' c@ ' .x 10 1 60 array-field hcdi_usb_address_in_use
' .x 58 ptr-field hcdi_usba_device
' .x 55 byte-field hcdi_max_burst_size
' .x 54 byte-field hcdi_min_burst_size
' .x 50 long-field hcdi_min_xfer
' .x 28 struct-field hcdi_cb_queue
' .x 20 ptr-field hcdi_softint_hdl
' .x 18 long-field hcdi_flags
' .x 10 ptr-field hcdi_ops
' .x 8 ptr-field hcdi_dma_attr
' .x 0 ptr-field hcdi_dip

kdbg-words definitions
previous

\ end usba_hcdi section


vocabulary usba_hubdi-words
h# 38 constant usba_hubdi-sz
38 ' usba_hubdi-words c-struct .usba_hubdi
also usba_hubdi-words definitions

' .x 30 long-field hubdi_flags
' .x 28 ptr-field hubdi_dip
' .x 0 struct-field hubdi_list

kdbg-words definitions
previous

\ end usba_hubdi section


vocabulary usb_dev_descr-words
h# 12 constant usb_dev_descr-sz
12 ' usb_dev_descr-words c-struct .usb_dev_descr
also usb_dev_descr-words definitions

' .x 11 byte-field bNumConfigurations
' .x 10 byte-field iSerialNumber
' .x f byte-field iProduct
' .x e byte-field iManufacturer
' .x c short-field bcdDevice
' .x a short-field idProduct
' .x 8 short-field idVendor
' .x 7 byte-field bMaxPacketSize0
' .x 6 byte-field bDeviceProtocol
' .x 5 byte-field bDeviceSubClass
' .x 4 byte-field bDeviceClass
' .x 2 short-field bcdUSB
' .x 1 byte-field bDescriptorType
' .x 0 byte-field bLength

kdbg-words definitions
previous

\ end usb_dev_descr section


vocabulary usb_cfg_descr-words
h# a constant usb_cfg_descr-sz
a ' usb_cfg_descr-words c-struct .usb_cfg_descr
also usb_cfg_descr-words definitions

' .x 8 byte-field bMaxPower
' .x 7 byte-field bmAttributes
' .x 6 byte-field iConfiguration
' .x 5 byte-field bConfigurationValue
' .x 4 byte-field bNumInterfaces
' .x 2 short-field wTotalLength
' .x 1 byte-field bDescriptorType
' .x 0 byte-field bLength

kdbg-words definitions
previous

\ end usb_cfg_descr section


vocabulary usba_cfg_pwr_descr-words
h# 12 constant usba_cfg_pwr_descr-sz
12 ' usba_cfg_pwr_descr-words c-struct .usba_cfg_pwr_descr
also usba_cfg_pwr_descr-words definitions

' .x 10 short-field TransitionTimeFromD3
' .x e short-field TransitionTimeFromD2
' .x c short-field TransitionTimeFromD1
' .x b byte-field bSelfPowerSavingD3
' .x a byte-field bBusPowerSavingD3
' .x 9 byte-field bSelfPowerSavingD2
' .x 8 byte-field bBusPowerSavingD2
' .x 7 byte-field bSelfPowerSavingD1
' .x 6 byte-field bBusPowerSavingD1
' .x 5 byte-field bPowerSummaryId
' .x 4 byte-field SelfPowerConsumedD0_h
' .x 2 short-field SelfPowerConsumedD0_l
' .x 1 byte-field bDescriptorType
' .x 0 byte-field bLength

kdbg-words definitions
previous

\ end usba_cfg_pwr_descr section


vocabulary usb_if_descr-words
h# 9 constant usb_if_descr-sz
9 ' usb_if_descr-words c-struct .usb_if_descr
also usb_if_descr-words definitions

' .x 8 byte-field iInterface
' .x 7 byte-field bInterfaceProtocol
' .x 6 byte-field bInterfaceSubClass
' .x 5 byte-field bInterfaceClass
' .x 4 byte-field bNumEndpoints
' .x 3 byte-field bAlternateSetting
' .x 2 byte-field bInterfaceNumber
' .x 1 byte-field bDescriptorType
' .x 0 byte-field bLength

kdbg-words definitions
previous

\ end usb_if_descr section


vocabulary usb_ia_descr-words
h# 8 constant usb_ia_descr-sz
8 ' usb_ia_descr-words c-struct .usb_ia_descr
also usb_ia_descr-words definitions

' .x 7 byte-field iFunction
' .x 6 byte-field bFunctionProtocol
' .x 5 byte-field bFunctionSubClass
' .x 4 byte-field bFunctionClass
' .x 3 byte-field bInterfaceCount
' .x 2 byte-field bFirstInterface
' .x 1 byte-field bDescriptorType
' .x 0 byte-field bLength

kdbg-words definitions
previous

\ end usb_ia_descr section


vocabulary usba_if_pwr_descr-words
h# 10 constant usba_if_pwr_descr-sz
10 ' usba_if_pwr_descr-words c-struct .usba_if_pwr_descr
also usba_if_pwr_descr-words definitions

' .x e short-field TransitionTimeFromD3
' .x c short-field TransitionTimeFromD2
' .x a short-field TransitionTimeFromD1
' .x 8 byte-field bSelfPowerSavingD3
' .x 7 byte-field bBusPowerSavingD3
' .x 6 byte-field bSelfPowerSavingD2
' .x 5 byte-field bBusPowerSavingD2
' .x 4 byte-field bSelfPowerSavingD1
' .x 3 byte-field bBusPowerSavingD1
' .x 2 byte-field bmCapabilitiesFlags
' .x 1 byte-field bDescriptorType
' .x 0 byte-field bLength

kdbg-words definitions
previous

\ end usba_if_pwr_descr section


vocabulary usb_ep_descr-words
h# 8 constant usb_ep_descr-sz
8 ' usb_ep_descr-words c-struct .usb_ep_descr
also usb_ep_descr-words definitions

' .x 6 byte-field bInterval
' .x 4 short-field wMaxPacketSize
' .x 3 byte-field bmAttributes
' .x 2 byte-field bEndpointAddress
' .x 1 byte-field bDescriptorType
' .x 0 byte-field bLength

kdbg-words definitions
previous

\ end usb_ep_descr section


vocabulary usb_string_descr-words
h# 3 constant usb_string_descr-sz
3 ' usb_string_descr-words c-struct .usb_string_descr
also usb_string_descr-words definitions

' c@ ' .x 1 1 2 array-field bString
' .x 1 byte-field bDescriptorType
' .x 0 byte-field bLength

kdbg-words definitions
previous

\ end usb_string_descr section


vocabulary hcdi_hotplug_stats-words
h# f0 constant hcdi_hotplug_stats-sz
f0 ' hcdi_hotplug_stats-words c-struct .hcdi_hotplug_stats
also hcdi_hotplug_stats-words definitions

' .x c0 struct-field hcdi_device_count
' .x 90 struct-field hcdi_hotplug_failure
' .x 60 struct-field hcdi_hotplug_total_failure
' .x 30 struct-field hcdi_hotplug_success
' .x 0 struct-field hcdi_hotplug_total_success

kdbg-words definitions
previous

\ end hcdi_hotplug_stats section


vocabulary hcdi_error_stats-words
h# 3c0 constant hcdi_error_stats-sz
3c0 ' hcdi_error_stats-words c-struct .hcdi_error_stats
also hcdi_error_stats-words definitions

' .x 390 struct-field cc_flushed
' .x 360 struct-field cc_not_supported
' .x 330 struct-field cc_pipe_reset
' .x 300 struct-field cc_pipe_closing
' .x 2d0 struct-field cc_stopped_polling
' .x 2a0 struct-field cc_unspecified_err
' .x 270 struct-field cc_no_resources
' .x 240 struct-field cc_not_accessed
' .x 210 struct-field cc_timeout
' .x 1e0 struct-field cc_buffer_underrun
' .x 1b0 struct-field cc_buffer_overrun
' .x 180 struct-field cc_data_underrun
' .x 150 struct-field cc_data_overrun
' .x 120 struct-field cc_unexp_pid
' .x f0 struct-field cc_pid_checkfailure
' .x c0 struct-field cc_dev_not_resp
' .x 90 struct-field cc_stall
' .x 60 struct-field cc_data_toggle_mm
' .x 30 struct-field cc_bitstuffing
' .x 0 struct-field cc_crc

kdbg-words definitions
previous

\ end hcdi_error_stats section


vocabulary usba_hcdi_register_args-words
h# 28 constant usba_hcdi_register_args-sz
28 ' usba_hcdi_register_args-words c-struct .usba_hcdi_register_args
also usba_hcdi_register_args-words definitions

' .x 20 ptr-field usba_hcdi_register_iblock_cookie
' .x 18 ptr-field usba_hcdi_register_dma_attr
' .x 10 ptr-field usba_hcdi_register_ops
' .x 8 ptr-field usba_hcdi_register_dip
' .x 0 long-field usba_hcdi_register_version

kdbg-words definitions
previous

\ end usba_hcdi_register_args section


vocabulary usba_list_entry-words
h# 28 constant usba_list_entry-sz
28 ' usba_list_entry-words c-struct .usba_list_entry
also usba_list_entry-words definitions

' .x 20 long-field count
' .x 18 ptr-field private
' .x 10 struct-field list_mutex
' .x 8 ptr-field prev
' .x 0 ptr-field next

kdbg-words definitions
previous

\ end usba_list_entry section


vocabulary usba_pipe_async_req-words
h# 38 constant usba_pipe_async_req-sz
38 ' usba_pipe_async_req-words c-struct .usba_pipe_async_req
also usba_pipe_async_req-words definitions

' .x 30 ptr-field sync_func
' .x 28 ptr-field callback_arg
' .x 20 ptr-field callback
' .d 18 long-field usb_flags
' .x 10 ptr-field arg
' .x 8 ptr-field ph_impl
' .x 0 ptr-field dip

kdbg-words definitions
previous

\ end usba_pipe_async_req section


vocabulary usba_pm_req-words
h# 30 constant usba_pm_req-sz
30 ' usba_pm_req-words c-struct .usba_pm_req
also usba_pm_req-words definitions

' .x 28 long-field flags
' .x 20 ptr-field arg
' .x 18 ptr-field cb
' .x 10 long-field level
' .x c long-field old_level
' .x 8 long-field comp
' .x 0 ptr-field dip

kdbg-words definitions
previous

\ end usba_pm_req section


vocabulary usb_ctrl_req-words
h# 40 constant usb_ctrl_req-sz
40 ' usb_ctrl_req-words c-struct .usb_ctrl_req
also usb_ctrl_req-words definitions

' .d 3c long-field ctrl_cb_flags
' .d 38 long-field ctrl_completion_reason
' .x 30 ptr-field ctrl_exc_cb
' .x 28 ptr-field ctrl_cb
' .d 20 long-field ctrl_attributes
' .x 18 ptr-field ctrl_client_private
' .x 10 long-field ctrl_timeout
' .x 8 ptr-field ctrl_data
' .x 6 short-field ctrl_wLength
' .x 4 short-field ctrl_wIndex
' .x 2 short-field ctrl_wValue
' .x 1 byte-field ctrl_bRequest
' .x 0 byte-field ctrl_bmRequestType

kdbg-words definitions
previous

\ end usb_ctrl_req section


vocabulary usb_bulk_req-words
h# 40 constant usb_bulk_req-sz
40 ' usb_bulk_req-words c-struct .usb_bulk_req
also usb_bulk_req-words definitions

' .d 3c long-field bulk_cb_flags
' .d 38 long-field bulk_completion_reason
' .x 30 ptr-field bulk_exc_cb
' .x 28 ptr-field bulk_cb
' .d 20 long-field bulk_attributes
' .x 18 ptr-field bulk_client_private
' .x 10 long-field bulk_timeout
' .x 8 ptr-field bulk_data
' .x 0 long-field bulk_len

kdbg-words definitions
previous

\ end usb_bulk_req section


vocabulary usb_intr_req-words
h# 38 constant usb_intr_req-sz
38 ' usb_intr_req-words c-struct .usb_intr_req
also usb_intr_req-words definitions

' .d 34 long-field intr_cb_flags
' .d 30 long-field intr_completion_reason
' .x 28 ptr-field intr_exc_cb
' .x 20 ptr-field intr_cb
' .d 1c long-field intr_attributes
' .x 18 long-field intr_timeout
' .x 10 ptr-field intr_client_private
' .x 8 ptr-field intr_data
' .x 0 long-field intr_len

kdbg-words definitions
previous

\ end usb_intr_req section


vocabulary usb_isoc_req-words
h# 48 constant usb_isoc_req-sz
48 ' usb_isoc_req-words c-struct .usb_isoc_req
also usb_isoc_req-words definitions

' .d 44 long-field isoc_cb_flags
' .d 40 long-field isoc_completion_reason
' .x 38 ptr-field isoc_exc_cb
' .x 30 ptr-field isoc_cb
' .x 28 ptr-field isoc_pkt_descr
' .x 20 ptr-field isoc_client_private
' .x 18 ptr-field isoc_data
' .d 10 long-field isoc_attributes
' .x c short-field isoc_error_count
' .x a short-field isoc_pkts_length
' .x 8 short-field isoc_pkts_count
' .x 0 ext-field isoc_frame_no

kdbg-words definitions
previous

\ end usb_isoc_req section


vocabulary usb_isoc_pkt_descr-words
h# 8 constant usb_isoc_pkt_descr-sz
8 ' usb_isoc_pkt_descr-words c-struct .usb_isoc_pkt_descr
also usb_isoc_pkt_descr-words definitions

' .d 4 long-field isoc_pkt_status
' .x 2 short-field isoc_pkt_actual_length
' .x 0 short-field isoc_pkt_length

kdbg-words definitions
previous

\ end usb_isoc_pkt_descr section


vocabulary usba_req_wrapper-words
h# 90 constant usba_req_wrapper-sz
90 ' usba_req_wrapper-words c-struct .usba_req_wrapper
also usba_req_wrapper-words definitions

' .x 88 ext-field wr_length
' .d 84 long-field wr_attrs
' .d 80 long-field wr_usb_flags
' .d 7c long-field wr_cb_flags
' .d 78 long-field wr_cr
' .x 70 ptr-field wr_ph_data
' .x 68 ptr-field wr_hcd_private
' .x 60 ptr-field wr_dip
' .d 5c long-field wr_done
' .x 58 struct-field wr_cv
' .x 30 struct-field wr_allocated_list
' .x 28 ptr-field wr_req
' .x 0 struct-field wr_queue

kdbg-words definitions
previous

\ end usba_req_wrapper section


vocabulary usba_log_handle_impl-words
h# 30 constant usba_log_handle_impl-sz
30 ' usba_log_handle_impl-words c-struct .usba_log_handle_impl
also usba_log_handle_impl-words definitions

' .x 28 long-field lh_flags
' .x 20 ptr-field lh_instance_filter
' .x 18 ptr-field lh_mask
' .x 10 ptr-field lh_errlevel
' .x 8 ptr-field lh_name
' .x 0 ptr-field lh_dip

kdbg-words definitions
previous

\ end usba_log_handle_impl section


vocabulary usb_client_dev_data-words
h# 60 constant usb_client_dev_data-sz
60 ' usb_client_dev_data-words c-struct .usb_client_dev_data
also usb_client_dev_data-words definitions

' .x 58 ptr-field dev_bos
' .x 50 long-field dev_curr_if
' .x 48 ptr-field dev_curr_cfg
' .x 40 long-field dev_n_cfg
' .x 38 ptr-field dev_cfg
' .d 30 long-field dev_parse_level
' .x 28 ptr-field dev_serial
' .x 20 ptr-field dev_product
' .x 18 ptr-field dev_mfg
' .x 10 ptr-field dev_descr
' .x 8 ptr-field dev_iblock_cookie
' .x 0 ptr-field dev_default_ph

kdbg-words definitions
previous

\ end usb_client_dev_data section


vocabulary usb_cfg_data-words
h# 38 constant usb_cfg_data-sz
38 ' usb_cfg_data-words c-struct .usb_cfg_data
also usb_cfg_data-words definitions

' .x 30 long-field cfg_strsize
' .x 2c long-field cfg_n_cvs
' .x 28 long-field cfg_n_if
' .x 20 ptr-field cfg_str
' .x 18 ptr-field cfg_cvs
' .x 10 ptr-field cfg_if
' .x 0 struct-field cfg_descr

kdbg-words definitions
previous

\ end usb_cfg_data section


vocabulary usb_if_data-words
h# 10 constant usb_if_data-sz
10 ' usb_if_data-words c-struct .usb_if_data
also usb_if_data-words definitions

' .x 8 long-field if_n_alt
' .x 0 ptr-field if_alt

kdbg-words definitions
previous

\ end usb_if_data section


vocabulary usb_alt_if_data-words
h# 38 constant usb_alt_if_data-sz
38 ' usb_alt_if_data-words c-struct .usb_alt_if_data
also usb_alt_if_data-words definitions

' .x 30 long-field altif_strsize
' .x 2c long-field altif_n_cvs
' .x 28 long-field altif_n_ep
' .x 20 ptr-field altif_str
' .x 18 ptr-field altif_cvs
' .x 10 ptr-field altif_ep
' .x 0 struct-field altif_descr

kdbg-words definitions
previous

\ end usb_alt_if_data section


vocabulary usb_ep_data-words
h# 28 constant usb_ep_data-sz
28 ' usb_ep_data-words c-struct .usb_ep_data
also usb_ep_data-words definitions

' .x 20 long-field ep_n_cvs
' .x 18 ptr-field ep_cvs
' .x 8 struct-field ep_comp_descr
' .x 0 struct-field ep_descr

kdbg-words definitions
previous

\ end usb_ep_data section


vocabulary usb_cvs_data-words
h# 10 constant usb_cvs_data-sz
10 ' usb_cvs_data-words c-struct .usb_cvs_data
also usb_cvs_data-words definitions

' .x 8 long-field cvs_buf_len
' .x 0 ptr-field cvs_buf

kdbg-words definitions
previous

\ end usb_cvs_data section


vocabulary usba_reg_state-words
h# 68 constant usba_reg_state-sz
68 ' usba_reg_state-words c-struct .usba_reg_state
also usba_reg_state-words definitions

' .d 64 long-field st_build_ep_comp
' .x 60 long-field st_dev_n_cfg
' .x 58 ptr-field st_dev_cfg
' .d 50 long-field st_dev_parse_level
' .x 48 ptr-field st_curr_cfg_str
' .x 41 byte-field st_curr_raw_descr_len
' .x 40 byte-field st_curr_raw_descr_type
' .x 38 ptr-field st_curr_raw_descr
' .x 34 long-field st_total_cfg_length
' .x 30 long-field st_cfg_to_build
' .x 2c long-field st_if_to_build
' .x 28 long-field st_last_processed_descr_type
' .x 20 ptr-field st_curr_ep
' .x 18 ptr-field st_curr_alt
' .x 10 ptr-field st_curr_if
' .x 8 ptr-field st_curr_cfg
' .x 0 ptr-field dip

kdbg-words definitions
previous

\ end usba_reg_state section


vocabulary usb_common_power_t-words
h# 10 constant usb_common_power_t-sz
10 ' usb_common_power_t-words c-struct .usb_common_power_t
also usb_common_power_t-words definitions

' .x b byte-field uc_current_power
' .x a byte-field uc_pm_capabilities
' .x 9 byte-field uc_pwr_states
' .x 8 byte-field uc_wakeup_enabled
' .x 0 ptr-field uc_usb_statep

kdbg-words definitions
previous

\ end usb_common_power_t section


vocabulary poll_keystate-words
h# 8 constant poll_keystate-sz
8 ' poll_keystate-words c-struct .poll_keystate
also poll_keystate-words definitions

' .d 4 long-field poll_state
' .x 0 long-field poll_key

kdbg-words definitions
previous

\ end poll_keystate section


vocabulary usbkbm_state-words
h# 1b0 constant usbkbm_state-sz
1b0 ' usbkbm_state-words c-struct .usbkbm_state
also usbkbm_state-words definitions

' .x 1a8 byte-field protocol
' .x 1a0 ptr-field usbkbm_polled_buffer_tail
' .x 198 ptr-field usbkbm_polled_buffer_head
' noop ' .x a0 8 f4 array-field usbkbm_polled_scancode_buffer
' .x f0 long-field usbkbm_polled_buffer_num_characters
' .x ec struct-field usbkbm_vid_pid
' .x e8 long-field usbkbm_vkbd_type
' .x a0 struct-field usbkbm_polled_info
' .x 98 ptr-field usbkbm_streams_bufcallid
' .x 90 ptr-field usbkbm_streams_iocpending
' .x 88 ptr-field usbkbm_pending_link
' .x 58 struct-field usbkbm_hid_callback
' c@ ' .x a 1 4a array-field usbkbm_pendingusbpacket
' c@ ' .x a 1 40 array-field usbkbm_lastusbpacket
' .x 3c long-field usbkbm_setled_second_byte
' .x 38 short-field usbkbm_layout
' .x 30 ptr-field usbkbm_report_descr
' .x 1c struct-field usbkbm_report_format
' .x 18 long-field usbkbm_flags
' .x 10 ptr-field usbkbm_writeq
' .x 8 ptr-field usbkbm_readq
' .x 0 ptr-field usbkbm_kbtrans

kdbg-words definitions
previous

\ end usbkbm_state section


vocabulary usbms_state-words
h# e8 constant usbms_state-sz
e8 ' usbms_state-words c-struct .usbms_state
also usbms_state-words definitions

' .x e0 ptr-field usbms_buf
' .x b0 struct-field usbms_idf
' .d ac long-field usbms_rpt_abs
' .x a4 struct-field usbms_resolution
' .x a0 long-field usbms_logical_Ymax
' .x 9c long-field usbms_logical_Xmax
' .x 98 long-field usbms_rptid
' .x 94 short-field usbms_wheel_orient_bf
' .x 92 short-field usbms_wheel_state_bf
' .x 90 byte-field usbms_protoerr
' .x 8c long-field usbms_num_wheels
' .x 88 long-field usbms_num_buttons
' .x 80 ptr-field usbms_resched_id
' .x 78 ptr-field usbms_reioctl_id
' .x 70 ptr-field usbms_timeout_id
' .x 6a short-field usbms_jitter
' .x 68 short-field usbms_state
' .x 64 long-field usbms_iocid
' .x 60 long-field usbms_speed_count
' .x 5c long-field usbms_speedlaw
' .x 58 long-field usbms_speedlimit
' .x 50 ext-field usbms_jittertimeout
' .x 48 long-field usbms_jitter_thresh
' .x 40 ptr-field usbms_report_descr_handle
' .x 38 byte-field usbms_oldbutt
' .x 20 struct-field usbms_softc
' .x 18 ptr-field usbms_iocpending
' .x 10 long-field usbms_flags
' .x 8 ptr-field usbms_wq_ptr
' .x 0 ptr-field usbms_rq_ptr

kdbg-words definitions
previous

\ end usbms_state section


vocabulary usbprn_ps-words
h# 20 constant usbprn_ps-sz
20 ' usbprn_ps-words c-struct .usbprn_ps
also usbprn_ps-words definitions

' .x 18 long-field ps_cr
' .x 14 long-field ps_flags
' .x 10 struct-field ps_policy
' .x 8 ptr-field ps_handle
' .x 0 struct-field ps_ept_descr

kdbg-words definitions
previous

\ end usbprn_ps section


vocabulary usbprn_state-words
h# f0 constant usbprn_state-sz
f0 ' usbprn_state-words c-struct .usbprn_state
also usbprn_state-words definitions

' .x e8 ptr-field usbprn_ugen_hdl
' .x e0 struct-field usbprn_prn_timeouts
' .x d8 struct-field usbprn_setparms
' .x d0 ptr-field usbprn_pm
' .x cb byte-field usbprn_last_status
' .x c2 struct-field usbprn_if_descr
' .x b8 struct-field usbprn_config_descr
' .x b0 ptr-field usbprn_log_handle
' .x 90 struct-field usbprn_bulk_in
' .x 70 struct-field usbprn_bulk_out
' .x 68 ptr-field usbprn_def_ph
' .x 60 ptr-field usbprn_bp
' .x 58 ptr-field usbprn_bulk_mp
' .x 50 ptr-field usbprn_dev_acc
' .x 48 ptr-field usbprn_write_acc
' .x 40 ptr-field usbprn_ser_acc
' .x 38 long-field usbprn_device_id_len
' .x 30 ptr-field usbprn_device_id
' .x 28 ext-field usbprn_max_bulk_xfer_size
' .x 20 ptr-field usbprn_dev_data
' .x 1c long-field usbprn_flags
' .x 18 long-field usbprn_instance
' .x 10 struct-field usbprn_mutex
' .x 8 long-field usbprn_dev_state
' .x 0 ptr-field usbprn_dip

kdbg-words definitions
previous

\ end usbprn_state section


vocabulary usbprn_power-words
h# 8 constant usbprn_power-sz
8 ' usbprn_power-words c-struct .usbprn_power
also usbprn_power-words definitions

' .x 7 byte-field usbprn_current_power
' .x 6 byte-field usbprn_pm_capabilities
' .x 5 byte-field usbprn_pwr_states
' .x 4 byte-field usbprn_wakeup_enabled
' .x 0 long-field usbprn_pm_busy

kdbg-words definitions
previous

\ end usbprn_power section


vocabulary usbser_state-words
h# 60 constant usbser_state-sz
60 ' usbser_state-words c-struct .usbser_state
also usbser_state-words definitions

' .x 58 ptr-field us_taskq
' .x 50 ptr-field us_lh
' .x 48 long-field us_dev_state
' .x 40 ptr-field us_ports
' .x 38 long-field us_port_cnt
' .x 30 ptr-field us_ds_hdl
' .x 28 ptr-field us_ds_ops
' .x 20 long-field us_instance
' .x 18 ptr-field us_statep
' .x 10 struct-field us_mutex
' .x 8 ptr-field us_dip
' .x 0 ptr-field us_next

kdbg-words definitions
previous

\ end usbser_state section


vocabulary usbser_port-words
h# e8 constant usbser_port-sz
e8 ' usbser_port-words c-struct .usbser_port
also usbser_port-words definitions

' .x e0 ptr-field port_delay_id
' .x d8 byte-field port_flowc
' .x 98 struct-field port_ttycommon
' .x 78 struct-field port_rq_thread
' .x 58 struct-field port_wq_thread
' .x 50 long-field port_wq_data_cnt
' .x 4c struct-field port_car_cv
' .x 4a struct-field port_act_cv
' .x 48 struct-field port_state_cv
' .x 44 long-field port_flags
' .x 40 long-field port_act
' .x 3c long-field port_state
' .x 38 long-field port_num
' .x 30 ptr-field port_ds_hdl
' .x 28 ptr-field port_ds_ops
' .x 20 ptr-field port_lh
' c@ ' .x 10 1 10 array-field port_lh_name
' .x 8 ptr-field port_usp
' .x 0 struct-field port_mutex

kdbg-words definitions
previous

\ end usbser_port section


vocabulary usbser_thread-words
h# 20 constant usbser_thread-sz
20 ' usbser_thread-words c-struct .usbser_thread
also usbser_thread-words definitions

' .x 18 ptr-field thr_arg
' .x 10 ptr-field thr_func
' .x 8 ptr-field thr_port
' .x 4 long-field thr_flags
' .x 0 struct-field thr_cv

kdbg-words definitions
previous

\ end usbser_thread section


vocabulary edge_power-words
h# 10 constant edge_power-sz
10 ' edge_power-words c-struct .edge_power
also edge_power-words definitions

' .x c long-field pm_busy_cnt
' .x 8 byte-field pm_cur_power
' .d 4 long-field pm_raise_power
' .x 1 byte-field pm_pwr_states
' .x 0 byte-field pm_wakeup_enabled

kdbg-words definitions
previous

\ end edge_power section


vocabulary edge_fw_info-words
h# 18 constant edge_fw_info-sz
18 ' edge_fw_info-words c-struct .edge_fw_info
also edge_fw_info-words definitions

' .x 10 ptr-field fw_down_version
' .x 8 short-field fw_down_image_size
' .x 0 ptr-field fw_down_image

kdbg-words definitions
previous

\ end edge_fw_info section


vocabulary edge_rx_parse-words
h# 10 constant edge_rx_parse-sz
10 ' edge_rx_parse-words c-struct .edge_rx_parse
also edge_rx_parse-words definitions

' .x c long-field rx_data_len
' .x 8 long-field rx_port_num
' .x 7 byte-field rx_stat_code
' c@ ' .x 3 1 4 array-field rx_hdr
' .x 0 long-field rx_state

kdbg-words definitions
previous

\ end edge_rx_parse section


vocabulary edge_state-words
h# 600 constant edge_state-sz
600 ' edge_state-words c-struct .edge_state
also edge_state-words definitions

' .d 5f8 long-field es_timeout_enable
' .x 5f0 ptr-field es_timeout_id
' .x 5e8 short-field es_i2c_type
' .x 5e4 long-field es_tx_last
' .x 5e0 long-field es_rx_avail
' .x 5d0 struct-field es_rxp
' .x 5b8 struct-field es_fw
' .x 5a8 struct-field es_ti_mfg_descr
' .x 568 struct-field es_boot_descr
' .x 1a8 struct-field es_mfg_descr
' .x 1a0 ptr-field es_pm
' .x 198 long-field es_dev_state
' .x 190 ptr-field es_lh
' .x 140 struct-field es_intr_pipe
' .x f0 struct-field es_bulkout_pipe
' .x a0 struct-field es_bulkin_pipe
' .x 50 struct-field es_def_pipe
' .x 48 ptr-field es_usb_events
' .x 40 ptr-field es_dev_data
' .x 38 long-field es_pipes_users
' .x 28 struct-field es_pipes_sema
' .d 20 long-field es_is_ti
' .x 18 ptr-field es_ports
' .x 10 long-field es_port_cnt
' .x 8 ptr-field es_dip
' .x 0 struct-field es_mutex

kdbg-words definitions
previous

\ end edge_state section


vocabulary edge_port-words
h# 158 constant edge_port-sz
158 ' edge_port-words c-struct .edge_port
also edge_port-words definitions

' .x 154 long-field ep_speed
' .x 14a struct-field ep_uart_config
' .x 148 byte-field ep_lsr_mask
' .d 144 long-field ep_lsr_event
' .x 140 long-field ep_write_len
' .x 13c long-field ep_read_len
' .x 13a short-field ep_dma_addr
' .x 138 short-field ep_uart_base
' .x e8 struct-field ep_bulkout_pipe
' .x 98 struct-field ep_bulkin_pipe
' .x 90 long-field ep_chase_status
' c@ ' .x 10 1 80 array-field ep_regs
' .d 7c long-field ep_no_more_reads
' .x 78 long-field ep_tx_credit
' .x 74 long-field ep_tx_credit_thre
' .x 70 long-field ep_tx_bufsz
' .x 68 ptr-field ep_tx_mp
' .x 60 ptr-field ep_rx_mp
' .x 5a struct-field ep_tx_cv
' .x 58 struct-field ep_resp_cv
' .x 38 struct-field ep_cb
' .x 30 long-field ep_flags
' .x 2c long-field ep_state
' .x 28 long-field ep_port_num
' .x 20 ptr-field ep_lh
' c@ ' .x 10 1 10 array-field ep_lh_name
' .x 8 ptr-field ep_esp
' .x 0 struct-field ep_mutex

kdbg-words definitions
previous

\ end edge_port section


vocabulary edge_pipe_req-words
h# c constant edge_pipe_req-sz
c ' edge_pipe_req-words c-struct .edge_pipe_req
also edge_pipe_req-words definitions

' .x 8 long-field req_waiter
' .x 4 long-field req_cr
' .x 0 long-field req_state

kdbg-words definitions
previous

\ end edge_pipe_req section


vocabulary edge_pipe-words
h# 50 constant edge_pipe-sz
50 ' edge_pipe-words c-struct .edge_pipe
also edge_pipe-words definitions

' .x 48 ptr-field pipe_lh
' .x 40 ptr-field pipe_req
' .x 38 struct-field pipe_req_cv
' .x 34 long-field pipe_cr
' .x 30 struct-field pipe_cv
' .x 2c long-field pipe_state
' .x 28 struct-field pipe_policy
' .x 20 struct-field pipe_ep_descr
' .x 18 ptr-field pipe_handle
' .x 10 ptr-field pipe_etp
' .x 8 ptr-field pipe_esp
' .x 0 struct-field pipe_mutex

kdbg-words definitions
previous

\ end edge_pipe section


vocabulary tavor_state_s-words
h# e78 constant tavor_state_s-sz
e78 ' tavor_state_s-words c-struct .tavor_state_s
also tavor_state_s-words definitions

' .d e74 long-field ts_quiescing
' .x e70 long-field ts_fw_cmdset
' .x e68 ptr-field ts_pci_cfghdl
' l@ ' .x 10 4 e58 array-field ts_fw_gpio
' .x e50 ptr-field ts_fw_sector
' .x e48 long-field ts_fw_flashbank
' .x e44 long-field ts_fw_device_sz
' .x e40 long-field ts_fw_log_sector_sz
' .x e38 ext-field ts_fw_flashdev
' .x e30 long-field ts_fw_flashstarted
' .x e28 struct-field ts_fw_flashlock
' .x e20 struct-field ts_info_lock
' .x e18 ptr-field ts_ks_info
' .x e10 ptr-field ts_mcgtmp
' .x e08 ptr-field ts_mcghdl
' .x e00 struct-field ts_mcglock
' .x df8 long-field ts_num_agents
' .x df0 ptr-field ts_taskq_agents
' .x de8 ptr-field ts_agents
' .x de0 ptr-field ts_spec_qp1
' .x dd8 ptr-field ts_spec_qp0
' .x dd0 long-field ts_spec_qpflags
' .x dc8 struct-field ts_spec_qplock
' .x bc8 struct-field ts_hcaparams
' .x ac8 struct-field ts_adapter
' .x 9c8 struct-field ts_devlim
' .x 8c8 struct-field ts_fw
' .x 7c8 struct-field ts_ddr
' .x 7c0 long-field ts_in_evcallb
' .x 7b8 struct-field ts_qpn_avl_lock
' .x 790 struct-field ts_qpn_avl
' .x 788 ptr-field ts_srqhdl
' .x 780 ptr-field ts_qphdl
' .x 778 ptr-field ts_cqhdl
' x@ ' .x 200 8 578 array-field ts_eqhdl
' .x 570 ptr-field ts_pdhdl_internal
' .x 568 long-field ts_cfg_profile_setting
' .x 560 ptr-field ts_cfg_profile
' .x 530 struct-field ts_cmd_list
' .x 4f8 struct-field ts_out_intr_mblist
' .x 4c0 struct-field ts_in_intr_mblist
' .x 488 struct-field ts_out_mblist
' .x 450 struct-field ts_in_mblist
' .x 448 ptr-field ts_rsrc_hdl
' .x 440 ptr-field ts_rsrc_cache
' .x 438 ptr-field ts_ddrvmem
' .x 408 struct-field ts_cmd_regs
' .x 400 long-field ts_open_tr_indx
' .x 3f8 struct-field ts_uar_lock
' .x 3f0 ptr-field ts_uar
' .x 3e8 ptr-field ts_uarpg1_rsrc
' .x 3e0 ptr-field ts_uarpg0_rsrc_rsrvd
' l@ ' .x 100 4 2e0 array-field ts_cfg_pdata
' l@ ' .x 100 4 1e0 array-field ts_cfg_data
' .x 1d8 ptr-field ts_reg_ddrhdl
' .x 1d0 ptr-field ts_reg_ddr_baseaddr
' .x 1c8 ptr-field ts_reg_uarhdl
' .x 1c0 ptr-field ts_reg_uar_baseaddr
' .x 1b8 ptr-field ts_reg_cmdhdl
' .x 1b0 ptr-field ts_reg_cmd_baseaddr
' .x 1a8 struct-field ts_reg_accattr
' .x 1a0 ptr-field ts_ibtfpriv
' .x 160 struct-field ts_ibtfinfo
' .x 158 long-field ts_hca_pn_len
' c@ ' .x 40 1 118 array-field ts_hca_pn
' c@ ' .x 40 1 d8 array-field ts_hca_name
' c@ ' .x 40 1 98 array-field ts_nodedesc
' .x 90 ext-field ts_sysimgguid
' .x 88 ext-field ts_nodeguid
' c@ ' .x 50 1 34 array-field ts_attach_buf
' .x 30 long-field ts_operational_mode
' .x 2c long-field ts_intrmsi_cap
' .x 28 long-field ts_intrmsi_pri
' .x 20 ptr-field ts_intrmsi_hdl
' .x 1c long-field ts_intrmsi_allocd
' .x 18 long-field ts_intrmsi_avail
' .x 14 long-field ts_intrmsi_count
' .x 10 long-field ts_intr_type_chosen
' .x c long-field ts_intr_types_avail
' .x 8 long-field ts_instance
' .x 0 ptr-field ts_dip

kdbg-words definitions
previous

\ end tavor_state_s section


vocabulary tavor_sw_eq_s-words
h# 90 constant tavor_sw_eq_s-sz
90 ' tavor_sw_eq_s-words c-struct .tavor_sw_eq_s
also tavor_sw_eq_s-words definitions

' .x 40 struct-field eq_eqinfo
' .x 38 ptr-field eq_func
' .x 30 ptr-field eq_rsrcp
' .x 28 ptr-field eq_eqcrsrcp
' .x 20 long-field eq_evttypemask
' .x 1c long-field eq_sync
' .x 18 long-field eq_bufsz
' .x 10 ptr-field eq_mrhdl
' .x 8 ptr-field eq_buf
' .x 4 long-field eq_eqnum
' .x 0 long-field eq_consindx

kdbg-words definitions
previous

\ end tavor_sw_eq_s section


vocabulary tavor_sw_cq_s-words
h# f0 constant tavor_sw_cq_s-sz
f0 ' tavor_sw_cq_s-words c-struct .tavor_sw_cq_s
also tavor_sw_cq_s-words definitions

' .x a0 struct-field cq_cqinfo
' .x 98 ptr-field cq_wrid_reap_tail
' .x 90 ptr-field cq_wrid_reap_head
' .x 68 struct-field cq_wrid_wqhdr_avl_tree
' .x 60 struct-field cq_wrid_wqhdr_lock
' .x 58 ptr-field cq_hdlrarg
' .x 50 ptr-field cq_rsrcp
' .x 48 ptr-field cq_cqcrsrcp
' .x 40 ptr-field cq_umap_dhp
' .x 3c long-field cq_uarpg
' .x 38 long-field cq_is_umap
' .x 34 long-field cq_is_special
' .x 30 long-field cq_erreqnum
' .x 2c long-field cq_eqnum
' .x 28 long-field cq_refcnt
' .x 24 long-field cq_sync
' .x 20 long-field cq_bufsz
' .x 18 ptr-field cq_mrhdl
' .x 10 ptr-field cq_buf
' .x c long-field cq_cqnum
' .x 8 long-field cq_consindx
' .x 0 struct-field cq_lock

kdbg-words definitions
previous

\ end tavor_sw_cq_s section


vocabulary tavor_sw_qp_s-words
h# 250 constant tavor_sw_qp_s-sz
250 ' tavor_sw_qp_s-words c-struct .tavor_sw_qp_s
also tavor_sw_qp_s-words definitions

' .x 150 struct-field qpc
' .x 100 struct-field qp_wqinfo
' .x f8 ptr-field qp_qpn_hdl
' .d f4 long-field qp_save_srate
' .x f0 long-field qp_save_mtu
' .x ec long-field qp_mcg_refcnt
' .x e8 long-field qp_srq_en
' .x e0 ptr-field qp_srqhdl
' .x dc long-field qp_sqd_still_draining
' .x d8 long-field qp_forward_sqd_event
' .x d0 ext-field qp_rdb_ddraddr
' .x c8 ptr-field qp_rdbrsrcp
' .x c0 ptr-field qp_hdlrarg
' .x b8 ptr-field qp_rsrcp
' .x b0 ptr-field qp_qpcrsrcp
' .x a8 ext-field qp_desc_off
' .x a0 long-field qp_rq_sgl
' .x 9c long-field qp_rq_log_wqesz
' .x 98 long-field qp_rq_bufsz
' .x 90 ptr-field qp_rq_buf
' .x 88 ptr-field qp_rq_wqhdr
' .x 80 ptr-field qp_rq_lastwqeaddr
' .x 78 ptr-field qp_rq_cqhdl
' .x 70 long-field qp_sq_sgl
' .x 6c long-field qp_sq_log_wqesz
' .x 68 long-field qp_sq_bufsz
' .x 60 ptr-field qp_sq_buf
' .x 58 ptr-field qp_sq_wqhdr
' .x 50 ptr-field qp_sq_lastwqeaddr
' .x 48 ptr-field qp_sq_cqhdl
' .x 44 long-field qp_pkeyindx
' .x 40 long-field qp_portnum
' .x 38 ptr-field qp_umap_dhp
' .x 34 long-field qp_uarpg
' .x 30 long-field qp_is_umap
' .x 2c long-field qp_is_special
' .x 28 long-field qp_sq_sigtype
' .x 20 ptr-field qp_mrhdl
' .x 1c long-field qp_sync
' .x 18 long-field qp_serv_type
' .x 10 ptr-field qp_pdhdl
' .x c long-field qp_qpnum
' .x 8 long-field qp_state
' .x 0 struct-field qp_lock

kdbg-words definitions
previous

\ end tavor_sw_qp_s section


vocabulary tavor_bind_info_s-words
h# 58 constant tavor_bind_info_s-sz
58 ' tavor_bind_info_s-words c-struct .tavor_bind_info_s
also tavor_bind_info_s-words definitions

' .x 50 long-field bi_free_dmahdl
' .x 4c long-field bi_bypass
' .x 48 long-field bi_flags
' .x 44 long-field bi_type
' .x 40 long-field bi_cookiecnt
' .x 28 struct-field bi_dmacookie
' .x 20 ptr-field bi_dmahdl
' .x 18 ptr-field bi_buf
' .x 10 ptr-field bi_as
' .x 8 ext-field bi_len
' .x 0 ext-field bi_addr

kdbg-words definitions
previous

\ end tavor_bind_info_s section


vocabulary tavor_sw_mr_s-words
h# d0 constant tavor_sw_mr_s-sz
d0 ' tavor_sw_mr_s-words c-struct .tavor_sw_mr_s
also tavor_sw_mr_s-words definitions

' .x c8 ptr-field mr_umem_cbarg2
' .x c0 ptr-field mr_umem_cbarg1
' .x b8 ptr-field mr_umem_cbfunc
' .x b0 ptr-field mr_umemcookie
' .x a8 long-field mr_is_umem
' .x a0 ptr-field mr_fmr
' .x 98 long-field mr_is_fmr
' .x 90 ptr-field mr_rsrcp
' .x 8c long-field mr_logmttpgsz
' .x 88 long-field mr_rkey
' .x 84 long-field mr_lkey
' .d 80 long-field mr_accflag
' .x 28 struct-field mr_bindinfo
' .x 20 ptr-field mr_pdhdl
' .x 18 ptr-field mr_mttrefcntp
' .x 10 ptr-field mr_mttrsrcp
' .x 8 ptr-field mr_mptrsrcp
' .x 0 struct-field mr_lock

kdbg-words definitions
previous

\ end tavor_sw_mr_s section


vocabulary tavor_sw_ah_s-words
h# 38 constant tavor_sw_ah_s-sz
38 ' tavor_sw_ah_s-words c-struct .tavor_sw_ah_s
also tavor_sw_ah_s-words definitions

' .x 34 long-field ah_sync
' .d 30 long-field ah_save_srate
' .x 28 ext-field ah_save_guid
' .x 20 ptr-field ah_rsrcp
' .x 18 ptr-field ah_udavrsrcp
' .x 10 ptr-field ah_mrhdl
' .x 8 ptr-field ah_pdhdl
' .x 0 struct-field ah_lock

kdbg-words definitions
previous

\ end tavor_sw_ah_s section


vocabulary tavor_sw_mcg_list_s-words
h# 20 constant tavor_sw_mcg_list_s-sz
20 ' tavor_sw_mcg_list_s-words c-struct .tavor_sw_mcg_list_s
also tavor_sw_mcg_list_s-words definitions

' .x 18 ptr-field mcg_rsrcp
' .x 14 long-field mcg_num_qps
' .x 10 long-field mcg_next_indx
' .x 8 ext-field mcg_mgid_l
' .x 0 ext-field mcg_mgid_h

kdbg-words definitions
previous

\ end tavor_sw_mcg_list_s section


vocabulary tavor_sw_pd_s-words
h# 18 constant tavor_sw_pd_s-sz
18 ' tavor_sw_pd_s-words c-struct .tavor_sw_pd_s
also tavor_sw_pd_s-words definitions

' .x 10 ptr-field pd_rsrcp
' .x c long-field pd_refcnt
' .x 8 long-field pd_pdnum
' .x 0 struct-field pd_lock

kdbg-words definitions
previous

\ end tavor_sw_pd_s section


vocabulary tavor_rsrc_pool_info_s-words
h# 48 constant tavor_rsrc_pool_info_s-sz
48 ' tavor_rsrc_pool_info_s-words c-struct .tavor_rsrc_pool_info_s
also tavor_rsrc_pool_info_s-words definitions

' .x 40 ptr-field rsrc_private
' .x 38 ptr-field rsrc_state
' .x 30 ptr-field rsrc_vmp
' .x 28 ptr-field rsrc_ddr_offset
' .x 20 ptr-field rsrc_start
' .x 1c long-field rsrc_quantum
' .x 18 long-field rsrc_shift
' .x 10 ext-field rsrc_align
' .x 8 ext-field rsrc_pool_size
' .x 4 long-field rsrc_loc
' .d 0 long-field rsrc_type

kdbg-words definitions
previous

\ end tavor_rsrc_pool_info_s section


vocabulary tavor_rsrc_s-words
h# 28 constant tavor_rsrc_s-sz
28 ' tavor_rsrc_s-words c-struct .tavor_rsrc_s
also tavor_rsrc_s-words definitions

' .x 20 ptr-field tr_dmahdl
' .x 18 ptr-field tr_acchdl
' .x 14 long-field tr_indx
' .x 10 long-field tr_len
' .x 8 ptr-field tr_addr
' .d 0 long-field rsrc_type

kdbg-words definitions
previous

\ end tavor_rsrc_s section


vocabulary tavor_cfg_profile_s-words
h# f0 constant tavor_cfg_profile_s-sz
f0 ' tavor_cfg_profile_s-words c-struct .tavor_cfg_profile_s
also tavor_cfg_profile_s-words definitions

' x@ ' .x 10 8 e0 array-field cp_portguid
' .x d8 ext-field cp_nodeguid
' .x d0 ext-field cp_sysimgguid
' .x cc long-field cp_use_msi_if_avail
' .x c8 long-field cp_max_mem_rd_byte_cnt
' .x c4 long-field cp_max_out_splt_trans
' .x c0 long-field cp_ackreq_freq
' .x bc long-field cp_cmd_poll_max
' .x b8 long-field cp_cmd_poll_delay
' .x b4 long-field cp_sw_reset_delay
' .x b0 long-field cp_qp_wq_inddr
' .x ac long-field cp_disable_streaming_on_bypass
' .x a8 long-field cp_iommu_bypass
' .x a4 long-field cp_consistent_syncoverride
' .x a0 long-field cp_streaming_consistent
' .x 9c long-field cp_qp1_agents_in_fw
' .x 98 long-field cp_qp0_agents_in_fw
' .x 94 long-field cp_num_ports
' .x 90 long-field cp_max_vlcap
' .x 8c long-field cp_max_port_width
' .x 88 long-field cp_max_mtu
' .x 84 long-field cp_hca_max_rdma_out_qp
' .x 80 long-field cp_hca_max_rdma_in_qp
' .x 7c long-field cp_log_max_gidtbl
' .x 78 long-field cp_log_max_pkeytbl
' .x 74 long-field cp_log_num_ah
' .x 70 long-field cp_log_num_pd
' .x 6c long-field cp_log_num_uar
' .x 68 long-field cp_log_outmbox_size
' .x 64 long-field cp_log_inmbox_size
' .x 60 long-field cp_log_num_intr_outmbox
' .x 5c long-field cp_log_num_intr_inmbox
' .x 58 long-field cp_log_num_outmbox
' .x 54 long-field cp_log_num_inmbox
' .x 50 long-field cp_log_num_mttseg
' .x 4c long-field cp_log_max_mrw_sz
' .x 48 long-field cp_log_num_mpt
' .x 44 long-field cp_log_num_mcg_hash
' .x 40 long-field cp_num_qp_per_mcg
' .x 3c long-field cp_log_num_mcg
' .x 38 long-field cp_log_num_rdb
' .x 34 long-field cp_log_default_eq_sz
' .x 30 long-field cp_fmr_max_remaps
' .x 2c long-field cp_fmr_enable
' .x 28 long-field cp_srq_max_sgl
' .x 24 long-field cp_log_max_srq_sz
' .x 20 long-field cp_log_num_srq
' .x 1c long-field cp_srq_wq_inddr
' .x 18 long-field cp_srq_enable
' .x 14 long-field cp_log_max_cq_sz
' .x 10 long-field cp_log_num_cq
' .x c long-field cp_wqe_real_max_sgl
' .x 8 long-field cp_wqe_max_sgl
' .x 4 long-field cp_log_max_qp_sz
' .x 0 long-field cp_log_num_qp

kdbg-words definitions
previous

\ end tavor_cfg_profile_s section


vocabulary tavor_agent_list_s-words
h# 18 constant tavor_agent_list_s-sz
18 ' tavor_agent_list_s-words c-struct .tavor_agent_list_s
also tavor_agent_list_s-words definitions

' .x 10 ptr-field agl_ibmfhdl
' .d c long-field agl_mgmtclass
' .x 8 long-field agl_port
' .x 0 ptr-field agl_state

kdbg-words definitions
previous

\ end tavor_agent_list_s section


vocabulary tavor_workq_hdr_s-words
h# 48 constant tavor_workq_hdr_s-sz
48 ' tavor_workq_hdr_s-words c-struct .tavor_workq_hdr_s
also tavor_workq_hdr_s-words definitions

' .x 40 ptr-field wq_wrid_post
' .x 38 ptr-field wq_wrid_poll
' .x 34 long-field wq_full
' .x 30 long-field wq_tail
' .x 2c long-field wq_head
' .x 28 long-field wq_size
' .x 20 ptr-field wq_wrid_wql
' .x 1c long-field wq_type
' .x 18 long-field wq_qpn
' .x 0 struct-field wq_avl_link

kdbg-words definitions
previous

\ end tavor_workq_hdr_s section


vocabulary tavor_wrid_list_hdr_s-words
h# 70 constant tavor_wrid_list_hdr_s-sz
70 ' tavor_wrid_list_hdr_s-words c-struct .tavor_wrid_list_hdr_s
also tavor_wrid_list_hdr_s-words definitions

' .x 68 long-field wl_srq_log_wqesz
' .x 60 ext-field wl_srq_desc_off
' .x 58 long-field wl_srq_wq_bufsz
' .x 50 ptr-field wl_srq_wq_buf
' .x 48 ptr-field wl_acchdl
' .x 44 long-field wl_free_list_indx
' .x 40 long-field wl_srq_en
' .x 3c long-field wl_tail
' .x 38 long-field wl_head
' .x 34 long-field wl_full
' .x 30 long-field wl_size
' .x 28 ptr-field wl_wre_old_tail
' .x 20 ptr-field wl_wre
' .x 18 ptr-field wl_wqhdr
' .x 10 ptr-field wl_reap_next
' .x 8 ptr-field wl_prev
' .x 0 ptr-field wl_next

kdbg-words definitions
previous

\ end tavor_wrid_list_hdr_s section


vocabulary tavor_wrid_entry_s-words
h# 10 constant tavor_wrid_entry_s-sz
10 ' tavor_wrid_entry_s-words c-struct .tavor_wrid_entry_s
also tavor_wrid_entry_s-words definitions

' .x c long-field wr_signaled_dbd
' .x 8 long-field wr_wqeaddrsz
' .x 0 ext-field wr_wrid

kdbg-words definitions
previous

\ end tavor_wrid_entry_s section


vocabulary tavor_mboxlist_s-words
h# 38 constant tavor_mboxlist_s-sz
38 ' tavor_mboxlist_s-words c-struct .tavor_mboxlist_s
also tavor_mboxlist_s-words definitions

' .x 34 long-field mbl_signal
' .x 30 long-field mbl_pollers
' .x 2c long-field mbl_waiters
' .x 28 long-field mbl_entries_free
' .x 24 long-field mbl_tail_indx
' .x 20 long-field mbl_head_indx
' .x 1c long-field mbl_num_alloc
' .x 18 long-field mbl_list_sz
' .x 10 ptr-field mbl_mbox
' .x 8 struct-field mbl_cv
' .x 0 struct-field mbl_lock

kdbg-words definitions
previous

\ end tavor_mboxlist_s section


vocabulary tavor_mbox_s-words
h# 30 constant tavor_mbox_s-sz
30 ' tavor_mbox_s-words c-struct .tavor_mbox_s
also tavor_mbox_s-words definitions

' .x 2c long-field mb_prev
' .x 28 long-field mb_next
' .x 24 long-field mb_indx
' .x 20 long-field mb_sync
' .x 18 ptr-field mb_rsrcptr
' .x 10 ptr-field mb_acchdl
' .x 8 ext-field mb_mapaddr
' .x 0 ptr-field mb_addr

kdbg-words definitions
previous

\ end tavor_mbox_s section


vocabulary tavor_cmdlist_s-words
h# 30 constant tavor_cmdlist_s-sz
30 ' tavor_cmdlist_s-words c-struct .tavor_cmdlist_s
also tavor_cmdlist_s-words definitions

' .x 2c long-field cml_waiters
' .x 28 long-field cml_entries_free
' .x 24 long-field cml_tail_indx
' .x 20 long-field cml_head_indx
' .x 1c long-field cml_num_alloc
' .x 18 long-field cml_list_sz
' .x 10 ptr-field cml_cmd
' .x 8 struct-field cml_cv
' .x 0 struct-field cml_lock

kdbg-words definitions
previous

\ end tavor_cmdlist_s section


vocabulary tavor_cmd_s-words
h# 28 constant tavor_cmd_s-sz
28 ' tavor_cmd_s-words c-struct .tavor_cmd_s
also tavor_cmd_s-words definitions

' .x 24 long-field cmd_prev
' .x 20 long-field cmd_next
' .x 1c long-field cmd_indx
' .x 18 long-field cmd_status
' .x 10 ext-field cmd_outparm
' .x 8 struct-field cmd_comp_cv
' .x 0 struct-field cmd_comp_lock

kdbg-words definitions
previous

\ end tavor_cmd_s section

