Deleted Added
sdiff udiff text old ( 8232:b28d06a175be ) new ( 8443:530ff1bc8d70 )
full compact
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;

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

381 //Adjust the size to get the remaining bytes.
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)
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);

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

484 //Adjust the size to get the remaining bytes.
485 size = addr + fullSize - secondAddr;
486 //And access the right address.
487 addr = secondAddr;
488 }
489}
490
491
492void
493AtomicSimpleCPU::tick()
494{
495 DPRINTF(SimpleCPU, "Tick\n");
496
497 Tick latency = 0;
498
499 for (int i = 0; i < width || locked; ++i) {

--- 125 unchanged lines hidden ---