Hi:

in my building our migrated BSP in PB6,
there happened the following error message:

Linking C:\WINCE600\platform\wce600_nxc2600\target\MIPSII\retail\KITL.dll
BUILD: [01:0000001351:ERRORE] oal_cache_nxc.lib(tlb.obj) : error LNK2019:
unresolved external symbol TLBMissHandler referenced in function OALClearTLB

Would anyone can response this soon?

Thanks and Best Regards.

vincent tsai

Re: TLBMissHandler referenced :A migrating BSP from Wince500 to Wince600 Question? by Luca

Luca
Mon Jun 09 22:23:43 PDT 2008

OALClearTLB (which is a PQOAL function) calls the function TLBMissHandler
which
the linker can not resolve: since this is probably a specific function for
you MIPS BSP,
you should take a look to the 5.0 BSP code to see if you forget
TLBMissHandler during
the porting

--

Luca Calligaris
www.eurotech.it

"vincent" <vincent.tsai@icnexus.com.tw> ha scritto nel messaggio
news:u2zUz1qyIHA.4848@TK2MSFTNGP05.phx.gbl...
> Hi:
>
> in my building our migrated BSP in PB6,
> there happened the following error message:
>
> Linking C:\WINCE600\platform\wce600_nxc2600\target\MIPSII\retail\KITL.dll
> BUILD: [01:0000001351:ERRORE] oal_cache_nxc.lib(tlb.obj) : error LNK2019:
> unresolved external symbol TLBMissHandler referenced in function
> OALClearTLB
>
> Would anyone can response this soon?
>
> Thanks and Best Regards.
>
> vincent tsai
>
>
>



Re: TLBMissHandler referenced :A migrating BSP from Wince500 to Wince600 Question? by vincent

vincent
Tue Jun 10 19:18:42 PDT 2008

Hi:
TLBMissHandler has been defined in
WINCE600\PRIVATE\WINCEOSNK\KERNEL\MIPS\tlbmiss.s
but the sources below ,i don't know how to link this for PB6(i copy the
codes , sources anddef from PB5)?:
# Machine dependent defines
EXEENTRY=StartUp
LDEFINES=-subsystem:native -align:32 /DEBUG /DEBUGTYPE:BOTH,FIXUP
EXEBASE=0x8C040000
CDEFINES=$(CDEFINES) -Gd -Zi
!IF $(R3000)
CDEFINES=$(CDEFINES) -DIDT -DR3000
!ENDIF

MIPS_SOURCES= \
..\mips\ValidateStructures.c \
..\mips\vmmips.c \
..\mips\except.s \
..\mips\tlbmiss.s \
..\mips\startup.s \
..\mips\mdsched.c \
..\mips\intrlock.s \
..\mips\memmisc.s \
..\mips\xxcaptur.s \
..\mips\float.c \
..\mips\x4sqrt.s
"Luca Calligaris" <anonymous@discussions.microsoft.com> ¼¶¼g©ó¶l¥ó·s»D:uAkB1nryIHA.2208@TK2MSFTNGP04.phx.gbl...
> OALClearTLB (which is a PQOAL function) calls the function TLBMissHandler
> which
> the linker can not resolve: since this is probably a specific function for
> you MIPS BSP,
> you should take a look to the 5.0 BSP code to see if you forget
> TLBMissHandler during
> the porting
>
> --
>
> Luca Calligaris
> www.eurotech.it
>
> "vincent" <vincent.tsai@icnexus.com.tw> ha scritto nel messaggio
> news:u2zUz1qyIHA.4848@TK2MSFTNGP05.phx.gbl...
>> Hi:
>>
>> in my building our migrated BSP in PB6,
>> there happened the following error message:
>>
>> Linking C:\WINCE600\platform\wce600_nxc2600\target\MIPSII\retail\KITL.dll
>> BUILD: [01:0000001351:ERRORE] oal_cache_nxc.lib(tlb.obj) : error LNK2019:
>> unresolved external symbol TLBMissHandler referenced in function
>> OALClearTLB
>>
>> Would anyone can response this soon?
>>
>> Thanks and Best Regards.
>>
>> vincent tsai
>>
>>
>>
>
>



Re: TLBMissHandler referenced :A migrating BSP from Wince500 to Wince600 Question? by Travis

Travis
Wed Jun 18 11:31:41 PDT 2008

Since the kernel and OAL were separated, it's not possible for you to link
directly to TLBMissHandler like you could in CE5. However, the
TLBMissHandler code is position independent, so you can copy the 32
instructions from the TLBMiss exception vector and put it where you'll jump
to (this advice from Bor-Ming on the CE kernel team).

--
--Travis Hobrla
http://blogs.msdn.com/ce_base/

This posting is provided "AS IS" with no warranties, and confers no rights.
"vincent" <vincent.tsai@icnexus.com.tw> wrote in message
news:uXQGCp2yIHA.1504@TK2MSFTNGP05.phx.gbl...
> Hi:
> TLBMissHandler has been defined in
> WINCE600\PRIVATE\WINCEOSNK\KERNEL\MIPS\tlbmiss.s
> but the sources below ,i don't know how to link this for PB6(i copy the
> codes , sources anddef from PB5)?:
> # Machine dependent defines
> EXEENTRY=StartUp
> LDEFINES=-subsystem:native -align:32 /DEBUG /DEBUGTYPE:BOTH,FIXUP
> EXEBASE=0x8C040000
> CDEFINES=$(CDEFINES) -Gd -Zi
> !IF $(R3000)
> CDEFINES=$(CDEFINES) -DIDT -DR3000
> !ENDIF
>
> MIPS_SOURCES= \
> ..\mips\ValidateStructures.c \
> ..\mips\vmmips.c \
> ..\mips\except.s \
> ..\mips\tlbmiss.s \
> ..\mips\startup.s \
> ..\mips\mdsched.c \
> ..\mips\intrlock.s \
> ..\mips\memmisc.s \
> ..\mips\xxcaptur.s \
> ..\mips\float.c \
> ..\mips\x4sqrt.s
> "Luca Calligaris" <anonymous@discussions.microsoft.com>
> ¼¶¼g©ó¶l¥ó·s»D:uAkB1nryIHA.2208@TK2MSFTNGP04.phx.gbl...
>> OALClearTLB (which is a PQOAL function) calls the function TLBMissHandler
>> which
>> the linker can not resolve: since this is probably a specific function
>> for you MIPS BSP,
>> you should take a look to the 5.0 BSP code to see if you forget
>> TLBMissHandler during
>> the porting
>>
>> --
>>
>> Luca Calligaris
>> www.eurotech.it
>>
>> "vincent" <vincent.tsai@icnexus.com.tw> ha scritto nel messaggio
>> news:u2zUz1qyIHA.4848@TK2MSFTNGP05.phx.gbl...
>>> Hi:
>>>
>>> in my building our migrated BSP in PB6,
>>> there happened the following error message:
>>>
>>> Linking
>>> C:\WINCE600\platform\wce600_nxc2600\target\MIPSII\retail\KITL.dll
>>> BUILD: [01:0000001351:ERRORE] oal_cache_nxc.lib(tlb.obj) : error
>>> LNK2019: unresolved external symbol TLBMissHandler referenced in
>>> function OALClearTLB
>>>
>>> Would anyone can response this soon?
>>>
>>> Thanks and Best Regards.
>>>
>>> vincent tsai
>>>
>>>
>>>
>>
>>
>
>