| // Copyright 2018 The Fuchsia Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #pragma once |
| |
| #include "garnet/lib/debug_ipc/records.h" |
| |
| namespace debug_ipc { |
| |
| // Creates a register with the amount of data specified. The data will be zero. |
| Register CreateRegister(RegisterID id, size_t length); |
| |
| // Creates a register with a data pattern within it. |
| // The pattern will 0x010203 ... (little-endian). |
| Register CreateRegisterWithData(RegisterID id, size_t length); |
| |
| // Create a register with an uint64_t as value. |
| Register CreateUint64Register(RegisterID id, uint64_t value); |
| |
| } // namespace debug_ipc |