CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - allocator
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - allocator - List
[
Linux driver
]
1239000
DL : 0
小块内存分配器设计与实现C++源代码程序-Design and implementation of C++ source code on a small memory allocator
Date
: 2025-12-21
Size
: 802kb
User
:
张三
[
Linux driver
]
5120379003.tar
DL : 0
In this lab, you will write the memory management code for your operating system. Memory management has two components. The first component is a physical memory allocator for the kernel, so that the kernel can allocate memory and later free it. Your allocator will operate in units of 4096 bytes, called pages. Your task will be to maintain data structures that record which physical pages are free and which are allocated, and how many processes are sharing each allocated page. You will also write the routines to allocate and free pages of memory. The second component of memory management is virtual memory, which maps the virtual addresses used by kernel and user software to addresses in physical memory. The x86 hardware s memory management unit (MMU) performs the mapping when instructions use memory, consulting a set of page tables. You will modify JOS to set up the MMU s page tables according to a specification we provide.
Date
: 2025-12-21
Size
: 1.76mb
User
:
Zhang
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.