diff options
author | Piotr Jaroszyński <p.jaroszynski@gmail.com> | 2010-05-31 19:07:13 +0200 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2010-08-19 12:45:41 +0100 |
commit | ddef2e1bc1da7a70ffbc03f68a16918b54f7622b (patch) | |
tree | 0aeb1e17ab1f4ed36595732ff8e9060f64b2505d /src/include/hci | |
parent | 91fb434bdaf7a8a60972764a5c8227d6f8ba5bc2 (diff) | |
download | ipxe-ddef2e1bc1da7a70ffbc03f68a16918b54f7622b.zip ipxe-ddef2e1bc1da7a70ffbc03f68a16918b54f7622b.tar.gz ipxe-ddef2e1bc1da7a70ffbc03f68a16918b54f7622b.tar.bz2 |
[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>
Diffstat (limited to 'src/include/hci')
-rw-r--r-- | src/include/hci/linux_args.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/include/hci/linux_args.h b/src/include/hci/linux_args.h new file mode 100644 index 0000000..ae1ed05 --- /dev/null +++ b/src/include/hci/linux_args.h @@ -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 */ |