169394 Commits

Author SHA1 Message Date
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
jmmv
322798e84e Adjust directory list after import of atf-0.5. 2008-05-01 15:32:46 +00:00
jmmv
f768eb7c67 Drop files removed (most of them were renamed) in atf-0.5. 2008-05-01 15:26:16 +00:00
jmmv
ffe8204c6b Import ATF 0.5
Changes in this release:

* Clauses 3 and 4 of the BSD license used by the project were dropped.
  All the code is now under a 2-clause BSD license compatible with the
  GNU General Public License (GPL).

* Added a C-only binding so that binary test programs do not need to be
  tied to C++ at all.  This binding is now known as the atf-c library.

* Renamed the C++ binding to atf-c++ for consistency with the new atf-c.

* Renamed the POSIX shell binding to atf-sh for consistency with the new
  atf-c and atf-c++.

* Added a -w flag to test programs through which it is possible to specify
  the work directory to be used.  This was possible in prior releases by
  defining the workdir configuration variable (-v workdir=...), but was a
  conceptually incorrect mechanism.

* Test programs now preserve the execution order of test cases when they
  are given in the command line.  Even those mentioned more than once are
  executed multiple times to comply with the user's requests.
2008-05-01 15:22:19 +00:00
ad
eb4b641df7 Simplify slightly. 2008-05-01 14:48:19 +00:00
ad
8ef40c772a Get the pre-loaded module code working. 2008-05-01 14:44:48 +00:00
cegger
03b1eeebc1 compile-fix with MULTIPROCESSOR. From Hans Rosenfeld. 2008-05-01 12:06:28 +00:00
ad
c379d13c35 Kernel preemption needs to be off for tlb shootdowns. 2008-05-01 12:03:18 +00:00
mjf
d8c10bb873 Whoops.. revert previous because I committed it on the wrong branch. 2008-05-01 11:17:57 +00:00
mjf
e95159a6e5 Add a list of tasks that need completing. 2008-05-01 11:16:13 +00:00
drochner
d41cbd880a fix soabort(): sofree() wants to be called with the lock held
approved by ad
2008-05-01 09:21:56 +00:00
garbled
4b476699e2 Add a netboot directory to releasedir/installation. Put symlinks to the
kernels and ofwboot in there.
2008-05-01 01:58:10 +00:00
ad
ca230e9919 #error if __HAVE_PREEMPTION && !MULTIPROCESSOR. 2008-05-01 00:20:12 +00:00
ad
a7fbd437d1 If MP is disabled at the boot prompt, then don't use MPBIOS. When ACPI
is also disabled, this completely avoids using ioapics.
2008-04-30 23:25:49 +00:00
macallan
27a3fd2a36 add dummy argument to cpu_did_resched() so kern_synch.c is happy again 2008-04-30 23:21:29 +00:00
ad
39f45b13ce - If x86, trust the nvram and elminate long probe delays.
- Update for amd64.
2008-04-30 23:02:43 +00:00
ad
ac118e2286 Shuffle ioapic/mainbus/cpu into std.amd64 like i386. 2008-04-30 22:08:18 +00:00
ad
6e6587f48e Put a boot menu on the amd64+i386 boot floppies. Not used yet because
the ustar loader seems to have the menu code if'd out.
2008-04-30 22:00:05 +00:00
garbled
65839b8463 rs6000's mkbootimage is now no longer needed. 2008-04-30 21:22:19 +00:00
garbled
c3077f9533 Remove prep's copy of mkbootimage 2008-04-30 21:20:37 +00:00
garbled
0c4a5c6fd7 Build powerpc-mkbootimage for rs6000 and bebox too. 2008-04-30 21:18:17 +00:00
garbled
1ccf3668f5 prep-mkbootimage is no longer needed. 2008-04-30 21:16:56 +00:00
garbled
c3408ed04a Convert prep to use the new unified mkbootimage rather than it's own. This
mkbootimage can be shared by prep, rs6000, and bebox.

TODO: Convert bebox to use this.  Needs someone to test.
2008-04-30 21:15:33 +00:00
ad
95369fc30f vfs_destroy: fix a broken assertion. 2008-04-30 21:06:28 +00:00
ad
5ed45d6c0f lcr0() was changed to take a u_long. pcb_cr0 was a 32-bit signed quantity.
It was being sign extended in cpu_hatch() (CR0_PG is always set), causing
systems to crash and reboot before going multiuser.
2008-04-30 21:04:24 +00:00
agc
b2da2cdd81 Implement the SCSI MODE_SENSE_10 command - helps quieten an error seen by
Jeff Rizzo with the Studio Networks initiator.

This is WIP - more SCSI commands will be handled in the next commit.
2008-04-30 20:28:30 +00:00
ad
ed84275d91 Disable the freecheck stuff atomically so we only get one warning about
being out of slots.
2008-04-30 20:20:53 +00:00
ad
35d5de0433 KERN_FILE_BYPID: fix locking botch. 2008-04-30 17:18:53 +00:00
ad
928d6a0983 Give i386 and amd64 a default boot.cfg. 2008-04-30 16:48:53 +00:00