L9 l10 575 hi head c code for thread i for i0 initers

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: address: Virtual address: 0x0040 A. Virtual address format 13 12 11 10 9 8 7 6 5 4 3 2 1 0 B. Address translation Parameter VPN TLB Index TLB Tag TLB Hit? (Y/N) Page Fault? (Y/N) PPN Value 10.12. SUMMARY C. Physical address format 11 10 9 8 7 6 5 4 3 2 1 0 559 D. Physical memory reference Parameter Byte offset Cache Index Cache Tag Cache Hit? (Y/N) Cache Byte returned Value Homework Problem 10.14 [Category 2]: Given an input file hello.txt that consists of the string "Hello, world!\n", write a C program that uses mmap to change the contents of hello.txt to "Jello, world!\n". Homework Problem 10.15 [Category 1]: Determine the block sizes and header values that would result from the following sequence of malloc requests. Assumptions: (1) The allocator maintains double-word alignment, and uses an implicit free list with the block format from Figure 10.37. (2) Block sizes are rounded up to the nearest multiple of eight bytes. Request malloc(3) malloc(11) malloc(20) malloc(21) Block size (decimal bytes) Block header (hex) Homework Problem 10.16 [Category 1]: Determine the minimum block size for each of the following combinations of alignment requirements and block formats. Assumptions: Explicit free list, four...
View Full Document

Ask a homework question - tutors are online