Changeset b5a3b50 in mainline for boot/arch/arm32/include/mm.h


Ignore:
Timestamp:
2012-12-31T08:41:10Z (12 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
029e3cc, 17cc8f4f, 660e8fa, 664fd6d5
Parents:
b55877d
git-author:
Beniamino Galvani <b.galvani@…> (2012-12-31 08:41:10)
git-committer:
Jakub Jermar <jakub@…> (2012-12-31 08:41:10)
Message:

Enable ARM caches in the boot stage of HelenOS to speed up the
decompression. We get a decompression time of 8 seconds on a mini2440
board and only slightly more on a GTA02.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/arm32/include/mm.h

    rb55877d rb5a3b50  
    4747/** Describe "section" page table entry (one-level paging with 1 MB sized pages). */
    4848#define PTE_DESCRIPTOR_SECTION  0x02
     49/** Shift of memory address in section descriptor */
     50#define PTE_SECTION_SHIFT  20
    4951
    5052/** Page table access rights: user - no access, kernel - read/write. */
    5153#define PTE_AP_USER_NO_KERNEL_RW  0x01
     54
     55/** Start of memory mapped I/O area for GTA02 */
     56#define GTA02_IOMEM_START  0x48000000
     57/** End of memory mapped I/O area for GTA02 */
     58#define GTA02_IOMEM_END  0x60000000
    5259
    5360/* Page table level 0 entry - "section" format is used
Note: See TracChangeset for help on using the changeset viewer.