Changes in kernel/generic/src/mm/frame.c [77b52f0:2cc7f16] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/frame.c
r77b52f0 r2cc7f16 1270 1270 /** Adjust bounds of physical memory region according to low/high memory split. 1271 1271 * 1272 * @param low[in] If true, the ad ujstment is performed to make the region1272 * @param low[in] If true, the adjustment is performed to make the region 1273 1273 * fit in the low memory. Otherwise the adjustment is 1274 1274 * performed to make the region fit in the high memory. … … 1282 1282 bool frame_adjust_zone_bounds(bool low, uintptr_t *basep, size_t *sizep) 1283 1283 { 1284 // FIXME: This might lead to overflow if the identity_size is too big 1285 // but it is necessary if the PA identity_base > identity_size 1286 const uintptr_t limit = 1287 KA2PA(config.identity_base) + config.identity_size; 1284 uintptr_t limit = KA2PA(config.identity_base) + config.identity_size; 1288 1285 1289 1286 if (low) {
Note:
See TracChangeset
for help on using the changeset viewer.