serialize.hh (10906:3ab1d7ed6545) | serialize.hh (10908:235d75ea01d8) |
---|---|
1/* 2 * Copyright (c) 2015 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 --- 172 unchanged lines hidden (view full) --- 181#define SERIALIZE_EVENT(event) event.serializeSection(cp, #event); 182 183#define UNSERIALIZE_EVENT(event) \ 184 do { \ 185 event.unserializeSection(cp, #event); \ 186 eventQueue()->checkpointReschedule(&event); \ 187 } while(0) 188 | 1/* 2 * Copyright (c) 2015 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 --- 172 unchanged lines hidden (view full) --- 181#define SERIALIZE_EVENT(event) event.serializeSection(cp, #event); 182 183#define UNSERIALIZE_EVENT(event) \ 184 do { \ 185 event.unserializeSection(cp, #event); \ 186 eventQueue()->checkpointReschedule(&event); \ 187 } while(0) 188 |
189#define SERIALIZE_OBJ(obj) obj.serializeSection(cp, #obj) 190#define UNSERIALIZE_OBJ(obj) obj.unserializeSection(cp, #obj) |
|
189 190#define SERIALIZE_OBJPTR(objptr) paramOut(cp, #objptr, (objptr)->name()) 191 192#define UNSERIALIZE_OBJPTR(objptr) \ 193 do { \ 194 SimObject *sptr; \ 195 objParamIn(cp, #objptr, sptr); \ 196 fromSimObject(objptr, sptr); \ --- 315 unchanged lines hidden --- | 191 192#define SERIALIZE_OBJPTR(objptr) paramOut(cp, #objptr, (objptr)->name()) 193 194#define UNSERIALIZE_OBJPTR(objptr) \ 195 do { \ 196 SimObject *sptr; \ 197 objParamIn(cp, #objptr, sptr); \ 198 fromSimObject(objptr, sptr); \ --- 315 unchanged lines hidden --- |