packet.cc (8692:d131677ccfcf) | packet.cc (8716:a91aba9f2cd4) |
---|---|
1/* 2 * Copyright (c) 2011 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 --- 154 unchanged lines hidden (view full) --- 163 /* FunctionalReadError */ 164 { SET3(IsRead, IsResponse, IsError), InvalidCmd, "FunctionalReadError" }, 165 /* FunctionalWriteError */ 166 { SET3(IsWrite, IsResponse, IsError), InvalidCmd, "FunctionalWriteError" }, 167 /* PrintReq */ 168 { SET2(IsRequest, IsPrint), InvalidCmd, "PrintReq" }, 169 /* Flush Request */ 170 { SET3(IsRequest, IsFlush, NeedsExclusive), InvalidCmd, "FlushReq" }, | 1/* 2 * Copyright (c) 2011 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 --- 154 unchanged lines hidden (view full) --- 163 /* FunctionalReadError */ 164 { SET3(IsRead, IsResponse, IsError), InvalidCmd, "FunctionalReadError" }, 165 /* FunctionalWriteError */ 166 { SET3(IsWrite, IsResponse, IsError), InvalidCmd, "FunctionalWriteError" }, 167 /* PrintReq */ 168 { SET2(IsRequest, IsPrint), InvalidCmd, "PrintReq" }, 169 /* Flush Request */ 170 { SET3(IsRequest, IsFlush, NeedsExclusive), InvalidCmd, "FlushReq" }, |
171 /* Invalidation Request */ 172 { SET3(NeedsExclusive, IsInvalidate, IsRequest), 173 InvalidCmd, "InvalidationReq" }, |
|
171}; 172 173bool 174Packet::checkFunctional(Printable *obj, Addr addr, int size, uint8_t *data) 175{ 176 Addr func_start = getAddr(); 177 Addr func_end = getAddr() + getSize() - 1; 178 Addr val_start = addr; --- 204 unchanged lines hidden --- | 174}; 175 176bool 177Packet::checkFunctional(Printable *obj, Addr addr, int size, uint8_t *data) 178{ 179 Addr func_start = getAddr(); 180 Addr func_end = getAddr() + getSize() - 1; 181 Addr val_start = addr; --- 204 unchanged lines hidden --- |