Searched refs:Guest (Results 1 - 25 of 56) sorted by relevance

123

/vbox/src/VBox/VMM/VMMAll/
H A DCPUMAllRegs.cpp60 * Converts a CPUMCPU::Guest pointer into a VMCPU pointer.
65 #define CPUM_GUEST_CTX_TO_VMCPU(a_pGuestCtx) RT_FROM_MEMBER(a_pGuestCtx, VMCPU, cpum.s.Guest)
96 Assert((uintptr_t)(pSReg - &pVCpu->cpum.s.Guest.es) < X86_SREG_COUNT);
98 if (pVCpu->cpum.s.Guest.eflags.Bits.u1VM)
102 pSReg->Attr.n.u4Type = pSReg == &pVCpu->cpum.s.Guest.cs ? X86_SEL_TYPE_ER_ACC : X86_SEL_TYPE_RW_ACC;
112 else if (!(pVCpu->cpum.s.Guest.cr0 & X86_CR0_PE))
134 SELMLoadHiddenSelectorReg(pVCpu, &pVCpu->cpum.s.Guest, pSReg);
147 CPUMSELREG_LAZY_LOAD_HIDDEN_PARTS(pVCpu, &pVCpu->cpum.s.Guest.cs);
148 CPUMSELREG_LAZY_LOAD_HIDDEN_PARTS(pVCpu, &pVCpu->cpum.s.Guest.ss);
330 if (!CPUMIsGuestInLongModeEx(&(a_pVCpu)->cpum.s.Guest)) \
[all...]
H A DCPUMAllMsrs.cpp218 *puValue = pVCpu->cpum.s.Guest.msrApicBase;
507 *puValue = pVCpu->cpum.s.Guest.msrPAT;
515 pVCpu->cpum.s.Guest.msrPAT = uValue;
523 *puValue = pVCpu->cpum.s.Guest.SysEnter.cs;
533 pVCpu->cpum.s.Guest.SysEnter.cs = uValue;
541 *puValue = pVCpu->cpum.s.Guest.SysEnter.esp;
551 pVCpu->cpum.s.Guest.SysEnter.esp = uValue;
562 *puValue = pVCpu->cpum.s.Guest.SysEnter.eip;
572 pVCpu->cpum.s.Guest.SysEnter.eip = uValue;
1320 *puValue = pVCpu->cpum.s.Guest
[all...]
/vbox/src/VBox/VMM/VMMRC/
H A DCPUMRCA.asm52 ; Two actions may be taken in this handler since the Guest OS may
54 ; traps which the Guest CPU CTX shall have according to the
55 ; its CR0 flags. If no traps for the Guest OS, we'll save the host
111 mov eax, [pCpumCpu + CPUMCPU.Guest.cr0]
158 mov eax, [pCpumCpu + CPUMCPU.Guest.fXStateMask]
159 mov pXState, [pCpumCpu + CPUMCPU.Guest.pXStateRC]
162 mov edx, [pCpumCpu + CPUMCPU.Guest.fXStateMask + 4]
183 ; Action - Generate Guest trap.
328 push dword [edx + CPUMCPU.Guest.ss.Sel]
329 push dword [edx + CPUMCPU.Guest
[all...]
H A DCPUMRC.cpp93 PCCPUMCTX pCtx = &pVCpu->cpum.s.Guest;
H A DMMRamRCA.asm3 ; MMRamGCA - Guest Context Ram access Assembly Routines.
/vbox/src/VBox/Main/src-client/
H A DGuestImpl.cpp3 * VirtualBox COM class implementation: Guest features.
48 DEFINE_EMPTY_CTOR_DTOR(Guest)
50 HRESULT Guest::FinalConstruct()
55 void Guest::FinalRelease()
67 HRESULT Guest::init(Console *aParent)
108 &Guest::i_staticUpdateStats, this);
149 void Guest::uninit()
196 DECLCALLBACK(void) Guest::i_staticUpdateStats(RTTIMERLR hTimerLR, void *pvUser, uint64_t iTick)
199 Guest *guest = static_cast<Guest *>(pvUse
[all...]
H A DGuestCtrlImpl.cpp3 * VirtualBox COM class implementation: Guest
66 DECLCALLBACK(int) Guest::i_notifyCtrlDispatcher(void *pvExtension,
79 ComObjPtr<Guest> pGuest = reinterpret_cast<Guest *>(pvExtension);
116 HRESULT Guest::updateGuestAdditions(const com::Utf8Str &aSource, const std::vector<com::Utf8Str> &aArguments,
153 * Create an anonymous session. This is required to run the Guest Additions
157 startupInfo.mName = "Updating Guest Additions";
199 rc = pSession->i_startTaskAsync(tr("Updating Guest Additions"), pTask, pProgress);
207 tr("Starting task for updating Guest Additions on the guest failed: %Rrc"), rc);
222 int Guest
[all...]
H A DVMMDevInterface.cpp162 Guest* guest = pConsole->i_getGuest();
184 Guest* pGuest = pConsole->i_getGuest();
193 * Reports Guest Additions API and OS version.
210 Guest* guest = pConsole->i_getGuest();
237 guest->i_setAdditionsInfo2(0, "", 0, 0); /* Clear Guest Additions version. */
256 Guest *pGuest = pDrv->pVMMDev->getParent()->i_getGuest();
285 Guest* pGuest = pConsole->i_getGuest();
491 Guest* guest = pConsole->i_getGuest();
517 Guest* guest = pConsole->i_getGuest();
543 Guest* gues
[all...]
H A DAdditionsFacilityImpl.cpp59 HRESULT AdditionsFacility::init(Guest *a_pParent, AdditionsFacilityType_T a_enmFacility, AdditionsFacilityStatus_T a_enmStatus,
H A DGuestDnDPrivate.cpp67 * 4. Guest additions: Split into the platform neutral part (see
73 * Host -> Guest:
81 * Guest -> Host:
161 GuestDnDResponse::GuestDnDResponse(const ComObjPtr<Guest>& pGuest)
211 Utf8Str GuestDnDResponse::errorToString(const ComObjPtr<Guest>& pGuest, int guestRc)
276 HRESULT GuestDnDResponse::resetProgress(const ComObjPtr<Guest>& pParent)
444 GuestDnD::GuestDnD(const ComObjPtr<Guest> &pGuest)
H A DGuestDnDSourceImpl.cpp3 * VBox Console COM Class implementation - Guest drag and drop source.
64 int GuestDnDSource::init(const ComObjPtr<Guest>& pGuest)
/vbox/src/VBox/Main/include/
H A DGuestDnDPrivate.h25 class Guest;
37 GuestDnDResponse(const ComObjPtr<Guest>& pGuest);
65 HRESULT resetProgress(const ComObjPtr<Guest>& pParent);
72 Utf8Str errorToString(const ComObjPtr<Guest>& pGuest, int guestRc);
94 ComObjPtr<Guest> m_parent;
107 static GuestDnD *createInstance(const ComObjPtr<Guest>& pGuest)
131 GuestDnD(const ComObjPtr<Guest>& pGuest);
168 const ComObjPtr<Guest> m_pGuest;
219 const ComObjPtr<Guest> m_pGuest;
H A DAdditionsFacilityImpl.h25 class Guest;
35 HRESULT init(Guest *a_pParent, AdditionsFacilityType_T a_enmFacility, AdditionsFacilityStatus_T a_enmStatus,
H A DGuestDnDSourceImpl.h3 * VBox Console COM Class implementation - Guest drag'n drop source.
33 int init(const ComObjPtr<Guest>& pGuest);
62 const ComObjPtr<Guest> m_pGuest;
H A DGuestDnDTargetImpl.h3 * VBox Console COM Class implementation - Guest drag'n drop target.
33 int init(const ComObjPtr<Guest>& pGuest);
64 const ComObjPtr<Guest> m_pGuest;
H A DGuestCtrlImplPrivate.h351 class Guest;
365 /** Update Guest Additions by directly copying the required installer
371 GuestTask(TaskType aTaskType, Guest *aThat, Progress *aProgress);
383 ComObjPtr<Progress> pProgress, ComObjPtr<Guest> pGuest);
386 ComObjPtr<Guest> pGuest;
H A DGuestImpl.h52 class ATL_NO_VTABLE Guest : class in inherits:GuestWrap
57 DECLARE_EMPTY_CTOR_DTOR (Guest)
H A DGuestSessionImpl.h3 * VirtualBox Main - Guest session handling.
32 class Guest;
53 int getGuestProperty(const ComObjPtr<Guest> &pGuest,
153 * Task for automatically updating the Guest Additions on the guest.
231 /** The (optionally) specified Guest Additions .ISO on the host
241 * Guest session implementation.
252 int init(Guest *pGuest, const GuestSessionStartupInfo &ssInfo, const GuestCredentials &guestCreds);
429 Guest *i_getParent(void) { return mParent; }
451 /** Pointer to the parent (Guest). */
452 Guest *mParen
[all...]
/vbox/src/VBox/VMM/VMMR0/
H A DCPUMR0.cpp489 memcpy(&aGuestXmmRegs[0], &pVCpu->cpum.s.Guest.CTX_SUFF(pXState)->x87.aXMM[0], sizeof(aGuestXmmRegs));
512 memcpy(&pVCpu->cpum.s.Guest.CTX_SUFF(pXState)->x87.aXMM[0], &aGuestXmmRegs[0], sizeof(aGuestXmmRegs));
586 if (CPUMIsGuestInLongModeEx(&pVCpu->cpum.s.Guest))
588 uint64_t uDr6 = pVCpu->cpum.s.Guest.dr[6];
589 HMR0SaveDebugState(pVCpu->CTX_SUFF(pVM), pVCpu, &pVCpu->cpum.s.Guest);
591 pVCpu->cpum.s.Guest.dr[6] = uDr6;
597 cpumR0SaveDRx(&pVCpu->cpum.s.Guest.dr[0]);
599 pVCpu->cpum.s.Guest.dr[0] = ASMGetDR0();
600 pVCpu->cpum.s.Guest.dr[1] = ASMGetDR1();
601 pVCpu->cpum.s.Guest
[all...]
H A DCPUMR0A.asm341 mov pXState, [pCpumCpu + CPUMCPU.Guest.pXStateR0]
342 mov eax, [pCpumCpu + CPUMCPU.Guest.fXStateMask]
356 mov edx, [pCpumCpu + CPUMCPU.Guest.fXStateMask + 4]
380 mov edx, [pCpumCpu + CPUMCPU.Guest.fXStateMask + 4]
435 mov pXState, [pCpumCpu + CPUMCPU.Guest.pXStateR0]
436 mov eax, [pCpumCpu + CPUMCPU.Guest.fXStateMask]
450 mov edx, [pCpumCpu + CPUMCPU.Guest.fXStateMask + 4]
474 mov edx, [pCpumCpu + CPUMCPU.Guest.fXStateMask + 4]
/vbox/src/VBox/Additions/WINNT/SharedFolders/driver/
H A DWin2kWorkaroundsA.asm3 ; VirtualBox Windows Guest Shared Folders - Windows 2000 Hacks, Assembly Parts.
/vbox/src/VBox/VMM/VMMR3/
H A DCPUM.cpp681 pVCpu->cpum.s.Guest.pXStateR3 = (PX86XSAVEAREA)pbXStates;
682 pVCpu->cpum.s.Guest.pXStateR0 = MMHyperR3ToR0(pVM, pbXStates);
683 pVCpu->cpum.s.Guest.pXStateRC = MMHyperR3ToR0(pVM, pbXStates);
733 * Initialize the Guest CPUID and MSR states.
762 pVCpu->cpum.s.Guest.pXStateRC = MMHyperR3ToRC(pVM, pVCpu->cpum.s.Guest.pXStateR3);
837 PCPUMCTX pCtx = &pVCpu->cpum.s.Guest;
987 PCPUMCTX pCtx = &pVM->aCpus[i].cpum.s.Guest;
1043 SSMR3PutStructEx(pSSM, &pVCpu->cpum.s.Guest.pXStateR3->x87, sizeof(*pVCpu->cpum.s.Guest
[all...]
H A DCPUMDbg.cpp111 void const *pv = (uint8_t const *)&pVCpu->cpum.s.Guest.pXStateR3 + pDesc->offRegister;
134 void *pv = (uint8_t *)&pVCpu->cpum.s.Guest.pXStateR3 + pDesc->offRegister;
347 * Guest register access functions.
598 PX86FXSTATE pFpuCtx = &pVCpu->cpum.s.Guest.CTX_SUFF(pXState)->x87;
1123 { a_szName, DBGFREG_##a_RegSuff, DBGFREGVALTYPE_##a_TypeSuff, 0 /*fFlags*/, RT_OFFSETOF(CPUMCPU, Guest.a_CpumCtxMemb), a_pfnGet, a_pfnSet, a_paAliases, a_paSubFields }
1125 { a_szName, DBGFREG_##a_RegSuff, DBGFREGVALTYPE_##a_TypeSuff, DBGFREG_FLAGS_READ_ONLY, RT_OFFSETOF(CPUMCPU, Guest.a_CpumCtxMemb), a_pfnGet, a_pfnSet, a_paAliases, a_paSubFields }
1234 CPU_REG_EX_AS("ah", AH, U8, RT_OFFSETOF(CPUMCPU, Guest.rax) + 1, cpumR3RegGet_Generic, cpumR3RegSet_Generic, NULL, NULL ),
1235 CPU_REG_EX_AS("ch", CH, U8, RT_OFFSETOF(CPUMCPU, Guest.rcx) + 1, cpumR3RegGet_Generic, cpumR3RegSet_Generic, NULL, NULL ),
1236 CPU_REG_EX_AS("dh", DH, U8, RT_OFFSETOF(CPUMCPU, Guest.rdx) + 1, cpumR3RegGet_Generic, cpumR3RegSet_Generic, NULL, NULL ),
1237 CPU_REG_EX_AS("bh", BH, U8, RT_OFFSETOF(CPUMCPU, Guest
[all...]
/vbox/src/VBox/Additions/linux/installer/
H A Dvboxadd-x11.sh279 echo "VirtualBox Guest Additions installation, Window System and desktop setup" > $LOG
284 fail "Invalid Guest Additions configuration found"
470 begin "Setting up the Window System to use the Guest Additions"
512 the VirtualBox Guest Additions and were not modified:
519 to enable the Guest Additions.
612 have been changed since they were generated by the VirtualBox Guest Additions.
622 contain references to the Guest Additions drivers. You may wish to check and
/vbox/src/VBox/VMM/testcase/
H A DtstVMStructSize.cpp274 CHECK_MEMBER_ALIGNMENT(VM, aCpus[0].cpum.s.Guest, 64);
276 CHECK_MEMBER_ALIGNMENT(VM, aCpus[1].cpum.s.Guest, 64);

Completed in 136 milliseconds

123