Commit Graph

104691 Commits

Author SHA1 Message Date
provos
c989923700 rename exported variables to avoid name space polution. 2002-11-02 19:43:27 +00:00
dbj
1d1cd19e5f use be32toh instead of ntohl, etc. 2002-11-02 19:31:09 +00:00
itojun
61eed162b2 cleanup ipsec.h dependency. commented by perry, sync w/kame 2002-11-02 19:03:44 +00:00
perry
c8815bffa1 1) egg, meet face. face, meet egg.
2) re-UL KERNBASE, but this time, protect it with #ifndef _LOCORE so we
   don't get a big kaboom in .S files.
2002-11-02 17:30:15 +00:00
jdolecek
7aca3aed62 retval is 'register_t *', not 'int *' 2002-11-02 17:05:19 +00:00
perry
fbf4988104 gah. reversed a test. 2002-11-02 16:50:18 +00:00
provos
e93fe1e2ba NULL to 0; from navin@gdit.iiit.net 2002-11-02 16:27:46 +00:00
perry
1645cbb7b4 change array to unsigned char. fixes 23430 lint warnings. "really!" 2002-11-02 16:26:03 +00:00
martin
b78c3d23e1 Need to cast a bus_space_addr_t to (u_long) before gcc allows us to cast
it to a pointer on 32bit spacr64 kernels. Sigh.
2002-11-02 15:54:10 +00:00
mrg
8cc4a98ea3 make compat_13_netbsd32_sigreturn() and netbsd32___sigreturn14() almost identical. 2002-11-02 13:51:18 +00:00
mrg
6d864484d3 note sparc64 IDE boot device detection fixes. 2002-11-02 13:49:50 +00:00
mrg
106c6ad374 match channel & disk when trying to determine if this IDE disk is the boot device.
now we can boot from any IDE disk on the system.
2002-11-02 13:49:15 +00:00
kristerw
0ed7608653 Revert previous. Nested comments are evil. 2002-11-02 12:00:03 +00:00
kristerw
7f2e5abcf1 Revert previous. The assembler bombs on UL integer suffix. 2002-11-02 11:55:24 +00:00
kristerw
e3355c4796 Removed unused structure. 2002-11-02 10:47:49 +00:00
perry
d360d70909 We don't need our on KERNLINTFLAGS any longer. 2002-11-02 07:59:26 +00:00
perry
7152bf6aeb lint infrastructure overhaul to finally lint the kernel libs right.
XXX the dependencies for the kernel .ln files are just plain wrong. We
need some sort of extended make depend hack to do it right. We will
suffer with it for now.
2002-11-02 07:57:05 +00:00
perry
9fcaba1f66 Add lint infrastructure 2002-11-02 07:49:57 +00:00
perry
889bb793ca set LLIBS= so we don't try to check the lint lib against llib-lc.ln 2002-11-02 07:49:29 +00:00
perry
efd79c70c9 Add lint infrastructure 2002-11-02 07:48:17 +00:00
perry
6448ffbdfe set LLIBS= so we don't try to check the lint lib against llib-lc.ln 2002-11-02 07:46:42 +00:00
yamt
310b5f8041 correct asssertion in cpu_switch: spl higher than IPL_SCHED is also ok. 2002-11-02 07:41:30 +00:00
perry
bbad42171f /*CONTCOND*/ while (0)'ed macros 2002-11-02 07:40:47 +00:00
perry
e6873029ee /*CONSTCOND*/ 2002-11-02 07:38:42 +00:00
jdolecek
80f0f798bc back previous revision 1.9 off - compat code was changed to set
struct emul e_nsysent to *SYS_NSYSENT now, and the mask is more efficient
2002-11-02 07:37:33 +00:00
perry
dd07fed86d /*CONTCOND*/, and protect UVMHIST_DECL with #ifdef UVMHIST 2002-11-02 07:37:14 +00:00
perry
4f27ab21b8 /*CONTCOND*/ while (0)'ed macros 2002-11-02 07:30:55 +00:00
perry
6858187df6 /*CONTCOND*/ while (0)'ed macros 2002-11-02 07:20:42 +00:00
perry
e4c3c3c99a /*CONTCOND*/ a sizeof comparison 2002-11-02 07:19:51 +00:00
perry
3f03646323 /*CONTCOND*/ while (0)'ed macros 2002-11-02 07:17:31 +00:00
perry
1547f39c5a /*CONTCOND*/ a while (0) macro 2002-11-02 07:15:07 +00:00
perry
7c42625da4 define KERNBASE with a UL -- eliminates 830 or so lines of lint. 2002-11-02 07:09:23 +00:00
perry
fa3fedc290 /*ARGSUSED*/ one function -- eliminates 414 lint complaints 2002-11-02 07:07:09 +00:00
enami
0ad4042cc2 ... and fix typos which makes wrong display. 2002-11-02 06:35:30 +00:00
enami
a65c9b21f2 Cosmetic changes. 2002-11-02 06:32:10 +00:00
yamt
80fb7e0013 M_ZERO for inline'ed MALLOC. 2002-11-02 06:24:34 +00:00
perry
2bf91ba1e8 environment variables, not environmental variables 2002-11-02 04:13:41 +00:00
thorpej
3d93c95dc8 Make register_t == long long for N32, and == long for everthing else.
Use register_t in label_t.
2002-11-02 02:45:22 +00:00
perry
c290830eb1 changed asm()s to __asm()s.
XXX Now, could someone please explain to me why in the love of Bob a
file containing inline x86 assembler is in sys/dev/isa/????
This should be moved, fixed, or nuked from space.
2002-11-02 02:10:56 +00:00
wiz
fdc93ee90f Add tag for yesterday's state. 2002-11-02 02:07:43 +00:00
thorpej
3517ae5f6a Define N32/N64 register usage. 2002-11-02 02:00:17 +00:00
mrg
c066bc7b3a update to new dkstats.c interface; no changes to how this program works.
pointed out by uwe@ in private email.
2002-11-02 01:59:24 +00:00
perry
a0839650fe asm -> __asm 2002-11-02 01:58:51 +00:00
perry
58d2be532d asm volatile -> __asm __volatile 2002-11-02 01:57:31 +00:00
perry
73a1e34586 asm -> __asm 2002-11-02 01:56:14 +00:00
perry
ab74747a8d 1) // is only for c99 or gcc
2) inline is acceptable in c99 -- create a new c99 keyword class.

XXX The handling of sflag and Sflag is utterly bogus throughout this
pass. I think I have to make some adjustments.
2002-11-02 01:42:22 +00:00
thorpej
4b17905e0f Add support for "link sets", which are arrays of pointers to objects
gathered together in named sections by the linker.
2002-11-01 22:58:44 +00:00
kristerw
85b746f61a ISO C requires a statement after a label. 2002-11-01 21:46:51 +00:00
jdolecek
60c092247e pckbc_poll_data1(): make sure the loop variable is always initialized
this potential problem found by Krister Walfridsson
2002-11-01 21:39:31 +00:00
jdolecek
6a40f5edcb pipe_read(): initialize ocnt before pipelock() call; it might have been
used unitialized when the pipelock() call would fail
bug found by Krister Walfridsson
2002-11-01 21:34:30 +00:00