Update Hob Instance to remove the unused InternalHobLib.h file.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5710 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
HOB Library.
|
||||
HOB Library implementation for DxeCore driver.
|
||||
|
||||
Copyright (c) 2006 - 2007, Intel Corporation<BR>
|
||||
Copyright (c) 2006 - 2008, Intel Corporation<BR>
|
||||
All rights reserved. This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
@@ -16,12 +16,10 @@
|
||||
|
||||
#include <PiDxe.h>
|
||||
|
||||
|
||||
#include <Library/HobLib.h>
|
||||
#include <Library/DebugLib.h>
|
||||
#include <Library/BaseMemoryLib.h>
|
||||
|
||||
#include "InternalHobLib.h"
|
||||
#include <Library/DxeCoreEntryPoint.h>
|
||||
|
||||
/**
|
||||
Returns the pointer to the HOB list.
|
||||
@@ -187,6 +185,7 @@ GetBootModeHob (
|
||||
EFI_HOB_HANDOFF_INFO_TABLE *HandOffHob;
|
||||
|
||||
HandOffHob = (EFI_HOB_HANDOFF_INFO_TABLE *) GetHobList ();
|
||||
ASSERT (HandOffHob != NULL);
|
||||
|
||||
return HandOffHob->BootMode;
|
||||
}
|
||||
|
Reference in New Issue
Block a user