History log of /haiku-fatelf/src/system/boot/arch/arm/arch_mmu.cpp
Revision Date Author Comments
# 7c45cf71 03-Dec-2012 Michael Lotz <mmlr@mlotz.ch>

Remove tracking of sMaxVirtualAddress as it's not used.

The value computed isn't actually used anywhere. It just ensured that
a panic would be triggered if we "skipped" to virtual addresses further
along. This shouldn't be problematic however.


# 83f7c225 03-Dec-2012 Michael Lotz <mmlr@mlotz.ch>

Reuse get_or_create_page_table() and remove similar add_page().

The former also does the initialization, simplifying the code and
reducing redundancy with the page directory init path.


# a438da7c 03-Dec-2012 Michael Lotz <mmlr@mlotz.ch>

Clear the page tables on creation, use macros for counts.

This makes it less likely that uninitialized entries cause troubles.
Also panic if we encounter an unknown entry type instead of defaulting
to 4K pages.


# 89564c0a 03-Dec-2012 Michael Lotz <mmlr@mlotz.ch>

Simplify the page directory init loops.

Also check and possibly reuse an existing page directory entry. This
makes the possible memory maps a little more flexible.


# 50c463f4 03-Dec-2012 Michael Lotz <mmlr@mlotz.ch>

Header cleanup, rename macros for more consistency.


# 3d4175bf 03-Dec-2012 Michael Lotz <mmlr@mlotz.ch>

Map the page directory before turning on the MMU.

And actually use the virtual address for it later on. This wasn't
problematic as the virtual and physical addresses are identity mapped,
but it seems more correct to do it in this order.


# 0deac574 03-Dec-2012 Michael Lotz <mmlr@mlotz.ch>

Simplify, don't do the calculation twice.


# 05893479 03-Dec-2012 Michael Lotz <mmlr@mlotz.ch>

Style cleanup only.


# 87cedaf4 27-Nov-2012 Michael Lotz <mmlr@mlotz.ch>

Fix more format strings for MMU trace output.


# 054ec8a7 27-Nov-2012 Michael Lotz <mmlr@mlotz.ch>

Fix warnings by using format macros in debug output.


# 36b41db7 09-Nov-2012 Ithamar R. Adema <ithamar@upgrade-android.com>

Merge common ARM CPU/MMU code

This is to make sure all ARM platforms will benefit from planned work on this
MMU/CPU code. The less code duplicated, the better.

Compile-tested for all supported ARM platforms


# 36b41db7aaa7c0fd032cb408234b58f3839f577c 09-Nov-2012 Ithamar R. Adema <ithamar@upgrade-android.com>

Merge common ARM CPU/MMU code

This is to make sure all ARM platforms will benefit from planned work on this
MMU/CPU code. The less code duplicated, the better.

Compile-tested for all supported ARM platforms