Commit Graph

1886 Commits

Author SHA1 Message Date
thorpej
a14f3b25f6 Add some whitespace to make reading this file easier. 2001-01-17 02:17:47 +00:00
thorpej
d74e432ed3 Make softclock a generic soft interrupt of the API is available,
adding the requisite void * argument to softclock().
2001-01-15 20:19:50 +00:00
thorpej
7200d34a76 Whenever ps_sigcheck is set to true, signotify() the process, and
wrap this all up in a CHECKSIGS() macro.  Also, in psignal1(),
signotify() SRUN and SIDL processes if __HAVE_AST_PERPROC is defined.

Per discussion w/ mycroft.
2001-01-14 22:31:58 +00:00
thorpej
a624c70966 Use splvm(), not the home-grown splmem(). 2001-01-14 02:08:35 +00:00
thorpej
20f5aecd16 splimp() -> splvm() (mbufs are "memory allocation") 2001-01-14 02:07:22 +00:00
fvdl
d82b599214 Add 'vendor' toplevel name. To be used as vendor.<vendorname>.* for
vendor-specific data.
2001-01-09 21:30:25 +00:00
enami
cdd63c8e8b Add RCSid. 2001-01-08 08:37:12 +00:00
enami
c3b283e57f Missed RCSid in rev. 1.61. 2001-01-08 07:48:59 +00:00
fvdl
3947143db7 Define __HAVE_OLD_DISKLABEL in <machine/types.h> for i386 (where the
other __HAVE_* defines are). Conditionalize definition of old
disklabel struct and ODIOC* definitions on it, allowing other ports
to bump the number of partitions in the label if they want to
(see comment in sys/disklabel.h).
2001-01-07 17:55:40 +00:00
cgd
169563b7c1 #warn is _not_ the GCC CPP directive that gives a warning, #warning is.
(this code has, apparently, always been wrong, but current GCC is kind
enough to warn about unknown CPP directives.)
2001-01-06 00:35:54 +00:00
jdolecek
d7f811d098 utrace(2): limit size of user data to KTR_USER_MAXLEN (currently 2048); return EINVAL if 'len' is bigger 2001-01-05 22:25:26 +00:00
jdolecek
2bd5bf0ec2 regen after utrace() parameter rename 2001-01-05 21:53:38 +00:00
tron
a9fb04248b Correct comment behind version number. 2001-01-02 23:35:56 +00:00
tron
0ce4a9a0de Use highest bit of minor as an extra bit for the partition number to
bump the maximum partition number on NetBSD-i386 to 16. (Approved by fvdl)
2001-01-02 23:06:54 +00:00
kleink
20a43da197 C99: add new parameters int_p_cs_precedes, int_n_cs_precedes,
int_p_sep_by_space, int_n_sep_by_space, int_p_sign_posn and
int_n_sign_posn to monetary locale information.
2001-01-02 10:53:24 +00:00
jdolecek
2ed3ce29ea regen after makesyscalls.sh fix:
Avoid generating duplicate SYS_* defines to *syscall.h - is possible
for kern/syscalls.master's sys_getpid()/sys_getpid_with_ppid().
This fixes kern/11853 by Bernd Ernesti.
2001-01-01 16:45:07 +00:00
augustss
b85fdbbc47 Add a field in mixer_devinfo_t that indicates the minimum delta to
change mixer value.  A value of 0 indicates that the driver doesn't
supply a delta.
The change is backwards compatible.
2000-12-29 10:00:08 +00:00
sommerfeld
851de295eb Change pci_intr_map to get interrupt source information from a "struct
pci_attach_args *" instead of from four separate parameters which in
all cases were extracted from the same "struct pci_attach_args".

This both simplifies the driver api, and allows for alternate PCI
interrupt mapping schemes, such as one using the tables described in
the Intel Multiprocessor Spec which describe interrupt wirings for
devices behind pci-pci bridges based on the device's location rather
the bridge's location.

Tested on alpha and i386; welcome to 1.5Q
2000-12-28 22:59:06 +00:00
jdolecek
7899fd7798 regen - utrace(2) addition 2000-12-28 11:16:48 +00:00
jdolecek
a80dee65df add utrace(2) - this syscall allows to add user ktrace entries
idea from FreeBSD, but added argument (const char *id) so that it's possible
to differentiate between entries from different sources
2000-12-28 11:10:15 +00:00
kleink
dc6c0aa842 Make __restrict actually DTRT for non-C99 GCC >= 2.92. 2000-12-27 10:05:22 +00:00
lukem
05aeef6f4c add MBR_IS_EXTENDED() to detect one of the extended MBR partition types 2000-12-24 13:30:51 +00:00
jdolecek
93c9760c88 bump kernel version to 1.5P - struct proc, struct sigacts changes 2000-12-22 23:21:38 +00:00
jdolecek
82735a50bc struct proc: g/c p_unused 2000-12-22 23:19:15 +00:00
jdolecek
e9e91a0fb5 split off thread specific stuff from struct sigacts to struct sigctx, leaving
only signal handler array sharable between threads
move other random signal stuff from struct proc to struct sigctx

