Commit Graph

2103 Commits

Author SHA1 Message Date
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