2008-04-14

RAM scan

As I promised, my OS is now able to gather RAM size all by itself. I have also created a simple check code to dermine whether it is running on Intel (or similar processor) or AMD. In this case (I mean gathering memory size) the main difference is that Intel does not support 64bit pages addressing 64bit memory. Using such pages lead to rather strange effects.

These memory addresses locate the same memory on Intel processors while AMD understands them correctly:

Intel:
0000FFFF00000000h = 0000000000000000h

AMD:
0000FFFF00000000h = 0000FFFF00000000h

At this point I am doing some paging work and very soon the booting process will be finished.

No comments: