summaryrefslogtreecommitdiff
path: root/dev
AgeCommit message (Collapse)Author
2004-05-03Checkin of latest IDE and some separation between platforms (Tsunami andAndrew Schultz
Turbolaser) base/range.hh: Change semantics of range to be inclusive of the end value, may need to check other users of range to make sure they are semantically correct. This was needed for access of last byte in range of address on IDE and makes sense for case of range from 0 to all f dev/ide_ctrl.cc: dev/ide_ctrl.hh: dev/ide_disk.cc: dev/ide_disk.hh: Whole mess of changes.. at current state simulator will boot and read partition table and then have a bunch of errors and panic dev/pciconfigall.cc: dev/pciconfigall.hh: dev/platform.hh: Changes to work with platform separation dev/tsunami.cc: dev/tsunami.hh: Change to work with platform separation --HG-- extra : convert_revision : e1de22b54df7fdcf391efc2a8555ada93f46beab
2004-03-23Add initial support for IDEAndrew Schultz
--HG-- extra : convert_revision : e07dc6c87b0b692d428b541d4032fcf82996ef15
2004-03-22AutomergeAndrew Schultz
--HG-- extra : convert_revision : d79abea2623f31a27735640363dfbf655c226b62
2004-03-22Change member variable names to lower caseAndrew Schultz
--HG-- extra : convert_revision : 390c30b8313e7acbd7d77b106716f7147d181111
2004-03-22Changed to inherit from DmaDevice to avoid multiple inheritance (nowAndrew Schultz
assumes that all PCI devices are DmaDevices, and if not, they can just ignore the DMA stuff) --HG-- extra : convert_revision : aa58b658370696674ca4c32b265bc0400e5dda5a
2004-03-22forgot to check this in earlier - no confusion between types and member names!Lisa Hsu
dev/pcidev.cc: member variables should begin with lowercase so they don't get confused with types. dev/pcidev.hh: member variables must begin with lowercase so they don't get confused with types. --HG-- extra : convert_revision : f083baa60d0fbf64d858d684ff70ee06e7b7765d
2004-03-19Make it so that alpha_console can read the frequency from the correctRon Dreslinski
sim object(depends on which platform tsunami/tlaser is being used) dev/alpha_console.cc: Use dynamice casting once during build to get at the proper device to calculate the frequency. It is either a tsunami_IO or a tlaser_clock depending on platform (tsunami/tlaser). If the simobject is not of either of those types then panic dev/alpha_console.hh: Pass in a SimObject * that is to either a tlaser_clock or a tsunami_IO sim/sim_object.cc: Make it so that you can have a SimObjectParam of type SimObject: example: SimObjectParam<SimObject *> so; --HG-- extra : convert_revision : 08239ef23762b8ea11311630b73fe885d939402e
2004-03-11merge from head of m5. note: i did not bother to merge the PIO stuff with ↵Lisa Hsu
scsi since we're not going that route anymore anyway. esp because it was giving me an error i couldn't seem to fix. dev/alpha_console.cc: missed this >>>> after i merged kern/linux/linux_system.cc: get rid of FS_MEASURES and change FnEvent to LinuxFnEvent kern/linux/linux_system.hh: get rid of FS_MEASURE --HG-- extra : convert_revision : 210f46573bba0c772a224ce110af9a9230fabf6a
2004-03-11merge with m5 headLisa Hsu
--HG-- extra : convert_revision : c90339248d1ee74df1c6b90a77ec9ea41f646311
2004-03-11It was annoying me that there was PCIConfigAll and PciDev and PciConfigData. ↵Lisa Hsu
so for consistency I changed it. dev/pciconfigall.cc: dev/pciconfigall.hh: dev/pcidev.cc: dev/pcidev.hh: dev/tsunami.hh: change PCIConfigAll to PciConfigAll --HG-- extra : convert_revision : d2fa3f59b906c870fd9d46cfa94728c7587e3652
2004-03-05Add support for a propagation delay on the link. The electricalNathan Binkert
delay is more or less folded into the packet time, but an additional delay is possible representing crossing a long haul link, or some switches, etc. --HG-- extra : convert_revision : 8fd689c2a7e3051e77f47a4cd5f51c6999d92c8f
2004-02-29Fix dumping to work on the opteron. struct timeval canNathan Binkert
vary in size, so we're explicit about the fields. --HG-- extra : convert_revision : e5264849dafb878676b2bfd3a6e6f95f6f94ea48
2004-02-29Add support for multiple address ranges in memory interfaces.Erik Hallnor
dev/alpha_console.cc: setAddrRange -> addAddrRange --HG-- extra : convert_revision : 9dc853b80bea443b54a130ca4c110a68077cb336
2004-02-22configurable latency for programmed IONathan Binkert
fix serialization dev/etherlink.cc: fix serialization --HG-- extra : convert_revision : 6739001f3f97b745d9874bb4c5729cc4909625c2
2004-02-21Added initial (hackish) support for translating between a PCI bus addressAndrew Schultz
and a physical memory address for DMA dev/tsunami_pchip.cc: dev/tsunami_pchip.hh: Changed registers to array and added mapping function to translate between PCI bus space and physical address space --HG-- extra : convert_revision : e9dc4de4e7effe8e8e2365298843d6f767b5a289
2004-02-21New Ethernet device. Descriptors are now done via DMA insteadNathan Binkert
of faking it. Renamed stuff to follow our style. Lots of general cleanup. dev/etherpkt.hh: fix up includes --HG-- extra : convert_revision : fb3a21466cdae00f8747d6e3027c9f2c63569c48
2004-02-20Fix the RTC code so it is in the cchip, only interrupt processors thatRon Dreslinski
are present dev/tsunami_cchip.cc: Only need to interrupt processors that are there Move RTC interrupt code into a function dev/tsunami_cchip.hh: Make a RTC interrupt function, move variables out of public scope dev/tsunami_io.cc: Make a call to the RTC interrupt routine instead --HG-- extra : convert_revision : 88113664d0e54a7dddc00ec11ff9b9d088232b31
2004-02-20make the dma interface useable.Nathan Binkert
make it so that pio devices must respond with some delay. dev/io_device.cc: don't forget to include dma_interface.hh so we could use it. dev/io_device.hh: the generic BusInterface isn't enough for doing DMA we need the actual DMAInterface --HG-- extra : convert_revision : 70298d33c8520a3f4ad11aa600825a8cec7e44bf
2004-02-20make etherdump work againNathan Binkert
dev/etherdump.cc: now that init is automatically called by the framework, don't init twice. --HG-- extra : convert_revision : 16dcdef67aa193ed71ff546e7b255d60f39bf13d
2004-02-20Merge zizzer.eecs.umich.edu:/bk/m5Nathan Binkert
into ziff.eecs.umich.edu:/z/binkertn/research/m5/memory --HG-- extra : convert_revision : 691c89ebacb3c5a5eb67359ed102646b8547dd17
2004-02-20Add support for IPI's and extend RTC to interrupt all ProcessorsRon Dreslinski
dev/tsunami_cchip.cc: Add support for IPI, making changes to read/write to MISC register Particularly the IPREQ, IPINTR, and ITINTR subfields dev/tsunami_cchip.hh: Make an array to keep track of the number of outstanding IPI's, Extend RTC to interrupt all processors, not just cpu0 dev/tsunami_io.cc: Extend RTC to interrupt all present proccessors, not just cpu0 --HG-- extra : convert_revision : 0715cbf0abb06002c0fb0b05ef369304cdf75001
2004-02-20Add serialization for packets on the ethernet link,Ron Dreslinski
and for link events --HG-- extra : convert_revision : 0054dbc4a42dd38ff8bbf64af303bc509dd5aa8a
2004-02-161 << x != (uint64_t)1 << xAli Saidi
dev/tsunami_cchip.cc: fixed another problem with the interrupt code, should all work now --HG-- extra : convert_revision : 1d9fe6081b6391e3e09f1c4a9380a30240fac6dc
2004-02-16Changed device IRQ back to 1Andrew Schultz
--HG-- extra : convert_revision : 3fb611e6e0305fe9854cdf7813492b75750cd7a9
2004-02-16Added new aic register definition, fix some interrupt related callsAndrew Schultz
dev/tsunami_cchip.cc: Change interrupt level to 20 for devices --HG-- extra : convert_revision : deee68d5434643dc751de08e5a804c14d1a86efd
2004-02-16MergeAli Saidi
dev/tsunami_cchip.cc: SCCS merged --HG-- extra : convert_revision : a4b2b0b92038217608a733a6c8f27edb018e910d
2004-02-15Rewrote interrupt code to handle masking correctly and changed everyAli Saidi
interrupt to use a different subnumber since both devices could interrupt at the same time and we don't want to loose one. dev/tsunami_cchip.cc: rewrote interrupt code to handle interrupt mask clearing correctly dev/tsunami_cchip.hh: changed (post/clear)DRIR to use a interrupt number rather than a vecotr dev/tsunami_io.cc: updated for new post/clearDRIR calls --HG-- extra : convert_revision : 5b39f5e15a66d5eb6e689e6ece62f99b5fa735ab
2004-02-15Interrupt changesAndrew Schultz
dev/tsunami_cchip.cc: Changed to point to IPL 20 rather than 21 --HG-- extra : convert_revision : ee70f4bae4e06b92a0e02ea71ed65d4e260e7967
2004-02-15Fix some debug printing errorsAndrew Schultz
--HG-- extra : convert_revision : 3ef3d2c7eb67c45a7e005c1c072f3098142ea210
2004-02-13Fix to remote debugger while in PALAndrew Schultz
arch/alpha/vtophys.cc: base/remote_gdb.cc: Fix to remote debugger while in PAL code dev/pcidev.cc: Remove extra debug printf --HG-- extra : convert_revision : e64988846ad05cd3ddf47034d72d99dae3501591
2004-02-11Add support for all devices to get requests from a timing memory bus.Nathan Binkert
In the future, this can be used for actual data, but for now, it's so that devices can respond to timing accesses properly. This way, an uncached access on a bus further away will take longer to respond. dev/alpha_console.cc: dev/alpha_console.hh: suport the separate IO bus --HG-- extra : convert_revision : ececb70f5febfd00231f6e406f93b2a79be01261
2004-02-11MergeAli Saidi
dev/tsunami_cchip.cc: dev/tsunami_io.cc: dev/tsunami_pchip.cc: dev/tsunami_uart.cc: SCCS merged --HG-- extra : convert_revision : da3d1998d6dd39e0d3f8754074c513cdd8a4193c
2004-02-11added serializeation codeAli Saidi
--HG-- extra : convert_revision : 468f3c739707d167af43562695b604fd7dead661
2004-02-10Fix masking of read/write address to get read/write offsetAndrew Schultz
Changed base_linux.ini file to use physical addresses dev/alpha_console.cc: dev/pciconfigall.cc: dev/tsunami_cchip.cc: dev/tsunami_io.cc: dev/tsunami_pchip.cc: Fix masking of read/write address to get read/write offset dev/tsunami_uart.cc: Fix masking of read/write address to get read/write offset Also added add_child call that was missed dev/tsunami_uart.hh: Changed size to 0x8 --HG-- extra : convert_revision : 1468ca43167bfb28b28c4510401a1ebad683e102
2004-02-10Changed new linux stuff to work with new FunctionalMemory interface andAndrew Schultz
some sundry problems with new interface dev/alpha_console.cc: dev/alpha_console.hh: dev/baddev.cc: dev/baddev.hh: dev/pciconfigall.cc: dev/pciconfigall.hh: dev/pcidev.cc: dev/pcidev.hh: dev/tsunami_cchip.cc: dev/tsunami_cchip.hh: dev/tsunami_io.cc: dev/tsunami_io.hh: dev/tsunami_pchip.cc: dev/tsunami_pchip.hh: dev/tsunami_uart.cc: dev/tsunami_uart.hh: Fixed to use new FunctionalMemory interface --HG-- extra : convert_revision : bee98e6285d92f28fafacf919ab06eaf333a9b56
2004-02-09Merge linux tree with headAndrew Schultz
arch/alpha/alpha_memory.cc: dev/alpha_console.cc: dev/alpha_console.hh: Merge --HG-- extra : convert_revision : 3233648f204338ab3f102ff117754dce955dcc37
2004-02-09Added platform.hhAndrew Schultz
--HG-- extra : convert_revision : c11fde5e5f0e344d2f4c89c57a4d41ca179a31e5
2004-02-09Fixes for updating mmu mappingsAndrew Schultz
dev/tsunami.hh: Added generic platform base class --HG-- extra : convert_revision : ff74956937f9fca5bdfa5e3779add776e4a91f8b
2004-02-09Merge zizzer.eecs.umich.edu:/m5/Bitkeeper/linuxAli Saidi
into zizzer.eecs.umich.edu:/y/saidi/work/m5 --HG-- extra : convert_revision : 35c2de18adad0957538453b2a083e59de535aa88
2004-02-09Some changes to for linux 2.6.2Ali Saidi
dev/pcidev.cc: Linux 2.6 writes the latency timer, so it was added to the list of allowable writes dev/tsunami_uart.cc: dev/tsunami_uart.hh: A couple of changes so that the new linux autoconf serial driver thinks that the serial port exists and configures it --HG-- extra : convert_revision : 6c026ef754e31de56c9b837ceb8f6be48c8d8d9c
2004-02-09- Whack unused codeNathan Binkert
- Make the MemoryController use address ranges (via Range) instead of an address and a mask base/remote_gdb.cc: reflect name change dev/alpha_access.h: better include dev/alpha_console.cc: - FunctionalMemory no longer takes care of mapping my address into the proper address space. It must be done locally. - the memory controller no longer uses a mask, but a size, and the size is determined by the device, not the .ini file - fix up address calculations to reflect the removal of a mask - PhysicalMemory::getSize() -> PhysicalMemory::size() dev/alpha_console.hh: - FunctionalMemory no longer takes care of mapping my address into the proper address space. It must be done locally. - the memory controller no longer uses a mask, but a size, and the size is determined by the device, not the .ini file - fix up address calculations to reflect the removal of a mask - get rid of MmapDevice and inherit from FunctionalMemory --HG-- extra : convert_revision : e3a65c9debf6f899632d62c70781cbdc2826616b
2004-02-05Now skips the calibrate_delay loop in the kernel bootAndrew Schultz
dev/tsunami.cc: Changed so Tsunami has a pointer to the System to which it belongs. Now it is derived from generic base class Platform so platform stuff can be accessed based on the system dev/tsunami_io.cc: dev/tsunami_io.hh: Cleanup and added copyright kern/linux/linux_system.cc: kern/linux/linux_system.hh: Added event to skip the "calibrate_delay" function, now calculate loops_per_jiffy based on frequency, interrupt frequency, and constant sim/system.hh: Added pointer to generic Platform base class --HG-- extra : convert_revision : 5bd925eec220a2ca48eb6164d2ecfdec96922c2c
2004-02-05fixed mapping of device memory and i/o spaceAli Saidi
--HG-- extra : convert_revision : 9236c7f0aeb4d555880bdfdfa7f55cedf1cbb950
2004-02-05added some commentsAli Saidi
--HG-- extra : convert_revision : eeb0a2c227261ce601ec5e5e8e57b58cbcf22a17
2004-02-05mereged some comments with some of andrews changesAli Saidi
--HG-- extra : convert_revision : 8b3d1b2fe15eeb7d97462dac0043ca6b0863f6e6
2004-02-05added some commentsAli Saidi
--HG-- extra : convert_revision : b33c94984f8d9ac2baf8d7b45fa79460846b1755
2004-02-05Fix PCI code so it builds properly nowAndrew Schultz
dev/pciconfigall.cc: dev/pciconfigall.hh: dev/pcidev.cc: dev/pcidev.hh: dev/tsunami.cc: dev/tsunami.hh: A bunch of changes to clean up new PCI code and to fix build --HG-- extra : convert_revision : 71063bcc565c50fc293b323ddce2c8e701f544ff
2004-02-04Add support for "serializing" instructions that flushSteve Reinhardt
execution pipeline (Alpha trapb & excb). Add support for write memory barriers (mostly impacts store buffer). Add StaticInst flag to indicate memory barriers, though this is not modeled in the pipeline yet. arch/alpha/isa_desc: Implement trapb, excb, mb, and wmb as insts with no execution effect (empty execute() function) but with flags that indicate their side effects. Also make sure every instruction that needs to go to the execute stage has a real opClass value, since we are now using No_OpClass to signal insts that can get dropped at dispatch. StaticInst::branchTarget() is now a const method. cpu/static_inst.hh: Add flags to indicate serializing insts (trapb, excb) and memory and write barriers. Also declare some StaticInst methods as const methods. dev/etherlink.hh: sim/eventq.hh: sim/serialize.cc: sim/serialize.hh: sim/sim_object.hh: Make name() return value const. --HG-- extra : convert_revision : 39520e71469fa20e0a7446b2e06b494eec17a02c
2004-02-04Added code so that BAR writes will result in an updated memory mappingAli Saidi
dev/pcidev.cc: dev/pcidev.hh: BAR changes should now change the mmu mapping --HG-- extra : convert_revision : 2d5c60ef076ab0588a25def1ecd9dbb90c9144d7
2004-02-04Changes to support PciDev as a new base class for devices which use PCIAndrew Schultz
--HG-- extra : convert_revision : fc2bc4399665344220b1a7e345ae6d2df03c9960