summaryrefslogtreecommitdiff
path: root/utils/regtools
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-11-21 15:08:01 +0000
committerAmaury Pouly <amaury.pouly@gmail.com>2013-12-02 20:21:58 +0100
commit15155ed10006f84c42bc435e354a16b3f391d55e (patch)
treec74a750f5f75cdb8debd545f800fcca627b2d453 /utils/regtools
parent23c6421f38eb2c47b725a3b8f57f8e74eaff2fd6 (diff)
downloadrockbox-15155ed10006f84c42bc435e354a16b3f391d55e.tar.gz
rockbox-15155ed10006f84c42bc435e354a16b3f391d55e.zip
regtools: update xml format documentation
Change-Id: I7e293532983f350a6f7cd9c7bc2bc6633c8fd3f2 Reviewed-on: http://gerrit.rockbox.org/671 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
Diffstat (limited to 'utils/regtools')
-rw-r--r--utils/regtools/desc/XML.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/regtools/desc/XML.txt b/utils/regtools/desc/XML.txt
index 15164a43b9..a90f875f66 100644
--- a/utils/regtools/desc/XML.txt
+++ b/utils/regtools/desc/XML.txt
@@ -100,6 +100,8 @@ In the special case where the addresses of the register follow a pattern, an
100explicit formula can be described as part of the format. There is no specific 100explicit formula can be described as part of the format. There is no specific
101requirement on the formula except that the register addresses be indexed by 101requirement on the formula except that the register addresses be indexed by
102a variable "n" which range from 0 to N-1 where N is the number of address. 102a variable "n" which range from 0 to N-1 where N is the number of address.
103The formula is not used for anything except header generation where it is
104handy to have a formula rather a long list of conditionals.
103The following properties are defined: 105The following properties are defined:
104- "string" (mandatory,string): the equation describing the addresses. 106- "string" (mandatory,string): the equation describing the addresses.
105 107
@@ -130,4 +132,4 @@ Each value is enclosed in a "value" tag. The following properties are defined:
130 132
131Example: 133Example:
132<value name="DIV_BY_1" value="0x0" /> 134<value name="DIV_BY_1" value="0x0" />
133<value name="DIV_BY_2" value="0x1" /> \ No newline at end of file 135<value name="DIV_BY_2" value="0x1" />