mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
reactivate PCI support for the single-kernel version of HermitCore
This commit is contained in:
parent
e8a61a299b
commit
97c2b21254
2 changed files with 2 additions and 4 deletions
|
@ -754,7 +754,6 @@ inline static int system_init(void)
|
|||
{
|
||||
gdt_install();
|
||||
cpu_detection();
|
||||
//pci_init();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -798,6 +797,8 @@ inline static int system_calibration(void)
|
|||
size_t cr0;
|
||||
|
||||
apic_init();
|
||||
if (is_single_kernel())
|
||||
pci_init();
|
||||
register_task();
|
||||
|
||||
// set task switched flag for the first FPU access
|
||||
|
|
|
@ -25,7 +25,6 @@
|
|||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#if 0
|
||||
#include <hermit/stdio.h>
|
||||
#include <hermit/string.h>
|
||||
#include <hermit/errno.h>
|
||||
|
@ -215,5 +214,3 @@ int print_pci_adapters(void)
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue