fs9p.hh (11204:7a9eeecf2b52) | fs9p.hh (12187:21448d4fdaae) |
---|---|
1/* | 1/* |
2 * Copyright (c) 2014-2015 ARM Limited | 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); | 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(); |
|
308 309 private: 310 class DiodDataEvent : public PollEvent 311 { 312 public: 313 DiodDataEvent(VirtIO9PDiod &_parent, int fd, int event) 314 : PollEvent(fd, event), parent(_parent) {} 315 --- 68 unchanged lines hidden --- | 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 --- |