Changeset 6188fee in mainline for kernel/arch/mips32/src/mm/frame.c


Ignore:
Timestamp:
2023-02-26T11:24:51Z (14 months ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
deed510
Parents:
65f3117
Message:

Exclude boot allocations in frame allocator

I think some platforms only worked by pure luck without this.
Particularly ppc32, on which this luck was broken by previous
commit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/src/mm/frame.c

    r65f3117 r6188fee  
    111111        if (overlaps(frame << ZERO_PAGE_WIDTH, ZERO_PAGE_SIZE,
    112112            KA2PA(config.base), config.kernel_size))
     113                return false;
     114
     115        /* Boot allocations */
     116        if (overlaps(frame << ZERO_PAGE_WIDTH, ZERO_PAGE_SIZE,
     117            KA2PA(ballocs.base), ballocs.size))
    113118                return false;
    114119
Note: See TracChangeset for help on using the changeset viewer.