[理工] 100交大OS+計組
[100交大計組] 11(b)
Before DMA transfer. DMA controller must notify processor by supplying identity of the device,operation, memory addrss, number of bytes to transfer,etc.
我知道DMA在傳data之前要先去跟CPU問說可不可以傳,我想問這題錯在DMA是都不會去提供這些資訊嗎還是?
[100交大OS] 05.
Consider a tiny paging system has 16KB physical memory, and the frame size is 1KB. Let the logical address have 16 bits. The page table uses single-level direct index. Which one of the following is not correct?
(c)There are 16 entries in the page table
(e)The page table requires 320 bits , including the vaild-invaild bits.
竟然卡住了,這題應該假設page size=frame size去算(吧),所以page offset=10,page index+tag=16-10=6
frame number=4 bits(因為有16個frame),想問(c)和(e)是?
謝大家
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 140.112.25.105
※ 文章網址: https://www.ptt.cc/bbs/Grad-ProbAsk/M.1484405114.A.6F7.html
推
01/14 22:54, , 1F
01/14 22:54, 1F
→
01/14 22:54, , 2F
01/14 22:54, 2F
→
01/14 22:55, , 3F
01/14 22:55, 3F
→
01/14 22:56, , 4F
01/14 22:56, 4F
→
01/14 22:56, , 5F
01/14 22:56, 5F
推
01/14 22:59, , 6F
01/14 22:59, 6F
→
01/14 23:04, , 7F
01/14 23:04, 7F
→
01/14 23:04, , 8F
01/14 23:04, 8F
→
01/14 23:06, , 9F
01/14 23:06, 9F
→
01/14 23:07, , 10F
01/14 23:07, 10F
→
01/14 23:13, , 11F
01/14 23:13, 11F
→
01/14 23:14, , 12F
01/14 23:14, 12F
→
01/14 23:14, , 13F
01/14 23:14, 13F
→
01/14 23:15, , 14F
01/14 23:15, 14F
→
01/14 23:15, , 15F
01/14 23:15, 15F
→
01/14 23:15, , 16F
01/14 23:15, 16F
→
01/14 23:17, , 17F
01/14 23:17, 17F
→
01/14 23:18, , 18F
01/14 23:18, 18F
→
01/14 23:18, , 19F
01/14 23:18, 19F
→
01/14 23:19, , 20F
01/14 23:19, 20F
→
01/14 23:19, , 21F
01/14 23:19, 21F
→
01/14 23:21, , 22F
01/14 23:21, 22F
→
01/14 23:21, , 23F
01/14 23:21, 23F
推
01/14 23:21, , 24F
01/14 23:21, 24F
→
01/14 23:21, , 25F
01/14 23:21, 25F
→
01/14 23:30, , 26F
01/14 23:30, 26F
→
01/14 23:30, , 27F
01/14 23:30, 27F