Resources: Memory Flashcards
what is memory made up of
addresses and data
what is an address space
the number of possible locations that could be addressed
what is RAM
random access memory, main memory, allows any address to be read
what is DMA
direct memory access
there is a DMA controller than is a simple processor capable of moving data from place to place.
works on physical addresses as outside of MMU
what are the OS’s jobs when it comes to memory
manage access permissions
deal with heap/stack overflow
keep track of progress of a process
create segments
what is memory mapping
translate virtual addresses into physical addresses using page table
how to two level page tables work
subdivide page tables into a tree structure.
Second level page table sdont have to be in RAM, they can be on disk. this allows us to access more addresses.
instead of our address being split into page and offset, it is split into first page, second page and offset.
describe memory segments
contiguous, variable size chunks of memory. each segment has a number, length and base address
what is dynamic memory allocation
memory allocated at run time
what is stored when we declare an array
the size of the array
and a pointer to the first element