UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 18453

6.1is1 EDK- Function calls using the Xgpio_mSetDataReg macro might not work correctly

Description

Keywords: 3.2, 6.1, edk, xgpio, xgpio_l.h, function, macro, header, file

Urgency: Standard

General Description:
If I use the "Xgpio_mSetDataReg" macro, defined in the "xgpio_l.h" header file, as an argument in a function call, the macro might end up as an argument to a different function call.

Solution

The problem has been traced to a trailing semicolon at the end of the macro definition. If the semicolon is left out of the user's argument in the function call, the specified function is used. This problem has been fixed in EDK Service Pack 1.
AR# 18453
Date Created 11/19/2003
Last Updated 04/28/2006
Status Archive
Type General Article