littlekernel / lk

LK embedded kernel
MIT License
3.11k stars 611 forks source link

PCI fixes #364

Closed heatd closed 1 year ago

heatd commented 1 year ago

Disables decoding of ioports and memory when touching BAR registers. Also clarifies a function's comments regarding the bottom bits of the BARs.

I didn't touch assign_resource's masking, although it may be a decent idea to do so.

travisg commented 1 year ago

LGTM!