diff --git a/.codespellrc b/.codespellrc new file mode 100644 index 00000000..d5b38d8c --- /dev/null +++ b/.codespellrc @@ -0,0 +1,2 @@ +[codespell] +ignore-words-list = inout,hda diff --git a/api/src/config.rs b/api/src/config.rs index c0f574bd..207124bc 100644 --- a/api/src/config.rs +++ b/api/src/config.rs @@ -380,7 +380,7 @@ pub struct Mappings { /// Configures the base address of the kernel. /// /// If a fixed address is set, it must be paged aligned and the kernel must be - /// a position-independent exectuable. + /// a position-independent executable. pub kernel_base: Mapping, /// Specifies where the [`crate::BootInfo`] struct should be placed in virtual memory. pub boot_info: Mapping, diff --git a/examples/basic/kernel/basic-kernel.md b/examples/basic/kernel/basic-kernel.md index 5a003ccc..daec69f5 100644 --- a/examples/basic/kernel/basic-kernel.md +++ b/examples/basic/kernel/basic-kernel.md @@ -3,7 +3,7 @@ A minimal kernel to showcase the usage of bootloader. The kernel: -- Initalizes a serial port on [COM1](https://wiki.osdev.org/Serial_Ports#Port_Addresses) +- Initializes a serial port on [COM1](https://wiki.osdev.org/Serial_Ports#Port_Addresses) - Dumps the [`boot_info`](/api/src/info.rs) it received from `bootloader` - Prints a message - Exits QEMU with a custom exit code via the `isa-debug-exit` device