summaryrefslogtreecommitdiff
path: root/payloads/libpayload
diff options
context:
space:
mode:
authorMarshall Dawson <marshalldawson3rd@gmail.com>2017-09-28 17:21:09 -0600
committerMartin Roth <martinroth@google.com>2017-10-02 22:30:57 +0000
commit36a2356fb1bb85468de1d9e191df890c46ff3861 (patch)
tree45b8b11fb47e6d5ace0b79c52e74afdd784bef68 /payloads/libpayload
parentc6c4a213c5fe8483ed14fa9f7facb184a125da77 (diff)
amd/stoneyridge: Refactor SMI handler
Rewrite the handler to be more compact and extendable. The old functionality is duplicated after the rewrite. All SMI source registers (except for SmiSciStatus) behave identically so these are consolidated. Register 0x80 contains sources 0-31, 0x81 sources 32-63, and so on. Create a table of mini-handlers to be supported in the soc directory. As SMI sources are discovered, attempt to find the corresponding handler and then execute it. Change-Id: Ic7050ecf65c2af036fe297f429a0bbdc709ad4c1 Signed-off-by: Marshall Dawson <marshalldawson3rd@gmail.com> Reviewed-on: https://review.coreboot.org/21746 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marc Jones <marc@marcjonesconsulting.com>
Diffstat (limited to 'payloads/libpayload')
0 files changed, 0 insertions, 0 deletions