AR #23231 - 8.1i EDK Sp2 - The gpio_v2_00_a software driver does not correctly use Mask register to disable interrupt

Search Answers Database


 

8.1i EDK Sp2 - The gpio_v2_00_a software driver does not correctly use Mask register to disable interrupt

AR# 23231
Part IP-Processor
Last Modified 2006-04-11 00:00:00.0
Status Active
Keywords gpio_v2_00_a driver, gpio,gpio_v2_00_a, Processor IP, [[EDK Sp2]]

Description

Keywords: gpio_v2_00_a driver, gpio, gpio_v2_00_a, Processor IP,

The software code in the gpio_v2_00_a driver includes:
Register = XIIF_V123B_READ_IIER(InstancePtr->BaseAddress +
XGPIO_IPIF_OFFSET);
XIIF_V123B_WRITE_IIER(InstancePtr->BaseAddress + XGPIO_IPIF_OFFSET,
Mask & ~Register);

This should be changed to:
~Mask & Register

Solution

This problem has been fixed in the latest EDK 8.1i Service Pack, available at:
http://www.xilinx.com/xlnx/xil_sw_updates_home.jsp
The first service pack containing the fix is EDK 8.1i Service Pack 2.
 
 
/csi/footer.htm