Commit Graph

157122 Commits

Author SHA1 Message Date
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
tsutsui
1f79355c9b Add (char *) cast to appease -Wpointer-arith. 2007-03-06 14:10:07 +00:00
tsutsui
bc4a41fd8b Make req_addr (char *) rather than adding an extra cast
since it's used only in this function to calculate buffer address.
2007-03-06 14:07:15 +00:00
tsutsui
d319901154 Make io_data (char *) rather than adding an extra cast
since it's used only in this file to calculate buffer address.
2007-03-06 14:03:07 +00:00
he
582dc91458 More fixes after the caddr_t removal.
Mostly cast to char* for pointer arithmetic,
but also one missing indirection, and one "void *v, x;" fix.
2007-03-06 13:54:44 +00:00
tsutsui
7474a23441 Add a missed '*'. 2007-03-06 13:53:59 +00:00
tsutsui
57eb9123e8 Remove an unnecessary cast. 2007-03-06 13:53:32 +00:00
tsutsui
4fc7add5a3 Use (char *) to appease -Wpointer-arith. 2007-03-06 12:41:52 +00:00
yamt
dedaf26748 fix vcpu after recent cpubus changes. 2007-03-06 12:35:39 +00:00
yamt
a36286ca6a multiple inclusion protection. 2007-03-06 12:32:46 +00:00
liamjfoy
f9af4def67 Fix some style issues - no functional change 2007-03-06 12:12:24 +00:00
dillo
d0c955805c Remove hfsp directories, they have been reimported as hfs. 2007-03-06 11:31:21 +00:00
dillo
56c3e41252 Complete rename of hfsp to hfs, requested by thorpej. 2007-03-06 11:28:44 +00:00
dillo
abbfd8a897 LKM glue for Apple HFS+ file system. 2007-03-06 11:27:15 +00:00
dillo
be26016f83 Initial import of (experimental read-only) implementation of Apple
HFS+ file system.

Originally developed for Google Summer of Code 2005 by Yevgeny Binder,
updated and enhanced by me.
2007-03-06 11:21:58 +00:00