9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Winchip
@ 2000-09-04  7:23 okamoto
  0 siblings, 0 replies; 4+ messages in thread
From: okamoto @ 2000-09-04  7:23 UTC (permalink / raw)
  To: plan9

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] Winchip
@ 2000-09-07  1:46 okamoto
  0 siblings, 0 replies; 4+ messages in thread
From: okamoto @ 2000-09-07  1:46 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 93 bytes --]

>but for me:  gaijin dakara, wakarimasen  :-) [wakaranai]

Yes, I do, too. ☺

Kenji


[-- Attachment #2: Type: message/rfc822, Size: 2306 bytes --]

From: "Boyd Roberts" <boyd@planete.net>
To: <9fans@cse.psu.edu>
Subject: Re: [9fans] Winchip
Date: Thu, 7 Sep 2000 03:22:30 +0200
Message-ID: <02ca01c0186a$17d1cf80$03c684c3@psychobasketcase.org>

From: <okamoto@granite.cias.osakafu-u.ac.jp>

> Well, there is none who is using such a dumn and strange CPU
> here.  I gave it a larger heat sunk, and now got good performance
> from it.

i know you know what yer doing, kenji-kun, but it's 'heat sink'.

ja matta...

but for me:  gaijin dakara, wakarimasen  :-) [wakaranai]




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] Winchip
  2000-09-07  1:05 okamoto
@ 2000-09-07  1:22 ` Boyd Roberts
  0 siblings, 0 replies; 4+ messages in thread
From: Boyd Roberts @ 2000-09-07  1:22 UTC (permalink / raw)
  To: 9fans

From: <okamoto@granite.cias.osakafu-u.ac.jp>

> Well, there is none who is using such a dumn and strange CPU
> here.  I gave it a larger heat sunk, and now got good performance
> from it.

i know you know what yer doing, kenji-kun, but it's 'heat sink'.

ja matta...

but for me:  gaijin dakara, wakarimasen  :-) [wakaranai]






^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] Winchip
@ 2000-09-07  1:05 okamoto
  2000-09-07  1:22 ` Boyd Roberts
  0 siblings, 1 reply; 4+ messages in thread
From: okamoto @ 2000-09-07  1:05 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 257 bytes --]

Well, there is none who is using such a dumn and strange CPU
here.  I gave it a larger heat sunk, and now got good performance
from it.   The change of the previous post may not be neccessary
if you don't care how the CPU is recongnized. ☺

Kenji


[-- Attachment #2: Type: message/rfc822, Size: 2297 bytes --]

From: okamoto@granite.cias.osakafu-u.ac.jp
To: plan9@granite.cias.osakafu-u.ac.jp
Subject: [9fans] Winchip
Date: Mon, 4 Sep 2000 16:23:35 0900
Message-ID: <200009040724.DAA11318@cse.psu.edu>

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-09-07  1:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-04  7:23 [9fans] Winchip okamoto
2000-09-07  1:05 okamoto
2000-09-07  1:22 ` Boyd Roberts
2000-09-07  1:46 okamoto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).