1/*
2 * Copyright (c) 2001-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;
--- 60 unchanged lines hidden (view full) ---
69 *
70 * These shortcuts are acceptable since the system console is
71 * primarily used doing boot before the kernel has loaded its device
72 * drivers.
73 */
74class AlphaBackdoor : public BasicPioDevice
75{
76 protected:
77 struct Access : public AlphaAccess
78 {
79 void serialize(std::ostream &os);
80 void unserialize(Checkpoint *cp, const std::string §ion);
81 };
82
83 union {
84 Access *alphaAccess;
85 uint8_t *consoleData;
86 };
87
88 /** the disk must be accessed from the console */
--- 24 unchanged lines hidden (view full) ---
113 * memory mapped reads and writes
114 */
115 virtual Tick read(PacketPtr pkt);
116 virtual Tick write(PacketPtr pkt);
117
118 /**
119 * standard serialization routines for checkpointing
120 */
121 virtual void serialize(std::ostream &os);
122 virtual void unserialize(Checkpoint *cp, const std::string §ion);
123};
124
125#endif // __DEV_ALPHA_BACKDOOR_HH__
2 * Copyright (c) 2001-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;
--- 60 unchanged lines hidden (view full) ---
69 *
70 * These shortcuts are acceptable since the system console is
71 * primarily used doing boot before the kernel has loaded its device
72 * drivers.
73 */
74class AlphaBackdoor : public BasicPioDevice
75{
76 protected:
77 struct Access : public AlphaAccess
78 {
79 void serialize(std::ostream &os);
80 void unserialize(Checkpoint *cp, const std::string §ion);
81 };
82
83 union {
84 Access *alphaAccess;
85 uint8_t *consoleData;
86 };
87
88 /** the disk must be accessed from the console */
--- 24 unchanged lines hidden (view full) ---
113 * memory mapped reads and writes
114 */
115 virtual Tick read(PacketPtr pkt);
116 virtual Tick write(PacketPtr pkt);
117
118 /**
119 * standard serialization routines for checkpointing
120 */
121 virtual void serialize(std::ostream &os);
122 virtual void unserialize(Checkpoint *cp, const std::string §ion);
123};
124
125#endif // __DEV_ALPHA_BACKDOOR_HH__