Skip to content

Commit 4263941

Browse files
committed
update
1 parent 05cf059 commit 4263941

File tree

4 files changed

+276
-0
lines changed

4 files changed

+276
-0
lines changed

os2/src/link_app.S

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
2+
.align 3
3+
.section .data
4+
.global _num_app
5+
_num_app:
6+
.quad 7
7+
.quad app_0_start
8+
.quad app_1_start
9+
.quad app_2_start
10+
.quad app_3_start
11+
.quad app_4_start
12+
.quad app_5_start
13+
.quad app_6_start
14+
.quad app_6_end
15+
16+
.section .data
17+
.global app_0_start
18+
.global app_0_end
19+
app_0_start:
20+
.incbin "../user/build/bin/ch2b_bad_address.bin"
21+
app_0_end:
22+
23+
.section .data
24+
.global app_1_start
25+
.global app_1_end
26+
app_1_start:
27+
.incbin "../user/build/bin/ch2b_bad_instructions.bin"
28+
app_1_end:
29+
30+
.section .data
31+
.global app_2_start
32+
.global app_2_end
33+
app_2_start:
34+
.incbin "../user/build/bin/ch2b_bad_register.bin"
35+
app_2_end:
36+
37+
.section .data
38+
.global app_3_start
39+
.global app_3_end
40+
app_3_start:
41+
.incbin "../user/build/bin/ch2b_hello_world.bin"
42+
app_3_end:
43+
44+
.section .data
45+
.global app_4_start
46+
.global app_4_end
47+
app_4_start:
48+
.incbin "../user/build/bin/ch2b_power_3.bin"
49+
app_4_end:
50+
51+
.section .data
52+
.global app_5_start
53+
.global app_5_end
54+
app_5_start:
55+
.incbin "../user/build/bin/ch2b_power_5.bin"
56+
app_5_end:
57+
58+
.section .data
59+
.global app_6_start
60+
.global app_6_end
61+
app_6_start:
62+
.incbin "../user/build/bin/ch2b_power_7.bin"
63+
app_6_end:

os3/src/link_app.S

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
2+
.align 3
3+
.section .data
4+
.global _num_app
5+
_num_app:
6+
.quad 7
7+
.quad app_0_start
8+
.quad app_1_start
9+
.quad app_2_start
10+
.quad app_3_start
11+
.quad app_4_start
12+
.quad app_5_start
13+
.quad app_6_start
14+
.quad app_6_end
15+
16+
.section .data
17+
.global app_0_start
18+
.global app_0_end
19+
app_0_start:
20+
.incbin "../user/build/bin/ch2b_bad_address.bin"
21+
app_0_end:
22+
23+
.section .data
24+
.global app_1_start
25+
.global app_1_end
26+
app_1_start:
27+
.incbin "../user/build/bin/ch2b_bad_instructions.bin"
28+
app_1_end:
29+
30+
.section .data
31+
.global app_2_start
32+
.global app_2_end
33+
app_2_start:
34+
.incbin "../user/build/bin/ch2b_bad_register.bin"
35+
app_2_end:
36+
37+
.section .data
38+
.global app_3_start
39+
.global app_3_end
40+
app_3_start:
41+
.incbin "../user/build/bin/ch2b_hello_world.bin"
42+
app_3_end:
43+
44+
.section .data
45+
.global app_4_start
46+
.global app_4_end
47+
app_4_start:
48+
.incbin "../user/build/bin/ch2b_power_3.bin"
49+
app_4_end:
50+
51+
.section .data
52+
.global app_5_start
53+
.global app_5_end
54+
app_5_start:
55+
.incbin "../user/build/bin/ch2b_power_5.bin"
56+
app_5_end:
57+
58+
.section .data
59+
.global app_6_start
60+
.global app_6_end
61+
app_6_start:
62+
.incbin "../user/build/bin/ch2b_power_7.bin"
63+
app_6_end:

