Changes in kernel/arch/sparc64/src/drivers/kbd.c [a31aad1:336d2f52] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/drivers/kbd.c
ra31aad1 r336d2f52 40 40 #include <mm/page.h> 41 41 #include <arch/mm/page.h> 42 #include <mm/km.h>43 42 #include <typedefs.h> 44 43 #include <align.h> … … 114 113 size_t offset = pa - aligned_addr; 115 114 116 ns16550_t *ns16550 = (ns16550_t *) (km_map(aligned_addr, offset + size,117 PAGE_WRITE | PAGE_NOT_CACHEABLE) + offset);115 ns16550_t *ns16550 = (ns16550_t *) 116 (hw_map(aligned_addr, offset + size) + offset); 118 117 119 118 ns16550_instance_t *ns16550_instance = ns16550_init(ns16550, inr, cir, cir_arg); … … 133 132 sysinfo_set_item_val("kbd", NULL, true); 134 133 sysinfo_set_item_val("kbd.inr", NULL, inr); 134 sysinfo_set_item_val("kbd.address.kernel", NULL, 135 (uintptr_t) ns16550); 135 136 sysinfo_set_item_val("kbd.address.physical", NULL, pa); 136 137 sysinfo_set_item_val("kbd.type.ns16550", NULL, true);
Note:
See TracChangeset
for help on using the changeset viewer.