Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Dijkstracula
Mar 18, 2003

You can't spell 'vector field' without me, Professor!

yo, check this one out:

Only registered members can see post attachments!

Adbot
ADBOT LOVES YOU

Dijkstracula
Mar 18, 2003

You can't spell 'vector field' without me, Professor!

akadajet posted:

I'm going to pretend I know what int 80h does

morally the same thing as SYSENTER (aka SYSCALL on AMD) but with slightly different calling conventions and wildly different performance characteristics depending on your particular hardware (e: would you like to know more?) The whole "multiple ways to invoke a syscall, depending on your particular flavour of x86" is partially why you see a vsyscall section in your /proc/pid/maps; the idea is that the optimal system call implementation is chosen by the OS and shoved into that segment, so you can just execute "call 0xffffffffff600000" and it will automagically do the right thing

I mostly just wanted to dunk on "OS interface design by shoving new functionality into ioctl(2)"

e: I actually have no idea how a system call happens on x86-64 though :v:

Dijkstracula fucked around with this message at 03:36 on Oct 8, 2023

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply