* There are i486 based upgrade products for i386 machines. * In this case, BIOS doesn't enable CPU cache. */
| 284 | * In this case, BIOS doesn't enable CPU cache. |
| 285 | */ |
| 286 | static void |
| 287 | init_i486_on_386(void) |
| 288 | { |
| 289 | register_t saveintr; |
| 290 | |
| 291 | saveintr = intr_disable(); |
| 292 | |
| 293 | load_cr0(rcr0() & ~(CR0_CD | CR0_NW)); /* CD = 0, NW = 0 */ |
| 294 | |
| 295 | intr_restore(saveintr); |
| 296 | } |
| 297 | #endif |
| 298 | |
| 299 | /* |
no test coverage detected