diff options
| author | Marty Gloff <mgloff@us.ibm.com> | 2017-05-09 13:06:08 -0500 |
|---|---|---|
| committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2017-05-17 11:57:21 -0400 |
| commit | e83375df62d017f3d43c47cb6bdbea1b21fa4cfa (patch) | |
| tree | ce068db91b72442da6bc0900cf76667ab8a6b28c /src/kernel | |
| parent | dc94aa0d2c9ba8eaabf17399df5acf08e83ced8a (diff) | |
| download | talos-hostboot-e83375df62d017f3d43c47cb6bdbea1b21fa4cfa.tar.gz talos-hostboot-e83375df62d017f3d43c47cb6bdbea1b21fa4cfa.zip | |
Save space in Bootloader image without termWritePLID
The termWritePLID function is not used by Bootloader, so does not
need to be included in the image.
Change-Id: I0df52e012f14352745d3aead1ca90fe83fe7a9d4
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/40289
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com>
Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/kernel')
| -rw-r--r-- | src/kernel/terminate.C | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/kernel/terminate.C b/src/kernel/terminate.C index c39f2924c..52756b825 100644 --- a/src/kernel/terminate.C +++ b/src/kernel/terminate.C @@ -26,19 +26,19 @@ #include <kernel/hbdescriptor.H> #include <kernel/hbterminatetypes.H> #include <kernel/terminate.H> -#ifndef bl_terminate_C +#ifndef BOOTLOADER #include <stdint.h> #include <kernel/console.H> #include <kernel/ipc.H> #include <builtins.h> #include <kernel/kernel_reasoncodes.H> -#endif // bl_terminate_C +#endif // BOOTLOADER extern "C" void p8_force_attn() NO_RETURN; -#ifndef bl_terminate_C +#ifndef BOOTLOADER /* Instance of the TI Data Area */ HB_TI_DataArea kernel_TIDataArea; @@ -49,7 +49,7 @@ HB_Descriptor kernel_hbDescriptor = &KernelIpc::ipc_data_area, 0 }; -#endif // bl_terminate_C +#endif // BOOTLOADER @@ -59,12 +59,14 @@ void terminateExecuteTI() p8_force_attn(); } +#ifndef BOOTLOADER void termWritePlid(uint16_t i_source, uint32_t plid) { kernel_TIDataArea.type = TI_WITH_PLID; kernel_TIDataArea.source = i_source; kernel_TIDataArea.plid = plid; } +#endif // BOOTLOADER void termWriteSRC(uint16_t i_source, uint16_t i_reasoncode,uint64_t i_failAddr, uint32_t i_error_data) |

