|
|
|
|
|
by valarauca1
4473 days ago
|
|
The only real time component of the software stack is the kernel. If you want another real time module your screwed because you need to run it in kernel space, but if you have a kernel you can't. Or you run a real time OS which may have problems because they aren't developed with security but IO timing in mind. It's a fundamental flaw of time shared OS's. :.:.: Second security works in a simple way. Cost to secure vs money lost. Lab equipment is expensive. The loss of an entire calibration bench could run into the $250,000 to $1million and beyond range. But redeveloping and entire OS to do this? Your talking about spending 20 to 100x MORE on security then your losses. That's idiotic at best. |
|
To take your example:
Design the PCI card to have it's own, smaller CPU (or FPGA, or whatever), that does the real-time interaction with the "32,600,000 pulses per second." Don't have the real-time bits depend in any way with the code running on the CPU. Have it buffer the data. The, when the PCI card is accessed by the userland program on the CPU, it dumps the buffer onto the PCI bus. The userland would obviously have be fast enough that the buffer doesn't fill up, but that speed is much less than "real time". You can then work with the data in the userland, running in non-real time.