Hello,
we are doing a project on real-time scheduling on multi-core systems.
Right now I am looking for the possibility of using Gem5 as a simulation 
environment for testing different scheduling policies for multi-core systems.
 
For the simulation we need a minimum 4 arm cores. each running a minimum 
software with a main while(1) loop and an timer interrupt handler.
Inside the timer ISR, I call the schedule function which updates the next ready 
task to be executed according to some policy.
Inside the main loop,some dummy task will be executed.

1.I have got the simulation run the Linux kernel but I prefer to make a 
standalone scheduler with some dummy tasks to keep the system simple.Is there 
an example which illustrates such a minimum system?
 
2.Is it possible to use gdb to debug such a standalone application running 
without kernel?

3.Is it possible to select the arbitration policy of bus.
for example to select TDMA or Round-robin and specify the parameters eg. time 
quanta for TDMA ?does Gem5 models AMBA bus ?

4.How do I program the timer such that it send timer interrupt to all cores. 
How is the mapping of timer ISR handled? Is there a documentation which 
explains this? 

Thanks in advance..

kind regards,

Don Kuzhiyelil
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to