mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 12:08:06 +02:00
intel: tools: aubwrite: wrap function declarations for c++
Reviewed-by: Rafael Antognolli <rafael.antognolli@intel.com>
This commit is contained in:
parent
ed21007a6a
commit
475d670ef7
1 changed files with 8 additions and 0 deletions
|
|
@ -31,6 +31,10 @@
|
|||
#include "dev/gen_device_info.h"
|
||||
#include "common/gen_gem.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct aub_ppgtt_table {
|
||||
uint64_t phys_addr;
|
||||
struct aub_ppgtt_table *subtables[512];
|
||||
|
|
@ -78,4 +82,8 @@ void aub_write_trace_block(struct aub_file *aub,
|
|||
void aub_write_exec(struct aub_file *aub, uint64_t batch_addr,
|
||||
uint64_t offset, int ring_flag);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* INTEL_AUB_WRITE */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue