In article <1993Jun13.174944.9099@cc.gatech.edu> byron@cc.gatech.edu (Byron A Jeff) writes:Normally for a board designed to take one of these cyrix chips, the BIOS should enable the cache on startup. But if it's in a normal 386 motherboard you may find the following of some use. Ok for Linux, try something like this in either 'startup' or the initial kernel (assembly) code: (adjust to suit your favorite assembler :) mov al, 0c0h ; Select CCR0 out 22h, al mov al, 022h ; Set HOLD state to Flush Cache out 23h, al ; 640k - 1M non cachable mov al, 0c6h out 22h, al mov al, 00h ; Set size of non cachable region 1 out 23h, al ; to zero - i.e. disable it Note: I haven't tried any of the above, it's just from reading values out of the databook. There are other bits in there which control various things some of which are only appropriate to purpose built motherboards. Something that you may require is the ability to set the non cachable regions, there are four of them. They can to a size of 4k multiplied by powers of two, and based at any 4k start. May be of use if you have linearly mapped video ram. Hope the above is of some use, DF -- Derek Fawcus (G7FVS) df@eyrie.demon.co.uk
| Linus Torvalds | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Tony Lindgren | [PATCH 37/90] ARM: OMAP: MPUIO wake updates |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Miklos Szeredi | -rt doesn't compile for UML |
git: | |
| Florian Weimer | Re: Handling large files with GIT |
| Dana How | [PATCH] Prevent megablobs from gunking up git packs |
| Denis Bueno | Recovering from repository corruption |
| Peter Stahlir | Git as a filesystem |
| Richard Stallman | Real men don't attack straw men |
| Brian A. Seklecki | sshd_config(5) PermitRootLogin yes |
| Theo de Raadt | Re: dmesg IBM x3650 OpenBSD 4.3 |
| Stuart Henderson | Re: Actual BIND error - Patching OpenBSD 4.3 named ? |
| Auke Kok | [PATCH 5/6] e1000: Secondary unicast address support |
| Jon Nelson | tg3: strange errors and non-working-ness |
| Indan Zupancic | Re: Realtek 8111C transmit timed out |
| Brandeburg, Jesse | RE: 2.6.24 BUG: soft lockup - CPU#X |
| Shared swap partition | 4 minutes ago | Linux general |
| usb mic not detected | 4 hours ago | Applications and Utilities |
| Problem in Inserting a module | 5 hours ago | Linux kernel |
| Treason Uncloaked | 10 hours ago | Linux kernel |
| high memory | 2 days ago | Linux kernel |
| semaphore access speed | 2 days ago | Applications and Utilities |
| the kernel how to power off the machine | 2 days ago | Linux kernel |
| Easter Eggs in windows XP | 2 days ago | Windows |
| Root password | 3 days ago | Linux general |
| Where/when DNOTIFY is used? | 3 days ago | Linux kernel |
