*LOTS* of small changes to make the kernel compatible with Be's KernelExport.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1683 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -51,7 +51,7 @@ static void *aspace_table;
|
||||
static sem_id aspace_hash_sem;
|
||||
|
||||
static int max_commit;
|
||||
static spinlock_t max_commit_lock;
|
||||
static spinlock max_commit_lock;
|
||||
|
||||
// function declarations
|
||||
static vm_region *_vm_create_region_struct(vm_address_space *aspace, const char *name, int wiring, int lock);
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
/* hash table of pages keyed by cache they're in and offset */
|
||||
#define PAGE_TABLE_SIZE 1024 /* make this dynamic */
|
||||
static void *page_cache_table;
|
||||
static spinlock_t page_cache_table_lock;
|
||||
static spinlock page_cache_table_lock;
|
||||
|
||||
struct page_lookup_key {
|
||||
off_t offset;
|
||||
|
||||
@@ -38,7 +38,7 @@ static vm_page *all_pages;
|
||||
static addr physical_page_offset;
|
||||
static unsigned int num_pages;
|
||||
|
||||
static spinlock_t page_lock;
|
||||
static spinlock page_lock;
|
||||
|
||||
static sem_id modified_pages_available;
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
#include <vm_store_anonymous_noswap.h>
|
||||
#include <Errors.h>
|
||||
#include <kerrors.h>
|
||||
#include <KernelExport.h>
|
||||
|
||||
static void anonymous_destroy(struct vm_store *store)
|
||||
{
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <vm_store_device.h>
|
||||
#include <Errors.h>
|
||||
#include <kerrors.h>
|
||||
#include <KernelExport.h>
|
||||
|
||||
struct device_store_data {
|
||||
addr base_addr;
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
#include <debug.h>
|
||||
#include <arch/cpu.h>
|
||||
|
||||
#include <KernelExport.h>
|
||||
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#include <stdio.h>
|
||||
|
||||
Reference in New Issue
Block a user