iommu: populate functions for setup/teardown of page tables
authorAditya Basu <mitthu@google.com>
Sat, 17 Aug 2019 01:00:56 +0000 (21:00 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 19 Aug 2019 16:39:09 +0000 (12:39 -0400)
commit7b9f58853d14abdeb7279f6cfef5f73b64bc2933
tree7f28c2b212edafa3d0fd4cdbf500d735606238e2
parent5ce53a77c69ef399b97a61b23c81f3961a2ae6ce
iommu: populate functions for setup/teardown of page tables

* setup_page_tables(): add pci_device to a proc's addr space
* teardown_page_tables(): remove pci_device from the proc's addr space

Signed-off-by: Aditya Basu <mitthu@google.com>
Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/drivers/dev/iommu.c