176692 Commits

Author SHA1 Message Date
pooka
150e5cca0b Missed realloc in previous. Ride 5.99.6 bump. 2009-01-07 21:06:31 +00:00
bjh21
12052c1959 Make Econet code compile again. 2009-01-07 20:56:40 +00:00
pooka
913883b2cd more namespacing: rua -> rumpuser_aio 2009-01-07 20:34:32 +00:00
pooka
0150192ebb Remove linux compat no longer necessary now that libkern is included
in librump.  Previously we relied on the symbols being magically
satisfied by libc.
2009-01-07 20:24:12 +00:00
pooka
4465a9263d Rename _rumpuser_malloc to rumpuser__malloc so that all exported
rumpuser symbols start with "rumpuser".
(no major bumps or compat will be provided)
2009-01-07 19:49:48 +00:00
jnemeth
cb3aa28dce mention fdc 2009-01-07 09:12:38 +00:00
mrg
32ae7959e8 make sure we set LIBISPRIVATE.
fixes build issues reported by moof.
2009-01-07 07:52:28 +00:00
ahoka
805568190e Implement the required ioctls for running Xorg through /dev/ttyE0.
Reviewed by macallan@
2009-01-07 01:31:01 +00:00
jnemeth
f050d39171 regen 2009-01-07 00:40:51 +00:00
jnemeth
8c8c552278 fix typo in LUCENT ET1301 2009-01-07 00:40:09 +00:00
mrg
9b688fed42 - rework this a bunch to make it work inside /rescue/ldd.
- fix alpha build.
2009-01-07 00:39:23 +00:00
bjh21
d5602e8683 Autoconfiguration cleanup for latches(4):
- Split struct device out of the softc.
- Use device_t and cfdata_t rather than explicit structure pointers.
- Use aprint_*() rather than printf().
- Use device_private() to convert device_t into softc.
2009-01-07 00:09:24 +00:00
bjh21
4c6ac02e21 Autoconfiguration cleanup for iociic(4):
- Use device_t and cfdata_t rather than explicit structure pointers.
- Use aprint_*() rather than printf().
- Pass "self" to config_found_ia rather than &sc->sc_dev.
Also an amount of KNF.
I haven't actually split the device structure off from the softc because
iociic_bootstrap_cookie() expects to allocate fake versions of both at once,
and I've not yet decided what it's best to do about that.
2009-01-07 00:06:59 +00:00
bjh21
06d5a26fdb Autoconfiguration cleanup for arckbd(4):
- Use device_t and cfdata_t rather than explicit structure pointers.
- Split device and (non-existent) softc for arcwskbd and arcwsmouse.
- Use aprint_*() rather than printf().
- Use device_*() to access fields of device_t.
- Use device_private() rather than a cast to convert from device_t to softc.
device/softc split not done for arckbd(4) itself because there are lots
of void* cookies that get treated as arckbd_softc at one end and device_t
at the other, and they'll need a little thought to clean up.
2009-01-06 23:58:00 +00:00
bjh21
25e4eb23f4 Autoconfiguration cleanup for upc(4) at iobus(4):
- Use device_t and cfdata_t rather than explicit structure pointers.
- Use device_*() to access parts of device_t.
- Use device_private() to convert device_t into a softc.
device and softc not split because that will involve venturing outside
sys/arch/acorn26 and I want to get that cleaned up first.
2009-01-06 23:51:34 +00:00
bjh21
8cb474f8d5 Autoconfiguration cleanup for ioc(4):
- Use aprint_*() rather than printf().
- Use device_t and cfdata_t rather than explicit pointer types.
- Use device_* to get at parts of device_t.
- Use device_private to convert device_t into ioc_softc *.
Note that I haven't yet separated the softc from the device structure because
this driver will need a little care in doing that.
2009-01-06 23:48:30 +00:00
bjh21
493a701000 Autoconfiguration cleanup:
- Use aprint_*() rather than printf().
- Split device_t from iobus_softc and remove the latter since it's empty.
- Use device_t and cfdata_t rather than explicit structure pointers.
2009-01-06 23:44:27 +00:00
bjh21
8c2f284250 Autoconfiguration cleanup:
- Use aprint_*() rather than printf().
- Split device_t out of cpu_softc, then remove the latter entirely since that
  left it empty.
