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