Skip to content
/ r-rtcs Public

remote realtime control system based on loongson

License

Notifications You must be signed in to change notification settings

unanao/r-rtcs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Remote realtime control system based on loongson

A project we are in college, in 2009.

Summary

The system is a real time system run on loongson, control the step motor from browser.
System structure:
Main structure

Sub-module

Control ui:
Contrl ui

Permission Control

Login

Real time

With Ingo Molnar's Realtime Preemption patch (referenced to as RT-Preempt in this document) and Thomas Gleixner's generic clock event layer with high resolution support, the kernel gains hard realtime capabilities.The RT-Preempt patch converts Linux into a fully preemptible kernel. The magic is done with:
Making in-kernel locking-primitives (using spinlocks) preemptible though reimplementation with rtmutexes:

  • Critical sections protected by i.e. spinlock_t and rwlock_t are now preemptible. The creation of non-preemptible sections (in kernel) is still possible with raw_spinlock_t (same APIs like spinlock_t)
  • Implementing priority inheritance for in-kernel spinlocks and semaphores. For more information on priority inversion and priority inheritance please consult Introduction to Priority Inversion
  • Converting interrupt handlers into preemptible kernel threads: The RT-Preempt patch treats soft interrupt handlers in kernel thread context, which is represented by a task_struct like a common userspace process. However it is also possible to register an IRQ in kernel context.
  • Converting the old Linux timer API into separate infrastructures for high resolution kernel timers plus one for timeouts, leading to userspace POSIX timers with high resolution.

Security

Netfilter and iptables mechanism.

Log recording

Recording User's operations and time

Designer and developer:

Name Email
Sun Jianjiao [email protected]
Zhang Yanjiang [email protected]
Liu Quanying [email protected]

About

remote realtime control system based on loongson

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published