In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Difference between revisions of "Template:Infobox MMIO"

From WiiBrew
Jump to navigation Jump to search
m (removing subheader (I don't know where I got that parameter from :P))
m (hide new fields for old gc registers)
 
(13 intermediate revisions by 7 users not shown)
Line 7: Line 7:
 
|header1  = Access
 
|header1  = Access
  
|label2  = Broadway
+
|label2  = {{hw|Broadway}}
 
|data2    = {{{ppc|None}}}
 
|data2    = {{{ppc|None}}}
  
|label3  = Starlet
+
|label3  = {{hw|Starlet}}
 
|data3    = {{{arm|None}}}
 
|data3    = {{{arm|None}}}
  
 
|header11 = Registers
 
|header11 = Registers
  
|header12 =
+
|label12  = {{#if:{{{base<includeonly>|</includeonly>}}}{{{base|}}}|Base}}
|label12  = Base
+
|data12  = {{{base<includeonly>|</includeonly>}}}
|data12  = {{{base}}}
 
  
|label13  = Length
+
|label13  = {{#if:{{{addr<includeonly>|</includeonly>}}}{{{addr|}}}|Address}}
|data13  = {{{len}}}
+
|data13  = {{{addr<includeonly>|</includeonly>}}}
  
|label14  = Access size
+
|label14  = {{#if:{{{ahbmirror<includeonly>|</includeonly>}}}{{{ahbmirror|}}}|AHB Mirror}}
|data14  = {{{bits}}} bits
+
|data14  = {{{ahbmirror<includeonly>|</includeonly>}}}
  
|label15  = Byte order
+
|label15 = Length
|data15   =  
+
|data15  = {{{len}}}
 +
 
 +
|label16  = Access size
 +
|data16  = {{{bits}}} bits
 +
 
 +
|label17 = Byte order
 +
|data17   =  
 
   {{#switch: {{{endian|big}}}
 
   {{#switch: {{{endian|big}}}
 
     | little = Little Endian
 
     | little = Little Endian
Line 34: Line 39:
 
   }}
 
   }}
  
|header21 = {{#if:{{{ppcirq<includeonly>|</includeonly>}}}{{{armirq|}}}|IRQs}}
+
|header21 = {{#if:{{{hwdirq<includeonly>|</includeonly>}}}{{{ppcirq|}}}|IRQs}}
  
|label22  = Broadway
+
|label22  = [[Hardware/Processor Interface|Broadway]]
 
|data22  = {{{ppcirq<includeonly>|</includeonly>}}}
 
|data22  = {{{ppcirq<includeonly>|</includeonly>}}}
  
|label23  = Starlet
+
|label23  = [[Hardware/Hollywood IRQs|Hollywood]]
|data23  = {{{armirq<includeonly>|</includeonly>}}}
+
|data23  = {{{hwdirq<includeonly>|</includeonly>}}}
  
 
|belowstyle =
 
|belowstyle =
 
|below =  
 
|below =  
 
}}<includeonly>
 
}}<includeonly>
[[Category:Hardware]]
+
{{#if: {{{ppc|}}} | [[Category:Broadway Hardware]] | {{#if: {{{arm|}}} | | [[Category:Hardware]]}}}}
{{#if: {{{ppc|}}} | [[Category:Broadway Hardware]]}}
 
 
{{#if: {{{arm|}}} | [[Category:Starlet Hardware]]}}</includeonly><noinclude>
 
{{#if: {{{arm|}}} | [[Category:Starlet Hardware]]}}</includeonly><noinclude>
  
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 20:42, 9 December 2021

Infobox MMIO
{{{partof}}}
Access
BroadwayNone
StarletNone
Registers
Base{{{base}}}
Address{{{addr}}}
AHB Mirror{{{ahbmirror}}}
Length{{{len}}}
Access size{{{bits}}} bits
Byte orderBig Endian
IRQs
Broadway{{{ppcirq}}}
Hollywood{{{hwdirq}}}
This box: view  talk  edit
[create] [purge] Template documentation