Skip to content

Commit 4b91c2d

Browse files
gmarullnashif
authored andcommitted
asm: update files with <zephyr/...> include prefix
Assembler files were not migrated with the new <zephyr/...> prefix. Note that the conversion has been scripted, refer to #45388 for more details. Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent d342e4c commit 4b91c2d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+263
-263
lines changed

arch/arc/core/cpu_idle.S

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@
1111
* CPU power management routines.
1212
*/
1313

14-
#include <kernel_structs.h>
14+
#include <zephyr/kernel_structs.h>
1515
#include <offsets_short.h>
16-
#include <toolchain.h>
17-
#include <linker/sections.h>
18-
#include <arch/cpu.h>
19-
#include <arch/arc/asm-compat/assembler.h>
16+
#include <zephyr/toolchain.h>
17+
#include <zephyr/linker/sections.h>
18+
#include <zephyr/arch/cpu.h>
19+
#include <zephyr/arch/arc/asm-compat/assembler.h>
2020

2121
GTEXT(arch_cpu_idle)
2222
GTEXT(arch_cpu_atomic_idle)

arch/arc/core/fast_irq.S

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
* See isr_wrapper.S for details.
1414
*/
1515

16-
#include <kernel_structs.h>
16+
#include <zephyr/kernel_structs.h>
1717
#include <offsets_short.h>
18-
#include <toolchain.h>
19-
#include <linker/sections.h>
20-
#include <arch/cpu.h>
18+
#include <zephyr/toolchain.h>
19+
#include <zephyr/linker/sections.h>
20+
#include <zephyr/arch/cpu.h>
2121
#include <swap_macros.h>
2222

2323
GTEXT(_firq_enter)

arch/arc/core/fault_s.S

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
* Fault handlers for ARCv2 processors.
1313
*/
1414

15-
#include <toolchain.h>
16-
#include <linker/sections.h>
17-
#include <arch/cpu.h>
15+
#include <zephyr/toolchain.h>
16+
#include <zephyr/linker/sections.h>
17+
#include <zephyr/arch/cpu.h>
1818
#include <swap_macros.h>
19-
#include <syscall.h>
20-
#include <arch/arc/asm-compat/assembler.h>
19+
#include <zephyr/syscall.h>
20+
#include <zephyr/arch/arc/asm-compat/assembler.h>
2121

2222
GTEXT(_Fault)
2323
GTEXT(__reset)

arch/arc/core/isr_wrapper.S

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
*/
1515

1616
#include <offsets_short.h>
17-
#include <toolchain.h>
18-
#include <linker/sections.h>
19-
#include <sw_isr_table.h>
20-
#include <kernel_structs.h>
21-
#include <arch/cpu.h>
17+
#include <zephyr/toolchain.h>
18+
#include <zephyr/linker/sections.h>
19+
#include <zephyr/sw_isr_table.h>
20+
#include <zephyr/kernel_structs.h>
21+
#include <zephyr/arch/cpu.h>
2222
#include <swap_macros.h>
23-
#include <arch/arc/asm-compat/assembler.h>
23+
#include <zephyr/arch/arc/asm-compat/assembler.h>
2424

2525
GTEXT(_isr_wrapper)
2626
GTEXT(_isr_demux)

arch/arc/core/regular_irq.S

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
* See isr_wrapper.S for details.
1515
*/
1616

17-
#include <kernel_structs.h>
17+
#include <zephyr/kernel_structs.h>
1818
#include <offsets_short.h>
19-
#include <toolchain.h>
20-
#include <linker/sections.h>
21-
#include <arch/cpu.h>
19+
#include <zephyr/toolchain.h>
20+
#include <zephyr/linker/sections.h>
21+
#include <zephyr/arch/cpu.h>
2222
#include <swap_macros.h>
23-
#include <arch/arc/asm-compat/assembler.h>
23+
#include <zephyr/arch/arc/asm-compat/assembler.h>
2424

2525
GTEXT(_rirq_enter)
2626
GTEXT(_rirq_exit)

arch/arc/core/reset.S

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
* Reset handler that prepares the system for running C code.
1212
*/
1313

14-
#include <toolchain.h>
15-
#include <linker/sections.h>
16-
#include <arch/cpu.h>
14+
#include <zephyr/toolchain.h>
15+
#include <zephyr/linker/sections.h>
16+
#include <zephyr/arch/cpu.h>
1717
#include <swap_macros.h>
18-
#include <arch/arc/asm-compat/assembler.h>
18+
#include <zephyr/arch/arc/asm-compat/assembler.h>
1919

2020
GDATA(z_interrupt_stacks)
2121
GDATA(z_main_stack)

arch/arc/core/secureshield/arc_secure.S

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*/
6-
#include <toolchain.h>
7-
#include <linker/sections.h>
8-
#include <arch/cpu.h>
6+
#include <zephyr/toolchain.h>
7+
#include <zephyr/linker/sections.h>
8+
#include <zephyr/arch/cpu.h>
99

1010
.macro clear_scratch_regs
1111
mov r1, 0

arch/arc/core/switch.S

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@
1414
* See isr_wrapper.S for details.
1515
*/
1616

17-
#include <kernel_structs.h>
17+
#include <zephyr/kernel_structs.h>
1818
#include <offsets_short.h>
19-
#include <toolchain.h>
20-
#include <linker/sections.h>
21-
#include <arch/cpu.h>
19+
#include <zephyr/toolchain.h>
20+
#include <zephyr/linker/sections.h>
21+
#include <zephyr/arch/cpu.h>
2222
#include <v2/irq.h>
2323
#include <swap_macros.h>
24-
#include <arch/arc/asm-compat/assembler.h>
24+
#include <zephyr/arch/arc/asm-compat/assembler.h>
2525

2626
GTEXT(z_arc_switch)
2727

arch/arc/core/thread_entry_wrapper.S

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
* Wrapper for z_thread_entry routine when called from the initial context.
1212
*/
1313

14-
#include <toolchain.h>
15-
#include <linker/sections.h>
14+
#include <zephyr/toolchain.h>
15+
#include <zephyr/linker/sections.h>
1616
#include <v2/irq.h>
17-
#include <arch/arc/asm-compat/assembler.h>
17+
#include <zephyr/arch/arc/asm-compat/assembler.h>
1818

1919
GTEXT(z_thread_entry_wrapper)
2020
GTEXT(z_thread_entry_wrapper1)

arch/arc/core/userspace.S

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
*/
66

77
#include <offsets_short.h>
8-
#include <toolchain.h>
9-
#include <linker/sections.h>
10-
#include <kernel_structs.h>
11-
#include <arch/cpu.h>
12-
#include <syscall.h>
8+
#include <zephyr/toolchain.h>
9+
#include <zephyr/linker/sections.h>
10+
#include <zephyr/kernel_structs.h>
11+
#include <zephyr/arch/cpu.h>
12+
#include <zephyr/syscall.h>
1313
#include <swap_macros.h>
1414
#include <v2/irq.h>
1515

0 commit comments

Comments
 (0)