port.hh (5283:3ab643fa74be) port.hh (5314:e902f12a3af1)
1/*
2 * Copyright (c) 2002-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 229 unchanged lines hidden (view full) ---

238
239 /** Fill size bytes starting at addr with byte value val. This
240 should not need to be virtual, since it can be implemented in
241 terms of writeBlob(). However, it shouldn't be
242 performance-critical either, so it could be if we wanted to.
243 */
244 virtual void memsetBlob(Addr addr, uint8_t val, int size);
245
1/*
2 * Copyright (c) 2002-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 229 unchanged lines hidden (view full) ---

238
239 /** Fill size bytes starting at addr with byte value val. This
240 should not need to be virtual, since it can be implemented in
241 terms of writeBlob(). However, it shouldn't be
242 performance-critical either, so it could be if we wanted to.
243 */
244 virtual void memsetBlob(Addr addr, uint8_t val, int size);
245
246 /** Inject a PrintReq for the given address to print the state of
247 * that address throughout the memory system. For debugging.
248 */
249 void printAddr(Addr a);
250
246 private:
247
248 /** Internal helper function for read/writeBlob().
249 */
250 void blobHelper(Addr addr, uint8_t *p, int size, MemCmd cmd);
251};
252
253/** A simple functional port that is only meant for one way communication to

--- 44 unchanged lines hidden ---
251 private:
252
253 /** Internal helper function for read/writeBlob().
254 */
255 void blobHelper(Addr addr, uint8_t *p, int size, MemCmd cmd);
256};
257
258/** A simple functional port that is only meant for one way communication to

--- 44 unchanged lines hidden ---