Commit Graph

2254 Commits

Author SHA1 Message Date
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
chs
60b21d1590 use uvm_km_alloc() instead of uvm_map(). 2006-03-30 04:05:05 +00:00
thorpej
2be6494fc9 Use device_cfdata(). 2006-03-29 04:16:44 +00:00
pavel
9f508a304c regen (added stf). 2006-03-28 21:14:54 +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
aymeric
1adab2b4e3 as far as control registers are concerned, the A1200 behaves the same as the
A4000.  This allows the use of ATAPI drives on the A1200.
Idesc can really rest in peace now.
2006-03-27 19:35:33 +00:00
is
814b71df61 idesc.c was unreferenced for 14 months; time has finally come to move it]
to the Attic.
2006-03-26 19:30:57 +00:00
thorpej
21374641a5 Use device_unit(). 2006-03-26 04:32:33 +00:00
drochner
47fbb9d86b adapt to uvm_fault() interface cleanup: kill the useless 3rd argument 2006-03-15 18:12:02 +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
aymeric
72fe84ab67 . free VM if attach fails
. many small cleanups
No functional improvement
2006-03-05 22:01:32 +00:00
aymeric
454ab782f0 add the no_instrument_function attribute to start_c so that we can reliably
profile the kernel
2006-03-05 21:59:15 +00:00
aymeric
18d008b37e include ../m68k/Makefile.inc after we got a chance of having a better
definition of SYSDIR. This makes tags work if the sources are not in /sys
2006-03-05 21:57:59 +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
cube
6ff13154dd Remove 'count' argument for pseudo-devices that ignore it
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
2006-02-05 05:01:48 +00:00
rpaulo
cc9f3c8ae6 regen 2006-02-04 02:25:21 +00:00
rpaulo
4866e74b23 bpfilter doesn't accept count anymore. 2006-02-04 02:25:08 +00:00
reinoud
be58a98b29 Regen GENERIC config files. 2006-02-03 00:41:26 +00:00
reinoud
f4c2e9d012 Add uncommented file-system UDF for generated config GENERIC files. 2006-02-03 00:40:16 +00:00
reinoud
a92fdbbc53 Add commented out UDF file-system entry in all GENERIC configurations. 2006-02-02 21:32:08 +00:00
is
99ff421490 Implement dealloc() - and implement alloc() in a way that it matches it. 2006-01-31 14:58:28 +00:00
dsl
6f0f9f8763 Make almost everything #include <sys/bswap.h> instead of <machine/bswap.h>
The bswap.h and endian.h files are all rather incestuous, but I want to
get the constant folding stuff into one place - sys/bswap.h
2006-01-29 21:42:40 +00:00
christos
606bb2caed free -> dealloc
unsigned -> size_t for alloc/dealloc
2006-01-25 18:28:25 +00:00
is
7f423356f3 Compile new zlib; compile it in a way that it doesn't inflate the bootblock
by 50% with tables. While we're here: use our own memmove().
2006-01-25 13:23:50 +00:00
is
c84b52f260 Define memmove(), too. 2006-01-25 13:12:33 +00:00
is
2cee6da4a1 provide more space for relocs in the secondary bootblock.
Guarantee that relocs and 16 bit pc-relative addressing works.
2006-01-24 20:04:05 +00:00
is
0fb6c8c68b Use our own s(n)printf. 2006-01-24 20:02:03 +00:00
is
2c91ec128b Implement sprintf and snprintf. 2006-01-24 19:56:27 +00:00
bouyer
bf1a4d2af5 properly use ata_channel->ch_ndrive:
- initialize it properly in the bus front-ends (all 2, exept in wdc_pcmcia.c
  for the "Sandisk CompactFlash Card" where it's set to 1)
- remplace hardcoded '2' by ata_channel->ch_ndrive in MI IDE drivers.

From Christos Zoulas in kern/32501.
2006-01-16 20:30:18 +00:00
is
a19aac46b7 Make the bootblocks compile again using the shared libc functions. 2006-01-02 22:10:31 +00:00
is
c8ee999982 fixing typo in comment 2005-12-30 16:12:11 +00:00
perry
2d65de2479 bare asm -> __asm 2005-12-24 22:45:33 +00:00
perry
5f1c88d70d Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete. 2005-12-24 20:06:46 +00:00
christos
95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
tsutsui
fd9731e9a4 Regen from GENERIC.in rev 1.48:
> Add veriexec stuff to the common config file.
2005-12-10 14:54:40 +00:00
tsutsui
08575b5e08 Add veriexec stuff to the common config file. 2005-12-10 14:53:10 +00:00
elad
4591e5acfd Add (commented out) Veriexec options and pseudo-device to GENERIC kernels,
and remove the i386 GENERIC_VERIEXEC config.
2005-12-09 23:34:01 +00:00
tsutsui
cf900d2ab9 Regen from GENERIC.in rev 1.47:
> Remove obsolete options VNODE_OP_NOINLINE.
2005-12-07 12:42:39 +00:00
tsutsui
2a32b6081e Remove obsolete options VNODE_OP_NOINLINE. 2005-12-07 12:40:46 +00:00
tsutsui
ebd35749cf Adjust comments for options FFS_NO_SNAPSHOT. 2005-12-07 12:22:29 +00:00
tsutsui
1e0ccec995 Regen from GENERIC.in rev 1.46:
> Adjust comments for options FFS_NO_SNAPSHOT.
2005-12-07 12:13:47 +00:00
tsutsui
ff9b47d69e Adjust comments for options FFS_NO_SNAPSHOT.
XXX: This option should be mentioned in options(4).
2005-12-07 09:10:11 +00:00
tsutsui
d0c28ccd6d Fix typo (FALLTHOUGH -> FALLTHROUGH). From Jeff Ito. 2005-11-26 13:54:18 +00:00
chs
72d7d84d98 regen 2005-11-03 16:49:09 +00:00
chs
59fddeceaa turn off DEBUG and DIAGNOSTIC in GENERIC kernels so that they
are compatible with the LKMs that are part of the release.
2005-11-03 16:48:29 +00:00
chs
df1287ee8b fix crash dumps on m68k platforms, cpu_kcore_hdr_t is larger than
512 bytes now so we need a bigger buffer.  PR 26958.
2005-10-30 15:49:39 +00:00
yamt
aec75b1cc6 - change the way to specify a bufq strategy. (by string rather than by number)
- rather than embedding bufq_state in driver softc,
  have a pointer to the former.
- move bufq related functions from kern/subr_disk.c to kern/subr_bufq.c.
- rename method to strategy for consistency.
- move some definitions which don't need to be exposed to the rest of kernel
  from sys/bufq.h to sys/bufq_impl.h.
  (is it better to move it to kern/ or somewhere?)
- fix some obvious breakage in dev/qbus/ts.c.  (not tested)
2005-10-15 17:29:10 +00:00
tsutsui
eed1fcb469 Regen from GENERIC.in rev 1.44:
> Add (commented out) file-system TMPFS in a proper file.

XXX: It seems `INSTALL_CONFIGURATION' in GENERIC.in should be reorganaized.
2005-10-07 17:51:07 +00:00
tsutsui
2c0da89986 Add (commented out) file-system TMPFS in a proper file. 2005-10-07 17:46:33 +00:00
yamt
d597202302 make VMSWAP optional again. 2005-09-17 14:38:38 +00:00