- Use device_t and cfdata_t rather than explicit structure types.
2009-01-06 23:41:28 +00:00
bjh21
5e231a9502 Replace the local current_spl with the ARM-wide curcpu()->ci_cpl, since
otherwise a DEBUG kernel panics at the first AST, though I don't think
any non-DEBUG code cares.
2009-01-06 23:35:39 +00:00
haad
0501d89c35 Remove error prints which are not fatal on NetBSD. 2009-01-06 23:21:16 +00:00
agc
0d5ba1b500 Apply part of the patch from Julio M. Merino Vidal in
http://mail-index.netbsd.org/source-changes/2009/01/05/msg214884.html

to make the toolchain cross-build on Mac OS X. Nozaki-san has addressed
the other issues.
2009-01-06 19:15:39 +00:00
pooka
1dbafce17b Add md crud to allow libkern softfloat code to build.
And while here, make alpha use the real elf relocation code.
2009-01-06 17:04:01 +00:00
mjf
89df864a44 Add missing dollar sign ($) for $NetBSD$ tag. 2009-01-06 15:52:27 +00:00
tsutsui
fe5a481b54 Fix PR port-atari/40315: Bootloader fails on Atari TT030
Add asm sources which provide a fixed entry point for raw bootxx and bootxxx
 because modern aggressive gcc4 may reorder functions in the same source
 and the first function in a C source won't always appear at the beginning
 in its object.

Also overhaul various files in the stand directory:
- rename stand/Makefile.inc to stand/Makefile.booters and
  explicitly include it from each Makefile because the stand
  directory contains non standalone programs like installboot and
  Makefile.inc will be included implicitly from all Makefiles in SUBDIRs
- put more common options into Makefile.booters so that
  all boot programs use proper options (-Os etc.)
- make standalone boot programs compile without installed ${DESTDIR}:
  - create machine and m68k symlinks in ${.OBJDIR} in all boot programs
  - set appropriate make environments to suppress errors and warnings
  - <string.h> isn't there in _STANDALONE case
  - put #ifdef TOSTOOLS (looks equivarent with !_STANDALONE)
    to some files in stand/tostools
  - use ${LD} ${LINKFLAGS} rather than ${CC} ${LDFLAGS}
- create raw binaries on ${PROG} target rather than on beforeinstall
  and stop weird renaming on beforeinstall and afterinstall
- print proper error message if bootxx size is larger than limit
- create ${DESTDIR}/usr/mdec/{milan,std} directories on beforeinstall
  in all boot programs
  (XXX: how can we put MD /usr/mdec/foo directories into src/etc/mtree?)
- prototype warnsfy
- cleanup Makefiles for readablity and remove unnecessary rules
- no need to use daddr_t in installboot because the AHDI label doesn't
  support 64 bit block numbers

Tested by David Ross (PR submitter) on port-atari, and
finally NetBSD/atari on TT030 is now fully functional.

Should be pulled up to netbsd-4 (where gcc4 was initially imported)
and netbsd-5.
2009-01-06 13:35:30 +00:00
mjf
a15a784800 The .if conditional crosses a line boundary, so add a backslash.
This fixes the kernel build for hppa.
2009-01-06 13:23:31 +00:00
pooka
5e4b7cd86e powerpc md stuff for libkern 2009-01-06 13:20:34 +00:00
lukem
4a94e73441 Change the second argument of getlogin_r() from int to size_t, per POSIX. 2009-01-06 11:16:46 +00:00
mrg
7c9a97ab4a initialise some variables whined about by gcc -O3. 2009-01-06 06:03:57 +00:00
mrg
aab4d008e5 use the prom addresses except on MSIIEP.
this probably works on SB2000 now.
2009-01-06 04:04:55 +00:00
mrg
fb3cc85fef add some (uintptr_t) to some casts, so these compile with ELFSIZE=32
*and _LP64.  necessary for 32/64 bit combo ldd support.
2009-01-06 04:01:46 +00:00
mrg
648c936726 - get rid of building an a.out-happy ldd (but keep supporting a.out
binaries for the ELF version.)

