Re: Adding an entry in /proc filesystem

Gabriel Paubert (paubert@iram.es)
Mon, 26 May 1997 17:24:56 +0200 (METDST)


On Sat, 24 May 1997, Daniele Cruciani wrote:

> Hi,
[snipped]
> NOTE: cyrix cr0 bits 29 and 30 unsetted means internal cache enable in
> write back mode, in pentium means ... a probably crash ... but i hope this
> bits are let be at the old value.

No, the setting for Pentium is also bit 30:29=0:0, a crash (a GP fault to
be exact) will happen if you set these bits to 0:1. All other combinations
are valid. First release of the 486 had different meanings for these bits
but there should not be many around. Anyway, setting these bits correctly
is the responsibility of the BIOS, not of the OS. Bit 29 (NW=not
writethrough) acronym is somewhat confusing for historical reasons.
Have a look at a recent Pentium documantation for details.

Gabriel.