Deleted Added
sdiff udiff text old ( 10905:a6ca6831e775 ) new ( 11793:ef606668d247 )
full compact
1/*
2 * Copyright (c) 2006 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;

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

28 * Authors: Ali Saidi
29 */
30
31/** @file
32 * This device acts as a disk similar to the memory mapped disk device
33 * in legion. Any access is translated to an offset in the disk image.
34 */
35
36#include "dev/sparc/mm_disk.hh"
37
38#include <cstring>
39
40#include "base/trace.hh"
41#include "debug/IdeDisk.hh"
42#include "dev/platform.hh"
43#include "mem/packet_access.hh"
44#include "mem/port.hh"
45#include "sim/byteswap.hh"
46#include "sim/system.hh"
47
48MmDisk::MmDisk(const Params *p)
49 : BasicPioDevice(p, p->image->size() * SectorSize),

--- 142 unchanged lines hidden ---