bcm2835_vcbus: add compatibility name for ^/sys/contrib/vchiq

It's unclear how this didn't get caught in my last iteration, but the fix is
easy- the interface is still compatible, it was just gratuituously renamed
to match my arbitrary definition of consistency... VCBUS, the BCM2835 name,
represents an address on the VideoCore CPU Bus.

In a similar fashion, while it is a physical address, the ARMC portion
represents that these are addresses as seen by the ARM CPU.

To make things even more fun, the BCM2711 peripheral documentation describes
not virtual address space vs. physical address space, but instead the 32-bit
address map vs. the address map in "Low Peripheral" mode. The latter of
these is what the *ARMC* macros translate to/from.
This commit is contained in:
Kyle Evans 2019-11-20 05:04:44 +00:00
parent 40084ac37f
commit 588b15d703
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=354876

View File

@ -71,4 +71,7 @@ bus_addr_t bcm283x_dmabus_peripheral_lowaddr(void);
#define ARMC_TO_VCBUS(pa) bcm283x_armc_to_vcbus(pa)
#define VCBUS_TO_ARMC(vca) bcm283x_vcbus_to_armc(vca)
/* Compatibility name for vchiq arm interface. */
#define PHYS_TO_VCBUS ARMC_TO_VCBUS
#endif /* _BCM2835_VCBUS_H_ */