source:
liacs/ca/opdr3/src/dinero.diff@
15
Last change on this file since 15 was 2, checked in by , 15 years ago | |
---|---|
File size: 3.8 KB |
-
dinero/src/Makefile
diff -ur orig/dinero/src/Makefile dinero/src/Makefile
old new 1 CFLAGS = -g 2 1 3 DEST = ../bin 2 4 3 5 EXTHDRS = /usr/include/stdio.h … … 63 65 init.o: global.h /usr/include/stdio.h 64 66 main.o: global.h /usr/include/stdio.h 65 67 output.o: global.h /usr/include/stdio.h 66 state.o: global.h /usr/include/stdio.h68 state.o: global.h -
dinero/src/cmdargs.c
diff -ur orig/dinero/src/cmdargs.c dinero/src/cmdargs.c
old new 33 33 */ 34 34 35 35 #include "global.h" 36 #include <stdio.h> 36 37 37 38 getcmdargs(argc,argv, /* Analyze command line arguments. */ 38 39 cachep,policyp,ctrlp) -
dinero/src/fetch.c
Binary files orig/dinero/src/cmdargs.o and dinero/src/cmdargs.o differ Binary files orig/dinero/src/dinero and dinero/src/dinero differ diff -ur orig/dinero/src/fetch.c dinero/src/fetch.c
old new 33 33 */ 34 34 35 35 #include "global.h" 36 #include <stdio.h> 36 37 37 38 fetch( /* Get addr from input stream & decode*/ 38 39 cachep,ctrlp,metricp,dap) -
dinero/src/global.h
Binary files orig/dinero/src/fetch.o and dinero/src/fetch.o differ diff -ur orig/dinero/src/global.h dinero/src/global.h
old new 46 46 */ 47 47 #define FAST_BUT_DANGEROUS_INPUT 48 48 49 #include <stdio.h>49 // #include <stdio.h> 50 50 51 51 /* 52 52 ** Make global variables declarations just "extern" declarations -
dinero/src/init.c
diff -ur orig/dinero/src/init.c dinero/src/init.c
old new 33 33 */ 34 34 35 35 #include "global.h" 36 #include <stdio.h> 36 37 37 38 init(argc,argv, /* Initialize. */ 38 39 cachep,policyp,ctrlp,metricp) -
dinero/src/main.c
Binary files orig/dinero/src/init.o and dinero/src/init.o differ Binary files orig/dinero/src/local.o and dinero/src/local.o differ diff -ur orig/dinero/src/main.c dinero/src/main.c
old new 34 34 35 35 #define PUBLIC 36 36 #include "global.h" 37 #include <stdio.h> 37 38 38 39 main(argc,argv) /* Dinero III Cache Simulator (see doc.h). */ 39 40 int argc; /* < */ -
dinero/src/output.c
Binary files orig/dinero/src/main.o and dinero/src/main.o differ diff -ur orig/dinero/src/output.c dinero/src/output.c
old new 33 33 */ 34 34 35 35 #include "global.h" 36 #include <stdio.h> 36 37 37 38 /* 38 39 ** Used so that "numerator / NONZERO(denomenator)" will -
dinero/src/state.c
Binary files orig/dinero/src/output.o and dinero/src/output.o differ diff -ur orig/dinero/src/state.c dinero/src/state.c
old new 33 33 */ 34 34 35 35 #include "global.h" 36 #include <stdlib.h> 37 #include <stdio.h> 36 38 37 39 update( /* Update */ 38 40 cachep,policyp,ctrlp,metricp,dap) … … 300 302 301 303 302 304 303 remove(preptr,ptr,stacknum) /* Remove node from a priority stack */305 nremove(preptr,ptr,stacknum) /* Remove node from a priority stack */ 304 306 STACKNODETYPE *preptr; /* < ptr to node preceeding the one to be 305 307 removed */ 306 308 STACKNODETYPE *ptr; /* < ptr to node to be removed */ … … 496 498 static STACKNODETYPE *buffer; 497 499 extern int bufferindex; /* global index to buffer */ 498 500 extern STACKNODETYPE freelist; /* List head for free list */ 499 extern char *calloc();501 //extern char *calloc(); 500 502 extern int numnodes; /* Count on storage allocated */ 501 503 STACKNODETYPE *ptr; 502 504 /*
Note:
See TracBrowser
for help on using the repository browser.