Skip to content

UEFI: add support for tasks scheduler and make it default #5553

Open
sparques wants to merge 3 commits into
tinygo-org:devfrom
sparques:pr/uefi-tasks-scheduler
Open

UEFI: add support for tasks scheduler and make it default #5553
sparques wants to merge 3 commits into
tinygo-org:devfrom
sparques:pr/uefi-tasks-scheduler

Conversation

@sparques

Copy link
Copy Markdown
Contributor

This adds support to uefi-amd64 target for the tasks scheduler and makes it default. The none-scheduler is still supported.

I did a very basic test of making sure two separate goroutines ran simultaneously--seems to work.

I'm not sure if the bit in compileopts/config.go is kosher; Is that the right approach or is there a better way to conditionally include ExtraFiles?

@deadprogram

Copy link
Copy Markdown
Member

@sparques

Copy link
Copy Markdown
Contributor Author

I'm sorry, if there is something that's making src/internal/task/task_stack_avr.S conditionally included, I'm missing it. Does it not matter if an assembly file is included but not used?

@deadprogram

Copy link
Copy Markdown
Member

I am wonder why you would need it conditionally included when you can just add to target file?

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.

2 participants