Update to 0.3 because the distfile changed. Bugfixes and enhancements.
This commit is contained in:
parent
8cf774ddc1
commit
5f37108cc9
5 changed files with 55 additions and 39 deletions
|
@ -1,7 +1,7 @@
|
|||
# $NetBSD: Makefile,v 1.3 2001/02/17 18:38:18 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.4 2001/02/20 11:33:52 wiz Exp $
|
||||
|
||||
DISTNAME= ia64sim
|
||||
PKGNAME= ia64sim-0.1
|
||||
PKGNAME= ia64sim-0.3
|
||||
CATEGORIES= emulators
|
||||
MASTER_SITES= http://www.glue.umd.edu/~jasonp/
|
||||
EXTRACT_SUFX= .zip
|
||||
|
@ -10,15 +10,11 @@ MAINTAINER= packages@netbsd.org
|
|||
HOMEPAGE= http://www.glue.umd.edu/~jasonp/
|
||||
COMMENT= IA64 simulator (Intel(R) Architecture 64)
|
||||
|
||||
BUILD_DEPENDS+= unzip:../../archivers/unzip
|
||||
|
||||
USE_GMAKE= yes
|
||||
DIST_SUBDIR= ${PKGNAME}
|
||||
|
||||
MAKEFILE= makefile.unx
|
||||
|
||||
do-extract:
|
||||
${MKDIR} ${WRKDIR}; cd ${WRKDIR} && unzip -uLa ${_DISTDIR}/${_DISTFILES}
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/ia64sim ${LOCALBASE}/bin/ia64sim
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
$NetBSD: md5,v 1.1.1.1 1999/12/10 12:59:02 agc Exp $
|
||||
$NetBSD: md5,v 1.2 2001/02/20 11:33:53 wiz Exp $
|
||||
|
||||
MD5 (ia64sim.zip) = 3a39347f9d02ff65807364b1ba1174f2
|
||||
MD5 (ia64sim-0.3/ia64sim.zip) = 058971863cdb21554133f89b85265c36
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
$NetBSD: patch-sum,v 1.3 1999/12/10 15:14:02 soren Exp $
|
||||
$NetBSD: patch-sum,v 1.4 2001/02/20 11:33:53 wiz Exp $
|
||||
|
||||
MD5 (patch-aa) = 19768923e5dacd1fa157716a534331a2
|
||||
MD5 (patch-ab) = d567b501ba88098b76fcc1b45ca337f9
|
||||
MD5 (patch-ac) = 9a718ecc249a932a47c6be164808937a
|
||||
MD5 (patch-ad) = 7012c6363589f9e240421b71fc10b85f
|
||||
MD5 (patch-ad) = fd8925b03556f2ba761c39795cac0c02
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
$NetBSD: patch-ab,v 1.1.1.1 1999/12/10 12:59:03 agc Exp $
|
||||
|
||||
--- execute/b_unit.c 1999/12/10 12:50:27 1.1
|
||||
+++ execute/b_unit.c 1999/12/10 12:51:23
|
||||
@@ -89,7 +89,7 @@
|
||||
ip.q = b[b1].q;
|
||||
add_hazard(PC_REG);
|
||||
cfm.q = ar[AR_PFS].q & (((uint64)(1) << 37) - 1);
|
||||
- ar[AR_EC] = (uint64)BITS(ar[AR_PFS],52,57);
|
||||
+ ar[AR_EC].q = (uint64)BITS(ar[AR_PFS],52,57);
|
||||
pop_stack_frame();
|
||||
}
|
||||
return IA_OK;
|
|
@ -1,9 +1,9 @@
|
|||
$NetBSD: patch-ad,v 1.2 1999/12/10 15:14:03 soren Exp $
|
||||
$NetBSD: patch-ad,v 1.3 2001/02/20 11:33:53 wiz Exp $
|
||||
|
||||
--- ia64sim.c.orig Sun Dec 5 02:15:28 1999
|
||||
+++ ia64sim.c Fri Dec 10 15:55:16 1999
|
||||
@@ -95,7 +95,7 @@
|
||||
currslot = SLOT0;
|
||||
--- ia64sim.c.orig Wed Mar 8 04:54:20 2000
|
||||
+++ ia64sim.c
|
||||
@@ -98,7 +98,7 @@
|
||||
stop(); /* Clear pending register hazzards */
|
||||
}
|
||||
else {
|
||||
- i1 = strtoll(first+1, &junk, 0);
|
||||
|
@ -11,7 +11,7 @@ $NetBSD: patch-ad,v 1.2 1999/12/10 15:14:03 soren Exp $
|
|||
if(*junk) {
|
||||
printf("3syntax error\n");
|
||||
return;
|
||||
@@ -135,7 +135,7 @@
|
||||
@@ -138,7 +138,7 @@
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
@ -20,7 +20,7 @@ $NetBSD: patch-ad,v 1.2 1999/12/10 15:14:03 soren Exp $
|
|||
if(*junk) {
|
||||
printf("6syntax error\n");
|
||||
return;
|
||||
@@ -156,7 +156,7 @@
|
||||
@@ -159,7 +159,7 @@
|
||||
size2 = sizeof(uint64);
|
||||
}
|
||||
else {
|
||||
|
@ -29,7 +29,7 @@ $NetBSD: patch-ad,v 1.2 1999/12/10 15:14:03 soren Exp $
|
|||
if(*junk) {
|
||||
printf("7syntax error\n");
|
||||
return;
|
||||
@@ -197,7 +197,7 @@
|
||||
@@ -200,7 +200,7 @@
|
||||
}
|
||||
}
|
||||
else {
|
||||
|
@ -38,7 +38,7 @@ $NetBSD: patch-ad,v 1.2 1999/12/10 15:14:03 soren Exp $
|
|||
if(*junk) {
|
||||
printf("Asyntax error\n");
|
||||
return;
|
||||
@@ -286,7 +286,7 @@
|
||||
@@ -289,7 +289,7 @@
|
||||
|
||||
base = strtok(NULL, tokens);
|
||||
if(base) {
|
||||
|
@ -47,16 +47,50 @@ $NetBSD: patch-ad,v 1.2 1999/12/10 15:14:03 soren Exp $
|
|||
if(*junk) {
|
||||
printf("2syntax error\n");
|
||||
return;
|
||||
@@ -338,7 +338,7 @@
|
||||
return;
|
||||
@@ -355,7 +355,7 @@
|
||||
}
|
||||
|
||||
if(!second) base = 0;
|
||||
else {
|
||||
- base = strtoll(second, &junk, 0) & ~15;
|
||||
+ base = strtoq(second, &junk, 0) & ~15;
|
||||
if(*junk) {
|
||||
printf("3syntax error\n");
|
||||
printf("Invalid base address\n");
|
||||
return;
|
||||
@@ -422,6 +422,9 @@
|
||||
@@ -397,7 +397,7 @@
|
||||
}
|
||||
if(!second) base = 0;
|
||||
else {
|
||||
- base = strtoll(second, &junk, 0) & ~15;
|
||||
+ base = strtoq(second, &junk, 0) & ~15;
|
||||
if(*junk) {
|
||||
printf("Invalid base address\n");
|
||||
return;
|
||||
@@ -436,13 +436,13 @@
|
||||
return;
|
||||
}
|
||||
|
||||
- base = strtoll(second, &junk, 0) & ~15;
|
||||
+ base = strtoq(second, &junk, 0) & ~15;
|
||||
if(*junk) {
|
||||
printf("Invalid base address\n");
|
||||
return;
|
||||
}
|
||||
|
||||
- module_size = strtoll(third, &junk, 0) & ~15;
|
||||
+ module_size = strtoq(third, &junk, 0) & ~15;
|
||||
if(*junk) {
|
||||
printf("Invalid length\n");
|
||||
return;
|
||||
@@ -512,7 +512,7 @@
|
||||
printf("Break point address is required\n");
|
||||
return;
|
||||
}
|
||||
- break_address = strtoll(first,&junk,0) & ~15;
|
||||
+ break_address = strtoq(first,&junk,0) & ~15;
|
||||
if(*junk) {
|
||||
printf("Invalid break point address\n");
|
||||
return;
|
||||
@@ -556,6 +556,9 @@
|
||||
while(1) {
|
||||
printf("IA64sim>> ");
|
||||
gets(cmd);
|
||||
|
|
Loading…
Reference in a new issue