aboutsummaryrefslogtreecommitdiff
path: root/sys/alpha
Commit message (Collapse)AuthorAgeFilesLines
* Reserve a major number for use by the Iprobe device driver.Andrew Gallatin1999-01-181-1/+2
| | | | | | | | | | | | | | | | Iprobe is an alpha-only system profiling suite which I'm porting from Linux/alpha to FreeBSD. Iprobe works by using the hardware profiling support built into alpha cpus. In a nutshell, what Iprobe does is to setup the alpha performance counters to sample the pc at a fairly high rate & dumps those pc samples out to user space. Then some code runs to map the sampled PCs to functions. You get a bit more than that (like the PSL word, so you can tell if you're in the kernel or userland, what the ipl is, etc). Notes: svn path=/head/; revision=42812
* Added support for the DEC EB64PLUS systype. (Part III)Andrew Gallatin1999-01-184-5/+10
| | | | | | | | | | | | o Add the EB64PLUS systype into the kernel configuration files and add it to the GENERIC kernel o Correct mcclock_isa.c's dependence on cia, it should depend on isa. This will allow avanti and eb64+ kernels to be built without the cia chipset support code. Notes: svn path=/head/; revision=42811
* Added support for the DEC EB64PLUS systype. (part II)Andrew Gallatin1999-01-181-0/+187
| | | | | | | | | The DEC EB64PLUS support code. Based on NetBSD's dec_eb64plus.c,v 1.15 Submitted by: Wilko Bulte <wilko@yedi.iaf.nl> Notes: svn path=/head/; revision=42810
* Added support for the DEC EB64PLUS systype. (part I)Andrew Gallatin1999-01-182-5/+114
| | | | | | | | | | | | | | | | The new file pci_eb64plus_intr.s deals with the interrupt hardware on the EB64PLUS and was obtained from NetBSD with the NetBSD copyright intact The apecs chipset support code was altered to allow routing interrupts through pci if we're not running on an avanti. Avanti's route all interrupts through isa. Tested by: Wilko Bulte <wilko@yedi.iaf.nl> Partially reviewed by: dfr Notes: svn path=/head/; revision=42809
* Minor cleanup; no more references to LKM's.Peter Wemm1999-01-171-4/+1
| | | | Notes: svn path=/head/; revision=42766
* Oops, add the NMBCLUSTERS initialiser for the Alpha as well.Mike Smith1999-01-151-1/+7
| | | | Notes: svn path=/head/; revision=42707
* dftp -> dtfp Get it right...Mike Smith1999-01-141-2/+2
| | | | Notes: svn path=/head/; revision=42644
* Assign cdev major 84 to 'dftp' for "Louis A. Mamakos" <louie@UU.NET>Mike Smith1999-01-131-2/+2
| | | | Notes: svn path=/head/; revision=42618
* A couple more osf/1 compat tweaks.Doug Rabson1999-01-122-6/+13
| | | | | | | Submitted by: Andrew Gallatin <gallatin@cs.duke.edu> Notes: svn path=/head/; revision=42565
* Add hooks for the Iprobe kernel profiler.Doug Rabson1999-01-103-3/+34
| | | | | | | Submitted by: Andrew Gallatin <gallatin@cs.duke.edu> Notes: svn path=/head/; revision=42476
* Switch to using ".So" as the extension for PIC object files ratherJohn Polstra1999-01-091-4/+4
| | | | | | | | | | | than ".so". The old extension conflicted with well-established naming conventions for dynamically loadable modules. The "clean" targets continue to remove ".so" files too, to deal with old systems. Notes: svn path=/head/; revision=42450
* Add (but don't activate) code for a special VM option to makeJulian Elischer1999-01-061-20/+3
| | | | | | | | | | | | | | | | downward growing stacks more general. Add (but don't activate) code to use the new stack facility when running threads, (specifically the linux threads support). This allows people to use both linux compiled linuxthreads, and also the native FreeBSD linux-threads port. The code is conditional on VM_STACK. Not using this will produce the old heavily tested system. Submitted by: Richard Seaman <dick@tar.com> Notes: svn path=/head/; revision=42360
* Assign CDEV 112 to the keyboard driver.Kazutaka YOKOTA1999-01-061-1/+2
| | | | Notes: svn path=/head/; revision=42334
* Fix fubyte to actually return the correct value (it was always returningDoug Rabson1999-01-051-2/+1
| | | | | | | | zero). This caused device reads to corrupt the first byte of the page being read into (the cause of frozen keyboards in sysinstall). Notes: svn path=/head/; revision=42314
* Correct typo in macro name.Dag-Erling Smørgrav1999-01-011-2/+2
| | | | Notes: svn path=/head/; revision=42235
* Commit patch inSøren Schmidt1998-12-301-1/+3
| | | | | | | | PR: 9232 Submitted by: marcel@scc.nl <Marcel Moolenaar> Notes: svn path=/head/; revision=42186
* Commit #1 of:Søren Schmidt1998-12-301-3/+5
| | | | | | | PR: 9235 Notes: svn path=/head/; revision=42184
* Various changes to support OSF1 emulation:Doug Rabson1998-12-305-22/+49
| | | | | | | | | | | | | | * Move the user stack from VM_MAXUSER_ADDRESS to a place below the 32bit boundary (needed to support 32bit OSF programs). This should also save one pagetable per process. * Add cvtqlsv to the set of instructions handled by the floating point software completion code. * Disable all floating point exceptions by default. * A minor change to execve to allow the OSF1 image activator to support dynamic loading. Notes: svn path=/head/; revision=42175
* Add fxp0. It seems to be Alpha-OK, although I don't have a card to test.Gary Palmer1998-12-292-2/+4
| | | | Notes: svn path=/head/; revision=42141
* reserve 110 for ses (SCSI Environmental Services) driverMatt Jacob1998-12-291-1/+2
| | | | Notes: svn path=/head/; revision=42137
* Fix some 64bit truncation problems which crept into SYSCTL_LONG() with theDoug Rabson1998-12-271-8/+5
| | | | | | | | | | | last cleanup. Since the oid_arg2 field of struct sysctl_oid is not wide enough to hold a long, the SYSCTL_LONG() macro has been modified to only support exporting long variables by pointer instead of by value. Reviewed by: bde Notes: svn path=/head/; revision=42095
* Not quite right for the goal of using swi_register, but on the way there.Matt Jacob1998-12-241-4/+2
| | | | Notes: svn path=/head/; revision=42039
* Implement fpsetmask() and other fp*() functions. Programs should useDoug Rabson1998-12-236-15/+117
| | | | | | | | | | | | | #include <ieeefp.h> to access these functions instead of the i386 specific #include <machine/floatingpoint.h> Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp> Notes: svn path=/head/; revision=42029
* Fix NOIMPL -> NOPROTO as per bruce.Søren Schmidt1998-12-221-2/+2
| | | | Notes: svn path=/head/; revision=41997
* Syscall 168 (poll) is not implemented in the Linux emulator. ThisSøren Schmidt1998-12-211-2/+3
| | | | | | | | | | syscall is used by Oracle. PR: 9154 Submitted by: Marcel Moolenaar <marcel@scc.nl> Notes: svn path=/head/; revision=41987
* Add LDGP(pv) to suword, subyte, fuword, fubyte so that they can be calledDoug Rabson1998-12-201-1/+5
| | | | | | | from kernel modules. Notes: svn path=/head/; revision=41955
* Make it compile again.Søren Schmidt1998-12-191-5/+5
| | | | | | | | | I have no idea if the new stuff works though. Broken by: Julian Notes: svn path=/head/; revision=41942
* Reviewed by: Luoqi Chen, Jordan HubbardJulian Elischer1998-12-194-12/+27
| | | | | | | | | | | | | | | Submitted by: "Richard Seaman, Jr." <lists@tar.com> Obtained from: linux :-) Code to allow Linux Threads to run under FreeBSD. By default not enabled This code is dependent on the conditional COMPAT_LINUX_THREADS (suggested by Garret) This is not yet a 'real' option but will be within some number of hours. Notes: svn path=/head/; revision=41931
* Little reorganization:Dmitrij Tejblum1998-12-192-25/+20
| | | | | | | | | | | | | - created internal names for fixed-size integral types, like __int32_t. They will be used to make several headers self-sufficient. - <stdlib.h> don't include <machine/types.h> anymore. - created <sys/inttypes.h>, which can be used as <inttypes.h>. - declaration of uoff_t and ufs_daddr_t moved to <sys/types.h>. Reviewed by: bde Notes: svn path=/head/; revision=41927
* Move some compile flags from the kernel makefile to bsd.kern.mk so thatDoug Rabson1998-12-171-2/+2
| | | | | | | | | kernel modules are built with the right flags. Suggested by: Andrew Gallatin <gallatin@cs.duke.edu> Notes: svn path=/head/; revision=41911
* Removed the cast to a pointer in the definition of PS_STRINGS andBruce Evans1998-12-162-6/+5
| | | | | | | | | | adjusted related casts to match (only in the kernel in this commit). The pointer was only wanted in one place in kern_exec.c. Applications should use the kern.ps_strings sysctl instead of PS_STRINGS, so they shouldn't notice this change. Notes: svn path=/head/; revision=41871
* Removed bogus casts of USRSTACK and/or the other operand in binaryBruce Evans1998-12-162-6/+6
| | | | | | | expressions involving USRSTACK. Notes: svn path=/head/; revision=41868
* Added 3 new errno values, requred by various standards: EOVERFLOW,Dmitrij Tejblum1998-12-141-5/+5
| | | | | | | | | | ECANCELED, EILSEQ. Fixed ibcs2 and especially linux EIDRM and ENOMSG errno mapping. Reviewed by: Dan Nelson <dnelson@emsphone.com> Notes: svn path=/head/; revision=41796
* Get rid of CTLTYPE_OPAQUE in a SYSCTL_OPAQUE - it is added my theEivind Eklund1998-12-091-2/+2
| | | | | | | SYSCTL_OPAQUE macro. Notes: svn path=/head/; revision=41612
* If there is no .depends file, use the standard ad-hoc way of ensuringWarner Losh1998-12-071-1/+5
| | | | | | | | | | | | | | | that the generated files are generated before any of the object files. Also minor cleanup of dependencies in conf/files that I bogusly added before. This should fix the requirement that make depend be done starting from a clean config directory. If you don't have a clean directory, make depend is still required if you want the proper .o's to be recompiled. Reviewed by: bde Notes: svn path=/head/; revision=41592
* fix warning messages from previous deltaMatt Jacob1998-12-061-3/+3
| | | | Notes: svn path=/head/; revision=41551
* Fix it so that it works on an eb164 when you have a serial console on com1.Matt Jacob1998-12-051-1/+7
| | | | | | | Obtained from:gallatin@freebsd.org Notes: svn path=/head/; revision=41544
* Examine all occurrences of sprintf(), strcat(), and str[n]cpy()Archie Cobbs1998-12-0410-28/+29
| | | | | | | | | | | | | | | | | for possible buffer overflow problems. Replaced most sprintf()'s with snprintf(); for others cases, added terminating NUL bytes where appropriate, replaced constants like "16" with sizeof(), etc. These changes include several bug fixes, but most changes are for maintainability's sake. Any instance where it wasn't "immediately obvious" that a buffer overflow could not occur was made safer. Reviewed by: Bruce Evans <bde@zeta.org.au> Reviewed by: Matthew Dillon <dillon@apollo.backplane.com> Reviewed by: Mike Spengler <mks@networkcs.com> Notes: svn path=/head/; revision=41514
* Implement 'software completion' for floating point arithmetic. On theDoug Rabson1998-12-0410-14/+2622
| | | | | | | | | | | | | | | | | | | | | alpha, operations involving non-finite numbers or denormalised numbers or operations which should generate such numbers will cause an arithmetic exception. For programs which follow some strict code generation rules, the kernel trap handler can then 'complete' the operation by emulating the faulting instruction. To use software completion, a program must be compiled with the arguments '-mtrap-precision=i' and '-mfp-trap-mode=su' or '-mfp-trap-mode=sui'. Programs compiled in this way can use non-finite and denormalised numbers at the expense of slightly less efficient code generation of floating point instructions. Programs not compiled with these options will receive a SIGFPE signal when non-finite or denormalised numbers are used or generated. Reviewed by: John Polstra <jdp@polstra.com> Notes: svn path=/head/; revision=41499
* Restore the user HAE all the time, not just when returning to usermode.Doug Rabson1998-12-021-3/+5
| | | | | | | | | This closes a very small window where the use HAE might not be restored at all. This only happens when switching to a process which has used the HAE. Notes: svn path=/head/; revision=41456
* Enable BWX i/o access. I disabled it by mistake with the last commit.Doug Rabson1998-12-021-2/+2
| | | | | | | Pointed out by: Andrew Gallatin <gallatin@cs.duke.edu> Notes: svn path=/head/; revision=41455
* Add support for 'vmstat -i'.Doug Rabson1998-11-286-19/+120
| | | | | | | | Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp> Obtained from: NetBSD Notes: svn path=/head/; revision=41382
* Port top to the alpha.Doug Rabson1998-11-251-1/+3
| | | | | | | Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp> Notes: svn path=/head/; revision=41325
* Oops, I forgot to update this file when I changed moused recently.Kazutaka YOKOTA1998-11-221-1/+3
| | | | Notes: svn path=/head/; revision=41290
* Fix things so that pci interrupts can be registered correctly on apecsDoug Rabson1998-11-182-8/+17
| | | | | | | | | and lca machines (which route PCI interrupts through the ISA PIC). Reviewed by: dima Notes: svn path=/head/; revision=41247
* Add sc_traparg_a0, sc_traparg_a1 and sc_traparg_a2 to the sigcontextDoug Rabson1998-11-186-40/+65
| | | | | | | | | | structure for the alpha. These give extra information about some signals (such as SIGSEGV) and should be compatible with Digital Unix. Submitted by: jdp Notes: svn path=/head/; revision=41246
* Remove -U__NetBSD__Dima Ruban1998-11-181-2/+2
| | | | Notes: svn path=/head/; revision=41245
* Definitions for alpha specific device resources.Doug Rabson1998-11-171-0/+44
| | | | Notes: svn path=/head/; revision=41207
* Definitions for alpha specific system calls.Doug Rabson1998-11-171-0/+54
| | | | Notes: svn path=/head/; revision=41206
* * Add hooks to allow the X server to access I/O ports and memory.Doug Rabson1998-11-1519-187/+838
| | | | | | | | | | | | * Update drivers to the latest version of the bus interface. The ISA drivers' use of the new resource api is minimal. Garrett has some much cleaner drivers which should be more easily shared between i386 and alpha. This has only been tested on cia based machines. It should work on lca and apecs but I might have broken something. Notes: svn path=/head/; revision=41181