Subject: setitimer(2), quadra pds L2 cache?
To: None <port-mac68k@netbsd.org>
From: None <kevdig@rcn.com>
List: port-mac68k
Date: 11/13/2003 18:00:24
-------e7e4118a6583709d92088ea5b7d8c489
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

Should the code in the attached c file work? It works under
Linux. What are I doing wrong?

Anybody know what a DIIMO PDS L2 cache card is? Should it work
in a Quadra700 running NetBSD 1.6.1? The system is unstable
with it enabled (via the control panel/extension in MacOS).

kevin

-------e7e4118a6583709d92088ea5b7d8c489
Content-Type: application/octet-stream; name="st.c"
Content-Transfer-Encoding: base64

I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDx1bmlzdGQuaD4KI2luY2x1ZGUgPHNpZ25h
bC5oPgojaW5jbHVkZSA8c3lzL3RpbWUuaD4KCnZvaWQgYWxhcm1TSChpbnQgc2lnLCBpbnQg
Y29kZSwgc3RydWN0IHNpZ2NvbnRleHQgKnopCnsKCXByaW50ZihfX0ZJTEVfXyItJWQ6ICBh
bGFybVNIKCVkLCAlZCwgJXApXG4iLF9fTElORV9fLHNpZyxjb2RlLHopOwp9CgppbnQgbWFp
bihpbnQgYXJnYywgY2hhciAqYXJndltdKQp7CnN0cnVjdCBpdGltZXJ2YWwgaXQ7CnN0cnVj
dCBzaWdhY3Rpb24gc2E7CkZJTEUgKmtlcm5faHpfZmlsZTsKbG9uZyBrZXJuX2h6OwoKCWl0
Lml0X3ZhbHVlLnR2X3NlYz00OwoJaXQuaXRfdmFsdWUudHZfdXNlYz0wOwoJaXQuaXRfaW50
ZXJ2YWwudHZfc2VjPTA7CglpdC5pdF9pbnRlcnZhbC50dl91c2VjPTA7CgoJc2Euc2FfaGFu
ZGxlcj0odm9pZCAoKikoaW50KSlhbGFybVNIOwoKCXNpZ2FjdGlvbihTSUdBTFJNLCZzYSxO
VUxMKTsKCglzZXRpdGltZXIoSVRJTUVSX1JFQUwsJml0LE5VTEwpOwoKCWlmKChrZXJuX2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