Build system to map MMIO into our virtual address space.
authorPaul Pearce <pearce@eecs.berkeley.edu>
Thu, 22 Apr 2010 21:32:59 +0000 (14:32 -0700)
committerKevin Klues <klueska@cs.berkeley.edu>
Thu, 3 Nov 2011 00:35:58 +0000 (17:35 -0700)
commit969b7b9421fdedfddc412bfeb7433b70a494b80b
tree4cd7a8a5b4b005c99e1de8c0220e6015c3be3b1f
parent58b322b64cca18634864b9c03738708c587ef092
Build system to map MMIO into our virtual address space.

cherry-pick paul commit #1
Added a new function, mmio_alloc, which pulls pages from the space
above LAPIC_BASE + PGSIZE, and maps them to physical pages that
are used for MMIO by devices.

This removes all the hacky MMIO code from the driver and arch/pmap.c
kern/arch/i686/e1000.c
kern/arch/i686/pmap.c
kern/arch/sparc/pmap.c
kern/include/pmap.h