From f3a4d8b399a83d961f72439aadb09315f79c2c16 Mon Sep 17 00:00:00 2001 From: David Welch Date: Fri, 8 Jun 2012 22:35:30 -0400 Subject: [PATCH] moving twain test to 0x8000 --- twain/README | 3 +++ twain/memmap | 2 +- twain/vectors.s | 19 +------------------ 3 files changed, 5 insertions(+), 19 deletions(-) diff --git a/twain/README b/twain/README index 3b83cb2..d4236d1 100644 --- a/twain/README +++ b/twain/README @@ -379,3 +379,6 @@ and the machine code generated. We also got to play with the caches and mmu in a simplified fashion. (yes this is too wordy and I need to proof/rewrite) +based on new discoveries, changed the start address to 0x8000 for the +whole thing so that messes with cache lines and results have some +differences to the numbers above (for reasons described above). diff --git a/twain/memmap b/twain/memmap index 36a995b..4226666 100644 --- a/twain/memmap +++ b/twain/memmap @@ -1,7 +1,7 @@ MEMORY { - ram : ORIGIN = 0x00000000, LENGTH = 0x100000 + ram : ORIGIN = 0x8000, LENGTH = 0x30000-0x8000 } SECTIONS diff --git a/twain/vectors.s b/twain/vectors.s index 6833550..8ea49b1 100644 --- a/twain/vectors.s +++ b/twain/vectors.s @@ -1,30 +1,13 @@ .globl _start _start: - b reset - b hang - b hang - b hang - b hang - b hang - b hang - b hang - b hang - b hang - b hang - b hang - b hang - b hang - b hang -reset: ;@ add/remove nops here nop nop nop - - +;@ add/remove nops here mov sp,#0x00200000 bl notmain