VirtualBox

Changeset 40424 in vbox


Ignore:
Timestamp:
Mar 12, 2012 11:04:15 AM (13 years ago)
Author:
vboxsync
Message:

gcc-4.7 is more paranoid when checking function declarations regarding attribute((regparm(0)))

Location:
trunk/src/VBox/VMM/VMMR0
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR0/CPUMR0.cpp

    r39078 r40424  
    677677 * Play safe and treat each CPU separate.
    678678 */
    679 static void cpumR0MapLocalApicWorker(RTCPUID idCpu, void *pvUser1, void *pvUser2)
     679static DECLCALLBACK(void) cpumR0MapLocalApicWorker(RTCPUID idCpu, void *pvUser1, void *pvUser2)
    680680{
    681681    NOREF(pvUser1); NOREF(pvUser2);
  • trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp

    r40360 r40424  
    7474*******************************************************************************/
    7575static void hmR0VmxReportWorldSwitchError(PVM pVM, PVMCPU pVCpu, VBOXSTRICTRC rc, PCPUMCTX pCtx);
    76 static void hmR0VmxSetupTLBEPT(PVM pVM, PVMCPU pVCpu);
    77 static void hmR0VmxSetupTLBVPID(PVM pVM, PVMCPU pVCpu);
    78 static void hmR0VmxSetupTLBDummy(PVM pVM, PVMCPU pVCpu);
     76static DECLCALLBACK(void) hmR0VmxSetupTLBEPT(PVM pVM, PVMCPU pVCpu);
     77static DECLCALLBACK(void) hmR0VmxSetupTLBVPID(PVM pVM, PVMCPU pVCpu);
     78static DECLCALLBACK(void) hmR0VmxSetupTLBDummy(PVM pVM, PVMCPU pVCpu);
    7979static void hmR0VmxFlushEPT(PVM pVM, PVMCPU pVCpu, VMX_FLUSH enmFlush, RTGCPHYS GCPhys);
    8080static void hmR0VmxFlushVPID(PVM pVM, PVMCPU pVCpu, VMX_FLUSH enmFlush, RTGCPTR GCPtr);
     
    21252125 * @param   pVCpu       The VMCPU to operate on.
    21262126 */
    2127 static void hmR0VmxSetupTLBDummy(PVM pVM, PVMCPU pVCpu)
     2127static DECLCALLBACK(void) hmR0VmxSetupTLBDummy(PVM pVM, PVMCPU pVCpu)
    21282128{
    21292129    NOREF(pVM);
     
    21412141 * @param   pVCpu       The VMCPU to operate on.
    21422142 */
    2143 static void hmR0VmxSetupTLBEPT(PVM pVM, PVMCPU pVCpu)
     2143static DECLCALLBACK(void) hmR0VmxSetupTLBEPT(PVM pVM, PVMCPU pVCpu)
    21442144{
    21452145    PHMGLOBLCPUINFO pCpu;
     
    22062206 * @param   pVCpu       The VMCPU to operate on.
    22072207 */
    2208 static void hmR0VmxSetupTLBVPID(PVM pVM, PVMCPU pVCpu)
     2208static DECLCALLBACK(void) hmR0VmxSetupTLBVPID(PVM pVM, PVMCPU pVCpu)
    22092209{
    22102210    PHMGLOBLCPUINFO pCpu;
  • trunk/src/VBox/VMM/VMMR0/VMMR0.cpp

    r40280 r40424  
    12721272 * @param   pvArgs      The argument package
    12731273 */
    1274 static int vmmR0EntryExWrapper(void *pvArgs)
     1274static DECLCALLBACK(int) vmmR0EntryExWrapper(void *pvArgs)
    12751275{
    12761276    return vmmR0EntryExWorker(((PVMMR0ENTRYEXARGS)pvArgs)->pVM,
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