Browse Source

fix DBG macro unknown variable

tags/v0.9.3
Marty Connor 18 years ago
parent
commit
c30623b739
1 changed files with 5 additions and 5 deletions
  1. 5
    5
      src/arch/i386/firmware/pcbios/basemem.c

+ 5
- 5
src/arch/i386/firmware/pcbios/basemem.c View File

72
 	 */
72
 	 */
73
 	memset ( ptr, 0, size_kb << 10 );
73
 	memset ( ptr, 0, size_kb << 10 );
74
 
74
 
75
-	DBG ( "Allocated %d kB of base memory at [%hx:0000,%hx:0000), "
76
-	      "%d kB now free\n", size_kb,
77
-	      ( virt_to_phys ( ptr ) >> 4 ),
75
+	DBG ( "Allocated %d kB of base memory at [%hx:0000,%hx:0000), " \
76
+	      "%d kB now free\n", size_kb, \
77
+	      ( virt_to_phys ( ptr ) >> 4 ), \
78
 	      ( ( virt_to_phys ( ptr ) + ( size_kb << 10 ) ) >> 4 ), fbms );
78
 	      ( ( virt_to_phys ( ptr ) + ( size_kb << 10 ) ) >> 4 ), fbms );
79
 
79
 
80
 	/* Update our memory map */
80
 	/* Update our memory map */
170
 
170
 
171
 		DBG ( "Freed %d kB of base memory at [%hx:0000,%hx:0000), "
171
 		DBG ( "Freed %d kB of base memory at [%hx:0000,%hx:0000), "
172
 		      "%d kB now free\n",
172
 		      "%d kB now free\n",
173
-		      free_block->size_kb,
173
+		      free_block->header.size_kb,
174
 		      ( virt_to_phys ( free_block ) >> 4 ),
174
 		      ( virt_to_phys ( free_block ) >> 4 ),
175
 		      ( ( virt_to_phys ( free_block ) + 
175
 		      ( ( virt_to_phys ( free_block ) + 
176
-			  ( free_block->size_kb << 10 ) ) >> 4 ),
176
+			  ( free_block->header.size_kb << 10 ) ) >> 4 ),
177
 		      fbms );
177
 		      fbms );
178
 		
178
 		
179
 		/* Do not zero out the freed block, because it might
179
 		/* Do not zero out the freed block, because it might

Loading…
Cancel
Save