[haiku-commits] haiku: hrev45302 - src/system/boot/arch/arm

  • From: revol@xxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 18 Feb 2013 15:01:00 +0100 (CET)

hrev45302 adds 1 changeset to branch 'master'
old head: 936ad115209091f4e0744f4ca74bae2f51455b27
new head: 55e7521e36ef7843eca83eb608694de9b2a8558c
overview: http://cgit.haiku-os.org/haiku/log/?qt=range&q=55e7521+%5E936ad11

----------------------------------------------------------------------------

55e7521: ARM: Fix typo

                                          [ François Revol <revol@xxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev45302
Commit:      55e7521e36ef7843eca83eb608694de9b2a8558c
URL:         http://cgit.haiku-os.org/haiku/commit/?id=55e7521
Author:      François Revol <revol@xxxxxxx>
Date:        Mon Feb 18 14:00:35 2013 UTC

----------------------------------------------------------------------------

1 file changed, 5 insertions(+), 5 deletions(-)
src/system/boot/arch/arm/arch_mmu.cpp | 10 +++++-----

----------------------------------------------------------------------------

diff --git a/src/system/boot/arch/arm/arch_mmu.cpp 
b/src/system/boot/arch/arm/arch_mmu.cpp
index c72b2c7..1183551 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;


Other related posts:

  • » [haiku-commits] haiku: hrev45302 - src/system/boot/arch/arm - revol