diff options
author | ian <ian@FreeBSD.org> | 2015-08-12 17:23:15 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2015-08-12 17:23:15 +0000 |
commit | 63fee1ed3c12307e2e8fbbb11ada91970a9dcac9 (patch) | |
tree | 6f7cad2c36afae24b4a47fe4d810f35b08937241 /contrib/llvm/tools/lldb/source/Utility/StringExtractorGDBRemote.cpp | |
parent | e8e83ea04ffd331beea107ebc6809904c8046e9f (diff) | |
download | FreeBSD-src-63fee1ed3c12307e2e8fbbb11ada91970a9dcac9.zip FreeBSD-src-63fee1ed3c12307e2e8fbbb11ada91970a9dcac9.tar.gz |
Add a routine to return the hardware instance/unit number from ti,hwmods,
given the hardware name.
The ti,hwmods property is used (among other things) to associate an fdt node
with a specific instance of some hardware. For example given a device node
that contains the property ti,hwmods = "timer3", if you call this passing
"timer" as the hwmod string to look for it would return 3.
Diffstat (limited to 'contrib/llvm/tools/lldb/source/Utility/StringExtractorGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions