Deleted Added
sdiff udiff text old ( 2188:63871985840f ) new ( 2358:4194f6d8eb87 )
full compact
1/*
2 * Copyright (c) 2003-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;

--- 16 unchanged lines hidden (view full) ---

25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */
28
29#include <inttypes.h>
30#include <stdio.h>
31#include <stdlib.h>
32#include <string.h>
33
34#include "m5op.h"
35
36char *progname;
37
38void
39usage()
40{

--- 119 unchanged lines hidden (view full) ---

160 m5_dumpreset_stats(arg1, arg2);
161 return 0;
162
163 default:
164 usage();
165 }
166 }
167
168 if (COMPARE("checkpoint")) {
169 switch (argc) {
170 case 4:
171 arg2 = strtoul(argv[3], NULL, 0);
172 case 3:
173 arg1 = strtoul(argv[2], NULL, 0);
174 case 2:
175 m5_checkpoint(arg1, arg2);
176 return 0;
177
178 default:
179 usage();
180 }
181
182 return 0;
183 }
184
185 usage();
186}