Added AMAZING boot menu to KBOOT

This commit is contained in:
2025-01-05 18:20:15 +01:00
parent 707733e449
commit 94ca8c935f
22 changed files with 651 additions and 16 deletions
+10
View File
@@ -0,0 +1,10 @@
#ifndef _STDARG_H
#define _STDARG_H
typedef char* va_list;
#define va_start(ap, paramn) (void)((ap) = (char*)(&(paramn) + 1))
#define va_end(ap) (void)((ap) = 0)
#define va_arg(ap, type) (((type*)((ap) = ((ap) + sizeof(type))))[-1])
#endif