Beispiel #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]")
}
Beispiel #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
}
Beispiel #3
0
func InitGeneric() {
	util.PrintMe()
}
Beispiel #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")
}
Beispiel #5
0
func init() {
	util.PrintMe()
	ebInit()
	pbInit()
	//cavium.Init()
}
Beispiel #6
0
func Start() {
	util.PrintMe()
}