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 (hide new fields for old gc registers)
 
(21 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{| class="toccolours" cellspacing="5" style="float: right; width: {{{width|21em}}}; text-align: left; font-size: 90%; margin: 0 0 3em 3em; border:3px solid skyblue;"
+
{{Infobox
|-
+
|name        = Infobox MMIO
! style="text-align: center; font-size: 130%;" colspan="2" | ''{{{title|{{SUBPAGENAME}}}}}''
+
|title        = {{{title|{{SUBPAGENAME}}}}}
|-
+
|above        = {{{partof<includeonly>|</includeonly>}}}
{{#if: {{{partof<includeonly>|</includeonly>}}} |  
+
|headerstyle  = background:#CEE0F2
{{!}} style="text-align: center;" colspan="2" {{!}} {{{partof}}}
+
 
{{!}}-
+
|header1  = Access
}}
+
 
! style="text-align: center;" colspan="2" | Access
+
|label2  = {{hw|Broadway}}
|-
+
|data2    = {{{ppc|None}}}
! Broadway
+
 
| {{{ppc|None}}}
+
|label3  = {{hw|Starlet}}
|-
+
|data3    = {{{arm|None}}}
! Starlet
+
 
| {{{arm|None}}}
+
|header11 = Registers
|-
+
 
! style="text-align: center;" colspan="2" | Registers
+
|label12  = {{#if:{{{base<includeonly>|</includeonly>}}}{{{base|}}}|Base}}
|-
+
|data12  = {{{base<includeonly>|</includeonly>}}}
! Base
+
 
| {{{base}}}
+
|label13  = {{#if:{{{addr<includeonly>|</includeonly>}}}{{{addr|}}}|Address}}
|-
+
|data13  = {{{addr<includeonly>|</includeonly>}}}
! Length
+
 
| {{{len}}}
+
|label14  = {{#if:{{{ahbmirror<includeonly>|</includeonly>}}}{{{ahbmirror|}}}|AHB Mirror}}
|-
+
|data14  = {{{ahbmirror<includeonly>|</includeonly>}}}
! Access size
+
 
| {{{bits}}} bits
+
|label15  = Length
|-
+
|data15  = {{{len}}}
{{#if: {{{ppcirq<includeonly>|</includeonly>}}}{{{armirq|}}} |  
+
 
! style="text-align: center;" colspan="2" {{!}} IRQs
+
|label16  = Access size
{{!}}-
+
|data16  = {{{bits}}} bits
{{#if: {{{ppcirq<includeonly>|</includeonly>}}} |  
+
 
! Broadway
+
|label17  = Byte order
{{!}} {{{ppcirq}}}
+
|data17  =
{{!}}-
+
  {{#switch: {{{endian|big}}}
}}
+
    | little = Little Endian
{{#if: {{{armirq<includeonly>|</includeonly>}}} |
+
    | revlittle = [[Reversed Little Endian]]
! Starlet
+
    | big = Big Endian
{{!}} {{{armirq}}}
+
    | {{{endian}}}
{{!}}-
+
  }}
}}
+
 
}}
+
|header21 = {{#if:{{{hwdirq<includeonly>|</includeonly>}}}{{{ppcirq|}}}|IRQs}}
|}
+
 
<includeonly>[[Category:Hardware]]
+
|label22  = [[Hardware/Processor Interface|Broadway]]
{{#if: {{{ppc}}} | [[Category:Broadway Hardware]]}}
+
|data22  = {{{ppcirq<includeonly>|</includeonly>}}}
{{#if: {{{arm}}} | [[Category:Starlet Hardware]]}}</includeonly><noinclude>
+
 
 +
|label23  = [[Hardware/Hollywood IRQs|Hollywood]]
 +
|data23  = {{{hwdirq<includeonly>|</includeonly>}}}
 +
 
 +
|belowstyle =
 +
|below =
 +
}}<includeonly>
 +
{{#if: {{{ppc|}}} | [[Category:Broadway Hardware]] | {{#if: {{{arm|}}} | | [[Category:Hardware]]}}}}
 +
{{#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