Go to the documentation of this file.
41 panic(
"Read from i8237 channel 0 current address unimplemented.\n");
43 panic(
"Read from i8237 channel 0 remaining "
44 "word count unimplemented.\n");
46 panic(
"Read from i8237 channel 1 current address unimplemented.\n");
48 panic(
"Read from i8237 channel 1 remaining "
49 "word count unimplemented.\n");
51 panic(
"Read from i8237 channel 2 current address unimplemented.\n");
53 panic(
"Read from i8237 channel 2 remaining "
54 "word count unimplemented.\n");
56 panic(
"Read from i8237 channel 3 current address unimplemented.\n");
58 panic(
"Read from i8237 channel 3 remaining "
59 "word count unimplemented.\n");
61 panic(
"Read from i8237 status register unimplemented.\n");
63 panic(
"Read from undefined i8237 register %d.\n",
offset);
76 panic(
"Write to i8237 channel 0 starting address unimplemented.\n");
78 panic(
"Write to i8237 channel 0 starting "
79 "word count unimplemented.\n");
81 panic(
"Write to i8237 channel 1 starting address unimplemented.\n");
83 panic(
"Write to i8237 channel 1 starting "
84 "word count unimplemented.\n");
86 panic(
"Write to i8237 channel 2 starting address unimplemented.\n");
88 panic(
"Write to i8237 channel 2 starting "
89 "word count unimplemented.\n");
91 panic(
"Write to i8237 channel 3 starting address unimplemented.\n");
93 panic(
"Write to i8237 channel 3 starting "
94 "word count unimplemented.\n");
96 panic(
"Write to i8237 command register unimplemented.\n");
98 panic(
"Write to i8237 request register unimplemented.\n");
101 uint8_t command = pkt->
getLE<uint8_t>();
102 uint8_t select =
bits(command, 1, 0);
103 uint8_t bitVal =
bits(command, 2);
105 panic(
"Turning on i8237 channels unimplemented.\n");
110 panic(
"Write to i8237 mode register unimplemented.\n");
112 panic(
"Write to i8237 clear LSB/MSB flip-flop "
113 "register unimplemented.\n");
115 panic(
"Write to i8237 master clear/reset register unimplemented.\n");
117 panic(
"Write to i8237 clear mask register unimplemented.\n");
119 panic(
"Write to i8237 write all mask register bits unimplemented.\n");
121 panic(
"Write to undefined i8237 register.\n");
140 I8237Params::create()
void makeAtomicResponse()
Addr pioAddr
Address that the device listens to.
void replaceBits(T &val, int first, int last, B bit_val)
A convenience function to replace bits first to last of val with bit_val in place.
#define UNSERIALIZE_SCALAR(scalar)
void serialize(CheckpointOut &cp) const override
Serialize an object.
uint64_t Tick
Tick count type.
void unserialize(CheckpointIn &cp) override
Unserialize an object.
Tick write(PacketPtr pkt) override
Pure virtual function that the device must implement.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
#define SERIALIZE_SCALAR(scalar)
T getLE() const
Get the data in the packet byte swapped from little endian to host endian.
A Packet is used to encapsulate a transfer between two objects in the memory system (e....
std::ostream CheckpointOut
Tick read(PacketPtr pkt) override
Pure virtual function that the device must implement.
#define panic(...)
This implements a cprintf based panic() function.
T bits(T val, int first, int last)
Extract the bitfield from position 'first' to 'last' (inclusive) from 'val' and right justify it.
Generated on Wed Sep 30 2020 14:02:11 for gem5 by doxygen 1.8.17