2 #ifndef BEST_MAILBOX_DEVICE_H_
3 #define BEST_MAILBOX_DEVICE_H_
void * virt_addr
virual address of mSGDMA descriptor mem
Definition: BEST_mailbox_device.h:10
void mailbox_dev_remove(struct mailbox_dev_struct *dev, struct class *best_class)
Removes Mailbox char device.
Definition: BEST_mailbox_device.c:181
Definition: BEST_mailbox_device.h:6
struct cdev cdev
character device
Definition: BEST_mailbox_device.h:16
dev_t cdevno
character device number
Definition: BEST_mailbox_device.h:13
int mailbox_dev_create(struct mailbox_dev_struct *dev, struct class *best_class)
Creates new Mailbox char device.
Definition: BEST_mailbox_device.c:137
struct semaphore mailbox_sem
semaphore
Definition: BEST_mailbox_device.h:19