/
niceSOFT
/
ipxe
Обзор
Документация
Войти
/
niceSOFT
/
ipxe
Код
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/interface/linux/linux_uaccess.c
31 строка
984 B
Michael Brown
[uaccess] Remove redundant virt_to_user() and userptr_t
30 апр 2025, 18:26
30 апр 2025, 18:26
1534b0a
Код
Авторство
О чём код?
/* * Copyright (C) 2010 Piotr Jaroszyński <p.jaroszynski@gmail.com> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * published by the Free Software Foundation; either version 2 of the * License, or any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA * 02110-1301, USA. */ FILE_LICENCE(GPL2_OR_LATER); #include <ipxe/uaccess.h> /** @file * * iPXE user access API for linux * */ PROVIDE_UACCESS_INLINE(linux, phys_to_virt); PROVIDE_UACCESS_INLINE(linux, virt_to_phys);