Skip to content

Conversation

@ridale
Copy link

@ridale ridale commented Aug 16, 2021

paired with patch in global components.

@axel-h
Copy link
Member

axel-h commented Aug 17, 2021

See seL4/global-components#25

struct enet *get_enet_from_driver(struct eth_driver *driver);

enum {
enum nic_config_flags_t {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this needed?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This changes nic_config_flags_t from a global with an enum type to a enum type declaration. Recent compiler versions (gcc-10) no longer place the global definitions in a COM section and this leads to linker errors. Alternatively this could be changed a different way to add a typedef at the start.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the typedef is what we need here, this was never supposed to be a global variable.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

issue looks similar to seL4/camkes-vm#13

Signed-off-by: ridale <ridale123@outlook.com>

fix: patches from kent, imx8mq evk.

Signed-off-by: ridale <ridale123@outlook.com>
@kent-mcleod kent-mcleod marked this pull request as draft September 2, 2021 04:32
@kent-mcleod
Copy link
Member

Converting these PRs to draft for now as they're currently the minimum set of changes to run Ethdrivers on imx8mq-evk but aren't necessarily safe to merge due to impacts on behavior of other platforms.

@github-actions
Copy link

github-actions bot commented Sep 7, 2021

This PR can now be reviewed to be the next to get merged. Make sure there are at least 2 approvals before merging.

1 similar comment
@github-actions
Copy link

This PR can now be reviewed to be the next to get merged. Make sure there are at least 2 approvals before merging.

@github-actions
Copy link

github-actions bot commented Nov 8, 2021

This PR can now be reviewed to be the next to get merged. Make sure there are at least 2 approvals before merging.

2 similar comments
@github-actions
Copy link

This PR can now be reviewed to be the next to get merged. Make sure there are at least 2 approvals before merging.

@github-actions
Copy link

github-actions bot commented Mar 9, 2022

This PR can now be reviewed to be the next to get merged. Make sure there are at least 2 approvals before merging.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants