9elements / converged-security-suite

Converged Security Suite for Intel & AMD platform security features
https://www.9esec.io
BSD 3-Clause "New" or "Revised" License
59 stars 15 forks source link

Remove acpi functions as members of interface structure. #272

Closed ChriMarMe closed 3 years ago

ChriMarMe commented 3 years ago

They were never part of the interface

Signed-off-by: Christopher Meis christopher.meis@9elements.com

flanfly commented 3 years ago

Some of functions in the hwapi package use TxtAPI instead of APIInterfaces. Also the UintN structure isn't included in non x86 builds (phys.go has build flags). This patch split phys.go into phys_{le,be}.go and moves UintN into it's own file. The phys* split duplicates some code.