Re: address resolution question

2001-08-01 Thread Weiguang SHI
... > > According to my calculation, pte=0xbfcc0001 and *pte will yield > > 0x2FF,0xC0,0x1 as indexes to the page directory table, page table and > > an offset. My page directory table is like this (starting at physical > > address 0x2C2000): > > > > indexpage_table_base_address; p

Re: address resolution question

2001-08-01 Thread Terry Lambert
Weiguang SHI wrote: > I need your help to understand this. > In machdep.c, > >1451 /* >1452 * map page 1 R/W into the kernel page table so we can use > it >1453 * as a buffer. The kernel will unmap this page later. >1454 */ >1455 pte

address resolution question

2001-07-31 Thread Weiguang SHI
Hi, I need your help to understand this. In machdep.c, 1451 /* 1452 * map page 1 R/W into the kernel page table so we can use it 1453 * as a buffer. The kernel will unmap this page later. 1454 */ 1455 pte = (pt_entry_t)vtopte(KERNBASE +