wuzhipeng2014 / freenos

Automatically exported from code.google.com/p/freenos
GNU General Public License v3.0
0 stars 0 forks source link

Modify Device(Server).h to use the new IOBuffer class #72

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Recent changes to the FileSystem contains a new
class IOBuffer. It abstracts the invocation of VMCopy(),
and the presence of a FileSystemMessage request.

It may be beneficial for performance to have Device(Server).h
use IOBuffer aswell. Additionally, the code for Device(Server).h will
be more consistent with the FileSystem implementation.

Original issue reported on code.google.com by nieklinn...@gmail.com on 7 Aug 2009 at 11:16

GoogleCodeExporter commented 9 years ago
I've tried this, and it seems that using IOBuffer for Device::read() and
Device::write() would make some Devices more complicated than needed. We'll
just stick with the current design: simple memory pointers.

Original comment by nieklinn...@gmail.com on 8 Aug 2009 at 12:34