Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Refactor in c++ style
  • Loading branch information
djphoenix committed May 14, 2019
1 parent 7a59f07 commit 7f00dc3
Show file tree
Hide file tree
Showing 31 changed files with 1,109 additions and 1,149 deletions.
2 changes: 1 addition & 1 deletion CPPLINT.cfg
@@ -1,3 +1,3 @@
set noparent
filter=-build/include_what_you_use,-readability/todo
filter=-build/include_what_you_use,-readability/todo,-runtime/indentation_namespace
linelength=120
8 changes: 5 additions & 3 deletions src/boot/efiboot.cpp
Expand Up @@ -4,7 +4,9 @@
#include "kernlib.hpp"
#include "efi.hpp"

const EFI_SYSTEM_TABLE *EFI::SystemTable = 0;
const void *EFI::ImageHandle = 0;
const EFI_SYSTEM_TABLE *EFI::getSystemTable() { return SystemTable; }
namespace EFI {
const struct EFI::SystemTable *SystemTable = 0;
const void *ImageHandle = 0;
}
const struct EFI::SystemTable *EFI::getSystemTable() { return SystemTable; }
const void *EFI::getImageHandle() { return ImageHandle; }

0 comments on commit 7f00dc3

Please sign in to comment.