Skip to content
This repository was archived by the owner on Feb 15, 2024. It is now read-only.
This repository was archived by the owner on Feb 15, 2024. It is now read-only.

no more global variables(contains side effects) #44

@liva

Description

@liva

we use global variables to call controller class, but it should be called by static functions.
this improvement has many benefits.

  • singleton class design
  • enable to check if class is allocated.
  • no more global.h

expected impact

we must fix caller

ex.
virtmem_ctrl->Alloc => VirtmemCtrl::Alloc

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions