Skip to content

Wrong (and missing) tag values in vcio.h #345

Closed
@lurch

Description

@lurch

The file arch/arm/mach-bcm2708/include/mach/vcio.h is currently identical in the branches rpi-3.6.y, rpi-3.8.y, rpi-3.9.y and rpi-3.10.y (the rpi-3.2.27 branch has an older version of this file, but it too suffers from the identical defects as described below).

However I've been comparing it to https://github.com/raspberrypi/firmware/wiki/Mailbox-property-interface and the following tag values are wrong in vcio.h:
VCMSG_GET_BOARD_REVISION, VCMSG_GET_BOARD_MAC_ADDRESS, VCMSG_GET_BOARD_SERIAL, VCMSG_GET_ARM_MEMORY, VCMSG_GET_VC_MEMORY, VCMSG_GET_CLOCKS
vcio.h lists them as 0x0002... whereas the firmware wiki lists them as 0x0001... (I've written test code to verify that the 0x0001... values are correct).

Also, the following tags (which are documented on the firmware wiki) are missing from vcio.h:
0x0003000a (Get max temperature), 0x0003000c (Allocate Memory), 0x0003000d (Lock memory), 0x0003000e (Unlock memory), 0x0003000f (Release Memory), 0x00030010 (Execute Code), 0x00030020 (Get EDID block).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions