Rev 2723 | Rev 3908 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2723 | Rev 3891 | ||
---|---|---|---|
Line 116... | Line 116... | ||
116 | #ifdef CONFIG_SMP |
116 | #ifdef CONFIG_SMP |
117 | minconf = max(minconf, |
117 | minconf = max(minconf, |
118 | ADDR2PFN(AP_BOOT_OFFSET + hardcoded_unmapped_ktext_size + |
118 | ADDR2PFN(AP_BOOT_OFFSET + hardcoded_unmapped_ktext_size + |
119 | hardcoded_unmapped_kdata_size)); |
119 | hardcoded_unmapped_kdata_size)); |
120 | #endif |
120 | #endif |
121 | #ifdef CONFIG_SIMICS_FIX |
- | |
122 | minconf = max(minconf, ADDR2PFN(0x10000)); |
- | |
123 | #endif |
- | |
124 | init_e820_memory(minconf); |
121 | init_e820_memory(minconf); |
125 | 122 | ||
126 | /* Reserve frame 0 (BIOS data) */ |
123 | /* Reserve frame 0 (BIOS data) */ |
127 | frame_mark_unavailable(0, 1); |
124 | frame_mark_unavailable(0, 1); |
128 | 125 | ||
129 | #ifdef CONFIG_SMP |
126 | #ifdef CONFIG_SMP |
130 | /* Reserve AP real mode bootstrap memory */ |
127 | /* Reserve AP real mode bootstrap memory */ |
131 | frame_mark_unavailable(AP_BOOT_OFFSET >> FRAME_WIDTH, |
128 | frame_mark_unavailable(AP_BOOT_OFFSET >> FRAME_WIDTH, |
132 | (hardcoded_unmapped_ktext_size + |
129 | (hardcoded_unmapped_ktext_size + |
133 | hardcoded_unmapped_kdata_size) >> FRAME_WIDTH); |
130 | hardcoded_unmapped_kdata_size) >> FRAME_WIDTH); |
134 | - | ||
135 | #ifdef CONFIG_SIMICS_FIX |
- | |
136 | /* Don't know why, but these addresses help */ |
- | |
137 | frame_mark_unavailable(0xd000 >> FRAME_WIDTH, 3); |
- | |
138 | #endif |
- | |
139 | #endif |
131 | #endif |
140 | } |
132 | } |
141 | } |
133 | } |
142 | 134 | ||
143 | /** @} |
135 | /** @} |