Example #1
0
func LinuxKernels(u models.Usercorn) []interface{} {
	kernel := &ArmLinuxKernel{LinuxKernel: linux.NewKernel()}
	// TODO: LinuxInit needs to have a copy of the kernel
	// honestly init should be part of the kernel?
	if err := setupTraps(u, kernel); err != nil {
		panic(err)
	}
	return []interface{}{kernel}
}
Example #2
0
func LinuxKernels(u models.Usercorn) []interface{} {
	kernel := &LinuxKernel{LinuxKernel: linux.NewKernel()}
	return []interface{}{kernel}
}
Example #3
0
func LinuxKernels(u models.Usercorn) []interface{} {
	return []interface{}{linux.NewKernel(u)}
}