VirtualBox

source: vbox/trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-PrintStrSpacesColonSpace.c@ 60112

Last change on this file since 60112 was 58628, checked in by vboxsync, 9 years ago

bs3kit: Managed to link 16, 32 and 64-bit C code into the same binary, where the 64-bit C code was produced by the microsoft compiler. That doesn't mean it actually works, but chances are high. Bad new though, no debug info. OTOH, a lot of the assembly code can be converted to C, which is faster and safer than adjusting it to the new calling convensions.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 322 bytes
Line 
1
2
3#include "bs3kit.h"
4
5
6BS3_DECL(void) BS3_CMN_NM(Bs3PrintStrSpacesColonSpace)(const char BS3_FAR *pszString, unsigned cch)
7{
8 static volatile char s_szStuff[] = "stuff";
9 static volatile const char s_szStuff2[] = "stuff";
10 //size_t cchString;
11
12 //Bs3PrintStr(pszString);
13
14 s_szStuff[0] = s_szStuff2[0];
15}
16
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette