- Timestamp:
- Mar 9, 2007 11:56:07 AM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 19355
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/BIOS/rombios.c
r1362 r1364 964 964 965 965 #ifdef VBOX 966 static char bios_prefix_string[] = "BIOS: "; 966 967 static char bios_cvs_version_string[] = "VirtualBox " VBOX_VERSION_STRING " built " __DATE__ " " __TIME__; 967 968 #define BIOS_COPYRIGHT_STRING "InnoTek VirtualBox BIOS" … … 990 991 #endif 991 992 #ifdef VBOX 992 #define BX_INFO(format, p...) bios_printf(BIOS_PRINTF_INFO, "BIOS: " format, ##p)993 #define BX_INFO(format, p...) do { put_str(BIOS_PRINTF_INFO, bios_prefix_string); bios_printf(BIOS_PRINTF_INFO, format, ##p); } while (0) 993 994 #else /* !VBOX */ 994 995 #define BX_INFO(format, p...) bios_printf(BIOS_PRINTF_INFO, format, ##p) … … 1577 1578 } 1578 1579 1580 #ifdef VBOX 1581 void put_str(action, s) 1582 Bit16u action; 1583 char *s; 1584 { 1585 if (!s) 1586 s = "<NULL>"; 1587 else 1588 while (*s != 0) 1589 send(action, *s++); 1590 } 1591 #endif /* VBOX */ 1592 1579 1593 //-------------------------------------------------------------------------- 1580 1594 // bios_printf() … … 1646 1660 } 1647 1661 else if (c == 's') { 1662 #ifndef VBOX 1648 1663 bios_printf(action & (~BIOS_PRINTF_HALT), arg); 1664 #else /* VBOX */ 1665 put_str(action, arg); 1666 #endif /* VBOX */ 1649 1667 } 1650 1668 else if (c == 'c') {
Note:
See TracChangeset
for help on using the changeset viewer.