/barrelfish-master/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" 53 pic_irq_masked (struct lpc *l, int irq) { 71 lpc_pic_process_irqs (struct lpc *l) 139 lpc_pic_assert_irq (struct lpc *l, uint8_t irq) 152 pic_eoi (struct lpc *l, int ctrlr) 204 cycle_counter_access_byte (struct lpc *l, int reg) 223 timer_countdown_reg_read (struct lpc *l, int reg) 243 pit_write_current_byte (struct lpc *l, int reg, uint16_t src, uint8_t *dest) 256 pit_counter_read (struct lpc *l, int reg) 302 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_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 | 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 | guest.h | 83 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, 823 g->serial_ports[0] = pc16550d_new(0x3f8, 4, g->lpc); 829 g->serial_ports[1] = pc16550d_new(0x2f8, 3, g->lpc); 830 g->serial_ports[2] = pc16550d_new(0x3e8, 4, g->lpc); 831 g->serial_ports[3] = pc16550d_new(0x2e8, 3, g->lpc); 837 // struct pci_device *ethernet = pci_ethernet_new(g->lpc, g); 841 // struct pci_device *vmkitmon_eth = pci_vmkitmon_eth_new(g->lpc, g); 2050 lpc_rtc_get_time_bcd(g->lpc, &h, &m, &s); 2194 r = lpc_handle_pio_write(g->lpc, por [all...] |
/barrelfish-master/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 | 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 | 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 | 93 struct lpc *lpc; member in struct:guest
|
H A D | guest.c | 36 #include "lpc.h" 1288 g->lpc = lpc_new(virq_handler, virq_pending, 1299 g->serial_ports[0] = pc16550d_new(0x3f8, 4, g->lpc); 1301 g->serial_ports[1] = pc16550d_new(0x2f8, 3, g->lpc); 1302 g->serial_ports[2] = pc16550d_new(0x3e8, 4, g->lpc); 1303 g->serial_ports[3] = pc16550d_new(0x2e8, 3, g->lpc); 2512 lpc_rtc_get_time_bcd(g->lpc, &h, &m, &s); 2656 r = lpc_handle_pio_write(g->lpc, port, size, val); 2659 r = lpc_handle_pio_read(g->lpc, port, size, &val); 3056 lpc_pic_process_irqs(g->lpc); [all...] |
/barrelfish-master/lib/libc/gmon/ |
H A D | gmon.c | 175 hdr->lpc = p->lowpc;
|