From d7683a99093d4762c5885c513ea20ce60ce04243 Mon Sep 17 00:00:00 2001 From: Sridhar Pitchai Date: Tue, 25 Oct 2016 11:56:23 -0700 Subject: [PATCH] Platform x86-64-cel-redstone-xp ONLP porting. This patch has ONLP APIs for sysi, sfp, fan, psu, led and thermals. onlpdump log: root@localhost:~# onlpdump System Information: = { Product Name: Redstone-XP D2060 Part Number: R0854-F1004-01 Serial Number: D2060B2F105A14AP000001 MAC: 00:e0:ec:33:5c:dc MAC Range: 73 Manufacturer: CELESTICA Manufacture Date: 10/21/2015 12:19:06 Vendor: CELESTICA Platform Name: RANGELEY Device Version: 10 Label Revision: Redstone-XP Country Code: CHN Diag Version: 1.2.8 Service Tag: LB ONIE Version: 2014.08 } psu @ 1 = { Description: PSU-1 Model: NULL SN: NULL Status: 0x00000001 [ PRESENT ] Caps: 0x00000000 Vin: 117620 Vout: 11920 Iin: 760 Iout: 5810 Pin: 90120 Pout: 69250 } psu @ 2 = { Description: PSU-2 Model: NULL SN: NULL Status: 0x00000005 [ PRESENT,UNPLUGGED ] Caps: 0x00000000 Vin: 0 Vout: 0 Iin: 0 Iout: 0 Pin: 0 Pout: 0 } led @ 1 = { Description: Chassis System LED(DIAG LED) Status: 0x00000005 [ PRESENT,ON ] Caps: 0x00011001 [ ON_OFF,ORANGE,GREEN ] Mode: ON Char: } led @ 2 = { Description: Chassis FAN(1) LED Status: 0x00000005 [ PRESENT,ON ] Caps: 0x00411001 [ ON_OFF,ORANGE,GREEN,AUTO ] Mode: ON Char: } led @ 3 = { Description: Chassis FAN(2) LED Status: 0x00000005 [ PRESENT,ON ] Caps: 0x00411001 [ ON_OFF,ORANGE,GREEN,AUTO ] Mode: ON Char: } led @ 4 = { Description: Chassis FAN(3) LED Status: 0x00000005 [ PRESENT,ON ] Caps: 0x00411001 [ ON_OFF,ORANGE,GREEN,AUTO ] Mode: ON Char: } led @ 5 = { Description: Chassis FAN(4) LED Status: 0x00000005 [ PRESENT,ON ] Caps: 0x00411001 [ ON_OFF,ORANGE,GREEN,AUTO ] Mode: ON Char: } led @ 6 = { Description: Chassis FAN(5) LED Status: 0x00000005 [ PRESENT,ON ] Caps: 0x00411001 [ ON_OFF,ORANGE,GREEN,AUTO ] Mode: ON Char: } led @ 7 = { Description: Chassis FAN(6) LED Status: 0x00000005 [ PRESENT,ON ] Caps: 0x00411001 [ ON_OFF,ORANGE,GREEN,AUTO ] Mode: ON Char: } led @ 8 = { Description: Chassis FAN(7) LED Status: 0x00000005 [ PRESENT,ON ] Caps: 0x00411001 [ ON_OFF,ORANGE,GREEN,AUTO ] Mode: ON Char: } led @ 9 = { Description: Chassis FAN(8) LED Status: 0x00000005 [ PRESENT,ON ] Caps: 0x00411001 [ ON_OFF,ORANGE,GREEN,AUTO ] Mode: ON Char: } led @ 10 = { Description: Chassis PSU(1) LED Status: 0x00000005 [ PRESENT,ON ] Caps: 0x00411001 [ ON_OFF,ORANGE,GREEN,AUTO ] Mode: ON Char: } led @ 11 = { Description: Chassis PSU(2) LED Status: 0x00000005 [ PRESENT,ON ] Caps: 0x00411001 [ ON_OFF,ORANGE,GREEN,AUTO ] Mode: ON Char: } thermal @ 1 = { Description: Chassis Thermal (Rear) Status: 0x00000001 [ PRESENT ] Caps: 0x0000000f [ GET_TEMPERATURE,GET_WARNING_THRESHOLD,GET_ERROR_THRESHOLD,GET_SHUTDOWN_THRESHOLD ] Temperature: 36 thresholds = { Warning: 45000 Error: 55000 Shutdown: 60000 } } thermal @ 2 = { Description: BCM SOC Thermal sensor Status: 0x00000001 [ PRESENT ] Caps: 0x0000000f [ GET_TEMPERATURE,GET_WARNING_THRESHOLD,GET_ERROR_THRESHOLD,GET_SHUTDOWN_THRESHOLD ] Temperature: 35 thresholds = { Warning: 45000 Error: 55000 Shutdown: 60000 } } thermal @ 3 = { Description: CPU Core Status: 0x00000001 [ PRESENT ] Caps: 0x0000000f [ GET_TEMPERATURE,GET_WARNING_THRESHOLD,GET_ERROR_THRESHOLD,GET_SHUTDOWN_THRESHOLD ] Temperature: 37 thresholds = { Warning: 45000 Error: 55000 Shutdown: 60000 } } thermal @ 4 = { Description: Chassis Thermal Sensor (Front) Status: 0x00000001 [ PRESENT ] Caps: 0x0000000f [ GET_TEMPERATURE,GET_WARNING_THRESHOLD,GET_ERROR_THRESHOLD,GET_SHUTDOWN_THRESHOLD ] Temperature: 40 thresholds = { Warning: 45000 Error: 55000 Shutdown: 60000 } } thermal @ 5 = { Description: PSU-1 Thermal Sensor Status: 0x00000001 [ PRESENT ] Caps: 0x0000000f [ GET_TEMPERATURE,GET_WARNING_THRESHOLD,GET_ERROR_THRESHOLD,GET_SHUTDOWN_THRESHOLD ] Temperature: 37 thresholds = { Warning: 45000 Error: 55000 Shutdown: 60000 } } thermal @ 6 = { Description: PSU-2 Thermal Sensor Status: 0x00000001 [ PRESENT ] Caps: 0x0000000f [ GET_TEMPERATURE,GET_WARNING_THRESHOLD,GET_ERROR_THRESHOLD,GET_SHUTDOWN_THRESHOLD ] Temperature: 35 thresholds = { Warning: 45000 Error: 55000 Shutdown: 60000 } } fan @ 1 = { Description: Chassis Fan 1 Status: 0x00000005 [ PRESENT,B2F ] Caps: 0x00000000 RPM: 8998 Per: 40 Model: NULL SN: NULL } fan @ 2 = { Description: Chassis Fan 2 Status: 0x00000005 [ PRESENT,B2F ] Caps: 0x00000000 RPM: 7710 Per: 40 Model: NULL SN: NULL } fan @ 3 = { Description: Chassis Fan 3 Status: 0x00000005 [ PRESENT,B2F ] Caps: 0x00000000 RPM: 9340 Per: 40 Model: NULL SN: NULL } fan @ 4 = { Description: Chassis Fan 4 Status: 0x00000005 [ PRESENT,B2F ] Caps: 0x00000000 RPM: 8090 Per: 40 Model: NULL SN: NULL } fan @ 5 = { Description: Chassis Fan 5 Status: 0x00000005 [ PRESENT,B2F ] Caps: 0x00000000 RPM: 9429 Per: 40 Model: NULL SN: NULL } fan @ 6 = { Description: Chassis Fan 6 Status: 0x00000005 [ PRESENT,B2F ] Caps: 0x00000000 RPM: 7992 Per: 40 Model: NULL SN: NULL } fan @ 7 = { Description: Chassis Fan 7 Status: 0x00000005 [ PRESENT,B2F ] Caps: 0x00000000 RPM: 9102 Per: 40 Model: NULL SN: NULL } fan @ 8 = { Description: Chassis Fan 8 Status: 0x00000005 [ PRESENT,B2F ] Caps: 0x00000000 RPM: 7927 Per: 40 Model: NULL SN: NULL } fan @ 9 = { Description: PSU Fan 1 Status: 0x00000009 [ PRESENT,F2B ] Caps: 0x00000000 RPM: 8848 Per: 50 Model: NULL SN: NULL } fan @ 10 = { Description: PSU Fan 2 Status: 0x00000009 [ PRESENT,F2B ] Caps: 0x00000000 RPM: 4700 Per: 47 Model: NULL SN: NULL } SFPs: Presence Bitmap: 1 2 35 36 RX_LOS Bitmap: 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 Port 01: Present, Status = 0x00000000 eeprom: 0000: 03 04 22 00 00 00 08 00 00 00 00 01 0d 00 00 00 0010: 00 00 64 00 4f 45 4d 20 20 20 20 20 20 20 20 20 0020: 20 20 20 20 00 00 17 6a 47 4c 43 2d 54 2d 43 55 0030: 52 56 20 20 20 20 20 20 42 31 20 20 00 00 00 dc 0040: 00 1a 00 00 58 41 4e 58 30 42 44 37 35 58 30 30 0050: 33 32 30 20 31 34 31 30 30 32 20 20 00 00 00 50 0060: 00 00 11 d4 0e 0e 75 5f eb 3a c6 32 2d f7 e9 dc 0070: 20 57 b5 00 00 00 00 00 00 00 00 00 c7 d9 08 00 0080: 43 4e 53 38 54 55 54 41 41 42 33 30 2d 31 34 31 0090: 30 2d 30 33 56 30 33 20 49 fb 46 00 00 00 00 26 00a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 aa aa 00c0: 47 4c 43 2d 54 20 20 20 20 20 20 20 20 20 20 20 00d0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 97 00e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00f0: 00 00 00 00 00 00 00 00 00 40 00 40 00 00 00 00 Port 02: Present, Status = 0x00000004 [ RX_LOS ] eeprom: 0000: 03 04 22 00 00 00 08 00 00 00 00 01 0d 00 00 00 0010: 00 00 64 00 4f 45 4d 20 20 20 20 20 20 20 20 20 0020: 20 20 20 20 00 00 17 6a 47 4c 43 2d 54 2d 43 55 0030: 52 56 20 20 20 20 20 20 42 31 20 20 00 00 00 dc 0040: 00 1a 00 00 58 41 4e 54 58 32 32 38 37 32 20 20 0050: 20 20 20 20 31 34 30 38 31 39 20 20 00 00 00 e9 0060: 00 00 11 7e 47 e6 43 7e 15 ef 8b 4b b1 7f 88 ba 0070: 78 eb 0b 00 00 00 00 00 00 00 00 00 24 fb c9 00 0080: 43 4e 53 38 54 55 54 41 41 42 33 30 2d 31 34 31 0090: 30 2d 30 33 56 30 33 20 49 fb 46 00 00 00 00 26 00a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 aa aa 00c0: 47 4c 43 2d 54 20 20 20 20 20 20 20 20 20 20 20 00d0: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 97 00e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00f0: 00 00 00 00 00 00 00 00 00 40 00 40 00 00 00 00 Port 03: Missing. Port 04: Missing. Port 05: Missing. Port 06: Missing. Port 07: Missing. Port 08: Missing. Port 09: Missing. Port 10: Missing. Port 11: Missing. Port 12: Missing. Port 13: Missing. Port 14: Missing. Port 15: Missing. Port 16: Missing. Port 17: Missing. Port 18: Missing. Port 19: Missing. Port 20: Missing. Port 21: Missing. Port 22: Missing. Port 23: Missing. Port 24: Missing. Port 25: Missing. Port 26: Missing. Port 27: Missing. Port 28: Missing. Port 29: Missing. Port 30: Missing. Port 31: Missing. Port 32: Missing. Port 33: Missing. Port 34: Missing. Port 35: Present, Status = 0x00000000 eeprom: 0000: 03 04 21 00 00 00 00 00 04 00 00 00 67 00 00 00 0010: 00 00 03 00 4f 45 4d 20 20 20 20 20 20 20 20 20 0020: 20 20 20 20 00 00 40 20 53 46 50 2d 48 31 30 47 0030: 42 2d 43 55 33 4d 20 20 30 33 20 20 01 00 00 e8 0040: 00 00 00 00 43 53 53 33 31 47 35 31 39 32 39 20 0050: 20 20 20 20 31 36 30 35 30 31 20 20 00 00 00 ab 0060: 81 00 11 be cd f7 59 20 a9 96 69 41 e7 88 cd da 0070: 20 41 3b 00 00 00 00 00 00 00 00 00 9c 16 a0 00 0080: 43 4f 50 51 41 41 36 4a 41 42 33 37 2d 30 39 36 0090: 31 2d 30 33 56 30 33 20 01 00 46 00 00 00 00 cf 00a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00c0: 53 46 50 2d 48 31 30 47 42 2d 43 55 33 4d 20 20 00d0: 20 20 20 20 30 39 00 00 00 00 00 00 00 00 00 b6 00e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Port 36: Present, Status = 0x00000000 eeprom: 0000: 03 04 21 00 00 00 00 00 04 00 00 00 67 00 00 00 0010: 00 00 03 00 4f 45 4d 20 20 20 20 20 20 20 20 20 0020: 20 20 20 20 00 00 40 20 53 46 50 2d 48 31 30 47 0030: 42 2d 43 55 33 4d 20 20 30 33 20 20 01 00 00 e8 0040: 00 00 00 00 43 53 53 33 31 47 35 31 39 32 32 20 0050: 20 20 20 20 31 36 30 35 30 31 20 20 00 00 00 a4 0060: 81 00 11 41 4f f5 2c 81 28 2e 9a d8 43 78 e9 40 0070: 65 4e 77 00 00 00 00 00 00 00 00 00 ec dc bd 00 0080: 43 4f 50 51 41 41 36 4a 41 42 33 37 2d 30 39 36 0090: 31 2d 30 33 56 30 33 20 01 00 46 00 00 00 00 cf 00a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00c0: 53 46 50 2d 48 31 30 47 42 2d 43 55 33 4d 20 20 00d0: 20 20 20 20 30 39 00 00 00 00 00 00 00 00 00 b6 00e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 Port 37: Missing. Port 38: Missing. Port 39: Missing. Port 40: Missing. Port 41: Missing. Port 42: Missing. Port 43: Missing. Port 44: Missing. Port 45: Missing. Port 46: Missing. Port 47: Missing. Port 48: Missing. Port 49: Missing. Port 50: Missing. Port 51: Missing. Port 52: Missing. Port 53: Missing. Port 54: Missing. root@localhost:~# root@localhost:~# --- .../builds/src/x86_64_cel_redstone_xp/.module | 1 - .../src/x86_64_cel_redstone_xp/Makefile | 9 -- .../module/auto/make.mk | 9 -- .../module/auto/x86_64_cel_redstone_xp.yml | 47 ------- .../x86_64_cel_redstone_xp.x | 14 -- .../x86_64_cel_redstone_xp_config.h | 127 ------------------ .../x86_64_cel_redstone_xp_dox.h | 26 ---- .../x86_64_cel_redstone_xp_porting.h | 107 --------------- .../src/x86_64_cel_redstone_xp/module/make.mk | 10 -- .../module/src/Makefile | 9 -- .../x86_64_cel_redstone_xp/module/src/make.mk | 9 -- .../src/x86_64_cel_redstone_xp_config.c | 76 ----------- .../module/src/x86_64_cel_redstone_xp_enums.c | 10 -- .../module/src/x86_64_cel_redstone_xp_int.h | 12 -- .../module/src/x86_64_cel_redstone_xp_log.c | 18 --- .../module/src/x86_64_cel_redstone_xp_log.h | 12 -- .../src/x86_64_cel_redstone_xp_module.c | 24 ---- .../module/src/x86_64_cel_redstone_xp_ucli.c | 50 ------- .../x86_64_cel_redstone_xp_r0/__init__.py | 1 - 19 files changed, 571 deletions(-) delete mode 100644 packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/.module delete mode 100644 packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/Makefile delete mode 100644 packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/auto/make.mk delete mode 100644 packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/auto/x86_64_cel_redstone_xp.yml delete mode 100644 packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/inc/x86_64_cel_redstone_xp/x86_64_cel_redstone_xp.x delete mode 100644 packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/inc/x86_64_cel_redstone_xp/x86_64_cel_redstone_xp_config.h delete mode 100644 packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/inc/x86_64_cel_redstone_xp/x86_64_cel_redstone_xp_dox.h delete mode 100644 packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/inc/x86_64_cel_redstone_xp/x86_64_cel_redstone_xp_porting.h delete mode 100644 packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/make.mk delete mode 100644 packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/Makefile delete mode 100644 packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/make.mk delete mode 100644 packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/x86_64_cel_redstone_xp_config.c delete mode 100644 packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/x86_64_cel_redstone_xp_enums.c delete mode 100644 packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/x86_64_cel_redstone_xp_int.h delete mode 100644 packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/x86_64_cel_redstone_xp_log.c delete mode 100644 packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/x86_64_cel_redstone_xp_log.h delete mode 100644 packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/x86_64_cel_redstone_xp_module.c delete mode 100644 packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/x86_64_cel_redstone_xp_ucli.c diff --git a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/.module b/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/.module deleted file mode 100644 index 2aa1d02a..00000000 --- a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/.module +++ /dev/null @@ -1 +0,0 @@ -name: x86_64_cel_redstone_xp diff --git a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/Makefile b/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/Makefile deleted file mode 100644 index 551d44b7..00000000 --- a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -############################################################################### -# -# -# -############################################################################### -include $(ONL)/make/config.mk -MODULE := x86_64_cel_redstone_xp -AUTOMODULE := x86_64_cel_redstone_xp -include $(BUILDER)/definemodule.mk diff --git a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/auto/make.mk b/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/auto/make.mk deleted file mode 100644 index 49c7a8e1..00000000 --- a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/auto/make.mk +++ /dev/null @@ -1,9 +0,0 @@ -############################################################################### -# -# x86_64_cel_redstone_xp Autogeneration -# -############################################################################### -x86_64_cel_redstone_xp_AUTO_DEFS := module/auto/x86_64_cel_redstone_xp.yml -x86_64_cel_redstone_xp_AUTO_DIRS := module/inc/x86_64_cel_redstone_xp module/src -include $(BUILDER)/auto.mk - diff --git a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/auto/x86_64_cel_redstone_xp.yml b/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/auto/x86_64_cel_redstone_xp.yml deleted file mode 100644 index 030c8174..00000000 --- a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/auto/x86_64_cel_redstone_xp.yml +++ /dev/null @@ -1,47 +0,0 @@ -############################################################################### -# -# x86_64_cel_redstone_xp Autogeneration Definitions. -# -############################################################################### - -cdefs: &cdefs -- X86_64_CEL_REDSTONE_XP_CONFIG_INCLUDE_LOGGING: - doc: "Include or exclude logging." - default: 1 -- X86_64_CEL_REDSTONE_XP_CONFIG_LOG_OPTIONS_DEFAULT: - doc: "Default enabled log options." - default: AIM_LOG_OPTIONS_DEFAULT -- X86_64_CEL_REDSTONE_XP_CONFIG_LOG_BITS_DEFAULT: - doc: "Default enabled log bits." - default: AIM_LOG_BITS_DEFAULT -- X86_64_CEL_REDSTONE_XP_CONFIG_LOG_CUSTOM_BITS_DEFAULT: - doc: "Default enabled custom log bits." - default: 0 -- X86_64_CEL_REDSTONE_XP_CONFIG_PORTING_STDLIB: - doc: "Default all porting macros to use the C standard libraries." - default: 1 -- X86_64_CEL_REDSTONE_XP_CONFIG_PORTING_INCLUDE_STDLIB_HEADERS: - doc: "Include standard library headers for stdlib porting macros." - default: X86_64_CEL_REDSTONE_XP_CONFIG_PORTING_STDLIB -- X86_64_CEL_REDSTONE_XP_CONFIG_INCLUDE_UCLI: - doc: "Include generic uCli support." - default: 0 - - -definitions: - cdefs: - X86_64_CEL_REDSTONE_XP_CONFIG_HEADER: - defs: *cdefs - basename: x86_64_cel_redstone_xp_config - - portingmacro: - X86_64_CEL_REDSTONE_XP: - macros: - - malloc - - free - - memset - - memcpy - - strncpy - - vsnprintf - - snprintf - - strlen diff --git a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/inc/x86_64_cel_redstone_xp/x86_64_cel_redstone_xp.x b/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/inc/x86_64_cel_redstone_xp/x86_64_cel_redstone_xp.x deleted file mode 100644 index db56c766..00000000 --- a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/inc/x86_64_cel_redstone_xp/x86_64_cel_redstone_xp.x +++ /dev/null @@ -1,14 +0,0 @@ -/**************************************************************************//** - * - * - * - *****************************************************************************/ -#include - -/* <--auto.start.xmacro(ALL).define> */ -/* */ - -/* <--auto.start.xenum(ALL).define> */ -/* */ - - diff --git a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/inc/x86_64_cel_redstone_xp/x86_64_cel_redstone_xp_config.h b/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/inc/x86_64_cel_redstone_xp/x86_64_cel_redstone_xp_config.h deleted file mode 100644 index 1648a12f..00000000 --- a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/inc/x86_64_cel_redstone_xp/x86_64_cel_redstone_xp_config.h +++ /dev/null @@ -1,127 +0,0 @@ -/**************************************************************************//** - * - * @file - * @brief x86_64_cel_redstone_xp Configuration Header - * - * @addtogroup x86_64_cel_redstone_xp-config - * @{ - * - *****************************************************************************/ -#ifndef __X86_64_CEL_REDSTONE_XP_CONFIG_H__ -#define __X86_64_CEL_REDSTONE_XP_CONFIG_H__ - -#ifdef GLOBAL_INCLUDE_CUSTOM_CONFIG -#include -#endif -#ifdef X86_64_CEL_REDSTONE_XP_INCLUDE_CUSTOM_CONFIG -#include -#endif - -/* */ -#include -/** - * X86_64_CEL_REDSTONE_XP_CONFIG_INCLUDE_LOGGING - * - * Include or exclude logging. */ - - -#ifndef X86_64_CEL_REDSTONE_XP_CONFIG_INCLUDE_LOGGING -#define X86_64_CEL_REDSTONE_XP_CONFIG_INCLUDE_LOGGING 1 -#endif - -/** - * X86_64_CEL_REDSTONE_XP_CONFIG_LOG_OPTIONS_DEFAULT - * - * Default enabled log options. */ - - -#ifndef X86_64_CEL_REDSTONE_XP_CONFIG_LOG_OPTIONS_DEFAULT -#define X86_64_CEL_REDSTONE_XP_CONFIG_LOG_OPTIONS_DEFAULT AIM_LOG_OPTIONS_DEFAULT -#endif - -/** - * X86_64_CEL_REDSTONE_XP_CONFIG_LOG_BITS_DEFAULT - * - * Default enabled log bits. */ - - -#ifndef X86_64_CEL_REDSTONE_XP_CONFIG_LOG_BITS_DEFAULT -#define X86_64_CEL_REDSTONE_XP_CONFIG_LOG_BITS_DEFAULT AIM_LOG_BITS_DEFAULT -#endif - -/** - * X86_64_CEL_REDSTONE_XP_CONFIG_LOG_CUSTOM_BITS_DEFAULT - * - * Default enabled custom log bits. */ - - -#ifndef X86_64_CEL_REDSTONE_XP_CONFIG_LOG_CUSTOM_BITS_DEFAULT -#define X86_64_CEL_REDSTONE_XP_CONFIG_LOG_CUSTOM_BITS_DEFAULT 0 -#endif - -/** - * X86_64_CEL_REDSTONE_XP_CONFIG_PORTING_STDLIB - * - * Default all porting macros to use the C standard libraries. */ - - -#ifndef X86_64_CEL_REDSTONE_XP_CONFIG_PORTING_STDLIB -#define X86_64_CEL_REDSTONE_XP_CONFIG_PORTING_STDLIB 1 -#endif - -/** - * X86_64_CEL_REDSTONE_XP_CONFIG_PORTING_INCLUDE_STDLIB_HEADERS - * - * Include standard library headers for stdlib porting macros. */ - - -#ifndef X86_64_CEL_REDSTONE_XP_CONFIG_PORTING_INCLUDE_STDLIB_HEADERS -#define X86_64_CEL_REDSTONE_XP_CONFIG_PORTING_INCLUDE_STDLIB_HEADERS X86_64_CEL_REDSTONE_XP_CONFIG_PORTING_STDLIB -#endif - -/** - * X86_64_CEL_REDSTONE_XP_CONFIG_INCLUDE_UCLI - * - * Include generic uCli support. */ - - -#ifndef X86_64_CEL_REDSTONE_XP_CONFIG_INCLUDE_UCLI -#define X86_64_CEL_REDSTONE_XP_CONFIG_INCLUDE_UCLI 0 -#endif - - - -/** - * All compile time options can be queried or displayed - */ - -/** Configuration settings structure. */ -typedef struct x86_64_cel_redstone_xp_config_settings_s { - /** name */ - const char* name; - /** value */ - const char* value; -} x86_64_cel_redstone_xp_config_settings_t; - -/** Configuration settings table. */ -/** x86_64_cel_redstone_xp_config_settings table. */ -extern x86_64_cel_redstone_xp_config_settings_t x86_64_cel_redstone_xp_config_settings[]; - -/** - * @brief Lookup a configuration setting. - * @param setting The name of the configuration option to lookup. - */ -const char* x86_64_cel_redstone_xp_config_lookup(const char* setting); - -/** - * @brief Show the compile-time configuration. - * @param pvs The output stream. - */ -int x86_64_cel_redstone_xp_config_show(struct aim_pvs_s* pvs); - -/* */ - -#include "x86_64_cel_redstone_xp_porting.h" - -#endif /* __X86_64_CEL_REDSTONE_XP_CONFIG_H__ */ -/* @} */ diff --git a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/inc/x86_64_cel_redstone_xp/x86_64_cel_redstone_xp_dox.h b/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/inc/x86_64_cel_redstone_xp/x86_64_cel_redstone_xp_dox.h deleted file mode 100644 index 80e739cd..00000000 --- a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/inc/x86_64_cel_redstone_xp/x86_64_cel_redstone_xp_dox.h +++ /dev/null @@ -1,26 +0,0 @@ -/**************************************************************************//** - * - * x86_64_cel_redstone_xp Doxygen Header - * - *****************************************************************************/ -#ifndef __X86_64_CEL_REDSTONE_XP_DOX_H__ -#define __X86_64_CEL_REDSTONE_XP_DOX_H__ - -/** - * @defgroup x86_64_cel_redstone_xp x86_64_cel_redstone_xp - x86_64_cel_redstone_xp Description - * - -The documentation overview for this module should go here. - - * - * @{ - * - * @defgroup x86_64_cel_redstone_xp-x86_64_cel_redstone_xp Public Interface - * @defgroup x86_64_cel_redstone_xp-config Compile Time Configuration - * @defgroup x86_64_cel_redstone_xp-porting Porting Macros - * - * @} - * - */ - -#endif /* __X86_64_CEL_REDSTONE_XP_DOX_H__ */ diff --git a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/inc/x86_64_cel_redstone_xp/x86_64_cel_redstone_xp_porting.h b/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/inc/x86_64_cel_redstone_xp/x86_64_cel_redstone_xp_porting.h deleted file mode 100644 index cf9ed33d..00000000 --- a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/inc/x86_64_cel_redstone_xp/x86_64_cel_redstone_xp_porting.h +++ /dev/null @@ -1,107 +0,0 @@ -/**************************************************************************//** - * - * @file - * @brief x86_64_cel_redstone_xp Porting Macros. - * - * @addtogroup x86_64_cel_redstone_xp-porting - * @{ - * - *****************************************************************************/ -#ifndef __X86_64_CEL_REDSTONE_XP_PORTING_H__ -#define __X86_64_CEL_REDSTONE_XP_PORTING_H__ - - -/* */ -#if X86_64_CEL_REDSTONE_XP_CONFIG_PORTING_INCLUDE_STDLIB_HEADERS == 1 -#include -#include -#include -#include -#include -#endif - -#ifndef X86_64_CEL_REDSTONE_XP_MALLOC - #if defined(GLOBAL_MALLOC) - #define X86_64_CEL_REDSTONE_XP_MALLOC GLOBAL_MALLOC - #elif X86_64_CEL_REDSTONE_XP_CONFIG_PORTING_STDLIB == 1 - #define X86_64_CEL_REDSTONE_XP_MALLOC malloc - #else - #error The macro X86_64_CEL_REDSTONE_XP_MALLOC is required but cannot be defined. - #endif -#endif - -#ifndef X86_64_CEL_REDSTONE_XP_FREE - #if defined(GLOBAL_FREE) - #define X86_64_CEL_REDSTONE_XP_FREE GLOBAL_FREE - #elif X86_64_CEL_REDSTONE_XP_CONFIG_PORTING_STDLIB == 1 - #define X86_64_CEL_REDSTONE_XP_FREE free - #else - #error The macro X86_64_CEL_REDSTONE_XP_FREE is required but cannot be defined. - #endif -#endif - -#ifndef X86_64_CEL_REDSTONE_XP_MEMSET - #if defined(GLOBAL_MEMSET) - #define X86_64_CEL_REDSTONE_XP_MEMSET GLOBAL_MEMSET - #elif X86_64_CEL_REDSTONE_XP_CONFIG_PORTING_STDLIB == 1 - #define X86_64_CEL_REDSTONE_XP_MEMSET memset - #else - #error The macro X86_64_CEL_REDSTONE_XP_MEMSET is required but cannot be defined. - #endif -#endif - -#ifndef X86_64_CEL_REDSTONE_XP_MEMCPY - #if defined(GLOBAL_MEMCPY) - #define X86_64_CEL_REDSTONE_XP_MEMCPY GLOBAL_MEMCPY - #elif X86_64_CEL_REDSTONE_XP_CONFIG_PORTING_STDLIB == 1 - #define X86_64_CEL_REDSTONE_XP_MEMCPY memcpy - #else - #error The macro X86_64_CEL_REDSTONE_XP_MEMCPY is required but cannot be defined. - #endif -#endif - -#ifndef X86_64_CEL_REDSTONE_XP_STRNCPY - #if defined(GLOBAL_STRNCPY) - #define X86_64_CEL_REDSTONE_XP_STRNCPY GLOBAL_STRNCPY - #elif X86_64_CEL_REDSTONE_XP_CONFIG_PORTING_STDLIB == 1 - #define X86_64_CEL_REDSTONE_XP_STRNCPY strncpy - #else - #error The macro X86_64_CEL_REDSTONE_XP_STRNCPY is required but cannot be defined. - #endif -#endif - -#ifndef X86_64_CEL_REDSTONE_XP_VSNPRINTF - #if defined(GLOBAL_VSNPRINTF) - #define X86_64_CEL_REDSTONE_XP_VSNPRINTF GLOBAL_VSNPRINTF - #elif X86_64_CEL_REDSTONE_XP_CONFIG_PORTING_STDLIB == 1 - #define X86_64_CEL_REDSTONE_XP_VSNPRINTF vsnprintf - #else - #error The macro X86_64_CEL_REDSTONE_XP_VSNPRINTF is required but cannot be defined. - #endif -#endif - -#ifndef X86_64_CEL_REDSTONE_XP_SNPRINTF - #if defined(GLOBAL_SNPRINTF) - #define X86_64_CEL_REDSTONE_XP_SNPRINTF GLOBAL_SNPRINTF - #elif X86_64_CEL_REDSTONE_XP_CONFIG_PORTING_STDLIB == 1 - #define X86_64_CEL_REDSTONE_XP_SNPRINTF snprintf - #else - #error The macro X86_64_CEL_REDSTONE_XP_SNPRINTF is required but cannot be defined. - #endif -#endif - -#ifndef X86_64_CEL_REDSTONE_XP_STRLEN - #if defined(GLOBAL_STRLEN) - #define X86_64_CEL_REDSTONE_XP_STRLEN GLOBAL_STRLEN - #elif X86_64_CEL_REDSTONE_XP_CONFIG_PORTING_STDLIB == 1 - #define X86_64_CEL_REDSTONE_XP_STRLEN strlen - #else - #error The macro X86_64_CEL_REDSTONE_XP_STRLEN is required but cannot be defined. - #endif -#endif - -/* */ - - -#endif /* __X86_64_CEL_REDSTONE_XP_PORTING_H__ */ -/* @} */ diff --git a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/make.mk b/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/make.mk deleted file mode 100644 index 5ee878c7..00000000 --- a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/make.mk +++ /dev/null @@ -1,10 +0,0 @@ -############################################################################### -# -# -# -############################################################################### -THIS_DIR := $(dir $(lastword $(MAKEFILE_LIST))) -x86_64_cel_redstone_xp_INCLUDES := -I $(THIS_DIR)inc -x86_64_cel_redstone_xp_INTERNAL_INCLUDES := -I $(THIS_DIR)src -x86_64_cel_redstone_xp_DEPENDMODULE_ENTRIES := init:x86_64_cel_redstone_xp ucli:x86_64_cel_redstone_xp - diff --git a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/Makefile b/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/Makefile deleted file mode 100644 index 2d27ef62..00000000 --- a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -############################################################################### -# -# Local source generation targets. -# -############################################################################### - -ucli: - @../../../../tools/uclihandlers.py x86_64_cel_redstone_xp_ucli.c - diff --git a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/make.mk b/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/make.mk deleted file mode 100644 index 403fc11c..00000000 --- a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/make.mk +++ /dev/null @@ -1,9 +0,0 @@ -############################################################################### -# -# -# -############################################################################### - -LIBRARY := x86_64_cel_redstone_xp -$(LIBRARY)_SUBDIR := $(dir $(lastword $(MAKEFILE_LIST))) -include $(BUILDER)/lib.mk diff --git a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/x86_64_cel_redstone_xp_config.c b/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/x86_64_cel_redstone_xp_config.c deleted file mode 100644 index a988fcde..00000000 --- a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/x86_64_cel_redstone_xp_config.c +++ /dev/null @@ -1,76 +0,0 @@ -/**************************************************************************//** - * - * - * - *****************************************************************************/ -#include - -/* */ -#define __x86_64_cel_redstone_xp_config_STRINGIFY_NAME(_x) #_x -#define __x86_64_cel_redstone_xp_config_STRINGIFY_VALUE(_x) __x86_64_cel_redstone_xp_config_STRINGIFY_NAME(_x) -x86_64_cel_redstone_xp_config_settings_t x86_64_cel_redstone_xp_config_settings[] = -{ -#ifdef X86_64_CEL_REDSTONE_XP_CONFIG_INCLUDE_LOGGING - { __x86_64_cel_redstone_xp_config_STRINGIFY_NAME(X86_64_CEL_REDSTONE_XP_CONFIG_INCLUDE_LOGGING), __x86_64_cel_redstone_xp_config_STRINGIFY_VALUE(X86_64_CEL_REDSTONE_XP_CONFIG_INCLUDE_LOGGING) }, -#else -{ X86_64_CEL_REDSTONE_XP_CONFIG_INCLUDE_LOGGING(__x86_64_cel_redstone_xp_config_STRINGIFY_NAME), "__undefined__" }, -#endif -#ifdef X86_64_CEL_REDSTONE_XP_CONFIG_LOG_OPTIONS_DEFAULT - { __x86_64_cel_redstone_xp_config_STRINGIFY_NAME(X86_64_CEL_REDSTONE_XP_CONFIG_LOG_OPTIONS_DEFAULT), __x86_64_cel_redstone_xp_config_STRINGIFY_VALUE(X86_64_CEL_REDSTONE_XP_CONFIG_LOG_OPTIONS_DEFAULT) }, -#else -{ X86_64_CEL_REDSTONE_XP_CONFIG_LOG_OPTIONS_DEFAULT(__x86_64_cel_redstone_xp_config_STRINGIFY_NAME), "__undefined__" }, -#endif -#ifdef X86_64_CEL_REDSTONE_XP_CONFIG_LOG_BITS_DEFAULT - { __x86_64_cel_redstone_xp_config_STRINGIFY_NAME(X86_64_CEL_REDSTONE_XP_CONFIG_LOG_BITS_DEFAULT), __x86_64_cel_redstone_xp_config_STRINGIFY_VALUE(X86_64_CEL_REDSTONE_XP_CONFIG_LOG_BITS_DEFAULT) }, -#else -{ X86_64_CEL_REDSTONE_XP_CONFIG_LOG_BITS_DEFAULT(__x86_64_cel_redstone_xp_config_STRINGIFY_NAME), "__undefined__" }, -#endif -#ifdef X86_64_CEL_REDSTONE_XP_CONFIG_LOG_CUSTOM_BITS_DEFAULT - { __x86_64_cel_redstone_xp_config_STRINGIFY_NAME(X86_64_CEL_REDSTONE_XP_CONFIG_LOG_CUSTOM_BITS_DEFAULT), __x86_64_cel_redstone_xp_config_STRINGIFY_VALUE(X86_64_CEL_REDSTONE_XP_CONFIG_LOG_CUSTOM_BITS_DEFAULT) }, -#else -{ X86_64_CEL_REDSTONE_XP_CONFIG_LOG_CUSTOM_BITS_DEFAULT(__x86_64_cel_redstone_xp_config_STRINGIFY_NAME), "__undefined__" }, -#endif -#ifdef X86_64_CEL_REDSTONE_XP_CONFIG_PORTING_STDLIB - { __x86_64_cel_redstone_xp_config_STRINGIFY_NAME(X86_64_CEL_REDSTONE_XP_CONFIG_PORTING_STDLIB), __x86_64_cel_redstone_xp_config_STRINGIFY_VALUE(X86_64_CEL_REDSTONE_XP_CONFIG_PORTING_STDLIB) }, -#else -{ X86_64_CEL_REDSTONE_XP_CONFIG_PORTING_STDLIB(__x86_64_cel_redstone_xp_config_STRINGIFY_NAME), "__undefined__" }, -#endif -#ifdef X86_64_CEL_REDSTONE_XP_CONFIG_PORTING_INCLUDE_STDLIB_HEADERS - { __x86_64_cel_redstone_xp_config_STRINGIFY_NAME(X86_64_CEL_REDSTONE_XP_CONFIG_PORTING_INCLUDE_STDLIB_HEADERS), __x86_64_cel_redstone_xp_config_STRINGIFY_VALUE(X86_64_CEL_REDSTONE_XP_CONFIG_PORTING_INCLUDE_STDLIB_HEADERS) }, -#else -{ X86_64_CEL_REDSTONE_XP_CONFIG_PORTING_INCLUDE_STDLIB_HEADERS(__x86_64_cel_redstone_xp_config_STRINGIFY_NAME), "__undefined__" }, -#endif -#ifdef X86_64_CEL_REDSTONE_XP_CONFIG_INCLUDE_UCLI - { __x86_64_cel_redstone_xp_config_STRINGIFY_NAME(X86_64_CEL_REDSTONE_XP_CONFIG_INCLUDE_UCLI), __x86_64_cel_redstone_xp_config_STRINGIFY_VALUE(X86_64_CEL_REDSTONE_XP_CONFIG_INCLUDE_UCLI) }, -#else -{ X86_64_CEL_REDSTONE_XP_CONFIG_INCLUDE_UCLI(__x86_64_cel_redstone_xp_config_STRINGIFY_NAME), "__undefined__" }, -#endif - { NULL, NULL } -}; -#undef __x86_64_cel_redstone_xp_config_STRINGIFY_VALUE -#undef __x86_64_cel_redstone_xp_config_STRINGIFY_NAME - -const char* -x86_64_cel_redstone_xp_config_lookup(const char* setting) -{ - int i; - for(i = 0; x86_64_cel_redstone_xp_config_settings[i].name; i++) { - if(strcmp(x86_64_cel_redstone_xp_config_settings[i].name, setting)) { - return x86_64_cel_redstone_xp_config_settings[i].value; - } - } - return NULL; -} - -int -x86_64_cel_redstone_xp_config_show(struct aim_pvs_s* pvs) -{ - int i; - for(i = 0; x86_64_cel_redstone_xp_config_settings[i].name; i++) { - aim_printf(pvs, "%s = %s\n", x86_64_cel_redstone_xp_config_settings[i].name, x86_64_cel_redstone_xp_config_settings[i].value); - } - return i; -} - -/* */ - diff --git a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/x86_64_cel_redstone_xp_enums.c b/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/x86_64_cel_redstone_xp_enums.c deleted file mode 100644 index 9562b328..00000000 --- a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/x86_64_cel_redstone_xp_enums.c +++ /dev/null @@ -1,10 +0,0 @@ -/**************************************************************************//** - * - * - * - *****************************************************************************/ -#include - -/* <--auto.start.enum(ALL).source> */ -/* */ - diff --git a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/x86_64_cel_redstone_xp_int.h b/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/x86_64_cel_redstone_xp_int.h deleted file mode 100644 index 42f8cb73..00000000 --- a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/x86_64_cel_redstone_xp_int.h +++ /dev/null @@ -1,12 +0,0 @@ -/**************************************************************************//** - * - * x86_64_cel_redstone_xp Internal Header - * - *****************************************************************************/ -#ifndef __X86_64_CEL_REDSTONE_XP_INT_H__ -#define __X86_64_CEL_REDSTONE_XP_INT_H__ - -#include - - -#endif /* __X86_64_CEL_REDSTONE_XP_INT_H__ */ diff --git a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/x86_64_cel_redstone_xp_log.c b/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/x86_64_cel_redstone_xp_log.c deleted file mode 100644 index 363c1170..00000000 --- a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/x86_64_cel_redstone_xp_log.c +++ /dev/null @@ -1,18 +0,0 @@ -/**************************************************************************//** - * - * - * - *****************************************************************************/ -#include - -#include "x86_64_cel_redstone_xp_log.h" -/* - * x86_64_cel_redstone_xp log struct. - */ -AIM_LOG_STRUCT_DEFINE( - X86_64_CEL_REDSTONE_XP_CONFIG_LOG_OPTIONS_DEFAULT, - X86_64_CEL_REDSTONE_XP_CONFIG_LOG_BITS_DEFAULT, - NULL, /* Custom log map */ - X86_64_CEL_REDSTONE_XP_CONFIG_LOG_CUSTOM_BITS_DEFAULT - ); - diff --git a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/x86_64_cel_redstone_xp_log.h b/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/x86_64_cel_redstone_xp_log.h deleted file mode 100644 index 03a5649b..00000000 --- a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/x86_64_cel_redstone_xp_log.h +++ /dev/null @@ -1,12 +0,0 @@ -/**************************************************************************//** - * - * - * - *****************************************************************************/ -#ifndef __X86_64_CEL_REDSTONE_XP_LOG_H__ -#define __X86_64_CEL_REDSTONE_XP_LOG_H__ - -#define AIM_LOG_MODULE_NAME x86_64_cel_redstone_xp -#include - -#endif /* __X86_64_CEL_REDSTONE_XP_LOG_H__ */ diff --git a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/x86_64_cel_redstone_xp_module.c b/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/x86_64_cel_redstone_xp_module.c deleted file mode 100644 index 6c337ad5..00000000 --- a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/x86_64_cel_redstone_xp_module.c +++ /dev/null @@ -1,24 +0,0 @@ -/**************************************************************************//** - * - * - * - *****************************************************************************/ -#include - -#include "x86_64_cel_redstone_xp_log.h" - -static int -datatypes_init__(void) -{ -#define X86_64_CEL_REDSTONE_XP_ENUMERATION_ENTRY(_enum_name, _desc) AIM_DATATYPE_MAP_REGISTER(_enum_name, _enum_name##_map, _desc, AIM_LOG_INTERNAL); -#include - return 0; -} - -void __x86_64_cel_redstone_xp_module_init__(void) -{ - AIM_LOG_STRUCT_REGISTER(); - datatypes_init__(); -} - -int __onlp_platform_version__ = 1; diff --git a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/x86_64_cel_redstone_xp_ucli.c b/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/x86_64_cel_redstone_xp_ucli.c deleted file mode 100644 index 97a4473c..00000000 --- a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/onlp/builds/src/x86_64_cel_redstone_xp/module/src/x86_64_cel_redstone_xp_ucli.c +++ /dev/null @@ -1,50 +0,0 @@ -/**************************************************************************//** - * - * - * - *****************************************************************************/ -#include - -#if X86_64_CEL_REDSTONE_XP_CONFIG_INCLUDE_UCLI == 1 - -#include -#include -#include - -static ucli_status_t -x86_64_cel_redstone_xp_ucli_ucli__config__(ucli_context_t* uc) -{ - UCLI_HANDLER_MACRO_MODULE_CONFIG(x86_64_cel_redstone_xp) -} - -/* */ -/* */ - -static ucli_module_t -x86_64_cel_redstone_xp_ucli_module__ = - { - "x86_64_cel_redstone_xp_ucli", - NULL, - x86_64_cel_redstone_xp_ucli_ucli_handlers__, - NULL, - NULL, - }; - -ucli_node_t* -x86_64_cel_redstone_xp_ucli_node_create(void) -{ - ucli_node_t* n; - ucli_module_init(&x86_64_cel_redstone_xp_ucli_module__); - n = ucli_node_create("x86_64_cel_redstone_xp", NULL, &x86_64_cel_redstone_xp_ucli_module__); - ucli_node_subnode_add(n, ucli_module_log_node_create("x86_64_cel_redstone_xp")); - return n; -} - -#else -void* -x86_64_cel_redstone_xp_ucli_node_create(void) -{ - return NULL; -} -#endif - diff --git a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/platform-config/r0/src/python/x86_64_cel_redstone_xp_r0/__init__.py b/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/platform-config/r0/src/python/x86_64_cel_redstone_xp_r0/__init__.py index f3d6c214..0a683e2f 100644 --- a/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/platform-config/r0/src/python/x86_64_cel_redstone_xp_r0/__init__.py +++ b/packages/platforms/celestica/x86-64/x86-64-cel-redstone-xp/platform-config/r0/src/python/x86_64_cel_redstone_xp_r0/__init__.py @@ -6,4 +6,3 @@ class OnlPlatform_x86_64_cel_redstone_xp_r0(OnlPlatformCelestica, PLATFORM='x86-64-cel-redstone-xp-r0' MODEL="Redstone XP" SYS_OBJECT_ID=".2060.1" -