Implement storedevs, prepare to port littlefs
This commit is contained in:
@ -13,7 +13,11 @@ void *hal_memset(void *p, int c, size_t n);
|
||||
void *hal_memcpy(void *dst, const void *src, size_t n);
|
||||
size_t hal_strlen(char *s);
|
||||
int hal_memcmp(const void *s1, const void *s2, int len);
|
||||
|
||||
int hal_strcmp(const char *a, const char *b);
|
||||
size_t hal_strcspn(const char *s, const char *reject);
|
||||
size_t hal_strspn(const char *s, const char *accept);
|
||||
char *hal_strcpy(char *dest, const char *src);
|
||||
char *hal_strchr(const char *s, int c);
|
||||
|
||||
#if defined(__x86_64__)
|
||||
# define HAL_PAGE_SIZE 0x1000
|
||||
|
Reference in New Issue
Block a user