flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution 20 Mar 2018, 04:52
Does your OS have a memory manager? If not then you will probably need one.
Although it does depend upon how you have constructed your OS. If you use protected mode with paging then a simple memory pool allocator would probably be fine for a simple OS. If you are in real or unreal mode then it would be trickier to manage the fragmentation with a linear address space. |
|||
![]() |
|
Fulgurance 20 Mar 2018, 11:59
Oh i think i begin to understand ! I think it's the use of GDT, to define memory segment size and privilege type ?
And what use the use of pagination system ? I don't understand very well? To manage gdt segment ? Where is it possible to find best suggestion to make securised system ? |
|||
![]() |
|
revolution 20 Mar 2018, 12:20
OSes like Linux and Windows don't manipulate the GDT for tasks. They only use paging. It is the most flexible. Often the GDT is simply set to span the entire address space for each selector.
|
|||
![]() |
|
Fulgurance 20 Mar 2018, 17:19
I have difficulty to understand the use of paging, i don't understand...
![]() |
|||
![]() |
|
BAiC 20 Mar 2018, 17:42
Fulgurance wrote: I have difficulty to understand the use of paging, i don't understand... have you heard of American owned airliners dragging people out of planes? U.S. law allows airliners to overbook their planes. they sell to multiple people expecting some of them to not show up. this is also what paging is meant to do. one example is when you cache a file you might not need all of it. also; as a general rule you won't need access to all of it at the same time. the OS stores parts of different files for multiple programs allowing them to effectively (or actually in a multiple core system) run in parallel. _________________ byte me. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.