blob: 32fb941711a8bb9096d62d86afa09e2b99219112 [file] [log] [blame]
Stefan Bergerb310dfa2015-03-23 14:22:16 -04001#ifndef TCGBIOS_H
2#define TCGBIOS_H
3
4#include "types.h"
5
Stefan Berger5aa2a752015-03-23 14:22:17 -04006struct bregs;
7void tpm_interrupt_handler32(struct bregs *regs);
8
Kevin O'Connord6aca442015-06-10 11:00:17 -04009void tpm_setup(void);
10void tpm_prepboot(void);
11void tpm_s3_resume(void);
Kevin O'Connore98fafa2015-12-29 23:14:22 -050012void tpm_add_bcv(u32 bootdrv, const u8 *addr, u32 length);
13void tpm_add_cdrom(u32 bootdrv, const u8 *addr, u32 length);
14void tpm_add_cdrom_catalog(const u8 *addr, u32 length);
15void tpm_option_rom(const void *addr, u32 len);
Stefan Berger115d0082016-01-07 12:02:49 -050016int tpm_can_show_menu(void);
Stefan Berger320df852015-11-30 11:14:19 -050017void tpm_menu(void);
Stefan Bergerb310dfa2015-03-23 14:22:16 -040018
19#endif /* TCGBIOS_H */