Page MenuHomeFreeBSD

bhyve/tpm: build TPM2 table by tpm interface
ClosedPublic

Authored by corvink on Jun 7 2023, 12:05 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 23 2023, 12:47 AM
Unknown Object (File)
Dec 11 2023, 12:45 AM
Unknown Object (File)
Nov 21 2023, 5:27 PM
Unknown Object (File)
Nov 13 2023, 2:57 PM
Unknown Object (File)
Nov 12 2023, 8:46 AM
Unknown Object (File)
Nov 11 2023, 9:14 AM
Unknown Object (File)
Nov 11 2023, 8:07 AM
Unknown Object (File)
Nov 9 2023, 9:37 AM
Subscribers

Details

Summary

Each tpm has a device specific table. Which table a tpm uses depends on
the tpm interface.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

usr.sbin/bhyve/tpm_intf_crb.c
246

Variable declarations should be followed by a newline.

274

IMO it would be better to introduce new basl routines to modify tables, rather than exporting tersely named global variables like this.

  • make use of new basl helper
corvink added inline comments.
usr.sbin/bhyve/tpm_intf_crb.c
274
markj added inline comments.
usr.sbin/bhyve/tpm_intf_crb.c
215
274

Nice, thank you.

This revision is now accepted and ready to land.Jun 15 2023, 3:21 PM
This revision was automatically updated to reflect the committed changes.
corvink marked an inline comment as done.