diff options
author | Piotr Jaroszyński | 2010-05-31 19:07:13 +0200 |
---|---|---|
committer | Michael Brown | 2010-08-19 13:45:41 +0200 |
commit | ddef2e1bc1da7a70ffbc03f68a16918b54f7622b (patch) | |
tree | 0aeb1e17ab1f4ed36595732ff8e9060f64b2505d /src/arch/x86_64 | |
parent | [linux] Add device and driver model (diff) | |
download | ipxe-ddef2e1bc1da7a70ffbc03f68a16918b54f7622b.tar.gz ipxe-ddef2e1bc1da7a70ffbc03f68a16918b54f7622b.tar.xz ipxe-ddef2e1bc1da7a70ffbc03f68a16918b54f7622b.zip |
[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/arch/x86_64')
-rw-r--r-- | src/arch/x86_64/prefix/linuxprefix.S | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/arch/x86_64/prefix/linuxprefix.S b/src/arch/x86_64/prefix/linuxprefix.S index 20163b8a..4aa0b840 100644 --- a/src/arch/x86_64/prefix/linuxprefix.S +++ b/src/arch/x86_64/prefix/linuxprefix.S @@ -13,6 +13,9 @@ _start: andq $~15, %rsp // 16-byte align the stack + call save_args + + /* Our main doesn't use any arguments */ call main movq %rax, %rdi // rc -> syscall arg1 |