third_party/virtualbox/src/VBox/Devices/Network/DevE1000.cpp
/**
 * Read handler for unimplemented registers.
 *
 * Merely reports reads from unimplemented registers.
 *
 * @returns VBox status code.
 *
 * @param   pThis       The device state structure.
 * @param   offset      Register offset in memory-mapped frame.
 * @param   index       Register index in register array.
 * @thread  EMT
 */
Read handler for unimplemented registers.
Merely reports reads from unimplemented registers.

@returns VBox status code.

@param   pThis       The device state structure.
@param   offset      Register offset in memory-mapped frame.
@param   index       Register index in register array.
@thread  EMT
Read handler for unimplemented registers . Merely reports reads from unimplemented registers . @returns VBox status code . @param pThis The device state structure . @param offset Register offset in memory - mapped frame . @param index Register index in register array . @thread EMT
static int e1kRegReadUnimplemented(PE1KSTATE pThis, uint32_t offset, uint32_t index, uint32_t *pu32Value)
{
    RT_NOREF3(pThis, offset, index);
    E1kLog(("%s At %08X read (00000000) attempt from unimplemented register %s (%s)\n",
            pThis->szPrf, offset, g_aE1kRegMap[index].abbrev, g_aE1kRegMap[index].name));
    *pu32Value = 0;
    return VINF_SUCCESS;
}
static int e1kRegReadUnimplemented ( PE1KSTATE pThis , uint32_t offset , uint32_t index , uint32_t * pu32Value ) { RT_NOREF3 ( pThis , offset , index ) ; E1kLog ( ( " \n " , pThis -> szPrf , offset , g_aE1kRegMap [ index ] . abbrev , g_aE1kRegMap [ index ] . name ) ) ; * pu32Value = 0 ; return VINF_SUCCESS ; }
Read handler for unimplemented registers.
Read handler for unimplemented registers .