What is  the base adress and the limit in the gdt

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Rodrigo_BRAZIL

What is  the base adress and the limit in the gdt

Post by Rodrigo_BRAZIL »

is
task 1 Base adress 0xffff1 and the limit is 0xffff
task 2 Base adress 0xffff1+0xffff1 and the limit is 0xffff
task 3 Base adress 0xffff1+0xffff1+0xffff1 and the limit is 0xffff
is like that the base adress for the next is the base adress of the
previous + limit ?

please I´m confused
VE3MTM

RE:What is  the base adress and the limit in the g

Post by VE3MTM »

Really you can lay out your memory however you like, but yes. In general, you'll pack your tasks' code together so base+limit of one task is the base of the next task. This is only the good if you're doing segmented memory. If you're doing paged memory, then you'll put each task's code on separate pages.
Post Reply