Rev 6591 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6591 | Rev 6594 | ||
---|---|---|---|
Line 94... | Line 94... | ||
94 | static inline void acpi_os_free(void *memory) |
94 | static inline void acpi_os_free(void *memory) |
95 | { |
95 | { |
96 | kfree(memory); |
96 | kfree(memory); |
97 | } |
97 | } |
Line -... | Line 98... | ||
- | 98 | ||
- | 99 | void *acpi_os_acquire_object(acpi_cache_t * cache); |
|
- | 100 | ||
- | 101 | u32 __attribute__ ((dllimport)) GetPid(void)__asm__("GetPid"); |
|
98 | 102 | ||
99 | static inline acpi_thread_id acpi_os_get_thread_id(void) |
103 | static inline acpi_thread_id acpi_os_get_thread_id(void) |
100 | { |
104 | { |
101 | return (acpi_thread_id) (unsigned long)-1; |
105 | return (acpi_thread_id) (unsigned long)GetPid(); |
Line 102... | Line 106... | ||
102 | } |
106 | } |
103 | 107 | ||
104 | /* |
108 | /* |