acrn-hypervisor/hypervisor/include/common
Junjie Mao cfc3811a0a HV: treewide: drop debug-only helpers in release build
There are multiple helpers for collecting info to be printed on the ACRN uart
console. They are unreachable code in release builds in which the uart console
is removed.

To define a precise boundary for safety-related activities, this patch wraps the
declarations and definitions to these helpers with "#ifdef HV_DEBUG" so that
these unreachable APIs will be dropped in release builds.

v1 -> v2:

    * Fix coding style: no empty lines between #ifdef and the wrapped code.
    * Also drop get_rte_info() in ioapic.c, which is solely used by
      get_ioapic_info().

Signed-off-by: Junjie Mao <junjie.mao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-07-02 14:35:39 +08:00
..
acrn_efi.h hv: Fix typo of trampline with trampoline 2018-06-12 15:54:16 +08:00
hypercall.h Merge pull request #322 from dbkinder/api-spell 2018-06-12 07:45:21 +08:00
irq.h hv: pirq: add a header for common data struct and APIs 2018-06-29 00:50:01 +08:00
ptdev.h HV: treewide: drop debug-only helpers in release build 2018-07-02 14:35:39 +08:00
schedule.h HV:treewide:Cleanup the type for parameters of bitmap 2018-07-02 10:46:11 +08:00