hw/arm/omap2.c (46 lines): - line 174: /* TODO: possibly discard current buffer if overrun */ - line 241: /* TODO */ - line 275: /* TODO: signedness possibly depends on the CODEC hardware - or - line 683: /* TODO */ - line 739: /* TODO */ - line 1158: /* TODO: check the actual iclk status */ - line 1161: /* TODO: check the actual iclk status */ - line 1164: /* TODO: check the actual iclk status */ - line 1206: /* TODO: check the actual iclk status */ - line 1229: /* TODO: check the actual iclk status */ - line 1272: /* TODO: check the actual iclk status */ - line 1314: /* TODO: update clocks */ - line 1417: /* TODO update clocks */ - line 1422: /* TODO update clocks */ - line 1427: /* TODO update clocks */ - line 1469: /* TODO update clocks */ - line 1498: /* TODO update clocks */ - line 1503: /* TODO update clocks */ - line 1507: /* TODO update clocks */ - line 1512: /* TODO update clocks */ - line 1516: /* TODO update clocks */ - line 1521: /* TODO update clocks */ - line 1525: /* TODO update clocks */ - line 1529: /* TODO update clocks */ - line 1533: /* TODO update clocks */ - line 1538: /* TODO update clocks */ - line 1543: /* TODO update clocks */ - line 1570: /* TODO update clocks */ - line 1574: /* TODO update clocks */ - line 1578: /* TODO update clocks */ - line 1585: /* TODO: reset */ - line 1599: /* TODO update clocks */ - line 1603: /* TODO update clocks */ - line 1607: /* TODO update clocks */ - line 1611: /* TODO update clocks */ - line 1614: /* TODO: reset */ - line 1648: /* TODO update clocks */ - line 1658: /* TODO update the other clocks */ - line 1674: /* TODO update clocks */ - line 1678: /* TODO update clocks */ - line 1682: /* TODO update clocks */ - line 1686: /* TODO update clocks */ - line 1692: /* TODO: reset */ - line 1966: * TODO: otherwise an interconnect access error is generated. */ - line 2100: return omap_badwidth_read32(opaque, addr); /* TODO */ - line 2116: omap_badwidth_write32(opaque, addr, value); /* TODO */ hw/net/eepro100.c (31 lines): - line 34: * TODO: - line 106: /* Use 64 word EEPROM. TODO: could be a runtime option. */ - line 219: /* TODO: i82559 has six reserved statistics but a total of 24 dwords. */ - line 528: /* TODO: check TCO Statistical Counters bit. Documentation not clear. */ - line 560: #if 0 /* TODO: replace dummy code for power management emulation. */ - line 561: /* TODO: Power Management Control / Status. */ - line 563: /* TODO: Ethernet Power Consumption Registers (i82559 and later). */ - line 571: TODO: get vendor id from EEPROM for i82557C or later. - line 572: TODO: get device id from EEPROM for i82557C or later. - line 573: TODO: status bit 4 can be disabled by EEPROM for i82558, i82559. - line 574: TODO: header type is determined by EEPROM for i82559. - line 575: TODO: get subsystem id from EEPROM for i82557C or later. - line 576: TODO: get subsystem vendor id from EEPROM for i82557C or later. - line 577: TODO: exp. rom baddr depends on a bit in EEPROM for i82558 or later. - line 578: TODO: capability pointer depends on EEPROM for i82558. - line 615: /* TODO: Clearing of hash register for selective reset, too? */ - line 981: /* TODO: Test unaligned dump counter address on real hardware. */ - line 1611: /* TODO: - line 1652: /* TODO: check configuration byte 15/4 (ignore U/L). */ - line 1676: /* TODO: Next not for promiscuous mode? */ - line 1701: /* TODO: RNR interrupt only at first failed frame? */ - line 1741: /* TODO: check stripping enable bit. */ - line 1780: /* TODO check device. */ - line 1857: /* FIXME: flash aliases to mmio?! */ - line 1894: /* TODO: check device id. */ - line 1898: /* TODO: check size of statistical counters. */ - line 1900: /* TODO: check extended tcb support. */ - line 1910: /* TODO: check size of statistical counters. */ - line 1979: /* TODO: Windows wants revision id 0x0c. */ - line 2001: /* TODO: check device id. */ - line 2003: /* TODO: wrong revision id. */ disas/cris.c (21 lines): - line 266: "addo.b -1,r0,acr" as "addo .b-1,r0,acr". FIXME: Sounds like a - line 278: /* FIXME: SIZE_FIELD_SIGNED and all necessary changes. */ - line 293: /* FIXME: SIZE_FIELD_UNSIGNED and all necessary changes. */ - line 331: /* FIXME: Should use branch #defines. */ - line 463: /* FIXME: SIZE_FIELD_UNSIGNED and all necessary changes. */ - line 467: /* FIXME: SIZE_FIELD_UNSIGNED and all necessary changes. */ - line 553: /* FIXME: SIZE_FIELD_SIGNED and all necessary changes. */ - line 561: /* FIXME: SIZE_FIELD_UNSIGNED and all necessary changes. */ - line 822: /* FIXME: SIZE_FIELD_SIGNED and all necessary changes. */ - line 833: /* FIXME: SIZE_FIELD_UNSIGNED and all necessary changes. */ - line 1074: /* FIXME: SIZE_FIELD_SIGNED and all necessary changes. */ - line 1089: /* FIXME: SIZE_FIELD_UNSIGNED and all necessary changes. */ - line 1231: instruction. FIXME: Make this optional later. */ - line 1259: FIXME: Make this optional later. */ - line 1274: /* Whether this code is flagged as crisv32. FIXME: Should be an enum - line 1294: /* Parse disassembler options and store state in info. FIXME: For the - line 1663: /* FIXME: Should abort here; next constraint letter - line 1832: /* FIXME: Improve error handling; should have been caught - line 1863: FIXME: Emit v0..v3 flag names somehow. */ - line 2158: /* FIXME: Improve error handling; should have been caught - line 2823: FIXME: We should improve the solution to avoid the multitude of hw/pci/shpc.c (14 lines): - line 12: /* TODO: model power only and disabled slot states. */ - line 13: /* TODO: handle SERR and wakeups */ - line 14: /* TODO: consider enabling 66MHz support */ - line 16: /* TODO: remove fully only on state DISABLED and LED off. - line 119: TODO: make this configurable? */ - line 276: /* TODO: send event to monitor */ - line 283: /* TODO: send event to monitor */ - line 295: /* TODO: track what monitor requested. */ - line 359: /* TODO: Spec says this shall fail if some are already enabled. - line 395: /* TODO: code duplicated from pci.c */ - line 590: int nslots = SHPC_MAX_SLOTS; /* TODO: qdev property? */ - line 603: /* TODO: report an error mesage that makes sense. */ - line 646: /* TODO: init cmask */ - line 668: /* TODO: cleanup config space changes? */ hw/net/lan9118.c (13 lines): - line 123: #define MAC_VLAN1 9 /* TODO */ - line 124: #define MAC_VLAN2 10 /* TODO */ - line 125: #define MAC_WUFF 11 /* TODO */ - line 126: #define MAC_WUCSR 12 /* TODO */ - line 348: /* TODO: Implement FIFO level IRQs. */ - line 556: /* TODO: Implement FIFO overflow notification. */ - line 680: /* FIXME: Honor TX disable, and allow queueing of packets. */ - line 701: /* TODO: Stop transmission. */ - line 793: /* TODO: FIFO overflow checking. */ - line 834: /* TODO 17, 18, 27, 29, 30, 31 */ - line 865: /* TODO 17, 18, 27, 31 */ - line 1042: /* TODO: Implement interrupt deassertion intervals. */ - line 1264: /* TODO: Implement dropped frames counter. */ block/vvfat.c (13 lines): - line 48: /* TODO: add ":bootsector=blabla.img:" */ - line 49: /* LATER TODO: add automatic boot sector generation from - line 53: /* MAYBE TODO: write block-visofs.c */ - line 54: /* TODO: call try_commit() only after a timeout */ - line 365: /* TODO: if the files mbr.img and bootsect.img exist, use them */ - line 935: /* TODO: if there are more entries, bootsector has to be adjusted! */ - line 955: /* LATER TODO: still true for FAT32? */ - line 1034: /* LATER TODO: if FAT32, this is wrong */ - line 1219: /* LATER TODO: if FAT32, adjust */ - line 1524: /* LATER TODO: strict: return -1; */ - line 1562: /* LATER TODO: statify all functions */ - line 2773: * TODO: make sure that the short name is not matching *another* file - line 3066: /* TODO: add timeout */ hw/usb/tusb6010.c (12 lines): - line 286: /* TODO: How is this signalled? */ - line 342: return 0x00; /* TODO */ - line 361: case TUSB_PRCM_WAKEUP_CLEAR: /* TODO: What does this one return? */ - line 377: case TUSB_USBIP_INT_SET: /* TODO: What do these two return? */ - line 384: case TUSB_DMA_INT_SET: /* TODO: What do these two return? */ - line 390: case TUSB_GPIO_INT_SRC: /* TODO: What do these two return? */ - line 398: case TUSB_INT_SRC_SET: /* TODO: What do these two return? */ - line 425: return 0x00000000; /* TODO */ - line 427: return 0x00; /* TODO */ - line 516: return; /* TODO */ - line 629: return; /* TODO */ - line 631: return; /* TODO */ hw/arm/aspeed.c (12 lines): - line 67: /* TODO: Find the actual hardware value */ - line 499: /* TODO: i2c-1: Add baseboard FRU eeprom@54 24c64 */ - line 500: /* TODO: i2c-1: Add Frontpanel FRU eeprom@57 24c64 */ - line 501: /* TODO: Add Memory Riser i2c mux and eeproms. */ - line 506: /* TODO: i2c-3: Add BIOS FRU eeprom@56 24c64 */ - line 515: /* TODO: i2c-7: Add PDB FRU eeprom@52 */ - line 516: /* TODO: i2c-8: Add BMC FRU eeprom@50 */ - line 641: /* Bus 3: TODO bmp280@77 */ - line 642: /* Bus 3: TODO max31785@52 */ - line 676: /* Bus 11: TODO ucd90160@64 */ - line 794: /* Bus 7: TODO max31785@52 */ - line 797: /* Bus 7: TODO si7021-a20@20 */ hw/ide/atapi.c (11 lines): - line 502: /* FIXME: 0x30000 per spec? */ - line 562: default: /* TODO: formats beyond DVD-ROM requires */ - line 607: /* TODO: Check IDENTIFY data word 125 for defacult BCL (currently 0) */ - line 612: /* TODO: Move abort back into core.c and introduce proper error flow between - line 1226: /* TODO: BD support, fall through for now */ - line 1229: case 0x80: /* TODO: AACS volume identifier */ - line 1230: case 0x81: /* TODO: AACS media serial number */ - line 1231: case 0x82: /* TODO: AACS media identifier */ - line 1232: case 0x83: /* TODO: AACS media key block */ - line 1233: case 0x90: /* TODO: List of recognized format layers */ - line 1234: case 0xc0: /* TODO: Write protection status */ block.c (11 lines): - line 908: /* TODO Drivers without bdrv_file_open must be specified explicitly */ - line 2133: /* TODO Take force_share from reopen_queue */ - line 2594: * TODO Require !(perm & BLK_PERM_CONSISTENT_READ), too? - line 3259: * Node without drv is an object without a class :/. TODO: finally fix - line 3365: * TODO Can this be unified with bdrv_open_image()? - line 3550: * TODO Future callers may need to specify parent/child_class in order for - line 3596: /* TODO: extra byte is a hack to ensure MAX_PATH space on Windows. */ - line 4668: * TODO: When using -drive to specify blockdev options, all values - line 5547: /* TODO Check graph modification op blockers (BLK_PERM_GRAPH_MOD) once - line 5582: * TODO: Actually, we want to rollback all previous iterations - line 6086: /* TODO check what callers really want: bs->node_name or blk_name() */ hw/i386/intel_iommu.c (11 lines): - line 1031: /* FIXME: what is the Atomics request here? */ - line 1137: * mark this as a TODO in case one day we'll have - line 2307: /* FIXME: need to be masked with HAW? */ - line 2500: /* FIXME: should update at first or at last? */ - line 2519: * TODO: the entity of below two cases will be implemented in future series. - line 2623: /* FIXME: when IQE is Clear, should we try to fetch some Invalidation - line 2631: /* FIXME: when software clears the IM field, check the IP field. But do we - line 2659: /* FIXME: when software clears the IM field, check the IP field. But do we - line 3351: /* TODO: report error */ - line 3424: * TODO: currently we have per-device IOMMU memory region only - line 3658: /* TODO: read cap/ecap from host to decide which cap to be exposed. */ hw/misc/cbus.c (11 lines): - line 249: case RETU_REG_IDR: /* TODO: Or is this ffs(s->irqst)? */ - line 258: /* TODO */ - line 272: /* TODO */ - line 283: /* TODO */ - line 298: /* TODO */ - line 325: /* TODO */ - line 354: /* TODO */ - line 371: /* TODO */ - line 439: if ((s->cc[0] & 0x500) == 0x500) { /* TODO: Which bits? */ - line 440: /* TODO: reissue the interrupt every 100ms or so. */ - line 457: /* TODO: reissue the interrupt every 100ms or so. */ hw/pci-host/pnv_phb4.c (10 lines): - line 217: /* TODO: Figure out how to implemet/decode AOMASK */ - line 484: /* TODO: handle reset values of PHB_LSI_SRC_ID */ - line 489: /* TODO: need a xive_source_irq_reset_lsi() */ - line 565: /* TODO: More regs ..., maybe create a table with masks... */ - line 683: /* TODO: Do something sensible with speed ? */ - line 934: /* TODO: Handle boundaries */ - line 957: /* TODO: Limit to support IO page sizes */ - line 959: /* TODO: Multi-level untested */ - line 1083: /* TODO: Check it doesn't collide with LSIs */ - line 1089: /* TODO: check PE/MSI assignement */ hw/usb/hcd-musb.c (10 lines): - line 363: /* TODO: _DW */ - line 602: /* TODO: what with low-speed Bulk and Isochronous? */ - line 725: /* TODO: check len for over/underruns of an OUT packet? */ - line 804: /* TODO: check len for over/underruns of an OUT packet? */ - line 805: /* TODO: perhaps make use of e->ext_size[1] here. */ - line 1134: /* TODO: This and other bits probably depend on - line 1280: /* TODO */ - line 1368: /* TODO */ - line 1423: /* TODO */ - line 1467: /* TODO */ hw/dma/omap_dma.c (10 lines): - line 150: * TODO: verify address ranges and alignment - line 151: * TODO: port endianness - line 199: /* TODO: for a->frame_delta[i] > 0 still use the fast path, just - line 269: /* TODO: theoretically if ch->sync && ch->prefetch && - line 381: /* FIXME: check the endianness */ - line 544: /* TODO: for transfers where entire frames can be read and written - line 547: * See also the TODO in omap_dma_channel_load. */ - line 592: /* TODO: should all of this only be done if dma->update, and otherwise - line 655: /* TODO: check if we really need to update anything here or perhaps we - line 672: /* TODO: if the destination port is IMIF or EMIFF, set the dirty linux-user/arm/nwfpe/fpa11_cpdt.c (10 lines): - line 36: /* FIXME - handle failure of get_user() */ - line 48: /* FIXME - handle failure of get_user() */ - line 52: /* FIXME - handle failure of get_user() */ - line 65: /* FIXME - handle failure of get_user() */ - line 79: /* FIXME - handle failure of get_user() */ - line 88: /* FIXME - handle failure of get_user() */ - line 97: /* FIXME - handle failure of get_user() */ - line 126: /* FIXME - handle put_user() failures */ - line 149: /* FIXME - handle put_user() failures */ - line 179: /* FIXME - handle put_user() failures */ linux-user/elfload.c (9 lines): - line 299: /* FIXME - what to for failure of get_user()? */ - line 1226: (*regs)[TARGET_REG_SYSCALL] = 0; /* FIXME */ - line 1320: (*regs)[16] = tswapreg(env->dregs[0]); /* FIXME: orig_d0 */ - line 1323: (*regs)[19] = 0; /* FIXME: regs->format | regs->vector */ - line 2022: /* FIXME - check return value of memcpy_to_target() for failure */ - line 2047: /* FIXME - check return value of memcpy_to_target() for failure */ - line 3019: /* FIXME: This should use elf_ops.h */ - line 3253: * TODO: load a vdso, which would also contain the signal trampolines. - line 3982: * TODO: make this work also during runtime: it should be hw/display/sm501.c (9 lines): - line 903: /* TODO : simulate gate control */ - line 907: /* TODO : simulate gate control */ - line 951: /* TODO : check validity of size change */ - line 968: /* TODO : simulate gate & clock control */ - line 1099: /* TODO : consider BYTE/WORD access */ - line 1100: /* TODO : consider endian */ - line 1113: /* TODO : consider BYTE/WORD access */ - line 1114: /* TODO : consider endian */ - line 1978: /* TODO : chain irq to IRL */ hw/usb/hcd-dwc2.c (9 lines): - line 738: /* TODO - TX fifo flush */ - line 743: /* TODO - RX fifo flush */ - line 748: /* TODO - device IN token queue flush */ - line 753: /* TODO - host frame counter reset */ - line 759: /* TODO - host soft reset */ - line 764: /* TODO - core soft reset */ - line 1177: /* TODO - implement FIFOs to support slave mode */ - line 1188: /* TODO - implement FIFOs to support slave mode */ - line 1208: /* TODO - do something here? */ hw/audio/wm8750.c (9 lines): - line 146: /* FIXME: multiply all volumes by s->invol[2], s->invol[3] */ - line 158: /* FIXME: multiply all volumes by s->outvol[0], s->outvol[1] */ - line 475: /* TODO: mute/unmute respective paths */ - line 481: /* TODO: mute/unmute respective paths */ - line 487: /* TODO: mute/unmute respective paths */ - line 493: /* TODO: mute/unmute respective paths */ - line 499: /* TODO: mute/unmute respective paths */ - line 505: /* TODO: mute/unmute respective paths */ - line 539: /* TODO: mute/unmute respective paths */ linux-user/s390x/signal.c (9 lines): - line 29: #define __SIGNAL_FRAMESIZE 160 /* FIXME: 31-bit mode -> 96 */ - line 32: #define _SIGCONTEXT_NSIG_BPW 64 /* FIXME: 31-bit mode -> 32 */ - line 105: else if (/* FIXME !user_mode(regs) */ 0 && - line 127: * TODO: qemu does not support PSW_MASK_RI; it will never be set. - line 228: env->regs[4] = 0; /* FIXME: regs->int_code & 127 */ - line 229: env->regs[5] = 0; /* FIXME: regs->int_parm_long */ - line 230: env->regs[6] = 0; /* FIXME: current->thread.last_break */ - line 290: env->regs[5] = 0; /* FIXME: current->thread.last_break */ - line 309: * TODO: migration/migration.c (9 lines): - line 800: * TODO: currently we are safe since we are the only one that is - line 848: /* TODO use QAPI_CLONE() instead of duplicating it inline */ - line 1094: /* TODO add some postcopy stats */ - line 1102: /* TODO: display COLO specific information (checkpoint info etc.) */ - line 1476: /* TODO use QAPI_CLONE() instead of duplicating it inline */ - line 1573: /* TODO use QAPI_CLONE() instead of duplicating it inline */ - line 1695: /* TODO Rewrite "" to null instead */ - line 1702: /* TODO Rewrite "" to null instead */ - line 4342: * TODO: Make this TYPE_OBJECT once QOM provides something like hw/usb/dev-serial.c (9 lines): - line 75: /* TODO: should be sent every 40ms */ - line 195: /* TODO: ioctl */ - line 217: /* TODO: purge in char driver */ - line 229: /* TODO: Reset char device, send BREAK? */ - line 287: /* TODO: purge from char device */ - line 290: /* TODO: purge from char device */ - line 393: /* TODO: TX ON/OFF */ - line 401: /* TODO: handle it */ - line 405: /* TODO: handle it */ tools/virtiofsd/fuse_virtio.c (8 lines): - line 118: /* TODO: Allow reconnects?? */ - line 278: /* TODO: Endianness! */ - line 339: /* TODO: Endianness! */ - line 376: /* TODO: Limit to 'len' */ - line 497: assert(0); /* TODO */ - line 502: assert(0); /* TODO */ - line 575: /* TODO: Add checks for fuse_session_exited */ - line 1052: /* TODO: Some cleanup/deallocation! */ hw/display/omap_dss.c (8 lines): - line 199: /* TODO: fake some values when appropriate s->control bits are set */ - line 602: /* TODO: in non-Bypass mode we probably need to just deassert the DRQ. */ - line 620: /* TODO: in non-Bypass mode we probably need to just assert the - line 628: /* TODO: check that LCD output is enabled in DISPC. */ - line 649: /* TODO bpp */ - line 652: /* TODO: negative values */ - line 666: /* TODO */ - line 784: /* TODO: take into account the format set up in s->rfbi.config[?] and hw/sd/sd.c (8 lines): - line 95: /* TODO purge them with fire */ - line 507: return sd_crc7(buffer, 5) != req->crc; /* TODO */ - line 1837: /* TODO: Check CRC before committing */ - line 1863: /* TODO: Check CRC before committing */ - line 1887: /* TODO: Check CRC before committing */ - line 1906: /* TODO: Check CRC before committing */ - line 1930: /* TODO: Check CRC before committing */ - line 1968: /* TODO: Append CRCs */ hw/intc/armv7m_nvic.c (8 lines): - line 190: /* TODO: controlled by DEMCR.SDME, which we don't yet implement */ - line 1241: /* TODO: this is RAZ/WI from NS if DEMCR.SDME is set */ - line 1268: /* TODO: Implement fault status registers. */ - line 1363: /* TODO: Implement debug registers. */ - line 1524: * TODO: MONRDY should RAZ/WI if DEMCR.SDME is set. - line 1788: /* TODO: this is RAZ/WI from NS if DEMCR.SDME is set */ - line 2108: /* TODO MONRDY should RAZ/WI if DEMCR.SDME is set */ - line 2208: /* Not banked. TODO should RAZ/WI if DEMCR.SDME is set */ hw/display/ati.c (7 lines): - line 54: /* FIXME Should these be the same as VGA CRTC regs? */ - line 145: /* FIXME handle cur_hv_offs correctly */ - line 202: /* FIXME handle cur_hv_offs correctly */ - line 333: /* FIXME unaligned access */ - line 617: /* FIXME: Maybe add a property to select VGA or DVI port? */ - line 626: /* FIXME What does Radeon have here? */ - line 685: s->regs.crtc_offset_cntl = data; /* FIXME */ hw/intc/pnv_xive.c (7 lines): - line 72: * TODO: It might be better to use the existing extract64() and - line 110: * TODO: Block scope support - line 875: * TODO: CQ_INT_ADDR_OPT for 1-block-per-chip mode - line 896: * TODO: block group support - line 920: case VC_EQC_CONFIG: /* TODO: silent escalation */ - line 1359: /* TODO: forwarded IRQs. Should be like HW triggers */ - line 1547: /* FIXME (skiboot): This is the only XSCOM load. Bizarre. */ hw/dma/etraxfs_dma.c (7 lines): - line 227: /* Load and decode. FIXME: handle endianness. */ - line 258: /* Load and decode. FIXME: handle endianness. */ - line 274: /* Load and decode. FIXME: handle endianness. */ - line 287: /* Encode and store. FIXME: handle endianness. */ - line 298: /* Encode and store. FIXME: handle endianness. */ - line 306: /* FIXME: */ - line 527: /* TODO: signal eop to the client. */ hw/block/pflash_cfi01.c (7 lines): - line 398: /* TODO set error bit in status */ - line 498: /* FIXME should save @offset, @width for case 1+ */ - line 546: /* FIXME check @offset, @width */ - line 584: /* FIXME check @offset, @width */ - line 587: * FIXME writing straight to memory is *wrong*. We - line 606: /* FIXME premature! */ - line 623: /* FIXME this is where we should write out the buffer */ hw/ppc/ppc.c (7 lines): - line 117: /* XXX: TODO: actual reaction may depends on HID0 status - line 127: /* XXX: TODO: relay the signal to CKSTP_OUT pin */ - line 191: /* XXX: TODO: actual reaction may depends on HID0 status - line 201: /* XXX: TODO: relay the signal to CKSTP_OUT pin */ - line 223: /* XXX: TODO */ - line 322: /* XXX: TODO reset all internal peripherals */ - line 390: /* XXX: TODO: update DBSR[MRR] */ hw/arm/pxa2xx.c (7 lines): - line 892: ((s->rttr & 0xffff) + 1)) >> 15)); /* TODO: fixup */ - line 899: ((s->rttr & 0xffff) + 1)) >> 15)); /* TODO: fixup */ - line 905: (s->swar1 - s->last_swcr) * 10); /* TODO: fixup */ - line 911: (s->swar2 - s->last_swcr) * 10); /* TODO: fixup */ - line 1393: /* TODO: slave mode */ - line 1519: /* FIXME: Should the slave device really be on a separate bus? */ - line 2087: /* TODO: reset peripherals */ disas/m68k.c (7 lines): - line 1156: /* FIXME: There's a problem here, different m68k processors call the - line 2892: /* FIXME: the next two variants should not permit moving an address - line 2978: /* FIXME: In the next instruction, we should only permit %dn if the - line 3568: /* FIXME: need specifier for mode 2 and 5 to simplify below insn patterns. */ - line 3989: /* FIXME: don't allow Dw==Dx. */ - line 4813: /* Handle denormalized numbers. FIXME: What should we do for - line 4945: /* Handle a denormalized number. FIXME: What should we do for disas/sparc.c (7 lines): - line 103: /* FIXME: Add F_ANACHRONISTIC flag for v9. */ - line 1471: /* FIXME: use fmovicc/fmovfcc? */ /* v9 */ - line 1892: /* FIXME: Do we want to mark these as F_FLOAT, or something similar? */ - line 2140: /* FIXME: There are dozens of them. Not sure we want them all. - line 2746: /* int is_annulled = 0; */ /* see FIXME below */ - line 2782: /* is_annulled = 1; */ /* see FIXME below */ - line 3218: /* FIXME -- check is_annulled flag. */ linux-user/linuxload.c (6 lines): - line 96: /* FIXME - handle put_user() failures */ - line 103: /* FIXME - handle put_user() failures */ - line 107: /* FIXME - handle put_user() failures */ - line 113: /* FIXME - handle put_user() failures */ - line 116: /* FIXME - handle put_user() failures */ - line 121: /* FIXME - handle put_user() failures */ disas/mips.c (6 lines): - line 3525: /* FIXME: These should be shared with gdb somehow. */ - line 4083: FIXME: Where does mips_target_info come from? */ - line 5053: /* FIXME: If odd address, this is CLEARLY a mips 16 instruction. */ - line 5171: /* FIXME: Should probably use a hash table on the major opcode here. */ - line 5439: /* FIXME: This might be lw, or it might be addiu to $sp or - line 5488: /* FIXME: This can be lw or la. We assume it is lw. */ hw/block/onenand.c (6 lines): - line 440: /* TODO: if (s->bufaddr & 3) + s->count was > 4 (2k-pages) - line 453: /* TODO: if (s->bufaddr & 3) + s->count was > 4 (2k-pages) - line 472: /* TODO: if (s->bufaddr & 3) + s->count was > 4 (2k-pages) - line 485: /* TODO: if (s->bufaddr & 3) + s->count was > 4 (2k-pages) - line 502: /* TODO: spare areas */ - line 625: /* TODO: get the following values from a real chip! */ hw/arm/stellaris.c (6 lines): - line 558: /* TODO: Handle errors. */ - line 722: /* TODO: Real hardware has limited size FIFOs. We have a full 16 entry - line 788: /* TODO: Implement this. */ - line 836: /* TODO: Implement this. */ - line 1103: /* TODO: This is incorrect, but we get away with it because - line 1284: /* FIXME: Figure out how to generate these from stellaris_boards. */ hw/display/ssd0323.c (6 lines): - line 130: /* FIXME: Implement this. */ - line 136: /* FIXME: Implement these. */ - line 143: /* FIXME: Implement these. */ - line 154: /* TODO: Implement power control. */ - line 166: /* FIXME: Implement this. */ - line 247: /* TODO: Implement row/column remapping. */ hw/dma/soc_dma.c (6 lines): - line 150: /* TODO: support constant memory address for source port as used for - line 157: /* TODO: save bytes left to the end of the mapping somewhere so we - line 176: /* TODO: use src and dst as array indices. */ - line 197: /* TODO: Signal that we want to disable the functional clock and let - line 239: /* TODO: take a functional-clock argument */ - line 361: /* TODO: port removal for ports like PCMCIA memory */ hw/pci-host/pnv_phb4_pec.c (6 lines): - line 36: /* TODO: add list of allowed registers and error out if not */ - line 83: /* TODO: add list of allowed registers and error out if not */ - line 120: /* TODO: add list of allowed registers and error out if not */ - line 304: /* TODO: add list of allowed registers and error out if not */ - line 342: /* TODO: Implement reset */ - line 572: /* TODO: reset regs ? */ hw/arm/omap1.c (6 lines): - line 745: mpu->ulpd_pm_regs[0x40 >> 2] = 0x0000; /* FIXME: dump a real STATUS_REQ */ - line 1925: /* TODO: wakeup */ - line 2186: /* TODO: depending on s->setup[4] bits [1:0] assert an IRQ or - line 2195: /* TODO: depending on s->setup[4] bits [1:0] assert an IRQ or - line 3129: /* TODO: check CLKSTP bit */ - line 3693: /* FIXME: infinite loop */ hw/sd/omap_mmc.c (6 lines): - line 144: request.crc = 0; /* FIXME */ - line 148: /* TODO: validate CRCs */ - line 361: /* TODO: support 8-bit access */ - line 495: /* TODO: support 8-bit access */ - line 585: /* TODO: Assert wake-up */ - line 605: s->lines = 1; /* TODO: needs to be settable per-board */ hw/usb/hcd-ehci.c (6 lines): - line 1305: /* TODO check 4.12 for splits */ - line 1600: /* TODO: handle FSTN type */ - line 1744: /* TODO: split transfers are not implemented */ - line 1935: // TODO verify enough time remains in the uframe as in 4.4.1.1 - line 1936: // TODO write back ptr to async list when done or out of time - line 2118: /* TODO: notify guest (raise HSE irq?) */ scripts/qapi/parser.py (6 lines): - line 36: # TODO: Remove cycle. [schema -> expr -> parser -> schema] - line 46: # FIXME: Consolidate and centralize definitions for TopLevelExpr, - line 561: 'TODO:') - line 578: # FIXME not nice: things like '# @foo:' and '# @foo: ' aren't - line 724: # FIXME invalid names other than the empty string aren't flagged - line 775: # Undocumented TODO outlaw linux-user/nios2/cpu_loop.c (6 lines): - line 52: if (env->regs[2] == 0) { /* FIXME: syscall 0 workaround */ - line 86: /*case 0x1000:*/ /* TODO:__kuser_helper_version */ - line 104: /*case 0x1040:*/ /* TODO:__kuser_sigtramp */ - line 110: /* TODO: check env->error_code */ - line 144: /* TODO: unsigned long orig_r2; */ - line 151: /* TODO: unsigned long orig_r7; */ hw/intc/spapr_xive.c (5 lines): - line 408: /* TODO: should we assert() if we can find a NVT ? */ - line 1400: * TODO: issue syncs required to ensure all in-flight interrupts - line 1518: /* TODO: do we need any locking on the END ? */ - line 1570: /* TODO: H_INT_SET_OS_REPORTING_LINE */ - line 1610: /* TODO: H_INT_GET_OS_REPORTING_LINE */ hw/rtc/twl92230.c (5 lines): - line 128: /* TODO: wake-up */ - line 387: /* TODO: return the real Card Detect */ - line 573: /* TODO check range */ - line 585: /* TODO set .tm_mday instead */ - line 687: /* TODO update Card Detect interrupts */ include/hw/qdev-core.h (5 lines): - line 122: * TODO remove once we're there - line 131: * TODO: remove once every reset callback is unused - line 222: /* FIXME first arg should be BusState */ - line 777: * TODO: remove the function when DeviceClass's reset method - line 797: /* FIXME: make this a link<> */ migration/postcopy-ram.c (5 lines): - line 1026: /* TODO: May need to handle devices deregistering during postcopy */ - line 1055: /*TODO: Could just disable this sharer */ - line 1061: /*TODO: Could just disable this sharer */ - line 1076: /* TODO: Fail? Disable this sharer? */ - line 1223: * TODO: We can inhibit that ack and only do it if it was requested subprojects/libvhost-user/libvhost-user.c (5 lines): - line 171: * FIXME: - line 620: * TODO: How to do hugepage - line 633: * TODO: Turn this backon later. - line 678: /* TODO: Stash 'zero' support flags somewhere */ - line 1573: /* TODO: Stash feature flags somewhere */ bsd-user/bsdload.c (5 lines): - line 110: /* FIXME - handle put_user() failures */ - line 114: /* FIXME - handle put_user() failures */ - line 119: /* FIXME - handle put_user() failures */ - line 122: /* FIXME - handle put_user() failures */ - line 127: /* FIXME - handle put_user() failures */ hw/ppc/pnv_lpc.c (5 lines): - line 234: * TODO: rework to use address_space_stq() and address_space_ldq() - line 539: case OPB_MASTER_LS_ROUTE0: /* TODO */ - line 542: case OPB_MASTER_LS_ROUTE1: /* TODO */ - line 571: case OPB_MASTER_LS_ROUTE0: /* TODO */ - line 574: case OPB_MASTER_LS_ROUTE1: /* TODO */ hw/net/imx_fec.c (5 lines): - line 942: /* TODO: Implement MIB. */ - line 947: /* TODO: Implement LOOP mode. */ - line 975: /* TODO: implement MAC hash filtering. */ - line 1087: * FIXME: This is wrong. We should probably either - line 1186: * FIXME: This is wrong. We should probably either hw/virtio/vhost.c (5 lines): - line 157: /* FIXME: this is N^2 in number of sections */ - line 769: /* TODO: can replay help performance here? */ - line 971: /* FIXME: implement */ - line 978: /* FIXME: implement */ - line 1172: /* TODO: check and handle errors. */ hw/usb/hcd-xhci.c (5 lines): - line 41: #define FIXME(_msg) do { fprintf(stderr, "FIXME %s:%d %s\n", \ - line 1274: DPRINTF("xhci: FIXME: endpoint stopped w/ xfers running, " - line 1319: DPRINTF("xhci: FIXME: endpoint reset w/ xfers running, " - line 1628: DPRINTF("%s: FIXME: status = %d\n", __func__, - line 2397: /* TODO: actually implement real values here */ linux-user/sparc/signal.c (5 lines): - line 131: /* TODO: magic should contain PT_REG_MAGIC + %tt. */ - line 275: __put_user(0, &sf->rwin_save); /* TODO: save_rwin_state */ - line 332: __put_user(0, &sf->rwin_save); /* TODO: save_rwin_state */ - line 422: goto segv_and_exit; /* TODO: restore_rwin */ - line 487: goto segv_and_exit; /* TODO: restore_rwin_state */ block/vdi.c (5 lines): - line 24: * Todo (see also TODO in code): - line 278: /* TODO: additional checks possible. */ - line 331: /* TODO: vdi_get_info would be needed for machine snapshots. - line 342: /* TODO: missing code. */ - line 1027: /* TODO: An additional option to set UUID values might be useful. */ hw/virtio/vhost-user.c (4 lines): - line 917: /* TODO: Use this for failure cases as well with a bad value. */ - line 1035: /* TODO: Use this for failure cases as well with a bad value. */ - line 1705: * TODO: This is Linux specific - line 1898: /* TODO: Get the device name into this error somehow */ hw/intc/xive.c (4 lines): - line 512: * TODO: check V bit in Q[0-3]W2 - line 551: * TODO: check V bit in Q[0-3]W2 - line 1438: * TODO (PowerNV): ignore mode. The low order bits of the NVT - line 1645: /* TODO: Auto EOI. */ hw/vfio/common.c (4 lines): - line 571: * some IOMMU hardware. TODO: VFIO should tell us the IOMMU width. - line 989: * FIXME: For VFIO iommu types which have KVM acceleration to - line 1142: * FIXME: We assume the one big unmap below is adequate to - line 2083: * FIXME: This assumes that a Type1 IOMMU can map any 64-bit tcg/i386/tcg-target.c.inc (4 lines): - line 2692: /* TODO: AVX512 adds support for MO_16. */ - line 2696: /* TODO: AVX512 adds support for MO_16. */ - line 2700: /* TODO: AVX512 adds support for MO_16, MO_64. */ - line 2713: /* TODO: AVX512 adds support for MO_64. */ hw/ppc/ppc440_uc.c (4 lines): - line 29: /* FIXME:fix names */ - line 161: /* FIXME: Actually handle L2 cache mapping */ - line 1028: /* FIXME: This is not complete and does not work, only implemented partially - line 1238: /* FIXME: how is size encoded? */ hw/pci-host/pnv_phb3.c (4 lines): - line 756: * TODO: Venice/Murano support it on bottom window above 4G and - line 763: /* TODO: Handle boundaries */ - line 792: /* TODO: Multi-level untested */ - line 1071: /* TODO: We should use the PHB BAR 2 register but we don't ... */ tools/virtiofsd/passthrough_ll.c (4 lines): - line 590: * TODO Remove this helper and force callers to hold an inode refcount until - line 1167: * TODO: What about selinux context? - line 2072: /* TODO: What if file is not writable? */ - line 2177: /* TODO: Is it alright to modify flock? */ hw/i386/acpi-build.c (4 lines): - line 1708: aml_append(pkg, aml_int(1)); /* PM1b_CNT.SLP_TYP, FIXME: not impl. */ - line 1717: /* PM1b_CNT.SLP_TYP, FIXME: not impl. */ - line 1826: FIXME: TPM_TIS_IRQ=5 conflicts with PNP0C0F irqs, - line 2072: * TODO: this part is not in ACPI spec and current linux kernel boots fine hw/ppc/ppc405_uc.c (4 lines): - line 367: /* XXX: TODO */ - line 939: /* XXX: TODO */ - line 945: /* XXX: TODO */ - line 986: /* XXX: TODO */ hw/pci/pci.c (4 lines): - line 851: * TODO: Bridges default to 10-bit VGA decoding but we currently only - line 1315: * TODO: make priorities correct and remove this work around. - line 1350: * TODO: remove this work around. - line 1359: * to >4G. Check it. TODO: we might need to support hw/net/sungem.c (4 lines): - line 498: /* TODO: Implement address filter registers (or we don't care ?) */ - line 509: /* TODO: Check MAC control frames (or we don't care) ? */ - line 763: /* XXX TODO */ - line 773: * ID is 0x00406210. TODO: Do a gigabit PHY like BCM5400 hw/i386/amd_iommu.c (4 lines): - line 475: /* FIXME: Try to work with the specified size instead of all the pages - line 714: /* FIXME: something might go wrong if System Software writes in chunks - line 765: /* FIXME - make sure System Software has finished writing incase - line 1363: /* TODO: log the event using IOMMU log event interface */ qapi/qobject-input-visitor.c (4 lines): - line 426: /* TODO report -ERANGE more nicely */ - line 477: /* TODO report -ERANGE more nicely */ - line 589: /* TODO report -ERANGE more nicely */ - line 645: /* TODO report -ERANGE more nicely */ migration/savevm.c (4 lines): - line 782: /* TODO: Individual devices generally have very little idea about the rest - line 1025: * TODO: Must be a better way to organise that - line 1850: * (TODO:This could do with being in a postcopy file - but there again it's - line 2000: /* TODO we should move all of this lot into postcopy_ram.c or a shared code hw/arm/nseries.c (4 lines): - line 139: /* TODO: this seems to actually be connected to the menelaus, to - line 471: hw_error("%s: FIXME: bad SPI word width %i\n", __func__, len); - line 513: /* TODO: return first pixel components */ - line 1158: stw_p(w++, N810_BLIZZARD_RESET_GPIO); /* TODO: n800 s16 nreset_gpio */ softmmu/memory.c (4 lines): - line 544: /* FIXME: support unaligned access? */ - line 3357: * unique name for migration. TODO: Ideally we should implement - line 3381: * unique name for migration. TODO: Ideally we should implement - line 3408: * unique name for migration. TODO: Ideally we should implement block/io.c (4 lines): - line 1383: /* FIXME We cannot require callers to have write permissions when all they - line 1457: /* FIXME: Should we (perhaps conditionally) be setting - line 1530: /* TODO: We would need a per-BDS .supported_read_flags and - line 3324: /* TODO We can support BDRV_REQ_NO_FALLBACK here */ hw/audio/ac97.c (4 lines): - line 1349: /* TODO: no need to override */ - line 1353: /* TODO: */ - line 1359: /* TODO set when bar is registered. no need to override. */ - line 1366: /* TODO set when bar is registered. no need to override. */ hw/net/fsl_etsec/rings.c (4 lines): - line 193: /* TODO Check the correct usage of the PHCS field of the FCB in case the NPH - line 237: /* TODO: if TxBD[TOE/UN] skip the Tx Frame Control Block*/ - line 451: /* TODO: fill_FCB(etsec); */ - line 592: /* TODO: Broadcast and Multicast */ linux-user/arm/cpu_loop.c (4 lines): - line 171: /* FIXME: This should SEGV if the access fails. */ - line 176: /* FIXME: Check for segfaults. */ - line 303: /* FIXME - what to do if get_user() fails? */ - line 337: /* FIXME - what to do if get_user() fails? */ hw/display/xlnx_dp.c (4 lines): - line 771: * TODO: reset IP. - line 782: * TODO: force a scrambler reset?? - line 825: * TODO: Reset something? - line 831: * TODO: Power down things? scripts/codeconverter/codeconverter/qom_macros.py (4 lines): - line 435: yield self.prepend("/* FIXME: %s */\n" % (issue)) - line 493: #TODO: replace lonely DECLARE_INSTANCE_CHECKER with DECLARE_OBJ_CHECKERS - line 560: #TODO: detect when OBJECT_DECLARE_SIMPLE_TYPE can be used - line 820: #FIXME: don't do this if we're already inside qom/object.h accel/kvm/kvm-all.c (4 lines): - line 1459: * TODO: provide a smarter timeout rather than a constant? - line 1530: * TODO: make this faster when nr_slots is big while there are - line 2500: * TODO: Without KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2 and kvm clear dirty log, - line 2669: /* FIXME: Should trigger a qmp message to let management know ui/vnc-enc-tight.c (4 lines): - line 220: endian = 0; /* FIXME */ \ - line 563: if (1 /* FIXME */) { - line 620: endian = 0; /* FIXME */ \ - line 894: if (1 /* FIXME */) { net/tap-win32.c (4 lines): - line 81: /* FIXME: The asynch write path appears to be broken at - line 482: /* FIXME: we can't sensibly set write_size here, without waiting - line 674: /* FIXME: need to kill thread and close file handle: - line 806: /* FIXME error_setg(errp, ...) on failure */ block/nbd.c (4 lines): - line 676: /* TODO: Add a trace point to mention the server complaint */ - line 678: /* TODO handle ERROR_OFFSET */ - line 1785: /* TODO SOCKET_ADDRESS_KIND_FD where fd has AF_INET or AF_INET6 */ - line 1831: /* TODO: Configurable retry-until-timeout behaviour. */ hw/acpi/memory_hotplug.c (4 lines): - line 145: /* TODO: handle device insert OST event */ - line 147: /* TODO: handle device remove OST event */ - line 156: /* TODO: implement memory removal on guest signal */ - line 596: /* TODO: remove it since all hotplugged DIMMs are in high mem */ block/qcow2.c (3 lines): - line 1770: * So, we can ignore this case for now, but TODO: "generation" - line 3186: /* TODO Preallocate data if requested */ - line 4133: /* TODO: fpu/softfloat-parts.c.inc (3 lines): - line 1059: /* TODO: N - 2 is frac_size for rounding; could use input fmt. */ - line 1124: /* TODO: N - 2 is frac_size for rounding; could use input fmt. */ - line 1424: /* TODO: This algorithm looses bits too quickly for float128. */ hw/net/ftgmac100.c (3 lines): - line 786: case FTGMAC100_ITC: /* TODO: Interrupt Timer Control */ - line 817: /* TODO: high priority tx ring */ - line 968: /* TODO : Pad to minimum Ethernet frame length */ hw/core/resettable.c (3 lines): - line 51: /* TODO: change this assert when adding support for other reset types */ - line 67: /* TODO: change this assert when adding support for other reset types */ - line 128: * TODO: if adding more ResetType support, some additional checks contrib/vhost-user-gpu/virgl.c (3 lines): - line 482: /* TODO add security */ - line 486: /* TODO add security */ - line 499: g_debug("TODO handle ctrl %x\n", cmd->cmd_hdr.type); hw/isa/isa-superio.c (3 lines): - line 46: /* FIXME use a qdev chardev prop instead of parallel_hds[] */ - line 85: /* FIXME use a qdev chardev prop instead of serial_hd() */ - line 126: /* FIXME use a qdev drive property instead of drive_get() */ hw/net/mcf_fec.c (3 lines): - line 441: /* TODO: Implement MIB. */ - line 445: /* TODO: Implement LOOP mode. */ - line 470: /* TODO: implement MAC hash filtering. */ hw/input/lm832x.c (3 lines): - line 210: * TODO: find out whether the FIFO is advanced a single character - line 264: /* TODO: check that this is issued only following the chip reset - line 341: /* TODO: Validate that the command is only issued once */ block/block-backend.c (3 lines): - line 155: /* TODO Callback into the BB owner for something more detailed */ - line 397: * TODO: Remove @filename and @flags; it should be possible to specify a whole - line 2084: /* TODO Add BB name/QOM path */ linux-user/xtensa/signal.c (3 lines): - line 49: /* TODO: xtregs */ - line 127: /* TODO: xtregs */ - line 246: /* TODO: xtregs */ hw/ppc/spapr_events.c (3 lines): - line 519: /* FIXME: section version, subtype and creator id? */ - line 565: /* FIXME: section version, subtype and creator id? */ - line 573: /* FIXME: section subtype and creator id? */ hw/watchdog/wdt_aspeed.c (3 lines): - line 187: /* TODO: implement */ - line 273: /* FIXME: This setting should be derived from the SCU hw strapping - line 374: awc->ext_pulse_width_mask = 0xfffff; /* TODO */ hw/ppc/sam460ex.c (3 lines): - line 110: * TODO Figure out what we really need here, and clean this up. - line 355: /* FIXME: does 460EX have ECC interrupts? */ - line 397: /* FIXME: remove this after fixing l2sram mapping in ppc440_uc.c? */ ui/input-barrier.c (3 lines): - line 7: * TODO: - line 383: /* TODO: reset options */ - line 386: /* TODO: set options */ hw/scsi/scsi-disk.c (3 lines): - line 1060: /* TODO: Random readable, CD read, DVD read, drive serial number, - line 1913: * FIXME: we shouldn't return anything bigger than 4k, but the code - line 2655: * anyway. (TODO: check in /sys). hw/arm/virt-acpi-build.c (3 lines): - line 594: /* FIXME: invalid value, should be 0xFFFFFFFFFFFFFFFF if not impl. ? */ - line 598: * FIXME: clarify comment: - line 774: * FIXME: Structure is from Revision 6.0 where 'GIC Structure' hw/scsi/lsi53c895a.c (3 lines): - line 1330: /* FIXME: this is not entirely correct; the target need not ask - line 1979: * FIXME: if s->waiting != LSI_NOWAIT, this will only execute one - line 2001: * FIXME: if s->waiting != LSI_NOWAIT, this will only execute one net/slirp.c (3 lines): - line 584: * FIXME: use bitfields of features? teach libslirp to save with - line 933: /* TODO: IPv6 */ - line 973: * FIXME: sure we want to support implicit hw/net/i82596.c (3 lines): - line 140: /* TODO: Check flexible mode */ - line 287: printf("FIXME Command %d !!\n", cmd & 7); - line 307: printf("FIXME SUSPEND !!\n"); hw/net/etraxfs_eth.c (3 lines): - line 46: * TODO: Add friendly names for the register nums. - line 540: /* FIXME: Find another way to pass on the fake csum. */ - line 661: * TODO: QOM design, define a QOM interface for "I am an etraxfs hw/core/machine.c (3 lines): - line 1054: * TODO: make it hard error in future */ - line 1217: /* TODO: once all bus devices are qdevified, this should be done - line 1220: * TODO: If we had a main 'reset container' that the whole system hw/ppc/spapr_caps.c (3 lines): - line 184: /* TODO: We don't support disabling htm yet */ - line 204: /* TODO: We don't support disabling vsx yet */ - line 223: /* TODO: We don't support disabling dfp yet */ hw/ide/ahci.c (3 lines): - line 480: /* FIXME handle R/WO */ - line 495: /* FIXME handle R/WO */ - line 498: /* FIXME report write? */ hw/ide/piix.c (3 lines): - line 117: /* TODO: this is the default. do not override. */ - line 119: /* TODO: this is the default. do not override. */ - line 121: /* TODO: use pci_set_word */ hw/arm/smmuv3.c (3 lines): - line 287: /* TODO: guarantee 64-bit single-copy atomicity */ - line 308: /* TODO: guarantee 64-bit single-copy atomicity */ - line 412: /* TODO: guarantee 64-bit single-copy atomicity */ hw/arm/msf2-soc.c (3 lines): - line 107: * TODO: ideally we should model the SoC SYSTICK_CR register at 0xe0042038, - line 158: * TODO: ideally the MSF2 timer device should use a Clock rather than a - line 200: /* FIXME use qdev NIC properties instead of nd_table[] */ hw/ppc/pegasos2.c (3 lines): - line 324: /* FIXME: VOF assumes entry is same as load address */ - line 883: /* FIXME Get CPU name from CPU object */ - line 912: * FIXME What flags do data-streams, external-control and softmmu/physmem.c (3 lines): - line 1323: * FIXME TOCTTOU: this iterates over memory backends' mem-path, which - line 1361: * TODO: We assume right now that all mapped host memory backends are - line 1786: /* FIXME: arch_init.c assumes that this is not called throughout hw/timer/omap_gptimer.c (3 lines): - line 152: /* TODO in overflow-and-match mode if the first event to - line 156: /* TODO inverted pulse on timer->out_val == 1? */ - line 405: /* TODO: make sure this doesn't overflow 32-bits */ hw/misc/omap_gpmc.c (3 lines): - line 409: /* TODO: check for overlapping regions and report access errors */ - line 418: /* TODO: rather than setting the size of the mapping (which should be - line 603: /* TODO: check correctness */ hw/ppc/pnv_core.c (3 lines): - line 172: int thread_index = 0; /* TODO: TCG supports only one thread */ - line 249: /* TODO: check PNV_XSCOM_EX_SIZE for p10 */ - line 316: /* TODO: Use the P9 XSCOMs for now on P10 */ hw/net/rtl8139.c (3 lines): - line 670: /* FIXME: This should be merged into/replaced by eeprom93xx.c. */ - line 1039: /* TODO: scatter the packet over available receive ring descriptors space */ - line 3375: /* TODO: start of capability list, but no capability hw/display/virtio-gpu-virgl.c (3 lines): - line 178: info.flags & 1 /* FIXME: Y_0_TOP */, - line 448: /* TODO add security */ - line 452: /* TODO add security */ hw/ssi/aspeed_smc.c (3 lines): - line 370: * TODO: add support for READ4 (0x13) on AST2600 - line 511: * TODO (clg@kaod.org): stolen from xilinx_spips.c. Should move to a - line 784: * TODO: compute the CS from the DMA address and the segment include/hw/arm/omap.h (3 lines): - line 79: * TODO: Ideally we should have a clock framework that - line 100: /* TODO: clock framework (see above) */ - line 116: /* TODO: clock framework (see above) */ accel/tcg/cpu-exec.c (3 lines): - line 249: * TODO: gdb singlestep should only override gdb breakpoints, - line 291: * TODO: Perhaps better to record all of the TBs associated - line 360: * TODO: Delay swapping back to the read-write region of the TB hw/char/imx_serial.c (3 lines): - line 13: * TODO: - line 180: return 0x0; /* TODO */ - line 291: /* TODO */ hw/intc/openpic.c (3 lines): - line 501: /* TODO: on MPIC v4.0 only, set nomask for non-INT */ - line 956: /* TODO: EISR/EIMR */ - line 967: /* TODO: EISR/EIMR */ hw/pci/slotid_cap.c (3 lines): - line 23: /* TODO: error report? */ - line 39: /* TODO: store in eeprom? */ - line 48: /* TODO: cleanup config space? */ linux-user/alpha/signal.c (3 lines): - line 90: __put_user(0, &sc->sc_traparg_a0); /* FIXME */ - line 91: __put_user(0, &sc->sc_traparg_a1); /* FIXME */ - line 92: __put_user(0, &sc->sc_traparg_a2); /* FIXME */ hw/s390x/css.c (3 lines): - line 1892: /* TODO: Don't ignore mbk. */ - line 2251: /* TODO: Maybe use a static crw pool? */ - line 2329: /* TODO */ include/exec/memory.h (3 lines): - line 1492: * TODO: Currently we restrict @owner to being either NULL (for - line 1512: * TODO: Currently we restrict @owner to being either NULL (for - line 1541: * TODO: Currently we restrict @owner to being either NULL (for tcg/tcg-op-vec.c (3 lines): - line 374: /* TODO: Add TCG_TARGET_HAS_nand_vec when adding a backend supports it. */ - line 381: /* TODO: Add TCG_TARGET_HAS_nor_vec when adding a backend supports it. */ - line 388: /* TODO: Add TCG_TARGET_HAS_eqv_vec when adding a backend supports it. */ hw/usb/dev-smartcard-reader.c (3 lines): - line 855: /* TODO: unimplemented ATR T0 parameters */ - line 863: /* TODO: unimplemented ATR T1 parameters */ - line 1253: /* TODO: these errors should be more verbose and propagated to the guest.*/ hw/block/fdc-sysbus.c (2 lines): - line 108: fdctrl->dma_chann = dma_chann; /* FIXME */ - line 141: qdev_set_legacy_instance_id(dev, 0 /* io */, 2); /* FIXME */ hw/timer/hpet.c (2 lines): - line 548: * FIXME: Clamp period to reasonable min value? - line 567: * FIXME: Clamp period to reasonable min value? hw/arm/allwinner-a10.c (2 lines): - line 106: /* FIXME use qdev NIC properties instead of nd_table[] */ - line 124: /* FIXME use a qdev chardev prop instead of serial_hd() */ hw/i2c/pmbus_device.c (2 lines): - line 371: /* TODO: implement coefficients support */ - line 1567: /* TODO: include pmbus page info in vmstate */ hw/ipmi/ipmi_bmc_sim.c (2 lines): - line 1944: /* TODO: handle threshold sensor */ - line 1965: * TODO: generate event and event data bytes depending on the migration/rdma.c (2 lines): - line 3344: /* TODO: Change QEMUFileOps prototype to be signed: size_t => long - line 3366: * TODO: Synchronous, guaranteed unregistration (should not occur during hw/display/artist.c (2 lines): - line 838: * FIXME: is there a qemu helper for this? - line 1068: * FIXME: is there a qemu helper for this? hw/core/qdev-properties-system.c (2 lines): - line 257: * TODO Should this really be an error? If no, the old value - line 427: * TODO Should this really be an error? If no, the old value linux-user/signal.c (2 lines): - line 1004: /* FIXME: This is not threadsafe. */ - line 1154: /* FIXME: This is not threadsafe. */ bsd-user/elfload.c (2 lines): - line 264: /* FIXME - what to do if put_user() fails? */ - line 385: /* FIXME: This should use elf_ops.h */ accel/tcg/translate-all.c (2 lines): - line 183: * TODO: For user mode, see the caveat re host vs guest virtual - line 1481: * TODO: We don't need to re-do gen_intermediate_code, nor block/blkverify.c (2 lines): - line 83: /* TODO Implement option pass-through and set raw.filename here */ - line 87: /* TODO Allow multi-level nesting and set file.filename here */ util/cutils.c (2 lines): - line 651: /* This assumes int64_t is long long TODO relax */ - line 676: /* This assumes uint64_t is unsigned long long TODO relax */ linux-user/sparc/cpu_loop.c (2 lines): - line 59: /* FIXME - what to do if put_user() fails? */ - line 109: /* FIXME - what to do if get_user() fails? */ hw/core/loader.c (2 lines): - line 658: /* TODO: Implement other image types. */ - line 696: /* TODO: Check CPU type. */ hw/avr/atmega.c (2 lines): - line 87: [TIMER2] = { 0xb0, POWER0, 6, 0x70, 0x37, false }, /* TODO async */ - line 199: /* FIXME move that to avr_cpu_set_int() once 'sample' board is removed */ hw/pci-host/mv64361.c (2 lines): - line 524: /* FIXME: Should this be sent via the PCI bus somehow? */ - line 883: /* FIXME: PCI IRQ connections may be board specific */ hw/core/numa.c (2 lines): - line 776: /* TODO: once we support numa, assign to right node */ - line 787: /* TODO: once we support numa, assign to right node */ qemu-img.c (2 lines): - line 2647: /* TODO ultimately we should allow --target-image-opts - line 3835: * TODO At this point it is possible to check if any clusters that are hw/ppc/pnv_psi.c (2 lines): - line 147: /* TODO: Update FSP MR if/when we support FSP BAR */ - line 240: /* TODO: optimization, check mask here. That means hw/usb/hcd-ohci.c (2 lines): - line 20: * TODO: - line 1361: /* TODO: CSC is a wakeup event */ scripts/qapi/schema.py (2 lines): - line 15: # TODO catching name collisions in generated code would be nice - line 906: # TODO reject names that differ only in '_' vs. '.' vs. '-', block/qcow2-cluster.c (2 lines): - line 1827: * c) TODO: Request starts in the same cluster as the in-flight - line 1928: * TODO We might want to use bdrv_block_status(bs) here, but we're hw/mips/gt64xxx_pci.c (2 lines): - line 1038: /* FIXME: Malta specific hw assumptions ahead */ - line 1235: /* FIXME: Malta specific hw assumptions ahead */ hw/m68k/next-cube.c (2 lines): - line 863: /* Load RTC RAM - TODO: provide possibility to load contents from file */ - line 1023: /* TODO: */ hw/ide/microdrive.c (2 lines): - line 238: /* TODO: 8-bit accesses */ - line 303: /* TODO: 8-bit accesses */ qga/channel-win32.c (2 lines): - line 22: GIOCondition pending_events; /* TODO: use GAWatch.pollfd.revents */ - line 167: /* TODO: replace rs->pending with watch->revents */ net/tap-solaris.c (2 lines): - line 63: /* FIXME leaks like a sieve on error paths */ - line 64: /* FIXME suspicious: many errors are reported, then ignored */ hw/input/tsc210x.c (2 lines): - line 913: hw_error("%s: FIXME: bad SPI word width %i\n", __func__, len); - line 915: /* TODO: sequential reads etc - how do we make sure the host doesn't hw/ppc/pnv_xscom.c (2 lines): - line 42: * TODO: When the read/write comes from the monitor, NULL is - line 50: * TODO: Need a CPU helper to set HMER, also handle generation hw/intc/spapr_xive_kvm.c (2 lines): - line 30: * TODO: make a common KVMEnabledCPU layer for XICS and XIVE - line 703: uint32_t page_shift = 16; /* TODO: fix page_shift */ hw/isa/vt82c686.c (2 lines): - line 151: * FIXME: - line 513: return 0x2f8; /* FIXME: This should be settable via registers f2-f4 */ gdbstub.c (2 lines): - line 722: /* TODO: In user mode, we should use the task state PID */ - line 3519: * FIXME: it's a bit weird to allow using a mux chardev here hw/rdma/rdma_rm.c (2 lines): - line 280: /* TODO: Need to make sure pfn is between bar start address and - line 505: if (sgid_idx <= 0) { /* TODO check also less than bk.max_sgid */ include/qapi/visitor.h (2 lines): - line 296: * FIXME Should this be named visit_start_object, since it is also - line 653: * FIXME: Callers that try to output NULL *obj should not be allowed. hw/intc/xics.c (2 lines): - line 407: /* FIXME: filter by server#? */ - line 538: /* FIXME: filter by server#? */ hw/display/ati_2d.c (2 lines): - line 49: /* FIXME it is probably more complex than this and may need to be */ - line 131: /* FIXME: We only really need a temporary if src and dst overlap */ hw/usb/ccid-card-emulated.c (2 lines): - line 311: /* TODO: take a specific reader. i.e. track which reader - line 521: /* TODO: a passthru backened that works on local machine. third card type?*/ nbd/client.c (2 lines): - line 778: * TODO: Removing the x_dirty_bitmap hack will mean refactoring - line 1250: /* FIXME: Once the kernel module is patched to honor block sizes, ui/vdagent.c (2 lines): - line 27: /* TODO: migration isn't yet supported */ - line 599: * TODO: vdagent protocol is defined to be LE, hw/vfio/pci.c (2 lines): - line 1364: * TODO: Lookup table for known devices. - line 3266: * TODO - support passed fds... is this necessary? hw/9pfs/codir.c (2 lines): - line 48: * TODO: This will be removed for performance reasons. - line 88: * TODO: Here should be a warn_report_once() if lock failed. nbd/server.c (2 lines): - line 672: * TODO: is blk_bs(blk)->bl.opt_transfer appropriate? */ - line 1804: * TODO: Should we expand QMP NbdServerRemoveNode enum to allow a util/oslib-win32.c (2 lines): - line 122: /* FIXME: add proper locking */ - line 134: /* FIXME: add proper locking */ hw/net/net_tx_pkt.c (2 lines): - line 660: * TODO: if qemu would support >64K packets - add jumbo option check - line 669: * TODO: if qemu would support >64K packets backends/tpm/tpm_emulator.c (2 lines): - line 456: /* FIXME: make the function non-blocking, or it may block a VCPU */ - line 575: /* FIXME: tpm_util_test_tpmdev() accepts only on socket fd, as it also used hw/pci-host/raven.c (2 lines): - line 151: /* FIXME: handle endianness switch */ - line 280: /* TODO Remove once realize propagates to child devices. */ disas/arm.c (2 lines): - line 1187: {ARM_EXT_V4T, 0x4800, 0xF800, "ldr%c\t%8-10r, [pc, #%0-7W]\t(%0-7a)"}, /* TODO: Disassemble PC relative "LDR rD,=" */ - line 1758: /* FIXME: Unsure if info->bytes_per_chunk is the hw/sd/ssi-sd.c (2 lines): - line 170: /* FIXME: Check CRC. */ - line 379: /* FIXME use a qdev drive property instead of drive_get_next() */ semihosting/arm-compat-semi.c (2 lines): - line 494: * FIXME: in softmmu mode, the gdbstub will schedule our callback - line 1205: /* TODO: Make this use the limit of the loaded application. */ hw/pci/pci_bridge.c (2 lines): - line 154: /* TODO: this doesn't handle base = 0 limit = 2^64 - 1 correctly. - line 352: * TODO: We implement VGA Enable in the Bridge Control Register hw/char/omap_uart.c (2 lines): - line 30: SerialMM *serial; /* TODO */ - line 182: /* TODO: Should reuse or destroy current s->serial */ hw/char/virtio-serial-bus.c (2 lines): - line 239: /* TODO: detect a buffer that's too short, set NEEDS_RESET */ - line 1068: /* TODO: host to guest notifications can get dropped qobject/json-writer.c (2 lines): - line 232: * FIXME: g_string_append_printf() is locale dependent; but JSON - line 237: * FIXME: This risks printing Inf or NaN, which are not valid include/exec/cpu-all.h (2 lines): - line 167: * TODO: Improve address allocation to avoid this problem, and to - line 267: /* FIXME: Code that sets/uses this is broken and needs to go away. */ softmmu/vl.c (2 lines): - line 2659: /* FIXME: why isn't cpu_synchronize_all_post_init enough? */ - line 2686: * TODO Eventually we should call qmp_device_add() here to make sure it hw/timer/stellaris-gptm.c (2 lines): - line 182: /* TODO: Implement pause. */ - line 288: * TODO: in an ideal world we would model the effects of changing include/chardev/char.h (2 lines): - line 32: * port is still open. TODO: we should only send - line 255: bool internal; /* TODO: eventually use TYPE_USER_CREATABLE */ hw/mips/jazz.c (2 lines): - line 349: /* FIXME: we should enable DMA with a custom IsaDma device */ - line 375: /* FIXME: missing Jazz sound at 0x8000c000, rc4030[2] */ hw/ppc/ppc_booke.c (2 lines): - line 238: /* TODO: There's lots of complicated stuff to do here */ - line 359: /* TODO: Start the QEMU emulated watchdog if not running on KVM. hw/net/smc91c111.c (2 lines): - line 700: /* TODO: Flag overrun and receive errors. */ - line 750: /* TODO: Raise early RX interrupt? */ hw/intc/arm_gic_kvm.c (2 lines): - line 169: /* TODO: Capture is level-line is held high in the kernel */ - line 324: /* TODO: Consider checking compatibility with the IIDR ? */ hw/net/xen_nic.c (2 lines): - line 130: xen_pv_printf(&netdev->xendev, 0, "FIXME: extra info flag\n"); - line 135: xen_pv_printf(&netdev->xendev, 0, "FIXME: more data flag\n"); hw/usb/dev-mtp.c (2 lines): - line 1161: * TODO: Add support for Protection Status - line 1562: /* FIXME: not working for surrogate pairs */ hw/net/stellaris_enet.c (2 lines): - line 227: /* TODO: Implement MAC address filtering. */ - line 427: /* TODO: MII registers aren't modelled. hw/scsi/mptsas.c (2 lines): - line 1232: /* TODO: add a way for SCSIBusInfo's load_request to fail, - line 1406: /* TODO: test MSI support under Windows */ hw/arm/xlnx-versal.c (2 lines): - line 188: /* FIXME use qdev NIC properties instead of nd_table[] */ - line 277: * TODO: Connect the ALARM and SECONDS interrupts once our RTC model tools/virtiofsd/passthrough_seccomp.c (2 lines): - line 25: /* TODO ireg sem*() syscalls */ - line 82: SCMP_SYS(prctl), /* TODO restrict to just PR_SET_NAME? */ block/gluster.c (2 lines): - line 1292: * TODO: Once gluster provides a way for us to determine if the option - line 1648: * TODO: remove gluster+rdma interface support scripts/coverity-scan/model.c (2 lines): - line 76: // TODO: investigate impact of treating reads as producing - line 107: // TODO: investigate impact of treating reads as producing hw/ppc/spapr_hcall.c (2 lines): - line 328: /* FIXME: bounds check the address */ - line 940: /* TODO - Not Supported */ chardev/char-socket.c (2 lines): - line 257: /* TODO: IP and NOP need to be implemented later. */ - line 1422: /* TODO SOCKET_ADDRESS_FD where fd has AF_UNIX */ hw/misc/ivshmem.c (2 lines): - line 466: /* TODO handle error */ - line 541: /* TODO do we need to handle the error? */ hw/display/tc6393xb.c (2 lines): - line 151: // FIXME: how does the chip reflect the GPIO input level change? - line 388: 0); // FIXME: gnd storage-daemon/qemu-storage-daemon.c (2 lines): - line 222: /* TODO This interface is not stable until we QAPIfy it */ - line 259: /* TODO Catch duplicate monitor IDs */ hw/mips/fuloong2e.c (2 lines): - line 194: /* TODO: 2E reset stuff */ - line 269: /* TODO: support more than 256M RAM as highmem */ net/filter-buffer.c (2 lines): - line 48: * TODO: We should leave them queued. But currently there's no way - line 72: * FIXME: Even if the guest can't receive packets for some reasons, hw/display/blizzard.c (2 lines): - line 946: /* TODO: check if SDL 24-bit planes are not in the same format and - line 999: /* TODO */ include/exec/softmmu-semi.h (2 lines): - line 65: /* TODO: Make this something that isn't fixed size. */ - line 78: /* TODO: Make this something that isn't fixed size. */ softmmu/runstate.c (2 lines): - line 475: * TODO: Currently the available panic actions are: none, pause, and - line 825: /* TODO: unref root container, check all devices are ok */ hw/m68k/mcf5206.c (2 lines): - line 313: /* FIXME: currently hardcoded to 128Mb. */ - line 363: /* TODO: implement watchdog. */ hw/ppc/spapr_softmmu.c (2 lines): - line 48: /* FIXME: What WIMG combinations could be sensible for IO? - line 50: /* FIXME: Should we check against registered IO addresses? */ hw/scsi/spapr_vscsi.c (2 lines): - line 26: * TODO: - line 674: /* TODO handle case that requested size is wrong and migration/colo.c (2 lines): - line 468: * TODO: We may need a timeout mechanism to prevent COLO process - line 689: /* FIXME: This is unnecessary for periodic checkpoint mode */ block/vhdx.c (2 lines): - line 770: /* TODO: parse parent locator fields */ - line 1098: /* TODO: differencing files */ tools/virtiofsd/fuse_lowlevel.c (2 lines): - line 467: * FIXME: also avoid memory copy if there are multiple buffers - line 2379: * TODO: This is after a hard reboot typically, we need to do qobject/json-parser.c (2 lines): - line 524: /* FIXME dependent on locale; a pervasive issue in QEMU */ - line 525: /* FIXME our lexer matches RFC 8259 in forbidding Inf or NaN, hw/block/pflash_cfi02.c (2 lines): - line 86: /* FIXME: implement array device properties */ - line 406: /* TODO set error bit in status */ util/oslib-posix.c (1 line): - line 488: * TODO: get a better solution from kernel so we linux-user/hexagon/target_elf.h (1 line): - line 24: /* FIXME - Disable instructions that are newer than the specified arch */ hw/i386/pc_q35.c (1 line): - line 311: /* TODO: Populate SPD eeprom data. */ hw/arm/spitz.c (1 line): - line 216: /* FIXME use a qdev drive property instead of drive_get() */ monitor/hmp.c (1 line): - line 1119: /* FIXME: is it useful to try autoload modules here ??? */ util/qemu-coroutine-lock.c (1 line): - line 59: /* TODO: OSv implements wait morphing here, where the wakeup hw/i386/pc_piix.c (1 line): - line 285: /* TODO: Populate SPD eeprom data. */ hw/arm/stm32f205_soc.c (1 line): - line 108: * TODO: ideally we should model the SoC RCC and its ability to hw/usb/dev-network.c (1 line): - line 1334: /* TODO: remove the nd_table[] entry */ backends/tpm/tpm_passthrough.c (1 line): - line 85: /* FIXME: protect shared variables or use other sync mechanism */ qapi/string-output-visitor.c (1 line): - line 207: /* FIXME: print_type_int64 mishandles values over INT64_MAX */ hw/arm/raspi.c (1 line): - line 274: /* FIXME: Remove when we have custom CPU address space support */ disas/libvixl/vixl/utils.h (1 line): - line 247: // TODO: rename/refactor to make it specific to instructions. hw/misc/mps2-scc.c (1 line): - line 193: * TODO on some boards bit 1 is CPU_WAIT. hw/arm/xlnx-zynqmp.c (1 line): - line 544: /* FIXME use qdev NIC properties instead of nd_table[] */ hw/display/omap_lcdc.c (1 line): - line 303: /* TODO: fill the rest of the panel with DPD */ include/hw/pci-host/q35.h (1 line): - line 194: * TODO: make sure there would have no conflict with real PCI bus qapi/qapi-visit-core.c (1 line): - line 344: /* TODO: Fix callers to not pass NULL when they mean "", so that we hw/ppc/e500.c (1 line): - line 60: /* TODO: parameterize */ softmmu/icount.c (1 line): - line 191: /* FIXME: This is a very crude algorithm, somewhat prone to oscillation. */ hw/avr/arduino.c (1 line): - line 11: /* TODO: Implement the use of EXTRAM */ hw/vfio/spapr.c (1 line): - line 173: * FIXME: For VFIO iommu types which have KVM acceleration to monitor/monitor.c (1 line): - line 401: * TODO: remove this, make it re-enter safe. hw/display/pl110.c (1 line): - line 429: /* TODO: Implement vertical refresh. */ hw/tpm/tpm_tis_common.c (1 line): - line 241: /* FIXME: report error if ret != 0 */ ui/console.c (1 line): - line 865: /* TODO: has to be implemented */ linux-user/ioctls.h (1 line): - line 403: * FIXME: create a macro to define this kind of entry hw/arm/mainstone.c (1 line): - line 90: * TODO: Compare with Linux code and test real hardware. hw/acpi/pcihp.c (1 line): - line 168: * TODO: really needed? hw/net/xilinx_ethlite.c (1 line): - line 28: #include "cpu.h" /* FIXME should not use tswap* */ hw/i2c/smbus_slave.c (1 line): - line 14: /* TODO: Implement PEC. */ hw/ssi/xilinx_spips.c (1 line): - line 378: /* FIXME: move magic number definition somewhere sensible */ python/setup.cfg (1 line): - line 138: # TODO: Remove after we opt in to Pylint 2.8.3. See commit msg. hw/sensor/max34451.c (1 line): - line 415: * TODO: hardware behaviour is to move the contents of volatile hw/intc/imx_avic.c (1 line): - line 15: * TODO: implement vectors. include/hw/pci/pci_bridge.h (1 line): - line 118: /* TODO: add this define to pci_regs.h in linux and then in qemu. */ block/parallels.c (1 line): - line 225: * FIXME: 1. previous write_zeroes may be redundant tcg/arm/tcg-target.c.inc (1 line): - line 509: * TODO: define constraints for: hw/char/terminal3270.c (1 line): - line 91: * TODO: hw/acpi/aml-build.c (1 line): - line 2173: /* TODO: extra fields need to be added to support revisions above rev5 */ hw/arm/omap_sx1.c (1 line): - line 201: /* TODO: fix next line */ disas/sh4.c (1 line): - line 1506: /* FIXME mvs: movx insns print as ".word 0x%03x", insn & 0xfff hw/arm/stm32f100_soc.c (1 line): - line 91: * TODO: ideally we should model the SoC RCC and its ability to hw/net/spapr_llan.c (1 line): - line 707: return H_HARDWARE; /* FIXME actually handle this */ hw/scsi/megasas.c (1 line): - line 2363: /* TODO: check msix_init's error, and should fail on msix=on */ disas/libvixl/vixl/a64/instructions-a64.h (1 line): - line 461: // TODO: Make the return types of these functions consistent. hw/virtio/virtio-pci.c (1 line): - line 55: /* DeviceState to VirtIOPCIProxy. For use off data-path. TODO: use QOM. */ ui/gtk.c (1 line): - line 571: /* FIXME: Assume it will work, actual check done after realize */ hw/ppc/pnv.c (1 line): - line 829: * TODO: should we decide on how many chips we can create based hw/misc/bcm2835_property.c (1 line): - line 403: /* TODO: connect to MAC address of USB NIC device, once we emulate it */ hw/block/block.c (1 line): - line 24: * TODO Since callers don't either, this can result in confusing hw/arm/bcm2836.c (1 line): - line 133: /* TODO: this should be converted to a property of ARM_CPU */ scripts/qapi/types.py (1 line): - line 357: # TODO Worth changing the visitor signature, so we could hw/intc/exynos4210_combiner.c (1 line): - line 312: /* FIXME: what if irq is pending, allowed by mask, and we allow it hw/ppc/spapr.c (1 line): - line 2981: /* FIXME: Should register things through the MachineState's qdev disas/libvixl/vixl/a64/decoder-a64.cc (1 line): - line 332: // TODO: VisitLoadStoreRegisterOffsetUnpriv. tcg/region.c (1 line): - line 626: /* TODO: Convert "ret" to a human readable error message. */ hw/i2c/smbus_eeprom.c (1 line): - line 174: /* FIXME: use an array of byte or block backend property? */ hw/misc/pca9552.c (1 line): - line 124: /* TODO */ ui/spice-display.c (1 line): - line 1023: bool y_0_top = false; /* FIXME */ block/blkdebug.c (1 line): - line 361: /* TODO Allow multi-level nesting and set file.filename here */ hw/input/adb-kbd.c (1 line): - line 318: /* FIXME: take handler into account when translating qcode */ scripts/codeconverter/codeconverter/qom_type_info.py (1 line): - line 956: #TODO: need to find out what's the parent class type... hw/misc/mips_cmgcr.c (1 line): - line 122: /* TODO: BEV_BASE and SELECT_BEV */ hw/s390x/ipl.c (1 line): - line 253: * TODO: there should be a better way to do this. tcg/tcg-op.c (1 line): - line 2710: * TODO: Move this to translator_loop, so that all const hw/9pfs/9p-local.c (1 line): - line 345: /* FIXME: this should be handled with fchmodat(AT_SYMLINK_NOFOLLOW). ui/vnc-enc-zrle.c.inc (1 line): - line 118: if (*++ptr != pix) { /* FIXME */ hw/adc/aspeed_adc.c (1 line): - line 334: /* TODO: update Global IRQ status register on AST2600 (Need specs) */ hw/gpio/pl061.c (1 line): - line 458: * FIXME: For the LM3S6965, not all of the PL061 instances have the block/qcow2-refcount.c (1 line): - line 1152: /* TODO Remember the clusters to free them later and avoid leaking */ hw/pci-bridge/pci_bridge_dev.c (1 line): - line 109: /* TODO: spec recommends using 64 bit prefetcheable BAR. block/mirror.c (1 line): - line 1149: /* TODO Translate this into permission system. Current definition of block/rbd.c (1 line): - line 527: /* FIXME Deprecate and remove keypairs or make it available in QMP. */ hw/misc/aspeed_scu.c (1 line): - line 584: * TODO: Check this is true for ast2600 linux-user/microblaze/cpu_loop.c (1 line): - line 75: /* FIXME: if branch was immed, replay the imm as well. */ hw/m68k/next-kbd.c (1 line): - line 264: .unmigratable = 1, /* TODO: Implement this when m68k CPU is migratable */ hw/s390x/s390-pci-bus.c (1 line): - line 1368: * TODO: add state handling here, so migration works at least with hw/9pfs/virtio-9p-device.c (1 line): - line 42: /* FIXME: we should batch these completions */ include/hw/pci/pci.h (1 line): - line 749: * FIXME: PCI does not work this way. hw/acpi/tco.c (1 line): - line 146: /* TODO: cause an interrupt, as selected by the TCO_INT_SEL bits */ hw/gpio/aspeed_gpio.c (1 line): - line 810: /* TODO: respect the reset tolerance registers */ bsd-user/netbsd/target_os_elf.h (1 line): - line 85: /* FIXME - check return value of memcpy_to_target() for failure */ hw/arm/boot.c (1 line): - line 312: /* TODO: handle multiple chips on one ATAG list */ chardev/char-parallel.c (1 line): - line 300: /* FIXME: close fd? */ net/colo-compare.c (1 line): - line 321: * TODO support ip fragment, Out-Of-Order ui/gtk-gl-area.c (1 line): - line 206: /* FIXME */ tcg/ppc/tcg-target.c.inc (1 line): - line 1917: /* FIXME: when the branch is in range, we could avoid r12 load if we scripts/qapi/commands.py (1 line): - line 312: # FIXME: If T is a user-defined type, the user is responsible disas/libvixl/vixl/a64/disasm-a64.h (1 line): - line 58: // TODO: This currently doesn't allow renaming of V registers. hw/scsi/scsi-bus.c (1 line): - line 841: * FIXME: clearing unit attention conditions upon autosense should be done hw/i2c/core.c (1 line): - line 104: /* TODO: Make this handle multiple masters. */ hw/ppc/spapr_irq.c (1 line): - line 519: * indicates XICS, even if we have ic-mode=xive. TODO: clean scripts/qapi/events.py (1 line): - line 87: # FIXME: Our declaration of local variables (and of 'errp' in the util/qemu-sockets.c (1 line): - line 1286: * TODO SOCKET_ADDRESS_TYPE_FD when fd is AF_INET or AF_INET6 hw/dma/rc4030.c (1 line): - line 242: val = 7; /* FIXME: should be read from EISA controller */ hw/sd/pl181.c (1 line): - line 55: uint32_t fifo[PL181_FIFO_LEN]; /* TODO use Fifo32 */ hw/display/vga.c (1 line): - line 1907: /* TODO: update palette */ block/create.c (1 line): - line 86: /* TODO Running in the main context. Block drivers need to error out or add hw/xen/xen-legacy-backend.c (1 line): - line 22: * TODO: add some xenbus / xenstore concepts overview here. hw/i2c/smbus_ich9.c (1 line): - line 90: /* TODO bar0, bar1: 64bit BAR support*/ hw/audio/via-ac97.c (1 line): - line 8: * TODO: This is entirely boiler plate just registering empty PCI devices hw/rdma/vmw/pvrdma_dev_ring.c (1 line): - line 39: /* TODO: Give a moment to think if we want to redo driver settings hw/audio/sb16.c (1 line): - line 643: case 0xfc: /* FIXME */ hw/arm/nrf51_soc.c (1 line): - line 83: * TODO: model the lack of systick (currently the armv7m object chardev/char-ringbuf.c (1 line): - line 196: * FIXME should read only complete, valid UTF-8 characters up util/qemu-option.c (1 line): - line 1051: * TODO We'll want to use types appropriate for opt->desc->type, but qom/object.c (1 line): - line 29: /* TODO: replace QObject with a simpler visitor to avoid a dependency hw/pci-host/versatile.c (1 line): - line 462: /* TODO Remove once realize propagates to child devices. */ tcg/s390x/tcg-target-con-str.h (1 line): - line 16: * TODO: Add something to the register allocator to allow hw/usb/hcd-dwc2.h (1 line): - line 153: /* TODO - implement FIFO registers for slave mode */ scripts/qapi/introspect.py (1 line): - line 87: # TODO: Remove after Python 3.7 adds @dataclass: hw/net/virtio-net.c (1 line): - line 1561: /* FIXME this cast is evil */ hw/ppc/pnv_pnor.c (1 line): - line 68: * TODO: Check endianness: skiboot is BIG, Aspeed AHB is LITTLE, flash disas/libvixl/vixl/a64/assembler-a64.h (1 line): - line 822: // TODO: The comment below considers average case complexity for our include/qemu/job.h (1 line): - line 558: * FIXME: Make the below statement universally true: hw/net/e1000.c (1 line): - line 1715: /* TODO: RST# value should be 0, PCI spec 6.2.4 */ hw/acpi/core.c (1 line): - line 658: * TODO: fix ich9.c and drop the extra allocation. hw/i386/xen/xen-hvm.c (1 line): - line 1475: /* FIXME: how about if we overflow the page here? */ hw/arm/cubieboard.c (1 line): - line 96: /* TODO create and connect IDE devices for ide_drive_get() */ hw/misc/mac_via.c (1 line): - line 540: /* FIXME */ hw/usb/hcd-uhci.c (1 line): - line 1171: /* TODO: reset value should be 0. */ hw/misc/bcm2835_mbox.c (1 line): - line 115: /* TODO (?): Try to push pending requests from the arm->vc mbox */ hw/riscv/sifive_u.c (1 line): - line 919: /* FIXME use qdev NIC properties instead of nd_table[] */ include/qom/object.h (1 line): - line 918: * it. (FIXME: perhaps this can be detected at type definition time?) hw/scsi/virtio-scsi.c (1 line): - line 146: * TODO: always disable this workaround for virtio 1.0 devices. monitor/monitor-internal.h (1 line): - line 47: * TODO lift the restriction hw/timer/imx_epit.c (1 line): - line 209: * TODO: could we 'break' here? following operations appear net/colo.c (1 line): - line 57: * TODO: support vlan. hw/ppc/vof.c (1 line): - line 571: /* FIXME: there is no backend(s) yet so just call a trace */ include/hw/intc/imx_avic.h (1 line): - line 15: * TODO: implement vectors. hw/char/cadence_uart.c (1 line): - line 227: * TODO: find something better ui/vnc.c (1 line): - line 3944: /* TODO SOCKET_ADDRESS_TYPE_FD when fd has AF_UNIX */ scripts/qapi/common.py (1 line): - line 228: # TODO Doc generated for conditions needs polish hw/virtio/virtio-mmio.c (1 line): - line 682: /* TODO: need to check if kvm-arm supports irqfd */ replay/replay.c (1 line): - line 215: /* FIXME: this is temporary fix, other checkpoints hw/smbios/smbios.c (1 line): - line 563: t->bios_rom_size = 0; /* hardcoded in SeaBIOS with FIXME comment */ migration/ram.c (1 line): - line 3616: /* TODO: duplicated with ram_init_bitmaps */ hw/intc/omap_intc.c (1 line): - line 547: /* TODO: Make a bitmap (or sizeof(char)map) of access privileges hw/s390x/s390-skeys.c (1 line): - line 212: * TODO: Modern Linux doesn't use storage keys unless running KVM guests hw/virtio/virtio.c (1 line): - line 1811: /* TODO: teach all callers that this can fail, and return failure instead include/hw/pci-host/pnv_phb4_regs.h (1 line): - line 484: /* FIXME: check this field with Eric and add a B, C and D */ hw/display/xenfb.c (1 line): - line 918: * FIXME: qemu can't un-init gfx display (yet?). include/hw/misc/pvpanic.h (1 line): - line 25: /* The bit of supported pv event, TODO: include uapi header and remove this */ disas/libvixl/vixl/compiler-intrinsics.h (1 line): - line 98: // TODO: The implementations could be improved for sizes different from 32bit backends/hostmem.c (1 line): - line 272: /* TODO: convert access to globals to compat properties */ hw/rtc/ds1338.c (1 line): - line 148: /* TODO: Implement CH (stop) bit. */ block/qcow2-bitmap.c (1 line): - line 1642: * TODO it is better to reuse these clusters */ hw/block/fdc.c (1 line): - line 1941: /* TODO: implement format using DMA expected by the Bochs BIOS net/vhost-user.c (1 line): - line 303: * FIXME: better handle failure in vhost code, remove bh block/quorum.c (1 line): - line 661: /* FIXME: rewrite failed children if acb->children_read > 1? */ hw/timer/digic-timer.c (1 line): - line 145: * FIXME: there is no documentation on Digic timer hw/pci-host/pnv_phb3_pbcq.c (1 line): - line 268: /* TODO: Fix OPAL to do that: establish default BAR values */ hw/usb/host-libusb.c (1 line): - line 551: /* FIXME: check interval (for now assume one xfer per frame) */ include/hw/misc/mips_itu.h (1 line): - line 49: TODO: support >64 threads ? */ hw/arm/sabrelite.c (1 line): - line 64: * TODO: Ideally we would expose the chip select and spi bus on the hw/core/qdev.c (1 line): - line 602: * TODO: change .realized property to enum that states hw/isa/pc87312.c (1 line): - line 379: /* FIXME use a qdev drive property instead of drive_get() */ hw/timer/avr_timer16.c (1 line): - line 29: * XXX TODO: Power Reduction Register support hw/pci/pcie_aer.c (1 line): - line 386: /* TODO: Shouldn't we set PCI_STATUS_SIG_SYSTEM_ERROR? hw/scsi/scsi-generic.c (1 line): - line 743: * anyway. (TODO: they could also send MODE SENSE). hw/display/cirrus_vga.c (1 line): - line 50: * TODO: hw/sensor/dps310.c (1 line): - line 75: /* TODO: assert these after some timeout ? */ hw/char/xen_console.c (1 line): - line 211: * FIXME: sure we want to support implicit hw/display/bcm2835_fb.c (1 line): - line 69: * TODO: cache translation, rather than doing this each time! include/hw/pci/pcie_regs.h (1 line): - line 4: * TODO: blockdev-nbd.c (1 line): - line 152: /* TODO SOCKET_ADDRESS_TYPE_FD where fd has AF_INET or AF_INET6 */ hw/i386/x86.c (1 line): - line 379: /* TODO: move socket_id/core_id/thread_id checks into x86_cpu_realizefn() include/block/block_int.h (1 line): - line 512: /* TODO Better pass a option string/QDict/QemuOpts to add any rule? */ hw/rdma/rdma_backend.c (1 line): - line 846: /* TODO: Query QP to get max_inline_data and save it to be used in send */ hw/hppa/lasi.c (1 line): - line 213: break; /* XXX: TODO: Reset various devices. */ linux-user/xtensa/target_syscall.h (1 line): - line 13: } xtregs_opt_t; /* TODO */ hw/vfio/pci-quirks.c (1 line): - line 997: * TODO - Some Nvidia devices provide config access to their companion HDA hw/usb/hcd-xhci-pci.c (1 line): - line 158: /* TODO check for errors, and should fail when msix=on */ hw/arm/xlnx-zcu102.c (1 line): - line 234: /* TODO create and connect IDE devices for ide_drive_get() */ hw/virtio/vhost-backend.c (1 line): - line 394: /* FIXME: report device iotlb error */ block/nvme.c (1 line): - line 1571: /* FIXME: we may run out of IOVA addresses after repeated tcg/tcg.c (1 line): - line 4268: * TODO: Move this into translate-all.c with the rest of the hw/display/cirrus_vga_isa.c (1 line): - line 66: /* FIXME not qdev yet */ block/commit.c (1 line): - line 59: /* FIXME: bdrv_drop_intermediate treats total failures and partial failures hw/adc/max111x.c (1 line): - line 84: /* FIXME: When should the IRQ be lowered? */ hw/hyperv/vmbus.c (1 line): - line 2283: * FIXME: if vmbus_resched() is called from within vmbus_do_run(), it hw/ide/cmd646.c (1 line): - line 291: /* TODO: RST# value should be 0 */ hw/arm/allwinner-h3.c (1 line): - line 361: /* FIXME use qdev NIC properties instead of nd_table[] */ audio/paaudio.c (1 line): - line 419: * TODO: This currently expects the only frontend supporting more than 2 hw/pci/msi.c (1 line): - line 50: * TODO: some existing controllers violate the above rule. Identify and fix them. hw/remote/proxy-memory-listener.c (1 line): - line 23: * TODO: get_fd_from_hostaddr(), proxy_mrs_can_merge() and tools/ebpf/rss.bpf.c (1 line): - line 362: } else if (l4_protocol == IPPROTO_UDP) { /* TODO: add udplite? */ hw/intc/pl190.c (1 line): - line 198: /* TODO: Protection (supervisor only access) is not implemented. */ linux-user/flatload.c (1 line): - line 762: /* FIXME - handle put_user() failures */ util/cacheflush.c (1 line): - line 31: * TODO: unify this with cacheinfo.c. hw/display/framebuffer.c (1 line): - line 13: /* TODO: hw/alpha/typhoon.c (1 line): - line 670: /* TODO: A translation failure here ought to set PCI error codes on the hw/misc/macio/cuda.c (1 line): - line 258: /* FIXME: check what real hardware does */ hw/arm/strongarm.c (1 line): - line 117: /* FIXME: reflect DIM */ hw/ssi/imx_spi.c (1 line): - line 229: /* TODO: We should also use TDR and RDR bits */ hw/arm/stm32f405_soc.c (1 line): - line 114: * TODO: ideally we should model the SoC RCC and its ability to block/block-copy.c (1 line): - line 58: QemuCoSleep sleep; /* TODO: protect API with a lock */ hw/display/pxa2xx_lcd.c (1 line): - line 21: /* FIXME: For graphic_rotate. Should probably be done in common code. */ hw/input/ps2.c (1 line): - line 551: /* FIXME: break code should be configured on a key by key basis */ qemu-keymap.c (1 line): - line 56: /* TODO: make ui/keymap.c parser accept QKeyCode names */ include/hw/usb/hcd-musb.h (1 line): - line 33: /* TODO convert hcd-musb to QOM/qdev and remove MUSBReadFunc/MUSBWriteFunc */ hw/char/mcf_uart.c (1 line): - line 110: /* TODO: Implement IPCR. */ qga/main.c (1 line): - line 207: /* TODO: use this in place of all post-fork() fclose(std*) callers */ hw/arm/smmu-internal.h (1 line): - line 70: * TODO: At the moment all transactions are considered as privileged (EL1) hw/char/riscv_htif.c (1 line): - line 84: /* TODO - we need to check whether mfromhost is zero which indicates util/vhost-user-server.c (1 line): - line 315: /* TODO vu_message_write() spins if non-blocking! */ include/hw/net/npcm7xx_emc.h (1 line): - line 121: /* TODO: Add error fields and support simulated errors? */ hw/char/sh_serial.c (1 line): - line 109: /* TODO : For SH7751, SCIF mask should be 0xfb. */ include/sysemu/block-backend.h (1 line): - line 20: * TODO Have to include block/block.h for a bunch of block layer pc-bios/s390-ccw/virtio.c (1 line): - line 81: /* FIXME: make use of TPI, for that enable subchannel and isc */ hw/tricore/tc27x_soc.c (1 line): - line 118: /* TODO: Control Cache mapping with Memory Test Unit (MTU) */ hw/m68k/mcf5208.c (1 line): - line 249: /* TODO: Configure BARs. */ hw/microblaze/petalogix_ml605_mmu.c (1 line): - line 140: /* FIXME: attach to the sysbus instead */ migration/postcopy-ram.h (1 line): - line 140: /* ufd is a pointer to the struct uffd_msg *TODO: more Portable! */ linux-user/vm86.c (1 line): - line 81: /* FIXME - should return an error */ hw/dma/pl330.c (1 line): - line 1249: /* TODO: Is it all right to execute everything or should we do per-cycle hw/ppc/mac_newworld.c (1 line): - line 384: /* TODO: additional PCI buses only wired up for 32-bit machines */ hw/usb/xlnx-versal-usb2-ctrl-regs.c (1 line): - line 85: * TODO: This should also clear USBSTS.HSE field in USB XHCI register. hw/usb/dev-uas.c (1 line): - line 618: /* FIXME: queue notification to status pipe? */ hw/nios2/10m50_devboard.c (1 line): - line 75: /* Create CPU -- FIXME */ hw/audio/gusemu_hal.c (1 line): - line 26: * TODO: check mixer: see 7.20 of sdk for panning pos (applies to all gus models?)? hw/net/rocker/rocker.c (1 line): - line 658: /* TODO: hw/ssi/xilinx_spi.c (1 line): - line 288: /* FIXME: reset irq and sr state to empty queues. */ hw/core/bus.c (1 line): - line 200: /* TODO: recursive realization */ hw/arm/highbank.c (1 line): - line 386: /* TODO create and connect IDE devices for ide_drive_get() */ include/hw/core/cpu.h (1 line): - line 398: /* TODO Move common fields from CPUArchState here. */ scripts/checkpatch.pl (1 line): - line 1603: # TODO: properly check we're in a code block hw/net/xgmac.c (1 line): - line 224: * FIXME: these cases of malformed tx descriptors (bad sizes) hw/core/generic-loader.c (1 line): - line 199: * TODO: Improve the device_add functionality to allow resets to be hw/display/jazz_led.c (1 line): - line 237: /* TODO: draw the segments */ hw/sd/pxa2xx_mmci.c (1 line): - line 229: request.crc = 0; /* FIXME */ bsd-user/openbsd/target_os_elf.h (1 line): - line 85: /* FIXME - check return value of memcpy_to_target() for failure */ include/hw/resettable.h (1 line): - line 33: * TODO: Support has to be added to handle more types. In particular, backends/rng-egd.c (1 line): - line 108: /* FIXME we should resubmit pending requests when the CDS reconnects. */ net/net.c (1 line): - line 1065: /* FIXME drop when all init functions store an Error */ pc-bios/vof/vof.lds (1 line): - line 26: /* FIXME bss at end ??? */ util/qemu-thread-posix.c (1 line): - line 588: /* TODO avoid SIGBUS loss on macOS */ ui/spice-app.c (1 line): - line 95: /* TODO: set echo for frontends QMP and qtest */ hw/arm/smmu-common.c (1 line): - line 195: /* TODO: guarantee 64-bit single-copy atomicity */ hw/mips/loongson3_virt.c (1 line): - line 485: /* TODO: TCG will support all CPU types */ hw/sensor/tmp421.c (1 line): - line 195: /* FIXME: check for channel enablement in config registers */ hw/arm/musca.c (1 line): - line 98: * TODO this should really be different for the two cores, but we softmmu/qemu-seccomp.c (1 line): - line 306: /* FIXME: use seccomp_api_get() >= 2 check when released */ accel/tcg/cputlb.c (1 line): - line 722: * TODO: Perhaps allow bits to be a few bits less than the size. hw/intc/arm_gic.c (1 line): - line 162: /* TODO: Many places that call this routine could be optimized. */ hw/ppc/pnv_bmc.c (1 line): - line 31: /* TODO: include definition in ipmi.h */ softmmu/cpus.c (1 line): - line 651: * FIXME: should not return to device code in case crypto/hash.c (1 line): - line 51: * TODO: hw/m68k/an5206.c (1 line): - line 52: /* TODO: allow changing MBAR and RAMBAR. */ hw/usb/ccid-card-passthru.c (1 line): - line 38: /* TODO: do we still need this? */ scripts/qapi/visit.py (1 line): - line 386: # TODO Worth changing the visitor signature, so we could linux-user/syscall_defs.h (1 line): - line 1686: /* FIXME: Microblaze no-mmu user-space has a difference stat64 layout... */ linux-user/fd-trans.c (1 line): - line 651: /* FIXME: only used by CAN */ contrib/vhost-user-gpu/vhost-user-gpu.c (1 line): - line 843: g_warning("TODO handle ctrl %x\n", cmd->cmd_hdr.type); linux-user/hppa/target_signal.h (1 line): - line 82: * TODO: We should be able to use a VDSO to address this, by providing hw/net/rocker/rocker_fp.c (1 line): - line 74: /* XXX TODO implement and test setting mac addr hw/display/exynos4210_fimd.c (1 line): - line 1142: /* TODO: add .exit and unref the region there. Not needed yet since sysbus