mirror of
https://github.com/ipxe/ipxe
synced 2025-12-26 17:42:47 +03:00
[build] Rename gPXE to iPXE
Access to the gpxe.org and etherboot.org domains and associated resources has been revoked by the registrant of the domain. Work around this problem by renaming project from gPXE to iPXE, and updating URLs to match. Also update README, LOG and COPYRIGHTS to remove obsolete information. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/gdb -x
|
||||
# Test suite for GDB remote debugging
|
||||
# Run:
|
||||
# make bin/gpxe.hd.tmp
|
||||
# make bin/ipxe.hd.tmp
|
||||
# make
|
||||
# gdb
|
||||
# (gdb) target remote :TCPPORT
|
||||
@@ -9,11 +9,11 @@
|
||||
# (gdb) target remote udp:IP:UDPPORT
|
||||
# (gdb) source tests/gdbstub_test.gdb
|
||||
|
||||
define gpxe_load_symbols
|
||||
file bin/gpxe.hd.tmp
|
||||
define ipxe_load_symbols
|
||||
file bin/ipxe.hd.tmp
|
||||
end
|
||||
|
||||
define gpxe_assert
|
||||
define ipxe_assert
|
||||
if $arg0 != $arg1
|
||||
echo FAIL $arg2\n
|
||||
else
|
||||
@@ -21,20 +21,20 @@ define gpxe_assert
|
||||
end
|
||||
end
|
||||
|
||||
define gpxe_start_tests
|
||||
define ipxe_start_tests
|
||||
jump gdbstub_test
|
||||
end
|
||||
|
||||
define gpxe_test_regs_read
|
||||
gpxe_assert $eax 0xea010203 "gpxe_test_regs_read eax"
|
||||
gpxe_assert $ebx 0xeb040506 "gpxe_test_regs_read ebx"
|
||||
gpxe_assert $ecx 0xec070809 "gpxe_test_regs_read ecx"
|
||||
gpxe_assert $edx 0xed0a0b0c "gpxe_test_regs_read edx"
|
||||
gpxe_assert $esi 0x510d0e0f "gpxe_test_regs_read esi"
|
||||
gpxe_assert $edi 0xd1102030 "gpxe_test_regs_read edi"
|
||||
define ipxe_test_regs_read
|
||||
ipxe_assert $eax 0xea010203 "ipxe_test_regs_read eax"
|
||||
ipxe_assert $ebx 0xeb040506 "ipxe_test_regs_read ebx"
|
||||
ipxe_assert $ecx 0xec070809 "ipxe_test_regs_read ecx"
|
||||
ipxe_assert $edx 0xed0a0b0c "ipxe_test_regs_read edx"
|
||||
ipxe_assert $esi 0x510d0e0f "ipxe_test_regs_read esi"
|
||||
ipxe_assert $edi 0xd1102030 "ipxe_test_regs_read edi"
|
||||
end
|
||||
|
||||
define gpxe_test_regs_write
|
||||
define ipxe_test_regs_write
|
||||
set $eax = 0xea112233
|
||||
set $ebx = 0xeb445566
|
||||
set $ecx = 0xec778899
|
||||
@@ -42,52 +42,52 @@ define gpxe_test_regs_write
|
||||
set $esi = 0x51ddeeff
|
||||
set $edi = 0xd1010203
|
||||
c
|
||||
gpxe_assert $eax 0xea112233 "gpxe_test_regs_write eax"
|
||||
gpxe_assert $ebx 0xeb445566 "gpxe_test_regs_write ebx"
|
||||
gpxe_assert $ecx 0xec778899 "gpxe_test_regs_write ecx"
|
||||
gpxe_assert $edx 0xedaabbcc "gpxe_test_regs_write edx"
|
||||
gpxe_assert $esi 0x51ddeeff "gpxe_test_regs_write esi"
|
||||
gpxe_assert $edi 0xd1010203 "gpxe_test_regs_write edi"
|
||||
ipxe_assert $eax 0xea112233 "ipxe_test_regs_write eax"
|
||||
ipxe_assert $ebx 0xeb445566 "ipxe_test_regs_write ebx"
|
||||
ipxe_assert $ecx 0xec778899 "ipxe_test_regs_write ecx"
|
||||
ipxe_assert $edx 0xedaabbcc "ipxe_test_regs_write edx"
|
||||
ipxe_assert $esi 0x51ddeeff "ipxe_test_regs_write esi"
|
||||
ipxe_assert $edi 0xd1010203 "ipxe_test_regs_write edi"
|
||||
|
||||
# This assumes segment selectors are always 0x10 or 0x8 (for code).
|
||||
gpxe_assert $cs 0x08 "gpxe_test_regs_write cs"
|
||||
gpxe_assert $ds 0x10 "gpxe_test_regs_write ds"
|
||||
ipxe_assert $cs 0x08 "ipxe_test_regs_write cs"
|
||||
ipxe_assert $ds 0x10 "ipxe_test_regs_write ds"
|
||||
end
|
||||
|
||||
define gpxe_test_mem_read
|
||||
define ipxe_test_mem_read
|
||||
c
|
||||
gpxe_assert ({int}($esp+4)) 0x11223344 "gpxe_test_mem_read int"
|
||||
gpxe_assert ({short}($esp+2)) 0x5566 "gpxe_test_mem_read short"
|
||||
gpxe_assert ({char}($esp)) 0x77 "gpxe_test_mem_read char"
|
||||
ipxe_assert ({int}($esp+4)) 0x11223344 "ipxe_test_mem_read int"
|
||||
ipxe_assert ({short}($esp+2)) 0x5566 "ipxe_test_mem_read short"
|
||||
ipxe_assert ({char}($esp)) 0x77 "ipxe_test_mem_read char"
|
||||
end
|
||||
|
||||
define gpxe_test_mem_write
|
||||
define ipxe_test_mem_write
|
||||
set ({int}($esp+4)) = 0xaabbccdd
|
||||
set ({short}($esp+2)) = 0xeeff
|
||||
set ({char}($esp)) = 0x99
|
||||
c
|
||||
gpxe_assert ({int}($esp+4)) 0xaabbccdd "gpxe_test_mem_write int"
|
||||
gpxe_assert ({short}($esp+2)) (short)0xeeff "gpxe_test_mem_write short"
|
||||
gpxe_assert ({char}($esp)) (char)0x99 "gpxe_test_mem_write char"
|
||||
ipxe_assert ({int}($esp+4)) 0xaabbccdd "ipxe_test_mem_write int"
|
||||
ipxe_assert ({short}($esp+2)) (short)0xeeff "ipxe_test_mem_write short"
|
||||
ipxe_assert ({char}($esp)) (char)0x99 "ipxe_test_mem_write char"
|
||||
end
|
||||
|
||||
define gpxe_test_step
|
||||
define ipxe_test_step
|
||||
c
|
||||
si
|
||||
gpxe_assert ({char}($eip-1)) (char)0x90 "gpxe_test_step" # nop = 0x90
|
||||
ipxe_assert ({char}($eip-1)) (char)0x90 "ipxe_test_step" # nop = 0x90
|
||||
end
|
||||
|
||||
define gpxe_test_awatch
|
||||
define ipxe_test_awatch
|
||||
awatch watch_me
|
||||
|
||||
c
|
||||
gpxe_assert $ecx 0x600d0000 "gpxe_test_awatch read"
|
||||
ipxe_assert $ecx 0x600d0000 "ipxe_test_awatch read"
|
||||
if $ecx == 0x600d0000
|
||||
c
|
||||
end
|
||||
|
||||
c
|
||||
gpxe_assert $ecx 0x600d0001 "gpxe_test_awatch write"
|
||||
ipxe_assert $ecx 0x600d0001 "ipxe_test_awatch write"
|
||||
if $ecx == 0x600d0001
|
||||
c
|
||||
end
|
||||
@@ -95,22 +95,22 @@ define gpxe_test_awatch
|
||||
delete
|
||||
end
|
||||
|
||||
define gpxe_test_watch
|
||||
define ipxe_test_watch
|
||||
watch watch_me
|
||||
c
|
||||
gpxe_assert $ecx 0x600d0002 "gpxe_test_watch"
|
||||
ipxe_assert $ecx 0x600d0002 "ipxe_test_watch"
|
||||
if $ecx == 0x600d0002
|
||||
c
|
||||
end
|
||||
delete
|
||||
end
|
||||
|
||||
gpxe_load_symbols
|
||||
gpxe_start_tests
|
||||
gpxe_test_regs_read
|
||||
gpxe_test_regs_write
|
||||
gpxe_test_mem_read
|
||||
gpxe_test_mem_write
|
||||
gpxe_test_step
|
||||
gpxe_test_awatch
|
||||
gpxe_test_watch
|
||||
ipxe_load_symbols
|
||||
ipxe_start_tests
|
||||
ipxe_test_regs_read
|
||||
ipxe_test_regs_write
|
||||
ipxe_test_mem_read
|
||||
ipxe_test_mem_write
|
||||
ipxe_test_step
|
||||
ipxe_test_awatch
|
||||
ipxe_test_watch
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include <stdint.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <gpxe/linebuf.h>
|
||||
#include <ipxe/linebuf.h>
|
||||
|
||||
static const char data1[] =
|
||||
"Hello world\r\n"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#include <stdio.h>
|
||||
#include <gpxe/uaccess.h>
|
||||
#include <gpxe/umalloc.h>
|
||||
#include <gpxe/memmap.h>
|
||||
#include <ipxe/uaccess.h>
|
||||
#include <ipxe/umalloc.h>
|
||||
#include <ipxe/memmap.h>
|
||||
|
||||
void umalloc_test ( void ) {
|
||||
struct memory_map memmap;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <errno.h>
|
||||
#include <gpxe/uri.h>
|
||||
#include <ipxe/uri.h>
|
||||
|
||||
#define URI_MAX_LEN 1024
|
||||
|
||||
@@ -16,17 +16,17 @@ struct uri_test {
|
||||
static struct uri_test uri_tests[] = {
|
||||
{ "http://www.fensystems.co.uk", "",
|
||||
"http://www.fensystems.co.uk/" },
|
||||
{ "http://etherboot.org/wiki/page1", "page2",
|
||||
"http://etherboot.org/wiki/page2" },
|
||||
{ "http://etherboot.org/wiki/page1", "../page3",
|
||||
"http://etherboot.org/page3" },
|
||||
{ "http://ipxe.org/wiki/page1", "page2",
|
||||
"http://ipxe.org/wiki/page2" },
|
||||
{ "http://ipxe.org/wiki/page1", "../page3",
|
||||
"http://ipxe.org/page3" },
|
||||
{ "tftp://192.168.0.1/", "/tftpboot/vmlinuz",
|
||||
"tftp://192.168.0.1/tftpboot/vmlinuz" },
|
||||
{ "ftp://the%41nswer%3d:%34ty%32wo@ether%62oot.org:8080/p%41th/foo",
|
||||
"to?%41=b#%43d",
|
||||
"ftp://theAnswer%3d:4ty2wo@etherboot.org:8080/path/to?a=b#cd" },
|
||||
"ftp://theAnswer%3d:4ty2wo@ipxe.org:8080/path/to?a=b#cd" },
|
||||
#if 0
|
||||
"http://www.etherboot.org/wiki",
|
||||
"http://www.ipxe.org/wiki",
|
||||
"mailto:bob@nowhere.com",
|
||||
"ftp://joe:secret@insecure.org:8081/hidden/path/to?what=is#this",
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user