You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we poke at /dev/mem for making sure a bunch of things are configured in the way they need to be. This is bad, as userspace and the kernel can step on each others toes, and create bugs that are hard to debug.
Ultimately there will be proper kernel features in the form of device tree descriptions and a pinmux driver. For now, lets stick them in arch/arm/mach-aspeed/aspeed.c.
We could disable /dev/mem entirely, but it is useful for debugging and testing, so instead we will make it a rule that no checked in code touches it and keep it around for convenience.
The text was updated successfully, but these errors were encountered:
Currently we poke at
/dev/mem
for making sure a bunch of things are configured in the way they need to be. This is bad, as userspace and the kernel can step on each others toes, and create bugs that are hard to debug.Ultimately there will be proper kernel features in the form of device tree descriptions and a pinmux driver. For now, lets stick them in
arch/arm/mach-aspeed/aspeed.c
.We could disable
/dev/mem
entirely, but it is useful for debugging and testing, so instead we will make it a rule that no checked in code touches it and keep it around for convenience.The text was updated successfully, but these errors were encountered: