delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2007/08/29/16:47:11

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Glaux <glaux AT centrum DOT cz>
Newsgroups: comp.os.msdos.djgpp
Subject: running ring0 code under DJGPP
Date: Wed, 29 Aug 2007 13:38:34 -0700
Organization: http://groups.google.com
Lines: 11
Message-ID: <1188419914.751897.124870@k79g2000hse.googlegroups.com>
NNTP-Posting-Host: 89.176.103.156
Mime-Version: 1.0
X-Trace: posting.google.com 1188419914 6792 127.0.0.1 (29 Aug 2007 20:38:34 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Wed, 29 Aug 2007 20:38:34 +0000 (UTC)
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.1.6) Gecko/20070802 SeaMonkey/1.1.4,gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: k79g2000hse.googlegroups.com; posting-host=89.176.103.156;
posting-account=ps2QrAMAAAA6_jCuRt2JEIpn5Otqf_w0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi,
any idea how to run privilegen instruction (rdmsr/wrmsr) from djgpp
program at ring0 _without_ use of special modified cwsdpmi? I use
__dpmi_simulate_real_mode_procedure_retf() to run my code swithed to
RM but when it is in V86 mode especially EMM386 it crashed because
EMM386 is stupid. QEMM386 can handle this.
Under win9x/mingw32 I use  special trick to setup a callgate in GDT
for running my ring0 code and it works well, I tried to do something
similar under DJGPP but always got GPF :( Is there a way to hack ring0
under DJGPP+EMM386+CWSDPMI?

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019