OSDev.org https://forum.osdev.org/ |
|
Use of sysenter/sysexit https://forum.osdev.org/viewtopic.php?f=1&t=33911 |
Page 1 of 1 |
Author: | digo_rp [ Mon Aug 26, 2019 12:29 pm ] |
Post subject: | Use of sysenter/sysexit |
Hi guys, how have you beem? good I hope!, now could anyone help me on using sysenter/sysexit? I don't know if i'm using in the right way! example. setup stack, etc. sysenter. do operating system calls etc. sysexit. ret. or do I need to use like: setup stack: sysenter. int xx. sysexit etc. etc. ret could anyone help please? thanks in advance! |
Author: | Octocontrabass [ Mon Aug 26, 2019 1:28 pm ] |
Post subject: | Re: Use of sysenter/sysexit |
You're supposed to use SYSENTER instead of INT to call the operating system, and SYSEXIT instead of IRET to return to the application program. (You have to make some more changes for it to work properly, but that's the basic idea.) Does that answer your question? |
Author: | digo_rp [ Tue Aug 27, 2019 3:54 pm ] |
Post subject: | Re: Use of sysenter/sysexit |
Thanks so much dear friend. I'm doing in the way you said. tnx a lot. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |