Deleted Added
sdiff udiff text old ( 8013:2dfcde2e9998 ) new ( 8024:27ce7490bd3b )
full compact
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
58/* The string s is terminated by a '\0' */
59void
60PutString(const char *s)
61{
62 while (*s)
63 PutChar(*s++);
64}

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

315 while (*f) {
316 if (*f == '%')
317 f = FormatItem(f + 1, &ap);
318 else
319 PutChar(*f++);
320 }
321
322 va_end(ap); /* clean up */
323 while(1);
324}