mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-04 23:24:56 +00:00
HV: handle integral issues as MISRA-C report
mainly focus on: like U/UL as unsigned suffix; char and int mix usage; also change some function's params for data type consistent. Signed-off-by: Minggui Cao <minggui.cao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -7,11 +7,11 @@
|
||||
#ifndef HOB_PARSE_H_
|
||||
#define HOB_PARSE_H_
|
||||
|
||||
#define SEED_ENTRY_TYPE_SVNSEED 0x1
|
||||
#define SEED_ENTRY_TYPE_RPMBSEED 0x2
|
||||
#define SEED_ENTRY_TYPE_SVNSEED 0x1U
|
||||
#define SEED_ENTRY_TYPE_RPMBSEED 0x2U
|
||||
|
||||
#define SEED_ENTRY_USAGE_USEED 0x1
|
||||
#define SEED_ENTRY_USAGE_DSEED 0x2
|
||||
#define SEED_ENTRY_USAGE_USEED 0x1U
|
||||
#define SEED_ENTRY_USAGE_DSEED 0x2U
|
||||
|
||||
struct seed_list_hob {
|
||||
uint8_t revision;
|
||||
|
||||
Reference in New Issue
Block a user