Example #1
0
func init() {
	util.PrintMe()
	availPlats = make([]PlatInfo, 16)

	flag.StringVar(&platflags, "plat", "", "Platforms, type ? to list")
	flag.StringVar(&smpflag, "smp", "",
		"-smp n[,maxcpus=cpus][,cores=cores][,threads=threads][,sockets=sockets]")
}
Example #2
0
func (p *PlatArm) Init() error {
	util.PrintMe()
	var opts map[string]string
	var e error
	if opts, e = plat.ParseFlags(); e != nil {
		return e
	}
	for k, v := range opts {
		println(k, v)
	}
	arm.Init()
	return nil
}
Example #3
0
func InitGeneric() {
	util.PrintMe()
}
Example #4
0
func init() {
	availableCpu = make([]*CpuInfo, 0, 64)
	util.PrintMe()
	flag.StringVar(&cpu_opts, "cpu", "",
		"CPU's, type ? to list, but -plat should be provided")
}
Example #5
0
func init() {
	util.PrintMe()
	ebInit()
	pbInit()
	//cavium.Init()
}
Example #6
0
func Start() {
	util.PrintMe()
}