ddk: update includes
git-svn-id: svn://kolibrios.org@6594 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
6cbd453d52
commit
3d1f528de7
@ -246,7 +246,7 @@
|
||||
|
||||
/* Type of mutex supported by host. Default is binary semaphores. */
|
||||
#ifndef ACPI_MUTEX_TYPE
|
||||
#define ACPI_MUTEX_TYPE ACPI_BINARY_SEMAPHORE
|
||||
#define ACPI_MUTEX_TYPE ACPI_OSL_MUTEX
|
||||
#endif
|
||||
|
||||
/* Global Lock acquire/release */
|
||||
|
@ -125,7 +125,7 @@
|
||||
#define ACPI_EXPORT_SYMBOL(symbol) EXPORT_SYMBOL(symbol);
|
||||
#define strtoul simple_strtoul
|
||||
|
||||
#define acpi_cache_t struct kmem_cache
|
||||
//#define acpi_cache_t struct kmem_cache
|
||||
#define acpi_spinlock spinlock_t *
|
||||
#define acpi_cpu_flags unsigned long
|
||||
|
||||
|
@ -96,9 +96,13 @@ static inline void acpi_os_free(void *memory)
|
||||
kfree(memory);
|
||||
}
|
||||
|
||||
void *acpi_os_acquire_object(acpi_cache_t * cache);
|
||||
|
||||
u32 __attribute__ ((dllimport)) GetPid(void)__asm__("GetPid");
|
||||
|
||||
static inline acpi_thread_id acpi_os_get_thread_id(void)
|
||||
{
|
||||
return (acpi_thread_id) (unsigned long)-1;
|
||||
return (acpi_thread_id) (unsigned long)GetPid();
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user