Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
18 Views

Ring 0 - CPU [0-3] - Stack segment

Jump to solution

Hi all,

When CPU switches from Ring-3 to Ring-0, SS is also switched to Ring-0 stack. In a multi-processor environment, if there are N number of CPU's, does each CPU will have it's own Ring-0 stack?

Regards

Gupta

0 Kudos

Accepted Solutions
Highlighted
18 Views
Each hardware thread would require a seperate stack.

Note, the seperate stacks can be seperate areas within the same selector (with different esp/rsp) or within different selectors. This is an operating system design issue.

Jim Dempsey

View solution in original post

0 Kudos
1 Reply
Highlighted
19 Views
Each hardware thread would require a seperate stack.

Note, the seperate stacks can be seperate areas within the same selector (with different esp/rsp) or within different selectors. This is an operating system design issue.

Jim Dempsey

View solution in original post

0 Kudos