From ec210ff40d5337b0c8682cf3c866a2145133a4f8 Mon Sep 17 00:00:00 2001 From: nikstur Date: Thu, 20 Jul 2023 22:49:45 +0200 Subject: [PATCH] stub: fix typo --- rust/stub/src/pe_loader.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/stub/src/pe_loader.rs b/rust/stub/src/pe_loader.rs index 58b455c..4a39039 100644 --- a/rust/stub/src/pe_loader.rs +++ b/rust/stub/src/pe_loader.rs @@ -20,7 +20,7 @@ const UEFI_PAGE_MASK: usize = (1 << UEFI_PAGE_BITS) - 1; fn make_instruction_cache_coherent(memory: &[u8]) { use core::arch::asm; // Minimum cache line size is 16 bits per the CSSIDR_EL0 format. - // For simplicity, we issue flushes in this stride unconditonally. + // For simplicity, we issue flushes in this stride unconditionally. const CACHE_LINE_SIZE: usize = 16; // The start address gets rounded down, while the end address gets rounded up.