eeprom93xx.c (0bbac62618356794097b99a9b8b7634357170b03) eeprom93xx.c (0430891ce162b986c6e02a7729a942ecd2a32ca4)
1/*
2 * QEMU EEPROM 93xx emulation
3 *
4 * Copyright (c) 2006-2007 Stefan Weil
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or

--- 21 unchanged lines hidden (view full) ---

30 * eeprom93xx_read - read data from the EEPROM
31 * eeprom93xx_write - write data to the EEPROM
32 * eeprom93xx_data - get EEPROM data array for external manipulation
33 *
34 * Todo list:
35 * - No emulation of EEPROM timings.
36 */
37
1/*
2 * QEMU EEPROM 93xx emulation
3 *
4 * Copyright (c) 2006-2007 Stefan Weil
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or

--- 21 unchanged lines hidden (view full) ---

30 * eeprom93xx_read - read data from the EEPROM
31 * eeprom93xx_write - write data to the EEPROM
32 * eeprom93xx_data - get EEPROM data array for external manipulation
33 *
34 * Todo list:
35 * - No emulation of EEPROM timings.
36 */
37
38#include "qemu/osdep.h"
38#include "hw/hw.h"
39#include "hw/nvram/eeprom93xx.h"
40
41/* Debug EEPROM emulation. */
42//~ #define DEBUG_EEPROM
43
44#ifdef DEBUG_EEPROM
45#define logout(fmt, ...) fprintf(stderr, "EEPROM\t%-24s" fmt, __func__, ## __VA_ARGS__)

--- 291 unchanged lines hidden ---
39#include "hw/hw.h"
40#include "hw/nvram/eeprom93xx.h"
41
42/* Debug EEPROM emulation. */
43//~ #define DEBUG_EEPROM
44
45#ifdef DEBUG_EEPROM
46#define logout(fmt, ...) fprintf(stderr, "EEPROM\t%-24s" fmt, __func__, ## __VA_ARGS__)

--- 291 unchanged lines hidden ---