How to run the code of ring3 at ring0?

hello everyone,
i use one driver to do some before,but i heared that can run the code
of ring3 at ring0,so i want to not use the driver instead,but how to do
these?
regards
ding hao


ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger: http://messenger.msn.com/cn

Search the “APC” in Google and you will find something.
My suggestion is not to do that, mostly it won’t solve
your problem and cost extra troubles.

AFei

“shark marian” wrote in message
news:xxxxx@ntdev…
> hello everyone,
> i use one driver to do some before,but i heared that can run the code
> of ring3 at ring0,so i want to not use the driver instead,but how to do
> these?
> regards
> ding hao
>
> _________________________________________________________________
> ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger: http://messenger.msn.com/cn
>
>

DQoNCg0KDQoNCldoYXQgZXhhY3RseSBhcmUgeW91IHRyeWluZyB0byBkbz8NCg0KWW91IGNhbid0
IGp1c3QgcnVuIFJpbmczIGNvZGUgYXQgUmluZzAuIFtZZXMsIHRoZSBjb2RlIHdpbGwgd29yayBp
bg0KaXRpc2VsZiwgaXQncyBqdXN0IHRoYXQgdGhlIE9TIHVzZXMgdGhlIGZhY3QgdGhhdCBSaW5n
MyBhbmQgUmluZzAgYXJlDQpkaWZmZXJlbnQgdG8gbWFrZSB0aGluZ3Mgd29yayBpbiBtYW55IGRp
ZmZlcmVudCBwbGFjZXMgYW5kIGRpZmZlcmVudCB3YXlzLA0KYWxsIG9mIHdoaWNoIHdvdWxkIGJl
IGEgd2hvbGUgZGF5cyB3b3J0aCBvZiBlLW1haWwgd3JpdGluZ10uDQoNClNpbXBseSBwdXQsIHlv
dSBjYW4ndCBqdXN0IGNhbGwgc29tZSBSaW5nMyBjb2RlIGZyb20gUmluZzAsIGl0IHdpbGwgbm90
DQp3b3JrIHJlbGlhYmx5IG9yIHNlY3VyZWx5Lg0KDQpUaGVyZSBhcmUgc2V2ZXJhbCB3YXlzIGlu
IHdoaWNoIHlvdSBjYW4gZ2V0IGEgdXNlciBwcm9jZXNzIHRvIGRvIHd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CBhIGJsYW5rIGVtYWlsIHRv
IGxlYXZlLW50ZGV2LTE0MDc5Q0BsaXN0cy5vc3IuY29tDQoNCj4gRm9yd2FyZFNvdXJjZUlEOk5U
MDAwMDgxRDY=

Whenever I see a post with ring whatever in it my eyes glaze over. It is so
DOS. The OP is invariably attempting to do something totally and
unredeemably stupid.

=====================
Mark Roddy

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of AFei
Sent: Monday, November 29, 2004 12:51 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] How to run the code of ring3 at ring0?

Search the “APC” in Google and you will find something.
My suggestion is not to do that, mostly it won’t solve your problem and cost
extra troubles.

AFei

“shark marian” wrote in message
news:xxxxx@ntdev…
> hello everyone,
> i use one driver to do some before,but i heared that can run the
> code of ring3 at ring0,so i want to not use the driver instead,but how
> to do these?
> regards
> ding hao
>
> _________________________________________________________________
> ???ѽ??н???ʹ?? MSN Messenger:
> http://messenger.msn.com/cn
>
>


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@stratus.com To
unsubscribe send a blank email to xxxxx@lists.osr.com

> Whenever I see a post with ring whatever in it my eyes glaze over. It is
so

DOS. The OP is invariably attempting to do something totally and
unredeemably stupid.

I was trying to figure out what DOS meant. Darn * stupid… Can’t find
anything matching… Then I figured that you meant MS/PC-DOS… :wink:

I agree, it’s not a feasible thing to do. The ring system is there for a
reason, and if we didn’t have it, I’m sure Windows XP (or Linux, SunOS,
etc) wouldn’t be a viable product to anyone but a few select people who
think it’s a fun cult-thing to play with…


Mats

