mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-10 05:09:01 +00:00
fix "use of single line comments(s) //"
Replace "//" with '/*','*/' couples. V1->V2: Correct comment "Tracked-On" format V2->V3: Remove "/* ==...===*/" comment Tracked-On: #861 Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -42,8 +42,6 @@
|
||||
struct multiboot_info;
|
||||
extern struct multiboot_info mbi;
|
||||
|
||||
// ========================================================================
|
||||
|
||||
/*
|
||||
* Multiboot header structure.
|
||||
*/
|
||||
@@ -79,7 +77,6 @@ struct multiboot_header {
|
||||
*/
|
||||
extern struct multiboot_header *Multiboot_Header;
|
||||
|
||||
// ========================================================================
|
||||
/*
|
||||
* Multiboot information structure.
|
||||
*/
|
||||
@@ -179,6 +176,4 @@ struct multiboot_module {
|
||||
|
||||
#endif /* !defined(_LOCORE) */
|
||||
|
||||
// ========================================================================
|
||||
|
||||
#endif /* _MULTIBOOT_H */
|
||||
|
@@ -43,7 +43,7 @@
|
||||
#include <efilib.h>
|
||||
#include "stdlib.h"
|
||||
|
||||
#define DOS_FILE_MAGIC_NUMBER 0x5A4D //"MZ"
|
||||
#define DOS_FILE_MAGIC_NUMBER 0x5A4D /* "MZ" */
|
||||
struct DosFileHeader {
|
||||
uint16_t mMagic;
|
||||
uint16_t LastSize;
|
||||
@@ -68,7 +68,7 @@ struct DosFileHeader {
|
||||
|
||||
#define IMAGE_FILE_MACHINE_I386 0x14c
|
||||
#define IMAGE_FILE_MACHINE_AMD64 0x8664
|
||||
#define PE_FILE_MAGIC_NUMBER 0x00004550 //"PE\0\0"
|
||||
#define PE_FILE_MAGIC_NUMBER 0x00004550 /* "PE\0\0" */
|
||||
struct PeHeader {
|
||||
uint32_t mMagic;
|
||||
uint16_t mMachine;
|
||||
|
Reference in New Issue
Block a user