I have an asm routine which uses privileged instructions like in, out,
cli, etc., I need to execute this as a Win32 application under VC++.
Since the instructions are privileged, I can't execute the same under User
mode as a normal Win32 application, so I have to execute this routine in
kernel mode.
One solution is to encapsulte the routine as a Device driver for Windows &
call the same from the application, but, I am looking out for a easy
solution. Please help...
Thank you.
Regards,
Arun
you cant execute priviliged instructions in user mode, since this is the
layer three of the x86 architecture. You must pass the usermode/kernelmode
boundary with e.g IOCTL or another method (socket, IPC, etc.) and give
your user-mode application the results. Best and safe is IOCTL i
recommend...
I think your question fits here: http://www.osronline.com/
Maybe they can help you...
Best Regards
Kerem Gümrükcü
"Arun" <arunku...@in.bosch.com> schrieb im Newsbeitrag
news:e8j8rb$2uk$1...@ns2.fe.internet.bosch.com...