Changeset 27de618 in mainline
- Timestamp:
- 2018-02-25T15:29:11Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3692678
- Parents:
- e0a5d4c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/ew.py
re0a5d4c r27de618 174 174 return ' -device nec-usb-xhci,id=xhci' 175 175 176 def qemu_tablet_options(): 177 if is_override('notablet') or (is_override('nousb') and is_override('noxhci')): 178 return '' 179 return ' -device usb-tablet' 180 176 181 def qemu_audio_options(): 177 182 if is_override('nosnd'): … … 196 201 if (not 'xhci' in cfg.keys()) or cfg['xhci']: 197 202 cmdline += qemu_xhci_options() 203 if (not 'tablet' in cfg.keys()) or cfg['tablet']: 204 cmdline += qemu_tablet_options() 198 205 if (not 'audio' in cfg.keys()) or cfg['audio']: 199 206 cmdline += qemu_audio_options() … … 304 311 def usage(): 305 312 print("%s - emulator wrapper for running HelenOS\n" % os.path.basename(sys.argv[0])) 306 print("%s [-d] [-h] [-net e1k|rtl8139|ne2k] [-nohdd] [-nokvm] [-nonet] [-nosnd] [-nousb] [-noxhci] \n" %313 print("%s [-d] [-h] [-net e1k|rtl8139|ne2k] [-nohdd] [-nokvm] [-nonet] [-nosnd] [-nousb] [-noxhci] [-notablet]\n" % 307 314 os.path.basename(sys.argv[0])) 308 315 print("-d\tDry run: do not run the emulation, just print the command line.") … … 314 321 print("-nousb\tDisable USB support, if applicable.") 315 322 print("-noxhci\tDisable XHCI support, if applicable.") 323 print("-notablet\tDisable USB tablet (use only relative-position PS/2 mouse instead), if applicable.") 316 324 317 325 def fail(platform, machine): … … 357 365 elif sys.argv[i] == '-noxhci': 358 366 overrides['noxhci'] = True 367 elif sys.argv[i] == '-notablet': 368 overrides['notablet'] = True 359 369 else: 360 370 usage()
Note:
See TracChangeset
for help on using the changeset viewer.