- convert a.out, elf32 and elf64 support into convience libraries and
  link them right ones in.  if elf_ldd() fails on 64 bit platforms,
  try elf32_ldd() before aout_ldd().


now ldd on 64 bit platforms works for 32 bit binaries, aka PR#40199,
and it seems that all the issues from README are gone too.
2009-01-06 03:59:56 +00:00
mrg
268cca30b1 some fixes for PR#40170:
- set NATIVE=yes in the environment for genscripts.sh
- set LIB_PATH to /usr/lib/{sparc,i386} for those scripts
- set use_sysroot to "yes", to enable LIB_PATH to work in genscripts.sh
2009-01-06 03:08:39 +00:00
mrg
9108f12f6b move the defines for RTLD_ARCH_SUBDIR into a sub-sub-makefile so we can
grab these values via reach-over more easily.
2009-01-06 02:15:06 +00:00
pooka
fed3c1df66 Fix PIC version, it was missing one dereference. Thanks to spz
for access to m68k hardware for testing.
2009-01-06 01:24:56 +00:00
pooka
835b96d4ab adjust LD32DIR comment. per discussion with mrg 2009-01-06 01:00:57 +00:00
jym
df71166d4e - fix some typos in comments
- remove trailing spaces
- replace a check against 0 with a check against GNTST_okay

No functional change.
2009-01-06 00:57:47 +00:00
wiz
bdd95bc725 Add missing newline. 2009-01-06 00:13:02 +00:00
haad
128703a537 Fix my bug introduced in rev 1.98 of db_command.c where command prefix
not ambiguous in one table was choosed even if it was ambiguous in another
table in same list. Also apply more KNF rules.

Patch was supplied by uwe@.
2009-01-05 22:19:40 +00:00
pooka
5369f33800 Return of the Flag: There is no PROT_EXECUTE. 2009-01-05 22:11:48 +00:00
pooka
a323bae23b 5.99.6: kernel malloc symbol name is now kern_malloc 2009-01-05 21:46:47 +00:00
pooka
4e41c02e05 malloc(9) -> kern_malloc(9): we don't need --wrap anymore. 2009-01-05 21:45:35 +00:00
pooka
80508c50c5 Rename malloc() to kern_malloc() to avoid name conflict with libc.
Now it is possible to use the kernel linker with rump.
2009-01-05 21:42:37 +00:00
rmind
57babc4980 Manuals describing the interface of POSIX message queues.
Taken from The Open Group, with various modifications.
Thanks <wiz> for improvements!
2009-01-05 21:19:48 +00:00
apb
1b3dbf5d5b Make this compile with options DEBUG:
* Add missing close brace in do { ... } while(0)
* The return value from snprintb is an int and not usable with printf
  "%s" format; print the result buffer instead.
2009-01-05 20:46:22 +00:00
pooka
1ce853369b Temporarily define MCOUNT as a dummy for _RUMPKERNEL to allow build
to proceed - the MD macros use processor instructions unavailable
to userspace and should/could be provided as interfaces.
2009-01-05 18:06:57 +00:00
jakllsch
02513c1f9c Correct license. I have not formally contributed this to TNF.
However, ugensa.c was, so restore that licencse and append mine.

Also, use UT_*_VENDOR_INTERFACE instead of local defines of the same thing.
No functional change.
2009-01-05 17:22:18 +00:00
pooka
b38b40842d EFS -> SGI EFS in NAME 2009-01-05 16:36:04 +00:00
pooka
1bc460cc53 use kernel module 2009-01-05 15:39:34 +00:00
pooka
7defc699fc +sysvbfs 2009-01-05 15:38:00 +00:00
pooka
b235dbfce2 sysvbfs module 2009-01-05 15:36:51 +00:00