1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 <2013> 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 <2013> 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: undefined symbol when loading mrfioc2 |
From: | 王林 <[email protected]> |
To: | "ygsong" <[email protected]>, <[email protected]> |
Date: | Tue, 5 Mar 2013 18:14:10 +0800 |
Hello Younggi,
I add the following
definitions and the corresponding declarations to the sysAUtil.s file in my
CPCI-6200 (MPC8572 processor) wb3.2/vx6.8 BSP directory, and it works. I think
it will also apply to MVME-3100.
FUNC_EXPORT(sysIn16)
FUNC_EXPORT(sysOut16) FUNC_EXPORT(sysIn32) FUNC_EXPORT(sysOut32) FUNC_BEGIN(sysIn16)
eieio /* Sync I/O operation */ sync lhzx p0,r0,p0 /* Read word from I/O space */ bclr 20,0 /* Return to caller */ FUNC_END(sysIn16) FUNC_BEGIN(sysOut16)
sthx p1,r0,p0 /* Write a word to I/O space */ eieio /* Sync I/O operation */ sync bclr 20,0 /* Return to caller */ FUNC_END(sysOut16) FUNC_BEGIN(sysIn32)
eieio /* Sync I/O operation */ sync lwzx p0,r0,p0 /* Read long from I/O space */ bclr 20,0 /* Return to caller */ FUNC_END(sysIn32) FUNC_BEGIN(sysOut32)
stwx p1,r0,p0 /* Write a long to I/O space */ eieio /* Sync I/O operation */ sync bclr 20,0 /* Return to caller */ FUNC_END(sysOut32) Lin
Wang
|