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

  • Home
  • SEARCH
  • 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 9126647
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T07:05:21+00:00 2026-06-17T07:05:21+00:00

I have been developing an 32 bit operating system and I want to allow

  • 0

I have been developing an 32 bit operating system and I want to allow programs to separate segments from the kernel.

To do that I need to make SS, and DS registers actually point to the programs stack and .data section.

From my research I believe this is done through setting up a local descriptor table.

I am assuming this is very similar to the GDT and the LDT is loaded through lldt.

However I do not get how I use this once my segments are set up. Could anyone explain?

  • 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-17T07:05:23+00:00Added an answer on June 17, 2026 at 7:05 am

    No, there’s no need to set up a separate LDT just to set up userspace SS/CS/DS segment descriptors.

    It’s possible to do that just saving registers state in interrupt handlers and using an entry for task selector in GDT (it is required by CPU to loookup a kernel-space SS of the process to go into an interrupt from userspace).

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

Sidebar

Related Questions

I have been developing the application, and I need that drawingg is executed in
I have been developing the application for drawing and I need to detect double
I have been developing an 32 bit OS and just implemented a ELF loader.
I have been developing my program on my desktop, and now want to continue
A bit of background: I have been developing apps for the past 2 years
I am currently developing on an advertising system, which have been running just fine
I have been developing web apps (primarily) using php and a bit of python,
I'm developing an Android app and have been looking around a bit on how
I have been developing an application for iPad that is very graphically intensive. I
I have been developing a bit of code for the last few weeks. The

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.