/barrelfish-2018-10-04/usr/vmkitmon/ |
H A D | pci_devices.h | 17 #include "lpc.h" 21 struct pci_device *pci_ethernet_new(struct lpc *lpc, struct guest *g); 22 struct pci_device *pci_vmkitmon_eth_new(struct lpc *lpc, struct guest *g);
|
H A D | pc16550d.h | 25 #include "lpc.h" 47 struct lpc *lpc; member in struct:pc16550d 57 struct pc16550d *pc16550d_new (uint16_t base_port, uint8_t irq, struct lpc *lpc);
|
H A D | pci.h | 19 #include "lpc.h" 64 struct lpc *lpc; member in struct:pci_device
|
H A D | lpc.c | 18 #include "lpc.h" 52 pic_irq_masked (struct lpc *l, int irq) { 70 lpc_pic_process_irqs (struct lpc *l) 138 lpc_pic_assert_irq (struct lpc *l, uint8_t irq) 151 pic_eoi (struct lpc *l, int ctrlr) 203 cycle_counter_access_byte (struct lpc *l, int reg) 222 timer_countdown_reg_read (struct lpc *l, int reg) 242 pit_write_current_byte (struct lpc *l, int reg, uint16_t src, uint8_t *dest) 255 pit_counter_read (struct lpc *l, int reg) 301 pic_icw_ocw_read (struct lpc * [all...] |
H A D | lpc.h | 254 struct lpc { struct 297 struct lpc * lpc_new (lpc_virtual_irq_handler virq_handler, 303 int lpc_handle_pio_read (struct lpc *l, uint16_t port, enum opsize size, 305 int lpc_handle_pio_write (struct lpc *l, uint16_t port, enum opsize size, 307 void lpc_pic_assert_irq (struct lpc *l, uint8_t irq); 308 void lpc_pic_process_irqs (struct lpc *l); 310 void lpc_rtc_get_time_bcd (struct lpc *l, uint8_t *hour, uint8_t *min,
|
H A D | pc16550d.c | 37 pc16550d_new (uint16_t base_port, uint8_t irq, struct lpc *lpc) argument 39 assert(lpc != NULL); 47 u->lpc = lpc; 93 lpc_pic_assert_irq(u->lpc, u->irq);
|
H A D | pci_ethernet.c | 255 lpc_pic_assert_irq(dev->lpc, dev->irq); 258 struct pci_device *pci_ethernet_new(struct lpc *lpc, struct guest *g) argument 274 dev->lpc = lpc;
|
H A D | pci_vmkitmon_eth.c | 49 lpc_pic_assert_irq(dev->lpc, dev->irq); 312 struct pci_device *pci_vmkitmon_eth_new(struct lpc *lpc, struct guest *g) { argument 324 dev->lpc = lpc;
|
H A D | guest.h | 83 struct lpc *lpc; member in struct:guest
|
H A D | guest.c | 28 #include "lpc.h" 794 g->lpc = lpc_new(virq_handler, virq_pending, 804 g->serial_ports[0] = pc16550d_new(0x3f8, 4, g->lpc); 810 g->serial_ports[1] = pc16550d_new(0x2f8, 3, g->lpc); 811 g->serial_ports[2] = pc16550d_new(0x3e8, 4, g->lpc); 812 g->serial_ports[3] = pc16550d_new(0x2e8, 3, g->lpc); 818 // struct pci_device *ethernet = pci_ethernet_new(g->lpc, g); 822 // struct pci_device *vmkitmon_eth = pci_vmkitmon_eth_new(g->lpc, g); 2030 lpc_rtc_get_time_bcd(g->lpc, &h, &m, &s); 2174 r = lpc_handle_pio_write(g->lpc, por [all...] |
/barrelfish-2018-10-04/usr/arrakismon/ |
H A D | pc16550d.h | 19 #include "lpc.h" 29 struct lpc *lpc; member in struct:pc16550d 37 struct pc16550d *pc16550d_new (uint16_t base_port, uint8_t irq, struct lpc *lpc);
|
H A D | lpc.c | 18 #include "lpc.h" 52 pic_irq_masked (struct lpc *l, int irq) { 70 lpc_pic_process_irqs (struct lpc *l) 129 lpc_pic_assert_irq (struct lpc *l, uint8_t irq) 142 pic_eoi (struct lpc *l, int ctrlr) 194 cycle_counter_access_byte (struct lpc *l, int reg) 213 timer_countdown_reg_read (struct lpc *l, int reg) 233 pit_write_current_byte (struct lpc *l, int reg, uint16_t src, uint8_t *dest) 246 pit_counter_read (struct lpc *l, int reg) 292 pic_icw_ocw_read (struct lpc * [all...] |
H A D | lpc.h | 247 struct lpc { struct 287 struct lpc * lpc_new (lpc_virtual_irq_handler virq_handler, 290 int lpc_handle_pio_read (struct lpc *l, uint16_t port, enum opsize size, 292 int lpc_handle_pio_write (struct lpc *l, uint16_t port, enum opsize size, 294 void lpc_pic_assert_irq (struct lpc *l, uint8_t irq); 295 void lpc_pic_process_irqs (struct lpc *l); 297 void lpc_rtc_get_time_bcd (struct lpc *l, uint8_t *hour, uint8_t *min,
|
H A D | pc16550d.c | 28 pc16550d_new (uint16_t base_port, uint8_t irq, struct lpc *lpc) argument 30 assert(lpc != NULL); 38 u->lpc = lpc; 83 lpc_pic_assert_irq(u->lpc, u->irq);
|
H A D | guest.h | 74 struct lpc *lpc; member in struct:guest
|
H A D | guest.c | 28 #include "lpc.h" 813 g->lpc = lpc_new(virq_handler, virq_pending, g, g->apic); 820 g->serial_ports[0] = pc16550d_new(0x3f8, 4, g->lpc); 822 g->serial_ports[1] = pc16550d_new(0x2f8, 3, g->lpc); 823 g->serial_ports[2] = pc16550d_new(0x3e8, 4, g->lpc); 824 g->serial_ports[3] = pc16550d_new(0x2e8, 3, g->lpc); 1641 lpc_rtc_get_time_bcd(g->lpc, &h, &m, &s); 1751 r = lpc_handle_pio_write(g->lpc, port, size, val); 1754 r = lpc_handle_pio_read(g->lpc, port, size, &val); 2052 lpc_pic_process_irqs(g->lpc); [all...] |
/barrelfish-2018-10-04/lib/libc/gmon/ |
H A D | gmon.c | 175 hdr->lpc = p->lowpc;
|