[OSy] dorder problem

David Matousek david at matousec.com
Fri Nov 23 19:11:37 CET 2007


Zdravim,

ja jeste k tomuto problemu zverejnim bugfix, aby si WiGUMaci mohli taky dorderovat ...

v dcpu.c nahradit existujici funkce za tyto:

void
dcpu_interrupt_up( int cpuno, int no)

{
	struct processor_struct *px;

	if (cpuno == -1)
		cpuno = 0;
	px = pr;
	
	if ((pr = cpu_find_no( cpuno)))
		proc_interrupt_up( no);
	pr = px;
}


void
dcpu_interrupt_down( int cpuno, int no)

{
	struct processor_struct *px;
	if (cpuno == -1)
		cpuno = 0;

	px = pr;
	
	if ((pr = cpu_find_no( cpuno)))
		proc_interrupt_down( no);
	pr = px;
}



Pekny vecer,


DM




More information about the NSWI004 mailing list