Ignore:
Timestamp:
May 31, 2013, 2:03:41 AM (12 years ago)
Author:
David Azarewicz
Message:

fixed trap dump kernel exit, some work on suspend/resume routines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/os2ahci/libc.c

    r159 r160  
    405405  if (debug) {
    406406    /* print the same message to COM1/trace as well */
    407     printf("%s", buf);
     407    aprintf("%s", buf);
    408408  }
    409409
     
    436436  /* print hex block */
    437437  while (len > 0) {
    438     printf_nts("%Fp ", buf);
     438    ntprintf("%Fp ", buf);
    439439
    440440    /* print hex block */
    441441    for (i = 0; i < 16; i++) {
    442442      if (i < len) {
    443         printf_nts("%c%02x", ((i == 8) ? '-' : ' '), buf[i]);
     443        ntprintf("%c%02x", ((i == 8) ? '-' : ' '), buf[i]);
    444444      } else {
    445         printf_nts("   ");
     445        ntprintf("   ");
    446446      }
    447447    }
    448448
    449449    /* print ASCII block */
    450     printf_nts("   ");
     450    ntprintf("   ");
    451451    for (i = 0; i < ((len > 16) ? 16 : len); i++) {
    452       printf_nts("%c", (buf[i] >= 32 && buf[i] < 128) ? buf[i] : '.');
    453     }
    454     printf_nts("\n");
     452      ntprintf("%c", (buf[i] >= 32 && buf[i] < 128) ? buf[i] : '.');
     453    }
     454    ntprintf("\n");
    455455
    456456    buf += 16;
Note: See TracChangeset for help on using the changeset viewer.