blob: 0f9d5c3b1227bf949e929703b36f484dfc845dec [file] [log] [blame]
#ifndef TCGBIOS_H
#define TCGBIOS_H
#include "types.h"
#define STATUS_FLAG_SHUTDOWN (1 << 0)
struct iovec
{
size_t length;
const void *data;
};
struct bregs;
void tpm_interrupt_handler32(struct bregs *regs);
void tpm_setup(void);
void tpm_prepboot(void);
void tpm_s3_resume(void);
u32 tpm_add_bcv(u32 bootdrv, const u8 *addr, u32 length);
u32 tpm_add_cdrom(u32 bootdrv, const u8 *addr, u32 length);
u32 tpm_add_cdrom_catalog(const u8 *addr, u32 length);
u32 tpm_option_rom(const void *addr, u32 len);
#endif /* TCGBIOS_H */