VirtualBox

Changeset 13595 in vbox


Ignore:
Timestamp:
Oct 27, 2008 6:44:32 PM (16 years ago)
Author:
vboxsync
Message:

SSM: removed RTHCUINT/RTHCINT methods. (unused and now deprecated types)

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/ssm.h

    r13594 r13595  
    460460VMMR3DECL(int) SSMR3PutGCUIntPtr(PSSMHANDLE pSSM, RTGCUINTPTR GCPtr);
    461461VMMR3DECL(int) SSMR3PutRCPtr(PSSMHANDLE pSSM, RTRCPTR RCPtr);
    462 VMMR3DECL(int) SSMR3PutHCUInt(PSSMHANDLE pSSM, RTHCUINT u);
    463 VMMR3DECL(int) SSMR3PutHCSInt(PSSMHANDLE pSSM, RTHCINT i);
    464462VMMR3DECL(int) SSMR3PutIOPort(PSSMHANDLE pSSM, RTIOPORT IOPort);
    465463VMMR3DECL(int) SSMR3PutSel(PSSMHANDLE pSSM, RTSEL Sel);
     
    496494VMMR3DECL(int) SSMR3GetRCPtr(PSSMHANDLE pSSM, PRTRCPTR pRCPtr);
    497495VMMR3DECL(int) SSMR3GetIOPort(PSSMHANDLE pSSM, PRTIOPORT pIOPort);
    498 VMMR3DECL(int) SSMR3GetHCUInt(PSSMHANDLE pSSM, PRTHCUINT pu);
    499 VMMR3DECL(int) SSMR3GetHCSInt(PSSMHANDLE pSSM, PRTHCINT pi);
    500496VMMR3DECL(int) SSMR3GetSel(PSSMHANDLE pSSM, PRTSEL pSel);
    501497VMMR3DECL(int) SSMR3GetMem(PSSMHANDLE pSSM, void *pv, size_t cb);
  • trunk/src/VBox/VMM/SSM.cpp

    r13594 r13595  
    25052505
    25062506/**
    2507  * Saves a HC natural unsigned integer item to the current data unit.
    2508  *
    2509  * @returns VBox status.
    2510  * @param   pSSM            SSM operation handle.
    2511  * @param   u               Item to save.
    2512  */
    2513 VMMR3DECL(int) SSMR3PutHCUInt(PSSMHANDLE pSSM, RTHCUINT u)
    2514 {
    2515     if (pSSM->enmOp == SSMSTATE_SAVE_EXEC)
    2516         return ssmR3Write(pSSM, &u, sizeof(u));
    2517     AssertMsgFailed(("Invalid state %d\n", pSSM->enmOp));
    2518     return VERR_SSM_INVALID_STATE;
    2519 }
    2520 
    2521 
    2522 /**
    2523  * Saves a HC natural signed integer item to the current data unit.
    2524  *
    2525  * @returns VBox status.
    2526  * @param   pSSM            SSM operation handle.
    2527  * @param   i               Item to save.
    2528  */
    2529 VMMR3DECL(int) SSMR3PutHCSInt(PSSMHANDLE pSSM, RTHCINT i)
    2530 {
    2531     if (pSSM->enmOp == SSMSTATE_SAVE_EXEC)
    2532         return ssmR3Write(pSSM, &i, sizeof(i));
    2533     AssertMsgFailed(("Invalid state %d\n", pSSM->enmOp));
    2534     return VERR_SSM_INVALID_STATE;
    2535 }
    2536 
    2537 
    2538 /**
    25392507 * Saves a I/O port address item to the current data unit.
    25402508 *
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