tianole/arch/x86/boot/support.c
Microindole e3782144b8
refactor(build): split makefiles and normalize internal API names
- align makefile layout with Linux-style directories
2026-05-08 21:00:24 +08:00

14 lines
205 B
C

#include <stdint.h>
void *memset(void *dst, int value, __SIZE_TYPE__ size)
{
uint8_t *out = (uint8_t *)dst;
__SIZE_TYPE__ i;
for (i = 0; i < size; ++i) {
out[i] = (uint8_t)value;
}
return dst;
}