faults.cc (12589:812b72ee214c) | faults.cc (12732:c8b4f25eea9b) |
---|---|
1/* 2 * Copyright (c) 2010, 2012-2014, 2016-2018 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 --- 1529 unchanged lines hidden (view full) --- 1538 1539 const HCR hcr = tc->readMiscRegNoEffect(MISCREG_HCR_EL2); 1540 const HDCR mdcr = tc->readMiscRegNoEffect(MISCREG_MDCR_EL2); 1541 1542 return have_el2 && !inSecureState(tc) && fromEL <= EL1 && 1543 (hcr.tge || mdcr.tde); 1544} 1545 | 1/* 2 * Copyright (c) 2010, 2012-2014, 2016-2018 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 --- 1529 unchanged lines hidden (view full) --- 1538 1539 const HCR hcr = tc->readMiscRegNoEffect(MISCREG_HCR_EL2); 1540 const HDCR mdcr = tc->readMiscRegNoEffect(MISCREG_MDCR_EL2); 1541 1542 return have_el2 && !inSecureState(tc) && fromEL <= EL1 && 1543 (hcr.tge || mdcr.tde); 1544} 1545 |
1546ExceptionClass 1547SoftwareBreakpoint::ec(ThreadContext *tc) const 1548{ 1549 return from64 ? EC_SOFTWARE_BREAKPOINT_64 : vals.ec; 1550} 1551 |
|
1546void 1547ArmSev::invoke(ThreadContext *tc, const StaticInstPtr &inst) { 1548 DPRINTF(Faults, "Invoking ArmSev Fault\n"); 1549 if (!FullSystem) 1550 return; 1551 1552 // Set sev_mailbox to 1, clear the pending interrupt from remote 1553 // SEV execution and let pipeline continue as pcState is still --- 36 unchanged lines hidden --- | 1552void 1553ArmSev::invoke(ThreadContext *tc, const StaticInstPtr &inst) { 1554 DPRINTF(Faults, "Invoking ArmSev Fault\n"); 1555 if (!FullSystem) 1556 return; 1557 1558 // Set sev_mailbox to 1, clear the pending interrupt from remote 1559 // SEV execution and let pipeline continue as pcState is still --- 36 unchanged lines hidden --- |