Browse Source
For example: reserved-names="res1\0res2\0res3"; Where \0 is an actual embedded NUL in the source instead of a string escape. To achieve this, use the len given by the lexer instead of strlen. Without this patch dtc will mangle the output and possibly hang on realloc.main
![jack@codezen.org](/assets/img/avatar_default.png)
![David Gibson](/assets/img/avatar_default.png)
4 changed files with 11 additions and 1 deletions
Binary file not shown.
@ -0,0 +1,6 @@ |
|||||||
|
/dts-v1/; |
||||||
|
|
||||||
|
/ { |
||||||
|
reserved-names = "aaaaaaaaaaaaaaaaaa\0bbbbbb\0ccccccccccccc"; |
||||||
|
reserved-ranges = < 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 0x0 >; |
||||||
|
}; |
Loading…
Reference in new issue