pointers@DS

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Adek336

pointers@DS

Post 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
ccc

RE:pointers@DS

Post 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.
Post Reply