Forums

using xilkernel

Started by Frank November 25, 2003
Can anyone explain me how to use the xilkernel. I added in the mss file the
following

BEGIN LIBRARY
 parameter library_name = xilkernel
 parameter library_ver = 1.00.a
 parameter max_procs = 10
 parameter max_readyq = 10
 parameter sched_type = 2
 parameter config_sema = true
 parameter config_msgq = true
 parameter config_thread_support = true
 parameter config_shm = true
 parameter config_malloc = true
 parameter config_mutex = true
 parameter process_table = ( (0xffe00000, 28))
 parameter msgq_table = ( (4, 1) )
 parameter mem_table = ((4,10), (8,10))
 parameter shm_table = ((100))
END

but when I try to use thread_create or sys_thread_create, I get an undefined
reference to it when linking.

Thanks,
Frank


<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Xilkernel comes with a number of examples to illustrate its usage. These
examples can be found both in the install area for EDK, and in your local
project directory. Please see the examples in the test/arch/microblaze
area to see how this is done. For thread creation, see print_thread.c
<p>Hope this helps.
<p>--
<br>&nbsp;&nbsp; Mohan
<p>Frank wrote:
<blockquote TYPE=CITE>Can anyone explain me how to use the xilkernel. I
added in the mss file the
<br>following
<p>BEGIN LIBRARY
<br>&nbsp;parameter library_name = xilkernel
<br>&nbsp;parameter library_ver = 1.00.a
<br>&nbsp;parameter max_procs = 10
<br>&nbsp;parameter max_readyq = 10
<br>&nbsp;parameter sched_type = 2
<br>&nbsp;parameter config_sema = true
<br>&nbsp;parameter config_msgq = true
<br>&nbsp;parameter config_thread_support = true
<br>&nbsp;parameter config_shm = true
<br>&nbsp;parameter config_malloc = true
<br>&nbsp;parameter config_mutex = true
<br>&nbsp;parameter process_table = ( (0xffe00000, 28))
<br>&nbsp;parameter msgq_table = ( (4, 1) )
<br>&nbsp;parameter mem_table = ((4,10), (8,10))
<br>&nbsp;parameter shm_table = ((100))
<br>END
<p>but when I try to use thread_create or sys_thread_create, I get an undefined
<br>reference to it when linking.
<p>Thanks,
<br>Frank</blockquote>
</html>