Пример #1
0
void
cpu_attach(device_t parent, device_t self, void *aux)
{
	struct mainbus_attach_args *mba = aux;

	(void) cpu_attach_common(self, mba->mba_unit);
}
Пример #2
0
void
cpuattach(device_t parent, device_t self, void *aux)
{
	cpu_attach_common(self, 0);

	(*platform->cpu_setup)(self);
}
Пример #3
0
void
cpuattach(struct device *parent, struct device *self, void *aux)
{
    struct cpu_info *ci;
    struct confargs *ca = aux;
    int id = ca->ca_node;

    ci = cpu_attach_common(self, id);
    if (ci == NULL)
        return;

#ifdef MULTIPROCESSOR
    if (id > 0) {
        cpu_spinup(self, ci);
        return;
    }
#endif

    cpu_setup_prep_generic(self);
}
Пример #4
0
void
cpu_attach(struct device *parent, struct device *self, void *aux)
{
	(void) cpu_attach_common(self, 0);
}