TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Andrew Grillet
from: Rinat Sadretdinow
date: 1996-12-18 20:19:22
subject: pentium counter register

Hello Andrew!

Friday December 13 1996 08:13, Andrew Grillet wrote to Rinat Sadretdinow:

 RS>> You can gain access to this and many other registers from ring 0
 RS>> only. So you have to write your own device driver which will
 RS>> gather information and transfer it to your program via ioctl or
 RS>> by some other way (cannot imagine something better than ioctl
 RS>> though).

 AG> Whats wrong with the normal stream read?

Nothing wrong. But ioctl is much more smoother, agree? Anyway it depends on
application needs. If it only wants to know current timer register value
one may use stream.

Bye!
Rinat Sadretdinow                                              [Team OS/2]

---
* Origin: -= Thunder Bird =- +7 095 947 1209 10:00pm-08:00am (2:5020/620)
SEEN-BY: 270/101 620/243 625/160 711/401 409 410 413 430 808 809 934 955
SEEN-BY: 712/407 515 624 628 713/317 800/1
@PATH: 5020/620 509 443 79 5100/8 396/1 270/101 712/515 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.