faults.cc (11574:868c31fcca24) | faults.cc (11576:9ff589e30935) |
---|---|
1/* 2 * Copyright (c) 2010, 2012-2014, 2016 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 827 unchanged lines hidden (view full) --- 836} 837 838 839HypervisorCall::HypervisorCall(ExtMachInst _machInst, uint32_t _imm) : 840 ArmFaultVals<HypervisorCall>(_machInst, _imm) 841{} 842 843ExceptionClass | 1/* 2 * Copyright (c) 2010, 2012-2014, 2016 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 827 unchanged lines hidden (view full) --- 836} 837 838 839HypervisorCall::HypervisorCall(ExtMachInst _machInst, uint32_t _imm) : 840 ArmFaultVals<HypervisorCall>(_machInst, _imm) 841{} 842 843ExceptionClass |
844HypervisorCall::ec(ThreadContext *tc) const 845{ 846 return from64 ? EC_HVC_64 : vals.ec; 847} 848 849ExceptionClass |
|
844HypervisorTrap::ec(ThreadContext *tc) const 845{ 846 return (overrideEc != EC_INVALID) ? overrideEc : vals.ec; 847} 848 849template<class T> 850FaultOffset 851ArmFaultVals<T>::offset(ThreadContext *tc) --- 587 unchanged lines hidden --- | 850HypervisorTrap::ec(ThreadContext *tc) const 851{ 852 return (overrideEc != EC_INVALID) ? overrideEc : vals.ec; 853} 854 855template<class T> 856FaultOffset 857ArmFaultVals<T>::offset(ThreadContext *tc) --- 587 unchanged lines hidden --- |