2022-08-25 08:43:15 +02:00
|
|
|
#include <stdlib.h>
|
|
|
|
#include <setjmp.h>
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
extern void kinit(void);
|
|
|
|
|
2022-08-26 10:30:46 +02:00
|
|
|
__attribute__((constructor(101)))
|
2022-08-25 08:43:15 +02:00
|
|
|
int _initialize(void)
|
|
|
|
{
|
2022-08-26 10:30:46 +02:00
|
|
|
printf("early kernel initialisation...\n");
|
2022-08-25 08:43:15 +02:00
|
|
|
kinit();
|
|
|
|
return 0;
|
|
|
|
}
|