pure sdk for main

This commit is contained in:
divadiow
2025-08-27 09:51:58 +01:00
parent f0d033f1c9
commit 0571416e7c
3283 changed files with 1577720 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
#ifndef _HGIC_SKBPOOL_H_
#define _HGIC_SKBPOOL_H_
enum SKBPOOL_FLAGS {
SKBPOOL_FLAGS_MGMTFRM_INHEAP = BIT(0),
SKBPOOL_FLAGS_LEAK_TRACE = BIT(1),
SKBPOOL_FLAGS_OVERFLOW_CHECK = BIT(2),
SKBPOOL_FLAGS_ALIGN_16 = BIT(3),
};
extern int32 skbpool_init(uint32 addr, uint32 size, uint32 max, uint8 flags);
extern uint32 skbpool_freesize(int8 tx);
extern int32 skbpool_collect_init(void);
extern void skbpool_status(uint32 *status_buf, uint32 size, uint32 mini_size);
extern int32 skbpool_max_usage(uint8 max);
extern int32 skbpool_add_region(uint32 addr, uint32 size);
#endif