![]() |
|
|
#23 | |
|
"Richard B. Woods"
Aug 2002
Wisconsin USA
22×3×641 Posts |
Quote:
I'm not concerned with systems that do only one thing at a time. |
|
|
|
|
|
|
#24 | |
|
Bamboozled!
"๐บ๐๐ท๐ท๐ญ"
May 2003
Down not across
2·17·347 Posts |
Quote:
A device driver has complete accesses to the raw hardware, including physical memory, page tables, TLB entires, the works. It can do anything it likes, including corrupting operating system data structures. One such data structure is the copy of the original registers now stored somewhere in memory. Paul |
|
|
|
|
|
|
#25 | ||
|
"Richard B. Woods"
Aug 2002
Wisconsin USA
22·3·641 Posts |
xilman,
OK, now I see that we've been referring to different aspects of the relationship of device driver to OS. I was commenting on the entry/exit interface, but when you wrote Quote:
When I wrote Quote:
So do I presume correctly that you agree with me that upon an I/O interrupt, the sequence of events goes like the following? 1. Interrupt causes machine to branch to some fixed location (details vary from machine to machine). 2. At that fixed location an instruction or event (like loading PSW on 360s) or indirect branch causes iinstruction execution pointer to point to some location within the OS. 3. At that OS location, the OS saves the context (on some machines this may be all or partly done automatically during firmware execution of the interrupt event) including saving register contents, 4. OS transfers execution to device driver's interrupt-handling entry point. Sorry for the detail, but I want to align my view with yours here. (I have more to say about what happens after driver's interrupt-handling entry, but want to wait until you confirm that my latest revised interpretations of what you wrote are correct.) |
||
|
|
|
|
|
#26 | |
|
Bamboozled!
"๐บ๐๐ท๐ท๐ญ"
May 2003
Down not across
2×17×347 Posts |
Quote:
Paul |
|
|
|
|
|
|
#27 | |
|
Jun 2003
The Texas Hill Country
108910 Posts |
Quote:
I believe that VMWare is currently using similar techniques to allow it to run multiple OSes on the modern incarnation of the x86 architecture. |
|
|
|
|
|
|
#28 | |
|
Bamboozled!
"๐บ๐๐ท๐ท๐ญ"
May 2003
Down not across
2·17·347 Posts |
Quote:
There were a number of such operating systems back in the 60s and 70s. One of which I have personal experience is VME/B which ran on ICL 2900 series mainframes. There are very few such operating systems today though they are starting to make a comeback. My comment "all of them" is therefore incorrect and should be replaced by "all but one of them". My excuse is that I last used VME/B in 1981 or so and had long forgotten about it. Even then, I didn't have particularly great exposure and certainly not at the system programming level --- I was strictly scientific Fortran and Algol68. A common flaw of virtual machine environments is that they tend to provide adequate protection only if processes do not share a virtual machine. VMWare and the like do indeed allow multiple OSes on the same x86 architecture. Unfortunately, a prime95 running in an instance of an OS running under VMWare is still vulnerable to bugs in the device drivers running in that OS. At least, that is my understanding of the situation. If anyone can point me to reliable documentation which proves otherwise I would be grateful. Paul |
|
|
|
|
|
|
#29 |
|
Dec 2004
148 Posts |
Lol, well... Getting back to my problem, I tesed my components in my cousinยดs mobo to check if everything was fine... Then I got illegal sumeout errors with my processor with his mobo, memory and stuff.. So I went back to the store I bought my barton and traded it.. Im waiting it to get therte so I can pick it back.. See ya guys, thanks a lot for the help, I will tell you if everything ended up right...
|
|
|
|
|
|
#30 |
|
"Richard B. Woods"
Aug 2002
Wisconsin USA
769210 Posts |
Cleaning up a loose end:
Now that Wacky's mentioned the hardware protection, I'll just say that in view of Intel CPUs' lack of various protections available on mainframes, I think Microsoft had an obligation, once they saw how popular their OS was going to be, to incorporate as many protective software mechanisms as feasible. Example: Memory allocation. I was astonished to learn that (early) Windows apparently relied on user programs to free storage, in the sense that the OS did not keep a record of memory allocations that was separate from user programs. So when a user task aborted before freeing memory, (early) Windows couldn't be sure it recovered all its allocated memory. Also, this feature seems related to the "memory leak" phenomenon, blamed for some crashes. Since my editorial was off-topic to begin with, I'll consider that I've tied up the loose end sufficiently to let it rest. |
|
|
|
|
|
#31 | |
|
Aug 2002
26×5 Posts |
Quote:
|
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Weird hardware error | ATH | Hardware | 3 | 2016-01-16 15:46 |
| Prime 95 result - Hardware Failure | pbunn | Information & Answers | 37 | 2013-04-22 21:41 |
| Which hardware should I run my primorial prime tests on? | jasong | Hardware | 3 | 2006-11-23 05:17 |
| Please help--hardware problems. | SpecTheIntro | Hardware | 11 | 2004-03-21 05:55 |
| Q: Mlucas on Linux on Alpha hardware - Problems ??? | MartinHvidberg | Mlucas | 9 | 2003-07-21 18:58 |