Commit Graph

157136 Commits

Author SHA1 Message Date
njoly
35052cfd97 Fix features display for Intel CPUs.
Slightly updated version from PR/35302.

ok by cube
2007-03-07 18:00:20 +00:00
xtraeme
efdbf7cdc4 * Remove unneeded headers.
* KNF, u_intx_t -> uintx_t
* There's no need to use additional variables for iobase and iot, just
  use the members from ia.
2007-03-07 17:32:47 +00:00
christos
786c0109c2 count outgoing packets. from Markus Mayer 2007-03-07 17:24:38 +00:00
he
77ea0f7a10 Use char* and not void* with mtod() before doing pointer arithmetic
on the result.
2007-03-07 17:22:27 +00:00
tsutsui
4dfb61f1c6 Previous fix is not correct. sc_dmaaddr is actually
pointer against pointer, so just use proper casts
rather than bogus void pointers.
2007-03-07 17:22:19 +00:00
drochner
89d741cf50 initialize line counter for fparseln() 2007-03-07 15:13:50 +00:00
tnozaki
64b5b95f38 fix wrong mapping koi8-c,koi8-e. 2007-03-07 15:12:41 +00:00
drochner
7af4323f9b -fix a condition so that fparseln() doesn't report spurious empty lines
eg after 2 comment lines, or on EOF after a single comment line
-no escape character means no escaped characters
2007-03-07 15:12:01 +00:00
tsutsui
de8ce52c3b Add missed '*', use or add (char *) where pointer arithmetics are needed. 2007-03-07 13:57:30 +00:00
tsutsui
2e775e899c Change variables which are used to read byte stream data
from (void *) to (char *).
2007-03-07 13:54:49 +00:00
he
e651aa0bfe Add a required __UNVOLATILE() around argument to memcpy() / memset(). 2007-03-07 11:49:00 +00:00
skrll
fc4b2491b2 caddr_t fallout 2007-03-07 11:29:46 +00:00
he
2f5c434280 Change casts from void* to char* when doing pointer arithmetic. 2007-03-07 09:24:46 +00:00
he
820deae228 Change a cast from void* to char* due to the need to do pointer arithmetic. 2007-03-07 09:23:32 +00:00
he
2c6b5facb2 Change a cast from void* to char* when doing pointer arithmetic. 2007-03-07 09:22:38 +00:00
he
86747a56e1 Cast to char* before doing pointer arithmetic. 2007-03-07 09:18:56 +00:00
he
4e894df92a Cast to char* and int before doing pointer arithmetic. 2007-03-07 09:15:21 +00:00
he
331a9e6c5c Fix an instance of "void *v, x;" and cast to char* before doing
pointer arithmetic.
2007-03-07 09:10:16 +00:00
dogcow
f790a123d5 unbork openssl import borkage. 2007-03-07 03:18:53 +00:00
dogcow
01abf44400 resolve the not-quite-resolved cvs conflicts (a missing #endif) 2007-03-07 02:34:59 +00:00
dogcow
c1a14b53bd running in emulated wizd mode, convert caddr_t to void *. 2007-03-07 00:41:16 +00:00
he
a0f301859f Cast to char* before doing pointer arithmetic. 2007-03-06 23:50:20 +00:00
mjf
d774015c29 resolve conflicts 2007-03-06 23:47:18 +00:00
he
8a3ceb1726 Cast to char* before doing pointer arithmetic. 2007-03-06 23:38:37 +00:00
simonb
0f3b0c048d Fix some caddr_t rototill fallout.
Some from Erik Bertelsen on port-pmax@.
2007-03-06 22:31:36 +00:00
simonb
6e01250597 Fix some caddr_t rototill fallout. 2007-03-06 22:29:29 +00:00
bouyer
144d1a5c9c Make iso-image do nothing for all but mac68k, which still
relies on mkisofs to create bootable ISO image. macppc should also be there,
but it seems the code to make an iso bootable never got added in etc.macppc/
2007-03-06 21:59:40 +00:00
bouyer
fee07bcfd4 Add an iso_image target (iso-image as a target name doesn't play well with
bsd.subdirs.mk) in distrib/makefile, which builds an iso image for $MACHINE
with binary sets, stored in ${RELEASEDIR}/iso. The image is bootable for:
alpha, amd64, cats, i386, pmax, sgimips, sparc, sparc64, sun3, vax.
mac68k/macppc no there yet because of missing feature in makefs.

call iso_image in distrib/ for iso-image in the top Makefile.
2007-03-06 21:56:47 +00:00
bouyer
04825266e6 Use the new common/Makefile.bootcd to make i386 and amd64 bootable ISO
images. amd64 gets a single kernel; i386 images gets 3 kernels:
- netbsd, copy from netbsd-INSTALL_LARGE.gz, loaded by default
- nbsd-l, copy from netbsd-INSTALL_LAPTOP.gz
- nbsd-i, copy from netbsd-INSTALL.gz for those who want the traditionnal
  non-ACPI kernel
- drop the bootcd-laptop image
both gets an installcd image, which is the same as bootcd but with the
binary sets in addition to kernels.
2007-03-06 21:52:44 +00:00
bouyer
ff6bcd05a5 For the benefit of modern hardware, enable ACPI by default in INSTALL and
GENERIC kernels. If ACPI is an issue on your hardware, 'boot -c' and
'disable acpi' should be a workaround. ACPI-enabled kernels works fine
on pre-acpi hardware.
for amd64:
- add ACPI to INSTALL and GENERIC, remove the *_ACPI config files.
- get rid of the bootfloppy-big.fs boot image, and got to a 3-floppy boot
  image
for i386:
- introduce INSTALL_LARGE which has ACPI and some devices with big firmware
- move some devices from INSTALL to INSTALL_LARGE
- Boot floppies still use INSTALL, and bootfloppy-big.fs is still there
  (for thoses who want to build el-torito floppy emulation boot CD) and use
  INSTALL.
For both, drop the 'iso-image' code in etc/ to make the iso bootable, we'll
use something else to build bootable CDs.
2007-03-06 21:47:45 +00:00
bouyer
541b5a90c5 Improve the use of makefs to build boot CDs, and make it truely MI:
- allow to specify the "instkernel" directory, and allow to put multiple
  kernels on the image
- allow to specify the directory where the image will be created
- only use bootxx_cd9660 if it exists
- search for second-stage boot as usr/mdec/boot.${MACHINE} in addition to
  usr/mdec/boot
- make 'installboot -e' optional
- use target 'release' or 'iso_image' depending on ${CDRELEASE}
- call some MD targets, which will eventually complete the file list or
  make the image bootable
2007-03-06 21:38:29 +00:00
mjf
b22ff73a10 Import OpenSSL 0.9.8e 2007-03-06 21:12:00 +00:00
drochner
e612542ff1 clean up and fix irframe attachment as a line discipline:
make it a regular "bus frontend" in terms of configuration attachment
(this is something new: a device which can be real or pseudo device),
and use only autoconf functions considered exported.
This suffers a bit from the fact that pseudo-devices don't get "aux"
context data passed to the xxx_attach() function. This can be changed
easily; the differences between real and pseudo devices are diminishing...
2007-03-06 20:45:59 +00:00
drochner
603c9278cd irframe is no interface attribute, so remove the "{}" 2007-03-06 20:34:36 +00:00
plunky
fdf9144e1f fix typo 2007-03-06 19:50:28 +00:00
plunky
5bfc159132 don't reset MTU when invalid value is given 2007-03-06 19:04:31 +00:00
he
15e52c3822 Cast to char* before doing pointer arithmetic. 2007-03-06 17:32:05 +00:00
he
c574c4ccc1 Use char* with mtod() when doing pointer arithmetic on the result. 2007-03-06 17:30:34 +00:00
drochner
c29d907bea use char* for the kernel representation of the user profile buffer
address too, for consistency
(we've lost some abstraction here)
2007-03-06 16:16:02 +00:00
tnozaki
9f260693ac disallow illegal utf-8 byte sequence and surrogate chars (RFC3629).
5-6 byte sequence(0x110000 - 0x7FFFFFFF) are still available
for backward compatibility.
2007-03-06 16:13:58 +00:00
drochner
5f590e753e regen 2007-03-06 16:10:17 +00:00
drochner
067e5852ea make the first argument to profil(2) char*, for consistency with <unistd.h> 2007-03-06 16:09:21 +00:00
drochner
707016f5b9 the "addr" argument to ptrace(2) is void* now 2007-03-06 16:07:22 +00:00
tnozaki
806c2e8ee3 add zh_HK.Big5-HKSCS locale, derrived from FreeBSD. 2007-03-06 15:50:45 +00:00
tsutsui
f343bfa8eb Treat bus_space_handle_t as opaque, and use bus_space_vaddr(9) to
get device address.

XXX: This driver should be rewritten to use bus_space(9) more properly.
2007-03-06 14:45:31 +00:00
tsutsui
d5aef94bf1 Change bus_space_handle_t from void * (formerly caddr_t) to u_long
to make things easier.
2007-03-06 14:42:44 +00:00
tsutsui
35788e9981 - remove volatile from *regkva member in struct grfabs_et_priv
and use temporary variables on register accesses
- also remove volatile from *memkva member in struct grfabs_et_priv
  because it isn't used to refer memory
XXX: I'm not sure if bm->plane should be volatile or not
     but I don't think previous code treats it as volatile anyway.
     (though I'm not sure how compiler handled "volatile caddr_t")
2007-03-06 14:40:25 +00:00
tsutsui
7bad4d945e - change pointers which actually required caddr_t to calculate address
from (void *) to (char *)
- add (char *) cast to appease -Wpointer-arith
2007-03-06 14:15:13 +00:00
tsutsui
46cc919e1f Make TX buffer (uint8_t *) and remove an unnecessary cast. 2007-03-06 14:13:02 +00:00
tsutsui
a977b2956f Pass (char *) to mtod(9) on pointer arith. 2007-03-06 14:12:10 +00:00