Changeset 3670 in vbox for trunk/src/VBox/Frontends/VBoxBFE
- Timestamp:
- Jul 17, 2007 9:19:36 AM (17 years ago)
- Location:
- trunk/src/VBox/Frontends/VBoxBFE
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxBFE/DisplayImpl.cpp
r3110 r3670 41 41 #include <iprt/asm.h> 42 42 43 #ifdef __L4__43 #ifdef RT_OS_L4 44 44 #include <stdio.h> 45 45 #include <l4/util/util.h> … … 396 396 while(!mFramebuffer) 397 397 { 398 #if __L4__398 #if RT_OS_L4 399 399 asm volatile ("nop":::"memory"); 400 400 l4_sleep(5); -
trunk/src/VBox/Frontends/VBoxBFE/HostUSBImpl.cpp
r2981 r3670 91 91 mUSBProxyService = new USBProxyServiceWin32 (this); 92 92 */ 93 #ifdef __L4__93 #ifdef RT_OS_L4 94 94 mUSBProxyService = new USBProxyServiceLinux (this); 95 95 #else -
trunk/src/VBox/Frontends/VBoxBFE/MouseImpl.h
r2981 r3670 55 55 int setAbsoluteCoordinates(bool fAbsolute); 56 56 int setNeedsHostCursor(bool fNeedsHostCursor); 57 #ifdef __L4ENV__57 #ifdef RT_OS_L4 58 58 // So far L4Con does not support an own mouse pointer. 59 59 bool getAbsoluteCoordinates() { return false; } -
trunk/src/VBox/Frontends/VBoxBFE/USBProxyService.h
r3669 r3670 178 178 179 179 180 #if defined(RT_OS_LINUX) || defined( __L4__)180 #if defined(RT_OS_LINUX) || defined(RT_OS_L4) 181 181 #include <stdio.h> 182 182 -
trunk/src/VBox/Frontends/VBoxBFE/VBoxBFE.cpp
r3669 r3670 65 65 #include <errno.h> 66 66 67 #if defined(RT_OS_LINUX) || defined( __L4__)67 #if defined(RT_OS_LINUX) || defined(RT_OS_L4) 68 68 #include <fcntl.h> 69 69 #include <net/if.h> … … 72 72 #endif 73 73 74 #ifndef __L4ENV__74 #ifndef RT_OS_L4 75 75 #include <vector> 76 76 #endif … … 88 88 #endif 89 89 90 #if defined(USE_SDL) && ! defined( __L4__)90 #if defined(USE_SDL) && ! defined(RT_OS_L4) 91 91 #include "SDLConsole.h" 92 92 #include "SDLFramebuffer.h" 93 93 #endif 94 94 95 #ifdef __L4__95 #ifdef RT_OS_L4 96 96 #include "L4Console.h" 97 97 #include "L4Framebuffer.h" 98 98 #endif 99 99 100 #ifdef __L4ENV__100 #ifdef RT_OS_L4 101 101 # ifndef L4API_l4v2onv4 102 102 # include <l4/sys/ktrace.h> … … 145 145 146 146 /** flag whether keyboard/mouse events are grabbed */ 147 #ifdef __L4__147 #ifdef RT_OS_L4 148 148 /** see <l4/input/macros.h> for key definitions */ 149 149 int gHostKey; /* not used */ … … 321 321 " -[no]csam Enable or disable CSAM\n" 322 322 #endif 323 #ifdef __L4ENV__323 #ifdef RT_OS_L4 324 324 " -env <var=value> Set the given environment variable to \"value\"\n" 325 325 #endif … … 331 331 int main(int argc, char **argv) 332 332 { 333 #ifdef __L4ENV__333 #ifdef RT_OS_L4 334 334 #ifndef L4API_l4v2onv4 335 335 /* clear Fiasco kernel trace buffer */ … … 347 347 return SyntaxError("Error setting environment string %s.\n", argv[i]); 348 348 } 349 #endif /* __L4ENV__*/349 #endif /* RT_OS_L4 */ 350 350 351 351 /* … … 632 632 g_fCSAM = false; 633 633 #endif /* VBOXSDL_ADVANCED_OPTIONS */ 634 #ifdef __L4__634 #ifdef RT_OS_L4 635 635 else if (strcmp(pszArg, "-env") == 0) 636 636 ++curArg; 637 #endif /* __L4__*/637 #endif /* RT_OS_L4 */ 638 638 /* just show the help screen */ 639 639 else … … 655 655 gConsole = new SDLConsole(); 656 656 gFramebuffer = new SDLFramebuffer(); 657 #elif defined( __L4ENV__)657 #elif defined(RT_OS_L4) 658 658 gConsole = new L4Console(); 659 659 gFramebuffer = new L4Framebuffer(); … … 725 725 gConsole->updateTitlebar(); 726 726 727 #ifdef __L4__727 #ifdef RT_OS_L4 728 728 /* The L4 console provides (currently) a fixed resolution. */ 729 729 if (g_u32VRamSizeMB * _1M >= gFramebuffer->getHostXres() … … 996 996 #endif /* VBOXBFE_WITH_USB */ 997 997 998 #ifdef __L4ENV__998 #ifdef RT_OS_L4 999 999 /* L4 console cannot draw a host cursor */ 1000 1000 gMouse->setHostCursor(false); … … 1343 1343 rc = CFGMR3InsertInteger(pCfg, "VRamSize", g_u32VRamSizeMB * _1M); UPDATE_RC(); 1344 1344 1345 #ifdef __L4ENV__1345 #ifdef RT_OS_L4 1346 1346 /* XXX hard-coded */ 1347 1347 rc = CFGMR3InsertInteger(pCfg, "HeightReduction", 18); UPDATE_RC(); … … 1490 1490 #endif 1491 1491 { 1492 #if defined (RT_OS_LINUX) || defined ( __L4__)1492 #if defined (RT_OS_LINUX) || defined (RT_OS_L4) 1493 1493 /* 1494 1494 * Create/Open the TAP the device. … … 1550 1550 1551 1551 1552 #else /* !RT_OS_LINUX && ! __L4__*/1552 #else /* !RT_OS_LINUX && !RT_OS_L4 */ 1553 1553 FatalError("Name based HIF devices not implemented yet for this host platform\n"); 1554 1554 return VERR_NOT_IMPLEMENTED; … … 1604 1604 #elif defined(RT_OS_LINUX) 1605 1605 rc = CFGMR3InsertString(pCfg, "AudioDriver", "oss"); UPDATE_RC(); 1606 #elif defined( __L4ENV__)1606 #elif defined(RT_OS_L4) 1607 1607 rc = CFGMR3InsertString(pCfg, "AudioDriver", "oss"); UPDATE_RC(); 1608 1608 #else /* portme */ -
trunk/src/VBox/Frontends/VBoxBFE/VMMDevInterface.cpp
r3584 r3670 43 43 #include "ConsoleImpl.h" 44 44 45 #ifdef __L4__45 #ifdef RT_OS_L4 46 46 #include <l4/util/util.h> /* for l4_sleep */ 47 47 #endif
Note:
See TracChangeset
for help on using the changeset viewer.