jdolecek
e6286b949a
Add some framework for MI assignment of device majors - add sys/dev/majors
...
which is automatically included during kernel config, and add comments
to individual machine-dependant majors.* files to assign new MI majors
in MI file.
Range 0-191 is reserved for machine-specific assignments, range
192+ are MI assignments.
Follows recent discussion on tech-kern@
2003-10-05 08:04:24 +00:00
junyoung
d1486d51cb
Rearrange instructions for better use of pipeline. This shaves off 0.5%
...
of time on interrupt/trap entry on my Athlon 1800.
2003-10-04 05:57:51 +00:00
mrg
3942bb7a51
enable broadcom BCM4401 (bce) driver (as found on recent dell laptops)
2003-09-27 13:16:16 +00:00
christos
6fc26a7684
add SIGTRAMP_VALID and gc old sigcontext <-> ucontext macros.
2003-09-27 03:14:31 +00:00
nathanw
4d59420344
Move __cpu_simple_lock_t and __SIMPLELOCK_{UN,}LOCKED to machine/types.h
...
so that they can be used in a namespace-friendly way.
2003-09-26 22:45:41 +00:00
christos
cfba45c856
constify sendsig/trapsignal
2003-09-25 22:00:02 +00:00
mycroft
eefae40298
Hide the use of config_interrupts() in one place.
2003-09-25 19:29:48 +00:00
mycroft
864b96269c
Modify the fdcattach() interface again, splitting it into two parts, so that
...
DRQ allocation is done earlier.
2003-09-25 19:06:19 +00:00
pooka
a41fa163fd
iavc@pci
2003-09-25 16:00:24 +00:00
mycroft
3d7395ab71
Update for new attach method.
2003-09-25 01:12:43 +00:00
mycroft
d40837608f
1) Use config_interrupts() to attach IDE and ATAPI drives. This eliminates
...
most polling.
2) Clean up some goofiness in pciide -- get rid of the whole "candisable" path
(it's gratuitous) and simplify the code by calling pciide_map_compat_intr(),
*_set_modes() and wdc_print_modes() from central locations.
3) Add a register writability and register ghost test to eliminate phantom
drives more quickly.
2003-09-19 21:35:56 +00:00
drochner
27c7714f95
syntax error in comment
2003-09-17 11:57:34 +00:00
cl
abc609d801
add MD part of SA/pthread pagefault handling on i386
2003-09-16 13:57:47 +00:00
simonb
f7e3330a08
Remove a variable that is assigned to but not used.
2003-09-13 11:12:06 +00:00
christos
280bbfe466
Set si_code for T_PROTFLT|T_USER. Pointed out by enamicode.
2003-09-12 23:20:26 +00:00
christos
51d8c27c8d
pick up the right sigreturn symbol. we could have #define __HAVE_SIGINFO
...
instead too.
2003-09-12 16:51:04 +00:00
christos
75c419ccc0
include opt_compat_netbsd.h, sort includes. Thanks yamt.
2003-09-12 12:39:59 +00:00
christos
9889f06536
make sigcontext visible all the time instead of including opt_*.h from a
...
large number of files.
2003-09-12 01:13:35 +00:00
christos
2bf3634159
fix typo.
2003-09-11 20:48:35 +00:00
christos
7340db7385
Bring back sigcontext to userland by popular demand.
2003-09-11 20:22:30 +00:00
christos
99ee91793f
make vm86 use __gregset_t
2003-09-11 19:17:07 +00:00
christos
a6540cf740
XXX: vm86 for sigcontext comment is gone.
2003-09-11 19:16:05 +00:00
christos
ab63d91442
old vm86 call with COMPAT_16 code.
2003-09-11 19:15:12 +00:00
kleink
d440784b30
__{BEGIN,END}_DECLS-wrap prototypes.
2003-09-11 09:40:11 +00:00
christos
2300d30c79
delete debug printf's.
2003-09-10 21:40:02 +00:00
christos
7b176f233f
sort the opt_ includes.
2003-09-10 21:38:40 +00:00
christos
5dfabd4458
Add compat_16_machdep.c
2003-09-10 19:49:47 +00:00
christos
4d5acf4941
expose sendsig_sigcontext for compat_16
2003-09-10 19:49:22 +00:00
christos
6f6f525ca6
move compat_16 stuff into a separate file.
2003-09-10 19:48:48 +00:00
christos
f7f3566b1e
#ifdef struct sigframe_sigcontext and struct sigcontext, so that only code
...
that really needs them, get them.
XXX1: We need to fix the vm86 api.
XXX2: We need to fix the ibcs2 signal delivery mechanism.
2003-09-10 16:48:16 +00:00
christos
0b16bf9a36
make obsolete trampoline code COMPAT_16. Unfortunately sigreturn14 is used
...
by IBCS2; grr.
2003-09-10 16:46:59 +00:00
christos
d0b2ede633
need opt_ibcs2.h
2003-09-10 16:46:15 +00:00
drochner
8bedb90edc
in cpu_setmcontext(), check where we go, not where we are coming from,
...
and line-terminate a diagnostic message which was caused by that bug
2003-09-10 11:39:09 +00:00
itojun
919da6bf44
have COMPAT_16
2003-09-09 07:14:01 +00:00
tron
8cfe1dc600
Add "COMPAT_16" option.
2003-09-07 09:33:56 +00:00
christos
d5f61bb017
SA_SIGINFO changes
2003-09-06 23:15:35 +00:00
christos
66a72d2998
Add COMPAT_16
2003-09-06 22:39:23 +00:00
christos
1dc335c017
SA_SIGINFO changes.
2003-09-06 22:03:09 +00:00
fvdl
5a759ef06c
Move the bulk of pci_intr_string into a seperate intr_string function. Use
...
that new function to print the pciide compat interrupt in pciide_machdep.c.
Share pciide_machdep.c between amd64 and i386.
2003-09-06 17:44:36 +00:00
itojun
fc918f8713
add rnd(4) device to installation media.
...
necessary for many purposes, including password seeding, tcp sequence number,
and more. see tech-security
2003-09-06 03:25:23 +00:00
fvdl
60ae17c7ae
Fix signed/unsigned warnings.
2003-08-31 22:40:13 +00:00
fvdl
06298770b0
Add another -DBOOT_ELF64 for amd64.
2003-08-30 20:38:58 +00:00
fvdl
ee4b42342e
Add -DBOOT_ELF64 for amd64.
2003-08-30 18:25:07 +00:00
fvdl
8ea680bb14
Add -m elf_i386 (for amd64) to LD.
2003-08-30 15:24:41 +00:00
fvdl
e8b1f4f135
Add -m elf_i386 to ${LD}, not ${LDFLAGS}, since bsd.lib.mk doesn't
...
include ${LDFLAGS} when using ld -x on an object file.
XXX what's the point of these ld -x rules anyway?
2003-08-30 15:15:01 +00:00
dsl
677dd78600
Placate people who insist on using non-standard disk layouts by adding
...
a valid MBR entry for partition 3 (covering the first 15 sectors) into the
end of the partition boot code.
2003-08-30 13:33:55 +00:00
tron
aae64118ef
Add missing blank line.
...
Don't treat pointers as boolean values.
2003-08-28 10:58:37 +00:00
jdolecek
98c6c56281
add commented out entries for skc/sk SysKonnect SK9821 driver
2003-08-26 21:12:48 +00:00
tron
57c82d6312
Add support for i865G integrated graphics support to agp(4). Patches
...
contributed by Michael D. Allen in PR port-i386/22600.
2003-08-26 17:33:22 +00:00
tron
c8232f0d0f
Protect inclusion of "opt_vm86.h" with "#ifdef _KERNEL_OPT" as appropriate.
2003-08-25 13:11:30 +00:00