kernel - Add suword32 and fix argc/envc initialization
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 22 Dec 2011 19:30:41 +0000 (11:30 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 22 Dec 2011 19:30:41 +0000 (11:30 -0800)
commit3f938eeac735dccca4437673b2989601cec499ff
treecb42f3568e78849ace4623fe0462ad880cd37df5
parent9e6e869e8ae3b41257bc4cb2ef8565828e90ea41
kernel - Add suword32 and fix argc/envc initialization

* Add suword32() for cases where we want to write out a word and not a long.

* argc and envc are integers, not longs.

* Change has no effect on intel/amd boxes
sys/kern/kern_exec.c
sys/platform/pc32/i386/support.s
sys/platform/pc64/x86_64/support.s
sys/sys/systm.h