9fans archive / 2000 / 09 / 21 / prev next
From: okamoto@gra...
Subject: [9fans] Winchip
Date: Mon, 4 Sep 2000 16:23:35 0900
I have a Winchip 240MHz CPU, and added it to /sys/src/9/pc/devarch.c's X86type
structure as below:
/*
* WinChip 240MHz
*/
static X86type x86winchip[] =
{
{5, 4, 23, "Winchip 240MHz",}, /* guesswork */
{ -1, -1, 23, "unknown", }, /* total default */
};
I also added lines in cpuidentify() function in the same file as:
if(strncmp(m->cpuidid, "AuthenticAMD", 12) == 0)
t = x86amd;
else if(strncmp(m->cpuidid, "CentaurHauls", 12) == 0)
t = x86winchip;
else
t = x86intel;
Is that all the neccessary patch to use this CPU? Do I forget anything?
The chip is now recongnized as 240MHz "Winchip 240MHz".
Woever, when I run it longer time, I get hangup of the machine. :-)
I'm wondering this is just the heat problem or something else...
Kenji