[haiku-commits] r37229 - haiku/trunk/src/system/kernel/arch/x86/paging/pae

  • From: ingo_weinhold@xxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 23 Jun 2010 15:37:53 +0200 (CEST)

Author: bonefish
Date: 2010-06-23 15:37:53 +0200 (Wed, 23 Jun 2010)
New Revision: 37229
Changeset: http://dev.haiku-os.org/changeset/37229/haiku

Modified:
   haiku/trunk/src/system/kernel/arch/x86/paging/pae/X86PagingMethodPAE.cpp
Log:
Disabled tracing and removed a bit of debug output.


Modified: 
haiku/trunk/src/system/kernel/arch/x86/paging/pae/X86PagingMethodPAE.cpp
===================================================================
--- haiku/trunk/src/system/kernel/arch/x86/paging/pae/X86PagingMethodPAE.cpp    
2010-06-23 13:36:08 UTC (rev 37228)
+++ haiku/trunk/src/system/kernel/arch/x86/paging/pae/X86PagingMethodPAE.cpp    
2010-06-23 13:37:53 UTC (rev 37229)
@@ -28,7 +28,7 @@
 #include "paging/x86_physical_page_mapper_large_memory.h"
 
 
-#define TRACE_X86_PAGING_METHOD_PAE
+//#define TRACE_X86_PAGING_METHOD_PAE
 #ifdef TRACE_X86_PAGING_METHOD_PAE
 #      define TRACE(x...) dprintf(x)
 #else
@@ -222,12 +222,10 @@
                for (uint32 i = 0; i < oldPageTableCount; i++) {
                        // allocate a page
                        phys_addr_t physicalTable =_AllocatePage32Bit();
-TRACE("allocated page table: %#" B_PRIxPHYSADDR "\n", physicalTable);
 
                        // put the page into the page dir
                        page_directory_entry* entry = &fPageHolePageDir[
                                virtualBase / B_PAGE_SIZE / 1024 + i];
-TRACE("  -> mapping in pde %p (%#lx)\n", entry, *entry);
                        X86PagingMethod32Bit::PutPageTableInPageDir(entry, 
physicalTable,
                                B_KERNEL_READ_AREA | B_KERNEL_WRITE_AREA);
 
@@ -244,11 +242,9 @@
                for (uint32 i = 0; i < pagesNeeded; i++) {
                        // allocate a page
                        phys_addr_t physicalAddress =_AllocatePage32Bit();
-//TRACE("allocated page: %#" B_PRIxPHYSADDR "\n", physicalAddress);
 
                        // put the page into the page table
                        page_table_entry* entry = fPageHole + virtualBase / 
B_PAGE_SIZE + i;
-//TRACE("  -> mapping in pte %p (%#lx)\n", entry, *entry);
                        X86PagingMethod32Bit::PutPageTableEntryInTable(entry,
                                physicalAddress, B_KERNEL_READ_AREA | 
B_KERNEL_WRITE_AREA, 0,
                                true);


Other related posts:

  • » [haiku-commits] r37229 - haiku/trunk/src/system/kernel/arch/x86/paging/pae - ingo_weinhold