Deleted Added
sdiff udiff text old ( 8839:eeb293859255 ) new ( 9338:97b4a2be1e5b )
full compact
1# Copyright (c) 2005-2007 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

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

32from AlphaBackdoor import AlphaBackdoor
33from Device import BasicPioDevice, IsaFake, BadAddr
34from Pci import PciConfigAll
35from Platform import Platform
36from Uart import Uart8250
37
38class TsunamiCChip(BasicPioDevice):
39 type = 'TsunamiCChip'
40 tsunami = Param.Tsunami(Parent.any, "Tsunami")
41
42class TsunamiIO(BasicPioDevice):
43 type = 'TsunamiIO'
44 time = Param.Time('01/01/2009',
45 "System time to use ('Now' for actual time)")
46 year_is_bcd = Param.Bool(False,
47 "The RTC should interpret the year as a BCD value")
48 tsunami = Param.Tsunami(Parent.any, "Tsunami")
49 frequency = Param.Frequency('1024Hz', "frequency of interrupts")
50
51class TsunamiPChip(BasicPioDevice):
52 type = 'TsunamiPChip'
53 tsunami = Param.Tsunami(Parent.any, "Tsunami")
54
55class Tsunami(Platform):
56 type = 'Tsunami'
57 system = Param.System(Parent.any, "system")
58
59 cchip = TsunamiCChip(pio_addr=0x801a0000000)
60 pchip = TsunamiPChip(pio_addr=0x80180000000)
61 pciconfig = PciConfigAll()
62 fake_sm_chip = IsaFake(pio_addr=0x801fc000370)
63
64 fake_uart1 = IsaFake(pio_addr=0x801fc0002f8)

--- 58 unchanged lines hidden ---