:: commit 4948d52df89cdc4c77bc13c70607e6175cf62861

Mintsuki <mintsuki@protonmail.com> — 2025-10-03 07:21

parents: 4243f0fcc4

misc: Fix some minor spelling mistakes

diff --git a/common/lib/acpi.c b/common/lib/acpi.c
index f7c88308..012f22e0 100644
--- a/common/lib/acpi.c
+++ b/common/lib/acpi.c
@@ -106,7 +106,7 @@ void *acpi_get_rsdp(void) {
         // We want to return the XSDP if it exists rather then returning
         // the RSDP. We need to add a check for that since the table entries
         // are not in the same order for all EFI systems since it might be the
-        // case where the RSDP ocurs before the XSDP.
+        // case where the RSDP occurs before the XSDP.
         if (is_xsdp) {
             rsdp = (void *)cur_table->VendorTable;
             break; // Found it!.
diff --git a/common/mm/mtrr.c b/common/mm/mtrr.c
index 3d49301f..b00e1717 100644
--- a/common/mm/mtrr.c
+++ b/common/mm/mtrr.c
@@ -76,7 +76,7 @@ void mtrr_restore(void) {
     }
 
     /* according to the Intel SDM 12.11.7.2 "MemTypeSet() Function",
-       we need to follow this precedure before changing MTRR set up */
+       we need to follow this procedure before changing MTRR set up */
 
     /* save old cr0 and then enable the CD flag and disable the NW flag */
     uintptr_t old_cr0;
tab: 248 wrap: offon