Rev 3910 | Rev 3967 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3910 | Rev 3966 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | */ |
27 | */ |
28 | 28 | ||
29 | /** @addtogroup mips32mm |
29 | /** @addtogroup mips32mm |
30 | * @{ |
30 | * @{ |
31 | */ |
31 | */ |
32 | /** @file |
32 | /** @file |
33 | */ |
33 | */ |
34 | 34 | ||
Line 151... | Line 151... | ||
151 | if (first == 0) |
151 | if (first == 0) |
152 | conf_frame = 1; |
152 | conf_frame = 1; |
153 | else |
153 | else |
154 | conf_frame = first; |
154 | conf_frame = first; |
155 | 155 | ||
- | 156 | while (1); |
|
156 | zone_create(first, count, conf_frame, 0); |
157 | zone_create(first, count, conf_frame, 0); |
157 | 158 | ||
158 | if (phys_regions_count < MAX_REGIONS) { |
159 | if (phys_regions_count < MAX_REGIONS) { |
159 | phys_regions[phys_regions_count].start = first; |
160 | phys_regions[phys_regions_count].start = first; |
160 | phys_regions[phys_regions_count].count = count; |
161 | phys_regions[phys_regions_count].count = count; |
Line 218... | Line 219... | ||
218 | avail = false; |
219 | avail = false; |
219 | else { |
220 | else { |
220 | ZERO_PAGE_VALUE = 0xdeadbeef; |
221 | ZERO_PAGE_VALUE = 0xdeadbeef; |
221 | if (ZERO_PAGE_VALUE != 0xdeadbeef) |
222 | if (ZERO_PAGE_VALUE != 0xdeadbeef) |
222 | avail = false; |
223 | avail = false; |
223 | #if defined(lgxemul) || defined(bgxemul) |
224 | #if defined(MACHINE_lgxemul) || defined(MACHINE_bgxemul) |
224 | else { |
225 | else { |
225 | ZERO_PAGE_VALUE_KSEG1(frame) = 0xaabbccdd; |
226 | ZERO_PAGE_VALUE_KSEG1(frame) = 0xaabbccdd; |
226 | if (ZERO_PAGE_VALUE_KSEG1(frame) != 0xaabbccdd) |
227 | if (ZERO_PAGE_VALUE_KSEG1(frame) != 0xaabbccdd) |
227 | avail = false; |
228 | avail = false; |
228 | } |
229 | } |