9#ifndef KERNEL_KERNEL_TESTS_H
10#define KERNEL_KERNEL_TESTS_H
51bool test_memcmp(uint64_t dest, uint64_t b,
int expected_value);
59bool test_strlen(
const char* str, uint8_t expected_value);
Initializes and holds the GDT for the kernel.
Tools for printing to the console and serial output.
Utilities for memory and string operations.
void test_pf_write_fault(void)
Causes a Page fault (write) for handler testing.
void test_pf_read_fault(void)
Causes a Page fault (read) for handler testing.
bool test_flag_byte(void)
Tests the flag byte utility for the gdt.
bool test_memset(uint64_t dest, int value)
Tests the memset utility.
void test_bp_fault(void)
Triggers a Breakpoint for handler testing.
bool test_memcpy(uint64_t dest, uint64_t b)
Tests the memcpy utility.
bool test_strlen(const char *str, uint8_t expected_value)
Tests the strlen utility.
bool test_memcmp(uint64_t dest, uint64_t b, int expected_value)
Tests the memcmp utility.
void test_de_fault(void)
Causes a Division error for handler testing.
void test_kprintf_values(void)
Prints test data and the expected values for visual verification of kprintf.
bool test_access_byte(void)
Tests the access byte utility for the gdt.
bool test_memmove(uint64_t dest, uint64_t b)
Tests the memmove utility.