v4p: dma support

This commit is contained in:
Maxim Devaev
2024-03-08 23:43:24 +00:00
parent e1ef86146f
commit 897ad4951b
5 changed files with 372 additions and 329 deletions

View File

@@ -72,6 +72,14 @@
(m_a > m_b ? m_a : m_b); \
})
#define US_ONCE(...) { \
const int m_reported = __LINE__; \
if (m_reported != once) { \
__VA_ARGS__; \
once = m_reported; \
} \
}
INLINE char *us_strdup(const char *str) {
char *const new = strdup(str);