Changeset 2980 in vbox
- Timestamp:
- Jun 1, 2007 3:56:12 PM (18 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 26 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxService/VBoxService.cpp
r2265 r2980 4 4 5 5 /* 6 * Copyright (C) 2006 InnoTek SystemberatungGmbH6 * Copyright (C) 2006-2007 innotek GmbH 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 87 87 unsigned __stdcall VBoxClipboardThread (void *pInstance); 88 88 void VBoxClipboardDestroy (const VBOXSERVICEENV *pEnv, void *pInstance); 89 89 90 90 /* The service table. */ 91 static VBOXSERVICEINFO vboxServiceTable[] = 91 static VBOXSERVICEINFO vboxServiceTable[] = 92 92 { 93 93 { … … 105 105 { 106 106 pEnv->hStopEvent = CreateEvent(NULL, TRUE, FALSE, NULL); 107 107 108 108 if (!pEnv->hStopEvent) 109 109 { … … 111 111 return VERR_NOT_SUPPORTED; 112 112 } 113 113 114 114 while (pTable->pszName) 115 115 { 116 116 SvcDebugOut2 ("Starting %s...\n", pTable->pszName); 117 117 118 118 int rc = VINF_SUCCESS; 119 119 120 120 bool fStartThread = false; 121 121 122 122 pTable->hThread = (HANDLE)0; 123 123 pTable->pInstance = NULL; 124 124 pTable->fStarted = false; 125 125 126 126 if (pTable->pfnInit) 127 127 { 128 128 rc = pTable->pfnInit (pEnv, &pTable->pInstance, &fStartThread); 129 129 } 130 130 131 131 if (VBOX_FAILURE (rc)) 132 132 { … … 138 138 { 139 139 unsigned threadid; 140 140 141 141 pTable->hThread = (HANDLE)_beginthreadex (NULL, /* security */ 142 142 0, /* stacksize */ … … 145 145 0, /* initflag */ 146 146 &threadid); 147 147 148 148 if (pTable->hThread == (HANDLE)(0)) 149 149 { … … 151 151 } 152 152 } 153 153 154 154 if (VBOX_FAILURE (rc)) 155 155 { 156 156 SvcDebugOut2 ("Failed to start the thread.\n"); 157 157 158 158 if (pTable->pfnDestroy) 159 159 { … … 166 166 } 167 167 } 168 168 169 169 /* Advance to next table element. */ 170 170 pTable++; 171 171 } 172 172 173 173 return VINF_SUCCESS; 174 174 } … … 180 180 return; 181 181 } 182 182 183 183 /* Signal to all threads. */ 184 184 SetEvent(pEnv->hStopEvent); 185 185 186 186 while (pTable->pszName) 187 187 { … … 192 192 /* There is a thread, wait for termination. */ 193 193 WaitForSingleObject(pTable->hThread, INFINITE); 194 194 195 195 CloseHandle (pTable->hThread); 196 196 pTable->hThread = 0; 197 197 } 198 198 199 199 if (pTable->pfnDestroy) 200 200 { 201 201 pTable->pfnDestroy (pEnv, pTable->pInstance); 202 202 } 203 203 204 204 pTable->fStarted = false; 205 205 } 206 206 207 207 /* Advance to next table element. */ 208 208 pTable++; 209 209 } 210 210 211 211 CloseHandle (pEnv->hStopEvent); 212 212 } … … 216 216 { 217 217 SvcDebugOut2("VBoxService: Start\n"); 218 218 219 219 VBOXSERVICEENV svcEnv; 220 220 221 221 DWORD status = NO_ERROR; 222 222 … … 236 236 237 237 SvcDebugOut2("VBoxService: Driver h %p, st %p\n", gVBoxDriver, status); 238 238 239 239 if (status == NO_ERROR) 240 240 { … … 249 249 status = GetLastError(); 250 250 } 251 251 252 252 SvcDebugOut2("VBoxService: Class st %p\n", status); 253 253 … … 276 276 } 277 277 } 278 278 279 279 SvcDebugOut2("VBoxService: Window h %p, st %p\n", gToolWindow, status); 280 280 … … 294 294 svcEnv.hInstance = gInstance; 295 295 svcEnv.hDriver = gVBoxDriver; 296 296 297 297 if (status == NO_ERROR) 298 298 { 299 299 int rc = vboxStartServices (&svcEnv, vboxServiceTable); 300 300 301 301 if (VBOX_FAILURE (rc)) 302 302 { … … 334 334 ndata.uCallbackMessage = WM_USER; 335 335 ndata.hIcon = LoadIcon(gInstance, MAKEINTRESOURCE(IDI_VIRTUALBOX)); 336 sprintf(ndata.szTip, " InnoTek VirtualBox Guest Additions %d.%d.%d", VBOX_VERSION_MAJOR, VBOX_VERSION_MINOR, VBOX_VERSION_BUILD);336 sprintf(ndata.szTip, "innotek VirtualBox Guest Additions %d.%d.%d", VBOX_VERSION_MAJOR, VBOX_VERSION_MINOR, VBOX_VERSION_BUILD); 337 337 338 338 SvcDebugOut2("VBoxService: ndata.hWnd %08X, ndata.hIcon = %p\n", ndata.hWnd, ndata.hIcon); 339 339 340 340 /* 341 341 * Main execution loop … … 371 371 { 372 372 SvcDebugOut2("VBoxService: timed out\n"); 373 373 374 374 /* we might have to repeat this operation because the shell might not be loaded yet */ 375 375 if (!fTrayIconCreated) … … 392 392 393 393 vboxStopServices (&svcEnv, vboxServiceTable); 394 394 395 395 SvcDebugOut("VBoxService: destroying tool window...\n", 0); 396 396 … … 504 504 505 505 DDCLOG(("VBoxService: checking event\n")); 506 506 507 507 /* did we get the right event? */ 508 508 if (waitEvent.u32EventFlagsOut & VMMDEV_EVENT_DISPLAY_CHANGE_REQUEST) -
trunk/src/VBox/Additions/linux/module/vboxmod.c
r2182 r2980 5 5 6 6 /* 7 * Copyright (C) 2006 InnoTek SystemberatungGmbH7 * Copyright (C) 2006-2007 innotek GmbH 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 32 32 33 33 MODULE_DESCRIPTION("VirtualBox Guest Additions for Linux Module"); 34 MODULE_AUTHOR(" InnoTek SystemberatungGmbH");34 MODULE_AUTHOR("innotek GmbH"); 35 35 MODULE_LICENSE("GPL"); 36 36 #ifdef MODULE_VERSION -
trunk/src/VBox/Additions/linux/sharedfolders/vfsmod.c
r2614 r2980 11 11 12 12 /* 13 * Copyright (C) 2006 InnoTek SystemberatungGmbH13 * Copyright (C) 2006-2007 innotek GmbH 14 14 * 15 15 * This file is part of VirtualBox Open Source Edition (OSE), as … … 45 45 46 46 MODULE_DESCRIPTION ("Host file system access VFS for VirtualBox"); 47 MODULE_AUTHOR (" InnoTek SystemberatungGmbH");47 MODULE_AUTHOR ("innotek GmbH"); 48 48 MODULE_LICENSE ("GPL"); 49 49 #ifdef MODULE_VERSION -
trunk/src/VBox/Additions/linux/xgraphics/vboxvideo.c
r1785 r2980 5 5 6 6 /* 7 * Copyright (C) 2006 InnoTek SystemberatungGmbH7 * Copyright (C) 2006-2007 innotek GmbH 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 234 234 { 235 235 VBOX_DRIVER_NAME, 236 " InnoTek Systemberatung GmbH",236 "innotek Systemberatung GmbH", 237 237 MODINFOSTRING1, 238 238 MODINFOSTRING2, … … 539 539 /* Add 1024x768 to the end of the mode list in case the others are all invalid. */ 540 540 for (i = 0; pScrn->display->modes[i] != NULL; i++); 541 pScrn->display->modes = xnfrealloc(pScrn->display->modes, (i + 2) 541 pScrn->display->modes = xnfrealloc(pScrn->display->modes, (i + 2) 542 542 * sizeof(char *)); 543 543 pScrn->display->modes[i ] = "1024x768"; -
trunk/src/VBox/Additions/linux/xmouse/mouse.c
r1260 r2980 2414 2414 #ifdef VBOX 2415 2415 "vboxmouse", 2416 " InnoTek SystemberatungGmbH",2416 "innotek GmbH", 2417 2417 #else 2418 2418 "mouse", -
trunk/src/VBox/Additions/linux/xmouse/xorg70/mouse.c
r1260 r2980 4 4 5 5 /* 6 * Copyright (C) 2006 InnoTek SystemberatungGmbH6 * Copyright (C) 2006-2007 innotek GmbH 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 3840 3840 #ifdef VBOX 3841 3841 "vboxmouse", 3842 " InnoTek SystemberatungGmbH",3842 "innotek GmbH", 3843 3843 #else 3844 3844 "mouse", -
trunk/src/VBox/Additions/linux/xmouse/xorg71/mouse.c
r1260 r2980 4 4 5 5 /* 6 * Copyright (C) 2006 InnoTek SystemberatungGmbH6 * Copyright (C) 2006-2007 innotek GmbH 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 3846 3846 #ifdef VBOX 3847 3847 "vboxmouse", 3848 " InnoTek SystemberatungGmbH",3848 "innotek GmbH", 3849 3849 #else 3850 3850 "mouse", -
trunk/src/VBox/Devices/Audio/audio.c
r1551 r2980 201 201 shown = 1; 202 202 AUD_log (NULL, "Save all your work and restart without audio\n"); 203 AUD_log (NULL, "Please send a bug report to InnoTek\n");203 AUD_log (NULL, "Please send a bug report to innotek\n"); 204 204 AUD_log (NULL, "I am sorry\n"); 205 205 } -
trunk/src/VBox/Devices/Graphics/BIOS/vbe.c
r1397 r2980 72 72 73 73 _vbebios_vendor_name: 74 .ascii " InnoTek SystemberatungGmbH"74 .ascii "innotek GmbH" 75 75 .byte 0x00 76 76 … … 80 80 81 81 _vbebios_product_revision: 82 .ascii " InnoTek VirtualBox Version "82 .ascii "innotek VirtualBox Version " 83 83 .ascii VBOX_VERSION_STRING 84 84 .byte 0x00 … … 86 86 _vbebios_info_string: 87 87 //.ascii "Bochs VBE Display Adapter enabled" 88 .ascii " InnoTek VirtualBox VBE Display Adapter enabled"88 .ascii "innotek VirtualBox VBE Display Adapter enabled" 89 89 .byte 0x0a,0x0d 90 90 .byte 0x0a,0x0d … … 98 98 99 99 msg_vbe_init: 100 .ascii " InnoTek VirtualBox Version "100 .ascii "innotek VirtualBox Version " 101 101 .ascii VBOX_VERSION_STRING 102 102 .ascii " VBE Display Adapter" -
trunk/src/VBox/Devices/Graphics/BIOS/vgabios.c
r1397 r2980 4 4 */ 5 5 // ============================================================================================ 6 // 6 // 7 7 // Copyright (C) 2001,2002 the LGPL VGABios developers Team 8 8 // … … 20 20 // License along with this library; if not, write to the Free Software 21 21 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 22 // 22 // 23 23 // ============================================================================================ 24 // 25 // This VGA Bios is specific to the plex86/bochs Emulated VGA card. 26 // You can NOT drive any physical vga card with it. 27 // 24 // 25 // This VGA Bios is specific to the plex86/bochs Emulated VGA card. 26 // You can NOT drive any physical vga card with it. 27 // 28 28 // ============================================================================================ 29 // 29 // 30 30 // This file contains code ripped from : 31 // - rombios.c of plex86 31 // - rombios.c of plex86 32 32 // 33 33 // This VGA Bios contains fonts from : 34 34 // - fntcol16.zip (c) by Joseph Gil avalable at : 35 35 // ftp://ftp.simtel.net/pub/simtelnet/msdos/screen/fntcol16.zip 36 // These fonts are public domain 36 // These fonts are public domain 37 37 // 38 38 // This VGA Bios is based on information taken from : … … 143 143 144 144 vgabios_entry_point: 145 145 146 146 jmp vgabios_init_func 147 147 … … 201 201 .byte 0x00 202 202 #endif 203 203 204 204 205 205 ;; ============================================================================================ … … 216 216 call init_bios_area 217 217 218 #ifdef VBE 218 #ifdef VBE 219 219 ;; init vbe functions 220 call vbe_init 220 call vbe_init 221 221 #endif 222 222 … … 241 241 call _display_info 242 242 243 #ifdef VBE 243 #ifdef VBE 244 244 ;; show vbe info 245 call vbe_display_info 245 call vbe_display_info 246 246 #endif 247 247 … … 257 257 mov ax,#0x0003 258 258 int #0x10 259 #endif 259 #endif 260 260 #endif /* VBOX */ 261 261 … … 394 394 395 395 /* 396 * Boot time harware inits 396 * Boot time harware inits 397 397 */ 398 398 ASM_START … … 419 419 420 420 msg_vga_init: 421 .ascii " InnoTek VirtualBox Version "421 .ascii "innotek VirtualBox Version " 422 422 .ascii VBOX_VERSION_STRING 423 423 .ascii " VGA BIOS" … … 427 427 // -------------------------------------------------------------------------------------------- 428 428 /* 429 * Boot time bios area inits 429 * Boot time bios area inits 430 430 */ 431 431 ASM_START … … 450 450 mov [bx], al 451 451 452 ;; Clear the screen 452 ;; Clear the screen 453 453 mov bx, # BIOSMEM_VIDEO_CTL 454 454 mov al, #0x60 … … 498 498 mov si,#vgabios_version 499 499 call _display_string 500 500 501 501 ;;mov si,#vgabios_copyright 502 502 ;;call _display_string … … 523 523 xor al,al 524 524 cld 525 repne 525 repne 526 526 scasb 527 527 not cx … … 532 532 mov bx,#0x0000 533 533 int #0x10 534 534 535 535 pop cx 536 536 mov ax,#0x1301 … … 566 566 biosfn_set_video_mode(GET_AL()); 567 567 switch(GET_AL()&0x7F) 568 {case 6: 568 {case 6: 569 569 SET_AL(0x3F); 570 570 break; … … 676 676 #endif 677 677 } 678 678 679 679 break; 680 680 case 0x12: … … 725 725 break; 726 726 727 #ifdef VBE 727 #ifdef VBE 728 728 case 0x4f: 729 729 if (vbe_has_vbe_display()) { … … 766 766 #ifdef DEBUG 767 767 unknown(); 768 #endif 768 #endif 769 769 // function failed 770 770 AX=0x100; … … 786 786 787 787 // ============================================================================================ 788 // 788 // 789 789 // BIOS functions 790 // 790 // 791 791 // ============================================================================================ 792 792 793 static void biosfn_set_video_mode(mode) Bit8u mode; 793 static void biosfn_set_video_mode(mode) Bit8u mode; 794 794 {// mode: Bit 7 is 1 if no clear screen 795 795 … … 800 800 Bit8u modeset_ctl,video_ctl,vga_switches; 801 801 Bit16u crtc_addr; 802 802 803 803 #ifdef VBE 804 if (vbe_has_vbe_display()) { 804 if (vbe_has_vbe_display()) { 805 805 dispi_set_enable(VBE_DISPI_DISABLED); 806 806 } 807 807 #endif // def VBE 808 808 809 809 // The real mode 810 810 mode=mode&0x7f; … … 823 823 theight=vga_modes[line].theight; 824 824 cheight=vga_modes[line].cheight; 825 825 826 826 // Read the bios vga control 827 827 video_ctl=read_byte(BIOSMEM_SEG,BIOSMEM_VIDEO_CTL); … … 899 899 } 900 900 901 // Set CRTC address VGA or MDA 901 // Set CRTC address VGA or MDA 902 902 crtc_addr=vga_modes[line].memmodel==MTEXT?VGAREG_MDA_CRTC_ADDRESS:VGAREG_VGA_CRTC_ADDRESS; 903 903 … … 959 959 write_byte(BIOSMEM_SEG,BIOSMEM_CURRENT_MSR,0x00); // Unavailable on vanilla vga, but... 960 960 write_byte(BIOSMEM_SEG,BIOSMEM_CURRENT_PAL,0x00); // Unavailable on vanilla vga, but... 961 961 962 962 // Set cursor shape 963 963 if(vga_modes[line].class==TEXT) … … 975 975 // Write the fonts in memory 976 976 if(vga_modes[line].class==TEXT) 977 { 977 { 978 978 ASM_START 979 979 ;; copy and activate 8x16 font … … 1012 1012 1013 1013 // -------------------------------------------------------------------------------------------- 1014 static void biosfn_set_cursor_shape (CH,CL) 1015 Bit8u CH;Bit8u CL; 1014 static void biosfn_set_cursor_shape (CH,CL) 1015 Bit8u CH;Bit8u CL; 1016 1016 {Bit16u cheight,curs,crtc_addr; 1017 1017 Bit8u modeset_ctl; … … 1047 1047 1048 1048 // -------------------------------------------------------------------------------------------- 1049 static void biosfn_set_cursor_pos (page, cursor) 1049 static void biosfn_set_cursor_pos (page, cursor) 1050 1050 Bit8u page;Bit16u cursor; 1051 1051 { … … 1068 1068 1069 1069 xcurs=cursor&0x00ff;ycurs=(cursor&0xff00)>>8; 1070 1070 1071 1071 // Calculate the address knowing nbcols nbrows and page num 1072 1072 address=SCREEN_IO_START(nbcols,nbrows,page)+xcurs+ycurs*nbcols; 1073 1073 1074 1074 // CRTC regs 0x0e and 0x0f 1075 1075 crtc_addr=read_word(BIOSMEM_SEG,BIOSMEM_CRTC_ADDRESS); … … 1082 1082 1083 1083 // -------------------------------------------------------------------------------------------- 1084 static void biosfn_get_cursor_pos (page,shape, pos) 1084 static void biosfn_get_cursor_pos (page,shape, pos) 1085 1085 Bit8u page;Bit16u *shape;Bit16u *pos; 1086 1086 { … … 1098 1098 1099 1099 // -------------------------------------------------------------------------------------------- 1100 static void biosfn_set_active_page (page) 1100 static void biosfn_set_active_page (page) 1101 1101 Bit8u page; 1102 1102 { … … 1112 1112 if(line==0xFF)return; 1113 1113 1114 // Get pos curs pos for the right page 1114 // Get pos curs pos for the right page 1115 1115 biosfn_get_cursor_pos(page,&dummy,&cursor); 1116 1116 … … 1120 1120 nbcols=read_word(BIOSMEM_SEG,BIOSMEM_NB_COLS); 1121 1121 nbrows=read_byte(BIOSMEM_SEG,BIOSMEM_NB_ROWS)+1; 1122 1122 1123 1123 // Calculate the address knowing nbcols nbrows and page num 1124 1124 address=SCREEN_MEM_START(nbcols,nbrows,page); … … 1365 1365 1366 1366 // -------------------------------------------------------------------------------------------- 1367 static void biosfn_read_char_attr (page,car) 1367 static void biosfn_read_char_attr (page,car) 1368 1368 Bit8u page;Bit16u *car; 1369 1369 {Bit16u ss=get_SS(); … … 1566 1566 1567 1567 // -------------------------------------------------------------------------------------------- 1568 static void biosfn_write_char_attr (car,page,attr,count) 1568 static void biosfn_write_char_attr (car,page,attr,count) 1569 1569 Bit8u car;Bit8u page;Bit8u attr;Bit16u count; 1570 1570 { … … 1897 1897 1898 1898 // -------------------------------------------------------------------------------------------- 1899 static void biosfn_write_teletype (car, page, attr, flag) 1899 static void biosfn_write_teletype (car, page, attr, flag) 1900 1900 Bit8u car;Bit8u page;Bit8u attr;Bit8u flag; 1901 1901 {// flag = WITH_ATTR / NO_ATTR … … 1953 1953 if(vga_modes[line].class==TEXT) 1954 1954 { 1955 // Compute the address 1955 // Compute the address 1956 1956 address=SCREEN_MEM_START(nbcols,nbrows,page)+(xcurs+ycurs*nbcols)*2; 1957 1957 1958 // Write the char 1958 // Write the char 1959 1959 write_byte(vga_modes[line].sstart,address,car); 1960 1960 … … 2007 2007 ycurs-=1; 2008 2008 } 2009 2009 2010 2010 // Set the cursor for the page 2011 2011 cursor=ycurs; cursor<<=8; cursor+=xcurs; … … 2509 2509 2510 2510 // -------------------------------------------------------------------------------------------- 2511 static void biosfn_perform_gray_scale_summing (start,count) 2511 static void biosfn_perform_gray_scale_summing (start,count) 2512 2512 Bit16u start;Bit16u count; 2513 2513 {Bit8u r,g,b; … … 2518 2518 outb(VGAREG_ACTL_ADDRESS,0x00); 2519 2519 2520 for( index = 0; index < count; index++ ) 2520 for( index = 0; index < count; index++ ) 2521 2521 { 2522 2522 // set read address and switch to read mode … … 2531 2531 2532 2532 if(i>0x3f)i=0x3f; 2533 2533 2534 2534 // set write address and switch to write mode 2535 2535 outb(VGAREG_DAC_WRITE_ADDRESS,start); … … 2539 2539 outb( VGAREG_DAC_DATA, i&0xff ); 2540 2540 start++; 2541 } 2541 } 2542 2542 inb(VGAREG_ACTL_RESET); 2543 2543 outb(VGAREG_ACTL_ADDRESS,0x20); … … 2754 2754 } 2755 2755 // -------------------------------------------------------------------------------------------- 2756 static void biosfn_get_font_info (BH,ES,BP,CX,DX) 2756 static void biosfn_get_font_info (BH,ES,BP,CX,DX) 2757 2757 Bit8u BH;Bit16u *ES;Bit16u *BP;Bit16u *CX;Bit16u *DX; 2758 2758 {Bit16u ss=get_SS(); 2759 2759 2760 2760 switch(BH) 2761 2761 {case 0x00: … … 3011 3011 3012 3012 // -------------------------------------------------------------------------------------------- 3013 static void biosfn_write_string (flag,page,attr,count,row,col,seg,offset) 3013 static void biosfn_write_string (flag,page,attr,count,row,col,seg,offset) 3014 3014 Bit8u flag;Bit8u page;Bit8u attr;Bit16u count;Bit8u row;Bit8u col;Bit16u seg;Bit16u offset; 3015 3015 { … … 3028 3028 newcurs=row; newcurs<<=8; newcurs+=col; 3029 3029 biosfn_set_cursor_pos(page,newcurs); 3030 3030 3031 3031 while(count--!=0) 3032 3032 { … … 3037 3037 biosfn_write_teletype(car,page,attr,WITH_ATTR); 3038 3038 } 3039 3040 // Set back curs pos 3039 3040 // Set back curs pos 3041 3041 if((flag&0x01)==0) 3042 3042 biosfn_set_cursor_pos(page,oldcurs); … … 3099 3099 3100 3100 // -------------------------------------------------------------------------------------------- 3101 static void biosfn_read_state_info (BX,ES,DI) 3101 static void biosfn_read_state_info (BX,ES,DI) 3102 3102 Bit16u BX;Bit16u ES;Bit16u DI; 3103 3103 { … … 3109 3109 memcpyb(ES,DI+0x04,BIOSMEM_SEG,0x49,30); 3110 3110 memcpyb(ES,DI+0x22,BIOSMEM_SEG,0x84,3); 3111 3111 3112 3112 write_byte(ES,DI+0x25,read_byte(BIOSMEM_SEG,BIOSMEM_DCC_INDEX)); 3113 3113 write_byte(ES,DI+0x26,0); … … 3120 3120 write_byte(ES,DI+0x31,3); 3121 3121 write_byte(ES,DI+0x32,0); 3122 3122 3123 3123 memsetb(ES,DI+0x33,0,13); 3124 3124 } … … 3149 3149 // 3150 3150 // ============================================================================================ 3151 3152 // -------------------------------------------------------------------------------------------- 3153 static Bit8u find_vga_entry(mode) 3151 3152 // -------------------------------------------------------------------------------------------- 3153 static Bit8u find_vga_entry(mode) 3154 3154 Bit8u mode; 3155 3155 { … … 3606 3606 // -------------------------------------------------------------------------------------------- 3607 3607 3608 ASM_START 3608 ASM_START 3609 3609 ;; DATA_SEG_DEFS_HERE 3610 3610 ASM_END -
trunk/src/VBox/Devices/PC/DevPcBios.cpp
r2781 r2980 5 5 6 6 /* 7 * Copyright (C) 2006 InnoTek SystemberatungGmbH7 * Copyright (C) 2006-2007 innotek GmbH 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 750 750 pBIOSInf->header.u16Handle = 0x0000; 751 751 pBIOSInf->u8Vendor = iStrNr++; 752 STRCPY(pszStr, " InnoTek SystemberatungGmbH");752 STRCPY(pszStr, "innotek GmbH"); 753 753 pBIOSInf->u8Version = iStrNr++; 754 754 STRCPY(pszStr, "VirtualBox"); … … 781 781 pSystemInf->header.u16Handle = 0x0001; 782 782 pSystemInf->u8Manufacturer = iStrNr++; 783 STRCPY(pszStr, " InnoTek SystemberatungGmbH");783 STRCPY(pszStr, "innotek GmbH"); 784 784 pSystemInf->u8ProductName = iStrNr++; 785 785 STRCPY(pszStr, "VirtualBox"); -
trunk/src/VBox/Devices/Storage/testcase/vditool.cpp
r2580 r2980 5 5 6 6 /* 7 * Copyright (C) 2006 InnoTek SystemberatungGmbH7 * Copyright (C) 2006-2007 innotek GmbH 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 281 281 282 282 RTR3Init(); 283 RTPrintf("vditool Copyright (c) 2004-2005 InnoTek SystemberatungGmbH.\n\n");283 RTPrintf("vditool Copyright (c) 2004-2005 innotek GmbH.\n\n"); 284 284 285 285 /* -
trunk/src/VBox/Frontends/VBoxBFE/SDLConsole.cpp
r2491 r2980 6 6 7 7 /* 8 * Copyright (C) 2006 InnoTek SystemberatungGmbH8 * Copyright (C) 2006-2007 innotek GmbH 9 9 * 10 10 * This file is part of VirtualBox Open Source Edition (OSE), as … … 1219 1219 char title[1024]; 1220 1220 1221 strcpy(title, " InnoTek VirtualBox");1221 strcpy(title, "innotek VirtualBox"); 1222 1222 1223 1223 if (machineState == VMSTATE_SUSPENDED) … … 1251 1251 #endif /* DEBUG */ 1252 1252 1253 SDL_WM_SetCaption(title, " InnoTek VirtualBox");1253 SDL_WM_SetCaption(title, "innotek VirtualBox"); 1254 1254 } 1255 1255 … … 1262 1262 char szTitle[256]; 1263 1263 AssertMsg(iPercent >= 0 && iPercent <= 100, ("%d\n", iPercent)); 1264 RTStrPrintf(szTitle, sizeof(szTitle), " InnoTek VirtualBox - Saving %d%%...", iPercent);1265 SDL_WM_SetCaption(szTitle, " InnoTek VirtualBox");1264 RTStrPrintf(szTitle, sizeof(szTitle), "innotek VirtualBox - Saving %d%%...", iPercent); 1265 SDL_WM_SetCaption(szTitle, "innotek VirtualBox"); 1266 1266 } 1267 1267 -
trunk/src/VBox/Frontends/VBoxFB/VBoxFB.cpp
r1 r2980 6 6 7 7 /* 8 * Copyright (C) 2006 InnoTek SystemberatungGmbH8 * Copyright (C) 2006-2007 innotek GmbH 9 9 * 10 10 * This file is part of VirtualBox Open Source Edition (OSE), as … … 63 63 64 64 printf("VirtualBox DirectFB GUI built %s %s\n" 65 "(C) 2004-200 5 InnoTek SystemberatungGmbH\n"65 "(C) 2004-2007 innotek GmbH\n" 66 66 "(C) 2004-2005 secunet Security Networks AG\n", __DATE__, __TIME__); 67 67 -
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp
r2976 r2980 8 8 9 9 /* 10 * Copyright (C) 2006 InnoTek SystemberatungGmbH10 * Copyright (C) 2006-2007 innotek GmbH 11 11 * 12 12 * This file is part of VirtualBox Open Source Edition (OSE), as … … 6106 6106 6107 6107 RTPrintf("VirtualBox Command Line Management Interface Version %s\n" 6108 "(C) 2005-2007 InnoTek SystemberatungGmbH\n"6108 "(C) 2005-2007 innotek GmbH\n" 6109 6109 "All rights reserved.\n" 6110 6110 "\n", -
trunk/src/VBox/Frontends/VBoxSDL/VBoxSDL.cpp
r2729 r2980 5 5 6 6 /* 7 * Copyright (C) 2006 InnoTek SystemberatungGmbH7 * Copyright (C) 2006-2007 innotek GmbH 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 1400 1400 } 1401 1401 1402 /* 1402 /* 1403 1403 * Mount a floppy if requested. 1404 1404 */ … … 1462 1462 goto leave; 1463 1463 1464 /* 1464 /* 1465 1465 * Mount a CD-ROM if requested. 1466 1466 */ … … 3636 3636 3637 3637 3638 strcpy(szTitle, " InnoTek VirtualBox - ");3638 strcpy(szTitle, "innotek VirtualBox - "); 3639 3639 3640 3640 Bstr name; … … 3757 3757 setUITitle(szTitle); 3758 3758 #else 3759 SDL_WM_SetCaption(szTitle, " InnoTek VirtualBox");3759 SDL_WM_SetCaption(szTitle, "innotek VirtualBox"); 3760 3760 #endif 3761 3761 } -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp
r2957 r2980 6 6 7 7 /* 8 * Copyright (C) 2006 InnoTek SystemberatungGmbH8 * Copyright (C) 2006-2007 innotek GmbH 9 9 * 10 10 * This file is part of VirtualBox Open Source Edition (OSE), as … … 1326 1326 caption_prefix = tr ("VirtualBox OSE"); 1327 1327 #else 1328 caption_prefix = tr (" InnoTek VirtualBox");1328 caption_prefix = tr ("innotek VirtualBox"); 1329 1329 #endif 1330 1330 -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxGlobal.cpp
r2957 r2980 6 6 7 7 /* 8 * Copyright (C) 2006 InnoTek SystemberatungGmbH8 * Copyright (C) 2006-2007 innotek GmbH 9 9 * 10 10 * This file is part of VirtualBox Open Source Edition (OSE), as … … 1740 1740 /** 1741 1741 * Comma-separated list of authors of the currently installed translation. 1742 * Returns " InnoTek" if no translation is installed or if the translation1743 * file is invalid, or if the translation is supplied by InnoTek.1742 * Returns "innotek" if no translation is installed or if the translation 1743 * file is invalid, or if the translation is supplied by innotek. 1744 1744 */ 1745 1745 QString VBoxGlobal::languageTranslators() const 1746 1746 { 1747 return qApp->translate ("@@@", " InnoTek",1747 return qApp->translate ("@@@", "innotek", 1748 1748 "Comma-separated list of translators"); 1749 1749 } … … 2050 2050 if (qtSysTr && qtSysTr->load (languageFileName)) 2051 2051 qApp->installTranslator (qtSysTr); 2052 /* Note that the Qt translation supplied by InnoTek is always loaded2052 /* Note that the Qt translation supplied by innotek is always loaded 2053 2053 * afterwards to make sure it will take precedence over the system 2054 2054 * translation (it may contain more decent variants of translation 2055 2055 * that better correspond to VirtualBox UI). We need to load both 2056 2056 * because a newer version of Qt may be installed on the user computer 2057 * and the InnoTek version may not fully support it. We don't do it on2057 * and the innotek version may not fully support it. We don't do it on 2058 2058 * Win32 because we supply a Qt library there and therefore the 2059 * InnoTek translation is always the best one. */2059 * innotek translation is always the best one. */ 2060 2060 #endif 2061 2061 languageFileName = nlsDir.absFilePath (QString ("qt_") + … … 2864 2864 ev.xclient.data.l [3] = aData3; 2865 2865 ev.xclient.data.l [4] = aData4; 2866 2866 2867 2867 return XSendEvent (aDpy, DefaultRootWindow (aDpy), False, 2868 2868 SubstructureRedirectMask, &ev) != 0; … … 2871 2871 #endif 2872 2872 2873 /** 2873 /** 2874 2874 * Activates the specified window. If necessary, the window will be 2875 2875 * de-iconified activation. … … 2877 2877 * @note On X11, it is implied that @a aWid represents a window of the same 2878 2878 * display the application was started on. 2879 * 2880 * @param aWId Window ID to activate. 2879 * 2880 * @param aWId Window ID to activate. 2881 2881 * @param aSwitchDesktop @c true to switch to the window's desktop before 2882 2882 * activation. 2883 * 2883 * 2884 2884 * @return @c true on success and @c false otherwise. 2885 2885 */ … … 2915 2915 if (desktop != NULL) 2916 2916 { 2917 Bool ok = XXSendClientMessage (dpy, DefaultRootWindow (dpy), 2917 Bool ok = XXSendClientMessage (dpy, DefaultRootWindow (dpy), 2918 2918 "_NET_CURRENT_DESKTOP", 2919 2919 *desktop); -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxSelectorWnd.cpp
r2979 r2980 6 6 7 7 /* 8 * Copyright (C) 2006 InnoTek SystemberatungGmbH8 * Copyright (C) 2006-2007 innotek GmbH 9 9 * 10 10 * This file is part of VirtualBox Open Source Edition (OSE), as … … 1028 1028 setCaption (tr ("VirtualBox OSE")); 1029 1029 #else 1030 setCaption (tr (" InnoTek VirtualBox"));1030 setCaption (tr ("innotek VirtualBox")); 1031 1031 #endif 1032 1032 -
trunk/src/VBox/Frontends/VirtualBox/ui/VBoxGlobalSettingsDlg.ui.h
r2936 r2980 6 6 7 7 /* 8 * Copyright (C) 2006 InnoTek SystemberatungGmbH8 * Copyright (C) 2006-2007 innotek GmbH 9 9 * 10 10 * This file is part of VirtualBox Open Source Edition (OSE), as … … 112 112 113 113 QString translatorsName = tratra (aTranslator, 114 "@@@", " InnoTek", "Comma-separated list of translators");114 "@@@", "innotek", "Comma-separated list of translators"); 115 115 116 116 QString itemName = nativeLanguage; -
trunk/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c
r2898 r2980 4 4 5 5 /* 6 * Copyright (C) 2006 InnoTek SystemberatungGmbH6 * Copyright (C) 2006-2007 innotek GmbH 7 7 * 8 8 * This file is part of VirtualBox Open Source Edition (OSE), as … … 1274 1274 #ifdef CONFIG_SMP 1275 1275 unsigned i; 1276 #endif 1276 #endif 1277 1277 dprintf(("VBoxSupDrvInitGip:\n")); 1278 1278 … … 1319 1319 g_GipTimer.expires = jiffies; 1320 1320 #ifdef CONFIG_SMP 1321 for (i = 0; i < RT_ELEMENTS(pDevExt->aCPUs); i++) 1321 for (i = 0; i < RT_ELEMENTS(pDevExt->aCPUs); i++) 1322 1322 { 1323 1323 pDevExt->aCPUs[i].u64LastMonotime = pDevExt->u64LastMonotime; … … 1329 1329 pDevExt->aCPUs[i].Timer.expires = jiffies; 1330 1330 } 1331 #endif 1331 #endif 1332 1332 1333 1333 return 0; … … 1347 1347 #ifdef CONFIG_SMP 1348 1348 unsigned i; 1349 #endif 1349 #endif 1350 1350 dprintf(("VBoxSupDrvTermGip:\n")); 1351 1351 … … 1359 1359 if (timer_pending(&pDevExt->aCPUs[i].Timer)) 1360 1360 del_timer_sync(&pDevExt->aCPUs[i].Timer); 1361 #endif 1361 #endif 1362 1362 1363 1363 /* … … 1385 1385 /** 1386 1386 * Timer callback function. 1387 * 1388 * In ASYNC TSC mode this is called on the primary CPU, and we're 1387 * 1388 * In ASYNC TSC mode this is called on the primary CPU, and we're 1389 1389 * assuming that the CPU remains online. 1390 * 1390 * 1391 1391 * @param ulUser The device extension pointer. 1392 1392 */ … … 1407 1407 1408 1408 #ifdef CONFIG_SMP 1409 if (pGip && pGip->u32Mode == SUPGIPMODE_ASYNC_TSC) 1409 if (pGip && pGip->u32Mode == SUPGIPMODE_ASYNC_TSC) 1410 1410 { 1411 1411 uint8_t iCPU = ASMGetApicId(); … … 1443 1443 /** 1444 1444 * Timer callback function for the other CPUs. 1445 * 1445 * 1446 1446 * @param iTimerCPU The APIC ID of this timer. 1447 1447 */ … … 1459 1459 pGip = pDevExt->pGip; 1460 1460 iCPU = ASMGetApicId(); 1461 1461 1462 1462 if (RT_LIKELY(iCPU < RT_ELEMENTS(pGip->aCPUs))) 1463 1463 { 1464 if (RT_LIKELY(iTimerCPU == iCPU)) 1464 if (RT_LIKELY(iTimerCPU == iCPU)) 1465 1465 { 1466 1466 unsigned long ulNow = jiffies; … … 1483 1483 } 1484 1484 else 1485 printk("vboxdrv: error: APIC ID is bogus (GIP CPU update): apicid=%d max=%d cpuid=%d\n", 1485 printk("vboxdrv: error: APIC ID is bogus (GIP CPU update): apicid=%d max=%d cpuid=%d\n", 1486 1486 iCPU, RT_ELEMENTS(pGip->aCPUs), smp_processor_id()); 1487 1487 … … 1598 1598 ASMAtomicXchgU8(&pDevExt->fGIPSuspended, false); 1599 1599 #ifdef CONFIG_SMP 1600 if (pDevExt->pGip->u32Mode != SUPGIPMODE_ASYNC_TSC) 1600 if (pDevExt->pGip->u32Mode != SUPGIPMODE_ASYNC_TSC) 1601 1601 #endif 1602 1602 mod_timer(&g_GipTimer, jiffies); … … 1607 1607 smp_call_function(VBoxSupGipResumePerCpu, pDevExt, 0 /* retry */, 1 /* wait */); 1608 1608 } 1609 #endif 1609 #endif 1610 1610 } 1611 1611 … … 1614 1614 /** 1615 1615 * Callback for resuming GIP updating on the other CPUs. 1616 * 1616 * 1617 1617 * This is only used when the GIP is in async tsc mode. 1618 * 1618 * 1619 1619 * @param pvUser Pointer to the device instance. 1620 1620 */ … … 1626 1626 if (RT_UNLIKELY(iCPU >= RT_ELEMENTS(pDevExt->pGip->aCPUs))) 1627 1627 { 1628 printk("vboxdrv: error: apicid=%d max=%d cpuid=%d\n", 1628 printk("vboxdrv: error: apicid=%d max=%d cpuid=%d\n", 1629 1629 iCPU, RT_ELEMENTS(pDevExt->pGip->aCPUs), smp_processor_id()); 1630 1630 return; … … 1646 1646 #ifdef CONFIG_SMP 1647 1647 unsigned i; 1648 #endif 1648 #endif 1649 1649 dprintf2(("supdrvOSGipSuspend:\n")); 1650 1650 ASMAtomicXchgU8(&pDevExt->fGIPSuspended, true); … … 1656 1656 if (timer_pending(&pDevExt->aCPUs[i].Timer)) 1657 1657 del_timer_sync(&pDevExt->aCPUs[i].Timer); 1658 #endif 1658 #endif 1659 1659 } 1660 1660 … … 1674 1674 #else 1675 1675 return 1; 1676 #endif 1676 #endif 1677 1677 } 1678 1678 … … 1767 1767 module_exit(VBoxSupDrvUnload); 1768 1768 1769 MODULE_AUTHOR(" InnoTek SystemberatungGmbH");1769 MODULE_AUTHOR("innotek GmbH"); 1770 1770 MODULE_DESCRIPTION("VirtualBox Support Driver"); 1771 1771 MODULE_LICENSE("GPL"); -
trunk/src/VBox/HostDrivers/Support/os2/SUPDrv-os2.cpp
r1197 r2980 121 121 "VirtualBox.org Support Driver for OS/2 version " VBOX_VERSION_STRING "\r\n" 122 122 "Copyright (C) 2007 Knut St. Osmundsen\r\n" 123 "Copyright (C) 2007 InnoTek SystemberatungGmbH\r\n");123 "Copyright (C) 2007 innotek GmbH\r\n"); 124 124 g_cchInitText = strlen(&g_szInitText[0]); 125 125 } -
trunk/src/VBox/HostDrivers/VBoxTAP/VBoxTAP.inf
r2690 r2980 3 3 ; 4 4 ; 5 ; Copyright (C) 2006 InnoTek SystemberatungGmbH5 ; Copyright (C) 2006-2007 innotek GmbH 6 6 ; 7 7 ; This file is part of VirtualBox Open Source Edition (OSE), as … … 32 32 ; Note; there are hardcoded checks for these strings!! 33 33 DeviceDescription = "VirtualBox TAP Adapter" 34 Provider = " InnoTek SystemberatungGmbH"34 Provider = "innotek GmbH" 35 35 36 36 ;---------------------------------------------------------------- -
trunk/src/VBox/Main/MachineImpl.cpp
r2961 r2980 5 5 6 6 /* 7 * Copyright (C) 2006 InnoTek SystemberatungGmbH7 * Copyright (C) 2006-2007 innotek GmbH 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 88 88 { 89 89 "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>" RTFILE_LINEFEED 90 "<!-- InnoTek VirtualBox Machine Configuration -->" RTFILE_LINEFEED90 "<!-- innotek VirtualBox Machine Configuration -->" RTFILE_LINEFEED 91 91 "<VirtualBox xmlns=\"" VBOX_XML_NAMESPACE "\" " 92 92 "version=\"" VBOX_XML_VERSION "-" VBOX_XML_PLATFORM "\">" RTFILE_LINEFEED … … 3027 3027 } 3028 3028 3029 /** 3029 /** 3030 3030 * Increases the number of objects dependent on the machine state or on the 3031 3031 * registered state. Guarantees that these two states will not change at … … 3034 3034 * Depending on the @a aDepType value, additional state checks may be 3035 3035 * made. These checks will set extended error info on failure. 3036 * 3036 * 3037 3037 * If this method returns a failure, the dependency is not added and the 3038 3038 * caller is not allowed to rely on any particular machine state or … … 3212 3212 3213 3213 3214 /** 3214 /** 3215 3215 * Chhecks that there are no state dependants. If necessary, waits for the 3216 3216 * number of dependants to drop to zero. Must be called from under … … 3554 3554 mSSData->mStateFilePath.setNull(); 3555 3555 3556 /* no need to use setMachineState() during init() */ 3556 /* no need to use setMachineState() during init() */ 3557 3557 mData->mMachineState = MachineState_Aborted; 3558 3558 } 3559 3559 else if (mSSData->mStateFilePath) 3560 3560 { 3561 /* no need to use setMachineState() during init() */ 3561 /* no need to use setMachineState() during init() */ 3562 3562 mData->mMachineState = MachineState_Saved; 3563 3563 } -
trunk/src/VBox/Main/VirtualBoxImpl.cpp
r2976 r2980 5 5 6 6 /* 7 * Copyright (C) 2006 InnoTek SystemberatungGmbH7 * Copyright (C) 2006-2007 innotek GmbH 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 73 73 { 74 74 "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>" RTFILE_LINEFEED 75 "<!-- InnoTek VirtualBox Global Configuration -->" RTFILE_LINEFEED75 "<!-- innotek VirtualBox Global Configuration -->" RTFILE_LINEFEED 76 76 "<VirtualBox xmlns=\"" VBOX_XML_NAMESPACE "\" " 77 77 "version=\"" VBOX_XML_VERSION "-" VBOX_XML_PLATFORM "\">" RTFILE_LINEFEED … … 3049 3049 /* locations of VDI and VMDK hard disks for now are just 3050 3050 * file paths */ 3051 found = RTPathCompare (location, 3051 found = RTPathCompare (location, 3052 3052 Utf8Str (hd->toString 3053 3053 (false /* aShort */))) == 0; -
trunk/src/VBox/Main/linux/server.cpp
r2976 r2980 5 5 6 6 /* 7 * Copyright (C) 2006 InnoTek SystemberatungGmbH7 * Copyright (C) 2006-2007 innotek GmbH 8 8 * 9 9 * This file is part of VirtualBox Open Source Edition (OSE), as … … 345 345 * 346 346 * In either case, there is nothing to do. 347 * 347 * 348 348 * Note: case b) is actually no more valid since we don't 349 349 * call Release() from DestructEventHandler() in this case … … 525 525 LogFlowFunc (("Another client has requested a reference to VirtualBox, " 526 526 "canceling detruction...\n")); 527 527 528 528 /* make sure the previous timer is stopped */ 529 529 RTTimerStop (sTimer); … … 1140 1140 1141 1141 iSize = snprintf (szBuf, sizeof(szBuf), 1142 " InnoTek VirtualBox XPCOM Server Version %s",1142 "innotek VirtualBox XPCOM Server Version %s", 1143 1143 VBOX_VERSION_STRING); 1144 1144 for (int i=iSize; i>0; i--) 1145 1145 putchar('*'); 1146 1146 printf ("\n%s\n", szBuf); 1147 printf ("(C) 2004-2007 InnoTek SystemberatungGmbH\n");1147 printf ("(C) 2004-2007 innotek GmbH\n"); 1148 1148 printf ("All rights reserved.\n"); 1149 1149 #ifdef DEBUG
Note:
See TracChangeset
for help on using the changeset viewer.