Author: wmb Date: 2007-07-23 21:30:35 +0200 (Mon, 23 Jul 2007) New Revision: 485
Modified: cpu/x86/pc/paging.bth Log: x86 - Fixed crash that occurs after a long sequence of memory mapping operations, caused by an error in the early init code. One of the pages that is used by the memory management code was on the free list.
Modified: cpu/x86/pc/paging.bth =================================================================== --- cpu/x86/pc/paging.bth 2007-07-23 06:51:54 UTC (rev 484) +++ cpu/x86/pc/paging.bth 2007-07-23 19:30:35 UTC (rev 485) @@ -147,11 +147,6 @@ loopa then
-[ifdef] mem-info-pa - si mem-info-pa 1 la+ #) mov \ Report top of page table area -\ di mem-info-pa 2 la+ #) mov \ Report top of page table area -[then] - [ifdef] rom-pa \ Page Directory Entry /ptab # si sub @@ -175,6 +170,10 @@ loopa [then]
+[ifdef] mem-info-pa + si mem-info-pa 1 la+ #) mov \ Report top of page table area +[then] + ascii P report \ enable paging bx cr3 mov \ Set Page Directory Base Register