mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-04 23:24:56 +00:00
hv: rename BOOT_CPU_ID to BSP_CPU_ID
1. Rename BOOT_CPU_ID to BSP_CPU_ID 2. Repace hardcoded value with BSP_CPU_ID when ID of BSP is referenced. Tracked-On: #4420 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
This commit is contained in:
@@ -145,8 +145,6 @@
|
||||
#define CPU_MHZ_TO_HZ 1000000
|
||||
#define CPU_MHZ_TO_KHZ 1000
|
||||
|
||||
/* Boot CPU ID */
|
||||
#define BOOT_CPU_ID 0U
|
||||
|
||||
/* Number of GPRs saved / restored for guest in VCPU structure */
|
||||
#define NUM_GPRS 16U
|
||||
@@ -276,6 +274,9 @@ extern uint64_t secondary_cpu_stack[1];
|
||||
* to locate the per cpu data.
|
||||
*/
|
||||
|
||||
/* Boot CPU ID */
|
||||
#define BSP_CPU_ID 0U
|
||||
|
||||
/**
|
||||
*The invalid cpu_id (INVALID_CPU_ID) is error
|
||||
*code for error handling, this means that
|
||||
|
||||
Reference in New Issue
Block a user