Commit Graph

168078 Commits

Author SHA1 Message Date
cube a27f79f69e Use M_TEMP for allocations instead of the now deceased M_IOCTLOPS. 2008-03-23 15:50:51 +00:00
yamt 7f068c6aa5 mention fpos_t 2008-03-23 15:33:26 +00:00
rmind 42c415f8f1 pool_cache_init: Remove the alignment of pc according to the CACHE_LINE_SIZE,
which is not useful for rump.  This fixes the pool_cache_destroy() which was
freeing the modified pointer, instead of the original one.

OK by <pooka>.
2008-03-23 14:39:17 +00:00
xtraeme 5a14ef4138 Add missing acpilid_wake_event() proto. 2008-03-23 14:20:15 +00:00
yamt c3c197ba35 when calculating some cache sizes, consider the amount of available kva.
PR/33185.
2008-03-23 14:12:39 +00:00
ad 3acbed8e48 Split select/poll into their own file. 2008-03-23 14:02:49 +00:00
ad c9a93c8c58 Make this build again. From isaki@. 2008-03-23 13:58:47 +00:00
tsutsui a6bb23ea14 On preparing a setup packet, use proper byteswap ops and byte shift ops
rather than #ifdef BYTE_ORDER and subtle pointer casts.
2008-03-23 11:08:25 +00:00
yamt 93109cd91b when calculating some cache sizes, consider the amount of available kva.
PR/33185.
2008-03-23 10:39:52 +00:00
yamt d3bb744af3 make buf_map static. 2008-03-23 10:33:15 +00:00
tsutsui 7934941b93 Ignore the Report on MII error bit if chip doesn't have MII.
Fixes annoying "tlp0: MII error" messages on Qube 2700 with 21041.
2008-03-23 10:32:51 +00:00
mlelstv d59e5a49dd fix Version to 1.1 2008-03-23 08:24:18 +00:00
bjs d975c184ef Append ",profile" at the end of the line for libheimntlm_p.a and
libhx509_p.a.  Without this, the build system expects these to be present
in DESTDIR regardless of whether MKPROFILE was set to "no".
2008-03-23 07:32:13 +00:00
uwe ee4c6e644b G/c old softint code. 2008-03-23 06:07:08 +00:00
uwe 91731665c3 intc_intr_enable/disable: TMU3 and TMU4 are handled by INTPRI00 &co.
Correctly propagate requests to enable/disable their interrupts.
2008-03-23 05:53:47 +00:00
uwe 3328e83196 Sort SH4_INTEVT_PCI* codes. 2008-03-23 05:45:45 +00:00
rmind 2aaf481e64 G/C l->l_locks.
OK by <ad>.
2008-03-23 00:46:25 +00:00
rmind 579caa1e17 - Support for select/poll.
- Convert pool to pool-cache.
- Wrap long lines, adjust the license.
2008-03-23 00:44:15 +00:00
pavel a4783b9a2e remove myself from releng 2008-03-23 00:08:58 +00:00
jdc 479872d6de Check the "shared-pins" property for the value "serdes".
Makes SBUS GEM 1000Base-SX cards attach.
2008-03-22 23:37:32 +00:00
simonb a1ba91e196 Remove unused _BSD_OFF_T_. 2008-03-22 22:06:35 +00:00
ad 53d9c2f69b Update for select/poll changes. 2008-03-22 19:27:23 +00:00
mlelstv 7ae544fc2d Remove computed source files that may confuse mkdep. 2008-03-22 19:15:21 +00:00
tsutsui 18573edb9c Use C99 initializer. 2008-03-22 18:46:49 +00:00
tsutsui 927baa9250 Make <cobalt/leds.h> obsolete. (no userland stuff in it anyway) 2008-03-22 18:34:19 +00:00
tsutsui 38e83cc130 Reorganize interrupt handling on cobalt and allow multiple interrupts on
each icu irq to support multi function PCI devices in the Qube's PCI slot:

- split out interrupt stuff from machdep.c into new interrupt.c
- prepare struct *_intrhead to handle cpu and icu interrupts
- use LIST and malloc(9) to handle multiple interrupts per icu irq
  (mostly taken from algor/pci/pcib.c and evbmips/malta/pci/pcib.c)
