audk/NetworkPkg/HttpBootDxe
Fu Siyuan 7537258100 NetworkPkg: Fix the driver model issue in HTTP Boot driver.
The HTTP Boot driver have some UEFI driver model problems which will make the
code ASSERT when it's disconnected.
First, the driver opens the HttpSb protocol BY_CHILD without BY_DRIVER attribute.
So the driver binding stop won't be called when HTTP driver is disconnected, so
a child handle is left and made HTTP driver binding stop function goes into error.
This patch remove this unnecessary OpenProtocol and only unload the HII from when
both the IP4 and IP6 stack have been stopped completely.
The second issue is the HTTP boot driver always use the driver's image handle as
it's driver binding handle, it's not correct. HTTP Boot driver provides 2 separate
driver binding protocols from IP4 and IP6 stack, so it has 2 driver binding handle.
So this patch fix the code to use correct driver binding handle when create/open
a HTTP child handle.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Fu Siyuan <siyuan.fu@intel.com>
Reviewed-by: Jiaxin Wu <jiaxin.wu@intel.com>
2016-03-16 14:43:17 +08:00
..
HttpBootClient.c NetworkPkg: Fix the driver model issue in HTTP Boot driver. 2016-03-16 14:43:17 +08:00
HttpBootClient.h NetworkPkg: Use Http11 definitions in HttpDxe and HttpBootDxe 2016-02-25 15:02:31 +08:00
HttpBootComponentName.c NetworkPkg:Enable Http Boot over Ipv6 stack 2015-11-09 03:30:42 +00:00
HttpBootComponentName.h NetworkPkg: Convert the UNIX to DOS end of line format 2015-08-27 01:07:31 +00:00
HttpBootConfig.c NetworkPkg: Fix the driver model issue in HTTP Boot driver. 2016-03-16 14:43:17 +08:00
HttpBootConfig.h NetworkPkg: Fix the driver model issue in HTTP Boot driver. 2016-03-16 14:43:17 +08:00
HttpBootConfigNVDataStruc.h NetworkPkg: Add URI configuration form to HTTP boot driver. 2016-03-07 09:12:14 +08:00
HttpBootConfigStrings.uni NetworkPkg: Convert UNI file to UTF8 format. 2016-03-10 09:48:20 +08:00
HttpBootConfigVfr.vfr NetworkPkg: Add URI configuration form to HTTP boot driver. 2016-03-07 09:12:14 +08:00
HttpBootDhcp4.c NetworkPkg: Add URI configuration form to HTTP boot driver. 2016-03-07 09:12:14 +08:00
HttpBootDhcp4.h NetworkPkg: Add URI configuration form to HTTP boot driver. 2016-03-07 09:12:14 +08:00
HttpBootDhcp6.c NetworkPkg: Add URI configuration form to HTTP boot driver. 2016-03-07 09:12:14 +08:00
HttpBootDhcp6.h NetworkPkg:Enable Http Boot over Ipv6 stack 2015-11-09 03:30:42 +00:00
HttpBootDxe.c NetworkPkg: Fix the driver model issue in HTTP Boot driver. 2016-03-16 14:43:17 +08:00
HttpBootDxe.h NetworkPkg: Fix the driver model issue in HTTP Boot driver. 2016-03-16 14:43:17 +08:00
HttpBootDxe.inf NetworkPkg: fix function comments in HttpBootDxe. 2016-03-15 09:51:12 +08:00
HttpBootDxe.uni NetworkPkg: Convert all .uni files to utf-8 2015-12-15 04:56:57 +00:00
HttpBootDxeExtra.uni NetworkPkg: Convert all .uni files to utf-8 2015-12-15 04:56:57 +00:00
HttpBootImpl.c NetworkPkg: Add URI configuration form to HTTP boot driver. 2016-03-07 09:12:14 +08:00
HttpBootImpl.h NetworkPkg:Enable Http Boot over Ipv6 stack 2015-11-09 03:30:42 +00:00
HttpBootSupport.c NetworkPkg: Fix the driver model issue in HTTP Boot driver. 2016-03-16 14:43:17 +08:00
HttpBootSupport.h NetworkPkg: fix function comments in HttpBootDxe. 2016-03-15 09:51:12 +08:00