From 36ec8dd69028adaa1ad2dc5d6a84bba229032adf Mon Sep 17 00:00:00 2001 From: Oliver O'Halloran Date: Wed, 24 May 2017 16:00:52 +1000 Subject: mem_region: Add HW-only memory resevations Add a new type of memory reservation that indicates a memory region is only used by hardware and should not be touched by software. This is needed for the in-memory tracing buffers. These reservations have the "no-map" property which indicates that the host kernel should not setup any virtual address mappings that cover this range, unless of course a device driver does so explicitly. Signed-off-by: Oliver O'Halloran Signed-off-by: Stewart Smith --- hdata/test/stubs.c | 1 + 1 file changed, 1 insertion(+) (limited to 'hdata') diff --git a/hdata/test/stubs.c b/hdata/test/stubs.c index e3b0fdf..68f55e6 100644 --- a/hdata/test/stubs.c +++ b/hdata/test/stubs.c @@ -107,3 +107,4 @@ static void noop_function(void) {} NOOP_STUB(early_uart_init); NOOP_STUB(mem_reserve_fw); +NOOP_STUB(mem_reserve_hwbuf); -- cgit v1.1