Re: [edk2] [PATCH v2 3/3] IntelFrameworkModulePkg/KeyboardDxe: Use macro to enable/disable page 0

2017-12-06 Thread Ni, Ruiyu
On 12/7/2017 1:40 PM, Jian J Wang wrote: v2: a. Remove unnecessary braces enclosing code passed to ACCESS_PAGE0_CODE Current implementation uses following two methods EnableNullDetection() DisableNullDetection() to enable/disable page 0. These two methods will check PCD

[edk2] [PATCH v2 3/3] IntelFrameworkModulePkg/KeyboardDxe: Use macro to enable/disable page 0

2017-12-06 Thread Jian J Wang
> v2: > a. Remove unnecessary braces enclosing code passed to ACCESS_PAGE0_CODE Current implementation uses following two methods EnableNullDetection() DisableNullDetection() to enable/disable page 0. These two methods will check PCD PcdNullPointerDetectionPropertyMask to know if the