dev_gt.cc File Reference

Back to the index.

Classes | Macros | Functions
dev_gt.cc File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "bus_pci.h"
#include "cpu.h"
#include "devices.h"
#include "interrupt.h"
#include "machine.h"
#include "memory.h"
#include "misc.h"
#include "timer.h"
#include "thirdparty/gtreg.h"

Go to the source code of this file.

Classes

struct  gt_data
 

Macros

#define TICK_SHIFT   14
 
#define PCI_PRODUCT_GALILEO_GT64011   0x4146 /* GT-64011 */
 
#define PCI_PRODUCT_GALILEO_GT64120   0x4620 /* GT-64120 */
 
#define PCI_PRODUCT_GALILEO_GT64260   0x6430 /* GT-64260 */
 

Functions

 DEVICE_TICK (gt)
 
 DEVICE_ACCESS (gt)
 
struct pci_data * dev_gt_init (struct machine *machine, struct memory *mem, uint64_t baseaddr, const char *timer_irq_path, const char *isa_irq_path, int type)
 

Macro Definition Documentation

◆ PCI_PRODUCT_GALILEO_GT64011

#define PCI_PRODUCT_GALILEO_GT64011   0x4146 /* GT-64011 */

Definition at line 55 of file dev_gt.cc.

◆ PCI_PRODUCT_GALILEO_GT64120

#define PCI_PRODUCT_GALILEO_GT64120   0x4620 /* GT-64120 */

Definition at line 56 of file dev_gt.cc.

◆ PCI_PRODUCT_GALILEO_GT64260

#define PCI_PRODUCT_GALILEO_GT64260   0x6430 /* GT-64260 */

Definition at line 57 of file dev_gt.cc.

◆ TICK_SHIFT

#define TICK_SHIFT   14

Definition at line 51 of file dev_gt.cc.

Function Documentation

◆ dev_gt_init()

struct pci_data* dev_gt_init ( struct machine machine,
struct memory mem,
uint64_t  baseaddr,
const char *  timer_irq_path,
const char *  isa_irq_path,
int  type 
)

◆ DEVICE_ACCESS()

DEVICE_ACCESS ( gt  )

◆ DEVICE_TICK()

DEVICE_TICK ( gt  )

Generated on Tue Mar 24 2020 14:04:48 for GXemul by doxygen 1.8.17