File tree 3 files changed +6
-20
lines changed
3 files changed +6
-20
lines changed Original file line number Diff line number Diff line change @@ -379,3 +379,6 @@ and the machine code generated. We also got to play with the caches
379
379
and mmu in a simplified fashion.
380
380
381
381
(yes this is too wordy and I need to proof/rewrite)
382
+ based on new discoveries, changed the start address to 0x8000 for the
383
+ whole thing so that messes with cache lines and results have some
384
+ differences to the numbers above (for reasons described above).
Original file line number Diff line number Diff line change 1
1
2
2
MEMORY
3
3
{
4
- ram : ORIGIN = 0x00000000 , LENGTH = 0x100000
4
+ ram : ORIGIN = 0x8000 , LENGTH = 0x30000-0x8000
5
5
}
6
6
7
7
SECTIONS
Original file line number Diff line number Diff line change 1
1
2
2
.globl _start
3
3
_start:
4
- b reset
5
- b hang
6
- b hang
7
- b hang
8
- b hang
9
- b hang
10
- b hang
11
- b hang
12
- b hang
13
- b hang
14
- b hang
15
- b hang
16
- b hang
17
- b hang
18
- b hang
19
-
20
- reset:
4
+
21
5
22
6
;@ add/remove nops here
23
7
nop
24
8
nop
25
9
nop
26
-
27
-
10
+ ;@ add/remove nops here
28
11
29
12
mov sp , # 0x00200000
30
13
bl notmain
You can’t perform that action at this time.
0 commit comments