base: Add serialization support to Pixels and FrameBuffer
authorAndreas Sandberg <andreas.sandberg@arm.com>
Tue, 7 Jul 2015 08:51:04 +0000 (09:51 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Tue, 7 Jul 2015 08:51:04 +0000 (09:51 +0100)
commitb3ecfa6ae00620fa8a89460ff2a57275b973c260
treef7a3e188469e613ac83b3b38e1f7d6a9e7cd0513
parent888ec455cba4174863be5ed9148aaf093a061101
base: Add serialization support to Pixels and FrameBuffer

Serialize pixels as unsigned 32 bit integers by adding the required
to_number() and stream operators. This is used by the FrameBuffer,
which now implements the Serializable interface. Users of frame
buffers are expected to serialize it into its own section by calling
serializeSection().
src/base/framebuffer.cc
src/base/framebuffer.hh
src/sim/serialize.cc