Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a CpuBarrierLib and use it #19

Open
andreiw opened this issue Jan 27, 2024 · 1 comment
Open

Implement a CpuBarrierLib and use it #19

andreiw opened this issue Jan 27, 2024 · 1 comment

Comments

@andreiw
Copy link
Contributor

andreiw commented Jan 27, 2024

Any cpu fences/barriers are implied by Map/Unmap and Reg access code. If code uses common buffer operations, it would need to explicitly use barriers/fences on architectures requiring these.

@andreiw andreiw changed the title Add CommonBufferDmaBarrier function to EFI_DT_IO_PROTOCOL Implement a CpuBarrierLib and use it Feb 2, 2024
@andreiw
Copy link
Contributor Author

andreiw commented Feb 2, 2024

Add barriers of the form:

KindBeforeBarrierAfter(), e.g. MmioReadBarrierWrite (), DmaReadWriteBarrierWrite () etc.

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

No branches or pull requests

1 participant