feat(Terminal): Enhance terminal UI with panel updates and new BoxUI utility functions
feat(Timekeeping): Implement time initialization and month string representation refactor(Panic): Improve panic output formatting and add boxed UI elements refactor(UEFI): Expand UEFI header and structure definitions for better clarity refactor(IoPort): Comment out unimplemented IO functions for future work
This commit is contained in:
@@ -23,17 +23,18 @@ namespace Io {
|
||||
asm ("outl %0, %1" : : "a"(value), "Nd"(port) : "memory");
|
||||
}
|
||||
|
||||
inline uint8_t In8(uint16_t port) {
|
||||
asm ("inb %0" : : "Nd"(port) : "memory");
|
||||
}
|
||||
/* TODO fix */
|
||||
// inline uint8_t In8(uint16_t port) {
|
||||
// asm ("inb %0" : : "Nd"(port) : "memory");
|
||||
// }
|
||||
|
||||
inline uint16_t In16(uint16_t port) {
|
||||
asm ("inw %0" : : "Nd"(port) : "memory");
|
||||
}
|
||||
// inline uint16_t In16(uint16_t port) {
|
||||
// asm ("inw %0" : : "Nd"(port) : "memory");
|
||||
// }
|
||||
|
||||
inline uint32_t In32(uint16_t port) {
|
||||
asm ("inl %0" : : "Nd"(port) : "memory");
|
||||
}
|
||||
// inline uint32_t In32(uint16_t port) {
|
||||
// asm ("inl %0" : : "Nd"(port) : "memory");
|
||||
// }
|
||||
|
||||
inline void IoPortWait() {
|
||||
Out8(0x80, 0);
|
||||
|
||||
Reference in New Issue
Block a user