Changes in kernel/generic/src/mm/frame.c [2cc7f16:77b52f0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/mm/frame.c
r2cc7f16 r77b52f0 1270 1270 /** Adjust bounds of physical memory region according to low/high memory split. 1271 1271 * 1272 * @param low[in] If true, the ad justment is performed to make the region1272 * @param low[in] If true, the adujstment 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 uintptr_t limit = KA2PA(config.identity_base) + config.identity_size; 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; 1285 1288 1286 1289 if (low) {
Note:
See TracChangeset
for help on using the changeset viewer.