mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 21:41:43 +03:00
[linux] Add command line arguments
Support qemu-like arguments for network setup: --net driver_name[,setting=value]* and global settings: --settings setting=value[,setting=value]* Signed-off-by: Piotr Jaroszyński <p.jaroszynski@gmail.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
committed by
Michael Brown
parent
91fb434bda
commit
ddef2e1bc1
31
src/include/hci/linux_args.h
Normal file
31
src/include/hci/linux_args.h
Normal file
@@ -0,0 +1,31 @@
|
||||
/*
|
||||
* 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 St, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
*/
|
||||
|
||||
#ifndef _HCI_LINUX_ARGS_H
|
||||
#define _HCI_LINUX_ARGS_H
|
||||
|
||||
FILE_LICENCE(GPL2_OR_LATER);
|
||||
|
||||
/**
|
||||
* Save argc and argv for later access.
|
||||
*
|
||||
* To be called by linuxprefix
|
||||
*/
|
||||
extern __asmcall void save_args(int argc, char **argv);
|
||||
|
||||
#endif /* _HCI_LINUX_ARGS_H */
|
||||
Reference in New Issue
Block a user