diff options
Diffstat (limited to 'core/opal.c')
-rw-r--r-- | core/opal.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/opal.c b/core/opal.c index c530528..9bf2ad8 100644 --- a/core/opal.c +++ b/core/opal.c @@ -347,6 +347,10 @@ static void add_opal_firmware_exports_node(struct dt_node *node) dt_add_property_u64s(exports, "symbol_map", sym_start, sym_size); dt_add_property_u64s(exports, "hdat_map", SPIRA_HEAP_BASE, SPIRA_HEAP_SIZE); +#ifdef SKIBOOT_GCOV + dt_add_property_u64s(exports, "gcov", SKIBOOT_BASE, + HEAP_BASE - SKIBOOT_BASE); +#endif } static void add_opal_firmware_node(void) |