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} }
func LinuxKernels(u models.Usercorn) []interface{} { kernel := &LinuxKernel{LinuxKernel: linux.NewKernel()} return []interface{}{kernel} }
func LinuxKernels(u models.Usercorn) []interface{} { return []interface{}{linux.NewKernel(u)} }