os4/src/link_app.S

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
2+
.align 3
3+
.section .data
4+
.global _num_app
5+
_num_app:
6+
.quad 7
7+
.quad app_0_start
8+
.quad app_1_start
9+
.quad app_2_start
10+
.quad app_3_start
11+
.quad app_4_start
12+
.quad app_5_start
13+
.quad app_6_start
14+
.quad app_6_end
15+
16+
.section .data
17+
.global app_0_start
18+
.global app_0_end
19+
.align 3
20+
app_0_start:
21+
.incbin "../user/build/elf/ch2b_bad_address.elf"
22+
app_0_end:
23+
24+
.section .data
25+
.global app_1_start
26+
.global app_1_end
27+
.align 3
28+
app_1_start:
29+
.incbin "../user/build/elf/ch2b_bad_instructions.elf"
30+
app_1_end:
31+
32+
.section .data
33+
.global app_2_start
34+
.global app_2_end
35+
.align 3
36+
app_2_start:
37+
.incbin "../user/build/elf/ch2b_bad_register.elf"
38+
app_2_end:
39+
40+
.section .data
41+
.global app_3_start
42+
.global app_3_end
43+
.align 3
44+
app_3_start:
45+
.incbin "../user/build/elf/ch2b_hello_world.elf"
46+
app_3_end:
47+
48+
.section .data
49+
.global app_4_start
50+
.global app_4_end
51+
.align 3
52+
app_4_start:
53+
.incbin "../user/build/elf/ch2b_power_3.elf"
54+
app_4_end:
55+
56+
.section .data
57+
.global app_5_start
58+
.global app_5_end
59+
.align 3
60+
app_5_start:
61+
.incbin "../user/build/elf/ch2b_power_5.elf"
62+
app_5_end:
63+
64+
.section .data
65+
.global app_6_start
66+
.global app_6_end
67+
.align 3
68+
app_6_start:
69+
.incbin "../user/build/elf/ch2b_power_7.elf"
70+
app_6_end:

os5/src/link_app.S

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
2+
.align 3
3+
.section .data
4+
.global _num_app
5+
_num_app:
6+
.quad 7
7+
.quad app_0_start
8+
.quad app_1_start
9+
.quad app_2_start
10+
.quad app_3_start
11+
.quad app_4_start
12+
.quad app_5_start
13+
.quad app_6_start
14+
.quad app_6_end
15+
16+
.global _app_names
17+
_app_names:
18+
.string "ch2b_bad_address"
19+
.string "ch2b_bad_instructions"
20+
.string "ch2b_bad_register"
21+
.string "ch2b_hello_world"
22+
.string "ch2b_power_3"
23+
.string "ch2b_power_5"
24+
.string "ch2b_power_7"
25+
26+
.section .data
27+
.global app_0_start
28+
.global app_0_end
29+
.align 3
30+
app_0_start:
31+
.incbin "../user/build/elf/ch2b_bad_address.elf"
32+
app_0_end:
33+
34+
.section .data
35+
.global app_1_start
36+
.global app_1_end
37+
.align 3
38+
app_1_start:
39+
.incbin "../user/build/elf/ch2b_bad_instructions.elf"
40+
app_1_end:
41+
42+
.section .data
43+
.global app_2_start
44+
.global app_2_end
45+
.align 3
46+
app_2_start:
47+
.incbin "../user/build/elf/ch2b_bad_register.elf"
48+
app_2_end:
49+
50+
.section .data
51+
.global app_3_start
52+
.global app_3_end
53+
.align 3
54+
app_3_start:
55+
.incbin "../user/build/elf/ch2b_hello_world.elf"
56+
app_3_end:
57+
58+
.section .data
59+
.global app_4_start
60+
.global app_4_end
61+
.align 3
62+
app_4_start:
63+
.incbin "../user/build/elf/ch2b_power_3.elf"
64+
app_4_end:
65+
66+
.section .data
67+
.global app_5_start
68+
.global app_5_end
69+
.align 3
70+
app_5_start:
71+
.incbin "../user/build/elf/ch2b_power_5.elf"
72+
app_5_end:
73+
74+
.section .data
75+
.global app_6_start
76+
.global app_6_end
77+
.align 3
78+
app_6_start:
79+
.incbin "../user/build/elf/ch2b_power_7.elf"
80+
app_6_end:

0 commit comments

Comments
 (0)