1*1a4b7ee2SBrad BishopSupport build with Clang 2*1a4b7ee2SBrad Bishop 3*1a4b7ee2SBrad BishopUpstream-Status: Pending 4*1a4b7ee2SBrad BishopSigned-off-by: Khem Raj <raj.khem@gmail.com> 5eb8dc403SDave CobbleyIndex: openhpi-3.6.1/plugins/dynamic_simulator/new_sim.cpp 6eb8dc403SDave Cobbley=================================================================== 7eb8dc403SDave Cobbley--- openhpi-3.6.1.orig/plugins/dynamic_simulator/new_sim.cpp 8eb8dc403SDave Cobbley+++ openhpi-3.6.1/plugins/dynamic_simulator/new_sim.cpp 9eb8dc403SDave Cobbley@@ -415,7 +415,7 @@ extern "C" { 10eb8dc403SDave Cobbley /** 11eb8dc403SDave Cobbley * Alias for @ref öh_open(), implemented by @ref NewSimulatorOpen(). 12eb8dc403SDave Cobbley **/ 13eb8dc403SDave Cobbley-static void * NewSimulatorOpen( GHashTable *, unsigned int, oh_evt_queue * ) __attribute__((used)); 14eb8dc403SDave Cobbley+static void * NewSimulatorOpen( GHashTable *, unsigned int, oh_evt_queue * ) __asm__("NewSimulatorOpen") __attribute__((used)); 15eb8dc403SDave Cobbley 16eb8dc403SDave Cobbley /** 17eb8dc403SDave Cobbley * @fn NewSimulatorOpen( GHashTable *handler_config, unsigned int hid, 18eb8dc403SDave Cobbley@@ -530,7 +530,7 @@ static void * NewSimulatorOpen( GHashTab 19eb8dc403SDave Cobbley /** 20eb8dc403SDave Cobbley * Alias for @ref öh_close(), implemented by @ref NewSimulatorClose(). 21eb8dc403SDave Cobbley **/ 22eb8dc403SDave Cobbley-static void NewSimulatorClose( void * ) __attribute__((used)); 23eb8dc403SDave Cobbley+static void NewSimulatorClose( void * ) __asm__("NewSimulatorClose") __attribute__((used)); 24eb8dc403SDave Cobbley 25eb8dc403SDave Cobbley /** 26eb8dc403SDave Cobbley * @relate NewSimulatorClose 27eb8dc403SDave Cobbley@@ -585,7 +585,7 @@ static void NewSimulatorClose( void *hnd 28eb8dc403SDave Cobbley * 29eb8dc403SDave Cobbley * @return HPI error code 30eb8dc403SDave Cobbley **/ 31eb8dc403SDave Cobbley-static SaErrorT NewSimulatorGetEvent( void * ) __attribute__((used)); 32eb8dc403SDave Cobbley+static SaErrorT NewSimulatorGetEvent( void * ) __asm__("NewSimulatorGetEvent") __attribute__((used)); 33eb8dc403SDave Cobbley 34eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetEvent( void *hnd ) { 35eb8dc403SDave Cobbley dbg( "NewSimulatorGetEvent" ); 36eb8dc403SDave Cobbley@@ -613,7 +613,7 @@ static SaErrorT NewSimulatorGetEvent( vo 37eb8dc403SDave Cobbley * 38eb8dc403SDave Cobbley * @return HPI error code 39eb8dc403SDave Cobbley **/ 40eb8dc403SDave Cobbley-static SaErrorT NewSimulatorDiscoverResources( void * ) __attribute__((used)); 41eb8dc403SDave Cobbley+static SaErrorT NewSimulatorDiscoverResources( void * ) __asm__("NewSimulatorDiscoverResources") __attribute__((used)); 42eb8dc403SDave Cobbley 43eb8dc403SDave Cobbley static SaErrorT NewSimulatorDiscoverResources( void *hnd ) { 44eb8dc403SDave Cobbley dbg( "NewSimulatorDiscoverResources" ); 45eb8dc403SDave Cobbley@@ -641,7 +641,7 @@ static SaErrorT NewSimulatorDiscoverReso 46eb8dc403SDave Cobbley * 47eb8dc403SDave Cobbley * @return HPI error code 48eb8dc403SDave Cobbley **/ 49eb8dc403SDave Cobbley-static SaErrorT NewSimulatorSetResourceTag( void *, SaHpiResourceIdT, SaHpiTextBufferT * ) __attribute__((used)); 50eb8dc403SDave Cobbley+static SaErrorT NewSimulatorSetResourceTag( void *, SaHpiResourceIdT, SaHpiTextBufferT * ) __asm__("NewSimulatorSetResourceTag") __attribute__((used)); 51eb8dc403SDave Cobbley 52eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetResourceTag( void *hnd, SaHpiResourceIdT id, 53eb8dc403SDave Cobbley SaHpiTextBufferT *tag ) { 54eb8dc403SDave Cobbley@@ -669,7 +669,7 @@ static SaErrorT NewSimulatorSetResourceT 55eb8dc403SDave Cobbley * 56eb8dc403SDave Cobbley * @return HPI error code 57eb8dc403SDave Cobbley **/ 58eb8dc403SDave Cobbley-static SaErrorT NewSimulatorSetResourceSeverity( void *, SaHpiResourceIdT, SaHpiSeverityT ) __attribute__((used)); 59eb8dc403SDave Cobbley+static SaErrorT NewSimulatorSetResourceSeverity( void *, SaHpiResourceIdT, SaHpiSeverityT ) __asm__("NewSimulatorSetResourceSeverity") __attribute__((used)); 60eb8dc403SDave Cobbley 61eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetResourceSeverity( void *hnd, SaHpiResourceIdT id, 62eb8dc403SDave Cobbley SaHpiSeverityT sev ) { 63eb8dc403SDave Cobbley@@ -703,7 +703,7 @@ static SaErrorT NewSimulatorGetSensorRea 64eb8dc403SDave Cobbley SaHpiResourceIdT id, 65eb8dc403SDave Cobbley SaHpiSensorNumT num, 66eb8dc403SDave Cobbley SaHpiSensorReadingT *data, 67eb8dc403SDave Cobbley- SaHpiEventStateT *state ) __attribute__((used)); 68eb8dc403SDave Cobbley+ SaHpiEventStateT *state ) __asm__("NewSimulatorGetSensorReading") __attribute__((used)); 69eb8dc403SDave Cobbley 70eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetSensorReading( void *hnd, 71eb8dc403SDave Cobbley SaHpiResourceIdT id, 72eb8dc403SDave Cobbley@@ -738,7 +738,7 @@ static SaErrorT NewSimulatorGetSensorRea 73eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetSensorThresholds( void *hnd, 74eb8dc403SDave Cobbley SaHpiResourceIdT, 75eb8dc403SDave Cobbley SaHpiSensorNumT, 76eb8dc403SDave Cobbley- SaHpiSensorThresholdsT * ) __attribute__((used)); 77eb8dc403SDave Cobbley+ SaHpiSensorThresholdsT * ) __asm__("NewSimulatorGetSensorThresholds") __attribute__((used)); 78eb8dc403SDave Cobbley 79eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetSensorThresholds( void *hnd, 80eb8dc403SDave Cobbley SaHpiResourceIdT id, 81eb8dc403SDave Cobbley@@ -777,7 +777,7 @@ static SaErrorT NewSimulatorGetSensorThr 82eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetSensorThresholds( void *, 83eb8dc403SDave Cobbley SaHpiResourceIdT, 84eb8dc403SDave Cobbley SaHpiSensorNumT, 85eb8dc403SDave Cobbley- const SaHpiSensorThresholdsT * ) __attribute__((used)); 86eb8dc403SDave Cobbley+ const SaHpiSensorThresholdsT * ) __asm__("NewSimulatorSetSensorThresholds") __attribute__((used)); 87eb8dc403SDave Cobbley 88eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetSensorThresholds( void *hnd, 89eb8dc403SDave Cobbley SaHpiResourceIdT id, 90eb8dc403SDave Cobbley@@ -815,7 +815,7 @@ static SaErrorT NewSimulatorSetSensorThr 91eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetSensorEnable( void *, 92eb8dc403SDave Cobbley SaHpiResourceIdT, 93eb8dc403SDave Cobbley SaHpiSensorNumT, 94eb8dc403SDave Cobbley- SaHpiBoolT * ) __attribute__((used)); 95eb8dc403SDave Cobbley+ SaHpiBoolT * ) __asm__("NewSimulatorGetSensorEnable") __attribute__((used)); 96eb8dc403SDave Cobbley 97eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetSensorEnable( void *hnd, 98eb8dc403SDave Cobbley SaHpiResourceIdT id, 99eb8dc403SDave Cobbley@@ -849,7 +849,7 @@ static SaErrorT NewSimulatorGetSensorEna 100eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetSensorEnable( void *, 101eb8dc403SDave Cobbley SaHpiResourceIdT, 102eb8dc403SDave Cobbley SaHpiSensorNumT, 103eb8dc403SDave Cobbley- SaHpiBoolT ) __attribute__((used)); 104eb8dc403SDave Cobbley+ SaHpiBoolT ) __asm__("NewSimulatorSetSensorEnable") __attribute__((used)); 105eb8dc403SDave Cobbley 106eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetSensorEnable( void *hnd, 107eb8dc403SDave Cobbley SaHpiResourceIdT id, 108eb8dc403SDave Cobbley@@ -883,7 +883,7 @@ static SaErrorT NewSimulatorSetSensorEna 109eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetSensorEventEnables( void *, 110eb8dc403SDave Cobbley SaHpiResourceIdT, 111eb8dc403SDave Cobbley SaHpiSensorNumT, 112eb8dc403SDave Cobbley- SaHpiBoolT * ) __attribute__((used)); 113eb8dc403SDave Cobbley+ SaHpiBoolT * ) __asm__("NewSimulatorGetSensorEventEnables") __attribute__((used)); 114eb8dc403SDave Cobbley 115eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetSensorEventEnables( void *hnd, 116eb8dc403SDave Cobbley SaHpiResourceIdT id, 117eb8dc403SDave Cobbley@@ -916,7 +916,7 @@ static SaErrorT NewSimulatorGetSensorEve 118eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetSensorEventEnables( void *, 119eb8dc403SDave Cobbley SaHpiResourceIdT, 120eb8dc403SDave Cobbley SaHpiSensorNumT, 121eb8dc403SDave Cobbley- SaHpiBoolT ) __attribute__((used)); 122eb8dc403SDave Cobbley+ SaHpiBoolT ) __asm__("NewSimulatorSetSensorEventEnables") __attribute__((used)); 123eb8dc403SDave Cobbley 124eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetSensorEventEnables( void *hnd, 125eb8dc403SDave Cobbley SaHpiResourceIdT id, 126eb8dc403SDave Cobbley@@ -952,7 +952,7 @@ static SaErrorT NewSimulatorGetSensorEve 127eb8dc403SDave Cobbley SaHpiResourceIdT, 128eb8dc403SDave Cobbley SaHpiSensorNumT, 129eb8dc403SDave Cobbley SaHpiEventStateT *, 130eb8dc403SDave Cobbley- SaHpiEventStateT * ) __attribute__((used)); 131eb8dc403SDave Cobbley+ SaHpiEventStateT * ) __asm__("NewSimulatorGetSensorEventMasks") __attribute__((used)); 132eb8dc403SDave Cobbley 133eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetSensorEventMasks( void *hnd, 134eb8dc403SDave Cobbley SaHpiResourceIdT id, 135eb8dc403SDave Cobbley@@ -990,7 +990,7 @@ static SaErrorT NewSimulatorSetSensorEve 136eb8dc403SDave Cobbley SaHpiSensorNumT, 137eb8dc403SDave Cobbley SaHpiSensorEventMaskActionT, 138eb8dc403SDave Cobbley SaHpiEventStateT, 139eb8dc403SDave Cobbley- SaHpiEventStateT ) __attribute__((used)); 140eb8dc403SDave Cobbley+ SaHpiEventStateT ) __asm__("NewSimulatorSetSensorEventMasks") __attribute__((used)); 141eb8dc403SDave Cobbley 142eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetSensorEventMasks( void *hnd, 143eb8dc403SDave Cobbley SaHpiResourceIdT id, 144eb8dc403SDave Cobbley@@ -1026,7 +1026,7 @@ static SaErrorT NewSimulatorSetSensorEve 145eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetControlState( void *, SaHpiResourceIdT, 146eb8dc403SDave Cobbley SaHpiCtrlNumT, 147eb8dc403SDave Cobbley SaHpiCtrlModeT *, 148eb8dc403SDave Cobbley- SaHpiCtrlStateT * ) __attribute__((used)); 149eb8dc403SDave Cobbley+ SaHpiCtrlStateT * ) __asm__("NewSimulatorGetControlState") __attribute__((used)); 150eb8dc403SDave Cobbley 151eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetControlState( void *hnd, SaHpiResourceIdT id, 152eb8dc403SDave Cobbley SaHpiCtrlNumT num, 153eb8dc403SDave Cobbley@@ -1061,7 +1061,7 @@ static SaErrorT NewSimulatorGetControlSt 154eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetControlState( void *, SaHpiResourceIdT, 155eb8dc403SDave Cobbley SaHpiCtrlNumT, 156eb8dc403SDave Cobbley SaHpiCtrlModeT, 157eb8dc403SDave Cobbley- SaHpiCtrlStateT * ) __attribute__((used)); 158eb8dc403SDave Cobbley+ SaHpiCtrlStateT * ) __asm__("NewSimulatorSetControlState") __attribute__((used)); 159eb8dc403SDave Cobbley 160eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetControlState( void *hnd, SaHpiResourceIdT id, 161eb8dc403SDave Cobbley SaHpiCtrlNumT num, 162eb8dc403SDave Cobbley@@ -1099,7 +1099,7 @@ static SaErrorT NewSimulatorGetNextAnnou 163eb8dc403SDave Cobbley SaHpiAnnunciatorNumT, 164eb8dc403SDave Cobbley SaHpiSeverityT, 165eb8dc403SDave Cobbley SaHpiBoolT, 166eb8dc403SDave Cobbley- SaHpiAnnouncementT *) __attribute__((used)); 167eb8dc403SDave Cobbley+ SaHpiAnnouncementT *) __asm__("NewSimulatorGetNextAnnouncement") __attribute__((used)); 168eb8dc403SDave Cobbley 169eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetNextAnnouncement(void *hnd, SaHpiResourceIdT id, 170eb8dc403SDave Cobbley SaHpiAnnunciatorNumT num, 171eb8dc403SDave Cobbley@@ -1135,7 +1135,7 @@ static SaErrorT NewSimulatorGetNextAnnou 172eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetAnnouncement(void *, SaHpiResourceIdT, 173eb8dc403SDave Cobbley SaHpiAnnunciatorNumT, 174eb8dc403SDave Cobbley SaHpiEntryIdT, 175eb8dc403SDave Cobbley- SaHpiAnnouncementT *) __attribute__((used)); 176eb8dc403SDave Cobbley+ SaHpiAnnouncementT *) __asm__("NewSimulatorGetAnnouncement") __attribute__((used)); 177eb8dc403SDave Cobbley 178eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetAnnouncement(void *hnd, SaHpiResourceIdT id, 179eb8dc403SDave Cobbley SaHpiAnnunciatorNumT num, 180eb8dc403SDave Cobbley@@ -1171,7 +1171,7 @@ static SaErrorT NewSimulatorGetAnnouncem 181eb8dc403SDave Cobbley static SaErrorT NewSimulatorAckAnnouncement(void *, SaHpiResourceIdT, 182eb8dc403SDave Cobbley SaHpiAnnunciatorNumT, 183eb8dc403SDave Cobbley SaHpiEntryIdT, 184eb8dc403SDave Cobbley- SaHpiSeverityT) __attribute__((used)); 185eb8dc403SDave Cobbley+ SaHpiSeverityT) __asm__("NewSimulatorAckAnnouncement") __attribute__((used)); 186eb8dc403SDave Cobbley 187eb8dc403SDave Cobbley static SaErrorT NewSimulatorAckAnnouncement(void *hnd, SaHpiResourceIdT id, 188eb8dc403SDave Cobbley SaHpiAnnunciatorNumT num, 189eb8dc403SDave Cobbley@@ -1205,7 +1205,7 @@ static SaErrorT NewSimulatorAckAnnouncem 190eb8dc403SDave Cobbley **/ 191eb8dc403SDave Cobbley static SaErrorT NewSimulatorAddAnnouncement(void *, SaHpiResourceIdT, 192eb8dc403SDave Cobbley SaHpiAnnunciatorNumT, 193eb8dc403SDave Cobbley- SaHpiAnnouncementT *) __attribute__((used)); 194eb8dc403SDave Cobbley+ SaHpiAnnouncementT *) __asm__("NewSimulatorAddAnnouncement") __attribute__((used)); 195eb8dc403SDave Cobbley 196eb8dc403SDave Cobbley static SaErrorT NewSimulatorAddAnnouncement(void *hnd, SaHpiResourceIdT id, 197eb8dc403SDave Cobbley SaHpiAnnunciatorNumT num, 198eb8dc403SDave Cobbley@@ -1239,7 +1239,7 @@ static SaErrorT NewSimulatorAddAnnouncem 199eb8dc403SDave Cobbley static SaErrorT NewSimulatorDelAnnouncement(void *, SaHpiResourceIdT, 200eb8dc403SDave Cobbley SaHpiAnnunciatorNumT, 201eb8dc403SDave Cobbley SaHpiEntryIdT, 202eb8dc403SDave Cobbley- SaHpiSeverityT) __attribute__((used)); 203eb8dc403SDave Cobbley+ SaHpiSeverityT) __asm__("NewSimulatorDelAnnouncement") __attribute__((used)); 204eb8dc403SDave Cobbley 205eb8dc403SDave Cobbley static SaErrorT NewSimulatorDelAnnouncement(void *hnd, SaHpiResourceIdT id, 206eb8dc403SDave Cobbley SaHpiAnnunciatorNumT num, 207eb8dc403SDave Cobbley@@ -1273,7 +1273,7 @@ static SaErrorT NewSimulatorDelAnnouncem 208eb8dc403SDave Cobbley **/ 209eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetAnnMode(void *, SaHpiResourceIdT, 210eb8dc403SDave Cobbley SaHpiAnnunciatorNumT, 211eb8dc403SDave Cobbley- SaHpiAnnunciatorModeT *) __attribute__((used)); 212eb8dc403SDave Cobbley+ SaHpiAnnunciatorModeT *) __asm__("NewSimulatorGetAnnMode") __attribute__((used)); 213eb8dc403SDave Cobbley 214eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetAnnMode(void *hnd, SaHpiResourceIdT id, 215eb8dc403SDave Cobbley SaHpiAnnunciatorNumT num, 216eb8dc403SDave Cobbley@@ -1306,7 +1306,7 @@ static SaErrorT NewSimulatorGetAnnMode(v 217eb8dc403SDave Cobbley **/ 218eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetAnnMode(void *, SaHpiResourceIdT, 219eb8dc403SDave Cobbley SaHpiAnnunciatorNumT, 220eb8dc403SDave Cobbley- SaHpiAnnunciatorModeT) __attribute__((used)); 221eb8dc403SDave Cobbley+ SaHpiAnnunciatorModeT) __asm__("NewSimulatorSetAnnMode") __attribute__((used)); 222eb8dc403SDave Cobbley 223eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetAnnMode(void *hnd, SaHpiResourceIdT id, 224eb8dc403SDave Cobbley SaHpiAnnunciatorNumT num, 225eb8dc403SDave Cobbley@@ -1340,7 +1340,7 @@ static SaErrorT NewSimulatorSetAnnMode(v 226eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetIdrInfo( void *, 227eb8dc403SDave Cobbley SaHpiResourceIdT, 228eb8dc403SDave Cobbley SaHpiIdrIdT, 229eb8dc403SDave Cobbley- SaHpiIdrInfoT * ) __attribute__((used)); 230eb8dc403SDave Cobbley+ SaHpiIdrInfoT * ) __asm__("NewSimulatorGetIdrInfo") __attribute__((used)); 231eb8dc403SDave Cobbley 232eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetIdrInfo( void *hnd, 233eb8dc403SDave Cobbley SaHpiResourceIdT id, 234eb8dc403SDave Cobbley@@ -1380,7 +1380,7 @@ static SaErrorT NewSimulatorGetIdrAreaHe 235eb8dc403SDave Cobbley SaHpiIdrAreaTypeT, 236eb8dc403SDave Cobbley SaHpiEntryIdT, 237eb8dc403SDave Cobbley SaHpiEntryIdT *, 238eb8dc403SDave Cobbley- SaHpiIdrAreaHeaderT * ) __attribute__((used)); 239eb8dc403SDave Cobbley+ SaHpiIdrAreaHeaderT * ) __asm__("NewSimulatorGetIdrAreaHeader") __attribute__((used)); 240eb8dc403SDave Cobbley 241eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetIdrAreaHeader( void *hnd, 242eb8dc403SDave Cobbley SaHpiResourceIdT id, 243eb8dc403SDave Cobbley@@ -1419,7 +1419,7 @@ static SaErrorT NewSimulatorAddIdrArea( 244eb8dc403SDave Cobbley SaHpiResourceIdT, 245eb8dc403SDave Cobbley SaHpiIdrIdT, 246eb8dc403SDave Cobbley SaHpiIdrAreaTypeT, 247eb8dc403SDave Cobbley- SaHpiEntryIdT * ) __attribute__((used)); 248eb8dc403SDave Cobbley+ SaHpiEntryIdT * ) __asm__("NewSimulatorAddIdrArea") __attribute__((used)); 249eb8dc403SDave Cobbley 250eb8dc403SDave Cobbley static SaErrorT NewSimulatorAddIdrArea( void *hnd, 251eb8dc403SDave Cobbley SaHpiResourceIdT id, 252eb8dc403SDave Cobbley@@ -1456,7 +1456,7 @@ static SaErrorT NewSimulatorAddIdrAreaBy 253eb8dc403SDave Cobbley SaHpiResourceIdT, 254eb8dc403SDave Cobbley SaHpiIdrIdT, 255eb8dc403SDave Cobbley SaHpiIdrAreaTypeT, 256eb8dc403SDave Cobbley- SaHpiEntryIdT ) __attribute__((used)); 257eb8dc403SDave Cobbley+ SaHpiEntryIdT ) __asm__("NewSimulatorAddIdrAreaById") __attribute__((used)); 258eb8dc403SDave Cobbley 259eb8dc403SDave Cobbley static SaErrorT NewSimulatorAddIdrAreaById( void *hnd, 260eb8dc403SDave Cobbley SaHpiResourceIdT id, 261eb8dc403SDave Cobbley@@ -1490,7 +1490,7 @@ static SaErrorT NewSimulatorAddIdrAreaBy 262eb8dc403SDave Cobbley static SaErrorT NewSimulatorDelIdrArea( void *, 263eb8dc403SDave Cobbley SaHpiResourceIdT, 264eb8dc403SDave Cobbley SaHpiIdrIdT, 265eb8dc403SDave Cobbley- SaHpiEntryIdT ) __attribute__((used)); 266eb8dc403SDave Cobbley+ SaHpiEntryIdT ) __asm__("NewSimulatorDelIdrArea") __attribute__((used)); 267eb8dc403SDave Cobbley 268eb8dc403SDave Cobbley static SaErrorT NewSimulatorDelIdrArea( void *hnd, 269eb8dc403SDave Cobbley SaHpiResourceIdT id, 270eb8dc403SDave Cobbley@@ -1532,7 +1532,7 @@ static SaErrorT NewSimulatorGetIdrField( 271eb8dc403SDave Cobbley SaHpiIdrFieldTypeT, 272eb8dc403SDave Cobbley SaHpiEntryIdT, 273eb8dc403SDave Cobbley SaHpiEntryIdT *, 274eb8dc403SDave Cobbley- SaHpiIdrFieldT * ) __attribute__((used)); 275eb8dc403SDave Cobbley+ SaHpiIdrFieldT * ) __asm__("NewSimulatorGetIdrField") __attribute__((used)); 276eb8dc403SDave Cobbley 277eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetIdrField( void *hnd, 278eb8dc403SDave Cobbley SaHpiResourceIdT id, 279eb8dc403SDave Cobbley@@ -1570,7 +1570,7 @@ static SaErrorT NewSimulatorGetIdrField( 280eb8dc403SDave Cobbley static SaErrorT NewSimulatorAddIdrField( void *, 281eb8dc403SDave Cobbley SaHpiResourceIdT, 282eb8dc403SDave Cobbley SaHpiIdrIdT, 283eb8dc403SDave Cobbley- SaHpiIdrFieldT * ) __attribute__((used)); 284eb8dc403SDave Cobbley+ SaHpiIdrFieldT * ) __asm__("NewSimulatorAddIdrField") __attribute__((used)); 285eb8dc403SDave Cobbley 286eb8dc403SDave Cobbley static SaErrorT NewSimulatorAddIdrField( void *hnd, 287eb8dc403SDave Cobbley SaHpiResourceIdT id, 288eb8dc403SDave Cobbley@@ -1604,7 +1604,7 @@ static SaErrorT NewSimulatorAddIdrField( 289eb8dc403SDave Cobbley static SaErrorT NewSimulatorAddIdrFieldById( void *, 290eb8dc403SDave Cobbley SaHpiResourceIdT, 291eb8dc403SDave Cobbley SaHpiIdrIdT, 292eb8dc403SDave Cobbley- SaHpiIdrFieldT * ) __attribute__((used)); 293eb8dc403SDave Cobbley+ SaHpiIdrFieldT * ) __asm__("NewSimulatorAddIdrFieldById") __attribute__((used)); 294eb8dc403SDave Cobbley 295eb8dc403SDave Cobbley static SaErrorT NewSimulatorAddIdrFieldById( void *hnd, 296eb8dc403SDave Cobbley SaHpiResourceIdT id, 297eb8dc403SDave Cobbley@@ -1637,7 +1637,7 @@ static SaErrorT NewSimulatorAddIdrFieldB 298eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetIdrField( void *, 299eb8dc403SDave Cobbley SaHpiResourceIdT, 300eb8dc403SDave Cobbley SaHpiIdrIdT, 301eb8dc403SDave Cobbley- SaHpiIdrFieldT * ) __attribute__((used)); 302eb8dc403SDave Cobbley+ SaHpiIdrFieldT * ) __asm__("NewSimulatorSetIdrField") __attribute__((used)); 303eb8dc403SDave Cobbley 304eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetIdrField( void *hnd, 305eb8dc403SDave Cobbley SaHpiResourceIdT id, 306eb8dc403SDave Cobbley@@ -1672,7 +1672,7 @@ static SaErrorT NewSimulatorDelIdrField( 307eb8dc403SDave Cobbley SaHpiResourceIdT, 308eb8dc403SDave Cobbley SaHpiIdrIdT, 309eb8dc403SDave Cobbley SaHpiEntryIdT, 310eb8dc403SDave Cobbley- SaHpiEntryIdT ) __attribute__((used)); 311eb8dc403SDave Cobbley+ SaHpiEntryIdT ) __asm__("NewSimulatorDelIdrField") __attribute__((used)); 312eb8dc403SDave Cobbley 313eb8dc403SDave Cobbley static SaErrorT NewSimulatorDelIdrField( void *hnd, 314eb8dc403SDave Cobbley SaHpiResourceIdT id, 315eb8dc403SDave Cobbley@@ -1704,7 +1704,7 @@ static SaErrorT NewSimulatorDelIdrField( 316eb8dc403SDave Cobbley **/ 317eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetSelInfo( void *, 318eb8dc403SDave Cobbley SaHpiResourceIdT, 319eb8dc403SDave Cobbley- SaHpiEventLogInfoT * ) __attribute__((used)); 320eb8dc403SDave Cobbley+ SaHpiEventLogInfoT * ) __asm__("NewSimulatorGetSelInfo") __attribute__((used)); 321eb8dc403SDave Cobbley 322eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetSelInfo( void *hnd, 323eb8dc403SDave Cobbley SaHpiResourceIdT id, 324eb8dc403SDave Cobbley@@ -1736,7 +1736,7 @@ static SaErrorT NewSimulatorGetSelInfo( 325eb8dc403SDave Cobbley * 326eb8dc403SDave Cobbley * @return HPI error code 327eb8dc403SDave Cobbley **/ 328eb8dc403SDave Cobbley-static SaErrorT NewSimulatorSetSelTime( void *, SaHpiResourceIdT, SaHpiTimeT ) __attribute__((used)); 329eb8dc403SDave Cobbley+static SaErrorT NewSimulatorSetSelTime( void *, SaHpiResourceIdT, SaHpiTimeT ) __asm__("NewSimulatorSetSelTime") __attribute__((used)); 330eb8dc403SDave Cobbley 331eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetSelTime( void *hnd, SaHpiResourceIdT id, SaHpiTimeT t ) { 332eb8dc403SDave Cobbley SaErrorT rv = SA_ERR_HPI_INTERNAL_ERROR; 333eb8dc403SDave Cobbley@@ -1766,7 +1766,7 @@ static SaErrorT NewSimulatorSetSelTime( 334eb8dc403SDave Cobbley * 335eb8dc403SDave Cobbley * @return HPI error code 336eb8dc403SDave Cobbley **/ 337eb8dc403SDave Cobbley-static SaErrorT NewSimulatorAddSelEntry( void *, SaHpiResourceIdT, const SaHpiEventT * ) __attribute__((used)); 338eb8dc403SDave Cobbley+static SaErrorT NewSimulatorAddSelEntry( void *, SaHpiResourceIdT, const SaHpiEventT * ) __asm__("NewSimulatorAddSelEntry") __attribute__((used)); 339eb8dc403SDave Cobbley 340eb8dc403SDave Cobbley static SaErrorT NewSimulatorAddSelEntry( void *hnd, SaHpiResourceIdT id, 341eb8dc403SDave Cobbley const SaHpiEventT *Event ) { 342eb8dc403SDave Cobbley@@ -1809,7 +1809,7 @@ static SaErrorT NewSimulatorGetSelEntry( 343eb8dc403SDave Cobbley SaHpiEventLogEntryIdT *, 344eb8dc403SDave Cobbley SaHpiEventLogEntryT *, 345eb8dc403SDave Cobbley SaHpiRdrT *, 346eb8dc403SDave Cobbley- SaHpiRptEntryT * ) __attribute__((used)); 347eb8dc403SDave Cobbley+ SaHpiRptEntryT * ) __asm__("NewSimulatorGetSelEntry") __attribute__((used)); 348eb8dc403SDave Cobbley 349eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetSelEntry( void *hnd, SaHpiResourceIdT id, 350eb8dc403SDave Cobbley SaHpiEventLogEntryIdT current, 351eb8dc403SDave Cobbley@@ -1844,7 +1844,7 @@ static SaErrorT NewSimulatorGetSelEntry( 352eb8dc403SDave Cobbley * 353eb8dc403SDave Cobbley * @return HPI error code 354eb8dc403SDave Cobbley **/ 355eb8dc403SDave Cobbley-static SaErrorT NewSimulatorClearSel( void *, SaHpiResourceIdT ) __attribute__((used)); 356eb8dc403SDave Cobbley+static SaErrorT NewSimulatorClearSel( void *, SaHpiResourceIdT ) __asm__("NewSimulatorClearSel") __attribute__((used)); 357eb8dc403SDave Cobbley 358eb8dc403SDave Cobbley static SaErrorT NewSimulatorClearSel( void *hnd, SaHpiResourceIdT id ) { 359eb8dc403SDave Cobbley SaErrorT rv = SA_ERR_HPI_INTERNAL_ERROR; 360eb8dc403SDave Cobbley@@ -1875,7 +1875,7 @@ static SaErrorT NewSimulatorClearSel( vo 361eb8dc403SDave Cobbley * @return HPI error code 362eb8dc403SDave Cobbley **/ 363eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetSelState(void *, SaHpiResourceIdT, 364eb8dc403SDave Cobbley- SaHpiBoolT) __attribute__((used)); 365eb8dc403SDave Cobbley+ SaHpiBoolT) __asm__("NewSimulatorSetSelState") __attribute__((used)); 366eb8dc403SDave Cobbley 367eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetSelState( void *hnd, SaHpiResourceIdT id, 368eb8dc403SDave Cobbley SaHpiBoolT state ) { 369eb8dc403SDave Cobbley@@ -1907,7 +1907,7 @@ static SaErrorT NewSimulatorSetSelState( 370eb8dc403SDave Cobbley * @return HPI error code 371eb8dc403SDave Cobbley **/ 372eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetSelState(void *, SaHpiResourceIdT, 373eb8dc403SDave Cobbley- SaHpiBoolT *) __attribute__((used)); 374eb8dc403SDave Cobbley+ SaHpiBoolT *) __asm__("NewSimulatorGetSelState") __attribute__((used)); 375eb8dc403SDave Cobbley 376eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetSelState( void *hnd, SaHpiResourceIdT id, 377eb8dc403SDave Cobbley SaHpiBoolT *state ) { 378eb8dc403SDave Cobbley@@ -1939,7 +1939,7 @@ static SaErrorT NewSimulatorGetSelState( 379eb8dc403SDave Cobbley * @return HPI error code 380eb8dc403SDave Cobbley **/ 381eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetSelCapability(void *, SaHpiResourceIdT, 382eb8dc403SDave Cobbley- SaHpiEventLogCapabilitiesT *) __attribute__((used)); 383eb8dc403SDave Cobbley+ SaHpiEventLogCapabilitiesT *) __asm__("NewSimulatorGetSelCapability") __attribute__((used)); 384eb8dc403SDave Cobbley 385eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetSelCapability( void *hnd, SaHpiResourceIdT id, 386eb8dc403SDave Cobbley SaHpiEventLogCapabilitiesT *caps ) { 387eb8dc403SDave Cobbley@@ -1970,7 +1970,7 @@ static SaErrorT NewSimulatorGetSelCapabi 388eb8dc403SDave Cobbley * @return HPI error code 389eb8dc403SDave Cobbley **/ 390eb8dc403SDave Cobbley static SaErrorT NewSimulatorResetSelOverflow(void *, SaHpiResourceIdT) 391eb8dc403SDave Cobbley- __attribute__((used)); 392eb8dc403SDave Cobbley+ __asm__("NewSimulatorResetSelOverflow") __attribute__((used)); 393eb8dc403SDave Cobbley 394eb8dc403SDave Cobbley static SaErrorT NewSimulatorResetSelOverflow( void *hnd, SaHpiResourceIdT id ) { 395eb8dc403SDave Cobbley 396eb8dc403SDave Cobbley@@ -2002,7 +2002,7 @@ static SaErrorT NewSimulatorResetSelOver 397eb8dc403SDave Cobbley * @return HPI error code 398eb8dc403SDave Cobbley **/ 399eb8dc403SDave Cobbley static SaErrorT NewSimulatorHotswapPolicyCancel( void *, SaHpiResourceIdT, 400eb8dc403SDave Cobbley- SaHpiTimeoutT ) __attribute__((used)); 401eb8dc403SDave Cobbley+ SaHpiTimeoutT ) __asm__("NewSimulatorHotswapPolicyCancel") __attribute__((used)); 402eb8dc403SDave Cobbley 403eb8dc403SDave Cobbley static SaErrorT NewSimulatorHotswapPolicyCancel( void *hnd, SaHpiResourceIdT id, 404eb8dc403SDave Cobbley SaHpiTimeoutT timeout) { 405eb8dc403SDave Cobbley@@ -2032,7 +2032,7 @@ static SaErrorT NewSimulatorHotswapPolic 406eb8dc403SDave Cobbley * @return HPI error code 407eb8dc403SDave Cobbley **/ 408eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetHotswapState( void *, SaHpiResourceIdT , 409eb8dc403SDave Cobbley- SaHpiHsStateT * ) __attribute__((used)); 410eb8dc403SDave Cobbley+ SaHpiHsStateT * ) __asm__("NewSimulatorGetHotswapState") __attribute__((used)); 411eb8dc403SDave Cobbley 412eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetHotswapState( void *hnd, SaHpiResourceIdT id, 413eb8dc403SDave Cobbley SaHpiHsStateT *state ) { 414eb8dc403SDave Cobbley@@ -2063,7 +2063,7 @@ static SaErrorT NewSimulatorGetHotswapSt 415eb8dc403SDave Cobbley * @return HPI error code 416eb8dc403SDave Cobbley **/ 417eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetHotswapState( void *, SaHpiResourceIdT, 418eb8dc403SDave Cobbley- SaHpiHsStateT ) __attribute__((used)); 419eb8dc403SDave Cobbley+ SaHpiHsStateT ) __asm__("NewSimulatorSetHotswapState") __attribute__((used)); 420eb8dc403SDave Cobbley 421eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetHotswapState( void *hnd, SaHpiResourceIdT id, 422eb8dc403SDave Cobbley SaHpiHsStateT state ) { 423eb8dc403SDave Cobbley@@ -2105,7 +2105,7 @@ static SaErrorT NewSimulatorSetHotswapSt 424eb8dc403SDave Cobbley * @return HPI error code 425eb8dc403SDave Cobbley **/ 426eb8dc403SDave Cobbley static SaErrorT NewSimulatorRequestHotswapAction( void *, SaHpiResourceIdT, 427eb8dc403SDave Cobbley- SaHpiHsActionT ) __attribute__((used)); 428eb8dc403SDave Cobbley+ SaHpiHsActionT ) __asm__("NewSimulatorRequestHotswapAction") __attribute__((used)); 429eb8dc403SDave Cobbley 430eb8dc403SDave Cobbley static SaErrorT NewSimulatorRequestHotswapAction( void *hnd, SaHpiResourceIdT id, 431eb8dc403SDave Cobbley SaHpiHsActionT act ) { 432eb8dc403SDave Cobbley@@ -2139,7 +2139,7 @@ static SaErrorT NewSimulatorRequestHotsw 433eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetWatchdogInfo(void *, 434eb8dc403SDave Cobbley SaHpiResourceIdT, 435eb8dc403SDave Cobbley SaHpiWatchdogNumT, 436eb8dc403SDave Cobbley- SaHpiWatchdogT *) __attribute__((used)); 437eb8dc403SDave Cobbley+ SaHpiWatchdogT *) __asm__("NewSimulatorGetWatchdogInfo") __attribute__((used)); 438eb8dc403SDave Cobbley 439eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetWatchdogInfo(void *hnd, 440eb8dc403SDave Cobbley SaHpiResourceIdT id, 441eb8dc403SDave Cobbley@@ -2170,7 +2170,7 @@ static SaErrorT NewSimulatorGetWatchdogI 442eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetWatchdogInfo(void *, 443eb8dc403SDave Cobbley SaHpiResourceIdT, 444eb8dc403SDave Cobbley SaHpiWatchdogNumT, 445eb8dc403SDave Cobbley- SaHpiWatchdogT *) __attribute__((used)); 446eb8dc403SDave Cobbley+ SaHpiWatchdogT *) __asm__("NewSimulatorSetWatchdogInfo") __attribute__((used)); 447eb8dc403SDave Cobbley 448eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetWatchdogInfo(void *hnd, 449eb8dc403SDave Cobbley SaHpiResourceIdT id, 450eb8dc403SDave Cobbley@@ -2199,7 +2199,7 @@ static SaErrorT NewSimulatorSetWatchdogI 451eb8dc403SDave Cobbley **/ 452eb8dc403SDave Cobbley static SaErrorT NewSimulatorResetWatchdog(void *, 453eb8dc403SDave Cobbley SaHpiResourceIdT, 454eb8dc403SDave Cobbley- SaHpiWatchdogNumT) __attribute__((used)); 455eb8dc403SDave Cobbley+ SaHpiWatchdogNumT) __asm__("NewSimulatorResetWatchdog") __attribute__((used)); 456eb8dc403SDave Cobbley 457eb8dc403SDave Cobbley static SaErrorT NewSimulatorResetWatchdog(void *hnd, 458eb8dc403SDave Cobbley SaHpiResourceIdT id, 459eb8dc403SDave Cobbley@@ -2229,7 +2229,7 @@ static SaErrorT NewSimulatorResetWatchdo 460eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetFumiSpec(void *, 461eb8dc403SDave Cobbley SaHpiResourceIdT, 462eb8dc403SDave Cobbley SaHpiFumiNumT, 463eb8dc403SDave Cobbley- SaHpiFumiSpecInfoT *) __attribute__((used)); 464eb8dc403SDave Cobbley+ SaHpiFumiSpecInfoT *) __asm__("NewSimulatorGetFumiSpec") __attribute__((used)); 465eb8dc403SDave Cobbley 466eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetFumiSpec(void *hnd, 467eb8dc403SDave Cobbley SaHpiResourceIdT id, 468eb8dc403SDave Cobbley@@ -2260,7 +2260,7 @@ static SaErrorT NewSimulatorGetFumiSpec( 469eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetFumiServImpact(void *, 470eb8dc403SDave Cobbley SaHpiResourceIdT, 471eb8dc403SDave Cobbley SaHpiFumiNumT, 472eb8dc403SDave Cobbley- SaHpiFumiServiceImpactDataT *) __attribute__((used)); 473eb8dc403SDave Cobbley+ SaHpiFumiServiceImpactDataT *) __asm__("NewSimulatorGetFumiServImpact") __attribute__((used)); 474eb8dc403SDave Cobbley 475eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetFumiServImpact(void *hnd, 476eb8dc403SDave Cobbley SaHpiResourceIdT id, 477eb8dc403SDave Cobbley@@ -2294,7 +2294,7 @@ static SaErrorT NewSimulatorSetFumiSourc 478eb8dc403SDave Cobbley SaHpiResourceIdT, 479eb8dc403SDave Cobbley SaHpiFumiNumT, 480eb8dc403SDave Cobbley SaHpiBankNumT, 481eb8dc403SDave Cobbley- SaHpiTextBufferT *) __attribute__((used)); 482eb8dc403SDave Cobbley+ SaHpiTextBufferT *) __asm__("NewSimulatorSetFumiSource") __attribute__((used)); 483eb8dc403SDave Cobbley 484eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetFumiSource(void *hnd, 485eb8dc403SDave Cobbley SaHpiResourceIdT id, 486eb8dc403SDave Cobbley@@ -2327,7 +2327,7 @@ static SaErrorT NewSimulatorSetFumiSourc 487eb8dc403SDave Cobbley static SaErrorT NewSimulatorValidateFumiSource(void *, 488eb8dc403SDave Cobbley SaHpiResourceIdT, 489eb8dc403SDave Cobbley SaHpiFumiNumT, 490eb8dc403SDave Cobbley- SaHpiBankNumT) __attribute__((used)); 491eb8dc403SDave Cobbley+ SaHpiBankNumT) __asm__("NewSimulatorValidateFumiSource") __attribute__((used)); 492eb8dc403SDave Cobbley 493eb8dc403SDave Cobbley static SaErrorT NewSimulatorValidateFumiSource(void *hnd, 494eb8dc403SDave Cobbley SaHpiResourceIdT id, 495eb8dc403SDave Cobbley@@ -2361,7 +2361,7 @@ static SaErrorT NewSimulatorGetFumiSourc 496eb8dc403SDave Cobbley SaHpiResourceIdT, 497eb8dc403SDave Cobbley SaHpiFumiNumT, 498eb8dc403SDave Cobbley SaHpiBankNumT, 499eb8dc403SDave Cobbley- SaHpiFumiSourceInfoT *) __attribute__((used)); 500eb8dc403SDave Cobbley+ SaHpiFumiSourceInfoT *) __asm__("NewSimulatorGetFumiSource") __attribute__((used)); 501eb8dc403SDave Cobbley 502eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetFumiSource(void *hnd, 503eb8dc403SDave Cobbley SaHpiResourceIdT id, 504eb8dc403SDave Cobbley@@ -2400,7 +2400,7 @@ static SaErrorT NewSimulatorGetFumiSourc 505eb8dc403SDave Cobbley SaHpiBankNumT, 506eb8dc403SDave Cobbley SaHpiEntryIdT, 507eb8dc403SDave Cobbley SaHpiEntryIdT *, 508eb8dc403SDave Cobbley- SaHpiFumiComponentInfoT *) __attribute__((used)); 509eb8dc403SDave Cobbley+ SaHpiFumiComponentInfoT *) __asm__("NewSimulatorGetFumiSourceComponent") __attribute__((used)); 510eb8dc403SDave Cobbley 511eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetFumiSourceComponent(void *hnd, 512eb8dc403SDave Cobbley SaHpiResourceIdT id, 513eb8dc403SDave Cobbley@@ -2437,7 +2437,7 @@ static SaErrorT NewSimulatorGetFumiTarge 514eb8dc403SDave Cobbley SaHpiResourceIdT, 515eb8dc403SDave Cobbley SaHpiFumiNumT, 516eb8dc403SDave Cobbley SaHpiBankNumT, 517eb8dc403SDave Cobbley- SaHpiFumiBankInfoT *) __attribute__((used)); 518eb8dc403SDave Cobbley+ SaHpiFumiBankInfoT *) __asm__("NewSimulatorGetFumiTarget") __attribute__((used)); 519eb8dc403SDave Cobbley 520eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetFumiTarget(void *hnd, 521eb8dc403SDave Cobbley SaHpiResourceIdT id, 522eb8dc403SDave Cobbley@@ -2476,7 +2476,7 @@ static SaErrorT NewSimulatorGetFumiTarge 523eb8dc403SDave Cobbley SaHpiBankNumT, 524eb8dc403SDave Cobbley SaHpiEntryIdT, 525eb8dc403SDave Cobbley SaHpiEntryIdT *, 526eb8dc403SDave Cobbley- SaHpiFumiComponentInfoT *) __attribute__((used)); 527eb8dc403SDave Cobbley+ SaHpiFumiComponentInfoT *) __asm__("NewSimulatorGetFumiTargetComponent") __attribute__((used)); 528eb8dc403SDave Cobbley 529eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetFumiTargetComponent(void *hnd, 530eb8dc403SDave Cobbley SaHpiResourceIdT id, 531eb8dc403SDave Cobbley@@ -2511,7 +2511,7 @@ static SaErrorT NewSimulatorGetFumiTarge 532eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetFumiLogicalTarget(void *, 533eb8dc403SDave Cobbley SaHpiResourceIdT, 534eb8dc403SDave Cobbley SaHpiFumiNumT, 535eb8dc403SDave Cobbley- SaHpiFumiLogicalBankInfoT *) __attribute__((used)); 536eb8dc403SDave Cobbley+ SaHpiFumiLogicalBankInfoT *) __asm__("NewSimulatorGetFumiLogicalTarget") __attribute__((used)); 537eb8dc403SDave Cobbley 538eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetFumiLogicalTarget(void *hnd, 539eb8dc403SDave Cobbley SaHpiResourceIdT id, 540eb8dc403SDave Cobbley@@ -2547,7 +2547,7 @@ static SaErrorT NewSimulatorGetFumiLogic 541eb8dc403SDave Cobbley SaHpiFumiNumT, 542eb8dc403SDave Cobbley SaHpiEntryIdT, 543eb8dc403SDave Cobbley SaHpiEntryIdT *, 544eb8dc403SDave Cobbley- SaHpiFumiLogicalComponentInfoT *) __attribute__((used)); 545eb8dc403SDave Cobbley+ SaHpiFumiLogicalComponentInfoT *) __asm__("NewSimulatorGetFumiLogicalTargetComponent") __attribute__((used)); 546eb8dc403SDave Cobbley 547eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetFumiLogicalTargetComponent(void *hnd, 548eb8dc403SDave Cobbley SaHpiResourceIdT id, 549eb8dc403SDave Cobbley@@ -2579,7 +2579,7 @@ static SaErrorT NewSimulatorGetFumiLogic 550eb8dc403SDave Cobbley **/ 551eb8dc403SDave Cobbley static SaErrorT NewSimulatorStartFumiBackup(void *, 552eb8dc403SDave Cobbley SaHpiResourceIdT, 553eb8dc403SDave Cobbley- SaHpiFumiNumT) __attribute__((used)); 554eb8dc403SDave Cobbley+ SaHpiFumiNumT) __asm__("NewSimulatorStartFumiBackup") __attribute__((used)); 555eb8dc403SDave Cobbley 556eb8dc403SDave Cobbley static SaErrorT NewSimulatorStartFumiBackup(void *hnd, 557eb8dc403SDave Cobbley SaHpiResourceIdT id, 558eb8dc403SDave Cobbley@@ -2612,7 +2612,7 @@ static SaErrorT NewSimulatorSetFumiBankO 559eb8dc403SDave Cobbley SaHpiResourceIdT, 560eb8dc403SDave Cobbley SaHpiFumiNumT, 561eb8dc403SDave Cobbley SaHpiBankNumT, 562eb8dc403SDave Cobbley- SaHpiUint32T) __attribute__((used)); 563eb8dc403SDave Cobbley+ SaHpiUint32T) __asm__("NewSimulatorSetFumiBankOrder") __attribute__((used)); 564eb8dc403SDave Cobbley 565eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetFumiBankOrder(void *hnd, 566eb8dc403SDave Cobbley SaHpiResourceIdT id, 567eb8dc403SDave Cobbley@@ -2647,7 +2647,7 @@ static SaErrorT NewSimulatorStartFumiBan 568eb8dc403SDave Cobbley SaHpiResourceIdT, 569eb8dc403SDave Cobbley SaHpiFumiNumT, 570eb8dc403SDave Cobbley SaHpiBankNumT, 571eb8dc403SDave Cobbley- SaHpiBankNumT) __attribute__((used)); 572eb8dc403SDave Cobbley+ SaHpiBankNumT) __asm__("NewSimulatorStartFumiBankCopy") __attribute__((used)); 573eb8dc403SDave Cobbley 574eb8dc403SDave Cobbley static SaErrorT NewSimulatorStartFumiBankCopy(void *hnd, 575eb8dc403SDave Cobbley SaHpiResourceIdT id, 576eb8dc403SDave Cobbley@@ -2680,7 +2680,7 @@ static SaErrorT NewSimulatorStartFumiBan 577eb8dc403SDave Cobbley static SaErrorT NewSimulatorStartFumiInstall(void *, 578eb8dc403SDave Cobbley SaHpiResourceIdT, 579eb8dc403SDave Cobbley SaHpiFumiNumT, 580eb8dc403SDave Cobbley- SaHpiBankNumT) __attribute__((used)); 581eb8dc403SDave Cobbley+ SaHpiBankNumT) __asm__("NewSimulatorStartFumiInstall") __attribute__((used)); 582eb8dc403SDave Cobbley 583eb8dc403SDave Cobbley static SaErrorT NewSimulatorStartFumiInstall(void *hnd, 584eb8dc403SDave Cobbley SaHpiResourceIdT id, 585eb8dc403SDave Cobbley@@ -2714,7 +2714,7 @@ static SaErrorT NewSimulatorGetFumiStatu 586eb8dc403SDave Cobbley SaHpiResourceIdT, 587eb8dc403SDave Cobbley SaHpiFumiNumT, 588eb8dc403SDave Cobbley SaHpiBankNumT, 589eb8dc403SDave Cobbley- SaHpiFumiUpgradeStatusT *) __attribute__((used)); 590eb8dc403SDave Cobbley+ SaHpiFumiUpgradeStatusT *) __asm__("NewSimulatorGetFumiStatus") __attribute__((used)); 591eb8dc403SDave Cobbley 592eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetFumiStatus(void *hnd, 593eb8dc403SDave Cobbley SaHpiResourceIdT id, 594eb8dc403SDave Cobbley@@ -2747,7 +2747,7 @@ static SaErrorT NewSimulatorGetFumiStatu 595eb8dc403SDave Cobbley static SaErrorT NewSimulatorStartFumiVerification(void *, 596eb8dc403SDave Cobbley SaHpiResourceIdT, 597eb8dc403SDave Cobbley SaHpiFumiNumT, 598eb8dc403SDave Cobbley- SaHpiBankNumT) __attribute__((used)); 599eb8dc403SDave Cobbley+ SaHpiBankNumT) __asm__("NewSimulatorStartFumiVerification") __attribute__((used)); 600eb8dc403SDave Cobbley 601eb8dc403SDave Cobbley static SaErrorT NewSimulatorStartFumiVerification(void *hnd, 602eb8dc403SDave Cobbley SaHpiResourceIdT id, 603eb8dc403SDave Cobbley@@ -2776,7 +2776,7 @@ static SaErrorT NewSimulatorStartFumiVer 604eb8dc403SDave Cobbley **/ 605eb8dc403SDave Cobbley static SaErrorT NewSimulatorStartFumiVerificationMain(void *, 606eb8dc403SDave Cobbley SaHpiResourceIdT, 607eb8dc403SDave Cobbley- SaHpiFumiNumT) __attribute__((used)); 608eb8dc403SDave Cobbley+ SaHpiFumiNumT) __asm__("NewSimulatorStartFumiVerificationMain") __attribute__((used)); 609eb8dc403SDave Cobbley 610eb8dc403SDave Cobbley static SaErrorT NewSimulatorStartFumiVerificationMain(void *hnd, 611eb8dc403SDave Cobbley SaHpiResourceIdT id, 612eb8dc403SDave Cobbley@@ -2807,7 +2807,7 @@ static SaErrorT NewSimulatorStartFumiVer 613eb8dc403SDave Cobbley static SaErrorT NewSimulatorCancelFumiUpgrade(void *, 614eb8dc403SDave Cobbley SaHpiResourceIdT, 615eb8dc403SDave Cobbley SaHpiFumiNumT, 616eb8dc403SDave Cobbley- SaHpiBankNumT) __attribute__((used)); 617eb8dc403SDave Cobbley+ SaHpiBankNumT) __asm__("NewSimulatorCancelFumiUpgrade") __attribute__((used)); 618eb8dc403SDave Cobbley 619eb8dc403SDave Cobbley static SaErrorT NewSimulatorCancelFumiUpgrade(void *hnd, 620eb8dc403SDave Cobbley SaHpiResourceIdT id, 621eb8dc403SDave Cobbley@@ -2838,7 +2838,7 @@ static SaErrorT NewSimulatorCancelFumiUp 622eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetFumiRollback(void *, 623eb8dc403SDave Cobbley SaHpiResourceIdT, 624eb8dc403SDave Cobbley SaHpiFumiNumT, 625eb8dc403SDave Cobbley- SaHpiBoolT *) __attribute__((used)); 626eb8dc403SDave Cobbley+ SaHpiBoolT *) __asm__("NewSimulatorGetFumiRollback") __attribute__((used)); 627eb8dc403SDave Cobbley 628eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetFumiRollback(void *hnd, 629eb8dc403SDave Cobbley SaHpiResourceIdT id, 630eb8dc403SDave Cobbley@@ -2870,7 +2870,7 @@ static SaErrorT NewSimulatorGetFumiRollb 631eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetFumiRollback(void *, 632eb8dc403SDave Cobbley SaHpiResourceIdT, 633eb8dc403SDave Cobbley SaHpiFumiNumT, 634eb8dc403SDave Cobbley- SaHpiBoolT) __attribute__((used)); 635eb8dc403SDave Cobbley+ SaHpiBoolT) __asm__("NewSimulatorSetFumiRollback") __attribute__((used)); 636eb8dc403SDave Cobbley 637eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetFumiRollback(void *hnd, 638eb8dc403SDave Cobbley SaHpiResourceIdT id, 639eb8dc403SDave Cobbley@@ -2900,7 +2900,7 @@ static SaErrorT NewSimulatorSetFumiRollb 640eb8dc403SDave Cobbley **/ 641eb8dc403SDave Cobbley static SaErrorT NewSimulatorStartFumiRollback(void *, 642eb8dc403SDave Cobbley SaHpiResourceIdT, 643eb8dc403SDave Cobbley- SaHpiFumiNumT) __attribute__((used)); 644eb8dc403SDave Cobbley+ SaHpiFumiNumT) __asm__("NewSimulatorStartFumiRollback") __attribute__((used)); 645eb8dc403SDave Cobbley 646eb8dc403SDave Cobbley static SaErrorT NewSimulatorStartFumiRollback(void *hnd, 647eb8dc403SDave Cobbley SaHpiResourceIdT id, 648eb8dc403SDave Cobbley@@ -2929,7 +2929,7 @@ static SaErrorT NewSimulatorStartFumiRol 649eb8dc403SDave Cobbley **/ 650eb8dc403SDave Cobbley static SaErrorT NewSimulatorActivateFumi(void *, 651eb8dc403SDave Cobbley SaHpiResourceIdT, 652eb8dc403SDave Cobbley- SaHpiFumiNumT) __attribute__((used)); 653eb8dc403SDave Cobbley+ SaHpiFumiNumT) __asm__("NewSimulatorActivateFumi") __attribute__((used)); 654eb8dc403SDave Cobbley 655eb8dc403SDave Cobbley static SaErrorT NewSimulatorActivateFumi(void *hnd, 656eb8dc403SDave Cobbley SaHpiResourceIdT id, 657eb8dc403SDave Cobbley@@ -2960,7 +2960,7 @@ static SaErrorT NewSimulatorActivateFumi 658eb8dc403SDave Cobbley static SaErrorT NewSimulatorStartFumiActivation(void *, 659eb8dc403SDave Cobbley SaHpiResourceIdT, 660eb8dc403SDave Cobbley SaHpiFumiNumT, 661eb8dc403SDave Cobbley- SaHpiBoolT) __attribute__((used)); 662eb8dc403SDave Cobbley+ SaHpiBoolT) __asm__("NewSimulatorStartFumiActivation") __attribute__((used)); 663eb8dc403SDave Cobbley 664eb8dc403SDave Cobbley static SaErrorT NewSimulatorStartFumiActivation(void *hnd, 665eb8dc403SDave Cobbley SaHpiResourceIdT id, 666eb8dc403SDave Cobbley@@ -2992,7 +2992,7 @@ static SaErrorT NewSimulatorStartFumiAct 667eb8dc403SDave Cobbley static SaErrorT NewSimulatorCleanupFumi(void *, 668eb8dc403SDave Cobbley SaHpiResourceIdT, 669eb8dc403SDave Cobbley SaHpiFumiNumT, 670eb8dc403SDave Cobbley- SaHpiBankNumT) __attribute__((used)); 671eb8dc403SDave Cobbley+ SaHpiBankNumT) __asm__("NewSimulatorCleanupFumi") __attribute__((used)); 672eb8dc403SDave Cobbley 673eb8dc403SDave Cobbley static SaErrorT NewSimulatorCleanupFumi(void *hnd, 674eb8dc403SDave Cobbley SaHpiResourceIdT id, 675eb8dc403SDave Cobbley@@ -3023,7 +3023,7 @@ static SaErrorT NewSimulatorCleanupFumi( 676eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetDimiInfo( void *, 677eb8dc403SDave Cobbley SaHpiResourceIdT, 678eb8dc403SDave Cobbley SaHpiDimiNumT, 679eb8dc403SDave Cobbley- SaHpiDimiInfoT *) __attribute__((used)); 680eb8dc403SDave Cobbley+ SaHpiDimiInfoT *) __asm__("NewSimulatorGetDimiInfo") __attribute__((used)); 681eb8dc403SDave Cobbley 682eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetDimiInfo( void *hnd, 683eb8dc403SDave Cobbley SaHpiResourceIdT id, 684eb8dc403SDave Cobbley@@ -3057,7 +3057,7 @@ static SaErrorT NewSimulatorGetDimiTestI 685eb8dc403SDave Cobbley SaHpiResourceIdT, 686eb8dc403SDave Cobbley SaHpiDimiNumT, 687eb8dc403SDave Cobbley SaHpiDimiTestNumT, 688eb8dc403SDave Cobbley- SaHpiDimiTestT *) __attribute__((used)); 689eb8dc403SDave Cobbley+ SaHpiDimiTestT *) __asm__("NewSimulatorGetDimiTestInfo") __attribute__((used)); 690eb8dc403SDave Cobbley 691eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetDimiTestInfo( void *hnd, 692eb8dc403SDave Cobbley SaHpiResourceIdT id, 693eb8dc403SDave Cobbley@@ -3092,7 +3092,7 @@ static SaErrorT NewSimulatorGetDimiTestR 694eb8dc403SDave Cobbley SaHpiResourceIdT, 695eb8dc403SDave Cobbley SaHpiDimiNumT, 696eb8dc403SDave Cobbley SaHpiDimiTestNumT, 697eb8dc403SDave Cobbley- SaHpiDimiReadyT *) __attribute__((used)); 698eb8dc403SDave Cobbley+ SaHpiDimiReadyT *) __asm__("NewSimulatorGetDimiTestReadiness") __attribute__((used)); 699eb8dc403SDave Cobbley 700eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetDimiTestReadiness( void *hnd, 701eb8dc403SDave Cobbley SaHpiResourceIdT id, 702eb8dc403SDave Cobbley@@ -3129,7 +3129,7 @@ static SaErrorT NewSimulatorStartDimiTes 703eb8dc403SDave Cobbley SaHpiDimiNumT, 704eb8dc403SDave Cobbley SaHpiDimiTestNumT, 705eb8dc403SDave Cobbley SaHpiUint8T, 706eb8dc403SDave Cobbley- SaHpiDimiTestVariableParamsT *) __attribute__((used)); 707eb8dc403SDave Cobbley+ SaHpiDimiTestVariableParamsT *) __asm__("NewSimulatorStartDimiTest") __attribute__((used)); 708eb8dc403SDave Cobbley 709eb8dc403SDave Cobbley static SaErrorT NewSimulatorStartDimiTest( void *hnd, 710eb8dc403SDave Cobbley SaHpiResourceIdT id, 711eb8dc403SDave Cobbley@@ -3163,7 +3163,7 @@ static SaErrorT NewSimulatorStartDimiTes 712eb8dc403SDave Cobbley static SaErrorT NewSimulatorCancelDimiTest( void *, 713eb8dc403SDave Cobbley SaHpiResourceIdT, 714eb8dc403SDave Cobbley SaHpiDimiNumT, 715eb8dc403SDave Cobbley- SaHpiDimiTestNumT) __attribute__((used)); 716eb8dc403SDave Cobbley+ SaHpiDimiTestNumT) __asm__("NewSimulatorCancelDimiTest") __attribute__((used)); 717eb8dc403SDave Cobbley 718eb8dc403SDave Cobbley static SaErrorT NewSimulatorCancelDimiTest( void *hnd, 719eb8dc403SDave Cobbley SaHpiResourceIdT id, 720eb8dc403SDave Cobbley@@ -3199,7 +3199,7 @@ static SaErrorT NewSimulatorGetDimiTestS 721eb8dc403SDave Cobbley SaHpiDimiNumT, 722eb8dc403SDave Cobbley SaHpiDimiTestNumT, 723eb8dc403SDave Cobbley SaHpiDimiTestPercentCompletedT *, 724eb8dc403SDave Cobbley- SaHpiDimiTestRunStatusT *) __attribute__((used)); 725eb8dc403SDave Cobbley+ SaHpiDimiTestRunStatusT *) __asm__("NewSimulatorGetDimiTestStatus") __attribute__((used)); 726eb8dc403SDave Cobbley 727eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetDimiTestStatus( void *hnd, 728eb8dc403SDave Cobbley SaHpiResourceIdT id, 729eb8dc403SDave Cobbley@@ -3234,7 +3234,7 @@ static SaErrorT NewSimulatorGetDimiTestR 730eb8dc403SDave Cobbley SaHpiResourceIdT, 731eb8dc403SDave Cobbley SaHpiDimiNumT, 732eb8dc403SDave Cobbley SaHpiDimiTestNumT, 733eb8dc403SDave Cobbley- SaHpiDimiTestResultsT *) __attribute__((used)); 734eb8dc403SDave Cobbley+ SaHpiDimiTestResultsT *) __asm__("NewSimulatorGetDimiTestResults") __attribute__((used)); 735eb8dc403SDave Cobbley 736eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetDimiTestResults( void *hnd, 737eb8dc403SDave Cobbley SaHpiResourceIdT id, 738eb8dc403SDave Cobbley@@ -3263,7 +3263,7 @@ static SaErrorT NewSimulatorGetDimiTestR 739eb8dc403SDave Cobbley * @return HPI error code 740eb8dc403SDave Cobbley **/ 741eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetAutoInsertTimeout( void *, 742eb8dc403SDave Cobbley- SaHpiTimeoutT ) __attribute__((used)); 743eb8dc403SDave Cobbley+ SaHpiTimeoutT ) __asm__("NewSimulatorSetAutoInsertTimeout") __attribute__((used)); 744eb8dc403SDave Cobbley 745eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetAutoInsertTimeout( void *hnd, SaHpiTimeoutT timeout) { 746eb8dc403SDave Cobbley NewSimulator *newsim = VerifyNewSimulator( hnd ); 747eb8dc403SDave Cobbley@@ -3289,7 +3289,7 @@ static SaErrorT NewSimulatorSetAutoInser 748eb8dc403SDave Cobbley * @return HPI error code 749eb8dc403SDave Cobbley **/ 750eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetAutoExtractTimeout( void *, SaHpiResourceIdT, 751eb8dc403SDave Cobbley- SaHpiTimeoutT * ) __attribute__((used)); 752eb8dc403SDave Cobbley+ SaHpiTimeoutT * ) __asm__("NewSimulatorGetAutoExtractTimeout") __attribute__((used)); 753eb8dc403SDave Cobbley 754eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetAutoExtractTimeout( void *hnd, SaHpiResourceIdT id, 755eb8dc403SDave Cobbley SaHpiTimeoutT *timeout ) { 756eb8dc403SDave Cobbley@@ -3319,7 +3319,7 @@ static SaErrorT NewSimulatorGetAutoExtra 757eb8dc403SDave Cobbley * @return HPI error code 758eb8dc403SDave Cobbley **/ 759eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetAutoExtractTimeout( void *, SaHpiResourceIdT, 760eb8dc403SDave Cobbley- SaHpiTimeoutT ) __attribute__((used)); 761eb8dc403SDave Cobbley+ SaHpiTimeoutT ) __asm__("NewSimulatorSetAutoExtractTimeout") __attribute__((used)); 762eb8dc403SDave Cobbley 763eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetAutoExtractTimeout( void *hnd, SaHpiResourceIdT id, 764eb8dc403SDave Cobbley SaHpiTimeoutT timeout ) { 765eb8dc403SDave Cobbley@@ -3350,7 +3350,7 @@ static SaErrorT NewSimulatorSetAutoExtra 766eb8dc403SDave Cobbley * @return HPI error code 767eb8dc403SDave Cobbley **/ 768eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetPowerState( void *, SaHpiResourceIdT, 769eb8dc403SDave Cobbley- SaHpiPowerStateT * ) __attribute__((used)); 770eb8dc403SDave Cobbley+ SaHpiPowerStateT * ) __asm__("NewSimulatorGetPowerState") __attribute__((used)); 771eb8dc403SDave Cobbley 772eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetPowerState( void *hnd, SaHpiResourceIdT id, 773eb8dc403SDave Cobbley SaHpiPowerStateT *state ) { 774eb8dc403SDave Cobbley@@ -3382,7 +3382,7 @@ static SaErrorT NewSimulatorGetPowerStat 775eb8dc403SDave Cobbley * @return HPI error code 776eb8dc403SDave Cobbley **/ 777eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetPowerState( void *, SaHpiResourceIdT, 778eb8dc403SDave Cobbley- SaHpiPowerStateT ) __attribute__((used)); 779eb8dc403SDave Cobbley+ SaHpiPowerStateT ) __asm__("NewSimulatorSetPowerState") __attribute__((used)); 780eb8dc403SDave Cobbley 781eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetPowerState( void *hnd, SaHpiResourceIdT id, 782eb8dc403SDave Cobbley SaHpiPowerStateT state ) { 783eb8dc403SDave Cobbley@@ -3414,7 +3414,7 @@ static SaErrorT NewSimulatorSetPowerStat 784eb8dc403SDave Cobbley * @return HPI error code 785eb8dc403SDave Cobbley **/ 786eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetIndicatorState( void *, SaHpiResourceIdT, 787eb8dc403SDave Cobbley- SaHpiHsIndicatorStateT * ) __attribute__((used)); 788eb8dc403SDave Cobbley+ SaHpiHsIndicatorStateT * ) __asm__("NewSimulatorGetIndicatorState") __attribute__((used)); 789eb8dc403SDave Cobbley 790eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetIndicatorState( void *hnd, SaHpiResourceIdT id, 791eb8dc403SDave Cobbley SaHpiHsIndicatorStateT *state ) { 792eb8dc403SDave Cobbley@@ -3446,7 +3446,7 @@ static SaErrorT NewSimulatorGetIndicator 793eb8dc403SDave Cobbley * @return HPI error code 794eb8dc403SDave Cobbley **/ 795eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetIndicatorState( void *, SaHpiResourceIdT, 796eb8dc403SDave Cobbley- SaHpiHsIndicatorStateT ) __attribute__((used)); 797eb8dc403SDave Cobbley+ SaHpiHsIndicatorStateT ) __asm__("NewSimulatorSetIndicatorState") __attribute__((used)); 798eb8dc403SDave Cobbley 799eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetIndicatorState( void *hnd, SaHpiResourceIdT id, 800eb8dc403SDave Cobbley SaHpiHsIndicatorStateT state ) { 801eb8dc403SDave Cobbley@@ -3479,7 +3479,7 @@ static SaErrorT NewSimulatorSetIndicator 802eb8dc403SDave Cobbley **/ 803eb8dc403SDave Cobbley static SaErrorT NewSimulatorControlParm( void *, 804eb8dc403SDave Cobbley SaHpiResourceIdT, 805eb8dc403SDave Cobbley- SaHpiParmActionT ) __attribute__((used)); 806eb8dc403SDave Cobbley+ SaHpiParmActionT ) __asm__("NewSimulatorControlParm") __attribute__((used)); 807eb8dc403SDave Cobbley 808eb8dc403SDave Cobbley static SaErrorT NewSimulatorControlParm( void *hnd, 809eb8dc403SDave Cobbley SaHpiResourceIdT id, 810eb8dc403SDave Cobbley@@ -3512,7 +3512,7 @@ static SaErrorT NewSimulatorControlParm( 811eb8dc403SDave Cobbley * @return HPI error code 812eb8dc403SDave Cobbley **/ 813eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetResetState( void *, SaHpiResourceIdT, 814eb8dc403SDave Cobbley- SaHpiResetActionT * ) __attribute__((used)); 815eb8dc403SDave Cobbley+ SaHpiResetActionT * ) __asm__("NewSimulatorGetResetState") __attribute__((used)); 816eb8dc403SDave Cobbley 817eb8dc403SDave Cobbley static SaErrorT NewSimulatorGetResetState( void *hnd, SaHpiResourceIdT id, 818eb8dc403SDave Cobbley SaHpiResetActionT *act ) { 819eb8dc403SDave Cobbley@@ -3545,7 +3545,7 @@ static SaErrorT NewSimulatorGetResetStat 820eb8dc403SDave Cobbley **/ 821eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetResetState( void *, 822eb8dc403SDave Cobbley SaHpiResourceIdT, 823eb8dc403SDave Cobbley- SaHpiResetActionT ) __attribute__((used)); 824eb8dc403SDave Cobbley+ SaHpiResetActionT ) __asm__("NewSimulatorSetResetState") __attribute__((used)); 825eb8dc403SDave Cobbley 826eb8dc403SDave Cobbley static SaErrorT NewSimulatorSetResetState( void *hnd, 827eb8dc403SDave Cobbley SaHpiResourceIdT id, 828eb8dc403SDave CobbleyIndex: openhpi-3.6.1/plugins/dynamic_simulator/new_sim_file.cpp 829eb8dc403SDave Cobbley=================================================================== 830eb8dc403SDave Cobbley--- openhpi-3.6.1.orig/plugins/dynamic_simulator/new_sim_file.cpp 831eb8dc403SDave Cobbley+++ openhpi-3.6.1/plugins/dynamic_simulator/new_sim_file.cpp 832eb8dc403SDave Cobbley@@ -44,9 +44,9 @@ 833eb8dc403SDave Cobbley ///< Global skip characters for oh_scanner_config 834eb8dc403SDave Cobbley static gchar skip_characters[] = " \t\n"; 835eb8dc403SDave Cobbley ///< Global identifier_first for oh_scanner_config 836eb8dc403SDave Cobbley-static gchar identifier_first[] = G_CSET_a_2_z"_/."G_CSET_A_2_Z; 837eb8dc403SDave Cobbley+static gchar identifier_first[] = G_CSET_a_2_z "_/." G_CSET_A_2_Z; 838eb8dc403SDave Cobbley ///< Global identifier_nth for oh_scanner_config 839eb8dc403SDave Cobbley-static gchar identifier_nth[] = G_CSET_a_2_z"_-0123456789/."G_CSET_A_2_Z; 840eb8dc403SDave Cobbley+static gchar identifier_nth[] = G_CSET_a_2_z "_-0123456789/." G_CSET_A_2_Z; 841eb8dc403SDave Cobbley ///< Global comment signs for oh_scanner_config 842eb8dc403SDave Cobbley static gchar comment_single[] = "#\n"; 843eb8dc403SDave Cobbley 844eb8dc403SDave CobbleyIndex: openhpi-3.6.1/plugins/ipmidirect/ipmi.cpp 845eb8dc403SDave Cobbley=================================================================== 846eb8dc403SDave Cobbley--- openhpi-3.6.1.orig/plugins/ipmidirect/ipmi.cpp 847eb8dc403SDave Cobbley+++ openhpi-3.6.1/plugins/ipmidirect/ipmi.cpp 848eb8dc403SDave Cobbley@@ -279,7 +279,7 @@ extern "C" { 849eb8dc403SDave Cobbley // ABI Interface functions 850eb8dc403SDave Cobbley 851eb8dc403SDave Cobbley static void * 852eb8dc403SDave Cobbley-IpmiOpen( GHashTable *, unsigned int, oh_evt_queue * ) __attribute__((used)); 853eb8dc403SDave Cobbley+IpmiOpen( GHashTable *, unsigned int, oh_evt_queue * ) __asm__("IpmiOpen") __attribute__((used)); 854eb8dc403SDave Cobbley 855eb8dc403SDave Cobbley static void * 856eb8dc403SDave Cobbley IpmiOpen( GHashTable *handler_config, unsigned int hid, oh_evt_queue *eventq ) 857eb8dc403SDave Cobbley@@ -388,7 +388,7 @@ IpmiOpen( GHashTable *handler_config, un 858eb8dc403SDave Cobbley 859eb8dc403SDave Cobbley 860eb8dc403SDave Cobbley static void 861eb8dc403SDave Cobbley-IpmiClose( void * ) __attribute__((used)); 862eb8dc403SDave Cobbley+IpmiClose( void * ) __asm__("IpmiClose") __attribute__((used)); 863eb8dc403SDave Cobbley 864eb8dc403SDave Cobbley static void 865eb8dc403SDave Cobbley IpmiClose( void *hnd ) 866eb8dc403SDave Cobbley@@ -436,7 +436,7 @@ IpmiClose( void *hnd ) 867eb8dc403SDave Cobbley 868eb8dc403SDave Cobbley 869eb8dc403SDave Cobbley static SaErrorT 870eb8dc403SDave Cobbley-IpmiGetEvent( void * ) __attribute__((used)); 871eb8dc403SDave Cobbley+IpmiGetEvent( void * ) __asm__("IpmiGetEvent") __attribute__((used)); 872eb8dc403SDave Cobbley 873eb8dc403SDave Cobbley static SaErrorT 874eb8dc403SDave Cobbley IpmiGetEvent( void *hnd ) 875eb8dc403SDave Cobbley@@ -458,7 +458,7 @@ IpmiGetEvent( void *hnd ) 876eb8dc403SDave Cobbley 877eb8dc403SDave Cobbley 878eb8dc403SDave Cobbley static SaErrorT 879eb8dc403SDave Cobbley-IpmiDiscoverResources( void * ) __attribute__((used)); 880eb8dc403SDave Cobbley+IpmiDiscoverResources( void * ) __asm__("IpmiDiscoverResources") __attribute__((used)); 881eb8dc403SDave Cobbley 882eb8dc403SDave Cobbley static SaErrorT 883eb8dc403SDave Cobbley IpmiDiscoverResources( void *hnd ) 884eb8dc403SDave Cobbley@@ -479,7 +479,7 @@ IpmiDiscoverResources( void *hnd ) 885eb8dc403SDave Cobbley 886eb8dc403SDave Cobbley 887eb8dc403SDave Cobbley static SaErrorT 888eb8dc403SDave Cobbley-IpmiSetResourceTag( void *, SaHpiResourceIdT, SaHpiTextBufferT * ) __attribute__((used)); 889eb8dc403SDave Cobbley+IpmiSetResourceTag( void *, SaHpiResourceIdT, SaHpiTextBufferT * ) __asm__("IpmiSetResourceTag") __attribute__((used)); 890eb8dc403SDave Cobbley 891eb8dc403SDave Cobbley static SaErrorT 892eb8dc403SDave Cobbley IpmiSetResourceTag( void *hnd, SaHpiResourceIdT id, SaHpiTextBufferT *tag ) 893eb8dc403SDave Cobbley@@ -499,7 +499,7 @@ IpmiSetResourceTag( void *hnd, SaHpiReso 894eb8dc403SDave Cobbley 895eb8dc403SDave Cobbley 896eb8dc403SDave Cobbley static SaErrorT 897eb8dc403SDave Cobbley-IpmiSetResourceSeverity( void *, SaHpiResourceIdT, SaHpiSeverityT ) __attribute__((used)); 898eb8dc403SDave Cobbley+IpmiSetResourceSeverity( void *, SaHpiResourceIdT, SaHpiSeverityT ) __asm__("IpmiSetResourceSeverity") __attribute__((used)); 899eb8dc403SDave Cobbley 900eb8dc403SDave Cobbley static SaErrorT 901eb8dc403SDave Cobbley IpmiSetResourceSeverity( void *hnd, SaHpiResourceIdT id, SaHpiSeverityT sev ) 902eb8dc403SDave Cobbley@@ -523,7 +523,7 @@ IpmiGetSensorReading( void *, 903eb8dc403SDave Cobbley SaHpiResourceIdT id, 904eb8dc403SDave Cobbley SaHpiSensorNumT num, 905eb8dc403SDave Cobbley SaHpiSensorReadingT *data, 906eb8dc403SDave Cobbley- SaHpiEventStateT *state ) __attribute__((used)); 907eb8dc403SDave Cobbley+ SaHpiEventStateT *state ) __asm__("IpmiGetSensorReading") __attribute__((used)); 908eb8dc403SDave Cobbley 909eb8dc403SDave Cobbley static SaErrorT 910eb8dc403SDave Cobbley IpmiGetSensorReading( void *hnd, 911eb8dc403SDave Cobbley@@ -550,7 +550,7 @@ static SaErrorT 912eb8dc403SDave Cobbley IpmiGetSensorThresholds( void *hnd, 913eb8dc403SDave Cobbley SaHpiResourceIdT, 914eb8dc403SDave Cobbley SaHpiSensorNumT, 915eb8dc403SDave Cobbley- SaHpiSensorThresholdsT * ) __attribute__((used)); 916eb8dc403SDave Cobbley+ SaHpiSensorThresholdsT * ) __asm__("IpmiGetSensorThresholds") __attribute__((used)); 917eb8dc403SDave Cobbley 918eb8dc403SDave Cobbley static SaErrorT 919eb8dc403SDave Cobbley IpmiGetSensorThresholds( void *hnd, 920eb8dc403SDave Cobbley@@ -581,7 +581,7 @@ static SaErrorT 921eb8dc403SDave Cobbley IpmiSetSensorThresholds( void *, 922eb8dc403SDave Cobbley SaHpiResourceIdT, 923eb8dc403SDave Cobbley SaHpiSensorNumT, 924eb8dc403SDave Cobbley- const SaHpiSensorThresholdsT * ) __attribute__((used)); 925eb8dc403SDave Cobbley+ const SaHpiSensorThresholdsT * ) __asm__("IpmiSetSensorThresholds") __attribute__((used)); 926eb8dc403SDave Cobbley 927eb8dc403SDave Cobbley static SaErrorT 928eb8dc403SDave Cobbley IpmiSetSensorThresholds( void *hnd, 929eb8dc403SDave Cobbley@@ -612,7 +612,7 @@ static SaErrorT 930eb8dc403SDave Cobbley IpmiGetSensorEnable( void *, 931eb8dc403SDave Cobbley SaHpiResourceIdT, 932eb8dc403SDave Cobbley SaHpiSensorNumT, 933eb8dc403SDave Cobbley- SaHpiBoolT * ) __attribute__((used)); 934eb8dc403SDave Cobbley+ SaHpiBoolT * ) __asm__("IpmiGetSensorEnable") __attribute__((used)); 935eb8dc403SDave Cobbley 936eb8dc403SDave Cobbley static SaErrorT 937eb8dc403SDave Cobbley IpmiGetSensorEnable( void *hnd, 938eb8dc403SDave Cobbley@@ -638,7 +638,7 @@ static SaErrorT 939eb8dc403SDave Cobbley IpmiSetSensorEnable( void *, 940eb8dc403SDave Cobbley SaHpiResourceIdT, 941eb8dc403SDave Cobbley SaHpiSensorNumT, 942eb8dc403SDave Cobbley- SaHpiBoolT ) __attribute__((used)); 943eb8dc403SDave Cobbley+ SaHpiBoolT ) __asm__("IpmiSetSensorEnable") __attribute__((used)); 944eb8dc403SDave Cobbley 945eb8dc403SDave Cobbley static SaErrorT 946eb8dc403SDave Cobbley IpmiSetSensorEnable( void *hnd, 947eb8dc403SDave Cobbley@@ -664,7 +664,7 @@ static SaErrorT 948eb8dc403SDave Cobbley IpmiGetSensorEventEnables( void *, 949eb8dc403SDave Cobbley SaHpiResourceIdT, 950eb8dc403SDave Cobbley SaHpiSensorNumT, 951eb8dc403SDave Cobbley- SaHpiBoolT * ) __attribute__((used)); 952eb8dc403SDave Cobbley+ SaHpiBoolT * ) __asm__("IpmiGetSensorEventEnables") __attribute__((used)); 953eb8dc403SDave Cobbley 954eb8dc403SDave Cobbley static SaErrorT 955eb8dc403SDave Cobbley IpmiGetSensorEventEnables( void *hnd, 956eb8dc403SDave Cobbley@@ -690,7 +690,7 @@ static SaErrorT 957eb8dc403SDave Cobbley IpmiSetSensorEventEnables( void *, 958eb8dc403SDave Cobbley SaHpiResourceIdT, 959eb8dc403SDave Cobbley SaHpiSensorNumT, 960eb8dc403SDave Cobbley- SaHpiBoolT ) __attribute__((used)); 961eb8dc403SDave Cobbley+ SaHpiBoolT ) __asm__("IpmiSetSensorEventEnables") __attribute__((used)); 962eb8dc403SDave Cobbley 963eb8dc403SDave Cobbley static SaErrorT 964eb8dc403SDave Cobbley IpmiSetSensorEventEnables( void *hnd, 965eb8dc403SDave Cobbley@@ -717,7 +717,7 @@ IpmiGetSensorEventMasks( void *, 966eb8dc403SDave Cobbley SaHpiResourceIdT, 967eb8dc403SDave Cobbley SaHpiSensorNumT, 968eb8dc403SDave Cobbley SaHpiEventStateT *, 969eb8dc403SDave Cobbley- SaHpiEventStateT * ) __attribute__((used)); 970eb8dc403SDave Cobbley+ SaHpiEventStateT * ) __asm__("IpmiGetSensorEventMasks") __attribute__((used)); 971eb8dc403SDave Cobbley 972eb8dc403SDave Cobbley static SaErrorT 973eb8dc403SDave Cobbley IpmiGetSensorEventMasks( void *hnd, 974eb8dc403SDave Cobbley@@ -747,7 +747,7 @@ IpmiSetSensorEventMasks( void *, 975eb8dc403SDave Cobbley SaHpiSensorNumT, 976eb8dc403SDave Cobbley SaHpiSensorEventMaskActionT, 977eb8dc403SDave Cobbley SaHpiEventStateT, 978eb8dc403SDave Cobbley- SaHpiEventStateT ) __attribute__((used)); 979eb8dc403SDave Cobbley+ SaHpiEventStateT ) __asm__("IpmiSetSensorEventMasks") __attribute__((used)); 980eb8dc403SDave Cobbley 981eb8dc403SDave Cobbley static SaErrorT 982eb8dc403SDave Cobbley IpmiSetSensorEventMasks( void *hnd, 983eb8dc403SDave Cobbley@@ -776,7 +776,7 @@ static SaErrorT 984eb8dc403SDave Cobbley IpmiGetControlState( void *, SaHpiResourceIdT, 985eb8dc403SDave Cobbley SaHpiCtrlNumT, 986eb8dc403SDave Cobbley SaHpiCtrlModeT *, 987eb8dc403SDave Cobbley- SaHpiCtrlStateT * ) __attribute__((used)); 988eb8dc403SDave Cobbley+ SaHpiCtrlStateT * ) __asm__("IpmiGetControlState") __attribute__((used)); 989eb8dc403SDave Cobbley 990eb8dc403SDave Cobbley static SaErrorT 991eb8dc403SDave Cobbley IpmiGetControlState( void *hnd, SaHpiResourceIdT id, 992eb8dc403SDave Cobbley@@ -802,7 +802,7 @@ static SaErrorT 993eb8dc403SDave Cobbley IpmiSetControlState( void *, SaHpiResourceIdT, 994eb8dc403SDave Cobbley SaHpiCtrlNumT, 995eb8dc403SDave Cobbley SaHpiCtrlModeT, 996eb8dc403SDave Cobbley- SaHpiCtrlStateT * ) __attribute__((used)); 997eb8dc403SDave Cobbley+ SaHpiCtrlStateT * ) __asm__("IpmiSetControlState") __attribute__((used)); 998eb8dc403SDave Cobbley 999eb8dc403SDave Cobbley static SaErrorT 1000eb8dc403SDave Cobbley IpmiSetControlState( void *hnd, SaHpiResourceIdT id, 1001eb8dc403SDave Cobbley@@ -828,7 +828,7 @@ static SaErrorT 1002eb8dc403SDave Cobbley IpmiGetIdrInfo( void *, 1003eb8dc403SDave Cobbley SaHpiResourceIdT, 1004eb8dc403SDave Cobbley SaHpiIdrIdT, 1005eb8dc403SDave Cobbley- SaHpiIdrInfoT * ) __attribute__((used)); 1006eb8dc403SDave Cobbley+ SaHpiIdrInfoT * ) __asm__("IpmiGetIdrInfo") __attribute__((used)); 1007eb8dc403SDave Cobbley 1008eb8dc403SDave Cobbley static SaErrorT 1009eb8dc403SDave Cobbley IpmiGetIdrInfo( void *hnd, 1010eb8dc403SDave Cobbley@@ -857,7 +857,7 @@ IpmiGetIdrAreaHeader( void *, 1011eb8dc403SDave Cobbley SaHpiIdrAreaTypeT, 1012eb8dc403SDave Cobbley SaHpiEntryIdT, 1013eb8dc403SDave Cobbley SaHpiEntryIdT *, 1014eb8dc403SDave Cobbley- SaHpiIdrAreaHeaderT * ) __attribute__((used)); 1015eb8dc403SDave Cobbley+ SaHpiIdrAreaHeaderT * ) __asm__("IpmiGetIdrAreaHeader") __attribute__((used)); 1016eb8dc403SDave Cobbley 1017eb8dc403SDave Cobbley static SaErrorT 1018eb8dc403SDave Cobbley IpmiGetIdrAreaHeader( void *hnd, 1019eb8dc403SDave Cobbley@@ -887,7 +887,7 @@ IpmiAddIdrArea( void *, 1020eb8dc403SDave Cobbley SaHpiResourceIdT, 1021eb8dc403SDave Cobbley SaHpiIdrIdT, 1022eb8dc403SDave Cobbley SaHpiIdrAreaTypeT, 1023eb8dc403SDave Cobbley- SaHpiEntryIdT * ) __attribute__((used)); 1024eb8dc403SDave Cobbley+ SaHpiEntryIdT * ) __asm__("IpmiAddIdrArea") __attribute__((used)); 1025eb8dc403SDave Cobbley 1026eb8dc403SDave Cobbley static SaErrorT 1027eb8dc403SDave Cobbley IpmiAddIdrArea( void *hnd, 1028eb8dc403SDave Cobbley@@ -914,7 +914,7 @@ static SaErrorT 1029eb8dc403SDave Cobbley IpmiDelIdrArea( void *, 1030eb8dc403SDave Cobbley SaHpiResourceIdT, 1031eb8dc403SDave Cobbley SaHpiIdrIdT, 1032eb8dc403SDave Cobbley- SaHpiEntryIdT ) __attribute__((used)); 1033eb8dc403SDave Cobbley+ SaHpiEntryIdT ) __asm__("IpmiDelIdrArea") __attribute__((used)); 1034eb8dc403SDave Cobbley 1035eb8dc403SDave Cobbley static SaErrorT 1036eb8dc403SDave Cobbley IpmiDelIdrArea( void *hnd, 1037eb8dc403SDave Cobbley@@ -944,7 +944,7 @@ IpmiGetIdrField( void *, 1038eb8dc403SDave Cobbley SaHpiIdrFieldTypeT, 1039eb8dc403SDave Cobbley SaHpiEntryIdT, 1040eb8dc403SDave Cobbley SaHpiEntryIdT *, 1041eb8dc403SDave Cobbley- SaHpiIdrFieldT * ) __attribute__((used)); 1042eb8dc403SDave Cobbley+ SaHpiIdrFieldT * ) __asm__("IpmiGetIdrField") __attribute__((used)); 1043eb8dc403SDave Cobbley 1044eb8dc403SDave Cobbley static SaErrorT 1045eb8dc403SDave Cobbley IpmiGetIdrField( void *hnd, 1046eb8dc403SDave Cobbley@@ -974,7 +974,7 @@ static SaErrorT 1047eb8dc403SDave Cobbley IpmiAddIdrField( void *, 1048eb8dc403SDave Cobbley SaHpiResourceIdT, 1049eb8dc403SDave Cobbley SaHpiIdrIdT, 1050eb8dc403SDave Cobbley- SaHpiIdrFieldT * ) __attribute__((used)); 1051eb8dc403SDave Cobbley+ SaHpiIdrFieldT * ) __asm__("IpmiAddIdrField") __attribute__((used)); 1052eb8dc403SDave Cobbley 1053eb8dc403SDave Cobbley static SaErrorT 1054eb8dc403SDave Cobbley IpmiAddIdrField( void *hnd, 1055eb8dc403SDave Cobbley@@ -1000,7 +1000,7 @@ static SaErrorT 1056eb8dc403SDave Cobbley IpmiSetIdrField( void *, 1057eb8dc403SDave Cobbley SaHpiResourceIdT, 1058eb8dc403SDave Cobbley SaHpiIdrIdT, 1059eb8dc403SDave Cobbley- SaHpiIdrFieldT * ) __attribute__((used)); 1060eb8dc403SDave Cobbley+ SaHpiIdrFieldT * ) __asm__("IpmiSetIdrField") __attribute__((used)); 1061eb8dc403SDave Cobbley 1062eb8dc403SDave Cobbley static SaErrorT 1063eb8dc403SDave Cobbley IpmiSetIdrField( void *hnd, 1064eb8dc403SDave Cobbley@@ -1027,7 +1027,7 @@ IpmiDelIdrField( void *, 1065eb8dc403SDave Cobbley SaHpiResourceIdT, 1066eb8dc403SDave Cobbley SaHpiIdrIdT, 1067eb8dc403SDave Cobbley SaHpiEntryIdT, 1068eb8dc403SDave Cobbley- SaHpiEntryIdT ) __attribute__((used)); 1069eb8dc403SDave Cobbley+ SaHpiEntryIdT ) __asm__("IpmiDelIdrField") __attribute__((used)); 1070eb8dc403SDave Cobbley 1071eb8dc403SDave Cobbley static SaErrorT 1072eb8dc403SDave Cobbley IpmiDelIdrField( void *hnd, 1073eb8dc403SDave Cobbley@@ -1053,7 +1053,7 @@ IpmiDelIdrField( void *hnd, 1074eb8dc403SDave Cobbley static SaErrorT 1075eb8dc403SDave Cobbley IpmiGetSelInfo( void *, 1076eb8dc403SDave Cobbley SaHpiResourceIdT, 1077eb8dc403SDave Cobbley- SaHpiEventLogInfoT * ) __attribute__((used)); 1078eb8dc403SDave Cobbley+ SaHpiEventLogInfoT * ) __asm__("IpmiGetSelInfo") __attribute__((used)); 1079eb8dc403SDave Cobbley 1080eb8dc403SDave Cobbley static SaErrorT 1081eb8dc403SDave Cobbley IpmiGetSelInfo( void *hnd, 1082eb8dc403SDave Cobbley@@ -1075,7 +1075,7 @@ IpmiGetSelInfo( void *hnd, 1083eb8dc403SDave Cobbley 1084eb8dc403SDave Cobbley 1085eb8dc403SDave Cobbley static SaErrorT 1086eb8dc403SDave Cobbley-IpmiSetSelTime( void *, SaHpiResourceIdT, SaHpiTimeT ) __attribute__((used)); 1087eb8dc403SDave Cobbley+IpmiSetSelTime( void *, SaHpiResourceIdT, SaHpiTimeT ) __asm__("IpmiSetSelTime") __attribute__((used)); 1088eb8dc403SDave Cobbley 1089eb8dc403SDave Cobbley static SaErrorT 1090eb8dc403SDave Cobbley IpmiSetSelTime( void *hnd, SaHpiResourceIdT id, SaHpiTimeT t ) 1091eb8dc403SDave Cobbley@@ -1096,7 +1096,7 @@ IpmiSetSelTime( void *hnd, SaHpiResource 1092eb8dc403SDave Cobbley 1093eb8dc403SDave Cobbley static SaErrorT 1094eb8dc403SDave Cobbley IpmiAddSelEntry( void *, SaHpiResourceIdT, 1095eb8dc403SDave Cobbley- const SaHpiEventT * ) __attribute__((used)); 1096eb8dc403SDave Cobbley+ const SaHpiEventT * ) __asm__("IpmiAddSelEntry") __attribute__((used)); 1097eb8dc403SDave Cobbley 1098eb8dc403SDave Cobbley static SaErrorT 1099eb8dc403SDave Cobbley IpmiAddSelEntry( void *hnd, SaHpiResourceIdT id, 1100eb8dc403SDave Cobbley@@ -1118,7 +1118,7 @@ IpmiAddSelEntry( void *hnd, SaHpiResourc 1101eb8dc403SDave Cobbley #ifdef NOTUSED 1102eb8dc403SDave Cobbley static SaErrorT 1103eb8dc403SDave Cobbley IpmiDelSelEntry( void *, SaHpiResourceIdT, 1104eb8dc403SDave Cobbley- SaHpiEventLogEntryIdT ) __attribute__((used)); 1105eb8dc403SDave Cobbley+ SaHpiEventLogEntryIdT ) __asm__("IpmiDelSelEntry") __attribute__((used)); 1106eb8dc403SDave Cobbley 1107eb8dc403SDave Cobbley static SaErrorT 1108eb8dc403SDave Cobbley IpmiDelSelEntry( void *hnd, SaHpiResourceIdT id, 1109eb8dc403SDave Cobbley@@ -1145,7 +1145,7 @@ IpmiGetSelEntry( void *hnd, SaHpiResourc 1110eb8dc403SDave Cobbley SaHpiEventLogEntryIdT *, SaHpiEventLogEntryIdT *, 1111eb8dc403SDave Cobbley SaHpiEventLogEntryT *, 1112eb8dc403SDave Cobbley SaHpiRdrT *, 1113eb8dc403SDave Cobbley- SaHpiRptEntryT * ) __attribute__((used)); 1114eb8dc403SDave Cobbley+ SaHpiRptEntryT * ) __asm__("IpmiGetSelEntry") __attribute__((used)); 1115eb8dc403SDave Cobbley 1116eb8dc403SDave Cobbley static SaErrorT 1117eb8dc403SDave Cobbley IpmiGetSelEntry( void *hnd, SaHpiResourceIdT id, 1118eb8dc403SDave Cobbley@@ -1170,7 +1170,7 @@ IpmiGetSelEntry( void *hnd, SaHpiResourc 1119eb8dc403SDave Cobbley 1120eb8dc403SDave Cobbley 1121eb8dc403SDave Cobbley static SaErrorT 1122eb8dc403SDave Cobbley-IpmiClearSel( void *, SaHpiResourceIdT ) __attribute__((used)); 1123eb8dc403SDave Cobbley+IpmiClearSel( void *, SaHpiResourceIdT ) __asm__("IpmiClearSel") __attribute__((used)); 1124eb8dc403SDave Cobbley 1125eb8dc403SDave Cobbley static SaErrorT 1126eb8dc403SDave Cobbley IpmiClearSel( void *hnd, SaHpiResourceIdT id ) 1127eb8dc403SDave Cobbley@@ -1190,7 +1190,7 @@ IpmiClearSel( void *hnd, SaHpiResourceId 1128eb8dc403SDave Cobbley 1129eb8dc403SDave Cobbley static SaErrorT 1130eb8dc403SDave Cobbley IpmiHotswapPolicyCancel( void *, SaHpiResourceIdT, 1131eb8dc403SDave Cobbley- SaHpiTimeoutT ) __attribute__((used)); 1132eb8dc403SDave Cobbley+ SaHpiTimeoutT ) __asm__("IpmiHotswapPolicyCancel") __attribute__((used)); 1133eb8dc403SDave Cobbley 1134eb8dc403SDave Cobbley static SaErrorT 1135eb8dc403SDave Cobbley IpmiHotswapPolicyCancel( void *hnd, SaHpiResourceIdT id, 1136eb8dc403SDave Cobbley@@ -1210,7 +1210,7 @@ IpmiHotswapPolicyCancel( void *hnd, SaHp 1137eb8dc403SDave Cobbley } 1138eb8dc403SDave Cobbley 1139eb8dc403SDave Cobbley static SaErrorT 1140eb8dc403SDave Cobbley-IpmiSetAutoInsertTimeout( void *, SaHpiTimeoutT ) __attribute__((used)); 1141eb8dc403SDave Cobbley+IpmiSetAutoInsertTimeout( void *, SaHpiTimeoutT ) __asm__("IpmiSetAutoInsertTimeout") __attribute__((used)); 1142eb8dc403SDave Cobbley 1143eb8dc403SDave Cobbley static SaErrorT 1144eb8dc403SDave Cobbley IpmiSetAutoInsertTimeout( void *hnd, SaHpiTimeoutT timeout) 1145eb8dc403SDave Cobbley@@ -1229,7 +1229,7 @@ IpmiSetAutoInsertTimeout( void *hnd, SaH 1146eb8dc403SDave Cobbley 1147eb8dc403SDave Cobbley static SaErrorT 1148eb8dc403SDave Cobbley IpmiGetAutoExtractTimeout( void *, SaHpiResourceIdT, 1149eb8dc403SDave Cobbley- SaHpiTimeoutT * ) __attribute__((used)); 1150eb8dc403SDave Cobbley+ SaHpiTimeoutT * ) __asm__("IpmiGetAutoExtractTimeout") __attribute__((used)); 1151eb8dc403SDave Cobbley 1152eb8dc403SDave Cobbley static SaErrorT 1153eb8dc403SDave Cobbley IpmiGetAutoExtractTimeout( void *hnd, SaHpiResourceIdT id, 1154eb8dc403SDave Cobbley@@ -1250,7 +1250,7 @@ IpmiGetAutoExtractTimeout( void *hnd, Sa 1155eb8dc403SDave Cobbley 1156eb8dc403SDave Cobbley static SaErrorT 1157eb8dc403SDave Cobbley IpmiSetAutoExtractTimeout( void *, SaHpiResourceIdT, 1158eb8dc403SDave Cobbley- SaHpiTimeoutT ) __attribute__((used)); 1159eb8dc403SDave Cobbley+ SaHpiTimeoutT ) __asm__("IpmiSetAutoExtractTimeout") __attribute__((used)); 1160eb8dc403SDave Cobbley 1161eb8dc403SDave Cobbley static SaErrorT 1162eb8dc403SDave Cobbley IpmiSetAutoExtractTimeout( void *hnd, SaHpiResourceIdT id, 1163eb8dc403SDave Cobbley@@ -1271,7 +1271,7 @@ IpmiSetAutoExtractTimeout( void *hnd, Sa 1164eb8dc403SDave Cobbley 1165eb8dc403SDave Cobbley static SaErrorT 1166eb8dc403SDave Cobbley IpmiGetHotswapState( void *, SaHpiResourceIdT , 1167eb8dc403SDave Cobbley- SaHpiHsStateT * ) __attribute__((used)); 1168eb8dc403SDave Cobbley+ SaHpiHsStateT * ) __asm__("IpmiGetHotswapState") __attribute__((used)); 1169eb8dc403SDave Cobbley 1170eb8dc403SDave Cobbley static SaErrorT 1171eb8dc403SDave Cobbley IpmiGetHotswapState( void *hnd, SaHpiResourceIdT id, 1172eb8dc403SDave Cobbley@@ -1293,7 +1293,7 @@ IpmiGetHotswapState( void *hnd, SaHpiRes 1173eb8dc403SDave Cobbley 1174eb8dc403SDave Cobbley static SaErrorT 1175eb8dc403SDave Cobbley IpmiSetHotswapState( void *, SaHpiResourceIdT, 1176eb8dc403SDave Cobbley- SaHpiHsStateT ) __attribute__((used)); 1177eb8dc403SDave Cobbley+ SaHpiHsStateT ) __asm__("IpmiSetHotswapState") __attribute__((used)); 1178eb8dc403SDave Cobbley 1179eb8dc403SDave Cobbley static SaErrorT 1180eb8dc403SDave Cobbley IpmiSetHotswapState( void *hnd, SaHpiResourceIdT id, 1181eb8dc403SDave Cobbley@@ -1315,7 +1315,7 @@ IpmiSetHotswapState( void *hnd, SaHpiRes 1182eb8dc403SDave Cobbley 1183eb8dc403SDave Cobbley static SaErrorT 1184eb8dc403SDave Cobbley IpmiRequestHotswapAction( void *, SaHpiResourceIdT, 1185eb8dc403SDave Cobbley- SaHpiHsActionT ) __attribute__((used)); 1186eb8dc403SDave Cobbley+ SaHpiHsActionT ) __asm__("IpmiRequestHotswapAction") __attribute__((used)); 1187eb8dc403SDave Cobbley 1188eb8dc403SDave Cobbley static SaErrorT 1189eb8dc403SDave Cobbley IpmiRequestHotswapAction( void *hnd, SaHpiResourceIdT id, 1190eb8dc403SDave Cobbley@@ -1337,7 +1337,7 @@ IpmiRequestHotswapAction( void *hnd, SaH 1191eb8dc403SDave Cobbley 1192eb8dc403SDave Cobbley static SaErrorT 1193eb8dc403SDave Cobbley IpmiGetPowerState( void *, SaHpiResourceIdT, 1194eb8dc403SDave Cobbley- SaHpiPowerStateT * ) __attribute__((used)); 1195eb8dc403SDave Cobbley+ SaHpiPowerStateT * ) __asm__("IpmiGetPowerState") __attribute__((used)); 1196eb8dc403SDave Cobbley 1197eb8dc403SDave Cobbley static SaErrorT 1198eb8dc403SDave Cobbley IpmiGetPowerState( void *hnd, SaHpiResourceIdT id, 1199eb8dc403SDave Cobbley@@ -1359,7 +1359,7 @@ IpmiGetPowerState( void *hnd, SaHpiResou 1200eb8dc403SDave Cobbley 1201eb8dc403SDave Cobbley static SaErrorT 1202eb8dc403SDave Cobbley IpmiSetPowerState( void *, SaHpiResourceIdT, 1203eb8dc403SDave Cobbley- SaHpiPowerStateT ) __attribute__((used)); 1204eb8dc403SDave Cobbley+ SaHpiPowerStateT ) __asm__("IpmiSetPowerState") __attribute__((used)); 1205eb8dc403SDave Cobbley 1206eb8dc403SDave Cobbley static SaErrorT 1207eb8dc403SDave Cobbley IpmiSetPowerState( void *hnd, SaHpiResourceIdT id, 1208eb8dc403SDave Cobbley@@ -1381,7 +1381,7 @@ IpmiSetPowerState( void *hnd, SaHpiResou 1209eb8dc403SDave Cobbley 1210eb8dc403SDave Cobbley static SaErrorT 1211eb8dc403SDave Cobbley IpmiGetIndicatorState( void *, SaHpiResourceIdT, 1212eb8dc403SDave Cobbley- SaHpiHsIndicatorStateT * ) __attribute__((used)); 1213eb8dc403SDave Cobbley+ SaHpiHsIndicatorStateT * ) __asm__("IpmiGetIndicatorState") __attribute__((used)); 1214eb8dc403SDave Cobbley 1215eb8dc403SDave Cobbley static SaErrorT 1216eb8dc403SDave Cobbley IpmiGetIndicatorState( void *hnd, SaHpiResourceIdT id, 1217eb8dc403SDave Cobbley@@ -1403,7 +1403,7 @@ IpmiGetIndicatorState( void *hnd, SaHpiR 1218eb8dc403SDave Cobbley 1219eb8dc403SDave Cobbley static SaErrorT 1220eb8dc403SDave Cobbley IpmiSetIndicatorState( void *, SaHpiResourceIdT, 1221eb8dc403SDave Cobbley- SaHpiHsIndicatorStateT ) __attribute__((used)); 1222eb8dc403SDave Cobbley+ SaHpiHsIndicatorStateT ) __asm__("IpmiSetIndicatorState") __attribute__((used)); 1223eb8dc403SDave Cobbley 1224eb8dc403SDave Cobbley static SaErrorT 1225eb8dc403SDave Cobbley IpmiSetIndicatorState( void *hnd, SaHpiResourceIdT id, 1226eb8dc403SDave Cobbley@@ -1426,7 +1426,7 @@ IpmiSetIndicatorState( void *hnd, SaHpiR 1227eb8dc403SDave Cobbley static SaErrorT 1228eb8dc403SDave Cobbley IpmiControlParm( void *, 1229eb8dc403SDave Cobbley SaHpiResourceIdT, 1230eb8dc403SDave Cobbley- SaHpiParmActionT ) __attribute__((used)); 1231eb8dc403SDave Cobbley+ SaHpiParmActionT ) __asm__("IpmiControlParm") __attribute__((used)); 1232eb8dc403SDave Cobbley 1233eb8dc403SDave Cobbley static SaErrorT 1234eb8dc403SDave Cobbley IpmiControlParm( void *hnd, 1235eb8dc403SDave Cobbley@@ -1449,7 +1449,7 @@ IpmiControlParm( void *hnd, 1236eb8dc403SDave Cobbley 1237eb8dc403SDave Cobbley static SaErrorT 1238eb8dc403SDave Cobbley IpmiGetResetState( void *, SaHpiResourceIdT, 1239eb8dc403SDave Cobbley- SaHpiResetActionT * ) __attribute__((used)); 1240eb8dc403SDave Cobbley+ SaHpiResetActionT * ) __asm__("IpmiGetResetState") __attribute__((used)); 1241eb8dc403SDave Cobbley 1242eb8dc403SDave Cobbley static SaErrorT 1243eb8dc403SDave Cobbley IpmiGetResetState( void *hnd, SaHpiResourceIdT id, 1244eb8dc403SDave Cobbley@@ -1472,7 +1472,7 @@ IpmiGetResetState( void *hnd, SaHpiResou 1245eb8dc403SDave Cobbley static SaErrorT 1246eb8dc403SDave Cobbley IpmiSetResetState( void *, 1247eb8dc403SDave Cobbley SaHpiResourceIdT, 1248eb8dc403SDave Cobbley- SaHpiResetActionT ) __attribute__((used)); 1249eb8dc403SDave Cobbley+ SaHpiResetActionT ) __asm__("IpmiSetResetState") __attribute__((used)); 1250eb8dc403SDave Cobbley 1251eb8dc403SDave Cobbley static SaErrorT 1252eb8dc403SDave Cobbley IpmiSetResetState( void *hnd, 1253eb8dc403SDave Cobbley@@ -1496,7 +1496,7 @@ static SaErrorT 1254eb8dc403SDave Cobbley IpmiGetWatchdogInfo(void *, 1255eb8dc403SDave Cobbley SaHpiResourceIdT, 1256eb8dc403SDave Cobbley SaHpiWatchdogNumT, 1257eb8dc403SDave Cobbley- SaHpiWatchdogT *) __attribute__((used)); 1258eb8dc403SDave Cobbley+ SaHpiWatchdogT *) __asm__("IpmiGetWatchdogInfo") __attribute__((used)); 1259eb8dc403SDave Cobbley 1260eb8dc403SDave Cobbley static SaErrorT 1261eb8dc403SDave Cobbley IpmiGetWatchdogInfo(void *hnd, 1262eb8dc403SDave Cobbley@@ -1517,7 +1517,7 @@ static SaErrorT 1263eb8dc403SDave Cobbley IpmiSetWatchdogInfo(void *, 1264eb8dc403SDave Cobbley SaHpiResourceIdT, 1265eb8dc403SDave Cobbley SaHpiWatchdogNumT, 1266eb8dc403SDave Cobbley- SaHpiWatchdogT *) __attribute__((used)); 1267eb8dc403SDave Cobbley+ SaHpiWatchdogT *) __asm__("IpmiSetWatchdogInfo") __attribute__((used)); 1268eb8dc403SDave Cobbley 1269eb8dc403SDave Cobbley static SaErrorT 1270eb8dc403SDave Cobbley IpmiSetWatchdogInfo(void *hnd, 1271eb8dc403SDave Cobbley@@ -1537,7 +1537,7 @@ IpmiSetWatchdogInfo(void *hnd, 1272eb8dc403SDave Cobbley static SaErrorT 1273eb8dc403SDave Cobbley IpmiResetWatchdog(void *, 1274eb8dc403SDave Cobbley SaHpiResourceIdT, 1275eb8dc403SDave Cobbley- SaHpiWatchdogNumT) __attribute__((used)); 1276eb8dc403SDave Cobbley+ SaHpiWatchdogNumT) __asm__("IpmiResetWatchdog") __attribute__((used)); 1277eb8dc403SDave Cobbley 1278eb8dc403SDave Cobbley static SaErrorT 1279eb8dc403SDave Cobbley IpmiResetWatchdog(void *hnd, 1280