Skip to content

Commit

Permalink
platform: string for CPU model
Browse files Browse the repository at this point in the history
  • Loading branch information
jewelcodes committed Oct 6, 2024
1 parent c2a72f8 commit 27ec33d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/include/platform/platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
#define PLATFORM_PAGE_NO_CACHE 0x0020
#define PLATFORM_PAGE_ERROR 0x8000 // all bits invalid if this bit is set

extern char *platformCPUModel;

int platformCPUSetup(); // very early setup for one CPU
int platformPagingSetup(); // paging setup for virtual memory management
uintptr_t platformGetPage(int *, uintptr_t); // get physical address and flags of a page
Expand Down

0 comments on commit 27ec33d

Please sign in to comment.