File tree Expand file tree Collapse file tree 21 files changed +46
-46
lines changed
10_virtual_mem_part1_identity_mapping
11_exceptions_part1_groundwork
13_exceptions_part2_peripheral_IRQs
14_virtual_mem_part2_mmio_remap
15_virtual_mem_part3_precomputed_tables
16_virtual_mem_part4_higher_half_kernel Expand file tree Collapse file tree 21 files changed +46
-46
lines changed Original file line number Diff line number Diff line change @@ -51,14 +51,14 @@ export LD_SCRIPT_PATH
51
51
# #--------------------------------------------------------------------------------------------------
52
52
# # Targets and Prerequisites
53
53
# #--------------------------------------------------------------------------------------------------
54
+ KERNEL_MANIFEST = Cargo.toml
54
55
KERNEL_LINKER_SCRIPT = kernel.ld
55
-
56
- LAST_BUILD_CONFIG = target/$(BSP ) .build_config
56
+ LAST_BUILD_CONFIG = target/$(BSP ) .build_config
57
57
58
58
KERNEL_ELF = target/$(TARGET ) /release/kernel
59
59
# This parses cargo's dep-info file.
60
60
# https://doc.rust-lang.org/cargo/guide/build-cache.html#dep-info-files
61
- KERNEL_ELF_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF ) .d) ) $(LAST_BUILD_CONFIG )
61
+ KERNEL_ELF_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF ) .d) ) $(KERNEL_MANIFEST ) $( LAST_BUILD_CONFIG )
62
62
63
63
64
64
Original file line number Diff line number Diff line change @@ -51,14 +51,14 @@ export LD_SCRIPT_PATH
51
51
# #--------------------------------------------------------------------------------------------------
52
52
# # Targets and Prerequisites
53
53
# #--------------------------------------------------------------------------------------------------
54
+ KERNEL_MANIFEST = Cargo.toml
54
55
KERNEL_LINKER_SCRIPT = kernel.ld
55
-
56
- LAST_BUILD_CONFIG = target/$(BSP ) .build_config
56
+ LAST_BUILD_CONFIG = target/$(BSP ) .build_config
57
57
58
58
KERNEL_ELF = target/$(TARGET ) /release/kernel
59
59
# This parses cargo's dep-info file.
60
60
# https://doc.rust-lang.org/cargo/guide/build-cache.html#dep-info-files
61
- KERNEL_ELF_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF ) .d) ) $(LAST_BUILD_CONFIG )
61
+ KERNEL_ELF_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF ) .d) ) $(KERNEL_MANIFEST ) $( LAST_BUILD_CONFIG )
62
62
63
63
64
64
Original file line number Diff line number Diff line change @@ -51,14 +51,14 @@ export LD_SCRIPT_PATH
51
51
# #--------------------------------------------------------------------------------------------------
52
52
# # Targets and Prerequisites
53
53
# #--------------------------------------------------------------------------------------------------
54
+ KERNEL_MANIFEST = Cargo.toml
54
55
KERNEL_LINKER_SCRIPT = kernel.ld
55
-
56
- LAST_BUILD_CONFIG = target/$(BSP ) .build_config
56
+ LAST_BUILD_CONFIG = target/$(BSP ) .build_config
57
57
58
58
KERNEL_ELF = target/$(TARGET ) /release/kernel
59
59
# This parses cargo's dep-info file.
60
60
# https://doc.rust-lang.org/cargo/guide/build-cache.html#dep-info-files
61
- KERNEL_ELF_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF ) .d) ) $(LAST_BUILD_CONFIG )
61
+ KERNEL_ELF_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF ) .d) ) $(KERNEL_MANIFEST ) $( LAST_BUILD_CONFIG )
62
62
63
63
64
64
Original file line number Diff line number Diff line change @@ -51,14 +51,14 @@ export LD_SCRIPT_PATH
51
51
# #--------------------------------------------------------------------------------------------------
52
52
# # Targets and Prerequisites
53
53
# #--------------------------------------------------------------------------------------------------
54
+ KERNEL_MANIFEST = Cargo.toml
54
55
KERNEL_LINKER_SCRIPT = kernel.ld
55
-
56
- LAST_BUILD_CONFIG = target/$(BSP ) .build_config
56
+ LAST_BUILD_CONFIG = target/$(BSP ) .build_config
57
57
58
58
KERNEL_ELF = target/$(TARGET ) /release/kernel
59
59
# This parses cargo's dep-info file.
60
60
# https://doc.rust-lang.org/cargo/guide/build-cache.html#dep-info-files
61
- KERNEL_ELF_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF ) .d) ) $(LAST_BUILD_CONFIG )
61
+ KERNEL_ELF_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF ) .d) ) $(KERNEL_MANIFEST ) $( LAST_BUILD_CONFIG )
62
62
63
63
64
64
Original file line number Diff line number Diff line change @@ -54,14 +54,14 @@ export LD_SCRIPT_PATH
54
54
# #--------------------------------------------------------------------------------------------------
55
55
# # Targets and Prerequisites
56
56
# #--------------------------------------------------------------------------------------------------
57
+ KERNEL_MANIFEST = Cargo.toml
57
58
KERNEL_LINKER_SCRIPT = kernel.ld
58
-
59
- LAST_BUILD_CONFIG = target/$(BSP ) .build_config
59
+ LAST_BUILD_CONFIG = target/$(BSP ) .build_config
60
60
61
61
KERNEL_ELF = target/$(TARGET ) /release/kernel
62
62
# This parses cargo's dep-info file.
63
63
# https://doc.rust-lang.org/cargo/guide/build-cache.html#dep-info-files
64
- KERNEL_ELF_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF ) .d) ) $(LAST_BUILD_CONFIG )
64
+ KERNEL_ELF_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF ) .d) ) $(KERNEL_MANIFEST ) $( LAST_BUILD_CONFIG )
65
65
66
66
67
67
Original file line number Diff line number Diff line change @@ -56,14 +56,14 @@ export LD_SCRIPT_PATH
56
56
# #--------------------------------------------------------------------------------------------------
57
57
# # Targets and Prerequisites
58
58
# #--------------------------------------------------------------------------------------------------
59
+ KERNEL_MANIFEST = Cargo.toml
59
60
KERNEL_LINKER_SCRIPT = kernel.ld
60
-
61
- LAST_BUILD_CONFIG = target/$(BSP ) .build_config
61
+ LAST_BUILD_CONFIG = target/$(BSP ) .build_config
62
62
63
63
KERNEL_ELF = target/$(TARGET ) /release/kernel
64
64
# This parses cargo's dep-info file.
65
65
# https://doc.rust-lang.org/cargo/guide/build-cache.html#dep-info-files
66
- KERNEL_ELF_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF ) .d) ) $(LAST_BUILD_CONFIG )
66
+ KERNEL_ELF_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF ) .d) ) $(KERNEL_MANIFEST ) $( LAST_BUILD_CONFIG )
67
67
68
68
69
69
Original file line number Diff line number Diff line change @@ -54,14 +54,14 @@ export LD_SCRIPT_PATH
54
54
# #--------------------------------------------------------------------------------------------------
55
55
# # Targets and Prerequisites
56
56
# #--------------------------------------------------------------------------------------------------
57
+ KERNEL_MANIFEST = Cargo.toml
57
58
KERNEL_LINKER_SCRIPT = kernel.ld
58
-
59
- LAST_BUILD_CONFIG = target/$(BSP ) .build_config
59
+ LAST_BUILD_CONFIG = target/$(BSP ) .build_config
60
60
61
61
KERNEL_ELF = target/$(TARGET ) /release/kernel
62
62
# This parses cargo's dep-info file.
63
63
# https://doc.rust-lang.org/cargo/guide/build-cache.html#dep-info-files
64
- KERNEL_ELF_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF ) .d) ) $(LAST_BUILD_CONFIG )
64
+ KERNEL_ELF_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF ) .d) ) $(KERNEL_MANIFEST ) $( LAST_BUILD_CONFIG )
65
65
66
66
67
67
Original file line number Diff line number Diff line change @@ -58,14 +58,14 @@ export LD_SCRIPT_PATH
58
58
# #--------------------------------------------------------------------------------------------------
59
59
# # Targets and Prerequisites
60
60
# #--------------------------------------------------------------------------------------------------
61
+ KERNEL_MANIFEST = Cargo.toml
61
62
KERNEL_LINKER_SCRIPT = kernel.ld
62
-
63
- LAST_BUILD_CONFIG = target/$(BSP ) .build_config
63
+ LAST_BUILD_CONFIG = target/$(BSP ) .build_config
64
64
65
65
KERNEL_ELF = target/$(TARGET ) /release/kernel
66
66
# This parses cargo's dep-info file.
67
67
# https://doc.rust-lang.org/cargo/guide/build-cache.html#dep-info-files
68
- KERNEL_ELF_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF ) .d) ) $(LAST_BUILD_CONFIG )
68
+ KERNEL_ELF_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF ) .d) ) $(KERNEL_MANIFEST ) $( LAST_BUILD_CONFIG )
69
69
70
70
71
71
Original file line number Diff line number Diff line change @@ -58,14 +58,14 @@ export LD_SCRIPT_PATH
58
58
# #--------------------------------------------------------------------------------------------------
59
59
# # Targets and Prerequisites
60
60
# #--------------------------------------------------------------------------------------------------
61
+ KERNEL_MANIFEST = Cargo.toml
61
62
KERNEL_LINKER_SCRIPT = kernel.ld
62
-
63
- LAST_BUILD_CONFIG = target/$(BSP ) .build_config
63
+ LAST_BUILD_CONFIG = target/$(BSP ) .build_config
64
64
65
65
KERNEL_ELF = target/$(TARGET ) /release/kernel
66
66
# This parses cargo's dep-info file.
67
67
# https://doc.rust-lang.org/cargo/guide/build-cache.html#dep-info-files
68
- KERNEL_ELF_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF ) .d) ) $(LAST_BUILD_CONFIG )
68
+ KERNEL_ELF_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF ) .d) ) $(KERNEL_MANIFEST ) $( LAST_BUILD_CONFIG )
69
69
70
70
71
71
Original file line number Diff line number Diff line change @@ -58,14 +58,14 @@ export LD_SCRIPT_PATH
58
58
# #--------------------------------------------------------------------------------------------------
59
59
# # Targets and Prerequisites
60
60
# #--------------------------------------------------------------------------------------------------
61
+ KERNEL_MANIFEST = Cargo.toml
61
62
KERNEL_LINKER_SCRIPT = kernel.ld
62
-
63
- LAST_BUILD_CONFIG = target/$(BSP ) .build_config
63
+ LAST_BUILD_CONFIG = target/$(BSP ) .build_config
64
64
65
65
KERNEL_ELF = target/$(TARGET ) /release/kernel
66
66
# This parses cargo's dep-info file.
67
67
# https://doc.rust-lang.org/cargo/guide/build-cache.html#dep-info-files
68
- KERNEL_ELF_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF ) .d) ) $(LAST_BUILD_CONFIG )
68
+ KERNEL_ELF_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF ) .d) ) $(KERNEL_MANIFEST ) $( LAST_BUILD_CONFIG )
69
69
70
70
71
71
Original file line number Diff line number Diff line change @@ -58,14 +58,14 @@ export LD_SCRIPT_PATH
58
58
# #--------------------------------------------------------------------------------------------------
59
59
# # Targets and Prerequisites
60
60
# #--------------------------------------------------------------------------------------------------
61
+ KERNEL_MANIFEST = Cargo.toml
61
62
KERNEL_LINKER_SCRIPT = kernel.ld
62
-
63
- LAST_BUILD_CONFIG = target/$(BSP ) .build_config
63
+ LAST_BUILD_CONFIG = target/$(BSP ) .build_config
64
64
65
65
KERNEL_ELF = target/$(TARGET ) /release/kernel
66
66
# This parses cargo's dep-info file.
67
67
# https://doc.rust-lang.org/cargo/guide/build-cache.html#dep-info-files
68
- KERNEL_ELF_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF ) .d) ) $(LAST_BUILD_CONFIG )
68
+ KERNEL_ELF_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF ) .d) ) $(KERNEL_MANIFEST ) $( LAST_BUILD_CONFIG )
69
69
70
70
71
71
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ LAST_BUILD_CONFIG = target/$(BSP).build_config
74
74
KERNEL_ELF = target/$(TARGET ) /release/kernel
75
75
# This parses cargo's dep-info file.
76
76
# https://doc.rust-lang.org/cargo/guide/build-cache.html#dep-info-files
77
- KERNEL_ELF_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF ) .d) ) $(LAST_BUILD_CONFIG )
77
+ KERNEL_ELF_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF ) .d) ) $(KERNEL_MANIFEST ) $( LAST_BUILD_CONFIG )
78
78
79
79
80
80
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ LAST_BUILD_CONFIG = target/$(BSP).build_config
74
74
KERNEL_ELF = target/$(TARGET ) /release/kernel
75
75
# This parses cargo's dep-info file.
76
76
# https://doc.rust-lang.org/cargo/guide/build-cache.html#dep-info-files
77
- KERNEL_ELF_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF ) .d) ) $(LAST_BUILD_CONFIG )
77
+ KERNEL_ELF_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF ) .d) ) $(KERNEL_MANIFEST ) $( LAST_BUILD_CONFIG )
78
78
79
79
80
80
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ LAST_BUILD_CONFIG = target/$(BSP).build_config
74
74
KERNEL_ELF = target/$(TARGET ) /release/kernel
75
75
# This parses cargo's dep-info file.
76
76
# https://doc.rust-lang.org/cargo/guide/build-cache.html#dep-info-files
77
- KERNEL_ELF_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF ) .d) ) $(LAST_BUILD_CONFIG )
77
+ KERNEL_ELF_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF ) .d) ) $(KERNEL_MANIFEST ) $( LAST_BUILD_CONFIG )
78
78
79
79
80
80
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ LAST_BUILD_CONFIG = target/$(BSP).build_config
74
74
KERNEL_ELF_RAW = target/$(TARGET ) /release/kernel
75
75
# This parses cargo's dep-info file.
76
76
# https://doc.rust-lang.org/cargo/guide/build-cache.html#dep-info-files
77
- KERNEL_ELF_RAW_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF_RAW ) .d) ) $(LAST_BUILD_CONFIG )
77
+ KERNEL_ELF_RAW_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF_RAW ) .d) ) $(KERNEL_MANIFEST ) $( LAST_BUILD_CONFIG )
78
78
79
79
# #------------------------------------------------------------------------------
80
80
# # Translation tables
Original file line number Diff line number Diff line change @@ -1846,8 +1846,8 @@ diff -uNr 14_virtual_mem_part2_mmio_remap/Makefile 15_virtual_mem_part3_precompu
1846
1846
+ KERNEL_ELF_RAW = target/$(TARGET)/release/kernel
1847
1847
# This parses cargo's dep-info file.
1848
1848
# https://doc.rust-lang.org/cargo/guide/build-cache.html#dep-info-files
1849
- - KERNEL_ELF_DEPS = $(filter-out modulo: ,$(file < $(KERNEL_ELF).d)) $(LAST_BUILD_CONFIG)
1850
- + KERNEL_ELF_RAW_DEPS = $(filter-out modulo: ,$(file < $(KERNEL_ELF_RAW).d)) $(LAST_BUILD_CONFIG)
1849
+ - KERNEL_ELF_DEPS = $(filter-out modulo: ,$(file < $(KERNEL_ELF).d)) $(KERNEL_MANIFEST) $( LAST_BUILD_CONFIG)
1850
+ + KERNEL_ELF_RAW_DEPS = $(filter-out modulo: ,$(file < $(KERNEL_ELF_RAW).d)) $(KERNEL_MANIFEST) $( LAST_BUILD_CONFIG)
1851
1851
+
1852
1852
+ ##------------------------------------------------------------------------------
1853
1853
+ ## Translation tables
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ LAST_BUILD_CONFIG = target/$(BSP).build_config
74
74
KERNEL_ELF_RAW = target/$(TARGET ) /release/kernel
75
75
# This parses cargo's dep-info file.
76
76
# https://doc.rust-lang.org/cargo/guide/build-cache.html#dep-info-files
77
- KERNEL_ELF_RAW_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF_RAW ) .d) ) $(LAST_BUILD_CONFIG )
77
+ KERNEL_ELF_RAW_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF_RAW ) .d) ) $(KERNEL_MANIFEST ) $( LAST_BUILD_CONFIG )
78
78
79
79
# #------------------------------------------------------------------------------
80
80
# # Translation tables
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ LAST_BUILD_CONFIG = target/$(BSP).build_config
74
74
KERNEL_ELF_RAW = target/$(TARGET ) /release/kernel
75
75
# This parses cargo's dep-info file.
76
76
# https://doc.rust-lang.org/cargo/guide/build-cache.html#dep-info-files
77
- KERNEL_ELF_RAW_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF_RAW ) .d) ) $(LAST_BUILD_CONFIG )
77
+ KERNEL_ELF_RAW_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF_RAW ) .d) ) $(KERNEL_MANIFEST ) $( LAST_BUILD_CONFIG )
78
78
79
79
# #------------------------------------------------------------------------------
80
80
# # Translation tables
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ LAST_BUILD_CONFIG = target/$(BSP).build_config
74
74
KERNEL_ELF_RAW = target/$(TARGET ) /release/kernel
75
75
# This parses cargo's dep-info file.
76
76
# https://doc.rust-lang.org/cargo/guide/build-cache.html#dep-info-files
77
- KERNEL_ELF_RAW_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF_RAW ) .d) ) $(LAST_BUILD_CONFIG )
77
+ KERNEL_ELF_RAW_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF_RAW ) .d) ) $(KERNEL_MANIFEST ) $( LAST_BUILD_CONFIG )
78
78
79
79
# #------------------------------------------------------------------------------
80
80
# # Translation tables
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ LAST_BUILD_CONFIG = target/$(BSP)_$(DEBUG_PRINTS).build_config
79
79
KERNEL_ELF_RAW = target/$(TARGET ) /release/kernel
80
80
# This parses cargo's dep-info file.
81
81
# https://doc.rust-lang.org/cargo/guide/build-cache.html#dep-info-files
82
- KERNEL_ELF_RAW_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF_RAW ) .d) ) $(LAST_BUILD_CONFIG )
82
+ KERNEL_ELF_RAW_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF_RAW ) .d) ) $(KERNEL_MANIFEST ) $( LAST_BUILD_CONFIG )
83
83
84
84
# #------------------------------------------------------------------------------
85
85
# # Translation tables
Original file line number Diff line number Diff line change @@ -54,14 +54,14 @@ export LD_SCRIPT_PATH
54
54
# #--------------------------------------------------------------------------------------------------
55
55
# # Targets and Prerequisites
56
56
# #--------------------------------------------------------------------------------------------------
57
+ KERNEL_MANIFEST = Cargo.toml
57
58
KERNEL_LINKER_SCRIPT = kernel.ld
58
-
59
- LAST_BUILD_CONFIG = target/$(BSP ) .build_config
59
+ LAST_BUILD_CONFIG = target/$(BSP ) .build_config
60
60
61
61
KERNEL_ELF = target/$(TARGET ) /release/kernel
62
62
# This parses cargo's dep-info file.
63
63
# https://doc.rust-lang.org/cargo/guide/build-cache.html#dep-info-files
64
- KERNEL_ELF_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF ) .d) ) $(LAST_BUILD_CONFIG )
64
+ KERNEL_ELF_DEPS = $(filter-out % : ,$(file < $(KERNEL_ELF ) .d) ) $(KERNEL_MANIFEST ) $( LAST_BUILD_CONFIG )
65
65
66
66
67
67
You can’t perform that action at this time.
0 commit comments