Commit Graph

1965 Commits

Author SHA1 Message Date
gdamore
06522e0f81 Pass the filesystem time to clock drivers in the todr_chip_handle, so that
vax, and pmax can use it.
2006-09-16 00:50:52 +00:00
matt
92ae0af8bc Don't include <sys/device.c> unless this is a _KERNEL 2006-09-06 00:31:50 +00:00
matt
3d1a5167c6 Define LIBCRTBEGIN/LIBCRTEND so we don't need to build userland before
building the bootloaders.
2006-09-06 00:31:22 +00:00
matt
0cbed11bde #define __HAVE_GENERIC_TODR 2006-09-05 19:33:55 +00:00
matt
27176f3722 Switch VAX over to generic TODR 2006-09-05 19:32:57 +00:00
matt
d2fa9e5329 Make cpu_coredump dependent on COREDUMP 2006-08-31 16:49:21 +00:00
yamt
e527ebac6f - remove unused bdbtofsb.
- move the following macros from MD headers to sys/param.h.
	ctod
	dtoc
	ctob
	btoc
	dbtob
	btodb
2006-08-28 13:43:35 +00:00
christos
e0df1e4c51 PR/34283: Gene ENonymous: Add IPFILTER_LOOKUP to the default kernel options
Also remove CCITT,NS,NIP
2006-08-26 20:26:43 +00:00
tsutsui
6ff205ce76 Remove obsolete #options VERIFIED_EXEC, found by grep(1). 2006-08-26 07:59:21 +00:00
christos
b300b74469 Disable SYSTRACE by default on all kernels (discussed with core) 2006-08-12 15:29:52 +00:00
ad
d8360081f7 Remove RASTERCONSOLE support from the pmax port. 2006-07-29 19:10:56 +00:00
drochner
84f50d1b92 don't install <machine/db_machdep.h>, this is kernel only 2006-07-26 19:54:56 +00:00
ad
f474dceb13 Use the LWP cached credentials where sane. 2006-07-23 22:06:03 +00:00
ad
2b79369c7e - Hold a reference to the process credentials in each struct lwp.
- Update the reference on syscall and user trap if p_cred has changed.
- Collect accounting flags in the LWP, and collate on LWP exit.
2006-07-19 21:11:37 +00:00
matt
46d05ada18 Don't bcopy to 0 because gcc4 doesn't like. Instead use a structure copy
to 0 to do the equivalent thing.  XXX this is evil.
2006-07-08 00:27:30 +00:00
matt
c266c91b24 Reorganize pmap_extract so that *pap is always set to quash gcc4
uninitialized use warnings.
2006-07-08 00:26:21 +00:00
matt
08f6d0142a Make GCC3/GCC4 happy with these asms. 2006-07-08 00:25:24 +00:00
mrg
5bf1ad3744 fix pointer signedness and build with GCC4. 2006-07-01 05:55:34 +00:00
liamjfoy
aeee5deab9 Add CARP to GENERIC kernel configs. CARP is not enabled by default.
ok: christos
2006-06-28 15:19:27 +00:00
he
9c72169b1f Correct mistakes I made when getting rid of lvalue casts. 2006-06-11 08:35:00 +00:00
he
34155cf541 Correct a mistake I introduced when getting rid of lvalue casts. 2006-06-11 08:29:03 +00:00
he
bc5f506d49 Get rid of another instance of an lvalue cast. 2006-06-08 08:18:13 +00:00
he
6f8829a0d2 Get rid of lvalue casts by either using an extra temporary variable
or by using the appropriate casts in the first place.
2006-06-08 07:03:11 +00:00
mrg
db19e89e04 remove support for building (with) GCC 2.95. also:
- always install <stdbool.h>
- don't generate a fake one for vax / gettext.
2006-06-02 22:16:18 +00:00
yamt
b146bf6cab include kauth.h for kauth_cred_geteuid. 2006-05-15 20:55:47 +00:00
elad
8ccb6c9341 integrate kauth. 2006-05-14 21:55:09 +00:00
he
06d42ba224 Make this build again (replace indirection with field access). 2006-04-16 09:34:56 +00:00
matt
8b8889400b No reason to do *(vaddr_t *)& dance. We only assign to vaddr_t 2006-04-15 17:52:56 +00:00
blymn
3c0adb7d99 Make i/o statistics collection more generic, include tape drives and
nfs mounts in the set of devices that statistics will be reported on.
2006-04-14 13:09:05 +00:00
jmmv
7a51d4dddc Add an extra cookie to the ioctl and mmap wsdisplay accessops that points
to the screen on which they are being called.  The driver cannot guess
this by itself but it is needed to implement, at least, the getwschar and
putwschar functions in the correct place.  There are no functional changes
yet.

