SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
Loading...
Searching...
No Matches
bytes.h
Go to the documentation of this file.
1
// -*- mode: C++; c-file-style: "virtutech-c++" -*-
2
3
/*
4
© 2019 Intel Corporation
5
6
This software and the related documents are Intel copyrighted materials, and
7
your use of them is governed by the express license under which they were
8
provided to you ("License"). Unless the License provides otherwise, you may
9
not use, modify, copy, publish, distribute, disclose or transmit this software
10
or the related documents without Intel's prior written permission.
11
12
This software and the related documents are provided as is, with no express or
13
implied warranties, other than those that are expressly stated in the License.
14
*/
15
16
#ifndef SIMICS_TYPES_BYTES_H
17
#define SIMICS_TYPES_BYTES_H
18
19
#include <stdint.h>
20
21
namespace
simics
{
22
namespace
types {
23
24
/* This is a stand-alone subset of the Simics bytes_t struct
25
it is copied from simics/base/types.h and for internal use only
26
*/
27
28
struct
bytes_t
{
29
const
uint8_t *
data
;
30
size_t
len
;
31
};
32
33
}
// namespace types
34
}
// namespace simics
35
36
#endif
simics
Definition:
pci_bus_interface.h:24
simics::types::bytes_t
Definition:
bytes.h:28
simics::types::bytes_t::data
const uint8_t * data
Definition:
bytes.h:29
simics::types::bytes_t::len
size_t len
Definition:
bytes.h:30