Switch: to freestanding stdint and stdbool headers

This commit is contained in:
xamidev
2024-08-24 16:26:14 +02:00
parent 0146613ce7
commit a03bb42790
26 changed files with 31 additions and 48 deletions

View File

@@ -1,4 +1,4 @@
#include "../libc/stdint.h"
#include <stdint.h>
#include "../kernel/io.h"
#include "../libc/stdio.h"

View File

@@ -1,6 +1,8 @@
#ifndef ATA_H
#define ATA_H
#include <stdint.h>
void ata_read_sector(uint32_t lba, uint8_t* buffer);
void test_read_sector();

View File

@@ -1,4 +1,4 @@
#include "../libc/stdint.h"
#include <stdint.h>
#include "framebuffer.h"
#include "serial.h"
#include "../kernel/system.h"

View File

@@ -1,6 +1,8 @@
#ifndef FRAMEBUFFER_H
#define FRAMEBUFFER_H
#include <stdint.h>
#define PSF1_FONT_MAGIC 0x0436
typedef struct {
@@ -9,7 +11,6 @@ typedef struct {
uint8_t characterSize; // PSF character size.
} PSF1_Header;
#define PSF_FONT_MAGIC 0x864ab572
typedef struct {