From 55e7521e36ef7843eca83eb608694de9b2a8558c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Mon, 18 Feb 2013 15:00:35 +0100 Subject: [PATCH] ARM: Fix typo --- src/system/boot/arch/arm/arch_mmu.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/system/boot/arch/arm/arch_mmu.cpp b/src/system/boot/arch/arm/arch_mmu.cpp index c72b2c7698..1183551384 100644 --- a/src/system/boot/arch/arm/arch_mmu.cpp +++ b/src/system/boot/arch/arm/arch_mmu.cpp @@ -150,7 +150,7 @@ get_next_virtual_address(size_t size) static addr_t -get_next_virtual_address_alligned(size_t size, uint32 mask) +get_next_virtual_address_aligned(size_t size, uint32 mask) { addr_t address = (sNextVirtualAddress) & mask; sNextVirtualAddress = address + size; @@ -170,7 +170,7 @@ get_next_physical_address(size_t size) static addr_t -get_next_physical_address_alligned(size_t size, uint32 mask) +get_next_physical_address_aligned(size_t size, uint32 mask) { addr_t address = sNextPhysicalAddress & mask; sNextPhysicalAddress = address + size; @@ -182,14 +182,14 @@ get_next_physical_address_alligned(size_t size, uint32 mask) static addr_t get_next_virtual_page(size_t pagesize) { - return get_next_virtual_address_alligned(pagesize, 0xffffffc0); + return get_next_virtual_address_aligned(pagesize, 0xffffffc0); } static addr_t get_next_physical_page(size_t pagesize) { - return get_next_physical_address_alligned(pagesize, 0xffffffc0); + return get_next_physical_address_aligned(pagesize, 0xffffffc0); } @@ -276,7 +276,7 @@ get_next_page_table(uint32 type) sNextPageTableAddress += size; else { TRACE(("page table allocation outside of pagetable region!\n")); - address = get_next_physical_address_alligned(size, 0xffffffc0); + address = get_next_physical_address_aligned(size, 0xffffffc0); } uint32 *pageTable = (uint32 *)address;