Changeset 108794 in vbox for trunk/src/VBox/Devices/EFI/FirmwareNew/MdeModulePkg/Universal/Console
- Timestamp:
- Mar 31, 2025 11:31:09 AM (5 weeks ago)
- svn:sync-xref-src-repo-rev:
- 168237
- Location:
- trunk/src/VBox/Devices/EFI/FirmwareNew
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/FirmwareNew
-
Property svn:mergeinfo
changed from (toggle deleted branches)
to (toggle deleted branches)/vendor/edk2/current 103735-103757,103769-103776,129194-164365 /vendor/edk2/current 103735-103757,103769-103776,129194-168232
-
Property svn:mergeinfo
changed from (toggle deleted branches)
-
trunk/src/VBox/Devices/EFI/FirmwareNew/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.c
r99404 r108794 27 27 NULL 28 28 }; 29 30 // 31 // Values from Usb Inteface Association Descriptor Device 32 // Class Code and Usage Model specification (iadclasscode_r10.pdf) 33 // from Usb.org 34 // 35 #define USB_BASE_CLASS_MISCELLANEOUS 0xEF 36 #define USB_MISCELLANEOUS_SUBCLASS_COMMON 0x02 37 #define USB_MISCELLANEOUS_PROTOCOL_IAD 0x01 29 38 30 39 /** … … 809 818 DeviceSubClass = DevDesc.DeviceSubClass; 810 819 DeviceProtocol = DevDesc.DeviceProtocol; 811 if (DeviceClass == 0) { 812 // 813 // If Class in Device Descriptor is set to 0, use the Class, SubClass and 814 // Protocol in Interface Descriptor instead. 820 821 if ((DeviceClass == 0) || 822 ((DeviceClass == USB_BASE_CLASS_MISCELLANEOUS) && 823 (DeviceSubClass == USB_MISCELLANEOUS_SUBCLASS_COMMON) && 824 (DeviceProtocol == USB_MISCELLANEOUS_PROTOCOL_IAD))) 825 { 826 // 827 // If Class in Device Descriptor is set to 0 (Device), or 828 // Class/SubClass/Protocol is 0xEF/0x02/0x01 (IAD), use the Class, SubClass 829 // and Protocol in Interface Descriptor instead. 815 830 // 816 831 Status = UsbIo->UsbGetInterfaceDescriptor (UsbIo, &IfDesc); -
trunk/src/VBox/Devices/EFI/FirmwareNew/MdeModulePkg/Universal/Console/TerminalDxe/Terminal.h
r105670 r108794 1217 1217 +=========+======+===========+=============+=============+=============+=========+ 1218 1218 | | EFI | | | | | | 1219 | | Scan | 1220 | KEY | Code | VT 100+| Xterm R6 | VT400 | Linux | SCO |1219 | | Scan | VT100+ | | Normal | | | 1220 | KEY | Code | VTUTF8 | Xterm R6 | VT400 | Linux | SCO | 1221 1221 +=========+======+===========+=============+=============+=============+=========+ 1222 1222 | F1 | 0x0B | ESC O P | ESC O P | ESC [ 1 1 ~ | ESC [ [ A | ESC [ M | -
trunk/src/VBox/Devices/EFI/FirmwareNew/MdeModulePkg/Universal/Console/TerminalDxe/TerminalConIn.c
r105670 r108794 94 94 TerminalDevice->DevicePath 95 95 ); 96 } 97 98 if (!EFI_ERROR (Status)) { 99 Status = TerminalDevice->SerialIo->SetControl (TerminalDevice->SerialIo, EFI_SERIAL_DATA_TERMINAL_READY|EFI_SERIAL_REQUEST_TO_SEND); 100 if (Status == EFI_UNSUPPORTED) { 101 Status = EFI_SUCCESS; 102 } 96 103 } 97 104 … … 1314 1321 +=========+======+===========+=============+=============+=============+=========+ 1315 1322 | | EFI | | | | | | 1316 | | Scan | 1317 | KEY | Code | VT 100+| Xterm R6 | VT400 | Linux | SCO |1323 | | Scan | VT100+ | | Normal | | | 1324 | KEY | Code | VTUTF8 | Xterm R6 | VT400 | Linux | SCO | 1318 1325 +=========+======+===========+=============+=============+=============+=========+ 1319 1326 | F1 | 0x0B | ESC O P | ESC O P | ESC [ 1 1 ~ | ESC [ [ A | ESC [ M | … … 1392 1399 (TerminalDevice->TerminalType == TerminalTypeTtyTerm) || 1393 1400 (TerminalDevice->TerminalType == TerminalTypeXtermR6) || 1394 (TerminalDevice->TerminalType == TerminalTypeVt100Plus))) 1401 (TerminalDevice->TerminalType == TerminalTypeVt100Plus) || 1402 (TerminalDevice->TerminalType == TerminalTypeVtUtf8))) 1395 1403 { 1396 1404 TerminalDevice->InputState |= INPUT_STATE_O; … … 1566 1574 break; 1567 1575 } 1568 } else if (TerminalDevice->TerminalType == TerminalTypeVt100Plus) { 1576 } else if ((TerminalDevice->TerminalType == TerminalTypeVt100Plus) || 1577 (TerminalDevice->TerminalType == TerminalTypeVtUtf8)) 1578 { 1569 1579 switch (UnicodeChar) { 1570 1580 case 'P':
Note:
See TracChangeset
for help on using the changeset viewer.