Page 1 of 1

pointers@DS

Posted: Fri Aug 01, 2003 11:00 pm
by Adek336
hey people
this makes me mad: pointers use the DS selector, so if DS starts at 0xc0000000 then I canĀ“t have a pointer to 0xb8000 unless i make it 0x400b8000. Perhaps it is better to have the kernel at 0x0 ? (in virtual addressing, of course)

Speak yourself and tell me how you handle the problem and where in memory do you put your kernel.

Adek336

RE:pointers@DS

Posted: Fri Aug 01, 2003 11:00 pm
by ccc
Hey,

Yes, better use 0x0 as the base. Why are you trying to place the base at 0xc0000000? Is that your kernel data selector? ;) Use "flat mm" + virtual mem, paging.