[rtems commit] Use RTEMS_SYSINIT_ORDER_LAST_BUT_5
Sebastian Huber
sebh at rtems.org
Tue Feb 4 06:03:21 UTC 2020
Module: rtems
Branch: master
Commit: c344e5828c3e8447a6164402f5786c8b0fbfb6a2
Changeset: http://git.rtems.org/rtems/commit/?id=c344e5828c3e8447a6164402f5786c8b0fbfb6a2
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Sun Feb 2 11:00:54 2020 +0100
Use RTEMS_SYSINIT_ORDER_LAST_BUT_5
Use RTEMS_SYSINIT_ORDER_LAST_BUT_5 instead of RTEMS_SYSINIT_ORDER_LAST
to allow applications and support functions to place system
initialization handlers behind the standard handlers.
Update #3838.
---
bsps/arm/atsam/console/debug-console.c | 2 +-
bsps/arm/atsam/contrib/libraries/libchip/source/pio_it.c | 2 +-
bsps/arm/atsam/contrib/libraries/libchip/source/xdmad.c | 2 +-
bsps/arm/atsam/start/getentropy-trng.c | 2 +-
bsps/arm/beagle/start/bspstart.c | 2 +-
bsps/arm/imx/console/console-config.c | 2 +-
bsps/arm/raspberrypi/console/console-config.c | 2 +-
bsps/arm/tms570/console/printk-support.c | 2 +-
bsps/arm/xilinx-zynq/console/debug-console.c | 2 +-
bsps/arm/xilinx-zynqmp/console/console-config.c | 2 +-
bsps/riscv/riscv/console/console-config.c | 2 +-
bsps/shared/dev/getentropy/getentropy-cpucounter.c | 2 +-
bsps/sparc/erc32/start/bspsmp.c | 2 +-
bsps/sparc/leon3/start/bspstart.c | 2 +-
cpukit/libtrace/record/record-sysinit.c | 2 +-
cpukit/sapi/src/cpucounterconverter.c | 2 +-
16 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/bsps/arm/atsam/console/debug-console.c b/bsps/arm/atsam/console/debug-console.c
index a405fe9..9ddc98b 100644
--- a/bsps/arm/atsam/console/debug-console.c
+++ b/bsps/arm/atsam/console/debug-console.c
@@ -48,5 +48,5 @@ BSP_polling_getchar_function_type BSP_poll_char = atsam_debug_console_in;
RTEMS_SYSINIT_ITEM(
atsam_debug_console_init,
RTEMS_SYSINIT_BSP_START,
- RTEMS_SYSINIT_ORDER_LAST
+ RTEMS_SYSINIT_ORDER_LAST_BUT_5
);
diff --git a/bsps/arm/atsam/contrib/libraries/libchip/source/pio_it.c b/bsps/arm/atsam/contrib/libraries/libchip/source/pio_it.c
index 1dd67d8..cab7c38 100644
--- a/bsps/arm/atsam/contrib/libraries/libchip/source/pio_it.c
+++ b/bsps/arm/atsam/contrib/libraries/libchip/source/pio_it.c
@@ -250,7 +250,7 @@ static void PIO_SysInitializeInterrupts(void)
}
RTEMS_SYSINIT_ITEM(PIO_SysInitializeInterrupts, RTEMS_SYSINIT_BSP_START,
- RTEMS_SYSINIT_ORDER_LAST);
+ RTEMS_SYSINIT_ORDER_LAST_BUT_5);
/**
* Configures a PIO or a group of PIO to generate an interrupt on status
diff --git a/bsps/arm/atsam/contrib/libraries/libchip/source/xdmad.c b/bsps/arm/atsam/contrib/libraries/libchip/source/xdmad.c
index 1734be1..13b2270 100644
--- a/bsps/arm/atsam/contrib/libraries/libchip/source/xdmad.c
+++ b/bsps/arm/atsam/contrib/libraries/libchip/source/xdmad.c
@@ -172,7 +172,7 @@ static void XDMAD_SysInitialize(void)
}
RTEMS_SYSINIT_ITEM(XDMAD_SysInitialize, RTEMS_SYSINIT_BSP_START,
- RTEMS_SYSINIT_ORDER_LAST);
+ RTEMS_SYSINIT_ORDER_LAST_BUT_5);
/**
diff --git a/bsps/arm/atsam/start/getentropy-trng.c b/bsps/arm/atsam/start/getentropy-trng.c
index 11e24dc..a7b396a 100644
--- a/bsps/arm/atsam/start/getentropy-trng.c
+++ b/bsps/arm/atsam/start/getentropy-trng.c
@@ -57,5 +57,5 @@ int getentropy(void *ptr, size_t n)
RTEMS_SYSINIT_ITEM(
atsam_trng_enable,
RTEMS_SYSINIT_DEVICE_DRIVERS,
- RTEMS_SYSINIT_ORDER_LAST
+ RTEMS_SYSINIT_ORDER_LAST_BUT_5
);
diff --git a/bsps/arm/beagle/start/bspstart.c b/bsps/arm/beagle/start/bspstart.c
index 1eecdc2..3c05f2a 100644
--- a/bsps/arm/beagle/start/bspstart.c
+++ b/bsps/arm/beagle/start/bspstart.c
@@ -60,5 +60,5 @@ static void bbb_i2c_0_initialize(void)
RTEMS_SYSINIT_ITEM(
bbb_i2c_0_initialize,
RTEMS_SYSINIT_LAST,
- RTEMS_SYSINIT_ORDER_LAST
+ RTEMS_SYSINIT_ORDER_LAST_BUT_5
);
diff --git a/bsps/arm/imx/console/console-config.c b/bsps/arm/imx/console/console-config.c
index 8b8d9fb..04bec99 100644
--- a/bsps/arm/imx/console/console-config.c
+++ b/bsps/arm/imx/console/console-config.c
@@ -382,5 +382,5 @@ rtems_status_code console_initialize(
RTEMS_SYSINIT_ITEM(
imx_uart_probe,
RTEMS_SYSINIT_BSP_START,
- RTEMS_SYSINIT_ORDER_LAST
+ RTEMS_SYSINIT_ORDER_LAST_BUT_5
);
diff --git a/bsps/arm/raspberrypi/console/console-config.c b/bsps/arm/raspberrypi/console/console-config.c
index 48c4c6a..fffe7c4 100644
--- a/bsps/arm/raspberrypi/console/console-config.c
+++ b/bsps/arm/raspberrypi/console/console-config.c
@@ -147,5 +147,5 @@ BSP_polling_getchar_function_type BSP_poll_char = NULL;
RTEMS_SYSINIT_ITEM(
uart_probe,
RTEMS_SYSINIT_BSP_START,
- RTEMS_SYSINIT_ORDER_LAST
+ RTEMS_SYSINIT_ORDER_LAST_BUT_5
);
\ No newline at end of file
diff --git a/bsps/arm/tms570/console/printk-support.c b/bsps/arm/tms570/console/printk-support.c
index 9e4a600..3415b7d 100644
--- a/bsps/arm/tms570/console/printk-support.c
+++ b/bsps/arm/tms570/console/printk-support.c
@@ -122,5 +122,5 @@ BSP_polling_getchar_function_type BSP_poll_char = tms570_debug_console_in;
RTEMS_SYSINIT_ITEM(
tms570_debug_console_init,
RTEMS_SYSINIT_BSP_START,
- RTEMS_SYSINIT_ORDER_LAST
+ RTEMS_SYSINIT_ORDER_LAST_BUT_5
);
diff --git a/bsps/arm/xilinx-zynq/console/debug-console.c b/bsps/arm/xilinx-zynq/console/debug-console.c
index 3b1e1e2..809fd68 100644
--- a/bsps/arm/xilinx-zynq/console/debug-console.c
+++ b/bsps/arm/xilinx-zynq/console/debug-console.c
@@ -74,5 +74,5 @@ BSP_polling_getchar_function_type BSP_poll_char = zynq_debug_console_in;
RTEMS_SYSINIT_ITEM(
zynq_debug_console_init,
RTEMS_SYSINIT_BSP_START,
- RTEMS_SYSINIT_ORDER_LAST
+ RTEMS_SYSINIT_ORDER_LAST_BUT_5
);
diff --git a/bsps/arm/xilinx-zynqmp/console/console-config.c b/bsps/arm/xilinx-zynqmp/console/console-config.c
index 69495ce..a525f9c 100644
--- a/bsps/arm/xilinx-zynqmp/console/console-config.c
+++ b/bsps/arm/xilinx-zynqmp/console/console-config.c
@@ -126,5 +126,5 @@ BSP_polling_getchar_function_type BSP_poll_char = zynqmp_debug_console_in;
RTEMS_SYSINIT_ITEM(
zynqmp_debug_console_init,
RTEMS_SYSINIT_BSP_START,
- RTEMS_SYSINIT_ORDER_LAST
+ RTEMS_SYSINIT_ORDER_LAST_BUT_5
);
diff --git a/bsps/riscv/riscv/console/console-config.c b/bsps/riscv/riscv/console/console-config.c
index ec64df2..9454eac 100644
--- a/bsps/riscv/riscv/console/console-config.c
+++ b/bsps/riscv/riscv/console/console-config.c
@@ -322,5 +322,5 @@ rtems_status_code console_initialize(
RTEMS_SYSINIT_ITEM(
riscv_console_probe,
RTEMS_SYSINIT_BSP_START,
- RTEMS_SYSINIT_ORDER_LAST
+ RTEMS_SYSINIT_ORDER_LAST_BUT_5
);
diff --git a/bsps/shared/dev/getentropy/getentropy-cpucounter.c b/bsps/shared/dev/getentropy/getentropy-cpucounter.c
index 8ef05df..218db8d 100644
--- a/bsps/shared/dev/getentropy/getentropy-cpucounter.c
+++ b/bsps/shared/dev/getentropy/getentropy-cpucounter.c
@@ -65,5 +65,5 @@ static void getentropy_init(void)
RTEMS_SYSINIT_ITEM(
getentropy_init,
RTEMS_SYSINIT_DEVICE_DRIVERS,
- RTEMS_SYSINIT_ORDER_LAST
+ RTEMS_SYSINIT_ORDER_LAST_BUT_5
);
diff --git a/bsps/sparc/erc32/start/bspsmp.c b/bsps/sparc/erc32/start/bspsmp.c
index a275d36..fd63fc0 100644
--- a/bsps/sparc/erc32/start/bspsmp.c
+++ b/bsps/sparc/erc32/start/bspsmp.c
@@ -80,5 +80,5 @@ static void erc32_install_inter_processor_interrupt( void )
RTEMS_SYSINIT_ITEM(
erc32_install_inter_processor_interrupt,
RTEMS_SYSINIT_BSP_PRE_DRIVERS,
- RTEMS_SYSINIT_ORDER_LAST
+ RTEMS_SYSINIT_ORDER_LAST_BUT_5
);
diff --git a/bsps/sparc/leon3/start/bspstart.c b/bsps/sparc/leon3/start/bspstart.c
index 58fc7d0..e897561 100644
--- a/bsps/sparc/leon3/start/bspstart.c
+++ b/bsps/sparc/leon3/start/bspstart.c
@@ -120,6 +120,6 @@ RTEMS_SYSINIT_ITEM(
RTEMS_SYSINIT_ITEM(
leon3_interrupt_common_init,
RTEMS_SYSINIT_DRVMGR_LEVEL_1,
- RTEMS_SYSINIT_ORDER_LAST
+ RTEMS_SYSINIT_ORDER_LAST_BUT_5
);
#endif
diff --git a/cpukit/libtrace/record/record-sysinit.c b/cpukit/libtrace/record/record-sysinit.c
index 88680a0..cd503ac 100644
--- a/cpukit/libtrace/record/record-sysinit.c
+++ b/cpukit/libtrace/record/record-sysinit.c
@@ -128,5 +128,5 @@ static void _Record_Initialize_watchdogs( void )
RTEMS_SYSINIT_ITEM(
_Record_Initialize_watchdogs,
RTEMS_SYSINIT_DEVICE_DRIVERS,
- RTEMS_SYSINIT_ORDER_LAST
+ RTEMS_SYSINIT_ORDER_LAST_BUT_5
);
diff --git a/cpukit/sapi/src/cpucounterconverter.c b/cpukit/sapi/src/cpucounterconverter.c
index 7387fe4..08a745d 100644
--- a/cpukit/sapi/src/cpucounterconverter.c
+++ b/cpukit/sapi/src/cpucounterconverter.c
@@ -65,5 +65,5 @@ static void rtems_counter_sysinit( void )
RTEMS_SYSINIT_ITEM(
rtems_counter_sysinit,
RTEMS_SYSINIT_CPU_COUNTER,
- RTEMS_SYSINIT_ORDER_LAST
+ RTEMS_SYSINIT_ORDER_LAST_BUT_5
);
More information about the vc
mailing list