diff options
author | Dandan Bi <dandan.bi@intel.com> | 2016-01-26 09:42:58 +0000 |
---|---|---|
committer | dandanbi <dandanbi@Edk2> | 2016-01-26 09:42:58 +0000 |
commit | f447734e4f9879e7333a3b6c5548f0d23529a3af (patch) | |
tree | 1a78a72e7ba197ebf592cb35c2047abc21db7d50 /MdeModulePkg/Universal/DebugPortDxe/ComponentName.c | |
parent | 03805fc376239ddc56838d33b20a031734e3e3a1 (diff) | |
download | edk2-platforms-f447734e4f9879e7333a3b6c5548f0d23529a3af.tar.xz |
MdeModulePkg:Make the logic in ConfigRouting.c clear and safe
The BlockData is expected to be NULL when to call function
IsThisOpcodeRequired in each opcode,but now exists case that the
Blockdata not be cleaned,then will be used in other opcode.it
is not correct,now add the check before use.
The comments and logic in function IsThisOpcodeRequired are not
consistent,now refine the code to make the logic clear.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Dandan Bi <dandan.bi@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19749 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/DebugPortDxe/ComponentName.c')
0 files changed, 0 insertions, 0 deletions