mirror of
https://github.com/limine-bootloader/limine
synced 2024-11-21 16:11:30 +03:00
misc: init typos for spell checking
This commit is contained in:
parent
95a48ebbfc
commit
b715948575
@ -14,5 +14,5 @@ max_line_length = 80
|
||||
[{Makefile,GNUmakefile*}]
|
||||
indent_style = tab
|
||||
|
||||
[{*.nix,*.yml}]
|
||||
[{*.nix,*.toml,*.yml}]
|
||||
indent_size = 2
|
||||
|
22
.typos.toml
Normal file
22
.typos.toml
Normal file
@ -0,0 +1,22 @@
|
||||
# Configuration for https://github.com/crate-ci/typos
|
||||
|
||||
[files]
|
||||
extend-exclude = [
|
||||
# Typos already uses .gitignore. These excludes are additional:
|
||||
]
|
||||
|
||||
[default.extend-words]
|
||||
hda = "hda"
|
||||
Nd = "Nd"
|
||||
sie = "sie"
|
||||
SIE = "SIE"
|
||||
ist = "ist"
|
||||
rela = "rela"
|
||||
RELA = "RELA"
|
||||
guid = "guid"
|
||||
GUID = "GUID"
|
||||
pn = "pn"
|
||||
hd = "hd"
|
||||
htpt = "htpt"
|
||||
|
||||
[default.extend-identifiers]
|
@ -78,7 +78,7 @@
|
||||
|
||||
Bug fixes:
|
||||
- multiboot2 protocol: Do not panic if there is a ENTRY_ADDRESS_EFI64
|
||||
tag, but there is a valid alternatve entry point. This further aligns
|
||||
tag, but there is a valid alternative entry point. This further aligns
|
||||
our behaviour with GRUB2.
|
||||
|
||||
Miscellaneous:
|
||||
@ -128,7 +128,7 @@
|
||||
Bug fixes:
|
||||
- Minor fix of newline handling when reading user input lines.
|
||||
|
||||
Miscellanous:
|
||||
Miscellaneous:
|
||||
- Bump major version to 7. Note: There is no breaking change in 7.x
|
||||
compared to 6.x; the major version bump is done due to a change in
|
||||
the versioning scheme used by Limine (move to proper Semantic
|
||||
|
@ -34,7 +34,7 @@ void *acpi_get_rsdp(void) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
/// Returns the RSDP v1 pointer if avaliable or else NULL.
|
||||
/// Returns the RSDP v1 pointer if available or else NULL.
|
||||
void *acpi_get_rsdp_v1(void) {
|
||||
// In BIOS according to the ACPI spec (see ACPI 6.2 section
|
||||
// 5.2.5.1 'Finding the RSDP on IA-PC Systems') it either contains
|
||||
@ -120,7 +120,7 @@ void *acpi_get_rsdp(void) {
|
||||
return rsdp;
|
||||
}
|
||||
|
||||
/// Returns the RSDP v1 pointer if avaliable or else NULL.
|
||||
/// Returns the RSDP v1 pointer if available or else NULL.
|
||||
void *acpi_get_rsdp_v1(void) {
|
||||
// To maintain GRUB compatibility we will need to probe for the RSDP
|
||||
// again since UEFI can contain both XSDP and RSDP (see ACPI 6.2 section
|
||||
@ -188,7 +188,7 @@ void acpi_get_smbios(void **smbios32, void **smbios64) {
|
||||
|
||||
#endif
|
||||
|
||||
/// Returns the RSDP v2 pointer if avaliable or else NULL.
|
||||
/// Returns the RSDP v2 pointer if available or else NULL.
|
||||
void *acpi_get_rsdp_v2(void) {
|
||||
// Since the acpi_get_rsdp function already looks for the XSDP we can
|
||||
// just check if it has the correct revision and return the pointer :^)
|
||||
|
@ -14,7 +14,7 @@
|
||||
#include <crypt/blake2b.h>
|
||||
|
||||
// A URI takes the form of: resource://root/path#hash
|
||||
// The following function splits up a URI into its componenets
|
||||
// The following function splits up a URI into its components
|
||||
bool uri_resolve(char *uri, char **resource, char **root, char **path, char **hash) {
|
||||
size_t length = strlen(uri) + 1;
|
||||
char *buf = ext_mem_alloc(length);
|
||||
|
@ -96,7 +96,7 @@ level4:
|
||||
pml3 = get_next_level(pagemap, pml4, virt_addr, pg_size, 3, pml4_entry);
|
||||
|
||||
if (pg_size == Size1GiB) {
|
||||
// Check if 1GiB pages are avaliable.
|
||||
// Check if 1GiB pages are available.
|
||||
if (is_1gib_page_supported()) {
|
||||
pml3[pml3_entry] = (pt_entry_t)(phys_addr | flags | PT_FLAG_LARGE);
|
||||
} else {
|
||||
|
@ -743,7 +743,7 @@ skip_modeset:;
|
||||
// NOTE: The multiboot2 specification does not say anything about if both
|
||||
// smbios 32 and 64 bit entry points are present, then we pass both of them + smbios
|
||||
// support for grub2 is unimplemented. So, we are going to assume they expect us to
|
||||
// pass both of them if avaliable. Oh well...
|
||||
// pass both of them if available. Oh well...
|
||||
if (smbios_entry_32 != NULL) {
|
||||
struct multiboot_tag_smbios *tag = (struct multiboot_tag_smbios *)(mb2_info + info_idx);
|
||||
|
||||
|
@ -39,7 +39,7 @@
|
||||
nasm
|
||||
pkg-config # Checked for by ./configure but seems unused?
|
||||
|
||||
# gcc toolchain (comes as default, here only for completness)
|
||||
# gcc toolchain (comes as default, here only for completeness)
|
||||
binutils
|
||||
gcc
|
||||
gnumake
|
||||
|
@ -7,7 +7,7 @@
|
||||
# stable release. Further, unlike the nixpkgs derivation, this derivation runs
|
||||
# the ./bootstrap step which needs network access. Due to the nature of the
|
||||
# self-hacked Git submodules download approach, packaging this project in Nix
|
||||
# is especailly complicated. The complicated multi-derivation approach below
|
||||
# is especially complicated. The complicated multi-derivation approach below
|
||||
# is the best I can get after multiple hours of trying. :).
|
||||
|
||||
{
|
||||
@ -84,7 +84,7 @@ let
|
||||
# derivation in a non-deterministic way.
|
||||
fd -u --type=d "^.git$" --min-depth=2 . --exec rm -rf {}
|
||||
|
||||
# This should report nothing. Othewise, the Nix build will fail.
|
||||
# This should report nothing. Otherwise, the Nix build will fail.
|
||||
# grep -r /nix/store .
|
||||
|
||||
runHook postBuild
|
||||
|
@ -42,7 +42,7 @@ void multiboot_main(uint32_t magic, struct multiboot1_info *info) {
|
||||
|
||||
// For now we only print the usable memory map entries since
|
||||
// printing the whole memory map blows my terminal up. We also
|
||||
// iterate through the avaliable memory map entries and add up
|
||||
// iterate through the available memory map entries and add up
|
||||
// to find the total amount of usable memory.
|
||||
for (struct multiboot1_mmap_entry* entry = start; entry < end; entry++) {
|
||||
// Check if the memory map entry is marked as usable!
|
||||
|
@ -92,7 +92,7 @@ void multiboot2_main(uint32_t magic, struct multiboot_info* mb_info_addr) {
|
||||
|
||||
// For now we only print the usable memory map entries since
|
||||
// printing the whole memory map blows my terminal up. We also
|
||||
// iterate through the avaliable memory map entries and add up
|
||||
// iterate through the available memory map entries and add up
|
||||
// to find the total amount of usable memory.
|
||||
for (size_t i = 0; i < entry_count; i++) {
|
||||
e9_printf("\t\t\t addr=%x", m[i].addr);
|
||||
|
Loading…
Reference in New Issue
Block a user