2025-07-03 01:17:57 +00:00
|
|
|
/* 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);
|
2025-07-16 03:14:33 +00:00
|
|
|
void cr3_reload();
|
2025-07-03 01:17:57 +00:00
|
|
|
|
|
|
|
|
#endif
|