F
Frank
Guest
Hi,
Could anyone explain the meaning of the process_table parameter in the mss
file (when using the xilkernel). I have a bootloader with the following
stuff in the mss file:
BEGIN LIBRARY
PARAMETER LIBRARY_NAME = xilkernel
PARAMETER LIBRARY_VER = 1.00.a
PARAMETER MAX_PROCS = 1
PARAMETER PROCESS_TABLE = ((0xA0000000, 1))
PARAMETER CONFIG_THREAD_SUPPORT = true
PARAMETER MAX_THREADS = 2
PARAMETER THREAD_STACK_SIZE = 0x100
PARAMETER CONFIG_SEMA = true
PARAMETER MAX_SEMA = 1
END
Besides that, I have an application (with his own makefile) which should be
run from address 0xA0000000, so in the makefile I use the linker option
LFLAGS = -xl-mode-xilkernel -Wl,-defsym -Wl,_TEXT_START_ADDR=0xA0000000
When I disassemble the .elf file of the application, it's all ok (addresses
starts from 0xA0000000). So what is the meaning of the address in the
process_table parameter in the mss file of the bootloader?? Does it make any
sense? Or do I not need the process stuff at all, but just use the thread
parameters (I only want an application which contains two threads)?!
Thanks,
Frank
Could anyone explain the meaning of the process_table parameter in the mss
file (when using the xilkernel). I have a bootloader with the following
stuff in the mss file:
BEGIN LIBRARY
PARAMETER LIBRARY_NAME = xilkernel
PARAMETER LIBRARY_VER = 1.00.a
PARAMETER MAX_PROCS = 1
PARAMETER PROCESS_TABLE = ((0xA0000000, 1))
PARAMETER CONFIG_THREAD_SUPPORT = true
PARAMETER MAX_THREADS = 2
PARAMETER THREAD_STACK_SIZE = 0x100
PARAMETER CONFIG_SEMA = true
PARAMETER MAX_SEMA = 1
END
Besides that, I have an application (with his own makefile) which should be
run from address 0xA0000000, so in the makefile I use the linker option
LFLAGS = -xl-mode-xilkernel -Wl,-defsym -Wl,_TEXT_START_ADDR=0xA0000000
When I disassemble the .elf file of the application, it's all ok (addresses
starts from 0xA0000000). So what is the meaning of the address in the
process_table parameter in the mss file of the bootloader?? Does it make any
sense? Or do I not need the process stuff at all, but just use the thread
parameters (I only want an application which contains two threads)?!
Thanks,
Frank