mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-10-30 20:07:51 +00:00
kernel/process: Use std::array where applicable
This commit is contained in:
parent
2beda7c2b3
commit
e649db8c6b
1 changed files with 2 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <array>
|
||||||
#include <bitset>
|
#include <bitset>
|
||||||
#include <cstddef>
|
#include <cstddef>
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
@ -101,7 +102,7 @@ struct CodeSet final : public Object {
|
||||||
|
|
||||||
std::shared_ptr<std::vector<u8>> memory;
|
std::shared_ptr<std::vector<u8>> memory;
|
||||||
|
|
||||||
Segment segments[3];
|
std::array<Segment, 3> segments;
|
||||||
VAddr entrypoint;
|
VAddr entrypoint;
|
||||||
|
|
||||||
/// Name of the process
|
/// Name of the process
|
||||||
|
|
Loading…
Reference in a new issue