christos
408aa9a669
Bump number to 2.6 and say ELF works!
...
But, this is not selfhosting yet. I need to fix the installboot crap.
[i.e. you need the a.out tools to build it and install it].
1999-01-28 20:12:49 +00:00
christos
72ba98061e
Add btinfo_symtab, to pass symbol table information.
...
Actually the current ddb_init interface sucks, since there is no
magic number for a.out and it applies heuristics. It would be nice
if the boot blocks passed more info.
1999-01-28 20:10:55 +00:00
christos
c46e7e7756
Use btinfo_symtab to find the symbol table if it is available.
1999-01-28 20:06:31 +00:00
christos
6922bd9c58
Add ELF bits. -N does not work, because ld does not compute the correct
...
memsz.
1999-01-28 20:04:54 +00:00
drochner
c6ca838916
defopt PCI_CONF_MODE
1999-01-28 12:43:13 +00:00
thorpej
af39050d19
Use MBR_MAGIC defintions in <sys/disklabel_mbr.h>
1999-01-27 21:20:18 +00:00
thorpej
f077362c41
Use the MI <sys/disklabel_mbr.h>, not our own machine-dependent
...
definitions.
1999-01-27 20:54:56 +00:00
christos
be52cd1738
Fix this properly, using gcc assembly syntax (thanks ws!)
1999-01-26 17:07:06 +00:00
christos
d102972c3a
Add a missing _C_LABEL(). Now an ELF kernel builds (if one removes the
...
-z flag from the ld line, in the Makefile)
1999-01-26 14:28:05 +00:00
christos
12bbb63ed7
move the assembly functions to locore.s and make the variables used by
...
them non-static
1999-01-26 14:27:08 +00:00
christos
d95840263e
add prototypes for the assembly functions that moved to locore.s
1999-01-26 14:25:02 +00:00
christos
0339b8e4dd
ifdef __ELF__ the softintr inline since we cannot use _C_LABEL to produce
...
a name. XXX: Is there a better way?
1999-01-26 14:22:23 +00:00
christos
3bbb84a4a9
- move the npx assembly routines from npx.c here, so that we can use _C_LABEL
...
etc, to produce the correct names for elf and a.out
- correct a missing _C_LABEL problem.
1999-01-26 14:21:20 +00:00
cgd
c9d7f12836
kill accidental 'options MSGBUFSIZE...' that crept in to rev 1.89.
...
while a larger message buffer size might be a good idea (even as the
default), the existing definition here was way too large and was, in
fact, accidental!
1999-01-25 05:10:03 +00:00
mycroft
897a8a7f29
Mark [hn]to[nh][ls]() with __const__, so they are subject to CSE.
1999-01-24 12:55:01 +00:00
drochner
6fe2522d57
second round of mouse renaming: psm->pms
1999-01-23 16:10:47 +00:00
drochner
b384cb4978
update for mouse renaming
...
document wscons-compatible bus mice
1999-01-23 15:38:11 +00:00
drochner
c5b4780e5b
update for mouse renaming
1999-01-23 15:35:21 +00:00
drochner
2589333219
the cdevsw entries are for the backwards compatible mice now
1999-01-23 15:13:28 +00:00
drochner
f7138b4416
busmice have wsmouse attribute now
...
add backwards compatible mice
update for pms->opms renaming
1999-01-23 15:09:55 +00:00
drochner
4120bf17c4
rename the autoconfiguration related symbols to opms* to avoid namespace
...
collisions with an mi wscons-capable pms driver
1999-01-23 15:07:10 +00:00
drochner
6ad1646ffb
provide backwards-compatible busmouse drivers
...
(technically identical to lms.c/mms.c)
1999-01-23 15:05:39 +00:00
drochner
45ecb32709
make the busmice work with wscons
1999-01-23 15:03:50 +00:00
tron
cba7ce0e5c
Add "ipip" network interfaces.
1999-01-22 22:47:16 +00:00
thorpej
6ead44025b
Fixup some usage of _C_LABEL().
1999-01-22 22:43:44 +00:00
mycroft
ec253b6315
Use __builtin_next_arg(). Fixed PR 6862.
1999-01-22 14:14:32 +00:00
sakamoto
7da2ee9edd
Add vr driver.
1999-01-22 05:40:16 +00:00
christos
28b4668c17
Move prototypes to mi code; add MD constant for padding
1999-01-21 23:11:45 +00:00
christos
4384281c67
move the mi context setting code out of here.
1999-01-21 23:07:20 +00:00
christos
4e3e5d021d
Avoid void * arithm in a debugging printf, and remove extraneous void *
...
casts.
1999-01-21 22:58:11 +00:00
mycroft
399318b456
Vanity config files.
1999-01-21 09:58:26 +00:00
mycroft
74a54bbbc8
wscons.
1999-01-21 02:54:08 +00:00
mycroft
1e9146db5d
sync
1999-01-21 02:50:21 +00:00
mycroft
516af72df3
-ccd +vnd
1999-01-20 22:48:42 +00:00
mycroft
7ef318056c
sync
1999-01-20 11:15:56 +00:00
thorpej
2fb041ce0a
No need for <sys/mtio.h>
1999-01-19 18:18:41 +00:00
drochner
67589898ca
Be more cautious about writing to the CMOS century byte. Update it only
...
if it contained a "19" before. There are machines (in particular PS/2
descendants) which have a checksum at this place.
Introduce a patchable kernel variable "rtc_update_century" to modify
the behaviour: 1="always update" (for testing and if one wants to set
the clock back) or -1="never touch".
1999-01-18 10:50:23 +00:00
he
30cc2d95cb
Actually handle small boot blocks (<=15 blocks) correctly in the ffs case.
1999-01-17 18:16:16 +00:00
chuck
8bd992a5f6
remove non MNN code
1999-01-16 20:30:34 +00:00
he
4155434b1c
Fix uninitialized `inode' variable in save_ffs(), fixing port-i386/6682.
1999-01-16 18:26:47 +00:00
tron
3601b98911
Add missing backslashes between continued lines.
1999-01-16 06:24:07 +00:00
bouyer
62a77e9dfe
Oups, need byte_swap.h too. Pointed out by Robert V. Baron
1999-01-16 02:20:26 +00:00
thorpej
8922647c58
Some minor, mostly costmetic, changes to CPPFLAGS/CFLAGS.
1999-01-15 23:37:05 +00:00
bouyer
dc306354b0
Move the bswap functions from libutil to libc (this bups the
...
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
1999-01-15 13:31:15 +00:00
cgd
ba831d2c43
update for present reality
1999-01-14 04:44:23 +00:00
cgd
f3c3f37dc8
update for ed split
1999-01-14 04:26:46 +00:00
kleink
657d577aeb
Pull in <errno.h> instead of <sys/errno.h> for declaration of errno.
1999-01-11 22:21:30 +00:00
christos
e0c19ac888
We cannot relocate our interpreter (yet).
1999-01-11 11:02:50 +00:00
christos
e293d1bc34
Add ELF crap.
1999-01-11 11:02:16 +00:00
thorpej
e598335d1c
Garbage-collect `mbutl'.
1999-01-09 22:10:12 +00:00
augustss
fc5f9ee81d
Add -Wpointer-arith warning since `void *' arithmetic is not ANSI C.
1999-01-08 19:26:12 +00:00
augustss
332d7c138f
Avoid arithmetic on `void *' since that's not ANSI C.
1999-01-08 18:10:35 +00:00
kleink
5f79ea56a1
Rearrange the emulation-specific setregs() entry to set up the FPU control
...
word *after* calling the native setregs(), which would clobber it again.
1999-01-08 11:59:38 +00:00
thorpej
2a3368ed6e
Add the `pcscp' driver.
1999-01-06 23:30:53 +00:00
drochner
d8a0ea9858
correct a comment about implemented keyboard layouts
1999-01-06 12:17:49 +00:00
christos
c7f9823bf0
C_LABEL has no _ if __ELF__
1998-12-23 15:09:48 +00:00
tron
b471830935
Sync with GENERIC.
1998-12-23 09:46:07 +00:00
nathanw
4d2e9f8e9d
Add "pcic0 at pci?".
1998-12-20 17:56:18 +00:00
nathanw
788ff053de
Fix up support for PCI attachments of pcic devices on i386 in general,
...
and the Cirrus Logic CL-PD6729 in particular.
From danw@mit.edu in PR port-i386/6436.
1998-12-20 17:53:28 +00:00
he
a127a479d7
Add 'ex' driver and various mii stuff, from GENERIC.
1998-12-19 20:06:30 +00:00
he
bdafd9591e
Add "ustarfs" as a recognized boot file system type, and bump version number.
1998-12-19 19:44:56 +00:00
he
2cfee96f35
Implement -b option, similar to on alpha, required for ustar floppy support.
1998-12-19 19:17:23 +00:00
drochner
dafe2a2b81
Some BIOSes return occasionally with carry set from APM_CPU_IDLE/BUSY
...
calls, without setting a defined error code. This leads to annoying
output. Put the printout inside APMDEBUG.
1998-12-19 14:46:10 +00:00
tron
67693a18b7
Sync with "GENERIC" and fix description.
1998-12-17 00:07:08 +00:00
christos
5b07a26bc4
Add a commented out entry for tcom.
1998-12-16 11:42:07 +00:00
kleink
1b6a24c1d4
Support for compound statements enclosed in parenthes to appear as
...
expressions is a GNU C extension; mark as such them with __extension__ to
suppress portability warnings. Addresses kern/3562 and misc/6185, as suggested
by Dave Sainty <dave@dtsp.co.nz>.
1998-12-16 11:11:02 +00:00
christos
a6406e330a
1000000000 nsec != 2^32 nsec. (from kleink). Also had eax and edx backwards.
1998-12-15 16:10:42 +00:00
christos
80f51bcef4
Add an entry point for the solaris 2.6 fast trap vectors, used by the
...
high resolution timer calls.
1998-12-13 19:31:26 +00:00
christos
4959a9fca6
Add defines for the fast trap vectors.
1998-12-13 19:27:51 +00:00
christos
885e96c95e
Correct problem with UESP, still does not work properly.
1998-12-13 18:07:27 +00:00
mycroft
b28c62f40d
Run async_update() even if something is select()ing.
1998-12-12 17:29:39 +00:00
drochner
be595f36c4
document support for Intel 82557/82558
1998-12-12 15:51:49 +00:00
drochner
6f71e420f3
add support for the Intel 82557/82558 fast ethernet chip
1998-12-12 15:47:05 +00:00
augustss
e481435c53
Add sv driver.
1998-12-10 19:01:41 +00:00
augustss
3334421666
Comment out sv audio device, the driver is not in the tree yet.
1998-12-10 15:46:20 +00:00
augustss
8398f3a4db
Add ugen, a generic USB driver.
1998-12-08 15:52:31 +00:00
thorpej
2d7f8f3343
Support both a.out and Elf32 symbols in DDB.
1998-12-04 20:19:22 +00:00
thorpej
da572a137f
Argh, fix the ANSI CPP version of the a.out WARN_REFERENCES().
1998-12-02 21:16:46 +00:00
bouyer
ab57245c0f
Document the use of flags to set/disable PIO/DMA/UDMA modes.
1998-12-02 10:54:26 +00:00
thorpej
a6f7e0c05a
Implement WARN_REFERENCES().
1998-12-02 00:58:42 +00:00
thorpej
1e7ec4d50e
Use _C_LABEL() to generate C labels in assembly code, don't prepend an
...
underscore (_) directly. (XXX Except in a few places, where traditional
CPP's macro evaluation semantics break things, so we test for __ELF__
directly in those places).
1998-12-01 04:30:59 +00:00
thorpej
ff78cf69cf
Move cdev_usb_init() and cdev_usbdev_init() to <sys/conf.h>
1998-11-29 06:56:13 +00:00
fvdl
82d0f812ab
Save and restore pcb_onfault in a few copy functions that may be called
...
from a context where we can't afford to clobber it. Mostly from
Charles Hannum.
1998-11-26 23:47:36 +00:00
pk
4dc534f05d
Export the pcmciabus' attribute on the
pcic' controller.
1998-11-26 15:35:58 +00:00
christos
1eebc10d76
add aha at isapnp?
1998-11-23 20:47:03 +00:00
oster
dd377fd943
Remove erroneous duplicate lines in cdev_sw[]. Now things are lined
...
up right and RAIDframe can find it's block device again.
1998-11-22 15:51:04 +00:00
drochner
1c0cc94837
Update for INT13 support.
...
XXX We can't easily emulate this here due to the 16-bit-pointer
call interface.
1998-11-22 15:44:03 +00:00
drochner
7e21eb25d4
Set the p-v list head to NULL if there are no valid mappings.
...
This should be not necessary because the pv_pmap member is already set to
NULL in this case which should keep the pv_next pointer from being
followed. However, PR port-i386/5291 reports that this measure helps in
at least one case (VINO).
Reviewed by Chuck Cranor, final fix is functionally identical to the PR's
proposal.
1998-11-20 17:44:39 +00:00
tron
45d30cea9d
Sync with GENERIC.
1998-11-20 11:50:29 +00:00
kml
ba30effcf8
Changes to support a HIPPI Framing Protocol device, which allows raw
...
HIPPI packets to be written without having to go through the network
stack.
1998-11-20 04:12:57 +00:00
mrg
db3051d720
fix problems in many d_mmap routines:
...
- returned EOPNOTSUPP rather than -1.
- no check for negative offset.
many of these fix potential security problems in these drivers.
XXX XXX XXX
the d_mmap cdev routine should be changed to have a prototype like:
paddr_t (*d_mmap) __P((dev_t, off_t, int));
by someone!
1998-11-19 15:38:20 +00:00
he
db360b9524
Bump ramdisk size by 100 blocks -- ran out of space.
1998-11-19 11:43:57 +00:00
oster
cf5710c839
Added a (commented out) configuration line for the RAIDframe device driver.
1998-11-16 16:44:55 +00:00
marc
c48ce4626f
Avoid irq 5 and 7, the most likely cause of problems on modern laptops.
1998-11-16 07:23:28 +00:00
perry
0c20c72cf9
(mostly) fix kernel tags support. from Frederick Bruckman in pr-6445.
1998-11-15 20:36:30 +00:00
christos
9a95622add
cast _mcount args to u_long, to avoid lint warnings.
1998-11-13 13:50:52 +00:00
lukem
6ff594779a
oops - missing ","
1998-11-13 06:11:42 +00:00
oster
c74d32c5fc
Updating of bdev's and cdev's to support RAIDframe.
1998-11-13 04:47:03 +00:00
rvb
b148b1ea84
Oops, I didn't mean to let that last commit get out. Though
...
maybe Havard should look at the changes (to make INSTALL smaller)
and see if any are general/reasonable for everyone.
1998-11-12 21:51:02 +00:00
thorpej
05c4e40b41
defopt the APM options.
1998-11-12 21:32:16 +00:00
rvb
7f2a4a5331
Perry said I should ... enable pms0 for GENERIC
1998-11-12 21:12:34 +00:00
thorpej
b29c33e2a0
Update for the new state of the world: pciide, wscons, and a slight
...
change in how PCI-Host bridges are matched.
1998-11-12 01:04:06 +00:00
tron
76a221aca5
Sync with "GENERIC".
1998-11-12 00:57:29 +00:00
ws
18f9174133
Some BIOSs insist on patching the Bios Parameter Block for some drives
...
(e.g. LS-120). Make room for this.
1998-11-11 16:46:38 +00:00
thorpej
49c62c4336
Changes to support fork_kthread():
...
- cpu_set_kpc() now takes void *arg third argument, passed to the
entry point.
- cpu_fork() allows parent to be non-curproc iff parent is proc0.
When forking non-curproc, assume its state has already been saved.
- Adjust various pieces of machine-dependent code to account of all of this.
1998-11-11 06:41:23 +00:00
bouyer
5f9fa9aaaa
Add and enable the pciide driver.
1998-11-10 14:09:15 +00:00
drochner
1f23f4e047
add poll entry for (optional add-on) i4b raw device
1998-11-07 17:28:57 +00:00
jonathan
cdd3abe7a9
Pull MBR-scanning code and NetbSD-partition-finding into a separate
...
function, rathe than duplicating in readdisklabel() and writedisklabel().
XXX should really make MBR code MI, and share with other MBR-using ports
(e.g., arc, arm32 MBR label-scanning code).
1998-11-07 04:39:03 +00:00
jonathan
a581370fce
apply previous change to writedisklabel() as well as readdisklabel().
1998-11-07 01:30:57 +00:00
jonathan
45aa097296
Change COMPAT_386BSD_MBRPART: don't break on match, so that if there's more
...
than one DOSTYP_386BSD partition, we pick the last one, not the first.
That's what our install tools do/did with multiple ID-165 partitions.
1998-11-07 01:08:00 +00:00
tron
63b722221a
Sync with "GENERIC".
1998-11-06 20:29:52 +00:00
mellon
3cc58a69cc
Fix a signed/unsigned thinko (this is cgd's fix)
1998-11-05 15:59:00 +00:00
thorpej
74b81e824e
Add "ukphy".
1998-11-05 00:38:10 +00:00
fvdl
21ab4a980a
Add the 'ex' driver, a DMA driver for 3Com 90x and 90xB cards.
1998-11-04 00:31:59 +00:00
thorpej
6768f892cc
Add sqphy.
1998-11-03 23:52:50 +00:00
thorpej
ec38cdc6d9
Add icsphy*.
1998-11-03 00:12:45 +00:00
hubertf
e45fa5e3bb
add version for libkeycap
1998-11-01 17:14:27 +00:00
hubertf
eccf9ccdd8
s|share/misc|share/pcvt|
1998-11-01 16:37:06 +00:00
lukem
d04b2d9043
implement BUFCACHE, which sets the size of the buffer cache to BUFCACHE %
...
of physmem. if not set (or == 0), falls back to old sizing method.
1998-11-01 09:51:09 +00:00
lukem
80e1cdcee7
s/milieconds/milliseconds/
1998-10-30 13:47:02 +00:00
ws
2791cf041a
Fix a thinko which still prevented this to run on non-int13-ext machines.
...
Thanks to entropy@zippy.bernstein.com for pointing this out and testing the fix.
1998-10-30 12:16:59 +00:00
hubertf
bc70dd6bc5
Cleanup includes-installation, ACK'd by Matthias Drochner.
1998-10-28 14:14:45 +00:00
hubertf
c884556c3d
Prevent loop caused by custom includes-target
1998-10-28 01:46:46 +00:00
christos
12fd61ebc9
PR/6356: Hubert Feyer: Linux emulation has problem w/ pipes
...
On linux we don't have syscalls that use retval[1] (edx). So don't
corrupt edx, because the compiler assumes that it has the same
value as before the syscall. Also, compute if we are running under
linux emulation in one place. XXX: Someday we should have a syscall
function per emulation and avoid the mess.
1998-10-27 18:04:27 +00:00
ws
6463d10c79
Fix typo which prevented this from working
...
on disks without int13-extension support.
1998-10-27 14:08:55 +00:00
ws
a541c86a76
Update version number and mention int13 extension support
...
(sorry, forgot this on the recent commit of the above).
1998-10-27 12:59:02 +00:00
hubertf
7e430fc3fd
Install programs & files for pcvt.
1998-10-26 21:01:28 +00:00
sommerfe
116ab7954f
This file has no real dependancies on SYSV ipc gunk.. so don't drag in headers
1998-10-26 19:11:57 +00:00
enami
92d5be6614
Explicitly test Intel 82371AB PCI-ISA bridge since *some* of them
...
identify themselves as miscellaneous bridge rather than isa bridge.
1998-10-26 03:47:19 +00:00
enami
c8a28ce872
Cosmetic change; use tab for basic indentation rather than four space.
1998-10-26 03:43:52 +00:00
christos
62b06e44c3
Add nca driver goo.
1998-10-25 18:40:17 +00:00
thorpej
bfc8ed8a50
Add "exphy" and "lxtphy" drivers.
1998-10-24 00:46:17 +00:00
bouyer
31dec5ddc5
Add config flags for pciide: 0x001 forces the use of DMA when the driver
...
don't know how to set the controller's modes.
1998-10-22 15:11:39 +00:00
tron
39876df951
Defopt SYSVMSG, SYSVSEM and SYSVSHM.
1998-10-19 22:14:54 +00:00
tron
249f0890d0
Sync with "GENERIC".
1998-10-19 18:19:55 +00:00
bouyer
ec954fdc40
Add 'uk at atapibus'.
1998-10-19 12:29:55 +00:00
bouyer
59000618ac
Remove useless 'flags' for wdc ata isapnp.
1998-10-19 12:06:55 +00:00
jtk
c4ffdb9200
dumpsize == 0 also indicates failure to figure out where to dump
...
(e.g. dump partition too small), so complain in that case when trying to
dump
1998-10-17 00:07:11 +00:00
ws
d65dc0de3b
Make ourseg visible to the outside similar to bootsect/start_bootsect.S
...
(Thanks to hannken@eis.cs.tu-bs.de for pointing this out).
1998-10-16 18:07:35 +00:00
mycroft
79a031f9d3
Configuration for new CVS server.
1998-10-16 00:30:53 +00:00
drochner
2468738337
change handling of libkern:
...
-sys/lib/libkern builds as library per default (as it was documented all
the time)
-ports able to LKM set "KERN_AS=obj" explicitely in their Makefiles
(for now; should depend on actual "option LKM" or -better- functions
included for LKM use should be pulled in by a stub)
-always link libcompat before libkern - libkern stuff can be referred to
by libcompat, but not the other way
1998-10-15 18:37:13 +00:00
ws
f82918b49b
Add int13 extension support
1998-10-15 15:28:22 +00:00
bad
50aa1b9d51
Add the IDT WinChip C6 to the cpu type table.
1998-10-15 15:26:01 +00:00
bad
28b3386649
Add CPUVENDOR_IDT and CPU_C6.
1998-10-15 13:40:33 +00:00
bouyer
999d5323c0
Make CPURESET_DELAY a patcheable variable, as sugested by Chris G. Demetriou.
1998-10-15 11:41:28 +00:00
perry
3a86ff1e67
Fix a stupid bug -- an if that was supposed to be nested but wasn't.
1998-10-13 15:14:13 +00:00
bouyer
10788ef1be
Add a CPURESET_DELAY options which specifies the delay (in milliseconds)
...
between the "rebooting" message and the hardware reset. If set to 0, the call
to delay() is disabled. Default is 2s.
1998-10-13 11:43:50 +00:00
enami
470c2f6696
Remove space at the end of line.
1998-10-13 03:57:27 +00:00
perry
d6748769a5
Cut down slightly by reducing md size and commenting out ext2fs
...
support.
(From Havard.Eidnes@runit.sintef.no )
1998-10-12 16:37:44 +00:00
perry
6b858b9573
kernels for 4Mbyte main memory machines (from Havard.Eidnes@runit.sintef.no)
1998-10-12 16:36:18 +00:00
bouyer
19fddaeeb5
Merge bouyer-ide
1998-10-12 16:09:10 +00:00
perry
37cb095897
1) Change "dectohexdec" and "hexdectodec" to "bintobcd" and
...
"bcdtobin". The old names were bogus.
2) Make the code grok the NVRAM's century field. This code is, to say
the least, poorly tested. It should make NetBSD play nicer with other
OSes that care about the century field, however.
1998-10-12 15:41:11 +00:00
chuck
8bef431273
remove unused share map code from UVM:
...
- update calls to uvm_unmap_remove/uvm_unmap (mainonly boolean arg
has been removed)
1998-10-11 23:20:59 +00:00
thorpej
be326c54fe
Add pcmcom driver and com slaves.
1998-10-10 21:58:22 +00:00
drochner
ff455e77b6
Match pchb by class/subclass, like pcib.
...
Add a note about this strange Pequr host bridge in Compaq machines.
1998-10-10 14:12:21 +00:00
thorpej
908cdfe4e3
Add scsibus entry points to the cdevsw[].
1998-10-10 02:00:49 +00:00
thorpej
67b94a13ed
Add the Intel 82443BX PCI host bus adapter. From Soren S. Jorvang, PR #6250 .
1998-10-08 20:04:32 +00:00
ws
3e28defef4
No point in making the fake partition that large.
...
This smaller one will (hopefully) make 0-start
installations work on more machines.
1998-10-08 14:25:42 +00:00
thorpej
010b1e5215
Erg, frame -> trapframe in last. (thanks to john kohl)
1998-10-07 21:25:35 +00:00
thorpej
b38544d99e
Oops, back out a buglet I didn't intend to commit in the last change.
1998-10-07 18:29:26 +00:00
thorpej
d374462dfc
Move the code that does the deferred (post-autoconfiguration) buffer
...
cache allocation to its own function, and call it at the end of configure().
1998-10-06 21:42:08 +00:00
thorpej
d681cf055a
configure() prototype is in <sys/device.h>
1998-10-06 20:50:15 +00:00
perry
e7340f0ed3
Fix a potential Y2K bug on some clock chips: we were loading invalid
...
BCD into the year field of the RTC in years > 1999. It seems to have
worked just fine on my old broken down test machine, but apparently
some others actually get hurt. Suckage. We now make sure that we load
valid BCD.
Other ports should check for variations on this theme.
1998-10-06 05:52:23 +00:00
rvb
71a653d388
Add Coda
1998-10-06 01:44:11 +00:00
fvdl
e6145e36a2
Correct Linux compat include file names.
1998-10-03 23:38:32 +00:00
fvdl
2b727ad9e9
The linux compat i386 "files" file moved into arch/
1998-10-03 23:17:03 +00:00
thorpej
49a45fed9b
If the memory range of the machine is such that no bouncing is necessary,
...
or if the device is capable of 32-bit DMA (specified by ISABUS_DMA_32BIT),
clear the map's bounce threshold at map creation time.
1998-10-03 21:53:04 +00:00
thorpej
01a1588265
Initialize the DMA map's bounce threshold to the tag's at map creation time,
...
and use the map's threshold when loading the map.
1998-10-03 21:38:48 +00:00
thorpej
10557b15d7
Add a private bounce threshold to the DMA map, initialized in a bus-dependent
...
fashion.
1998-10-03 21:24:00 +00:00
christos
e24d09740e
call gate for solaris-2.6 syscalls [from frank]
1998-10-03 18:08:39 +00:00
christos
36f308f4cc
Add an LDT for Solaris-2.6 syscalls [from Frank]
1998-10-03 18:05:25 +00:00
jtk
787fcfeac7
copyright has been assigned to TNF, update notice
1998-10-03 02:14:30 +00:00
erh
33dacac36e
linux_machdep.h has moved.
1998-10-01 18:32:33 +00:00
erh
d954a84b41
Linux emul_* structures chahged names.
1998-10-01 15:53:33 +00:00
frueauf
ce58a65013
Sync comments for REALBASEMEM/REALEXTMEM with GENERIC.
1998-10-01 10:01:20 +00:00
erh
502a65c40d
Add linux real-time signal trampoline.
1998-10-01 04:37:15 +00:00
erh
8ada127535
Path to linux_machdep.h changed.
1998-10-01 04:36:05 +00:00
erh
6a0907d521
linux_machdep.c has been moved. It is now included from compat/linux/i386/files.linux_i386.
1998-10-01 04:34:54 +00:00
erh
ccea47d790
Moved to compat/linux/i386/linux_machdep.h.
1998-10-01 02:20:52 +00:00
erh
3466d00034
Moved to compat/linux/i386/linux_machdep.c.
1998-10-01 02:15:50 +00:00
jtk
358521eba1
add prototype for bioscall()
1998-10-01 02:00:37 +00:00
matt
cf95587273
Sync with GENERIC.
1998-09-29 23:18:57 +00:00
thorpej
55df520938
Can't use -traditional; __RENAME() breaks due to a limitation in the
...
"traditional" C preprocessor.
1998-09-29 08:28:20 +00:00
thorpej
5a5380b92b
This program is icky, and will die soon. So, don't put a whole lot of
...
effort into it, but make it build again by casting the second arg to signal().
1998-09-29 08:27:36 +00:00
thorpej
005af97f9e
Use "print-objdir".
1998-09-29 08:16:11 +00:00
christos
029ab07a4d
delint
1998-09-26 19:21:19 +00:00
dante
d208510692
Add support for AdvanSys Ultra Wide boards
1998-09-26 16:38:43 +00:00
thorpej
feb1d22dcc
NCPU > 1 -> MULTIPROCESSOR
1998-09-24 23:00:43 +00:00
mycroft
2ebc36c0fd
Slight edit to previous.
1998-09-22 01:16:48 +00:00
thorpej
2671c2fa42
Make bus_dmamap_load_uio() work, from Kevin Lahey <kml@nas.nasa.gov>.
1998-09-21 22:51:56 +00:00
drochner
a0ccc06ec5
Note which units memory sizes are counted in.
...
Fixes half of PR port-i386/6159 ("Heiko W.Rupp" <hwr@pilhuhn.de>).
1998-09-18 12:22:54 +00:00
drochner
06753678d5
Remove the chips which are known to identify properly out of the
...
old "match" function - more or less for documentation.
Proposed by "Soren S. Jorvang" <soren@t.dk>.
1998-09-18 11:57:57 +00:00
drochner
1d34097b60
Take the Intel SIO into the special case list - it identifies itself
...
as "prehistoric". From John Kohl.
1998-09-18 11:13:10 +00:00
thorpej
dbebd9b148
Need 13 longs for jmp_buf; signal mask is 128 bits now.
...
XXX Actually, libc appears to use only 7 of the previous 10, so increasing
the size isn't actually necessary! But there was a gap at the end before,
so we'll keep it.
1998-09-14 21:31:52 +00:00
thorpej
27f3588d7b
oops, missed one.
1998-09-14 02:50:12 +00:00
thorpej
cbfc257eda
sigset13_t -> int.
1998-09-14 02:48:33 +00:00
tron
7010f82942
Sync with "GENERIC".
1998-09-13 23:15:46 +00:00
hwr
43c45ee409
Enable gre(4) device
1998-09-13 21:02:02 +00:00
mycroft
ef7c8ebbe7
Oops; forgot to commit this.
1998-09-13 11:26:58 +00:00
thorpej
35c106630e
__LIBCxx_SOURCE__ refers to the library major number, not the NetBSD release
...
number.
1998-09-13 02:18:38 +00:00
thorpej
6351312ff7
Fix thinko in last thinko fix. We always have to store an old style
...
signal mask since a 1.3 binary may attempt to invoke sigreturn(2) directly
for an alternate exit from the signal handler. If we don't do this, it will
get a garbage signal mask if it tries to do that.
1998-09-13 01:45:04 +00:00
thorpej
7f361cc70c
Prototypes for native_sigset13_to_sigset() and native_sigset_to_sigset13()
...
are in sys/signalvar.h
1998-09-13 01:43:17 +00:00
thorpej
a0494141c5
Prototype for native_sigset13_to_sigset() is in sys/signalvar.h
1998-09-13 01:42:45 +00:00
rvb
0aa47cd025
Change cfs/CFS in symbols, strings and constants to coda/CODA
...
to avoid fs conflicts.
1998-09-12 15:05:47 +00:00
mycroft
3f2c7263b1
Fix thinko in previous.
1998-09-12 10:48:27 +00:00
mycroft
89ea1fcbdd
Version sys_sigreturn, to avoid breaking programs that use it explicitly.
1998-09-12 00:47:12 +00:00
mycroft
a2d9c7ed82
Use the context flag bits.
1998-09-11 13:22:45 +00:00
mycroft
fb526e055c
Substantial signal handling changes:
...
* Increase the size of sigset_t to accomodate 128 signals -- adding new
versions of sys_setprocmask(), sys_sigaction(), sys_sigpending() and
sys_sigsuspend() to handle the changed arguments.
* Abstract the guts of sys_sigaltstack(), sys_setprocmask(), sys_sigaction(),
sys_sigpending() and sys_sigsuspend() into separate functions, and call them
from all the emulations rather than hard-coding everything. (Avoids uses
the stackgap crap for these system calls.)
* Add a new flag (p_checksig) to indicate that a process may have signals
pending and userret() needs to do the full (slow) check.
* Eliminate SAS_ALTSTACK; it's exactly the inverse of SS_DISABLE.
* Correct emulation bugs with restoring SS_ONSTACK.
* Make the signal mask in the sigcontext always use the emulated mask format.
* Store signals internally in sigaction structures, rather than maintaining a
bunch of little sigsets for each SA_* bit.
* Keep track of where we put the signal trampoline, rather than figuring it out
in *_sendsig().
* Issue a warning when a non-emulated sigaction bit is observed.
* Add missing emulated signals, and a native SIGPWR (currently not used).
* Implement the `not reset when caught' semantics for relevant signals.
Note: Only code touched by the i386 port has been modified. Other ports and
emulations need to be updated.
1998-09-11 12:50:05 +00:00
mycroft
932a812de4
Speed up syscall() slightly in a few cases.
1998-09-11 12:23:44 +00:00
thorpej
70e641047c
In cpu_coredump(), use MID_MACHINE rather than MID_* (whatever it expands
...
to).
1998-09-09 11:17:24 +00:00
thorpej
8abe0d6b1c
Adjust for the new "reaper" kernel thread: do not free the vmspace and
...
u-area in machine-dependent code. Instead, call exit2() to schedule
the reaper to free them for us, once it is safe to do so (i.e. we are
no longer running on the dead proc's vmspace and stack).
1998-09-09 00:07:48 +00:00
rvb
ba78af57df
Get ready to add Coda
1998-09-08 20:56:08 +00:00
christos
50909bd6d9
Assign copyright to TNF.
1998-09-05 15:28:08 +00:00
christos
2d876282c2
Assign copyright to TNF.
1998-09-05 15:28:06 +00:00
christos
449820f2ea
Assign copyright to TNF.
1998-09-05 15:28:04 +00:00
lukem
c9db84ecc9
distclean is a synonym for cleandir
1998-09-05 15:15:14 +00:00
mycroft
f887061852
Disable recent additions, which are gratuitously annoying and *crash my
...
machine* at boot time (with a divide by 0 fault).
1998-09-05 04:54:23 +00:00
drochner
5e4c58a7d0
Fix incomplete variable renaming in the last commit.
...
Found by taca@sky.yamashina.kyoto.jp (Takahiro Kambe) - PR port-i386/6087.
1998-09-02 08:24:51 +00:00
jtk
663e79e90a
add 32-bit register support and beginnings of APM V1.2 support
1998-08-31 23:54:32 +00:00
jtk
6ab2c0f7d4
config file for BIOSCALL assym.h
1998-08-31 23:53:30 +00:00
jtk
a5026bf4e2
regen
1998-08-31 23:52:58 +00:00
jtk
10ec6359b5
add 32-bit register support to BIOSCALL interface
1998-08-31 23:52:40 +00:00
thorpej
29a84ea0ac
UVM+PMAP_NEW is standard now; don't need it in individual config files.
1998-08-31 17:58:44 +00:00
thorpej
4e705c4d21
Switch the i386 port to UVM+PMAP_NEW.
1998-08-31 17:55:26 +00:00
thorpej
667635aebb
Add (commented out for now) UVM/PMAP_NEW, enable KMEMSTATS, comment
...
out the PHY drivers.
1998-08-31 03:54:33 +00:00
cgd
5fa7eee1ff
don't define __BUS_SPACE_COMPAT_OLDDEFS by default. As stated in
...
bus_space(9), if drivers want it (they shouldn't; easy to convert) they
can define it right before including bus.h. There's been a release since
the interfaces were (slightly) changed, and no code in the source tree
uses the old interfaces as far as I can tell.
1998-08-30 23:40:14 +00:00
lukem
cdf68a7fa3
a minor hack i've had locally for ages: if PCVT_CAPS_IS_CTRL is
...
defined, make the capslock key act like another control key.
1998-08-30 09:59:47 +00:00
thorpej
d1f73558ff
Use the "nointr" pool page allocator for pmap_pmap_pool.
1998-08-28 21:58:29 +00:00
dante
df94d3f4f5
Add AdvanSys SCSI controller
1998-08-26 14:27:44 +00:00
augustss
c5b4ddc051
Add more opl attachments.
1998-08-26 13:37:49 +00:00
thorpej
daa8ad1747
Add some braces to make egcs happy.
1998-08-25 04:56:01 +00:00
thorpej
9c3e900094
Use the pool allocator for pmap structures.
1998-08-25 01:46:01 +00:00
drochner
103b7e7b17
The Intel 82371MX identifies itself erroneously as a miscellaneous bridge.
...
(from "Johnny C. Lam" <lamj@stat.cmu.edu> per PR kern/6021)
1998-08-24 19:27:05 +00:00
veego
ff2c3adddc
Add some braces to stop the new egcs warnings.
1998-08-20 19:55:06 +00:00
thorpej
ff266f0937
Add some braces to make egcs happy.
1998-08-18 18:23:07 +00:00
mycroft
a76eb95be9
Tab vs. space, and turn *off* XSERVER_DDB by default.
1998-08-18 17:03:42 +00:00
thorpej
cf3457cb9d
Add some braces to make egcs happy (ambiguous else warning).
1998-08-18 07:53:47 +00:00
thorpej
5e04cc8bb7
Internal bus_dma cleanup.
1998-08-17 22:33:09 +00:00
augustss
cd09067eb4
* Redo the way the way the MIDI driver attaches to audio devices.
...
* Improve the midisyn layer a little.
* Add a driver for the Yamaha OPL[23] FM synths.
The opl driver is not finished yet; it sounds pretty awful.
For some strange reason I cannot get any FM sound from my SB64 cards,
but a regular SB16 works fine.
1998-08-17 21:16:09 +00:00
rvb
8e5a13f5f0
Avoid double fault on errors during probes
1998-08-16 00:42:51 +00:00
mycroft
129cbf95ee
Minor edit.
1998-08-15 05:16:41 +00:00
mycroft
c9a799adf6
Assign my copyrights to TNF.
1998-08-15 04:57:50 +00:00
mycroft
cc8a78e783
Assign my copyrights to TNF.
1998-08-15 04:42:42 +00:00
mycroft
df9baf2311
Assign copyrights to TNF.
1998-08-15 03:51:30 +00:00
mycroft
6d3d8a1350
Make copyright notices with my name consistent.
1998-08-15 03:02:31 +00:00
rvb
4283228f33
Make message less confusing
1998-08-14 02:20:07 +00:00
thorpej
f41c00629b
Garbage-collect vm_offset_t and vm_size_t.
1998-08-13 21:36:27 +00:00
thorpej
330d142f16
vm_offset_t -> {vaddr_t,paddr_t}, vm_size_t -> vsize_t
1998-08-13 21:36:02 +00:00
rvb
e829016cba
Keep d_ncylinders correct
1998-08-13 18:18:54 +00:00
rvb
d0153a96fe
The sense of the pccons_is_console test is backwards
1998-08-13 18:00:05 +00:00