End the _t nonsense

This commit is contained in:
2026-04-01 09:15:59 +02:00
parent e8a0a36889
commit e9b57f70b1
17 changed files with 59 additions and 59 deletions
+2 -2
View File
@@ -16,11 +16,11 @@
#include <stddef.h>
#include <stdint.h>
struct heap_block_t {
struct heap_block {
size_t size;
bool free; // 1byte
uint8_t reserved[7]; // (7+1 = 8 bytes)
struct heap_block_t* next;
struct heap_block* next;
} __attribute__((aligned(16)));
void kheap_init(void);
+1 -1
View File
@@ -34,7 +34,7 @@ extern uint64_t hhdm_off;
#define PAGE_ALIGN_DOWN(x) ((x) & PTE_ADDR_MASK)
#define ALIGN(size) ALIGN_UP(size, 16)
#define BLOCK_MIN_SIZE (sizeof(struct heap_block_t) + 16)
#define BLOCK_MIN_SIZE (sizeof(struct heap_block) + 16)
#define PML4_INDEX(x) (((x) >> 39) & 0x1FF)
#define PDPT_INDEX(x) (((x) >> 30) & 0x1FF)