summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/s3c2400.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/machine/s3c2400.h')
-rw-r--r--src/emu/machine/s3c2400.h80
1 files changed, 40 insertions, 40 deletions
diff --git a/src/emu/machine/s3c2400.h b/src/emu/machine/s3c2400.h
index d59e5ee4120..f1e1ee4f4d5 100644
--- a/src/emu/machine/s3c2400.h
+++ b/src/emu/machine/s3c2400.h
@@ -38,10 +38,10 @@ class s3c2400_device : public device_t
public:
s3c2400_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock);
~s3c2400_device() { global_free(m_token); }
-
+
// access to legacy token
void *token() const { assert(m_token != NULL); return m_token; }
-
+
// device-level overrides
virtual void device_config_complete();
virtual void device_start();
@@ -49,7 +49,7 @@ public:
private:
// internal state
void *m_token;
-public:
+public:
UINT32 screen_update(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
};
@@ -407,17 +407,17 @@ void s3c2400_uart_fifo_w( device_t *device, int uart, UINT8 data);
TYPE DEFINITIONS
*******************************************************************************/
-struct s3c24xx_memcon_regs_t
+struct s3c24xx_memcon_regs_t
{
UINT32 data[0x34/4];
};
-struct s3c24xx_usbhost_regs_t
+struct s3c24xx_usbhost_regs_t
{
UINT32 data[0x5C/4];
};
-struct s3c24xx_irq_regs_t
+struct s3c24xx_irq_regs_t
{
UINT32 srcpnd;
UINT32 intmod;
@@ -427,7 +427,7 @@ struct s3c24xx_irq_regs_t
UINT32 intoffset;
};
-struct s3c24xx_dma_regs_t
+struct s3c24xx_dma_regs_t
{
UINT32 disrc;
UINT32 didst;
@@ -438,7 +438,7 @@ struct s3c24xx_dma_regs_t
UINT32 dmasktrig;
};
-struct s3c24xx_clkpow_regs_t
+struct s3c24xx_clkpow_regs_t
{
UINT32 locktime;
UINT32 mpllcon;
@@ -448,7 +448,7 @@ struct s3c24xx_clkpow_regs_t
UINT32 clkdivn;
};
-struct s3c24xx_lcd_regs_t
+struct s3c24xx_lcd_regs_t
{
UINT32 lcdcon1;
UINT32 lcdcon2;
@@ -466,12 +466,12 @@ struct s3c24xx_lcd_regs_t
UINT32 tpal;
};
-struct s3c24xx_lcdpal_regs_t
+struct s3c24xx_lcdpal_regs_t
{
UINT32 data[0x400/4];
};
-struct s3c24xx_uart_regs_t
+struct s3c24xx_uart_regs_t
{
UINT32 ulcon;
UINT32 ucon;
@@ -486,7 +486,7 @@ struct s3c24xx_uart_regs_t
UINT32 ubrdiv;
};
-struct s3c24xx_pwm_regs_t
+struct s3c24xx_pwm_regs_t
{
UINT32 tcfg0;
UINT32 tcfg1;
@@ -507,19 +507,19 @@ struct s3c24xx_pwm_regs_t
UINT32 tcnto4;
};
-struct s3c24xx_usbdev_regs_t
+struct s3c24xx_usbdev_regs_t
{
UINT32 data[0xBC/4];
};
-struct s3c24xx_wdt_regs_t
+struct s3c24xx_wdt_regs_t
{
UINT32 wtcon;
UINT32 wtdat;
UINT32 wtcnt;
};
-struct s3c24xx_iic_regs_t
+struct s3c24xx_iic_regs_t
{
UINT32 iiccon;
UINT32 iicstat;
@@ -527,7 +527,7 @@ struct s3c24xx_iic_regs_t
UINT32 iicds;
};
-struct s3c24xx_iis_regs_t
+struct s3c24xx_iis_regs_t
{
UINT32 iiscon;
UINT32 iismod;
@@ -536,7 +536,7 @@ struct s3c24xx_iis_regs_t
UINT32 iisfifo;
};
-struct s3c24xx_gpio_regs_t
+struct s3c24xx_gpio_regs_t
{
UINT32 gpacon;
UINT32 gpadat;
@@ -563,7 +563,7 @@ struct s3c24xx_gpio_regs_t
UINT32 extint;
};
-struct s3c24xx_rtc_regs_t
+struct s3c24xx_rtc_regs_t
{
UINT32 rtccon;
UINT32 ticnt;
@@ -585,13 +585,13 @@ struct s3c24xx_rtc_regs_t
UINT32 bcdyear;
};
-struct s3c24xx_adc_regs_t
+struct s3c24xx_adc_regs_t
{
UINT32 adccon;
UINT32 adcdat;
};
-struct s3c24xx_spi_regs_t
+struct s3c24xx_spi_regs_t
{
UINT32 spcon;
UINT32 spsta;
@@ -601,39 +601,39 @@ struct s3c24xx_spi_regs_t
UINT32 sprdat;
};
-struct s3c24xx_mmc_regs_t
+struct s3c24xx_mmc_regs_t
{
UINT32 data[0x40/4];
};
-struct s3c24xx_memcon_t
+struct s3c24xx_memcon_t
{
s3c24xx_memcon_regs_t regs;
};
-struct s3c24xx_usbhost_t
+struct s3c24xx_usbhost_t
{
s3c24xx_usbhost_regs_t regs;
};
-struct s3c24xx_irq_t
+struct s3c24xx_irq_t
{
s3c24xx_irq_regs_t regs;
int line_irq, line_fiq;
};
-struct s3c24xx_dma_t
+struct s3c24xx_dma_t
{
s3c24xx_dma_regs_t regs;
emu_timer *timer;
};
-struct s3c24xx_clkpow_t
+struct s3c24xx_clkpow_t
{
s3c24xx_clkpow_regs_t regs;
};
-struct s3c24xx_lcd_t
+struct s3c24xx_lcd_t
{
s3c24xx_lcd_regs_t regs;
emu_timer *timer;
@@ -652,17 +652,17 @@ struct s3c24xx_lcd_t
UINT32 dma_data, dma_bits;
};
-struct s3c24xx_lcdpal_t
+struct s3c24xx_lcdpal_t
{
s3c24xx_lcdpal_regs_t regs;
};
-struct s3c24xx_uart_t
+struct s3c24xx_uart_t
{
s3c24xx_uart_regs_t regs;
};
-struct s3c24xx_pwm_t
+struct s3c24xx_pwm_t
{
s3c24xx_pwm_regs_t regs;
emu_timer *timer[5];
@@ -671,25 +671,25 @@ struct s3c24xx_pwm_t
UINT32 freq[5];
};
-struct s3c24xx_usbdev_t
+struct s3c24xx_usbdev_t
{
s3c24xx_usbdev_regs_t regs;
};
-struct s3c24xx_wdt_t
+struct s3c24xx_wdt_t
{
s3c24xx_wdt_regs_t regs;
emu_timer *timer;
};
-struct s3c24xx_iic_t
+struct s3c24xx_iic_t
{
s3c24xx_iic_regs_t regs;
emu_timer *timer;
int count;
};
-struct s3c24xx_iis_t
+struct s3c24xx_iis_t
{
s3c24xx_iis_regs_t regs;
emu_timer *timer;
@@ -697,34 +697,34 @@ struct s3c24xx_iis_t
int fifo_index;
};
-struct s3c24xx_gpio_t
+struct s3c24xx_gpio_t
{
s3c24xx_gpio_regs_t regs;
};
-struct s3c24xx_rtc_t
+struct s3c24xx_rtc_t
{
s3c24xx_rtc_regs_t regs;
emu_timer *timer_tick_count;
emu_timer *timer_update;
};
-struct s3c24xx_adc_t
+struct s3c24xx_adc_t
{
s3c24xx_adc_regs_t regs;
};
-struct s3c24xx_spi_t
+struct s3c24xx_spi_t
{
s3c24xx_spi_regs_t regs;
};
-struct s3c24xx_mmc_t
+struct s3c24xx_mmc_t
{
s3c24xx_mmc_regs_t regs;
};
-struct s3c24xx_t
+struct s3c24xx_t
{
const s3c2400_interface *iface;
s3c24xx_memcon_t memcon;