system.cc (9332:ae2a5329ce96) system.cc (9405:c0a0593510db)
1/*
2 * Copyright (c) 2010-2012 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 157 unchanged lines hidden (view full) ---

166
167 AddrRangeList atagRanges = physmem.getConfAddrRanges();
168 if (atagRanges.size() != 1) {
169 fatal("Expected a single ATAG memory entry but got %d\n",
170 atagRanges.size());
171 }
172 AtagMem am;
173 am.memSize(atagRanges.begin()->size());
1/*
2 * Copyright (c) 2010-2012 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 157 unchanged lines hidden (view full) ---

166
167 AddrRangeList atagRanges = physmem.getConfAddrRanges();
168 if (atagRanges.size() != 1) {
169 fatal("Expected a single ATAG memory entry but got %d\n",
170 atagRanges.size());
171 }
172 AtagMem am;
173 am.memSize(atagRanges.begin()->size());
174 am.memStart(atagRanges.begin()->start);
174 am.memStart(atagRanges.begin()->start());
175
176 AtagCmdline ad;
177 ad.cmdline(params()->boot_osflags);
178
179 DPRINTF(Loader, "boot command line %d bytes: %s\n",
180 ad.size() <<2, params()->boot_osflags.c_str());
181
182 AtagNone an;

--- 133 unchanged lines hidden ---
175
176 AtagCmdline ad;
177 ad.cmdline(params()->boot_osflags);
178
179 DPRINTF(Loader, "boot command line %d bytes: %s\n",
180 ad.size() <<2, params()->boot_osflags.c_str());
181
182 AtagNone an;

--- 133 unchanged lines hidden ---