Kernel: renamed physical_alloc to physmem.

alentours-dev
Sergiusz Bazanski 2011-08-25 20:06:16 +02:00
parent 8c04117f6a
commit e220b87f16
4 changed files with 6 additions and 6 deletions

View File

@ -1,9 +1,9 @@
#ifndef __PHYSICAL_ALLOC_H__
#define __PHYSICAL_ALLOC_H__
#ifndef __PHYSMEM_H__
#define __PHYSMEM_H__
#include "types.h"
#define PHYSALLOC_PAGE_SIZE 4096
#define PHYSMEM_PAGE_SIZE 4096
void physmem_init(u64 MemorySize);
u64 physmem_allocate_page(void);

View File

@ -9,7 +9,7 @@
#include "Tier0/system.h"
//#include "Tier0/pic.h"
//#include "Tier0/kbd_layout.h"
//#include "Tier0/physical_alloc.h"
#include "Tier0/physmem.h"
//#include "Tier0/heap.h"
//#include "Tier0/cpp.h"
//#include "Tier0/exceptions.h"

View File

@ -19,7 +19,7 @@
// 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.
#include "Tier0/physical_alloc.h"
#include "Tier0/physmem.h"
#include "Tier0/kstdio.h"
#include "Tier0/panic.h"

View File

@ -4,7 +4,7 @@
#include "Tier0/system.h"
#include "Tier0/panic.h"
#include "Tier0/kstdio.h"
#include "Tier0/physical_alloc.h"
#include "Tier0/physmem.h"
T_SYSTEM_INFO g_SystemInfo;