SystemC Library API Reference Manual
Reference documentation for the Simics SystemC Library.
Loading...
Searching...
No Matches
buffer.h
Go to the documentation of this file.
1
/*
2
© 2020 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_BUFFER_H
15
#define SIMICS_TYPES_BUFFER_H
16
17
#include <cstddef>
// size_t
18
#include <cstdint>
19
20
namespace
simics
{
21
namespace
types {
22
23
/* This is a stand-alone subset of the Simics buffer_t struct
24
it is copied from simics/base/types.h and for internal use only
25
*/
26
27
struct
buffer_t
{
28
uint8_t *
data
;
29
size_t
len
;
30
};
31
32
}
// namespace types
33
}
// namespace simics
34
35
#endif
simics
Definition:
adapter.h:79
simics::types::buffer_t
Definition:
buffer.h:27
simics::types::buffer_t::len
size_t len
Definition:
buffer.h:29
simics::types::buffer_t::data
uint8_t * data
Definition:
buffer.h:28