- move evcnt(9) stuff into *_intrhead from cobalt_intrhand
  (i.e. make it per interrupt rather than per handler)
- in pci_intr_map(9) handle CPU interrupt separately and add a sanity check
- fixup interrupt lines for devices on the PCI slot in pci_conf_interrupt(9)
- move some device address definitions into <machine/cpu.h> and
  remove <machine/leds.h>
- misc cosmetics

No objection on port-cobalt for three weeks.
2008-03-22 18:32:20 +00:00
ad 7bdc0183f8 4.99.57 - struct selinfo changed 2008-03-22 18:05:13 +00:00
ad 40379c8716 Commit the "per-CPU" select patch. This is the result of much work and
testing by rmind@ and myself.

Which approach to use is still being discussed, but I would like to get
this out of my working tree. If we decide to use a different approach
there is no problem with revisiting this.
2008-03-22 18:04:42 +00:00
ad ecdd2c2965 Cheat and add inlines for _atomic_cas_ptr() to work around gcc emitting
unneeded PIC stuff in mutex_lock() and mutex_unlock(), when a thread
register is used.
2008-03-22 17:59:12 +00:00
ad 5214147407 LWP_CACHE_CREDS: instead of testing (l_cred != p_cred), use a per-LWP
flag bit to indicate a pending cred update. Avoids touching one item of
shared state in the syscall path.
2008-03-22 17:53:34 +00:00
plunky 220e536f69 remove unnecessary include file 2008-03-22 17:20:31 +00:00
nakayama c853b61f50 Add more assertion. 2008-03-22 16:51:30 +00:00
jmmv bf266e554b Fix esym calculation to match comments. Reported by Gao Ya'nan in
PR port-i386/38170.
2008-03-22 16:50:17 +00:00
mlelstv fcf1d7cd15 Remove computed source files that may confuse mkdep. 2008-03-22 16:17:50 +00:00
christos 4897e6c085 bring some stuff from time_t=64...
- add sysalign parameter to syscalls.conf
- add compat_50
2008-03-22 15:11:01 +00:00
reed 0b1fe5192d In example, change dd count size and also chmod so others can't read swap. 2008-03-22 14:39:57 +00:00
ad 69c15cf00b Make it compile. 2008-03-22 14:28:10 +00:00
ad 3685a3103f vn_close no longer takes a 'struct lwp' argument. 2008-03-22 14:21:56 +00:00
ad 527a0b7dab Regen. 2008-03-22 14:20:30 +00:00
ad f5405b27b2 Unmark kevent/kqueue as MPSAFE. There seems to be some kind of deadlock
involving kernel_lock.
2008-03-22 14:20:09 +00:00
ad 783e2f6db5 Back out previous. It seems to expose another bug in libpthread/libc,
potentially errno being used before threading is up and running.
2008-03-22 14:19:27 +00:00
jmmv 978a8525ec Add obsolete entries for Heimdal-1.1 import. Hi, mlelstv@! 2008-03-22 13:28:12 +00:00
mlelstv e160244ccb match whitespace after RCSID 2008-03-22 13:08:21 +00:00
mlelstv 1ea66c56df NetBSD uses __RCSID 2008-03-22 13:03:05 +00:00
mlelstv 61c7bde65a Heimdal on NetBSD uses __RCSID. 2008-03-22 12:43:47 +00:00
jmmv dad672bb3e Beleatedly document the MODULAR kernel option and mk.conf's MKMODULAR.
Per hubertf@'s request.
2008-03-22 12:29:01 +00:00
lukem a6de26fe1b add USE_* to params 2008-03-22 12:02:59 +00:00
mlelstv 5d9c8e15e0 Import Heimdal-1.1
one more missing file
2008-03-22 10:35:47 +00:00
yamt d92af407ba call setlocale so that nl_langinfo makes sense. 2008-03-22 10:30:21 +00:00
yamt 9adad93037 wrap a long line. 2008-03-22 10:24:17 +00:00