]> git.proxmox.com Git - mirror_edk2.git/commit - MdePkg/Library/UefiLib/UefiLibInternal.h
HiiLibGetCurrentLanguage returns the current UEFI variable "PlatformLang" (if this...
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Sun, 21 Sep 2008 08:50:52 +0000 (08:50 +0000)
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>
Sun, 21 Sep 2008 08:50:52 +0000 (08:50 +0000)
commitf8d18bada5af6d1f89cfc3cd50580d590a641e50
tree2faa78e2f906e072bb6770167c6c31d6e9675099
parentc0522bd7dfae2dd290726dad1b55abd8d4925711
HiiLibGetCurrentLanguage returns the current UEFI variable "PlatformLang" (if this variable does not exist, a default value is returned). This function is called by HiiDatabase itself. Now, HiiLibGetCurrentLanguage is in HiiLib. Because of this, we can't add location of Hii protoocol in the library constructor of HiiLib. This cause Hii Database driver never get loaded (circular dependency).

By moving HiiLibGetCurrentLanguage to UefiLib, library constructor (depex) can be added back to HiiLib to make sure the execution order is correct.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5938 6f19259b-4bc3-4df7-8a09-765794883524
MdePkg/Include/Library/HiiLib.h
MdePkg/Include/Library/UefiLib.h
MdePkg/Library/HiiLib/HiiLanguage.c
MdePkg/Library/HiiLib/HiiLib.c
MdePkg/Library/HiiLib/HiiLib.inf
MdePkg/Library/HiiLib/HiiString.c
MdePkg/Library/HiiLib/InternalHiiLib.h
MdePkg/Library/UefiLib/UefiLib.c
MdePkg/Library/UefiLib/UefiLib.inf
MdePkg/Library/UefiLib/UefiLibInternal.h