mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
21 lines
413 B
C
21 lines
413 B
C
![]() |
/*-
|
||
|
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
|
||
|
*
|
||
|
* Copyright (c) 2022 Beckhoff Automation GmbH & Co. KG
|
||
|
* Author: Corvin Köhne <c.koehne@beckhoff.com>
|
||
|
*/
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include "config.h"
|
||
|
|
||
|
struct tpm_ppi {
|
||
|
const char *name;
|
||
|
|
||
|
int (*init)(void **sc);
|
||
|
void (*deinit)(void *sc);
|
||
|
int (*write_dsdt_regions)(void *sc);
|
||
|
int (*write_dsdt_dsm)(void *sc);
|
||
|
};
|
||
|
#define TPM_PPI_SET(x) DATA_SET(tpm_ppi_set, x)
|