60 Panic(
"Failed to mount FAT16 volume");
67 Kprintf(
"\nHello form WKern!\n");
75 Kprintf(
"Welcome!\n\nStarting...\n");
void KheapInit()
Initialize Memory Heap.
u32 Fat16Mount(u32 partition_lba)
Mounts the FAT16 filesystem from a given partition LBA.
Definitions and declarations for FAT16 filesystem and ATA I/O.
u32 FindFat16Partition(void)
Finds the FAT16 partition on disk.
void AllIdt()
Initialize and load the Interrupt Descriptor Table (IDT)
void Panic(const char *msg)
void Kgetstr(char *str, int length)
Reads a line of input from the keyboard (blocking).
void Kflush()
Flushes the keyboard controller input buffer.
void Kprintf(const char *fmt,...)
Formatted output to the screen.
void Kcfp()
Clears the screen by filling the video memory with spaces.
void KprintHex(u32 num)
Prints a 32-bit unsigned integer in hexadecimal format prefixed with "0x".
void Kputchar(char c)
Outputs a single character to the screen at the current cursor position.
void ZZZ(int ms)
Sleeps for 10ms.
void KernelMain()
Kernel entry point.
unsigned int u32
32-Bit Unsigned Int
void Sh()
The main interactive WKern shell loop.
void VirtnetSetup()
Performs full setup of the VirtIO network device.