diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2014-01-29 18:14:39 -0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-07 15:21:48 -0800 |
commit | 90f3453585479d5beb75058da46eb573ced0e6ac (patch) | |
tree | e4219afd86876cd682e6c5c2581bc6c2754aa27d /include | |
parent | 5267cf02c7794953d89e9593a0d497bf43e3790d (diff) | |
download | op-kernel-dev-90f3453585479d5beb75058da46eb573ced0e6ac.zip op-kernel-dev-90f3453585479d5beb75058da46eb573ced0e6ac.tar.gz |
Drivers: hv: vmbus: Extract the mmio information from DSDT
On Gen2 firmware, Hyper-V does not emulate the PCI bus. However, the MMIO
information is packaged up in DSDT. Extract this information and export it
for use by the synthetic framebuffer driver. This is the only driver that
needs this currently.
In this version of the patch mmio, I have updated the hyperv header file
(linux/hyperv.h) with mmio definitions.
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/hyperv.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h index 167ef47..6b862da 100644 --- a/include/linux/hyperv.h +++ b/include/linux/hyperv.h @@ -1143,6 +1143,9 @@ int hv_vss_init(struct hv_util_service *); void hv_vss_deinit(void); void hv_vss_onchannelcallback(void *); +extern u64 hyperv_mmio_start; +extern u64 hyperv_mmio_size; + /* * Negotiated version with the Host. */ |