Skip to content

__aeabi_uread4 and __aeabi_uread8 should take a pointer to const #422

Description

@tgross35

At

abi-aa/rtabi32/rtabi32.rst

Lines 1421 to 1424 in 2b21824

int __aeabi_uread4(void *address);
int __aeabi_uwrite4(int value, void *address);
long long __aeabi_uread8(void *address);
long long __aeabi_uwrite8(long long value, void *address);
these are defined as:

int __aeabi_uread4(void *address);
int __aeabi_uwrite4(int value, void *address);
long long __aeabi_uread8(void *address);
long long __aeabi_uwrite8(long long value, void *address);

but there shouldn't be any reason for the read variants to need to write the pointer. Could it be updated to const void *address?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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