help with sysenter

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
digo_rp
Member
Member
Posts: 233
Joined: Sun Jun 05, 2005 11:00 pm

help with sysenter

Post by digo_rp »

guys, I saw on web that sysenter/sysexit are so faster then others way

now is my stupid questio

how do I use those instructions on my kernel ?

I got a simples system call functions...

like to get mouse state. read file from floppy. I got a ring3 protection too

could anyone help me please ?

just to understand. do I have to use ints together?
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post by Combuster »

I suggest you read the intel manuals on how those instructions work and how you can use them.

You'll still need int xx as a syscall for when sysenter isn't supported
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Post Reply