Lots of improvements to the BSD-licensed dtc
authortheraven <theraven@FreeBSD.org>
Sun, 25 Oct 2015 14:52:16 +0000 (14:52 +0000)
committertheraven <theraven@FreeBSD.org>
Sun, 25 Oct 2015 14:52:16 +0000 (14:52 +0000)
commitf89934e0d7a2af95ccadda8278886fd5cba9cb3a
tree22d99608196de7e420886ac2b497690c8dda2d6b
parentd68c757503c2c8a21cd45586aef14485c96ad222
Lots of improvements to the BSD-licensed dtc

- Various fixes to includes (including recursive includes)
- Lots of testing that the output exactly matches GPL'd dtc
- Lots of bug fixes to merging
- Fix incorrect mmap usage
- Ad-hoc memory management replaced with C++11 unique_ptr and similar

Patrick Wildt has successfully run many (all?) of the GPL dtc test suite.
usr.bin/Makefile
usr.bin/dtc/checking.cc
usr.bin/dtc/checking.hh
usr.bin/dtc/dtb.cc
usr.bin/dtc/dtc.cc
usr.bin/dtc/fdt.cc
usr.bin/dtc/fdt.hh
usr.bin/dtc/input_buffer.cc
usr.bin/dtc/input_buffer.hh
usr.bin/dtc/string.hh