kernel broken in creator.c?

David Cornejo dcornejo at firetide.com
Fri Jan 2 02:21:01 PST 2004


Hi,

Maybe I've got a funky setup, but I haven't gotten creator.c to compile due 
to warnings since the NULL changes.  The following compiled it for me, it 
look ok?

dave c

*** creator.c~	Mon Nov 10 21:34:08 2003
--- creator.c	Thu Jan  1 23:49:04 2004
***************
*** 292,302 ****
   	FFB_WRITE(sc, FFB_DAC, FFB_DAC_VALUE2, 0x0);

   	if (sc->sc_console) {
! 		col = NULL;
! 		row = NULL;
   		OF_interpret("stdout @ is my-self addr line# addr column# ",
   		    2, &col, &row);
! 		if (col != NULL && row != NULL) {
   			sc->sc_colp = (int *)(col + 4);
   			sc->sc_rowp = (int *)(row + 4);
   		}
--- 292,302 ----
   	FFB_WRITE(sc, FFB_DAC, FFB_DAC_VALUE2, 0x0);

   	if (sc->sc_console) {
! 		col = 0;
! 		row = 0;
   		OF_interpret("stdout @ is my-self addr line# addr column# ",
   		    2, &col, &row);
! 		if (col != 0 && row != 0) {
   			sc->sc_colp = (int *)(col + 4);
   			sc->sc_rowp = (int *)(row + 4);
   		}




More information about the freebsd-sparc64 mailing list