Rev 1616 | Rev 1631 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1616 | Rev 1630 | ||
---|---|---|---|
Line -... | Line 1... | ||
- | 1 | #include |
|
- | 2 | ||
1 | #ifndef __SYSCALL_H__ |
3 | #ifndef __SYSCALL_H__ |
2 | #define __SYSCALL_H__ |
4 | #define __SYSCALL_H__ |
Line 3... | Line 5... | ||
3 | 5 | ||
Line 238... | Line 240... | ||
238 | "call *__imp__PciApi \n\t" |
240 | "call *__imp__PciApi \n\t" |
239 | "movzxb %%al, %%eax" |
241 | "movzxb %%al, %%eax" |
240 | :"=a" (retval) |
242 | :"=a" (retval) |
241 | :"a" (cmd) |
243 | :"a" (cmd) |
242 | :"ebx","ecx","edx"); |
244 | :"cc"); |
243 | return retval; |
245 | |
- | 246 | return retval; |
|
244 | }; |
247 | }; |
245 | 248 | ||
Line 246... | Line 249... | ||
246 | static inline void* __CreateObject(u32_t pid, size_t size) |
249 | static inline void* __CreateObject(u32_t pid, size_t size) |
247 | { |
250 | { |