mirror of
https://github.com/taigrr/gopher-os
synced 2025-01-18 04:43:13 -08:00
This commit removes the HWProbes() function from the console and tty packages and replaces it with a global ProbeFuncs slice which is fetched by the hal package when the hardware autodetection code runs. Each driver should provide an init() function that appends a probe function to the global ProbeFuncs slice. This approach allows us to support conditional compilation of drivers in the future (e.g. using build tags)
Description
Languages
Go
84.9%
ASL
10.2%
Assembly
4%
Makefile
0.9%