Changeset 85197 in vbox for trunk/src/VBox/Devices/EFI
- Timestamp:
- Jul 10, 2020 3:13:25 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/DevSmc.cpp
r85121 r85197 578 578 579 579 /** @callback_method_impl{FNDEVSMCKEYGETTER, OSK0 and OSK1} */ 580 static uint8_tscmKeyGetOSKs(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc)580 static DECLCALLBACK(uint8_t) scmKeyGetOSKs(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc) 581 581 { 582 582 RT_NOREF1(bCmd); … … 591 591 592 592 /** @callback_method_impl{FNDEVSMCKEYGETTER, \#KEY} */ 593 static uint8_tscmKeyGetKeyCount(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc)593 static DECLCALLBACK(uint8_t) scmKeyGetKeyCount(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc) 594 594 { 595 595 RT_NOREF3(pThis, bCmd, pKeyDesc); … … 602 602 603 603 /** @callback_method_impl{FNDEVSMCKEYGETTER, REV - Source revision.} */ 604 static uint8_tscmKeyGetRevision(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc)604 static DECLCALLBACK(uint8_t) scmKeyGetRevision(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc) 605 605 { 606 606 RT_NOREF3(pThis, bCmd, pKeyDesc); … … 626 626 627 627 /** @callback_method_impl{FNDEVSMCKEYGETTER, $Adr - SMC address.} */ 628 static uint8_tscmKeyGetDollarAddress(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc)628 static DECLCALLBACK(uint8_t) scmKeyGetDollarAddress(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc) 629 629 { 630 630 RT_NOREF3(pThis, bCmd, pKeyDesc); … … 635 635 636 636 /** @callback_method_impl{FNDEVSMCKEYGETTER, $Num - Some kind of number.} */ 637 static uint8_tscmKeyGetDollarNumber(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc)637 static DECLCALLBACK(uint8_t) scmKeyGetDollarNumber(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc) 638 638 { 639 639 RT_NOREF2(bCmd, pKeyDesc); … … 643 643 644 644 /** @callback_method_impl{FNDEVSMCKEYPUTTER, $Num - Some kind of number.} */ 645 static uint8_tscmKeyPutDollarNumber(PDEVSMC pThis, PCDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc)645 static DECLCALLBACK(uint8_t) scmKeyPutDollarNumber(PDEVSMC pThis, PCDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc) 646 646 { 647 647 RT_NOREF2(bCmd, pKeyDesc); … … 654 654 655 655 /** @callback_method_impl{FNDEVSMCKEYGETTER, MSSD - Machine Shutdown reason.} */ 656 static uint8_tscmKeyGetShutdownReason(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc)656 static DECLCALLBACK(uint8_t) scmKeyGetShutdownReason(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc) 657 657 { 658 658 RT_NOREF2(bCmd, pKeyDesc); … … 663 663 664 664 /** @callback_method_impl{FNDEVSMCKEYPUTTER, MSSD - Machine Shutdown reason.} */ 665 static uint8_tscmKeyPutShutdownReason(PDEVSMC pThis, PCDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc)665 static DECLCALLBACK(uint8_t) scmKeyPutShutdownReason(PDEVSMC pThis, PCDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc) 666 666 { 667 667 RT_NOREF2(bCmd, pKeyDesc); … … 673 673 674 674 /** @callback_method_impl{FNDEVSMCKEYGETTER, MSSD - Ninja timer action job.} */ 675 static uint8_t scmKeyGetNinjaTimerAction(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc) 675 static DECLCALLBACK(uint8_t) 676 scmKeyGetNinjaTimerAction(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc) 676 677 { 677 678 RT_NOREF2(bCmd, pKeyDesc); … … 682 683 683 684 /** @callback_method_impl{FNDEVSMCKEYPUTTER, NATJ - Ninja timer action job.} */ 684 static uint8_t scmKeyPutNinjaTimerAction(PDEVSMC pThis, PCDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc) 685 static DECLCALLBACK(uint8_t) 686 scmKeyPutNinjaTimerAction(PDEVSMC pThis, PCDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc) 685 687 { 686 688 RT_NOREF2(bCmd, pKeyDesc); … … 693 695 694 696 /** @callback_method_impl{FNDEVSMCKEYGETTER, Generic one getter.} */ 695 static uint8_tscmKeyGetOne(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc)697 static DECLCALLBACK(uint8_t) scmKeyGetOne(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc) 696 698 { 697 699 RT_NOREF2(pThis, bCmd); … … 704 706 705 707 /** @callback_method_impl{FNDEVSMCKEYGETTER, Generic zero getter.} */ 706 static uint8_tscmKeyGetZero(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc)708 static DECLCALLBACK(uint8_t) scmKeyGetZero(PDEVSMC pThis, PDEVSMCCURKEY pCurKey, uint8_t bCmd, PCDEVSMCKEYDESC pKeyDesc) 707 709 { 708 710 RT_NOREF2(pThis, bCmd);
Note:
See TracChangeset
for help on using the changeset viewer.