arch/x86: Change smm_subregion() prototype

Do this to avoid some amount of explicit typecasting
that would be required otherwise.

Change-Id: I5bc2c3c1dd579f7c6c3d3354c0691e4ba3c778e1
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/34706
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
This commit is contained in:
Kyösti Mälkki
2019-08-05 15:10:18 +03:00
parent 9970b61ad3
commit 14222d8678
29 changed files with 110 additions and 174 deletions

View File

@@ -587,7 +587,7 @@ void restore_default_smm_area(void *smm_save_area);
* Fills in the arguments for the entire SMM region covered by chipset
* protections. e.g. TSEG.
*/
void smm_region(void **start, size_t *size);
void smm_region(uintptr_t *start, size_t *size);
enum {
/* SMM handler area. */
@@ -602,6 +602,6 @@ enum {
/* Fills in the start and size for the requested SMM subregion. Returns
* 0 on success, < 0 on failure. */
int smm_subregion(int sub, void **start, size_t *size);
int smm_subregion(int sub, uintptr_t *start, size_t *size);
#endif /* CPU_X86_SMM_H */