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;
|
||||
}
|
||||
|
||||
@@ -15,4 +15,6 @@ Size StringGetLength(const ASCII* string);
|
||||
const ASCII* StringFindLastOccurrenceOfCharacter(const ASCII* string, ASCII separator);
|
||||
|
||||
Int32 StringFormatVariadic(ASCII* string, Size size, const ASCII* format, va_list args);
|
||||
Int32 StringFormat(ASCII* destination, UInt64 size, const ASCII* format, ...);
|
||||
Int32 StringFormat(ASCII* destination, UInt64 size, const ASCII* format, ...);
|
||||
|
||||
Boolean StringStartsWith(const ASCII* string, const ASCII* prefix);
|
||||
Reference in New Issue
Block a user