Find the answer to your Linux question:
Results 1 to 5 of 5
Hi, I'm running fedora 6 on an 32 bit intel processor and I would like to known where the esp register gets its value when a user process switches to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Enthusiast gerard4143's Avatar
    Join Date
    Dec 2007
    Location
    Canada, Prince Edward Island
    Posts
    714

    kernel stack and the esp register


    Hi,

    I'm running fedora 6 on an 32 bit intel processor and I would like to known where the esp register gets its value when a user process switches to kernel mode...I looked around but can't find any definitive answers maybe someone here can shed some light on this topic...Thanks Gerard4143

  2. #2
    Linux Enthusiast gerard4143's Avatar
    Join Date
    Dec 2007
    Location
    Canada, Prince Edward Island
    Posts
    714
    found the answer...Gerard4143

  3. #3
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    So....please do share the answer with us, you never know, someone else may need the answer too and you would be doing them a great service. Enjoy!
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  4. #4
    Linux Enthusiast gerard4143's Avatar
    Join Date
    Dec 2007
    Location
    Canada, Prince Edward Island
    Posts
    714
    I found an answer on this web site - section 3.3.2 Task State Segment

    Section 3.3. Process Switch

    Now I haven't verified any of this information but for now I'm assuming its correct until proven otherwise...Gerard4143

  5. #5
    Linux Enthusiast gerard4143's Avatar
    Join Date
    Dec 2007
    Location
    Canada, Prince Edward Island
    Posts
    714
    Well I did some coding and the kernel stack pointer (%esp) for a user process is indeed stored in the TSS(task state segment)....Gerard4143

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •