clang-format set column width to 100 chars

This commit is contained in:
2025-12-22 19:38:32 +01:00
parent 7b33d0757a
commit 69feceaaae
17 changed files with 77 additions and 120 deletions

View File

@@ -35,8 +35,7 @@ static struct pg_index amd64_mm_page_index (uint64_t vaddr) {
return ret;
}
static uint64_t* amd64_mm_next_table (uint64_t* table, uint64_t entry_idx,
bool alloc) {
static uint64_t* amd64_mm_next_table (uint64_t* table, uint64_t entry_idx, bool alloc) {
uint64_t entry = table[entry_idx];
uint64_t paddr;
@@ -75,8 +74,7 @@ static void amd64_reload_cr3 (void) {
__asm__ volatile ("movq %%cr3, %0; movq %0, %%cr3" : "=r"(cr3)::"memory");
}
void mm_map_page (struct pd* pd, uintptr_t paddr, uintptr_t vaddr,
uint32_t flags) {
void mm_map_page (struct pd* pd, uintptr_t paddr, uintptr_t vaddr, uint32_t flags) {
struct limine_hhdm_response* hhdm = limine_hhdm_request.response;
bool do_reload = false;