1 | #pragma once |
2 | |
3 | #ifdef UACPI_OVERRIDE_LIBC |
4 | #include "uacpi_libc.h" |
5 | #else |
6 | /* |
7 | * The following libc functions are used internally by uACPI and have a default |
8 | * (sub-optimal) implementation: |
9 | * - memcpy |
10 | * - memset |
11 | * - memcmp |
12 | * - strcmp |
13 | * - memmove |
14 | * - strnlen |
15 | * - strlen |
16 | * - snprintf |
17 | * - vsnprintf |
18 | * |
19 | * In case your platform happens to implement optimized verisons of the helpers |
20 | * above, you are able to make uACPI use those instead by overriding them like so: |
21 | * |
22 | * #define uacpi_memcpy my_fast_memcpy |
23 | * #define uacpi_snprintf my_fast_snprintf |
24 | */ |
25 | #endif |
26 | |