exec_context.hh (13954:2f400a5f2627) | exec_context.hh (14297:b4519e586f5e) |
---|---|
1/* 2 * Copyright (c) 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 --- 256 unchanged lines hidden (view full) --- 265 std::vector<bool>()) = 0; 266 267 /** 268 * For atomic-mode contexts, perform an atomic AMO (a.k.a., Atomic 269 * Read-Modify-Write Memory Operation) 270 */ 271 virtual Fault amoMem(Addr addr, uint8_t *data, unsigned int size, 272 Request::Flags flags, | 1/* 2 * Copyright (c) 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 --- 256 unchanged lines hidden (view full) --- 265 std::vector<bool>()) = 0; 266 267 /** 268 * For atomic-mode contexts, perform an atomic AMO (a.k.a., Atomic 269 * Read-Modify-Write Memory Operation) 270 */ 271 virtual Fault amoMem(Addr addr, uint8_t *data, unsigned int size, 272 Request::Flags flags, |
273 AtomicOpFunctor *amo_op) | 273 AtomicOpFunctorPtr amo_op) |
274 { 275 panic("ExecContext::amoMem() should be overridden\n"); 276 } 277 278 /** 279 * For timing-mode contexts, initiate an atomic AMO (atomic 280 * read-modify-write memory operation) 281 */ 282 virtual Fault initiateMemAMO(Addr addr, unsigned int size, 283 Request::Flags flags, | 274 { 275 panic("ExecContext::amoMem() should be overridden\n"); 276 } 277 278 /** 279 * For timing-mode contexts, initiate an atomic AMO (atomic 280 * read-modify-write memory operation) 281 */ 282 virtual Fault initiateMemAMO(Addr addr, unsigned int size, 283 Request::Flags flags, |
284 AtomicOpFunctor *amo_op) | 284 AtomicOpFunctorPtr amo_op) |
285 { 286 panic("ExecContext::initiateMemAMO() should be overridden\n"); 287 } 288 289 /** 290 * Sets the number of consecutive store conditional failures. 291 */ 292 virtual void setStCondFailures(unsigned int sc_failures) = 0; --- 53 unchanged lines hidden --- | 285 { 286 panic("ExecContext::initiateMemAMO() should be overridden\n"); 287 } 288 289 /** 290 * Sets the number of consecutive store conditional failures. 291 */ 292 virtual void setStCondFailures(unsigned int sc_failures) = 0; --- 53 unchanged lines hidden --- |