Searched refs:read (Results 451 - 475 of 686) sorted by relevance

<<11121314151617181920>>

/gem5/src/dev/sparc/
H A Ddtod.cc62 DumbTOD::read(PacketPtr pkt) function in class:DumbTOD
H A Dmm_disk.cc56 MmDisk::read(PacketPtr pkt) function in class:MmDisk
80 image->read(diskData, sector);
138 image->read(diskData, sector);
/gem5/src/cpu/kvm/
H A Dperfevent.cc137 PerfKvmCounter::read() const function in class:PerfKvmCounter
141 read(&value, sizeof(uint64_t));
232 PerfKvmCounter::read(void *buf, size_t size) const function in class:PerfKvmCounter
241 ret = ::read(fd, _buf, _size);
245 panic("PerfKvmCounter::read failed (%i)\n", errno);
249 panic("PerfKvmCounter::read unexpected EOF.\n");
H A Dperfevent.hh283 uint64_t read() const;
361 * Perform a read from the counter file descriptor.
364 * @param size Amount of data to read
366 void read(void *buf, size_t size) const;
/gem5/src/arch/mips/
H A Dstacktrace.cc59 tsk = vp.read<Addr>(base + task_off, GuestByteOrder);
74 pd = vp.read<uint16_t>(task + pid_off, GuestByteOrder);
205 MachInst inst = tc->getVirtProxy().read<MachInst>(pc);
215 ra = tc->getVirtProxy().read<Addr>(sp + disp);
/gem5/tests/gem5/fs/linux/arm/
H A Drun.py70 exec(compile(open(config).read(), config, 'exec'))
/gem5/src/mem/
H A Dport_proxy.hh209 T read(Addr address) const;
222 T read(Addr address, ByteOrder guest_byte_order) const;
265 * to maxlen characters. The last character read is always a nul
284 PortProxy::read(Addr address) const function in class:PortProxy
300 PortProxy::read(Addr address, ByteOrder byte_order) const function in class:PortProxy
/gem5/src/systemc/tests/include/specialized_signals/
H A Dscx_signal_signed.h215 // perform a part read.
254 // read the current value
255 virtual const sc_dt::sc_bigint<W>& read() const = 0;
379 virtual inline const sc_dt::sc_bigint<W>& read() const;
774 SC_TEMPLATE // Return a pointer to the read target for part selections.
779 inline const sc_dt::sc_bigint<W>& sc_signal<sc_dt::sc_bigint<W> >::read() const function in class:sc_core::sc_signal
1042 { return (*this)->read()[i]; }
1044 { return (*this)->read()[i]; }
1046 { return (*this)->read()(left,right); }
1048 { return (*this)->read()(lef
1067 const sc_dt::sc_bigint<W>& read() const function in class:sc_core::sc_in
1325 const sc_dt::sc_bigint<W>& read() const function in class:sc_core::sc_inout
[all...]
H A Dscx_signal_unsigned.h205 // perform a part read.
244 // read the current value
245 virtual const sc_dt::sc_biguint<W>& read() const = 0;
369 virtual inline const sc_dt::sc_biguint<W>& read() const;
771 inline const sc_dt::sc_biguint<W>& sc_signal<sc_dt::sc_biguint<W> >::read() const function in class:sc_core::sc_signal
1038 { return (*this)->read()[i]; }
1040 { return (*this)->read()[i]; }
1042 { return (*this)->read()(left,right); }
1044 { return (*this)->read()(left,right); }
1061 // read th
1063 const sc_dt::sc_biguint<W>& read() const function in class:sc_core::sc_in
1321 const sc_dt::sc_biguint<W>& read() const function in class:sc_core::sc_inout
[all...]
/gem5/src/arch/sparc/
H A Dvtophys.cc114 ttetag = betoh(mem.read<uint64_t>(tsbs[x]));
116 uint64_t entry = mem.read<uint64_t>(tsbs[x]) + sizeof(uint64_t);
/gem5/src/systemc/tests/systemc/misc/reports/test01/
H A Dtest01.cpp67 clk->read();
77 clk->read();
/gem5/src/dev/arm/
H A Dtimer_cpulocal.hh143 /** Handle read for a single timer */
144 void read(PacketPtr pkt, Addr daddr);
178 * Handle a read to the device
180 * @return Returns latency of device read
182 Tick read(PacketPtr pkt) override;
H A Dvio_mmio.cc64 MmioVirtIO::read(PacketPtr pkt) function in class:MmioVirtIO
77 panic_if(size != 4, "Unexpected read size: %u\n", size);
79 const uint32_t value = read(offset);
88 MmioVirtIO::read(Addr offset) function in class:MmioVirtIO
152 warn("Guest is trying to read to write-only register 0x%\n",
157 panic("Unhandled read offset (0x%x)\n", offset);
251 warn("Guest is trying to write to read-only register 0x%\n",
256 panic("Unhandled read offset (0x%x)\n", offset);
/gem5/src/gpu-compute/
H A Dvector_register_file.hh74 read(int regIdx, int threadId=0) function in class:VrfAccessType::VectorRegisterFile
76 T p0 = vgprState->read<T>(regIdx, threadId);
/gem5/util/
H A Dminorview.py81 parser.error('Can\'t read picture file: ' + args.picture)
105 parser.error('Can\'t read event file: ' + args.eventFile)
/gem5/ext/systemc/src/sysc/communication/
H A Dsc_fifo.h87 // blocking read
88 virtual void read( T& );
89 virtual T read();
91 // non-blocking read
120 // get the data read event
129 { return read(); }
162 int m_ri; // index of next read
169 int m_num_read; // #samples read during this delta cycle
217 // blocking read
222 sc_fifo<T>::read( function in class:sc_core::sc_fifo
235 sc_fifo<T>::read() function in class:sc_core::sc_fifo
[all...]
/gem5/src/systemc/tests/systemc/1666-2011-compliance/event_list/
H A Devent_list.cpp57 cout << "M::T1 awoke with " << p[0]->read() << p[1]->read() << p[2]->read()
66 cout << "M::T2 awoke with " << p[0]->read() << p[1]->read() << p[2]->read()
/gem5/src/systemc/tests/systemc/examples/trie/
H A Dtrie.cpp60 tmp_vld = DIN_vld.read();
61 op = DIN_op.read();
62 data_in = DIN_data_in.read();
81 tmp_rdy = DOUT_rdy.read();
291 unsigned int h = hop.read();
/gem5/src/dev/serial/
H A Dterminal.cc248 len = read(buf, sizeof(buf));
256 Terminal::read(uint8_t *buf, size_t len) function in class:Terminal
263 ret = ::read(data_fd, buf, len);
303 rxbuf.read((char *)&c, 1);
340 linebuf.read(buffer, size);
/gem5/src/dev/virtio/
H A Dfs9p.hh232 * @note This method may return read fewer than len bytes.
235 * @param len Maximum length to read.
236 * @return Number of bytes read, -errno on failure.
238 virtual ssize_t read(uint8_t *data, size_t len) = 0;
253 * This method calls read until exactly len number of bytes has
254 * been read. A read() call is retried if the underlying syscall
258 * @param len Number of bytes to read.
306 ssize_t read(uint8_t *data, size_t len);
328 /** fd for data pipe coming from diod (read en
[all...]
/gem5/src/dev/i2c/
H A Dbus.cc71 I2CBus::read(PacketPtr pkt) function in class:I2CBus
132 message = devices[i2cAddr]->read();
158 message = devices[i2cAddr]->read();
/gem5/src/base/
H A Dcirclebuf.hh73 * Copy buffer contents without advancing the read pointer
84 * Copy buffer contents without advancing the read pointer
93 "Trying to read past end of circular buffer.\n");
99 * Copy buffer contents and advance the read pointer
102 * @param len Number of elements to read
105 void read(OutputIterator out, size_t len) { function in class:CircleBuf
114 * @param len Number of elements to read
160 void read(OutputIterator out, size_t len) { buf.read(out, len); } function in class:Fifo
/gem5/tests/
H A Drun.py186 code = compile(open(abs_path, 'r').read(), abs_path, 'exec')
213 open(joinpath(tests_root, 'configs', test_filename + '.py')).read(), \
223 open(joinpath(tests_root, category, mode, name, 'test.py')).read(), \
/gem5/src/systemc/ext/channel/
H A Dsc_signal.hh187 virtual const T &read() const { return m_cur_val; } function in class:sc_gem5::ScSignalBaseT
188 operator const T&() const { return read(); }
297 this->write(s.read());
321 os << s.read();
351 this->write(s.read());
417 this->write(s.read());
/gem5/src/dev/
H A Dintel_8254_timer.hh144 /** Determine which byte of a 16-bit count value to read/write */
159 /** Set the read/write mode */
169 uint8_t read();
227 return counter[num]->read();

Completed in 45 milliseconds

<<11121314151617181920>>