summaryrefslogtreecommitdiffstats
path: root/sys/alpha
Commit message (Collapse)AuthorAgeFilesLines
* Minor white-space and comment cleanups. No functional change.nate1997-01-051-3/+10
| | | | Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
* Synchronize with the RELENG_2_2 branch.asami1996-12-041-9/+1
| | | | | | Definite 2.2 candidate. Submitted by: The FreeBSD(98) Development Team
* Add IP_OPTIONS and the multicast-related setsockopts to thefenner1996-12-031-1/+9
| | | | | | | | | | | list of IP setsockopts the Linux emulator recognizes. Explicitly disallow IP_HDRINCL since Linux's handling of raw output is different than BSD's. Closes PR#kern/2111. Submitted by: y-nakaga@ccs.mt.nec.co.jp (Yoshihisa NAKAGAWA)
* Alot of fixes from kazu:sos1996-12-011-14/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. All the suggestions earlier made by Bruce: renaming some symbols, stricter error checking, removing redundant code, etc. 2. The `psm' driver preserves the default counter resolution and report rate, whatever they are after reset. (Based on reports and suggestion from Nate and Rob Bolin). 3. The `psm' driver now does not check the so-called sync. bit in the first byte of the data packet by default, so that the tapping feature of ALPUS GlidePoint works (based on reports from Louis Mamakos). I tested the code with ALPUS Desktop GlidePoint (M/N GP101) and found no problem; tapping worked. It appears ALPUS produces several models of GlidePoint. I hope the other models are OK too. The check code can still be activated by defining the PSM_CHECKSYNC option in the config file. (The bit checking slightly reduces, if not completely eliminates, weird mouse behavior cased by unsynchronized mouse data packets. It also helps us to detect if the mouse interrupt can ever be lost. But, well, if there are devices which cannot be supported this way...) 4. The `psm' driver does not include the protocol emulation code by default. The code can still be compiled in if the PSM_EMULATION option is specified in the config file. Louis Mamakos suggests the emulation code is putting too much in the kernel, and `moused' works well. I will think about this later and decide if the entire emulation code should be removed. 5. And, of course, the fix in `scprobe()' from Bruce to cure the UserConfig problem. My code in `kbdio.c' is slightly different from his patch, but has the same effect. There still is a possibility that `scprobe()' gets confused, if, for whatever reasons, the user holds down a key for very long time during the boot process. But we cannot cope with everything, can we? Submitted by: Kazutaka YOKOTA (yokota@zodiac.mech.utsunomiya-u.ac.jp)
* KNF'ify.nate1996-11-151-5/+11
|
* Finally a start at sharing the kdb controller routines betweensos1996-11-142-24/+92
| | | | | | | | | | | | | syscons and psm, curtesy Kazutaka Yokota with minor changes by me. This contains an update of the psm driver as well. This also fixes the breakage that I introduced to the psm driver by making syscons poll for keyboard events in the atempt to fix the hanging keyboard problem. It works perfectly for me, and I'd like to hear from all that have had keyboard/ps/2 mouse problems if this is the cure... Submitted by: Kazutaka YOKOTA (yokota@zodiac.mech.utsunomiya-u.ac.jp)
* Add audio mixer ioctls.smpatel1996-11-051-1/+19
| | | | Only writing to the mixer is implemented.
* Declare pointers to signal handling functions in full instead of asbde1996-10-251-3/+2
| | | | sig_t's so that <sys/signal.h> isn't a prerequisite.
* Prepare kernel to take advantage of "branded" ELF binaries.sos1996-10-161-5/+6
|
* Updated #includes to 4.4lite style.bde1996-10-151-2/+3
|
* Removed nested include of <sys/proc.h> from <vm/vm_object.h> and fixedbde1996-10-151-1/+2
| | | | | | | | | | the one place that depended on it. wakeup() is now prototyped in <sys/systm.h> so that it is normally visible. Added nested include of <sys/queue.h> in <vm/vm_object.h>. The queue macros are a more fundamental prerequisite for <vm/vm_object.h> than the wakeup prototype and previously happened to be included by namespace pollution from <sys/proc.h> or elsewhere.
* Fix a couble of nasties regarding mouse pointer and differentsos1996-09-301-1/+3
| | | | | | resolutions. Allow middle mouse button to be used for pasting. Also added the beginnings of support for a splash page.
* Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>:bde1996-09-211-7/+9
| | | | | | | | | | | | | - don't include <sys/ioctl.h> in any header. Include <sys/ioccom.h> instead. This was already done in 4.4Lite for the most important ioctl headers. Header spam currently increases kernel build times by 10-20%. There are more than 30000 #includes (not counting duplicates) for compiling LINT. - include <sys/types.h> if and only it is necessary to make the header almost self-sufficient (some ioctl headers still need structs from elsewhere). - uniformized idempotency ifdefs. Copied the style in the 4.4Lite ioctl headers.
* Change the way moused talk to syscons, now its only delivering mouseeventssos1996-06-251-7/+22
| | | | | | | | via an ioctl (MOUSE_ACTION). Fixed a couple of bugs (destructive cursor, uncut, jitter). Now applications can use the mouse via the MOUSE_MODE ioctl, its possible to have a signal sent on mouseevents, makeing an event loop in the application take over mouseevents.
* Some news for syscons (long overdue):sos1996-06-211-7/+11
| | | | | | | | Real support for a Textmode mousecursor, works by reprogramming the charset. Together with this support for cut&paste in text mode. To use it a userland daemon is needed (moused), which provides the interface to the various mice protokols. Bug fixes here and there, all known PR's closed by this update.
* Clean-up the new VM map procfs code, and also add support for executabledyson1996-06-181-1/+3
| | | | | format file "etype". It contains a description of the binary type for a process.
* The Great PC98 Merge.asami1996-06-141-1/+26
| | | | | | | | All new code is "#ifdef PC98"ed so this should make no difference to PC/AT (and its clones) users. Ok'd by: core Submitted by: FreeBSD(98) development team
* Clean up -Wunused warnings.gpalmer1996-06-121-2/+1
| | | | Reviewed by: bde
* Include <sys/buf.h> so that this does't blow up with B_WRITE undefined.jkh1996-05-011-1/+2
| | | | | I fully updated my src tree and did a `make includes' in /usr/src before trying this fix, so I can only presume that Bruce missed something.
* Update the linux_sendsig() handler to the new type of the 4thpeter1996-03-171-4/+4
| | | | | arg, now unsigned long. This was (harmlessly on i386) conflicting with the recent 4.4Lite2 changes.
* Move the elf linux_interp structure from the lkm stub to here so that itpeter1996-03-101-1/+18
| | | | | can be referenced when the linux emulator is statically compiled into the kernel.
* Implement rudumentry support for the linux TIOC[SG]ETSERIAL ioctl's.peter1996-03-101-1/+35
| | | | | | | | To complete this, some extra state has to be kept somewhere so that the B38400 flag in Linux can be correctly translated to/from either 38400, 57600 or 115200. Submitted by: Robert Sanders <rsanders@mindspring.com>
* First attempt at FreeBSD & Linux ELF support.sos1996-03-102-65/+115
| | | | | | | | | | | | | | | | | Compile and link a new kernel, that will give native ELF support, and provide the hooks for other ELF interpreters as well. To make native ELF binaries use John Polstras elf-kit-1.0.1.. For the time being also use his ld-elf.so.1 and put it in /usr/libexec. The Linux emulator has been enhanced to also run ELF binaries, it is however in its very first incarnation. Just get some Linux ELF libs (Slackware-3.0) and put them in the prober place (/compat/linux/...). I've ben able to run all the Slackware-3.0 binaries I've tried so far. (No it won't run quake yet :)
* Oops.. I was wrong about the change to sigsuspend. The library interface ispeter1996-03-041-3/+4
| | | | | | different to the syscall under Linux, back this out. Use correct arg type for linux_utime()
* Add support for the old-style Linux termio (not termios) TCGETA etc.peter1996-03-031-2/+4
| | | | | | | | | Also, LINUX_POSIX_VDISABLE is \0, FreeBSD's is 0xff. Convert between them. This enables some more programs to run, including the Livingston Portmaster utilities (PMtools). Submitted by: Robert Sanders <rsanders@mindspring.com>
* Minor touch-up... make two functions static, and add missing $Id$peter1996-03-021-0/+1
|
* Mega-commit for Linux emulator update.. This has been stress tested underpeter1996-03-024-67/+480
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | netscape-2.0 for Linux running all the Java stuff. The scrollbars are now working, at least on my machine. (whew! :-) I'm uncomfortable with the size of this commit, but it's too inter-dependant to easily seperate out. The main changes: COMPAT_LINUX is *GONE*. Most of the code has been moved out of the i386 machine dependent section into the linux emulator itself. The int 0x80 syscall code was almost identical to the lcall 7,0 code and a minor tweak allows them to both be used with the same C code. All kernels can now just modload the lkm and it'll DTRT without having to rebuild the kernel first. Like IBCS2, you can statically compile it in with "options LINUX". A pile of new syscalls implemented, including getdents(), llseek(), readv(), writev(), msync(), personality(). The Linux-ELF libraries want to use some of these. linux_select() now obeys Linux semantics, ie: returns the time remaining of the timeout value rather than leaving it the original value. Quite a few bugs removed, including incorrect arguments being used in syscalls.. eg: mixups between passing the sigset as an int, vs passing it as a pointer and doing a copyin(), missing return values, unhandled cases, SIOC* ioctls, etc. The build for the code has changed. i386/conf/files now knows how to build linux_genassym and generate linux_assym.h on the fly. Supporting changes elsewhere in the kernel: The user-mode signal trampoline has moved from the U area to immediately below the top of the stack (below PS_STRINGS). This allows the different binary emulations to have their own signal trampoline code (which gets rid of the hardwired syscall 103 (sigreturn on BSD, syslog on Linux)) and so that the emulator can provide the exact "struct sigcontext *" argument to the program's signal handlers. The sigstack's "ss_flags" now uses SS_DISABLE and SS_ONSTACK flags, which have the same values as the re-used SA_DISABLE and SA_ONSTACK which are intended for sigaction only. This enables the support of a SA_RESETHAND flag to sigaction to implement the gross SYSV and Linux SA_ONESHOT signal semantics where the signal handler is reset when it's triggered. makesyscalls.sh no longer appends the struct sysentvec on the end of the generated init_sysent.c code. It's a lot saner to have it in a seperate file rather than trying to update the structure inside the awk script. :-) At exec time, the dozen bytes or so of signal trampoline code are copied to the top of the user's stack, rather than obtaining the trampoline code the old way by getting a clone of the parent's user area. This allows Linux and native binaries to freely exec each other without getting trampolines mixed up.
* A new syscalls table for the Linux emulator. This is processed bypeter1996-03-022-0/+221
| | | | makesyscalls.sh to generate the rest of the tables.
* Fix a bunch of spelling errors in the comment fields ofmpp1996-01-302-6/+6
| | | | a bunch of system include files.
* My first shot at get sound to work on the emulator.sos1995-12-291-1/+19
| | | | | Inspired by the work Amancio Hasty has done, but implemented somewhat differently.
* Completed function declarations and added prototypes.bde1995-11-222-7/+13
| | | | | | Removed some unnecessary #includes. Fixed warnings about nested externs.
* First incarnation of our Linux emulator or rather compatibility code.sos1995-06-252-0/+722
| | | | | | | | | | | | This first shot only incorporaties so much functionality that DOOM can run (the X version), signal handling is VERY weak, so is many other things. But it meets my milestone number one (you guessed it - running DOOM). Uses /compat/linux as prefix for loading shared libs, so it won't conflict with our own libs. Kernel must be compiled with "options COMPAT_LINUX" for this to work.
* Remove trailing whitespace.rgrimes1995-05-301-5/+5
|
* Third round in syscons update.sos1995-01-281-14/+14
| | | | | | | | | | | | | | Display update method changed, now allways write in memory buffer, then periodically update physical display. Speed improvements (now > 5 times faster than the old syscons). History now circular buffer, with changeable size. History scroll by up/down line, up/down page, home and end. Backtab proberly implemented. Now space for 96 function keys, 63 allocated standard, default now SCO/SYSV compat again as in the old days. New keyboard definition files ~share/syscons/keymaps/* Misc fixes for old "hacks" that broke SCO/SYSV compat. More that I forgot before writing this...
* DOn't use hardcode values for L_FN & L_SCRache1995-01-261-3/+5
|
* Increase NUM_FKEYS to 65ache1995-01-261-2/+2
|
* Second round in syscons update:sos1995-01-201-8/+16
| | | | | | | Support for pseudo graphic mouse cursor (not complete yet) Some cheap speed fixes. More cleanups. Call ourselves scxxxx finally.
* First round in syscons update. Several new features has been added:sos1995-01-121-14/+28
| | | | | | | | | | | | | | No kernel config options anymore besides keyboard language layout. Virtual consoles are now dynamically allocated, no NCONS anymore. Software cursor blinking/nonblinking. Visual bell for laptops (don't beep at meetings :-). Cursor/bell default type setable via config "flags" instead of as defines. Cursor/bell type setable via ioctl's. New video modes 80x30 80x60 for some laptops, and those with multisync monitors. Scroll-lock history (length currently fixed at 100 lines). Lots of cleanups, some only commented out for now (will goaway soon). Support for new features in vidcontrol/kbdcontrol. Updated manpages.
* Added more SCO compat ioctl's.sos1994-10-171-3/+6
|
* Laptop Advanced Power Management support by HOSOKAWA Tatsumi.dg1994-10-011-1/+2
| | | | Submitted by: HOSOKAWA Tatsumi
* Changed header sligthly.sos1994-09-291-2/+3
|
* Added support for many more videomodes, including graphic modes up tilsos1994-09-151-14/+93
| | | | | | | | | | | 320x200 256col VGA. This is nessesary for the iBCS stuff to work right. (And we get the benefit of more video modes). Uses the videocard BIOS to optain mode tables. Added a "green" saver, switches off the syncs for "green" monitors. Reviewed by: Submitted by: Obtained from:
* Added the psm driver from 1.1.5.dfr1994-09-091-0/+44
| | | | Submitted by: dfr
* Updated to latest version from 1.1.5.1+sos1994-08-171-11/+18
| | | | | Reviewed by: Submitted by:
* Fix arguments of CONS_GETINFOache1994-04-071-2/+2
|
* Make the screen savers runtime switchable. Everybody wants achmr1994-02-041-1/+12
| | | | | different default saver, and the size increase in the kernel is minimal ( < 2.5K ).
* From: sos@login.dkuug.dk (S|ren Schmidt)nate1994-02-011-4/+5
| | | | | | | | | | | | | | | | | | | | Subject: syscons-1.3 Date: Sat, 29 Jan 94 23:33:50 MET But here is the (hopefully) final syscons-1.3.... .... I've changed sgetc so it works as the pccons parallel (it now uses a scgetc internally). [ There were a couple changes that Bruce Evans sent me that were applied to this version along with some changes that S'ren didn't incorporate into the final version. There will be only minor changes if anything from this version to his final release. ]
* Put back the $Id$ stringrgrimes1993-10-281-0/+2
|
* This is syscons version 1.1jkh1993-10-281-34/+39
|
* Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, somergrimes1993-10-163-0/+6
| | | | minor cleanup. Added $Id$ to files that did not have any version info, etc
OpenPOWER on IntegriCloud