* [patch 0/2] Add new Status Code "EFI_SW_DXE_BS_PC_ATTEMPT_BOOT_ORDER_EVENT"
@ 2017-06-26 5:50 Dandan Bi
2017-06-26 5:50 ` [patch 1/2] MdePkg/PiStatusCode: Add new Status Code for BDS when attempting BootOrder Dandan Bi
2017-06-26 5:50 ` [patch 2/2] MdeModulePkg/BdsDxe: Report Status Code when booting from BootOrder list Dandan Bi
0 siblings, 2 replies; 7+ messages in thread
From: Dandan Bi @ 2017-06-26 5:50 UTC (permalink / raw)
To: edk2-devel
According to new PI spec, add new Status Code for BDS when
attempting booting form the UEFI BootOrder list.
Dandan Bi (2):
MdePkg/PiStatusCode: Add new Status Code for BDS when attempting
BootOrder
MdeModulePkg/BdsDxe: Report Status Code when booting from BootOrder
list
MdeModulePkg/Universal/BdsDxe/BdsEntry.c | 7 ++++++-
MdePkg/Include/Pi/PiStatusCode.h | 3 ++-
2 files changed, 8 insertions(+), 2 deletions(-)
--
1.9.5.msysgit.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* [patch 1/2] MdePkg/PiStatusCode: Add new Status Code for BDS when attempting BootOrder
2017-06-26 5:50 [patch 0/2] Add new Status Code "EFI_SW_DXE_BS_PC_ATTEMPT_BOOT_ORDER_EVENT" Dandan Bi
@ 2017-06-26 5:50 ` Dandan Bi
2017-06-26 6:18 ` Ni, Ruiyu
2017-06-26 7:45 ` Wang, Sunny (HPS SW)
2017-06-26 5:50 ` [patch 2/2] MdeModulePkg/BdsDxe: Report Status Code when booting from BootOrder list Dandan Bi
1 sibling, 2 replies; 7+ messages in thread
From: Dandan Bi @ 2017-06-26 5:50 UTC (permalink / raw)
To: edk2-devel; +Cc: Ruiyu Ni
According to new PI spec, add new Status Code to indicate BDS starts
attempting booting from the UEFI BootOrder list.
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
MdePkg/Include/Pi/PiStatusCode.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/MdePkg/Include/Pi/PiStatusCode.h b/MdePkg/Include/Pi/PiStatusCode.h
index 8a5e040..953585c 100644
--- a/MdePkg/Include/Pi/PiStatusCode.h
+++ b/MdePkg/Include/Pi/PiStatusCode.h
@@ -1,9 +1,9 @@
/** @file
StatusCode related definitions in PI.
-Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available under
the terms and conditions of the BSD License that accompanies this distribution.
The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php.
@@ -788,10 +788,11 @@ typedef struct {
#define EFI_SW_DXE_BS_PC_LEGACY_OPROM_INIT (EFI_SUBCLASS_SPECIFIC | 0x00000000)
#define EFI_SW_DXE_BS_PC_READY_TO_BOOT_EVENT (EFI_SUBCLASS_SPECIFIC | 0x00000001)
#define EFI_SW_DXE_BS_PC_LEGACY_BOOT_EVENT (EFI_SUBCLASS_SPECIFIC | 0x00000002)
#define EFI_SW_DXE_BS_PC_EXIT_BOOT_SERVICES_EVENT (EFI_SUBCLASS_SPECIFIC | 0x00000003)
#define EFI_SW_DXE_BS_PC_VIRTUAL_ADDRESS_CHANGE_EVENT (EFI_SUBCLASS_SPECIFIC | 0x00000004)
+#define EFI_SW_DXE_BS_PC_ATTEMPT_BOOT_ORDER_EVENT (EFI_SUBCLASS_SPECIFIC | 0x00000007)
///@}
//
// Software Class SMM Driver Subclass Progress Code definitions.
//
--
1.9.5.msysgit.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [patch 2/2] MdeModulePkg/BdsDxe: Report Status Code when booting from BootOrder list
2017-06-26 5:50 [patch 0/2] Add new Status Code "EFI_SW_DXE_BS_PC_ATTEMPT_BOOT_ORDER_EVENT" Dandan Bi
2017-06-26 5:50 ` [patch 1/2] MdePkg/PiStatusCode: Add new Status Code for BDS when attempting BootOrder Dandan Bi
@ 2017-06-26 5:50 ` Dandan Bi
2017-06-26 6:18 ` Ni, Ruiyu
2017-06-26 7:46 ` Wang, Sunny (HPS SW)
1 sibling, 2 replies; 7+ messages in thread
From: Dandan Bi @ 2017-06-26 5:50 UTC (permalink / raw)
To: edk2-devel; +Cc: Ruiyu Ni
Report Status Code to indicate BDS starts attempting booting
from the UEFI BootOrder list.
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
MdeModulePkg/Universal/BdsDxe/BdsEntry.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/MdeModulePkg/Universal/BdsDxe/BdsEntry.c b/MdeModulePkg/Universal/BdsDxe/BdsEntry.c
index b5e6ef6..ac5f908 100644
--- a/MdeModulePkg/Universal/BdsDxe/BdsEntry.c
+++ b/MdeModulePkg/Universal/BdsDxe/BdsEntry.c
@@ -3,11 +3,11 @@
When this module was dispatched by DxeCore, gEfiBdsArchProtocolGuid will be installed
which contains interface of BdsEntry.
After DxeCore finish DXE phase, gEfiBdsArchProtocolGuid->BdsEntry will be invoked
to enter BDS phase.
-Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2004 - 2017, Intel Corporation. All rights reserved.<BR>
(C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
(C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR>
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
@@ -368,10 +368,15 @@ BootBootOptions (
)
{
UINTN Index;
//
+ // Report Status Code to indicate BDS starts attempting booting from the UEFI BootOrder list.
+ //
+ REPORT_STATUS_CODE (EFI_PROGRESS_CODE, (EFI_SOFTWARE_DXE_BS_DRIVER | EFI_SW_DXE_BS_PC_ATTEMPT_BOOT_ORDER_EVENT));
+
+ //
// Attempt boot each boot option
//
for (Index = 0; Index < BootOptionCount; Index++) {
//
// According to EFI Specification, if a load option is not marked
--
1.9.5.msysgit.1
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [patch 2/2] MdeModulePkg/BdsDxe: Report Status Code when booting from BootOrder list
2017-06-26 5:50 ` [patch 2/2] MdeModulePkg/BdsDxe: Report Status Code when booting from BootOrder list Dandan Bi
@ 2017-06-26 6:18 ` Ni, Ruiyu
2017-06-26 7:46 ` Wang, Sunny (HPS SW)
1 sibling, 0 replies; 7+ messages in thread
From: Ni, Ruiyu @ 2017-06-26 6:18 UTC (permalink / raw)
To: Bi, Dandan, edk2-devel@lists.01.org
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Thanks/Ray
> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
> Dandan Bi
> Sent: Monday, June 26, 2017 1:51 PM
> To: edk2-devel@lists.01.org
> Cc: Ni, Ruiyu <ruiyu.ni@intel.com>
> Subject: [edk2] [patch 2/2] MdeModulePkg/BdsDxe: Report Status Code
> when booting from BootOrder list
>
> Report Status Code to indicate BDS starts attempting booting from the UEFI
> BootOrder list.
>
> Cc: Ruiyu Ni <ruiyu.ni@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Dandan Bi <dandan.bi@intel.com>
> ---
> MdeModulePkg/Universal/BdsDxe/BdsEntry.c | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/MdeModulePkg/Universal/BdsDxe/BdsEntry.c
> b/MdeModulePkg/Universal/BdsDxe/BdsEntry.c
> index b5e6ef6..ac5f908 100644
> --- a/MdeModulePkg/Universal/BdsDxe/BdsEntry.c
> +++ b/MdeModulePkg/Universal/BdsDxe/BdsEntry.c
> @@ -3,11 +3,11 @@
> When this module was dispatched by DxeCore, gEfiBdsArchProtocolGuid
> will be installed
> which contains interface of BdsEntry.
> After DxeCore finish DXE phase, gEfiBdsArchProtocolGuid->BdsEntry will be
> invoked
> to enter BDS phase.
>
> -Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.<BR>
> +Copyright (c) 2004 - 2017, Intel Corporation. All rights reserved.<BR>
> (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
> (C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR> 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 @@ -368,10 +368,15
> @@ BootBootOptions (
> )
> {
> UINTN Index;
>
> //
> + // Report Status Code to indicate BDS starts attempting booting from the
> UEFI BootOrder list.
> + //
> + REPORT_STATUS_CODE (EFI_PROGRESS_CODE,
> (EFI_SOFTWARE_DXE_BS_DRIVER |
> + EFI_SW_DXE_BS_PC_ATTEMPT_BOOT_ORDER_EVENT));
> +
> + //
> // Attempt boot each boot option
> //
> for (Index = 0; Index < BootOptionCount; Index++) {
> //
> // According to EFI Specification, if a load option is not marked
> --
> 1.9.5.msysgit.1
>
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [patch 1/2] MdePkg/PiStatusCode: Add new Status Code for BDS when attempting BootOrder
2017-06-26 5:50 ` [patch 1/2] MdePkg/PiStatusCode: Add new Status Code for BDS when attempting BootOrder Dandan Bi
@ 2017-06-26 6:18 ` Ni, Ruiyu
2017-06-26 7:45 ` Wang, Sunny (HPS SW)
1 sibling, 0 replies; 7+ messages in thread
From: Ni, Ruiyu @ 2017-06-26 6:18 UTC (permalink / raw)
To: Bi, Dandan, edk2-devel@lists.01.org
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Thanks/Ray
> -----Original Message-----
> From: Bi, Dandan
> Sent: Monday, June 26, 2017 1:51 PM
> To: edk2-devel@lists.01.org
> Cc: Ni, Ruiyu <ruiyu.ni@intel.com>
> Subject: [patch 1/2] MdePkg/PiStatusCode: Add new Status Code for BDS
> when attempting BootOrder
>
> According to new PI spec, add new Status Code to indicate BDS starts
> attempting booting from the UEFI BootOrder list.
>
> Cc: Ruiyu Ni <ruiyu.ni@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Dandan Bi <dandan.bi@intel.com>
> ---
> MdePkg/Include/Pi/PiStatusCode.h | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/MdePkg/Include/Pi/PiStatusCode.h
> b/MdePkg/Include/Pi/PiStatusCode.h
> index 8a5e040..953585c 100644
> --- a/MdePkg/Include/Pi/PiStatusCode.h
> +++ b/MdePkg/Include/Pi/PiStatusCode.h
> @@ -1,9 +1,9 @@
> /** @file
> StatusCode related definitions in PI.
>
> -Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>
> +Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>
> This program and the accompanying materials are licensed and made
> available under the terms and conditions of the BSD License that
> accompanies this distribution.
> The full text of the license may be found at
> http://opensource.org/licenses/bsd-license.php.
>
> @@ -788,10 +788,11 @@ typedef struct {
> #define EFI_SW_DXE_BS_PC_LEGACY_OPROM_INIT
> (EFI_SUBCLASS_SPECIFIC | 0x00000000)
> #define EFI_SW_DXE_BS_PC_READY_TO_BOOT_EVENT
> (EFI_SUBCLASS_SPECIFIC | 0x00000001)
> #define EFI_SW_DXE_BS_PC_LEGACY_BOOT_EVENT
> (EFI_SUBCLASS_SPECIFIC | 0x00000002)
> #define EFI_SW_DXE_BS_PC_EXIT_BOOT_SERVICES_EVENT
> (EFI_SUBCLASS_SPECIFIC | 0x00000003)
> #define EFI_SW_DXE_BS_PC_VIRTUAL_ADDRESS_CHANGE_EVENT
> (EFI_SUBCLASS_SPECIFIC | 0x00000004)
> +#define EFI_SW_DXE_BS_PC_ATTEMPT_BOOT_ORDER_EVENT
> (EFI_SUBCLASS_SPECIFIC | 0x00000007)
> ///@}
>
> //
> // Software Class SMM Driver Subclass Progress Code definitions.
> //
> --
> 1.9.5.msysgit.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [patch 1/2] MdePkg/PiStatusCode: Add new Status Code for BDS when attempting BootOrder
2017-06-26 5:50 ` [patch 1/2] MdePkg/PiStatusCode: Add new Status Code for BDS when attempting BootOrder Dandan Bi
2017-06-26 6:18 ` Ni, Ruiyu
@ 2017-06-26 7:45 ` Wang, Sunny (HPS SW)
1 sibling, 0 replies; 7+ messages in thread
From: Wang, Sunny (HPS SW) @ 2017-06-26 7:45 UTC (permalink / raw)
To: Dandan Bi, edk2-devel@lists.01.org; +Cc: Ruiyu Ni
Looks good. This is what we discussed with Ray for adding BDS platform hook function. Thanks for implementing this, Dandan.
Reviewed-by: Sunny Wang <sunnywang@hpe.com>
-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Dandan Bi
Sent: Monday, June 26, 2017 1:51 PM
To: edk2-devel@lists.01.org
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Subject: [edk2] [patch 1/2] MdePkg/PiStatusCode: Add new Status Code for BDS when attempting BootOrder
According to new PI spec, add new Status Code to indicate BDS starts attempting booting from the UEFI BootOrder list.
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
MdePkg/Include/Pi/PiStatusCode.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/MdePkg/Include/Pi/PiStatusCode.h b/MdePkg/Include/Pi/PiStatusCode.h
index 8a5e040..953585c 100644
--- a/MdePkg/Include/Pi/PiStatusCode.h
+++ b/MdePkg/Include/Pi/PiStatusCode.h
@@ -1,9 +1,9 @@
/** @file
StatusCode related definitions in PI.
-Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License that accompanies this distribution.
The full text of the license may be found at
http://opensource.org/licenses/bsd-license.php.
@@ -788,10 +788,11 @@ typedef struct {
#define EFI_SW_DXE_BS_PC_LEGACY_OPROM_INIT (EFI_SUBCLASS_SPECIFIC | 0x00000000)
#define EFI_SW_DXE_BS_PC_READY_TO_BOOT_EVENT (EFI_SUBCLASS_SPECIFIC | 0x00000001)
#define EFI_SW_DXE_BS_PC_LEGACY_BOOT_EVENT (EFI_SUBCLASS_SPECIFIC | 0x00000002)
#define EFI_SW_DXE_BS_PC_EXIT_BOOT_SERVICES_EVENT (EFI_SUBCLASS_SPECIFIC | 0x00000003)
#define EFI_SW_DXE_BS_PC_VIRTUAL_ADDRESS_CHANGE_EVENT (EFI_SUBCLASS_SPECIFIC | 0x00000004)
+#define EFI_SW_DXE_BS_PC_ATTEMPT_BOOT_ORDER_EVENT (EFI_SUBCLASS_SPECIFIC | 0x00000007)
///@}
//
// Software Class SMM Driver Subclass Progress Code definitions.
//
--
1.9.5.msysgit.1
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [patch 2/2] MdeModulePkg/BdsDxe: Report Status Code when booting from BootOrder list
2017-06-26 5:50 ` [patch 2/2] MdeModulePkg/BdsDxe: Report Status Code when booting from BootOrder list Dandan Bi
2017-06-26 6:18 ` Ni, Ruiyu
@ 2017-06-26 7:46 ` Wang, Sunny (HPS SW)
1 sibling, 0 replies; 7+ messages in thread
From: Wang, Sunny (HPS SW) @ 2017-06-26 7:46 UTC (permalink / raw)
To: Dandan Bi, edk2-devel@lists.01.org; +Cc: Ruiyu Ni, Wang, Sunny (HPS SW)
Looks good. This is what we discussed with Ray for adding BDS platform hook function. Thanks for implementing this, Dandan.
Reviewed-by: Sunny Wang <sunnywang@hpe.com>
-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Dandan Bi
Sent: Monday, June 26, 2017 1:51 PM
To: edk2-devel@lists.01.org
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Subject: [edk2] [patch 2/2] MdeModulePkg/BdsDxe: Report Status Code when booting from BootOrder list
Report Status Code to indicate BDS starts attempting booting from the UEFI BootOrder list.
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
---
MdeModulePkg/Universal/BdsDxe/BdsEntry.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/MdeModulePkg/Universal/BdsDxe/BdsEntry.c b/MdeModulePkg/Universal/BdsDxe/BdsEntry.c
index b5e6ef6..ac5f908 100644
--- a/MdeModulePkg/Universal/BdsDxe/BdsEntry.c
+++ b/MdeModulePkg/Universal/BdsDxe/BdsEntry.c
@@ -3,11 +3,11 @@
When this module was dispatched by DxeCore, gEfiBdsArchProtocolGuid will be installed
which contains interface of BdsEntry.
After DxeCore finish DXE phase, gEfiBdsArchProtocolGuid->BdsEntry will be invoked
to enter BDS phase.
-Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2004 - 2017, Intel Corporation. All rights reserved.<BR>
(C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
(C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR> 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 @@ -368,10 +368,15 @@ BootBootOptions (
)
{
UINTN Index;
//
+ // Report Status Code to indicate BDS starts attempting booting from the UEFI BootOrder list.
+ //
+ REPORT_STATUS_CODE (EFI_PROGRESS_CODE, (EFI_SOFTWARE_DXE_BS_DRIVER |
+ EFI_SW_DXE_BS_PC_ATTEMPT_BOOT_ORDER_EVENT));
+
+ //
// Attempt boot each boot option
//
for (Index = 0; Index < BootOptionCount; Index++) {
//
// According to EFI Specification, if a load option is not marked
--
1.9.5.msysgit.1
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
^ permalink raw reply related [flat|nested] 7+ messages in thread
end of thread, other threads:[~2017-06-26 7:44 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-26 5:50 [patch 0/2] Add new Status Code "EFI_SW_DXE_BS_PC_ATTEMPT_BOOT_ORDER_EVENT" Dandan Bi
2017-06-26 5:50 ` [patch 1/2] MdePkg/PiStatusCode: Add new Status Code for BDS when attempting BootOrder Dandan Bi
2017-06-26 6:18 ` Ni, Ruiyu
2017-06-26 7:45 ` Wang, Sunny (HPS SW)
2017-06-26 5:50 ` [patch 2/2] MdeModulePkg/BdsDxe: Report Status Code when booting from BootOrder list Dandan Bi
2017-06-26 6:18 ` Ni, Ruiyu
2017-06-26 7:46 ` Wang, Sunny (HPS SW)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox