diff options
author | Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> | 2017-05-24 22:02:15 -0700 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-08-01 12:39:43 +1000 |
commit | 63a7bf7f58b6b87d00e58a74c0440adad904d575 (patch) | |
tree | 9a702ef458d959c223ca9e2b57c54a370d3e79d6 /include/vas.h | |
parent | 371cd735e1dc118ffbf3d4ebc8e89ad5aaa2a8f1 (diff) | |
download | skiboot-63a7bf7f58b6b87d00e58a74c0440adad904d575.zip skiboot-63a7bf7f58b6b87d00e58a74c0440adad904d575.tar.gz skiboot-63a7bf7f58b6b87d00e58a74c0440adad904d575.tar.bz2 |
vas: Define vas_get_wcbs_bar interface
Implement the function vas_get_wcbs_bar() that returns the Window
Context Backing store address register. NX driver uses this function
to initialize its UMAC Send WC register.
Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include/vas.h')
-rw-r--r-- | include/vas.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vas.h b/include/vas.h index c382585..da19645 100644 --- a/include/vas.h +++ b/include/vas.h @@ -38,6 +38,7 @@ extern void vas_init(void); extern __attrconst uint64_t vas_get_hvwc_mmio_bar(const int chipid); +extern __attrconst uint64_t vas_get_wcbs_bar(int chipid); /* * HVWC and UWC BAR. |