delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
From: | Charles Sandmann <sandmann AT clio DOT rice DOT edu> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: DJGPP -how to exec RD/WRMSR |
Date: | Tue, 08 Jan 2002 13:57:29 CST |
Organization: | Rice University, Houston TX |
Lines: | 9 |
Message-ID: | <3c3b4f29.sandmann@clio.rice.edu> |
References: | <umzzo3p5suw DOT fsf AT prashant DOT blr DOT in DOT yahoo DOT com> |
NNTP-Posting-Host: | clio.rice.edu |
X-Trace: | joe.rice.edu 1010519845 14548 128.42.105.3 (8 Jan 2002 19:57:25 GMT) |
X-Complaints-To: | abuse AT rice DOT edu |
NNTP-Posting-Date: | 8 Jan 2002 19:57:25 GMT |
X-NewsEditor: | ED-1.5.9 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
> > How can i execute RDMSR or WRMSR instruction in my DJGPP program? > > When i do it via direct opcode in inline AT&T assembler it crashes > > on SIGSEGV. When i execute it in ASM program it works fine. > > I know that this is some 32bit privileg instruction.... What environment? DOS? Use CWSDPR0 or PMODE to get a ring 0 DPMI provider.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |