9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] Kernel and IL
@ 2007-10-03  0:44 Gregory Pavelcak
  2007-10-03  1:25 ` geoff
  2007-10-03  1:26 ` geoff
  0 siblings, 2 replies; 4+ messages in thread
From: Gregory Pavelcak @ 2007-10-03  0:44 UTC (permalink / raw)
  To: 9fans

I'm trying to build a kernel with il. I added il under ip and boot
in the source file and have il.c in /sys/src/9/ip, but I seem to
be missing something. What?

Thanks.

Greg

cpu% mk 'CONF=pcauth'
rc ../port/mkdevc pcauth > pcauth.c
8a $AFLAGS l.s
8a $AFLAGS plan9l.s
8c -FVw cga.c
8c -FVw i8253.c
8c -FVw i8259.c
8c -FVw kbd.c
8c ../port/initcode.c
8c init9.c
8l -l -R1 -o init.out init9.8 initcode.8 /386/lib/libc.a
strip init.out
{echo 'uchar initcode[]={'
 cat init.out | xd -1x |
	sed -e 's/^[0-9a-f]+ //' -e 's/ ([0-9a-f][0-9a-f])/0x\1,/g'
 echo '};'} > init.h
8a rebootcode.s
8l -l -s -T0x11000 -R4 -o reboot.out rebootcode.8
{echo 'uchar rebootcode[]={'
 xd -1x reboot.out |
	sed -e '1,2d' -e 's/^[0-9a-f]+ //' -e 's/ ([0-9a-f][0-9a-f])/0x\1,/g'
 echo '};'} > reboot.h
8c -FVw memory.c
8c -FVw mmu.c
8c -FVw random.c
8c -FVw trap.c
8c -FVw -I. ../port/print.c
8c -FVw -I. ../ip/esp.c
8c -FVw vga.c
8c -FVw ether82557.c
8c -FVw uarti8250.c
8c -FVw vgasavage.c
8c -FVw sdata.c
8c -FVw -I. ../port/devmnt.c
8c -FVw vgas3.c
8c -FVw -I. ../ip/iproute.c
8c -FVw -I. ../port/devtls.c
8c -FVw -I. ../port/devdup.c
8c -FVw -I. ../port/devenv.c
8c -FVw -I. ../ip/tcp.c
8c -FVw apm.c
8c -FVw -I. ../port/devsd.c
8c -FVw vgax.c
8c -FVw devarch.c
8c -FVw -I. ../ip/ipifc.c
8c -FVw devether.c
8c -FVw -I. ../ip/chandial.c
8c -FVw -I. ../port/devsrv.c
8c -FVw -I. ../ip/icmp.c
8c -FVw -I. ../ip/ethermedium.c
8c -FVw -I. ../port/devcap.c
8c -FVw -I. ../port/devproc.c
8c -FVw dma.c
8c -FVw -I. ../port/devmouse.c
8c -FVw devrtc.c
8c -FVw devfloppy.c
8c -FVw -I. ../ip/ip.c
8c -FVw -I. ../ip/udp.c
8c -FVw ethervt6102.c
8c -FVw -I. ../ip/ipv6.c
8c -FVw -I. ../port/devcons.c
8c -FVw -I. ../port/devpnp.c
8c -FVw -I. ../ip/il.c
../ip/il.c:552 name not declared: Logil
../ip/il.c:559 name not declared: Logil
../ip/il.c:575 name not declared: Logil
../ip/il.c:598 name not declared: Logil
../ip/il.c:606 name not declared: Logil
warning: ../ip/il.c:569 set and not used: csum
warning: ../ip/il.c:571 set and not used: st
warning: ../ip/il.c:573 set and not used: st
warning: ../ip/il.c:594 set and not used: st
warning: ../ip/il.c:596 set and not used: st
../ip/il.c:654 name not declared: Logil
../ip/il.c:832 name not declared: Logil
warning: ../ip/il.c:831 set and not used: id
../ip/il.c:855 name not declared: Logilmsg
../ip/il.c:862 name not declared: Logilmsg
../ip/il.c:871 name not declared: Logil
../ip/il.c:951 name not declared: Logil
too many errors


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] Kernel and IL
  2007-10-03  0:44 [9fans] Kernel and IL Gregory Pavelcak
@ 2007-10-03  1:25 ` geoff
  2007-10-03 10:17   ` Gregory Pavelcak
  2007-10-03  1:26 ` geoff
  1 sibling, 1 reply; 4+ messages in thread
From: geoff @ 2007-10-03  1:25 UTC (permalink / raw)
  To: 9fans

You need to add back definitions of two bits in ip.h:

	Logil=		1<<4,
	Logilmsg=	1<<8,



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] Kernel and IL
  2007-10-03  0:44 [9fans] Kernel and IL Gregory Pavelcak
  2007-10-03  1:25 ` geoff
@ 2007-10-03  1:26 ` geoff
  1 sibling, 0 replies; 4+ messages in thread
From: geoff @ 2007-10-03  1:26 UTC (permalink / raw)
  To: 9fans

That's /sys/src/9/ip/ip.h that needs the bit definitions, not
/sys/include/ip.h.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [9fans] Kernel and IL
  2007-10-03  1:25 ` geoff
@ 2007-10-03 10:17   ` Gregory Pavelcak
  0 siblings, 0 replies; 4+ messages in thread
From: Gregory Pavelcak @ 2007-10-03 10:17 UTC (permalink / raw)
  To: 9fans

Thanks Geoff. That did it.

Greg


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-10-03 10:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-10-03  0:44 [9fans] Kernel and IL Gregory Pavelcak
2007-10-03  1:25 ` geoff
2007-10-03 10:17   ` Gregory Pavelcak
2007-10-03  1:26 ` geoff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).