mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-22 01:07:57 +00:00
HV: move AP_MASK to cpu.h
It is better to use an unified MACRO. So, this patch moves AP_MASK to cpu.h and removes the defination of the MACRO spanning different source files. Tracked-On: #2991 Signed-off-by: Kaige Fu <kaige.fu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
committed by
ACRN System Integration
parent
7b6fe14517
commit
581c0a239a
@@ -139,6 +139,8 @@
|
||||
|
||||
#define BUS_LOCK "lock ; "
|
||||
|
||||
#define AP_MASK (((1UL << get_pcpu_nums()) - 1UL) & ~(1UL << 0U))
|
||||
|
||||
/**
|
||||
*
|
||||
* Identifiers for architecturally defined registers.
|
||||
|
Reference in New Issue
Block a user