diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2013-11-21 15:08:01 +0000 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2013-12-02 20:21:58 +0100 |
commit | 15155ed10006f84c42bc435e354a16b3f391d55e (patch) | |
tree | c74a750f5f75cdb8debd545f800fcca627b2d453 /utils | |
parent | 23c6421f38eb2c47b725a3b8f57f8e74eaff2fd6 (diff) | |
download | rockbox-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')
-rw-r--r-- | utils/regtools/desc/XML.txt | 4 |
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 | |||
100 | explicit formula can be described as part of the format. There is no specific | 100 | explicit formula can be described as part of the format. There is no specific |
101 | requirement on the formula except that the register addresses be indexed by | 101 | requirement on the formula except that the register addresses be indexed by |
102 | a variable "n" which range from 0 to N-1 where N is the number of address. | 102 | a variable "n" which range from 0 to N-1 where N is the number of address. |
103 | The formula is not used for anything except header generation where it is | ||
104 | handy to have a formula rather a long list of conditionals. | ||
103 | The following properties are defined: | 105 | The 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 | ||
131 | Example: | 133 | Example: |
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" /> |