diff options
Diffstat (limited to 'head')
| -rw-r--r-- | head/sboot/sboot.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/head/sboot/sboot.h b/head/sboot/sboot.h new file mode 100644 index 0000000..749fbc7 --- /dev/null +++ b/head/sboot/sboot.h @@ -0,0 +1,19 @@ +/* + * Copyright (c) 2026, Apollo Telephone Laboratories. + * Provided under the BSD-3 clause. + */ + +#ifndef _COMMON_SBOOT_H_ +#define _COMMON_SBOOT_H_ 1 + +/* Bootloader version */ +#define SBOOT_VERSION L"v0.0.1" + +/* Helper macros */ +#define NELEM(a) (sizeof(a) / sizeof(a[0])) + +/* TODO: Move this and make it less of an infinite loop */ +#define Hcf() \ + for (;;); + +#endif /* !_COMMON_SBOOT_H_ */ |
