Difference between revisions of "Creating A devicetree.cb"

From coreboot
Jump to navigation Jump to search
Line 25: Line 25:
== Grammar ==
== Grammar ==


..
=== Literals ===
Literal values types are defined and thus consumed by the following regular expressions:
 
* Hex
<source lang="reg">
0x[0-9a-fA-F.]+
</source>
 
* Decimals
<source lang="reg">
[0-9.]+
</source>
 
* PCI Interrupts
<source lang="reg">
INT[A-D]
</source>
 
* Strings
<source lang="reg">
\"[^\"]+\"
</source>
<source lang="reg">
[^ \n\t]+
<source>


== Examples ==
== Examples ==

Revision as of 10:58, 18 February 2014