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:
2025-08-14 12:36:56 +02:00
parent 7f0e67782d
commit 18ab628682
10 changed files with 522 additions and 42 deletions
+10 -9
View File
@@ -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);