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

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;