Commit Graph

176975 Commits

Author SHA1 Message Date
sborrill 1916312e0f Return ENOENT instead of panicking when irq doesn't equal line
(mpacpi_findintr_linkdev: irq mismatch). This doesn't fix the cause of
kern/38540, but stops the bogus panic. It's pretty definite that the device
with the mismatched irq will not function.
----------------------------------------------------------------------
2009-01-12 08:36:36 +00:00
cegger 2846a218fe use PRIu64 format to printf DISKPART 2009-01-12 08:33:02 +00:00
cegger 942939bc67 use PRIu64 format to printf major() value 2009-01-12 08:30:38 +00:00
cegger e3ea11974a cast to char to printf DISKPART
XXX Shouldn't sun3 use the MI drivers instead?
2009-01-12 08:27:26 +00:00
cegger cc49ee3c57 use PRIu64 format to printf major() and minor() values 2009-01-12 08:22:37 +00:00
cegger da1cef7418 cast to char to printf DISKPART 2009-01-12 08:16:27 +00:00
cegger 7bff66c0b7 use PRIu64 format to printf major() and minor() values 2009-01-12 08:12:46 +00:00
tsutsui 27d0a967bd Enable and fix prototype warnings. 2009-01-12 08:06:54 +00:00
cegger 7a0ccae4d3 use PRIx64 format to printf type dev_t 2009-01-12 07:57:55 +00:00
tsutsui 5af0a1dff0 - WARNSfy
- make sure machine and ${MACHIN_ARCH} symlinks are always created
- several tweaks to allow build without installed DESTDIR
2009-01-12 07:56:31 +00:00
tsutsui 7704306fc5 Warning options should be in CFLAGS, not CPPFLAGS. 2009-01-12 07:51:02 +00:00
tsutsui e7cdb2297e WARNSfy 2009-01-12 07:49:57 +00:00
tsutsui e46a73d2df - WARNSfy
- make sure machine and ${MACHINE_ARCH} symlinks are always created
- add incpath to AFLAGS too for build without DESTDIR
2009-01-12 07:47:47 +00:00
tsutsui b4d6984248 - WARNSfy
- add src/common/dist/zlib to incpath for build without DESTDIR
2009-01-12 07:45:24 +00:00
tsutsui 9eb4d00797 - WARNSfy
- make sure machine and ${MACHIN_ARCH} symlinks are always created
- add src/common/dist/zlib to INCPATH and remove unnecessary options
- remove -I${DESTDIR}/usr/include from INCPATH
2009-01-12 07:42:30 +00:00
tsutsui 1ab746642d Use WARNS=2 rather than WARNS=4 since it's too strict for MI libsa yet. 2009-01-12 07:32:32 +00:00
tsutsui edb2ee0c90 WARNSfy 2009-01-12 07:29:23 +00:00
tsutsui 395163339e - add some make variables to suppress errors on build without DESTDIR
- make sure machine and ${MACHINE_ARCH} symlinks are always created
2009-01-12 07:25:39 +00:00
tsutsui c2aee7cf41 Make sure machine and ${MACHINE_ARCH} symlinks are always created. 2009-01-12 07:23:59 +00:00
tsutsui 2a366090a5 Add some make variables to suppress errors on build without DESTDIR. 2009-01-12 07:20:35 +00:00
tsutsui b49b722d36 Create machine and ${MAHCINE_ARCH} symlinks in ${.OBJDIR}
to allow build without DESTDIR.
2009-01-12 07:19:08 +00:00
tsutsui 1ab507751d - add prototype warning options
- catch up changes for common powerpc/stand/mkbootimage

