diff --git a/kernel/memory/paging.c b/kernel/memory/paging.c index 3a477d9..30d25f0 100644 --- a/kernel/memory/paging.c +++ b/kernel/memory/paging.c @@ -144,7 +144,7 @@ void page_fault(registers_t regs) { int id = regs.err_code & 0x10; print_newline(); - print_d("Page fault! ( "); + print_d("Page fisting! ( "); if (present) print_d("present "); if (rw) print_d("read-only "); if (us) print_d("user mode "); @@ -169,4 +169,4 @@ struct page* get_page_at(void* ptr) { struct page* cur_page = &cur_page_table->pages[p_t_idx]; return cur_page; -} \ No newline at end of file +} diff --git a/kernel/shell.c b/kernel/shell.c index 35daa08..de4c05d 100644 --- a/kernel/shell.c +++ b/kernel/shell.c @@ -8,7 +8,7 @@ #include "../drivers/screen.h" #include "memory/include/test.h" -#define MSG_LEN 9 +#define MSG_LEN 7 #define MAX_ARGS 5 #define MAX_LEN MAX_COLS - MSG_LEN #define COMMANDS_COUNT 10 @@ -28,7 +28,7 @@ static struct command cmds[COMMANDS_COUNT] = { (struct command) { 9, 0, "memtest" }, }; -static char cli_msg[MSG_LEN] = "~console>"; +static char cli_msg[MSG_LEN] = "~slave>"; static char cur_row[MAX_LEN]; static int cur_row_pos; char* cmd_args[MAX_ARGS]; @@ -51,7 +51,7 @@ void echo() { void panic(const char *msg) { print_newline(); - print_d("KERNEL PANIC( "); + print_d("KERNEL CUMMING( "); print(msg, 0x04); print_d(" )"); print_newline(); @@ -61,7 +61,7 @@ void panic(const char *msg) { void yes() { int yes_rep = MAX_ROWS - 1; if (cmd_args[1] == NULL) { - for (int i = 0; i "); + print_d(" asses -> "); print_d(cmd_args[1]); } @@ -120,7 +120,7 @@ void add() { *(res_addr) = result; } - print_d("RESULT: "); + print_d("DO YOU LIKE WHAT YOU SEE: "); print_hex_d(result); } @@ -144,7 +144,7 @@ void help() { "\nadd (addr_1) (addr_2) [res_addr] - sums two bytes of data", "\nclear - flushes the screen data", "\nexit - shutdowns the machine", - "\nhelp - show help", + "\nhelp - fist ass", "\n(addr) in DECIMAL, (size) in DECIMAL, (data) in CHARACTERS" };