Move assembly code for x86 64 IO to io.S

This commit is contained in:
2025-08-10 21:38:09 +02:00
parent 8ee1ea1292
commit 83e58b0ac2
3 changed files with 27 additions and 22 deletions

7
kernel/hal/x86_64/io.h Normal file
View File

@ -0,0 +1,7 @@
#ifndef HAL_IO_H_
#define HAL_IO_H_
extern uint8_t io_inb(uint16_t port);
extern void io_outb(uint16_t port, uint8_t value);
#endif // HAL_IO_H_