feat: parsing dtb
This commit is contained in:
@@ -8,3 +8,7 @@ static inline UInt32 BytesSwap32(UInt32 value) {
|
||||
static inline UInt64 BytesSwap64(UInt64 value) {
|
||||
return __builtin_bswap64(value);
|
||||
}
|
||||
|
||||
static inline UInt64 Merge32To64(UInt32 low, UInt32 high) {
|
||||
return ((UInt64)high << 32) | low;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user