feat: parsing dtb

This commit is contained in:
karina
2026-04-26 10:48:54 +04:00
parent f15a146608
commit 32931021d2
5 changed files with 25 additions and 14 deletions
+4
View File
@@ -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;
}
+3 -1
View File
@@ -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);