diff options
author | K. Y. Srinivasan <kys@microsoft.com> | 2014-01-29 21:14:39 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-02-07 18:21:48 -0500 |
commit | 90f3453585479d5beb75058da46eb573ced0e6ac (patch) | |
tree | e4219afd86876cd682e6c5c2581bc6c2754aa27d /include | |
parent | 5267cf02c7794953d89e9593a0d497bf43e3790d (diff) |
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 167ef47e3d6e..6b862dadbb7a 100644 --- a/include/linux/hyperv.h +++ b/include/linux/hyperv.h | |||
@@ -1143,6 +1143,9 @@ int hv_vss_init(struct hv_util_service *); | |||
1143 | void hv_vss_deinit(void); | 1143 | void hv_vss_deinit(void); |
1144 | void hv_vss_onchannelcallback(void *); | 1144 | void hv_vss_onchannelcallback(void *); |
1145 | 1145 | ||
1146 | extern u64 hyperv_mmio_start; | ||
1147 | extern u64 hyperv_mmio_size; | ||
1148 | |||
1146 | /* | 1149 | /* |
1147 | * Negotiated version with the Host. | 1150 | * Negotiated version with the Host. |
1148 | */ | 1151 | */ |