cgd
e58dfa2a1a
make match/attach routines and cfdriver struct mi
1995-06-07 07:06:16 +00:00
pk
a47021162b
Prototype sysarch(2) (Thorsten Lockert, PR#1096)
1995-06-05 19:36:23 +00:00
mycroft
ee9e2e35fa
Increase the delay after pulsing the keyboard reset line.
1995-06-05 03:47:51 +00:00
mycroft
1922f9e648
Use the memory mapping set up by the BIOS.
1995-06-05 03:07:34 +00:00
mycroft
4ea6427a03
Increase size of imask[]. Sigh.
1995-06-04 20:22:50 +00:00
mycroft
bd99191320
IPL_IMP includes IPL_NET, IPL_BIO, and possibly IPL_TTY.
1995-06-04 08:32:24 +00:00
mycroft
8bb190daa3
Add a separate IPL_IMP, used by splimp().
1995-06-04 08:29:41 +00:00
mycroft
d4e9fde6e5
Handle most of the address fixups during bootstrap with a macro.
1995-06-02 18:14:04 +00:00
brezak
cfe5401c83
Integrate patch from Lon Willett that is part of release 3.20
1995-06-02 02:48:41 +00:00
mycroft
d69f7885b7
Allow [nh]to[hn][ls]() to do constant folding.
1995-06-01 17:19:18 +00:00
cgd
471cfd3fc5
define pcicd, pciattach() here now.
1995-05-23 03:43:58 +00:00
mycroft
5ea2d5e6a6
Clean up the FPU state more thoroughly on exec.
1995-05-18 18:59:16 +00:00
jtc
f90f8d10aa
Removing -DKERNEL, transition to _KERNEL has been completed
1995-05-16 22:24:17 +00:00
mycroft
f178e0996d
Sync these.
1995-05-16 14:58:44 +00:00
mycroft
565b3ad195
Put the address of the ps_strings structure in %ebx.
1995-05-16 14:30:47 +00:00
cgd
fc90442d14
add lots of vnds
1995-05-12 21:08:41 +00:00
mycroft
af73578e82
Map the source page of a copy read-only.
1995-05-12 20:57:22 +00:00
cgd
eb4cd26383
from the comments at the top of the file:
...
INSTALL -- somewhat generic kernel with a snowball's chance of
fitting on an install floppy.
This kernel MUST consist (for users' sanity) of a subset of
the GENERIC configuration. It also should support X reasonably
(though the SysV SHM extensions won't work).
To avoid a maintenance nightmare, this kernel consists of GENERIC
with missing options/devices/etc. REMOVED rather than commented
out. That makes it easy to diff agains GENERIC, to make sure that
it really is a subset of the functionality.
1995-05-12 03:19:51 +00:00
cgd
aeb93da3d7
Split FFS,QUOTA line, comment each individually.
...
Add 'options INSECURE' so that the GENERIC kernel is happy with
X's linear mapping.
1995-05-12 03:18:05 +00:00
jtc
8aa6c376b6
KERNEL -> _KERNEL
1995-05-11 16:52:54 +00:00
mycroft
af7265051f
The previous optimization only works for edge-triggered interrupts...
1995-05-08 18:00:20 +00:00
cgd
1c04650195
protect npxproc usage with #if NNPX. From Bob Baron <rvb@cs.cmu.edu>.
1995-05-07 21:07:17 +00:00
mycroft
dbaa7014ef
Turn off a debugging printf().
1995-05-07 03:27:37 +00:00
mycroft
8a50716192
Fix restore of %fs and %gs in linux_sigcode.
1995-05-07 03:16:16 +00:00
mycroft
4e9f66f9ca
Improve Linux signal emulation, and emulate the modify_ldt() call.
1995-05-07 02:59:30 +00:00
mycroft
6e02c4b647
Add a copy of the user code and data descriptors in the GDT.
1995-05-06 20:30:14 +00:00
mycroft
5c75c8b7ad
Use global definitions of i386_[gs]et_ldt_args.
1995-05-06 19:21:37 +00:00
mycroft
7a69a9c95b
Define i386_[gs]et_ldt_args here.
1995-05-06 19:19:57 +00:00
mycroft
e97a07b5a4
Add stub for linux_modify_ldt().
1995-05-06 18:17:15 +00:00
mycroft
524c9c7f2a
Use nvram.h.
1995-05-05 22:28:17 +00:00
mycroft
8fc6a61adc
Add definitions for NVRAM equipment byte.
1995-05-05 22:08:43 +00:00
cgd
8703076975
define BROKEN_SWAP and/or cpu_swapout as appropriate.
1995-05-05 03:41:51 +00:00
cgd
2e0e8fc49d
use the machine-independent definitions for the mc146818.
...
wrap the various uses of the chip (including the uses of the NVRAM on it)
around the new defintions, structures, and functions specified in the header.
1995-05-04 19:39:08 +00:00
cgd
7153343684
two cases to quiet the compiler. perhaps should be fixed differently.
1995-05-04 19:35:20 +00:00
mycroft
40b72cc7a2
Wrap NGDT and NLDT in parens.
1995-05-04 05:37:39 +00:00
mycroft
0175317fc3
If we decide to use IRQ 13, explicitly turn off CR0_NE to be sure.
1995-05-04 00:30:56 +00:00
mycroft
94f4346537
Update a comment to match that last change.
1995-05-04 00:20:40 +00:00
mycroft
f0a42753e4
npxinit() should not be called during autoconfig now. Watch for this
...
condition.
1995-05-04 00:16:40 +00:00
mycroft
e03a827a0a
Move some comments from before npxsave1() to before npxsave().
1995-05-04 00:00:25 +00:00
mycroft
bfef4c14c5
Slight rearrangement, to make the TS handling easier to follow.
1995-05-03 23:09:37 +00:00
mycroft
99224602b4
Only dump the FPU state if the process actually used the FPU.
1995-05-03 23:05:46 +00:00
mycroft
d23aebf3bb
Fix pccnpollc().
1995-05-03 20:46:32 +00:00
mycroft
6db4e1b58a
By default, don't frob the ICU masks here. The software masking should
...
be sufficient.
1995-05-03 14:31:35 +00:00
mycroft
f57d609a52
Use PCB_USEDFPU, and a small performance tweak.
1995-05-03 00:17:16 +00:00
mycroft
e772f7c5ef
Set PCB_USEDFPU.
1995-05-03 00:09:13 +00:00
mycroft
029176e96b
Add PCB_USEDFPU.
1995-05-03 00:08:19 +00:00
mycroft
73fead01fc
Fix typos.
1995-05-01 19:45:42 +00:00
mycroft
88f28c3996
Fix typo.
1995-05-01 14:19:14 +00:00
mycroft
8792c8e284
Save and restore %fs and %gs across signals.
1995-05-01 14:15:07 +00:00
mycroft
4eea138a48
Add sc_gs and sc_fs. Move sc_onstack and sc_mask to end.
1995-05-01 14:14:11 +00:00
mycroft
bbfcbb8483
Add VM86 segment registers to trapframe.
1995-05-01 14:13:26 +00:00
mycroft
cef0c43dee
Stylistic changes, and we don't need KERNEL any more.
1995-05-01 13:16:16 +00:00
mycroft
c55ef2fd64
Always reload the LDT iff we reallocated its storage.
1995-05-01 13:13:20 +00:00
mycroft
953e339aa0
Stylistic changes tp cpu_exit().
1995-05-01 13:09:43 +00:00
mycroft
f745c10020
Eliminate _gsel_tss and _default_ldt.
1995-05-01 13:02:24 +00:00
mycroft
e5d7ebde66
Update to match include files.
1995-05-01 11:07:40 +00:00
mycroft
0ea347bf51
Update for changes in segments.h.
1995-05-01 10:43:01 +00:00
mycroft
bce8e94dd2
Correct comments in gdt_segs[] and ldt_segs[] initializers.
1995-05-01 09:08:27 +00:00
mycroft
5d17674312
Remove IdlePTD.
1995-05-01 08:53:13 +00:00
mycroft
87b25c7f5c
Update to match include files. Eliminate _ucodesel, _udatasel, and IdlePTD.
1995-05-01 08:25:30 +00:00
mycroft
ae11bd216c
Remove historical garbage.
1995-05-01 08:14:25 +00:00
mycroft
17dd9534bf
Update to match include files. Eliminate _ucodesel, _udatasel, and IdlePTD.
1995-05-01 08:06:22 +00:00
mycroft
5a7e987371
Make md_regs a pointer to a trapframe.
1995-05-01 07:56:20 +00:00
mycroft
f32276958e
Use segments.h, and some other cleanup.
1995-05-01 07:55:21 +00:00
mycroft
33e0286648
Remove PCB_SAVEFPU.
1995-05-01 07:55:04 +00:00
mycroft
8b51849f9d
Make this includable from locore. Remove unused GDT and LDT slots.
1995-05-01 07:37:43 +00:00
mycroft
c2e46efab2
Rename ibcs2_sigflags to __spare, but leave the space for now.
1995-05-01 04:53:24 +00:00
mycroft
7688f4456e
Remove usages of ibcs_sigflags.
1995-05-01 04:50:28 +00:00
mycroft
92e9818c88
Expose idt[] here.
1995-05-01 04:49:51 +00:00
mycroft
b8d3de2758
Add pcb_cr0.
1995-05-01 04:49:28 +00:00
mycroft
17a5f987ba
Be more aggressive about lazy saving and initialization.
1995-05-01 04:47:43 +00:00
mycroft
f55c4a0a19
Another trivial optimization.
1995-05-01 01:24:04 +00:00
christos
0cd2332f66
sigcode is svr4_sigcode
1995-04-28 23:11:37 +00:00
cgd
0e59975fac
rename files files for new config/config.old naming
1995-04-28 08:19:12 +00:00
mycroft
a9313f09e4
Speed up handling of short and/or misaligned mbufs significantly. No change
...
in the `normal' cases.
1995-04-27 17:18:22 +00:00
mycroft
7dbfb9ead9
Macroize a few more things; suggested by Matt Green. Cast pointers to long,
...
not int. No functional differences.
1995-04-26 09:40:36 +00:00
mycroft
4c3aafc732
Fix typo in previous changes.
1995-04-26 00:00:23 +00:00
cgd
fab3d7b117
kill a bogus NOTREACHED, fix spacing
1995-04-24 06:24:19 +00:00
christos
c5f01c2a4c
Fixed comparison in SYS__syscall to be against sysent instead of
...
p->p_emul->e_sysent [Thanks Charles for pointing this out].
I think that this code needs to be fixed anyway for emulations where
SYS_syscall is not the same number as the NetBSD one (0)... (Only the
alpha port so far?)
1995-04-22 20:49:06 +00:00
christos
de42a28a1b
- added sunos_machdep.c for sun3, atari, amiga and mac68k.
...
- changed machdep.c and trap.c to use struct emul.
- remove ep_setup references.
- added struct emul to all emulations.
1995-04-22 20:24:40 +00:00
mycroft
20cf41aa94
Clean this up a bit:
...
* Abstract the conditional for immediate port numbers, and make it always
false if not optimizing.
* Add some whitespace to the string functions to make them more readable.
1995-04-22 03:59:59 +00:00
mycroft
ca88acc618
Fix an oversight.
1995-04-22 01:25:41 +00:00
mycroft
fb82503a03
Fix some outdated comments.
1995-04-22 00:58:19 +00:00
mycroft
c78d8f5e0b
Replace btl with testl.
1995-04-22 00:54:21 +00:00
mycroft
4cd20dfe0a
Move some comments to more appropriate places.
1995-04-22 00:30:47 +00:00
mycroft
9dbd0e8627
Use vfs_shutdown().
1995-04-21 21:56:59 +00:00
mycroft
b4813fa24a
Alias delay() to DELAY() for mi code.
1995-04-21 21:56:01 +00:00
mycroft
b5eab728c1
Make this compile again.
1995-04-21 19:44:52 +00:00
mycroft
305ed29ba1
Remove profiling constants that are no longer needed.
1995-04-21 09:17:23 +00:00
mycroft
99a3edf2ea
Move cpu_reset() from vm_machdep.c to machdep.c, and make it more robust.
1995-04-21 09:15:23 +00:00
mycroft
30e61f6c45
Make RB_KBD work again.
1995-04-21 07:56:40 +00:00
mycroft
7d349f24fb
Clean up init386() a bit.
1995-04-21 07:53:52 +00:00
mycroft
e530f4d515
Remove 486-specific CR0 changes into identifycpu().
1995-04-21 06:43:18 +00:00
mycroft
e4ab9f94f9
Remove the (unused) extra mapping of the first 1MB. Undo the double-mapping
...
of the first 4MB earlier.
1995-04-21 06:23:51 +00:00
mycroft
8190c2e3e7
Clean up hole conversion functions a little.
1995-04-21 05:21:37 +00:00
mycroft
d3672cc33f
We need isa_machdep.h for now.
1995-04-21 05:10:02 +00:00
mycroft
d3971b501d
Remove relocation of Crtat from locore.
1995-04-21 04:51:30 +00:00
mycroft
0ded4e4007
pttty -> ptytty
1995-04-19 22:35:40 +00:00
mycroft
943618dbe5
Fix thinko in previous commit.
1995-04-19 22:08:08 +00:00
mycroft
8854e7193d
Remove d_reset, and change the uses of d_ttys as appropriate.
1995-04-19 19:22:15 +00:00
mycroft
53d73c77a5
Garbage collect #includes.
1995-04-19 19:10:35 +00:00
mycroft
5e398279f4
Using cloning specs for rtfps subdevices.
1995-04-19 19:08:52 +00:00
mycroft
1f599fe30b
Using cloning specs for ast subdevices.
1995-04-19 19:07:33 +00:00
mycroft
4c28b7cb87
Change needs-count' to
needs-flag'.
1995-04-19 19:02:54 +00:00
mycroft
aed68a1067
Implement pctty().
1995-04-19 18:33:27 +00:00
mycroft
b665ddf808
Implement pctty().
1995-04-19 18:10:47 +00:00
cgd
eb1375b9c2
fix my IPL level off-by-one. also, rename intr_disestablish to
...
isa_intr_disestablish like i meant to before.
1995-04-19 06:14:13 +00:00
cgd
19c27da954
comment out the scd major declaration
1995-04-19 02:54:12 +00:00
mycroft
6bb01cf7de
Remove deprecated md prober/probew/kernacc/useracc.
1995-04-19 01:17:11 +00:00
mycroft
82120d943b
Finish updating for new interrupt registration mechanism.
1995-04-18 02:25:18 +00:00
mycroft
8874fd61ca
Update to match generic ISA changes.
1995-04-18 00:59:53 +00:00
brezak
1b8667f0aa
Add config for PSS
1995-04-17 22:44:38 +00:00
cgd
15552a0e17
if_le conflicts with the Alpha; move description back to i386
1995-04-17 20:23:32 +00:00
cgd
6495969b94
use included files wherever possible.
1995-04-17 16:58:14 +00:00
cgd
8fe775c0de
useless, as of the new sound drivers.
1995-04-17 15:29:06 +00:00
cgd
dfeb819b45
move sound drivers to their proper homes.
1995-04-17 15:28:30 +00:00
cgd
cf1c3ea213
these belong in dev/isa; they're being moved there now.
1995-04-17 15:22:27 +00:00
cgd
c0caf19aac
oops; forgot to delete this with my ISA autoconfig changes earlier
1995-04-17 15:17:24 +00:00
cgd
8a640328ed
clean up several ISA device interfaces: autoconfiguration, header
...
inclusion, and interrupt configuration. more work still needs to be done,
but it's getting better...
1995-04-17 12:06:30 +00:00
cgd
236ef3f326
include PCI machine-independent files list
1995-04-17 07:45:29 +00:00
cgd
14d777dff7
allow most program names to be overridden. kill a bogus } in a comment, and
...
an unnecessary blank line.
1995-04-17 07:30:54 +00:00
cgd
5f2be04d8e
use CC="cc -Werror" for cc; kill bogus COMUNIT option
1995-04-17 07:23:50 +00:00
cgd
1b917f3802
use CC="cc -Werror" for cc
1995-04-17 07:23:34 +00:00
mycroft
865e910590
Remove extra EMUL_IBCS2 case.
1995-04-14 23:30:54 +00:00
mycroft
72adfee7f7
EMUL_IBCS2_ELF -> EMUL_SVR4; EMUL_IBCS2_{COFF,XOUT} -> EMUL_IBCS2
1995-04-13 20:48:14 +00:00
mycroft
451b445e1e
Fix compiler warnings.
1995-04-13 19:36:00 +00:00
mycroft
ed647f250b
This hasn't been used for a long time.
1995-04-12 22:14:06 +00:00
mycroft
7e37bbe000
UPAGES --> USPACE
1995-04-12 15:38:09 +00:00
mellon
df78dbb096
Reference cninit.c as well as cons.c
1995-04-11 09:52:11 +00:00
mycroft
3e37e7dece
Remove `dma from mcd, and add scd (though its not ready yet.
1995-04-10 18:50:55 +00:00
mycroft
1ae952ad0f
Remove bogus return values from void functions.
1995-04-10 18:08:45 +00:00
mycroft
e25c1817cf
kernel_pmap --> pmap_kernel()
1995-04-10 13:08:28 +00:00
mycroft
22cefc03bc
Bring back pmap_kernel(), for now always inlined as a pointer to
...
kernel_pmap_store.
1995-04-10 12:41:29 +00:00
mycroft
127e0761c9
Add mmopen(), mmclose(), and mmmmap() where appropriate. Lock vmmap when
...
needed. Make types consistent.
1995-04-10 11:54:47 +00:00
mycroft
d751b03236
Minor consistency nits.
1995-04-10 10:01:40 +00:00
mycroft
f8f99c94a1
Fdclose --> fdclose; no longer conflicts.
1995-04-10 04:18:14 +00:00
mycroft
1b3587f158
Minor changes to match hp300 version.
1995-04-10 04:17:12 +00:00
mycroft
3f22df0746
Declare all return types.
1995-04-10 01:56:41 +00:00
mycroft
0b734c8881
Minor stylistic changes.
1995-04-10 01:26:43 +00:00
mycroft
9c41e0f2f2
Most of the console functions return void.
1995-04-10 01:07:16 +00:00
mycroft
374185caff
Most of the console functions return void.
1995-04-10 01:01:40 +00:00
mycroft
84de5b1135
Update to make con[fs].h.
1995-04-10 00:50:50 +00:00
mycroft
e957423a98
Move fp_except and fp_rnd definitions to machine/include.
1995-04-09 21:31:58 +00:00
fvdl
fb00b736fd
Arch dependant defs for Linux. Just signal stackframe definition for now.
1995-04-07 22:31:19 +00:00
fvdl
46de9a804f
Changes because of proper Linux signal stackframe building, and
...
seperate signal trampoline code. Ugly hack in trap.c no longer
needed.
1995-04-07 22:29:34 +00:00
fvdl
a3ff5bc0aa
Add arch/i386/i386/linux_machdep.c
1995-04-07 22:25:41 +00:00
jtc
ec2bda0f0b
Changed FLT_ROUNDS from constant to a call to __flt_rounds(), so that the
...
current rounding mode is accurately reported.
1995-04-07 15:00:54 +00:00
christos
0fd8f81d69
Reorganization of the signal frame and ucontext to make it shareable with
...
the sparc code. Added trap defines.
1995-03-31 02:51:37 +00:00
christos
d736bba447
Changes to make svr4 emulation signal() to work, and minor cleanup in trap.c
1995-03-31 02:49:25 +00:00
jtc
8ba211cde0
Added #define _KERNEL
1995-03-28 18:37:27 +00:00
jtc
71ab4ed9dc
KERNEL -> _KERNEL
1995-03-28 18:13:48 +00:00
mycroft
445c619523
Make this lighter.
1995-03-26 16:36:12 +00:00
cgd
fa2133533d
invoke ktrsyscall with (vp, code, argsize, args) as args.
1995-03-26 08:03:29 +00:00
mycroft
c7cee0e9b6
.
1995-03-25 00:46:42 +00:00
mycroft
ff6c206c3f
Use void* rather than caddr_t in many places.
1995-03-25 00:00:53 +00:00
mycroft
10512e87fa
All of the audio drivers need DMA.
1995-03-24 22:47:39 +00:00
jtc
f86410093b
Changed name of __weak_reference() to __indr_reference(). They really
...
are indirect references, and I want to add a real __weak_reference()
macro to <machine/cdefs.h> soon.
1995-03-23 19:58:48 +00:00
jtc
d57fb977bb
Added -D_KERNEL to CFLAGS alongside each -DKERNEL.
1995-03-23 19:46:18 +00:00
mycroft
86feec27e6
In T_PAGEFLT, check for null proc pointer before dereferencing it.
1995-03-22 23:25:13 +00:00
mycroft
5abce26266
Add a missing dependency.
1995-03-22 15:10:04 +00:00
brezak
331f0252c6
Fix probing of slave devices and remove unneeded ffs()'s
1995-03-21 14:05:28 +00:00
cgd
b8403d582b
don't be so quick to cast macro arguments to unsigned; if the
...
arguments are really off_t's (e.g. to btodb), then you can lose
information. This was the "> 4G file systems don't work" bug; physio
uses btodb, which was broken.
1995-03-18 07:22:43 +00:00
glass
15642dad87
update
1995-03-16 16:37:41 +00:00
brezak
8193ffc379
Add support for PAS 16 basic
1995-03-15 18:45:58 +00:00
glass
af46d07f24
fix compilation error. don't bother checking for IRQ2
1995-03-15 16:43:09 +00:00
brezak
36fa07bde5
Fixes defect port-i386/860 from John Woods (jfw@jfwhome.funhouse.com) with
...
supplied patch. Kernel will not link with only ProAudio Spectrum driver
specified.
1995-03-14 18:43:19 +00:00
brezak
f3226ad49e
Fixes defect port-i386/864 from John Woods (jfw@jfwhome.funhouse.com) with
...
supplied patch. pas.c doesn't recognize ProAudio Spectrum 16 Basic card.
1995-03-14 18:41:36 +00:00
scottb
fc0e015f22
added code to remap BSD errno to iBCS2 errno
1995-03-14 14:43:59 +00:00
scottb
02083108db
added entries for new ibcs2 files
1995-03-14 14:42:09 +00:00
brezak
7ce1465911
Fix SB8 playback. From David Gluss <david@pure.com>
1995-03-13 14:37:12 +00:00
brezak
1c9582b63e
Add IRQ 9 as a valid IRQ
1995-03-13 14:29:11 +00:00
mycroft
b83b02cc20
Remove unneeded variable.
1995-03-12 12:09:18 +00:00
mycroft
b9cb1cdd51
Update version number.
1995-03-12 00:13:47 +00:00
mycroft
40a71a0a2c
Various minor cleanup.
1995-03-12 00:10:53 +00:00
ws
999d50b578
Initialize emulation in systems without NPX
1995-03-11 18:42:42 +00:00
glass
fc2c13bcb4
add COMPAT_LINUX
1995-03-11 10:12:25 +00:00
mycroft
936d442143
Fix another oversight.
1995-03-10 12:20:37 +00:00
mycroft
b9e30291a4
Fix oversight in previous change.
1995-03-10 10:56:16 +00:00
mycroft
d004d5d34c
Remove something I don't use.
1995-03-09 11:32:33 +00:00
mycroft
dc3d752c6c
Fix last arg to scdebug_ret().
1995-03-09 08:59:45 +00:00
brezak
83fffa3985
Cleanup for SB16 (From Jan Sparud)
1995-03-08 18:27:35 +00:00
mycroft
80d817b8de
Fix some types:
...
* code, args, and rval should use register_t.
* argsize should be a size_t.
Small optimization to the Linux compat code, and don't blindly fail on if
the argument list size is invalid.
1995-03-08 07:12:28 +00:00
mycroft
d227b8e43c
Update to reflect the state of the world.
1995-03-05 22:32:54 +00:00
mycroft
8868f2b126
Turn off writing to the message buffer before outputting dump information.
1995-03-05 22:20:37 +00:00
mycroft
a6275a4782
Fix oversight in previous change.
1995-03-03 06:09:01 +00:00
glass
1351103cc2
vn->vnd
1995-03-02 09:11:33 +00:00
mycroft
4c34be6b52
Clean up deleted files.
1995-03-01 00:00:00 +00:00
cgd
8bb0b6790c
translate signal numbers for linux compat bins.
1995-02-28 23:21:45 +00:00
cgd
727c7f6f71
linux syscall arg gathering, handling, and return.
1995-02-28 23:18:03 +00:00
cgd
0e305fb3f7
add linux compat files, included on COMPAT_LINUX
1995-02-28 23:10:28 +00:00
brezak
63d3904bce
Use irq directly not as a mask
1995-02-28 21:47:42 +00:00
brezak
190e2004e6
New audio drivers
1995-02-21 21:49:10 +00:00
mycroft
906d699af5
Make the twiddler like libsa.
1995-02-21 06:34:58 +00:00
brezak
559df5705c
PSS driver; needs testing with config.new
1995-02-21 04:15:03 +00:00
brezak
39b8de8e12
Driver for Windows sound system; not extensively tested
1995-02-21 02:28:42 +00:00
brezak
32eec53a2d
SoundBlaster driver for SB, SB16 and SBPRO
1995-02-21 02:28:06 +00:00
brezak
a70ae7273c
PAS driver; uses SB emulation for now
1995-02-21 02:27:18 +00:00
brezak
977594d1a9
Driver for ad1848 codec
1995-02-21 02:26:39 +00:00
brezak
1f5bdc75a9
New audio subsystem
1995-02-21 01:35:58 +00:00
glass
d162458aeb
oops
1995-02-19 04:26:16 +00:00
glass
b6c0555406
add my test machine...with math emulation turned on
1995-02-19 03:44:21 +00:00
mycroft
040fdadc3b
Fix some old typos.
1995-02-11 21:57:39 +00:00
mycroft
57096ff707
Fix handling of out of range addresses in fu/su functions.
1995-02-11 21:51:12 +00:00
mycroft
50310df340
Reinstate cdev_pc_init().
1995-02-09 19:04:13 +00:00
mycroft
df9c1209cf
Remove [fs]ui{byte,word}().
1995-02-08 14:54:12 +00:00
mycroft
a2b696a920
Remove a quite outdated comment.
1995-02-05 15:46:58 +00:00
mycroft
831f8a121e
Yet another optimization...
1995-02-05 14:54:18 +00:00
mycroft
336db78312
Fix disassembly of `cmpxchg' instructions.
1995-02-05 13:59:38 +00:00
mycroft
a493139d39
Get rid of the silly `.byte's.
1995-02-05 13:13:42 +00:00
mycroft
229a077003
Add `cpuid' instruction.
1995-02-05 13:07:54 +00:00
mycroft
194305265e
Remove an old comment concerning %gs.
1995-02-05 01:41:33 +00:00
mycroft
a00897da65
Another optimization...
1995-02-05 01:06:50 +00:00
mycroft
52f420ddc6
Clean up suswintr().
1995-02-04 15:02:28 +00:00
mycroft
3d41c85ecc
A few more nits...
1995-02-04 14:54:57 +00:00
mycroft
546c427b3e
Remove some dead code.
1995-02-04 14:24:05 +00:00
mycroft
27675561a8
Optimize copyout*() more, and avoid using %gs.
1995-02-04 14:23:00 +00:00
mycroft
2bc213f176
Make pmap_next_page() a bit safer.
1995-02-03 10:16:35 +00:00
mycroft
8b843bd96c
Round biosbasemem and biosextmem down to a whole page.
1995-02-02 19:42:18 +00:00
christos
bbcbf6ccbf
Added defines for svr4_sysarch()
1995-02-01 01:40:25 +00:00
christos
73861db7bb
Added svr4_sysarch() [experimental]
...
Fixed so that the setcontext call restores the signal stack completely.
1995-02-01 01:39:43 +00:00
mycroft
37a654295e
Clean up deleted files.
1995-01-29 07:37:56 +00:00
cgd
cf83d9e090
lip service to making ISA support machine-independent. This is the first
...
round: moving the drivers into a machine-independent directory.
Some drivers (e.g. fd.c) not moved because they use other pc features (e.g.
CMOS settings), and none of the non-driver files moved, because they're
still pretty much PC specific.
1995-01-29 07:37:37 +00:00
mycroft
1e719386a7
Clean up deleted files.
1995-01-29 02:58:32 +00:00
cgd
f11e7e33fe
use chip headers in /dev/ic
1995-01-29 02:58:20 +00:00
jtc
830a53e394
ANSI says that <stdarg.h>'s va_end macro must expand to a void expression.
...
For consistancy, I'm changing <varargs.h> too.
1995-01-28 01:51:46 +00:00
mycroft
dcfbdf711d
Clean up deleted files.
1995-01-27 06:06:02 +00:00
cgd
b9af116931
move eisa stuff to /sys/dev
1995-01-27 06:06:00 +00:00
cgd
a4f53186e8
move mi pci files to /sys/dev
1995-01-27 05:46:41 +00:00
mycroft
38c309142a
Clean up deleted files.
1995-01-27 05:46:40 +00:00
cgd
249527c4f1
move mi pci files to /sys/dev
1995-01-27 05:46:39 +00:00
mycroft
7b87637bb3
Rearrange struct reg to match what the rest of the world expects.
1995-01-26 18:12:03 +00:00
mycroft
c5d5ca8150
Don't check the control port at all; too unreliable.
1995-01-26 07:35:49 +00:00
mycroft
431ccddc77
Remove redundant assignments.
1995-01-26 06:35:42 +00:00
mycroft
087a52f4f5
Various cleanup.
1995-01-26 06:23:02 +00:00
mycroft
133ff42fa2
Introduce a `npx_softc' to make this driver more normal. Some other minor
...
cleanup.
1995-01-26 06:14:14 +00:00
mycroft
c0e2bd26f1
Initialize the new xmit state correctly. From Rafal Boni.
1995-01-26 04:13:23 +00:00
cgd
015dc20943
assign disk number for vnd. oops; thought i did this yesterday(?)
1995-01-25 23:41:04 +00:00
cgd
b56a5f27d4
add 'maxpartitions' keyword as first 'intesting' thing in the file, to
...
facilitate the solution of config.new's hardcoded partition number
problems.
1995-01-25 20:45:33 +00:00
cgd
2a06f1bc2d
vn -> vnd renaming, for consistency.
1995-01-25 04:58:12 +00:00
cgd
2ef4ca1f3d
vn -> vnd renaming, for consistency
1995-01-25 04:48:07 +00:00
christos
cf1d6b55f3
Modify the floating point part of our context to reflect reality.
1995-01-25 04:18:52 +00:00
cgd
f2b2aeb217
serial console
1995-01-25 00:10:35 +00:00
mycroft
57f2c598c7
Various changes from Rafal Boni to improve performance and reliability. Also,
...
clean up the formatting a little more.
1995-01-23 04:50:08 +00:00
mycroft
01ce8db055
Fix the problem with identifying cards on warm boot. Partly from Greg Hudson.
1995-01-22 07:37:28 +00:00
mycroft
3dddacd1ce
Rearrange tests so offline' has higher priority than
out of paper'.
1995-01-22 00:12:39 +00:00
jtc
9540190d45
This file, which will be included by <sys/cdefs.h>, will contain macros
...
such as __warn_references() and __weak_reference() which are actually
machine dependant. This will make it easier for ports that are being
bootstraped with ELF and ECOFF based toolchains.
This change also introduces a new macro, _C_LABEL(x). _C_LABEL expands
its argument, an identifier, to a character string of the identifier
name as it is represented in an object file.
For most ports, _C_LABEL(x) will expand to "_x", for ELF based ports
_C_LABEL(x) will expand to "x".
1995-01-19 01:38:36 +00:00
mycroft
c18d708d01
Note changes.
1995-01-18 18:10:39 +00:00
mycroft
02354ddc3c
Keep the sti/cli pairs completely inside {real,prot}_to_{prot,real}.
1995-01-18 17:50:50 +00:00
mycroft
4fabcbda57
Remove two useless instructions.
1995-01-18 17:34:18 +00:00
mycroft
799aaa55c3
Various cleanup:
...
Use the global version of asm.h.
Move `boot2' into the first sector.
Replace `ouraddr' with `ourseg'.
1995-01-18 17:28:13 +00:00
mycroft
7377f34093
Clean up deleted files.
1995-01-18 17:28:12 +00:00
mycroft
373ace5180
Various cleanup:
...
Use the global version of asm.h.
Move `boot2' into the first sector.
Replace `ouraddr' with `ourseg'.
1995-01-18 17:28:07 +00:00
mycroft
bb563c9eec
Do I/O through iobuf rather than address 0, where applicable. Avoid an extra
...
copy in devread().
1995-01-18 16:22:35 +00:00
mycroft
46adfb5ac4
Eliminate extra arguments to some functions.
1995-01-18 15:46:34 +00:00
mycroft
37a27b27ac
Minor change.
1995-01-18 15:42:30 +00:00
mycroft
2cc5da69ef
Minor rearrangement.
1995-01-18 15:09:55 +00:00
mycroft
68c1a35cd9
Initialize host_stat and target_stat properly.
1995-01-18 04:20:16 +00:00
mycroft
ef7e46cf77
24 more bytes...
1995-01-18 03:13:37 +00:00
mycroft
d5eea96416
Save another 80 bytes, and clean up the code a little.
1995-01-18 02:54:23 +00:00
mycroft
61f1304243
44 bytes smaller.
1995-01-18 01:54:25 +00:00
mycroft
48ab9c0f4b
Make the twiddler 32 bytes smaller, but still have it twirl.
1995-01-17 04:49:27 +00:00
mycroft
52f079131b
Incorporate recent changes from Wolfgang. Recognize the 815.
1995-01-16 21:48:35 +00:00
mycroft
9d591ad660
More updates to EISA stuff.
1995-01-16 12:23:47 +00:00
mycroft
4d9bd0fedf
Update EISA stuff.
1995-01-16 12:00:47 +00:00
mycroft
58828fe20e
For now, continue to treat EISA devices as ISA. Also, add boca.
1995-01-16 11:51:40 +00:00
mycroft
fcdbd2bd7b
Remove outdated comment.
1995-01-16 10:36:26 +00:00
mycroft
87b741e26f
Some general cleanup, and add support for serial terminals, `#ifdef SERIAL'.
1995-01-16 02:50:32 +00:00
mycroft
beb97d8b0a
Use getc(), not getchar().
1995-01-16 02:21:15 +00:00
mycroft
7e500c7455
Recode the input routine a bit. Handle DEL like backspace.
1995-01-16 02:19:09 +00:00
mycroft
746b390617
Faster version, by me.
1995-01-15 23:20:33 +00:00
cgd
8eb9e3f4db
trim it a bit to match reality. get completely rid of things not likely
...
to ever be wanted in this machine's kernel.
1995-01-15 10:04:21 +00:00
mycroft
1044df1576
Add some commentary to the previous.
1995-01-15 03:33:25 +00:00
mycroft
b08d9a004d
Fix slight oversight in previous.
1995-01-15 03:29:05 +00:00
mycroft
178fb5f48c
Oops. Correct asm() spec.
1995-01-15 02:19:12 +00:00
mycroft
1aace6baa6
Duplicate sigreturn() changes.
1995-01-15 02:12:14 +00:00
mycroft
70e588a0f1
Remove prototype of check_selectors().
1995-01-15 02:11:23 +00:00
mycroft
98fc96ea40
Add some commentary on the previous.
1995-01-15 01:15:04 +00:00
mycroft
ecef8fddfa
Remove PSL_USERCLR, and add a PSL_USERSTATIC. Change the bit descriptions to
...
more closely match the 386 manual. (Probably the mnemonics should be changed,
too.)
1995-01-15 00:57:50 +00:00
mycroft
c7c817b91a
sigreturn() and ptrace() security violations will now trap. Deal with those
...
traps by looking at the instruction stream and the stack to see if it looks
like we're returning to user mode, and if so pop to the hooks in locore.s.
This will fail in the case where a pop %ds or pop %es faults when returning
from a fast interrupt, but this should not be possible.
1995-01-15 00:55:25 +00:00
mycroft
3e8850eab2
Enable CR0_AM on 486s. (We already handled the fault.) This would be more
...
useful if it applied to the kernel.
Avoid btrl when checking AST flag.
Add hooks to recover from errors during any INTRFASTEXIT and simulate a user-
level protection fault.
1995-01-15 00:52:21 +00:00
mycroft
c26ad3af41
Cosmetic changes, and use db_printf() rather than printf().
1995-01-15 00:46:38 +00:00
mycroft
8476bee7b5
Do the eflags security check in a cheaper way. Just check that the privilege
...
level of the return cs is correct; don't check the other selectors. (Will
fault later if they are invalid.)
1995-01-15 00:44:19 +00:00
mycroft
da79b43eae
Move the existing frame pointer calculation into a separate helper function.
...
Eventually this should cause the child to be swapped in if necessary.
Do the eflags security check in cheaper way.
1995-01-15 00:42:01 +00:00
mycroft
a2dafd0821
Avoid using btrl, and check astpending before the return cs, because it's
...
faster and usually false.
1995-01-15 00:36:37 +00:00
mycroft
87d587e640
Simplify some sanity checks.
1995-01-13 14:46:44 +00:00
mycroft
4740006541
Oops.
1995-01-13 14:05:17 +00:00
mycroft
705f6e0337
*** empty log message ***
1995-01-13 13:19:34 +00:00
mycroft
1e5cd9212d
(Almost) allow sector sizes other than 512 bytes. Reduce some expensive operations.
1995-01-13 12:30:59 +00:00
mycroft
7bb384b66c
Avoid some repeated multiplications.
1995-01-13 11:14:27 +00:00
mycroft
7650bd97fc
Always boundary check I/O.
1995-01-13 10:46:32 +00:00
mycroft
c541b630fc
Add a sc_bcount, similar to wd.c.
1995-01-13 10:35:58 +00:00
mycroft
a0303980c2
Calculate b_cylin correctly for different block sizes.
1995-01-13 10:30:08 +00:00
mycroft
0033c975c6
Fix another bug in the DMA code.
1995-01-13 10:22:58 +00:00
mycroft
fda9731199
Further cleanup. Back out part of the previous; it's the device's
...
responsibility to check for partial blocks.
1995-01-13 09:57:39 +00:00
mycroft
4abdb375bc
Minor rearrangement.
1995-01-13 09:40:21 +00:00
mycroft
c2bc310a37
Change the way sc_skip is used. Fix a bug in the (incomplete) DMA code. Add a
...
new sc_blkno (which will be useful later).
1995-01-13 08:58:16 +00:00
mycroft
da7d74e3dc
Fix typos.
1995-01-13 08:37:25 +00:00
mycroft
1f758ca55c
Fix typo.
1995-01-13 08:31:46 +00:00
mycroft
ca84c10497
Only allow opening one density at a time.
1995-01-13 08:29:25 +00:00
mycroft
04a1fc8816
Change the way b_cylin and sc_track (now sc_cylin) are used slightly.
...
If transfer goes past end of disk, truncate it.
1995-01-13 07:57:01 +00:00