Untitled_Kernel/include/asm.h
lordtet 6261af8e3a Some changes to names and a convenience ASM function
asm.h now can nuke the TLB by refreshing the PD.
also changed some symbols to more accurately represent what they are
for, such as the kernelspace page tables or the global PD.
2025-07-15 23:14:33 -04:00

15 lines
230 B
C

/* asm.h
* Assembly wrappers
*
* Wrapper functions for using assembly files.
*/
#ifndef ASM_H
#define ASM_H
#include <stdint.h>
void outb(uint16_t port, uint8_t data);
uint8_t inb(uint16_t port);
void cr3_reload();
#endif