System call delegation supports DMA alignment

This commit is contained in:
Taku Shimosawa
2012-02-24 18:08:05 +09:00
parent dad780a133
commit a63b4a7369
7 changed files with 124 additions and 20 deletions

View File

@ -1,6 +1,8 @@
#ifndef __HEADER_SYSCALL_H
#define __HEADER_SYSCALL_H
#include <aal/memconst.h>
#define NUM_SYSCALLS 255
#define REQUEST_PAGE_COUNT 16
@ -61,7 +63,7 @@ struct syscall_response {
};
struct syscall_post {
unsigned long v[4];
unsigned long v[8];
};
struct syscall_params {
@ -77,7 +79,7 @@ struct syscall_params {
unsigned long post_rpa, post_pa;
struct syscall_post *post_va;
unsigned long post_fin;
struct syscall_post post_buf;
struct syscall_post post_buf AAL_DMA_ALIGN;
};
#endif