HLT
From: Jens Gruschel (nospam_at_pegtop.net)
Date: 06/23/04
- Next message: Bruno Lovatti: "Re: Huge prime numbers ($100,000.00 award)"
- Previous message: William Meyer: "Re: Huge prime numbers ($100,000.00 award)"
- Next in thread: Les Pawelczyk: "Re: HLT"
- Reply: Les Pawelczyk: "Re: HLT"
- Reply: Andrew Cruickshank: "Re: HLT"
- Reply: Brent S.: "Re: HLT"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 23 Jun 2004 19:43:56 +0200
Just curious...
What happens if I execute a HLT command on Windows NT? I tried it with good
old DOS DEBUG and the DOS box froze. So I guess in protected mode the HLT
only halts the current process. But what's happening behind the scenes? Is
there an interrupt that tells the OS that the process has been halted? A
friend of mine told me that Windows NT simply doesn't allow HLT (to halt the
whole CPU). But I think this answer is too simple, because it doesn't say
how this is prevented, and there is nothing that stops you from coding "asm
hlt end;", right? Has it something to do with the GDT for the current
process? Is it similar to the question how direct port access / memory
access violations are treated? I know a bit how the MMU works, so I have a
slight idea how it might work, but I'm very curious about your
explainatins...
Jens
- Next message: Bruno Lovatti: "Re: Huge prime numbers ($100,000.00 award)"
- Previous message: William Meyer: "Re: Huge prime numbers ($100,000.00 award)"
- Next in thread: Les Pawelczyk: "Re: HLT"
- Reply: Les Pawelczyk: "Re: HLT"
- Reply: Andrew Cruickshank: "Re: HLT"
- Reply: Brent S.: "Re: HLT"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|