Don’t hold back, Mark. Let us know how you feel! I think your
‘unredeemably stupid’ is not strong enough, especially in the context of the
poster message where he ‘heard’ something about ‘ring 0’ running ‘ring 3’
code. Of course he did. Windows runs all applications from kernel mode at
some point, even if it is only the win32 layer being run at startup.

“Roddy, Mark” wrote in message news:xxxxx@ntdev…
Whenever I see a post with ring whatever in it my eyes glaze over. It is so
DOS. The OP is invariably attempting to do something totally and
unredeemably stupid.

=====================
Mark Roddy

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of AFei
Sent: Monday, November 29, 2004 12:51 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] How to run the code of ring3 at ring0?

Search the “APC” in Google and you will find something.
My suggestion is not to do that, mostly it won’t solve your problem and cost
extra troubles.

AFei

“shark marian” wrote in message
news:xxxxx@ntdev…
> hello everyone,
> i use one driver to do some before,but i heared that can run the
> code of ring3 at ring0,so i want to not use the driver instead,but how
> to do these?
> regards
> ding hao
>
> _________________________________________________________________
> ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger:
> http://messenger.msn.com/cn
>
>


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@stratus.com To
unsubscribe send a blank email to xxxxx@lists.osr.com

There is an article about this at OsrOnline:
http://www.osronline.com/article.cfm?id=94

"Driver writers often ask whether or not a device driver can call a
user-mode function. While the simple answer to this is that it isn¡¯t
possible, the inverted call model provides a mechanism that can be used to
achieve similar functionality. Fortunately, this model is not only
supported in the Windows OS architecture, it is used by existing operating
system components! … ExAcquireFastMutex … the inverted call model is
still a powerful technique, and one that driver writers should maintain as
part of their programming arsenal. "

Regards,

Daniel Terhell
Resplendence Software Projects Sp
xxxxx@resplendence.com
http://www.resplendence.com

“shark marian” wrote in message
news:xxxxx@ntdev…
> hello everyone,
> i use one driver to do some before,but i heared that can run the code
> of ring3 at ring0,so i want to not use the driver instead,but how to do
> these?
> regards
> ding hao
>
>
> ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger: http://messenger.msn.com/cn
>
“shark marian” wrote in message
news:xxxxx@ntdev…
> hello everyone,
> i use one driver to do some before,but i heared that can run the code
> of ring3 at ring0,so i want to not use the driver instead,but how to do
> these?
> regards
> ding hao
>
>

> ÓëÁª»úµÄÅóÓѽøÐн»Á÷£¬ÇëʹÓà MSN Messenger: http://messenger.msn.com/cn
>

Actually the grammarian police reminded me that it is ‘irredeemable’ not
‘unredeemable’.

=====================
Mark Roddy

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of David J. Craig
Sent: Monday, November 29, 2004 1:22 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] How to run the code of ring3 at ring0?

Don’t hold back, Mark. Let us know how you feel! I think your
‘unredeemably stupid’ is not strong enough, especially in the context of the
poster message where he ‘heard’ something about ‘ring 0’ running ‘ring 3’
code. Of course he did. Windows runs all applications from kernel mode at
some point, even if it is only the win32 layer being run at startup.

“Roddy, Mark” wrote in message news:xxxxx@ntdev…
Whenever I see a post with ring whatever in it my eyes glaze over. It is so
DOS. The OP is invariably attempting to do something totally and
unredeemably stupid.

=====================
Mark Roddy

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of AFei
Sent: Monday, November 29, 2004 12:51 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] How to run the code of ring3 at ring0?

Search the “APC” in Google and you will find something.
My suggestion is not to do that, mostly it won’t solve your problem and cost
extra troubles.

AFei

“shark marian” wrote in message
news:xxxxx@ntdev…
> hello everyone,
> i use one driver to do some before,but i heared that can run the
> code of ring3 at ring0,so i want to not use the driver instead,but how
> to do these?
> regards
> ding hao
>
> _________________________________________________________________
> ???ѽ??н???ʹ?? MSN Messenger:
> http://messenger.msn.com/cn
>
>


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@stratus.com To
unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@stratus.com To
unsubscribe send a blank email to xxxxx@lists.osr.com