aboutsummaryrefslogtreecommitdiff
path: root/src/core/memory.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-03-22 14:51:36 -0400
committerLioncash <mathew1800@gmail.com>2019-03-22 18:43:46 -0400
commitb8ccd49d77feb52aa333cd30e5d7c28423c5455d (patch)
tree4bf8428709b8a55210a9591841c0dde623386ad1 /src/core/memory.cpp
parent245c751cbf919c5766a7363054412968d0ae02a6 (diff)
kernel/codeset: Make CodeSet's memory data member a regular std::vector
The use of a shared_ptr is an implementation detail of the VMManager itself when mapping memory. Because of that, we shouldn't require all users of the CodeSet to have to allocate the shared_ptr ahead of time. It's intended that CodeSet simply pass in the required direct data, and that the memory manager takes care of it from that point on. This means we just do the shared pointer allocation in a single place, when loading modules, as opposed to in each loader.
Diffstat (limited to 'src/core/memory.cpp')
0 files changed, 0 insertions, 0 deletions