1/* 2 * Copyright (c) 2003, 2004 3 * The Regents of The University of Michigan 4 * All Rights Reserved 5 * 6 * This code is part of the M5 simulator, developed by Nathan Binkert, 7 * Erik Hallnor, Steve Raasch, and Steve Reinhardt, with contributions 8 * from Ron Dreslinski, Dave Greene, Lisa Hsu, Ali Saidi, and Andrew --- 40 unchanged lines hidden (view full) --- 49 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN 50 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 51 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 52 * SOFTWARE. 53 */ 54 55#include <sys/types.h> 56#include <stdarg.h> |
57#include <stdint.h> 58#include "m5op.h" |
59 60/* The string s is terminated by a '\0' */ 61void 62PutString(const char *s) 63{ 64 while (*s) 65 PutChar(*s++); 66} --- 250 unchanged lines hidden (view full) --- 317 while (*f) { 318 if (*f == '%') 319 f = FormatItem(f + 1, &ap); 320 else 321 PutChar(*f++); 322 } 323 324 va_end(ap); /* clean up */ |
325 m5_panic(); |
326} |