K8:
1) Replace immediate constant with MACRO. 2) Add in ASSERT for NULL before dereferencing pointers and after memory allocation. 3) Add a return statement in ProcessOptions to handle the mismatch between the value stored and the opcode for one-of-option in orderedlist opcode. This case occurs when the one-of-optoin entry in OrderedList get deleted. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7320 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -26,6 +26,13 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
|
||||
#define SUBTITLE_INDENT 2
|
||||
|
||||
|
||||
//
|
||||
// It take 23 characters including the NULL to print a 64 bits number with "[" and "]".
|
||||
// pow(2, 64) = [18446744073709551616]
|
||||
//
|
||||
#define MAX_NUMERIC_INPUT_WIDTH 23
|
||||
|
||||
typedef enum {
|
||||
UiNoOperation,
|
||||
UiDefault,
|
||||
|
Reference in New Issue
Block a user