This addresses kern/10981 by Matthew Orgass.
2000-12-22 22:58:52 +00:00
fvdl
0d4862bed1 Regen. 2000-12-22 20:07:09 +00:00
mrg
264248925f regen 2000-12-22 15:10:38 +00:00
mrg
af36640df1 regen 2000-12-22 14:59:40 +00:00
mrg
62230909f1 avoid redefinition of VNODE_OP_NOINLINE 2000-12-22 14:58:39 +00:00
scw
96698d967e Change struct emul's "char e_name[8]" field to "const char *e_name"
to allow for emulation names >= 8 characters.
2000-12-19 22:08:36 +00:00
christos
761a522cde protect against multiple declarations. 2000-12-18 21:20:35 +00:00
thorpej
831d5b8d43 Add SIOCGIFDLT, which will fetch the data link type (DLT_* constant)
for a given network interface.
2000-12-18 21:05:03 +00:00
fvdl
9b9e4d9652 caddr_t -> void * 2000-12-18 18:57:11 +00:00
thorpej
13a32129a0 Bump rev -- size of ifnet changed. 2000-12-18 18:55:43 +00:00
fvdl
05434b01ba Add defines for 'passthrough' (PTIOC) ioctl commands. To be used for
devices that use private sets of ioctls (in LKMs), which should not
conflict with other defines. Define a value for each emulation, so
that, for example, Linux binaries which have specific ioctls
redefined to passthrough ones by the compat code, don't conflict
with other emulations.
2000-12-18 14:43:43 +00:00
jdolecek
d2a0c208d5 add FreeBSD-compatible KTR_USER/KTRFAC_USER 2000-12-17 16:04:51 +00:00
mycroft
b29180b2ff Tighten up the ELF signature checks, and actually look for the ABI tag added
in newer glibc versions.
2000-12-15 06:14:21 +00:00
marcus
724713366e Made weak_alias create correct labels on sh-elf. 2000-12-14 18:47:30 +00:00
itojun
0e7d3ce88c split /usr/include/sys/md5.h and /usr/include/md5.h completely.
future direction: nuke /usr/include/sys/md5.h, it shouldn't be there as
we don't provide libkern to userland.
2000-12-11 21:05:14 +00:00
mycroft
f495cd9dc6 Introduce 2 new flags in types.h:
* __HAVE_SYSCALL_INTERN.  If this is defined, e_syscall is replaced by
  e_syscall_intern, which is called at key places in the kernel.  This can be
  used to set a MD syscall handler pointer.  This obsoletes and replaces the
  *_HAS_SEPARATED_SYSCALL flags.
* __HAVE_MINIMAL_EMUL.  If this is defined, certain (deprecated) elements in
  struct emul are omitted.
2000-12-11 05:28:59 +00:00
thorpej
105cf38061 Add some basic statistics to pool_cache. 2000-12-11 05:22:55 +00:00
fvdl
e464d0288a sobind() interface change -> 1.5N 2000-12-10 23:17:28 +00:00
fvdl
89cef8992e Update prototype for sobind() to include a struct proc *. 2000-12-10 23:13:42 +00:00
mycroft
66610a4779 Introduce PROC_PC(), which is used to get a process's user PC. If this is
defined, call addupc_intr() directly from statclock() in the system time case,
using the same P_OWEUPC path if the copyin/copyout fails.
Use this in i386 to remove profiling code from the normal userret() path.
2000-12-10 19:29:30 +00:00
fvdl
813c5d92f7 Bump stackgap size from 400 to 512. 2000-12-10 14:13:04 +00:00
jdolecek
b5ce335e1c change the type of e_syscall in struct emul to
void (*e_syscall) __P((void))
since it's not uniform between ports
2000-12-09 12:34:14 +00:00
mycroft
284474bf6e Nuke some emul flags. 2000-12-09 07:06:52 +00:00
mycroft
547de8a6a3 Regen. 2000-12-09 07:05:10 +00:00
mycroft
51e3b887d7 Regen. 2000-12-09 06:19:40 +00:00
mycroft
f348afacb9 Regen. 2000-12-09 05:37:01 +00:00