hw15_disco

hw15_disco - // mapping in the cpu's TLB. tlb_miss_handler...

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

View Full Document Right Arrow Icon
Homework: Disco Read : Disco paper (See readings.) Hand-In Procedure You are to turn in this homework during lecture. Please write up your answers to the exercises below and hand them in to a 6.828 staff member at the beginning of lecture. Disco TLB Please fill out the pseudocode for the functions below and hand it in. / Disco's tlb miss handler. // Called when a memory refernce for virutal adddress // 'VA' is made, but there is not VA->MA (virtual -> machine)
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: // mapping in the cpu's TLB. tlb_miss_handler (VA) { } // Disco's procedure which emulates the MIPS // instruction which writes to the tlb. // // VA -- virtual addresss // PA -- physical address (NOT MA machine address!) emulate_tlbwrite_instruction (VA, PA) { } // Disco's procedure which emulates the MIPS // instruction which read the tlb. // emulate_tlbread_instruction (VA) { // Hint: should this return a PA or an MA? } This completes the homework....
View Full Document

This note was uploaded on 05/29/2010 for the course 6 828 taught by Professor Guy during the Fall '08 term at MIT.

Ask a homework question - tutors are online