This repository was archived by the owner on Aug 27, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
host_applications/linux/libs/bcm_host/include Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -43,8 +43,19 @@ int32_t graphics_get_display_size( const uint16_t display_number,
4343 uint32_t * width ,
4444 uint32_t * height );
4545
46+ /* These functions refer to the peripherals that all Pi's share,
47+ * which may differ from the physical peripheral address on the
48+ * peripheral datasheet. For example, on the BCM2711,
49+ * bcm_host_get_peripheral_address() returns a value 0x0200_0000 bytes higher
50+ * than the "main peripheral" physical addresses from the BCM2xxx datasheets.
51+ * On the BCM2711, this is because the first 0x0200_0000 bytes in the "main
52+ * peripherals" block are reserved for BCM2711-specific addresses.
53+ * Source:
54+ * https://github.com/raspberrypi/linux/blob/a90998a3e549911234f9f707050858b98b71360f/arch/arm/boot/dts/bcm2711.dtsi#L34
55+ */
4656unsigned bcm_host_get_peripheral_address (void );
4757unsigned bcm_host_get_peripheral_size (void );
58+
4859unsigned bcm_host_get_sdram_address (void );
4960
5061#include "interface/vmcs_host/vc_dispmanx.h"
You can’t perform that action at this time.
0 commit comments