VirtualBox

Changeset 97470 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Nov 9, 2022 12:10:02 AM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
154480
Message:

VMM/IEM: Must use DECL_INLINE_THROW with IEM_NOEXCEPT_MAY_LONGJMP. bugref:9898

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/include/IEMInline.h

    r97458 r97470  
    381381 * @param   pVCpu               The cross context virtual CPU structure of the calling thread.
    382382 */
    383 DECLINLINE(uint8_t) iemOpcodeGetNextU8Jmp(PVMCPUCC pVCpu) IEM_NOEXCEPT_MAY_LONGJMP
     383DECL_INLINE_THROW(uint8_t) iemOpcodeGetNextU8Jmp(PVMCPUCC pVCpu) IEM_NOEXCEPT_MAY_LONGJMP
    384384{
    385385# ifdef IEM_WITH_CODE_TLB
     
    612612 * @param   pVCpu               The cross context virtual CPU structure of the calling thread.
    613613 */
    614 DECLINLINE(uint8_t) iemOpcodeGetNextRmJmp(PVMCPUCC pVCpu) IEM_NOEXCEPT_MAY_LONGJMP
     614DECL_INLINE_THROW(uint8_t) iemOpcodeGetNextRmJmp(PVMCPUCC pVCpu) IEM_NOEXCEPT_MAY_LONGJMP
    615615{
    616616# ifdef IEM_WITH_CODE_TLB
     
    694694 * @param   pVCpu               The cross context virtual CPU structure of the calling thread.
    695695 */
    696 DECLINLINE(uint16_t) iemOpcodeGetNextU16Jmp(PVMCPUCC pVCpu) IEM_NOEXCEPT_MAY_LONGJMP
     696DECL_INLINE_THROW(uint16_t) iemOpcodeGetNextU16Jmp(PVMCPUCC pVCpu) IEM_NOEXCEPT_MAY_LONGJMP
    697697{
    698698# ifdef IEM_WITH_CODE_TLB
     
    893893 * @param   pVCpu               The cross context virtual CPU structure of the calling thread.
    894894 */
    895 DECLINLINE(uint32_t) iemOpcodeGetNextU32Jmp(PVMCPUCC pVCpu) IEM_NOEXCEPT_MAY_LONGJMP
     895DECL_INLINE_THROW(uint32_t) iemOpcodeGetNextU32Jmp(PVMCPUCC pVCpu) IEM_NOEXCEPT_MAY_LONGJMP
    896896{
    897897# ifdef IEM_WITH_CODE_TLB
     
    11081108 * @param   pVCpu               The cross context virtual CPU structure of the calling thread.
    11091109 */
    1110 DECLINLINE(uint64_t) iemOpcodeGetNextU64Jmp(PVMCPUCC pVCpu) IEM_NOEXCEPT_MAY_LONGJMP
     1110DECL_INLINE_THROW(uint64_t) iemOpcodeGetNextU64Jmp(PVMCPUCC pVCpu) IEM_NOEXCEPT_MAY_LONGJMP
    11111111{
    11121112# ifdef IEM_WITH_CODE_TLB
     
    25412541
    25422542/** @todo slim this down   */
    2543 DECLINLINE(RTGCPTR) iemMemApplySegmentToReadJmp(PVMCPUCC pVCpu, uint8_t iSegReg, size_t cbMem,
    2544                                                 RTGCPTR GCPtrMem) IEM_NOEXCEPT_MAY_LONGJMP
     2543DECL_INLINE_THROW(RTGCPTR) iemMemApplySegmentToReadJmp(PVMCPUCC pVCpu, uint8_t iSegReg,
     2544                                                       size_t cbMem, RTGCPTR GCPtrMem) IEM_NOEXCEPT_MAY_LONGJMP
    25452545{
    25462546    Assert(cbMem >= 1);
     
    26192619
    26202620/** @todo slim this down   */
    2621 DECLINLINE(RTGCPTR) iemMemApplySegmentToWriteJmp(PVMCPUCC pVCpu, uint8_t iSegReg, size_t cbMem,
    2622                                                  RTGCPTR GCPtrMem) IEM_NOEXCEPT_MAY_LONGJMP
     2621DECL_INLINE_THROW(RTGCPTR) iemMemApplySegmentToWriteJmp(PVMCPUCC pVCpu, uint8_t iSegReg, size_t cbMem,
     2622                                                        RTGCPTR GCPtrMem) IEM_NOEXCEPT_MAY_LONGJMP
    26232623{
    26242624    Assert(cbMem >= 1);
Note: See TracChangeset for help on using the changeset viewer.

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