diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2006-08-15 17:41:22 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2006-08-15 17:41:22 -0400 |
commit | ed58f77c473cf6f35a17ba1448a12dbca089987d (patch) | |
tree | 00b9ecfc881086d1ceaa5e62073b1bb979fa6837 /src/dev/ide_disk.cc | |
parent | 07488510713a1df61f6cefced7677047cfc0ef66 (diff) | |
download | gem5-ed58f77c473cf6f35a17ba1448a12dbca089987d.tar.xz |
fixes for gcc 4.1
Nate needs to fix sinic builder stuff
Gabe needs to verify my fixes to decoder.isa
OPT/DEBUG compiles for ALPHA_FS, ALPHA_SE, MIPS_SE, SPARC_SE with this changeset
README:
Fix the swig version in the readme
src/SConscript:
remove sinic until nate fixes the builder crap for it
src/arch/alpha/system.hh:
src/arch/mips/isa/includes.isa:
src/arch/sparc/isa/decoder.isa:
src/base/stats/visit.cc:
src/base/timebuf.hh:
src/dev/ide_disk.cc:
src/dev/sinic.cc:
src/mem/cache/miss/mshr.cc:
src/mem/cache/miss/mshr_queue.cc:
src/mem/packet.hh:
src/mem/request.hh:
src/sim/builder.hh:
src/sim/system.hh:
fixes for gcc 4.1
--HG--
extra : convert_revision : 3775427c0047b282574d4831dd602c96cac3ba17
Diffstat (limited to 'src/dev/ide_disk.cc')
-rw-r--r-- | src/dev/ide_disk.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev/ide_disk.cc b/src/dev/ide_disk.cc index 12564ddd0..5d3346b1e 100644 --- a/src/dev/ide_disk.cc +++ b/src/dev/ide_disk.cc @@ -110,7 +110,7 @@ IdeDisk::IdeDisk(const string &name, DiskImage *img, // Number of sectors on disk driveID.atap_capacity = lba_size; // Multiword DMA mode 2 and below supported - driveID.atap_dmamode_supp = 0x400; + driveID.atap_dmamode_supp = 0x4; // Set PIO mode 4 and 3 supported driveID.atap_piomode_supp = 0x3; // Set DMA mode 4 and below supported |