Deleted Added
sdiff udiff text old ( 11204:7a9eeecf2b52 ) new ( 12187:21448d4fdaae )
full compact
1/*
2 * Copyright (c) 2014-2017 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software
9 * licensed hereunder. You may use the software subject to the license
10 * terms below provided that you ensure that this notice is replicated

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

300 protected:
301 /**
302 * Start diod and setup the communication pipes.
303 */
304 void startDiod();
305
306 ssize_t read(uint8_t *data, size_t len);
307 ssize_t write(const uint8_t *data, size_t len);
308 /** Kill the diod child process at the end of the simulation */
309 void terminateDiod();
310
311 private:
312 class DiodDataEvent : public PollEvent
313 {
314 public:
315 DiodDataEvent(VirtIO9PDiod &_parent, int fd, int event)
316 : PollEvent(fd, event), parent(_parent) {}
317

--- 68 unchanged lines hidden ---