Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7735357
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T07:28:56+00:00 2026-06-01T07:28:56+00:00

The OS X Lion (10.7) OS runs on mostly 64-bit binaries as reported by

  • 0

The OS X Lion (10.7) OS runs on mostly 64-bit binaries as reported by Activity Monitor.
Given this, and the fact that my laptop runs a 32-bit version of the EFI and thus also a 32-bit kernel, how does the arch mixing work in general?

Darwin Kernel Version 11.3.0: Thu Jan 12 18:48:32 PST 2012; root:xnu-1699.24.23~1/RELEASE_I386

Normally one would run 32b binaries on x86_64, but the other way around would require pushing the cpu into 64b mode, which AFAIK cannot be undone.

Hope this question is clear enough..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T07:28:57+00:00Added an answer on June 1, 2026 at 7:28 am

    The x86-64 architecture is pretty complex; it doesn’t just have a 64-bit mode and a 32-bit mode, it has two main modes (long and legacy), each with a number of sub-modes (see the Wikipedia article).

    In Legacy mode, the CPU essentially emulates a 32-bit CPU. It has various sub-modes (real, protected, etc), but no ability to switch use 64-bit instructions or addressing. Generally, a non-64-bit-capable OS will run in this mode.

    In Long mode, the CPU has 64-bit capability, but can also run in 32- and 16-bit “compatibility” modes. The mode switching is controlled by the L and D flags in the code segment descriptor (see “Extending x86 for the 64-bit World” in this PDF) — essentially, different sections of memory can be marked as containing 64-, 32-, or 16-bit code, and the CPU switches into the appropriate mode for the code segment it’s currently running. The kernel’s code segments can be flagged as 64- or 32-bit independently of the code segments for running applications.

    So in principle, it’s simple. In practice, I’m sure there are loads of complications I’m not aware of (I don’t really know that much about the context switching process), but as long as the OS “knows” it’s running on a 64-bit CPU and configures the code segment descriptors appropriately, there’s no fundamental problem with running 64-bit processes under a 32-bit kernel.

    BTW, OS X could also run 64-bit processes under a 32-bit kernel on PowerPC G5 CPUs, as far back as version 10.3. PPC CPUs have a completely different architecture, and I have no idea how the mode-switching worked there.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Please help me with this: If Lion IS-A Animal and given Cage<T> : Cage<?
I just installed Code::Blocks on my Macbook Air that runs OS X Lion and
[using MacVim 7.3 on OS X Lion] I have a vimscript function which runs
In Lion, source list group items now have a Hide/Show button that appears when
I'm on OSX Lion using wkhtmtopdf that came with homebrew (0.9.9) and all of
Mac OS X 10.7.3 Lion, Ruby 1.9.2, Rails 3.2.2, Sass 3.2.3 Following this tutorial:
I have a mac (runs OS X Lion), when I create XCode projects, there
I am running OSX Lion and have installed python2.7 from python.org (this distribution can
sudo port install ruby19 +mactk runs happily without errors on Mountain Lion with Xcode
I need to develop a screen capture program that runs on Mac OS X

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.