XXX: daily build for rs6000 should be enabled on releng server?
2009-01-12 07:16:17 +00:00
tsutsui 3c9b771cc4 - add prototype warning options
- add some make variables to suppress errors on build without DESTDIR
2009-01-12 07:12:17 +00:00
tsutsui 5df57d7d96 WARNSfy 2009-01-12 07:10:13 +00:00
tsutsui 2f2cc7f39b Use <machine/stdarg.h> rather than <stdarg.h> to allow build without DESTDIR. 2009-01-12 07:07:07 +00:00
tsutsui ffe0121899 WARNSfy 2009-01-12 07:05:22 +00:00
tsutsui fe0dea612e WARNSfy. 2009-01-12 07:00:59 +00:00
tsutsui befa8bb5df Add parantheses to macro to suppress possible compiler warnings. 2009-01-12 06:53:39 +00:00
tsutsui c264741e4c Enable prototype warning options. 2009-01-12 06:50:31 +00:00
mhitch 609c3d84c1 Retain compatibility with old firm_event. Old Xamiga binary now works with
-current kernel.
2009-01-12 03:18:26 +00:00
pooka 367deb8e0a Use userspace version unless _HARDKERNEL. Otherwise we use atomic
cas to implement spinlocks and spinlocks to implement atomic cas....
which might suck.

Since the userspace version uses ll/sc, which doesn't exist on
R2000/R3000, rump will not work on those platforms.  *snif* (well,
pthread in general AFAICT).
2009-01-12 03:05:10 +00:00
pooka 654753c2e1 include sys/param.h for _HARDKERNEL instead of homegrown def. 2009-01-12 02:53:29 +00:00
pooka 4bfd645c6b .. and finally, we need __ASSEMBLER__ instead of _LOCORE, since we
might want this header from userspace assembly files as well.
2009-01-12 02:51:30 +00:00
christos 47e43241e2 protect kernel inline with _KERNEL 2009-01-12 02:26:16 +00:00
pooka ceca66166d * Add adapted version of the userspace atomic_cas ops for platforms
lacking special instructions.  We always use the spinlocked version
  (could use RAS on UP NetBSD host, but it's not portable).
* Add platform-based symbol quirk tables for selectively not renaming
  toolchain symbols for some platforms.  Although, this should really
  depend on the (toolchain,platform)-tuple and not just the platform.

This allows arm, hppa, mips and sh3 to build succesfully with an
isolated rump kernel namespace.  ... now, one arch remains: vax.
you must compile vax.  then, only then will you MI be.
2009-01-12 02:22:55 +00:00
pooka 0f1f70a3d7 Shove in some hppa love to help with spcopy.S (why does that need
to be in libkern?).
2009-01-12 02:04:35 +00:00
christos b34c1a567e s/set/get/ 2009-01-11 23:55:25 +00:00
christos ced9088db5 retain compatibility with old firm_event. Perhaps we should bump the protocol
version with an ioctl?
2009-01-11 23:36:39 +00:00
cegger 9273b33558 use PRI format macros to printf major and minor values 2009-01-11 23:27:47 +00:00
cegger b4fe900840 adaption for making kgdb_dev a dev_t 2009-01-11 23:20:37 +00:00
jnemeth 1cdebf7e1f got a couple wrong 2009-01-11 23:14:53 +00:00
mhitch 6ebe2c3a6d Compat a.out stat structures also need to use u_int32_t dev_t. 2009-01-11 22:54:16 +00:00
mhitch 3d65f643b9 fix dev_t printf formats. 2009-01-11 22:51:36 +00:00
christos c42a4332d6 bump versions for time_t 2009-01-11 22:42:39 +00:00
christos af8f3048ca fix dev_t printf formats. 2009-01-11 22:37:50 +00:00
pooka bf1857180f ... except we mostly need _HARD/SOFTKERNEL in assembly and we can't
include param.h from asm as such.  So wrap in #ifndef logore.
2009-01-11 22:29:02 +00:00
wiz 878e839563 New sentence, new line. 2009-01-11 22:03:56 +00:00
wiz 140f24c96f regen. 2009-01-11 22:03:15 +00:00
wiz 9492e5b9bf Make ready for HTML output, add comma. 2009-01-11 22:03:10 +00:00
wiz eaae165147 Mark up arguments with Ar and drop trailing whitespace. 2009-01-11 22:02:38 +00:00