Merge pull request #4386 from wwylele/codeset-class

Kernel/CodeSet: change struct to class
This commit is contained in:
Weiyi Wang 2018-10-30 00:30:50 -04:00 committed by GitHub
commit bd4beb6558
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -50,7 +50,8 @@ enum class ProcessStatus { Created, Running, Exited };
class ResourceLimit; class ResourceLimit;
struct MemoryRegionInfo; struct MemoryRegionInfo;
struct CodeSet final : public Object { class CodeSet final : public Object {
public:
struct Segment { struct Segment {
std::size_t offset = 0; std::size_t offset = 0;
VAddr addr = 0; VAddr addr = 0;