Kernel: renamed physical_alloc to physmem.
parent
8c04117f6a
commit
e220b87f16
|
@ -1,9 +1,9 @@
|
||||||
#ifndef __PHYSICAL_ALLOC_H__
|
#ifndef __PHYSMEM_H__
|
||||||
#define __PHYSICAL_ALLOC_H__
|
#define __PHYSMEM_H__
|
||||||
|
|
||||||
#include "types.h"
|
#include "types.h"
|
||||||
|
|
||||||
#define PHYSALLOC_PAGE_SIZE 4096
|
#define PHYSMEM_PAGE_SIZE 4096
|
||||||
|
|
||||||
void physmem_init(u64 MemorySize);
|
void physmem_init(u64 MemorySize);
|
||||||
u64 physmem_allocate_page(void);
|
u64 physmem_allocate_page(void);
|
|
@ -9,7 +9,7 @@
|
||||||
#include "Tier0/system.h"
|
#include "Tier0/system.h"
|
||||||
//#include "Tier0/pic.h"
|
//#include "Tier0/pic.h"
|
||||||
//#include "Tier0/kbd_layout.h"
|
//#include "Tier0/kbd_layout.h"
|
||||||
//#include "Tier0/physical_alloc.h"
|
#include "Tier0/physmem.h"
|
||||||
//#include "Tier0/heap.h"
|
//#include "Tier0/heap.h"
|
||||||
//#include "Tier0/cpp.h"
|
//#include "Tier0/cpp.h"
|
||||||
//#include "Tier0/exceptions.h"
|
//#include "Tier0/exceptions.h"
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
// this code will only be called from low-level system routines, if it actually
|
// this code will only be called from low-level system routines, if it actually
|
||||||
// happens that we run out of memory... We're probably badly screwed, anyway.
|
// happens that we run out of memory... We're probably badly screwed, anyway.
|
||||||
|
|
||||||
#include "Tier0/physical_alloc.h"
|
#include "Tier0/physmem.h"
|
||||||
#include "Tier0/kstdio.h"
|
#include "Tier0/kstdio.h"
|
||||||
#include "Tier0/panic.h"
|
#include "Tier0/panic.h"
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#include "Tier0/system.h"
|
#include "Tier0/system.h"
|
||||||
#include "Tier0/panic.h"
|
#include "Tier0/panic.h"
|
||||||
#include "Tier0/kstdio.h"
|
#include "Tier0/kstdio.h"
|
||||||
#include "Tier0/physical_alloc.h"
|
#include "Tier0/physmem.h"
|
||||||
|
|
||||||
T_SYSTEM_INFO g_SystemInfo;
|
T_SYSTEM_INFO g_SystemInfo;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue