christos
00c6e78061
Since we cannot guarantee that all machines do ieee math, or that they have
...
the proper math setup deal with SIGFPE directly.
2008-05-02 15:10:05 +00:00
ad
3ba209837a
- Add a bsd.kmodule.mk to build new style modules.
...
- Set the file suffix to .kmod
2008-05-02 14:20:50 +00:00
ad
2830fe3488
PR kern/38497 Out of memory allocating ksiginfo
...
Work around: don't acquire softnet_lock in protocol drain routines.
2008-05-02 13:40:32 +00:00
ad
8c94e76aa9
Add a module that looks up a "miniroot" section within its ELF object,
...
and passes that to md_root_setconf(). The file system image can be added
with objcopy after the module is built.
2008-05-02 13:03:58 +00:00
ad
1253c2cad4
Allow md_root_setconf() to set in a miniroot as the root file system
...
even if MEMORY_DISK_IS_ROOT is not defined (a runtime override).
2008-05-02 13:02:31 +00:00
ad
3f1b4f1759
Keep the program table and section strings around after loading the object,
...
since module_find_section() needs them.
2008-05-02 13:00:01 +00:00
ad
5d413581c7
Re-do yesterday's build fix to hook in the MD stuff if available.
2008-05-02 12:59:34 +00:00
lukem
d77bf7654f
Explicitly set MKLINT=no if MKLINKLIB==no, rather than just acting that way.
2008-05-02 11:45:19 +00:00
lukem
3e0e2ca90a
remove bogus setting of MKLINT
2008-05-02 11:27:08 +00:00
martin
ca37ecd7b6
Move to 2 clause TNF license (was: strange 3 clause version)
2008-05-02 11:13:02 +00:00
simonb
96093a0d4f
Sprinkle a teeny bit of KNF goodness..
2008-05-02 01:53:33 +00:00
bjs
98dd3c4324
Wedge in a smattering of updates for ati_pcigart.c and radeon support:
...
-- detypedef drm_ati_pcigart_info
-- add support for variable sized apertures in ati_pcigart.c
-- Add support for radeon IGP adapters (untested on NetBSD)
-- Update r300_reg.h to a much newer version.
-- Miscellaneous fixes in radeon_cp.c, radeon_state.c.
TODO: r300_cmdbuf.c (?)
Please report any regressions to me. While I try to make sure the
updates are somewhat coherent, our initial code base is old enough
such that it's quite difficult to be absolutely certain. I hope to
rebase the NetBSD-specific code on the BSD code at the head of GIT
within a month or two, so this will do for now.
2008-05-02 01:29:36 +00:00
tsutsui
407e634a58
Pull the follwoing fix from upstream:
...
http://gcc.gnu.org/viewcvs/trunk/gcc/config/m68k/m68k.md#rev117181
> * config/m68k/m68k.md (negsf2, negdf2, negxf2): Use
> -2147483647 - 1 instead of 0x80000000.
Fixes "internal compiler error: in do_SUBST" on compiling
floating point ops with -msoft-float or -m68010 on LP64 hosts,
and may also close PR toolchain/38359. Tested on alpha.
2008-05-01 23:50:32 +00:00
garbled
cc7a9bfb3c
Switch to using x_ed and x_umount. x_mount didn't save much, but x_ed
...
saved alot: 1516140->1503104. 28k to go, and running out of ideas.
2008-05-01 23:23:23 +00:00
xtraeme
69231bd9c5
The template file should be built in ${.OBJDIR} not in ${.CURDIR},
...
build.sh now works.
2008-05-01 23:14:35 +00:00
dyoung
89e32494c3
Release mutex before unmapping bus space to stop a locking error.
2008-05-01 22:59:37 +00:00
garbled
889060cb8a
Update to point to the cut-down version of protocols
2008-05-01 22:44:23 +00:00
xtraeme
e0328a5a63
Add the hpqlb(4) manpage. (HI CEGGER!)
2008-05-01 22:09:29 +00:00
garbled
01e0801fb8
Use the generated protocols file. Save another 20k or so.
2008-05-01 22:03:58 +00:00
garbled
890832bb43
Add a stripped down protocols file, similar to how services was done. If
...
you use this instead, you save about 21k on the install media.
2008-05-01 22:02:54 +00:00
garbled
9ce0927805
Create a litle script to generate a stripped down protocols file.
2008-05-01 22:01:16 +00:00
cegger
8127f641e3
device_t / softc split. From Hans Rosenfeld.
2008-05-01 22:00:44 +00:00
xtraeme
4e0bb25a64
Also add boot.cfg into the installation CD, as was intended by ad@.
2008-05-01 21:59:07 +00:00
christos
ee5dd5c8d7
fix const and volatile printing in types.
2008-05-01 21:52:19 +00:00
xtraeme
126b0d446f
Build and install by default the following LKMs on i386 and amd64:
...
aps(4), finsio(4), itesio(4), nsclpcsio(4), smsc(4) and ug(4).
These drivers aren't enabled in GENERIC kernels, so having the LKMs
in base will simplify future testing.
2008-05-01 21:51:20 +00:00
garbled
82b40b9f32
Delete glasstty lpr and vt52 entries.
2008-05-01 21:32:23 +00:00
garbled
ec2ea43eb7
This file is nothing but comments. Trim it out to a stub.
2008-05-01 21:27:46 +00:00
rmind
0fe9197c91
lwp_suspend: check for LW_* flags in l_flag, not l_stat.
2008-05-01 21:25:23 +00:00
garbled
4ad2d863e8
Remove mount_kernfs from the prep install floppy. Saves a few bytes, we
...
already put dmesg on there, and the prep install kernels don't have KERNFS
defined anyhow. A quick test shows it's cheaper to use dmesg than kernfs:
1528511 +kernfs +mount_kernfs -dmesg
1524332 +dmesg -kernfs -mount_kernfs
2008-05-01 21:20:54 +00:00
garbled
e5bede68a5
Squeeze 14k out of the INSTALL_SMALL image. Still too big. (by 49k)
...
Savings detailed below:
6274 #pseudo-device rnd
799 no options EXEC_AOUT
1082 options NO_DEV_PTM
6023 st* at scsibus
2008-05-01 20:57:38 +00:00
gdt
36bcd10549
Use -f in cp, so that a previous file in the OBJDIR that's read-only
...
won't cause a failure.
2008-05-01 20:56:39 +00:00
cegger
d9b775927c
hpqlb(4): driver for HP Quick Launch buttons - found on HP Pavilion Notebooks
2008-05-01 20:18:18 +00:00
garbled
82a9123f59
Add a missing Makefile that I forgot to commit in the mkbootimage
...
switch. Caught by Juergen Hannken-Illjes.
2008-05-01 18:13:38 +00:00
nonaka
abafa09887
fix make release breakage.
2008-05-01 17:27:33 +00:00
ad
1bb1fee762
- Add module_find_section(), allows a module to look up data in its object.
...
- Work around build failure.
2008-05-01 17:23:16 +00:00
ad
416e98a01e
Another fix for pre-loaded modules.
2008-05-01 17:07:10 +00:00
simonb
c3325defad
Be consistent with #define<space-or-tab>.
2008-05-01 16:06:41 +00:00
njoly
4c44d432ea
Add SCHED_FIFO/SCHED_RR support to sched_get_priority_{min,max}.
2008-05-01 16:06:17 +00:00
cegger
50fa672c8b
build fix: <sys/condvar.h> is needed for 'extern kcondvar_t mount_cv'. From Hans Rosenfeld.
...
ok simonb
2008-05-01 16:05:13 +00:00
christos
640f4f7d25
mention thread local support.
2008-05-01 15:52:31 +00:00
jmmv
f6d581922f
Adjust file lists after the import of atf-0.5.
2008-05-01 15:41:16 +00:00
jmmv
b3bc2ad3e2
Note import of ATF 0.5.
2008-05-01 15:39:43 +00:00
christos
1347903131
PR/38543: Valery Ushakov: Don't crash printing anonymous unions. XXX: Type
...
printing is phase2 is buggy since it does not print the qualifiers, but this
is for another day.
2008-05-01 15:39:33 +00:00
jmmv
5a5601438b
Convert NetBSD-specific tests that were previously written in C++ to C now
...
that ATF provides a C-only binding (comes with 0.5).
2008-05-01 15:38:17 +00:00
jmmv
3c685893a8
Adjust build of ATF tests after import of atf-0.5.
2008-05-01 15:37:18 +00:00
jmmv
01ab96ad80
Add support for a TESTS_C variable to make use of the new C-only binding
...
that comes with atf-0.5. Also fix linkage of C++ tests.
2008-05-01 15:36:36 +00:00
jmmv
ec8287b4eb
Adjust path to ATF data/documentation files after the import of atf-0.5.
2008-05-01 15:35:50 +00:00
jmmv
75562a3ca6
Adjust the build of the ATF tools to use the new paths to the source files
...
and the new library names. Per import of atf-0.5.
2008-05-01 15:35:14 +00:00
jmmv
2a6dead6fc
Remove the libatf library and add libatf-c and libatf-c++; per import of
...
atf-0.5.
2008-05-01 15:33:33 +00:00
christos
aee69d536e
fix bugs that piss off lint.
2008-05-01 15:33:15 +00:00