From 44f17929a22f0d002bfed6ccd1bbec0267f742d1 Mon Sep 17 00:00:00 2001 From: rezky_nightky Date: Fri, 26 Dec 2025 02:37:19 +0700 Subject: [PATCH] fix: some typo Author: rezky_nightky Repository: bootloader Branch: main Signing: GPG (4B65AAC2) HashAlgo: BLAKE3 [ Block Metadata ] BlockHash: 7433acdbc724530b91834520d148f13233679897b0d2067fa72028c0f3372051 PrevHash: 13c04d9f5efec3e3fb5958e8028e713e916690db8029ab9b15f3971983fbd6da PatchHash: 609098c8bc3708c85317ec3edb79cc1798edcb06b729bb5fccd53453c10aee25 FilesChanged: 3 Lines: +4 / -2 Timestamp: 2025-12-25T19:37:19Z Signature1: d929e71d5ff9780e9954577b8f7005bb589474f495c1263d3201fba7888ae6c3 Signature2: c0a584cbe65d935c8bf9a518937d20a7ed49cd50a940f2a194a5c6e329730599 --- .codespellrc | 2 ++ api/src/config.rs | 2 +- examples/basic/kernel/basic-kernel.md | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 .codespellrc 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