[Discuss] Kernel interpretation of pressing the reset button?

Cy Schubert Cy.Schubert at cschubert.com
Mon Jun 11 17:46:06 PDT 2018


In message <4E6AE5F528744E479C4F2AC326FFF840024809C631 at EX10MBX01.intra.c
amosun.
bc.ca>, "Deryk Barker (Honorary Colleague)" writes:
> Well, I *did* say unless things have changed.
>
> Certainly on the old PCI bus there was a line called RESET and *all* the butt
> on did was assert this line. It was up to the CPU to notice it.

Can you explain to us how the CPU notices it?

>
> Looking around there does not seem to be complete agreement these days and wi
> kipedia (I know, I know...) says:
>
> "On personal computers,[NB 1] the reset button clears the memory and reboots 
> the machine forcibly."
>
> before, a few paragraphs later, saying"
>
> "Reset buttons or keypresses on any computer cannot erase the contents of sys
> tem RAM, which can only be done by powering the computer off and waiting appr
> oximately 10 seconds for residual current in the RAM chips to dissipate."
>
> So, the button either clears the memory or it doesn't...

When the reset pin is asserted and the CPU is reset, it starts 
executing at FFF0:0000h. Motherboard manufactures are cagey about 
whether the reset jumper clears memory or not. Does it matter if memory 
is cleared or not? Remember all the registers are reset to zero. If you 
say it does matter, please explain why it does. Remember again, all 
registers are cleared.

>
> deryk 
> -------
> Deryk Barker, Faculty Emeritus
> Computer Science Department
> Camosun College, Victoria BC
>
> _______________________________________________
> Discuss mailing list
> Discuss at vlug.org
> http://vlug.org/mailman/listinfo/discuss_vlug.org
>

The only other thing that comes to mind is if the interrupt line is 
asserted while the reset line is asserted the processor (reading from 
Pentium Pro Developer's Manual Vol 1, pp 3-11) will enter into a self 
test state rather than reset.


-- 
Cheers,
Cy Schubert <Cy.Schubert at cschubert.com>
FreeBSD UNIX:  <cy at FreeBSD.org>   Web:  http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.





More information about the Discuss mailing list