atomic.cc (8443:530ff1bc8d70) atomic.cc (8444:56de1f9320df)
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;

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

294 deschedule(tickEvent);
295
296 notIdleFraction--;
297 _status = Idle;
298}
299
300
301Fault
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;

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

294 deschedule(tickEvent);
295
296 notIdleFraction--;
297 _status = Idle;
298}
299
300
301Fault
302AtomicSimpleCPU::readBytes(Addr addr, uint8_t * data,
303 unsigned size, unsigned flags)
302AtomicSimpleCPU::readMem(Addr addr, uint8_t * data,
303 unsigned size, unsigned flags)
304{
305 // use the CPU's statically allocated read request and packet objects
306 Request *req = &data_read_req;
307
308 if (traceData) {
309 traceData->setAddr(addr);
310 }
311

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

382 size = addr + fullSize - secondAddr;
383 //And access the right address.
384 addr = secondAddr;
385 }
386}
387
388
389Fault
304{
305 // use the CPU's statically allocated read request and packet objects
306 Request *req = &data_read_req;
307
308 if (traceData) {
309 traceData->setAddr(addr);
310 }
311

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

382 size = addr + fullSize - secondAddr;
383 //And access the right address.
384 addr = secondAddr;
385 }
386}
387
388
389Fault
390AtomicSimpleCPU::writeBytes(uint8_t *data, unsigned size,
391 Addr addr, unsigned flags, uint64_t *res)
390AtomicSimpleCPU::writeMem(uint8_t *data, unsigned size,
391 Addr addr, unsigned flags, uint64_t *res)
392{
393 // use the CPU's statically allocated write request and packet objects
394 Request *req = &data_write_req;
395
396 if (traceData) {
397 traceData->setAddr(addr);
398 }
399

--- 225 unchanged lines hidden ---
392{
393 // use the CPU's statically allocated write request and packet objects
394 Request *req = &data_write_req;
395
396 if (traceData) {
397 traceData->setAddr(addr);
398 }
399

--- 225 unchanged lines hidden ---