Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion PlatboxDrv/linux/driver/kernetix.c
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ static long int kernetix_ioctl(struct file *file, unsigned int cmd, unsigned lon
}

case IOCTL_GET_EFI_MEMMAP_ADDRESS:

{
UINT64 *addr_result;

if ( copy_from_user(&addr_result, p, sizeof(UINT64)) != 0)
Expand All @@ -403,6 +403,7 @@ static long int kernetix_ioctl(struct file *file, unsigned int cmd, unsigned lon
put_user( (long unsigned int *) &efi.memmap, (unsigned long **)addr_result );

break;
}

case IOCTL_READ_IO_PORT:
if (copy_from_user(&_io, p, sizeof(IO_PORT_CALL))) {
Expand Down