1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-04-27 23:22:37 +02:00

hwaccess_physmap: add missing DirectHW include

For MACH / APPLE map_physical is defined in DirectHW.h

TEST: run `make`
  compiles,
  linking fails due to missing directhw object in my setup, don't know
  how to fix this

Change-Id: I0e0f3fd587ae46e6f73418f2c83641cb1202478c
Signed-off-by: Thomas Heijligen <thomas.heijligen@secunet.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/62929
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Thomas Heijligen 2022-03-18 20:47:13 +01:00 committed by Angel Pons
parent c9535ff73d
commit 32aa9059bc

View File

@ -133,6 +133,7 @@ static void sys_physunmap_unaligned(void *virt_addr, size_t len)
{ {
} }
#elif defined(__MACH__) && defined(__APPLE__) #elif defined(__MACH__) && defined(__APPLE__)
#include <DirectHW/DirectHW.h>
#define MEM_DEV "DirectHW" #define MEM_DEV "DirectHW"