Skip to content

Commit

Permalink
Add variable names in vm.h
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamos82 committed May 2, 2024
1 parent 0b25cf0 commit 9c35372
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/include/kernel/arch/x86_64/vm.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,17 @@
#define PAGE_ENTRY_FLAGS PRESENT_BIT | WRITE_BIT
#endif

void page_fault_handler(uint64_t);
void page_fault_handler( uint64_t error_code );

void initialize_vm();

void clean_new_table(uint64_t *);
void clean_new_table( uint64_t *table_to_clean );

void invalidate_page_table(uint64_t *);
void invalidate_page_table( uint64_t *table_address );

void load_cr3(void*);
void load_cr3( void* cr3_value );

uint64_t ensure_address_in_higher_half( uint64_t );
uint64_t ensure_address_in_higher_half( uint64_t address);

bool is_address_higher_half(uint64_t);
bool is_address_higher_half(uint64_t address);
#endif

0 comments on commit 9c35372

Please sign in to comment.