From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,80ab63e0656cbb05,start X-Google-Attributes: gid10d4db,public From: Edwin Lim Aun Whei Subject: Cyrix 5x86 kernel module Date: 1996/06/18 Message-ID: #1/1 X-Deja-AN: 160928176 organization: ? followup-to: comp.os.linux.development.system newsgroups: comp.os.linux.announce -----BEGIN PGP SIGNED MESSAGE----- Hello everybody, For those of you who have waited (a long time) for an upgrade of the Cyrix 5x86 kernel module hack, well, wait no longer. I have decided that I have procrastinated enough... What is it? - ----------- It is a kernel module to fiddle with the register settings of the Cyrix 5x86 cpu. It is meant for those who might think that their motherboards do not fully utilize the CPU, or those who has nothing else better to do. The kernel module can mess with almost every register setting of the CPU. Credits - ------- This program was derived from Christopher Lau's kernel module and patch for enabling the L1 cache in some Cyrix 486 CPUs. However, very little, if any, is left of the original code. What's new? - ----------- Here's an excrept from the README file: 1) User friendly way to fiddle with the registers. Just compile the module as is, and then use it as some kind of funky executable: modprobe cx5x86 btb_en=1 show_reg=1 ; modprobe -r cx5x86 This way, you don't need to recompile the module everytime you want to experiment with another settings. Cool, eh? Of course, if you prefer the old way of doing it, you can always edit the cxdefaults() function in cx5x86.c and then use modprobe cx5x86 use_def=1; modprobe -r cx5x86 2) Cleaned up the #include order, so let's hope we won't have any more of those module version not found errors ;-) 3) Improved Makefile so that it will automatically install the module in the right place if you do: make install 4) The L1 cache WB is disabled by default. If you want it, edit the cx5x86.c file and uncomment the #define L1_WB line. Example of usage - ---------------- Here's an example to enable branch prediction, set load/store ordering to weak, enable memory bypass, and enable fast FPU exception reporting: modprobe cx5x86 btb_en=1 lsser=0 mem_byp=1 fp_fast=1 show_reg=1; \ modprobe -r cx5x86 LSM - --- Here's the LSM entry: Begin3 Title: Cx5x86 Module Version: 1.0 Entered-date: 17JUN96 Description: Module to fiddle with the Cyrix 5x86 CPU register settings Keywords: Cyrix cyrix 5x86 module CPU cpu Author: elim@eng.uci.edu (Edwin Lim Aun Whei) Maintained-by: Primary-site: karman.gcc.edu /pub 11kb cx5x86mod_1.0.tgz Alternate-site: sunsite.unc.edu /pub/Linux/kernel/patches Original-site: Platforms: Cyrix 5x86 CPU Copying-policy: GPL End At the moment, the Sunsite file might still be in the Incoming directory. Cheers, e. _______________________________________________________________________________ Edwin _Lim_ Aun Whei | U of Calif., Irvine | *** This Space is Vacant *** elim@dodo.eng.uci.edu | Mech & Aerospace Engr | *** This Space is Vacant *** -----BEGIN PGP SIGNATURE----- Version: 2.6.2i iQCVAwUBMccUYoQRll5MupLRAQE1VAP9FFRJbvcsU2a/MQaB3qiYYoP1K1utYEoZ cLanqZm96r2AT9hMMvX3bqFtY65gOH6kiM1PFAmrCnSk3TRtlj3YNcvEBFrOu/DW 3fxSVf9pq9vcA3LObHAcII0yh4kN+wfiL9psYvjKniodfehzuoo2qVpDbivpEJa5 6qgXVU2bPiU= =7llx -----END PGP SIGNATURE----- -- This article has been digitally signed by the moderator, using PGP. Finger wirzeniu@kruuna.helsinki.fi for PGP key needed for validating signature. Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov PLEASE remember a short description of the software and the LOCATION.