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
// -*- mode: C++; c-file-style: "virtutech-c++" -*-
2
3
/*
4
© 2020 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_BUFFER_H
17
#define SIMICS_TYPES_BUFFER_H
18
19
#include <cstddef>
// size_t
20
#include <cstdint>
21
22
namespace
simics
{
23
namespace
types {
24
25
/* This is a stand-alone subset of the Simics buffer_t struct
26
it is copied from simics/base/types.h and for internal use only
27
*/
28
29
struct
buffer_t
{
30
uint8_t *
data
;
31
size_t
len
;
32
};
33
34
}
// namespace types
35
}
// namespace simics
36
37
#endif
simics
Definition:
pci_bus_interface.h:24
simics::types::buffer_t
Definition:
buffer.h:29
simics::types::buffer_t::len
size_t len
Definition:
buffer.h:31
simics::types::buffer_t::data
uint8_t * data
Definition:
buffer.h:30