void initializeMainDevice(void)
Init Main Device members.
Definition: main_device.c:107
struct idr group_map
Definition: main_device.h:87
int mainInit(void)
Kernel Module Init.
Definition: main_device.c:27
Main device structure.
Definition: main_device.h:82
#define D_DEV_MINOR
Definition: main_device.h:60
int minor
Definition: main_device.h:85
int installGroup(const group_t new_group)
Install a group for the provided 'group_t' descriptor.
Definition: main_device.c:389
#define D_DEV_MAJOR
Definition: main_device.h:59
void mainExit(void)
Kernel Module Exit.
Definition: main_device.c:55
struct cdev cdev
Definition: main_device.h:84
struct semaphore sem
Definition: main_device.h:89