Tested on i386 (vga, vga_raster, machfb, vesafb), macppc and sparc64.
Suggested and reviewed by macallan@.
2006-04-12 19:38:22 +00:00
mrg
0db1500b43 retire HAVE_GCC3/HAVE_GCC4 and introduce HAVE_GCC that is set to 2, 3 or 4. 2006-04-07 19:38:58 +00:00
cherry
93447d7ac4 closes: PR kern/32359
modifies machine/db_machdep.h: BKPT_SET(inst) to BKPT_SET(inst, addr) for all archs ie; passess the
breakpoint address as well.

Patch from cherry@mahiti.org
2006-04-01 15:45:00 +00:00
chs
788c9819d4 vmapbuf() does not tolerate failure to get virtual space, use UVM_KMF_WAITVA. 2006-03-30 04:07:13 +00:00
thorpej
2be6494fc9 Use device_cfdata(). 2006-03-29 04:16:44 +00:00
pavel
dc1372c547 Add stf to all kernel configs which have INET6 and gif, except the INSTALL
ones and those for specific machines of developers. PR 32304.

OK'ed by rpaulo.

N.B. stf is a cloning device, so it still must be enabled by
"ifconfig stf0 create".
2006-03-28 20:58:39 +00:00
thorpej
39cd836ee1 Use device_unit(). 2006-03-28 17:38:24 +00:00
thorpej
da6fcd553b Add a comment indicating that the cpuid (derived from the autoconfiguration
unit number of the CPU) should be cached in the cpu_info.
2006-03-28 17:25:11 +00:00
matt
332716e9f3 Fix typo in lhs cast removal. 2006-03-15 22:39:28 +00:00
drochner
47fbb9d86b adapt to uvm_fault() interface cleanup: kill the useless 3rd argument 2006-03-15 18:12:02 +00:00
he
343425c577 Add a forward declaration of "struct trapframe", to allow declaration
of a pointer to it in the syscall handling function.
2006-03-13 10:50:16 +00:00
matt
5c53cf65da Fix various places where assignment happen to casted lvalues.
(t)v = foo; is not legal C.
2006-03-12 17:14:41 +00:00
christos
8958999012 welcome to syscall_intern. 2006-03-12 02:04:26 +00:00
lukem
a1f606d3fd Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings.
Add a space between numbers and Hz unit.
2006-03-08 23:46:22 +00:00
sekiya
11927f82ba The network bootloader entry point should be nisse(), not start(). Fixes a
very long-standing netboot issue.

Patch contributed by Hans Rosenfeld.
2006-03-08 09:32:22 +00:00
thorpej
be8b235384 Clean up fallout proc_is_traced_p() change:
- proc_is_traced_p() -> trace_is_enabled(), to match trace_enter() and
  trace_exit().
- trace_is_enabled() becomes a real function.
- Remove unnecessary include files from various files that used to care
  about KTRACE and SYSTRACE, but do no more.
2006-03-07 03:32:04 +00:00
yamt
ec5a93183a merge yamt-uio_vmspace branch.
- use vmspace rather than proc or lwp where appropriate.
  the latter is more natural to specify an address space.
  (and less likely to be abused for random purposes.)
- fix a swdmover race.
2006-03-01 12:38:10 +00:00
thorpej
845050cf52 Use device_is_a(). 2006-02-26 18:59:46 +00:00
thorpej
458b3e43f7 Use device_parent(). 2006-02-23 05:37:46 +00:00
skrll
2165097856 Remove duplicate #include <sys/types.h> 2006-02-17 08:41:31 +00:00
perry
fbae48b901 Change "inline" back to "__inline" in .h files -- C99 is still too
new, and some apps compile things in C89 mode. C89 keywords stay.

As per core@.
2006-02-16 20:17:12 +00:00