Date: Wed, 05 May 1999 18:55:00 -0700 From: "Jordan K. Hubbard" <jkh@zippy.cdrom.com> To: "Dale Anderson" <danderso@crystalsugar.com> Cc: freebsd-chat@FreeBSD.ORG Subject: Re: PCWeek article by Anne Chen -- Comments Message-ID: <38849.925955700@zippy.cdrom.com> In-Reply-To: Your message of "Wed, 05 May 1999 16:33:28 CDT." <s73072eb.084@mail>
next in thread | previous in thread | raw e-mail | index | archive | help
> So, your saying that FreeBSD can read in the binary and begin > executing machine instructions without any processing in between, or Correct. It's still an x86 binary and everything in it that's not trapping to the kernel for services is going to be executed exactly as it is under Linux; its shared libraries will be loaded (out of some part of /compat/linux/...), its accesses to many common system devices (like the vga console) dealt with appropriately by compatibility support in the driver, etc. As far as the binary's concerned, it's running on a Linux box. When it makes a system call, that goes through whatever syscall table has been mapped in with the process by the image activator (the bit which handles getting /bin/ls into memory so it can actually run) and if it's a Linux binary image activator, it simply maps in a different syscall table than the FreeBSD ELF binary image activator does. No extra overhead, just a switch pointing in a different direction (so to speak). - Jordan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38849.925955700>