HelenOS sources
km_map 77 kernel/arch/amd64/src/smp/smp.c l_apic = (uint32_t *) km_map((uintptr_t) l_apic, PAGE_SIZE,
km_map 79 kernel/arch/amd64/src/smp/smp.c io_apic = (uint32_t *) km_map((uintptr_t) io_apic, PAGE_SIZE,
km_map 66 kernel/arch/amd64/src/vreg.c page = (uint64_t *) km_map(frame, PAGE_SIZE, PAGE_SIZE,
km_map 103 kernel/arch/arm32/src/mach/beagleboardxm/beagleboardxm.c (void *) km_map(AMDM37x_IRC_BASE_ADDRESS, AMDM37x_IRC_SIZE,
km_map 89 kernel/arch/arm32/src/mach/beaglebone/beaglebone.c bbone.irc_addr = (void *) km_map(AM335x_IRC_BASE_ADDRESS,
km_map 92 kernel/arch/arm32/src/mach/beaglebone/beaglebone.c bbone.cm_per_addr = (void *) km_map(AM335x_CM_PER_BASE_ADDRESS,
km_map 95 kernel/arch/arm32/src/mach/beaglebone/beaglebone.c bbone.cm_dpll_addr = (void *) km_map(AM335x_CM_DPLL_BASE_ADDRESS,
km_map 98 kernel/arch/arm32/src/mach/beaglebone/beaglebone.c bbone.ctrl_module = (void *) km_map(AM335x_CTRL_MODULE_BASE_ADDRESS,
km_map 104 kernel/arch/arm32/src/mach/gta02/gta02.c gta02_timer = (void *) km_map(S3C24XX_TIMER_ADDRESS, PAGE_SIZE,
km_map 106 kernel/arch/arm32/src/mach/gta02/gta02.c irqc_regs = (void *) km_map(S3C24XX_IRQC_ADDRESS, PAGE_SIZE, PAGE_SIZE,
km_map 136 kernel/arch/arm32/src/mach/integratorcp/integratorcp.c icp.hw_map.uart = km_map(ICP_UART, PAGE_SIZE, PAGE_SIZE,
km_map 138 kernel/arch/arm32/src/mach/integratorcp/integratorcp.c icp.hw_map.kbd_ctrl = km_map(ICP_KBD, PAGE_SIZE, PAGE_SIZE,
km_map 143 kernel/arch/arm32/src/mach/integratorcp/integratorcp.c icp.hw_map.rtc = km_map(ICP_RTC, PAGE_SIZE, PAGE_SIZE,
km_map 152 kernel/arch/arm32/src/mach/integratorcp/integratorcp.c icp.hw_map.irqc = km_map(ICP_IRQC, PAGE_SIZE, PAGE_SIZE,
km_map 156 kernel/arch/arm32/src/mach/integratorcp/integratorcp.c icp.hw_map.cmcr = km_map(ICP_CMCR, PAGE_SIZE, PAGE_SIZE,
km_map 159 kernel/arch/arm32/src/mach/integratorcp/integratorcp.c icp.hw_map.vga = km_map(ICP_VGA, PAGE_SIZE, PAGE_SIZE,
km_map 104 kernel/arch/arm32/src/mach/raspberrypi/raspberrypi.c raspi.irc = (void *) km_map(BCM2835_IRC_ADDR, sizeof(bcm2835_irc_t),
km_map 110 kernel/arch/arm32/src/mach/raspberrypi/raspberrypi.c raspi.timer = (void *) km_map(BCM2835_TIMER_ADDR,
km_map 55 kernel/arch/arm32/src/ras.c ras_page = (uintptr_t *) km_map(frame, PAGE_SIZE, PAGE_SIZE,
km_map 58 kernel/arch/arm64/src/mach/hikey960/hikey960.c gicv2_distr_regs_t *distr = (void *) km_map(HIKEY960_GIC_DISTR_ADDRESS,
km_map 61 kernel/arch/arm64/src/mach/hikey960/hikey960.c gicv2_cpui_regs_t *cpui = (void *) km_map(HIKEY960_GIC_CPUI_ADDRESS,
km_map 76 kernel/arch/arm64/src/mach/virt/virt.c gicv2_distr_regs_t *distr = (void *) km_map(VIRT_GIC_DISTR_ADDRESS,
km_map 79 kernel/arch/arm64/src/mach/virt/virt.c gicv2_cpui_regs_t *cpui = (void *) km_map(VIRT_GIC_CPUI_ADDRESS,
km_map 77 kernel/arch/ia32/src/smp/smp.c l_apic = (uint32_t *) km_map((uintptr_t) l_apic, PAGE_SIZE,
km_map 79 kernel/arch/ia32/src/smp/smp.c io_apic = (uint32_t *) km_map((uintptr_t) io_apic, PAGE_SIZE,
km_map 67 kernel/arch/ia32/src/vreg.c page = (uint32_t *) km_map(frame, PAGE_SIZE, PAGE_SIZE,
km_map 108 kernel/arch/ia64/src/ia64.c uintptr_t IOSAPIC = km_map(iosapic_base, PAGE_SIZE, PAGE_SIZE,
km_map 137 kernel/arch/ia64/src/ia64.c legacyio_virt_base = km_map(LEGACYIO_PHYS_BASE, LEGACYIO_SIZE,
km_map 45 kernel/arch/ppc32/src/drivers/pic.c pic = (uint32_t *) km_map(base, size, KM_NATURAL_ALIGNMENT,
km_map 239 kernel/arch/ppc32/src/ppc32.c cuda_t *cuda = (cuda_t *) km_map(pa, size, KM_NATURAL_ALIGNMENT,
km_map 111 kernel/arch/sparc64/src/drivers/pci.c pci->reg = (uint64_t *) km_map(paddr, reg[SABRE_INTERNAL_REG].size,
km_map 152 kernel/arch/sparc64/src/drivers/pci.c pci->reg = (uint64_t *) km_map(paddr, reg[PSYCHO_INTERNAL_REG].size,
km_map 209 kernel/genarch/include/genarch/drivers/amdm37x/gpt.h ioport32_t *clksel = (void *) km_map(0x48004C40, 4, PAGE_SIZE,
km_map 216 kernel/genarch/include/genarch/drivers/amdm37x/gpt.h timer->regs = (void *) km_map(ioregs, iosize, KM_NATURAL_ALIGNMENT,
km_map 107 kernel/genarch/src/acpi/acpi.c vhdr = (struct acpi_sdt_header *) km_map((uintptr_t) psdt,
km_map 112 kernel/genarch/src/acpi/acpi.c vsdt = (struct acpi_sdt_header *) km_map((uintptr_t) psdt,
km_map 103 kernel/genarch/src/drivers/am335x/timer.c timer->regs = (void *) km_map(base_addr, size, KM_NATURAL_ALIGNMENT,
km_map 94 kernel/genarch/src/drivers/bcm2835/mbox.c fb_mbox = (void *) km_map(BCM2835_MBOX0_ADDR, sizeof(bcm2835_mbox_t),
km_map 136 kernel/genarch/src/drivers/bcm2835/mbox.c mbox = (void *) km_map(BCM2835_MBOX0_ADDR, sizeof(bcm2835_mbox_t),
km_map 619 kernel/genarch/src/drivers/ega/ega.c instance->addr = (uint8_t *) km_map(addr, EGA_VRAM_SIZE,
km_map 90 kernel/genarch/src/drivers/omap/uart.c uart->regs = (void *)km_map(addr, size, KM_NATURAL_ALIGNMENT,
km_map 105 kernel/genarch/src/drivers/pl011/pl011.c uart->regs = (void *)km_map(addr, sizeof(pl011_uart_regs_t),
km_map 118 kernel/genarch/src/drivers/s3c24xx/uart.c uart->io = (s3c24xx_uart_io_t *) km_map(paddr, PAGE_SIZE, PAGE_SIZE,
km_map 634 kernel/genarch/src/fb/fb.c instance->addr = (uint8_t *) km_map((uintptr_t) props->addr, fbsize,
km_map 53 kernel/generic/include/mm/km.h extern uintptr_t km_map(uintptr_t, size_t, size_t, unsigned int);
km_map 718 kernel/generic/src/console/cmd.c ptr = (uint8_t *) km_map(argv[0].intval, sizeof(uint8_t),
km_map 748 kernel/generic/src/console/cmd.c ptr = (uint16_t *) km_map(argv[0].intval, sizeof(uint16_t),
km_map 778 kernel/generic/src/console/cmd.c ptr = (uint32_t *) km_map(argv[0].intval, sizeof(uint32_t),
km_map 808 kernel/generic/src/console/cmd.c ptr = (uint8_t *) km_map(argv[0].intval, sizeof(uint8_t),
km_map 839 kernel/generic/src/console/cmd.c ptr = (uint16_t *) km_map(argv[0].intval, sizeof(uint16_t),
km_map 870 kernel/generic/src/console/cmd.c ptr = (uint32_t *) km_map(argv[0].intval, sizeof(uint32_t),
km_map 543 kernel/generic/src/ddi/ddi.c return (void *) km_map((uintptr_t) phys, size, KM_NATURAL_ALIGNMENT,
km_map 96 kernel/generic/src/ipc/irq.c ranges[i].base = km_map(pbase[i], ranges[i].size,
km_map 241 kernel/generic/src/main/kinit.c uintptr_t page = km_map(init.tasks[i].paddr,
km_map 262 kernel/generic/src/mm/km.c page = km_map(frame, PAGE_SIZE, PAGE_SIZE,
km_map 43 kernel/test/mm/mapping1.c uintptr_t page0 = km_map(frame, FRAME_SIZE, FRAME_SIZE,
km_map 48 kernel/test/mm/mapping1.c uintptr_t page1 = km_map(frame, FRAME_SIZE, FRAME_SIZE,
HelenOS homepage, sources at GitHub