limine/src/lib/blib.h

19 lines
336 B
C
Raw Normal View History

2020-01-22 07:02:12 +03:00
#ifndef __LIB__BLIB_H__
#define __LIB__BLIB_H__
#include <stddef.h>
2020-01-25 04:05:19 +03:00
#include <stdint.h>
void pit_sleep(uint64_t pit_ticks);
2020-01-22 07:02:12 +03:00
void print(const char *fmt, ...);
char getchar(void);
void gets(char *buf, size_t limit);
2020-01-22 09:13:19 +03:00
uint64_t strtoui(const char *s);
2020-01-22 07:02:12 +03:00
#define DIV_ROUNDUP(a, b) (((a) + ((b) - 1)) / (b))
typedef void *symbol[];
#endif