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# 19725

6.2 EDK SP2 - VxWorks generates the following error: "C:\my_tmp\tornado\ppc405_0\bsp_ppc405_0\sysLib.c:241: `vtag_baseaddr' undeclared (first use in this function)"

Description

Keywords: PCI, OPB_PCI, BSP, driver

Urgency: Standard

General Description:
When the hardware includes the OPB_PCI core, but the OPB_PCI core has not been connected to the OS, the following error is generated:

"C:\my_tmp\tornado\ppc405_0\bsp_ppc405_0\sysLib.c:241: `vtag_baseaddr' undeclared (first us
e in this function)
C:\my_tmp\tornado\ppc405_0\bsp_ppc405_0\sysLib.c:241: (Each undeclared identifier is repor
ted only once
C:\my_tmp\tornado\ppc405_0\bsp_ppc405_0\sysLib.c:241: for each function it appears in.)
C:\my_tmp\tornado\ppc405_0\bsp_ppc405_0\sysLib.c:241: `PCI' undeclared (first use in this
function)
make: *** [sysLib.o] Error 0x1"

The BSP generated by EDK generates an incorrect config.h.

Solution

The xparameters.h file includes the following:

#define XPAR_PCI32_BRIDGE_BASEADDR

In the BSP generated by EDK, open the config.h and make the following change:

Change all of the occurrences of:

vtag_baseaddr<PCI>

To the following:

XPAR_PCI32_BRIDGE_BASEADDR
AR# 19725
Date Created 07/23/2004
Last Updated 04/28/2006
Status Archive
Type General Article