From fa2c317bdd3aa82d5f7d6769c9553627874d93dd Mon Sep 17 00:00:00 2001 From: "leleraffa97@hotmail.it" Date: Thu, 4 May 2017 21:42:47 +0200 Subject: Kernel memory mapping setup --- doc/report/res/kernel_mem_base.pdf | Bin 0 -> 16923 bytes doc/report/res/kernel_mem_base.svg | 613 +++++++++++++++++++++++++++++++++++++ doc/report/res/mem_kern_alloc.svg | 132 ++++++++ 3 files changed, 745 insertions(+) create mode 100644 doc/report/res/kernel_mem_base.pdf create mode 100644 doc/report/res/kernel_mem_base.svg create mode 100644 doc/report/res/mem_kern_alloc.svg (limited to 'doc/report/res') diff --git a/doc/report/res/kernel_mem_base.pdf b/doc/report/res/kernel_mem_base.pdf new file mode 100644 index 0000000..875d16e Binary files /dev/null and b/doc/report/res/kernel_mem_base.pdf differ diff --git a/doc/report/res/kernel_mem_base.svg b/doc/report/res/kernel_mem_base.svg new file mode 100644 index 0000000..02ac0b8 --- /dev/null +++ b/doc/report/res/kernel_mem_base.svg @@ -0,0 +1,613 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + Kernel program structure + + + Text + + Global defined data + Stack + BSS + 0x8000 + 0x0000 + + + + + + + + + + + + + + Freememory to allocate + 0xffff + + System calls + 0x00ff + Space containingthe instruction set + Space where global variables are placed + Space where global undefined variables are placed + Stack spaceLocal variables storageThe size depends onall local variables declaredin the code + Kernel heap + Free memory availablePossible uses: - OS data allocation - Processes allocation + + RAM + + diff --git a/doc/report/res/mem_kern_alloc.svg b/doc/report/res/mem_kern_alloc.svg new file mode 100644 index 0000000..cb7cbeb --- /dev/null +++ b/doc/report/res/mem_kern_alloc.svg @@ -0,0 +1,132 @@ + + + + + + + + + + image/svg+xml + + + + + + + Kernel allocations and heap mapping + + + + status: 1 bit + size: 15 bit + Allocated memory + + + -- cgit v1.2.1