2 * -----------------------------------------------------------------------
4 * Copyright 1994-2008 H. Peter Anvin - All Rights Reserved
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation, Inc., 53 Temple Place Ste 330,
9 * Boston MA 02111-1307, USA; either version 2 of the License, or
10 * (at your option) any later version; incorporated herein by reference.
12 * -----------------------------------------------------------------------
17 * Code to write a simple string.
23 * crlf: Print a newline
32 * writestr: write a null-terminated string to the console, saving
35 * Note: writestr_early and writestr are distinct in
36 * SYSLINUX and EXTLINUX, but not PXELINUX and ISOLINUX
38 void writestr(char *str
)
44 void pm_writestr(com32sys_t
*regs
)
46 writestr(MK_PTR(regs
->ds
, regs
->esi
.w
[0]));