David J. Maria | 4f43700 | 2018-07-02 14:55:16 -0700 | [diff] [blame] | 1 | /* SPDX-License-Identifier: BSD-2 */ |
| 2 | /* |
| 3 | * Copyright (c) 2018 Intel Corporation |
| 4 | * All rights reserved. |
| 5 | */ |
| 6 | /* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. */ |
| 7 | #ifndef TCTI_TBS_H |
| 8 | #define TCTI_TBS_H |
| 9 | |
| 10 | #include "tcti-common.h" |
| 11 | |
| 12 | #define TCTI_TBS_MAGIC 0xfbf2afa3761e188aULL |
| 13 | |
| 14 | typedef struct { |
| 15 | TSS2_TCTI_COMMON_CONTEXT common; |
| 16 | void *hContext; |
| 17 | PBYTE commandBuffer; |
| 18 | UINT32 commandSize; |
| 19 | } TSS2_TCTI_TBS_CONTEXT; |
| 20 | |
| 21 | |
| 22 | |
| 23 | #endif /* TCTI_TBS_H */ |