File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,8 @@ void __init bootmem_init(int mem_size)
2121 memory_start = PAGE_ALIGN (memory_start );
2222 mem_size = (mem_size / PAGE_SIZE ) * PAGE_SIZE ;
2323 }
24-
24+ pr_info ("bootmem address range: 0x%lx - 0x%lx\n" , memory_start ,
25+ memory_start + mem_size );
2526 /*
2627 * Give all the memory to the bootmap allocator, tell it to put the
2728 * boot mem_map at the start of memory.
Original file line number Diff line number Diff line change @@ -229,6 +229,15 @@ hijack_init(void)
229229 if (offload1 )
230230 offload = strtol (offload1 , NULL , 0 );
231231
232+ if (lkl_debug & 0x200 ) {
233+ char c ;
234+
235+ printf ("press 'enter' to continue\n" );
236+ if (scanf ("%c" , & c ) <= 0 ) {
237+ fprintf (stderr , "scanf() fails\n" );
238+ return ;
239+ }
240+ }
232241 if (single_cpu ) {
233242 single_cpu_mode = atoi (single_cpu );
234243 switch (single_cpu_mode ) {
You can’t perform that action at this time.
0 commit comments