VirtualBox

Changeset 85197 in vbox for trunk/src/VBox/Devices/EFI


Ignore:
Timestamp:
Jul 10, 2020 3:13:25 PM (5 years ago)
Author:
vboxsync
Message:

DevSmc.cpp: Missing DECLCALLBACK on definitions. bugref:9794

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/DevSmc.cpp

    r85121 r85197  
    578578
    579579/** @callback_method_impl{FNDEVSMCKEYGETTER, OSK0 and OSK1} */
    580 static uint8_t scmKeyGetOSKs(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc)
     580static DECLCALLBACK(uint8_t) scmKeyGetOSKs(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc)
    581581{
    582582    RT_NOREF1(bCmd);
     
    591591
    592592/** @callback_method_impl{FNDEVSMCKEYGETTER, \#KEY} */
    593 static uint8_t scmKeyGetKeyCount(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc)
     593static DECLCALLBACK(uint8_t) scmKeyGetKeyCount(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc)
    594594{
    595595    RT_NOREF3(pThis, bCmd, pKeyDesc);
     
    602602
    603603/** @callback_method_impl{FNDEVSMCKEYGETTER, REV - Source revision.} */
    604 static uint8_t scmKeyGetRevision(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc)
     604static DECLCALLBACK(uint8_t) scmKeyGetRevision(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc)
    605605{
    606606    RT_NOREF3(pThis, bCmd, pKeyDesc);
     
    626626
    627627/** @callback_method_impl{FNDEVSMCKEYGETTER, $Adr - SMC address.} */
    628 static uint8_t scmKeyGetDollarAddress(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc)
     628static DECLCALLBACK(uint8_t) scmKeyGetDollarAddress(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc)
    629629{
    630630    RT_NOREF3(pThis, bCmd, pKeyDesc);
     
    635635
    636636/** @callback_method_impl{FNDEVSMCKEYGETTER, $Num - Some kind of number.} */
    637 static uint8_t scmKeyGetDollarNumber(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc)
     637static DECLCALLBACK(uint8_t) scmKeyGetDollarNumber(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc)
    638638{
    639639    RT_NOREF2(bCmd, pKeyDesc);
     
    643643
    644644/** @callback_method_impl{FNDEVSMCKEYPUTTER, $Num - Some kind of number.} */
    645 static uint8_t scmKeyPutDollarNumber(PDEVSMC pThis, PCDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc)
     645static DECLCALLBACK(uint8_t) scmKeyPutDollarNumber(PDEVSMC pThis, PCDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc)
    646646{
    647647    RT_NOREF2(bCmd, pKeyDesc);
     
    654654
    655655/** @callback_method_impl{FNDEVSMCKEYGETTER, MSSD - Machine Shutdown reason.} */
    656 static uint8_t scmKeyGetShutdownReason(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc)
     656static DECLCALLBACK(uint8_t) scmKeyGetShutdownReason(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc)
    657657{
    658658    RT_NOREF2(bCmd, pKeyDesc);
     
    663663
    664664/** @callback_method_impl{FNDEVSMCKEYPUTTER, MSSD - Machine Shutdown reason.} */
    665 static uint8_t scmKeyPutShutdownReason(PDEVSMC pThis, PCDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc)
     665static DECLCALLBACK(uint8_t) scmKeyPutShutdownReason(PDEVSMC pThis, PCDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc)
    666666{
    667667    RT_NOREF2(bCmd, pKeyDesc);
     
    673673
    674674/** @callback_method_impl{FNDEVSMCKEYGETTER, MSSD - Ninja timer action job.} */
    675 static uint8_t scmKeyGetNinjaTimerAction(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc)
     675static DECLCALLBACK(uint8_t)
     676scmKeyGetNinjaTimerAction(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc)
    676677{
    677678    RT_NOREF2(bCmd, pKeyDesc);
     
    682683
    683684/** @callback_method_impl{FNDEVSMCKEYPUTTER, NATJ - Ninja timer action job.} */
    684 static uint8_t scmKeyPutNinjaTimerAction(PDEVSMC pThis, PCDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc)
     685static DECLCALLBACK(uint8_t)
     686scmKeyPutNinjaTimerAction(PDEVSMC pThis, PCDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc)
    685687{
    686688    RT_NOREF2(bCmd, pKeyDesc);
     
    693695
    694696/** @callback_method_impl{FNDEVSMCKEYGETTER, Generic one getter.} */
    695 static uint8_t scmKeyGetOne(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc)
     697static DECLCALLBACK(uint8_t) scmKeyGetOne(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc)
    696698{
    697699    RT_NOREF2(pThis, bCmd);
     
    704706
    705707/** @callback_method_impl{FNDEVSMCKEYGETTER, Generic zero getter.} */
    706 static uint8_t scmKeyGetZero(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc)
     708static DECLCALLBACK(uint8_t) scmKeyGetZero(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc)
    707709{
    708710    RT_NOREF2(pThis, bCmd);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette