summaryrefslogtreecommitdiffstats
path: root/sys/alpha/include
Commit message (Collapse)AuthorAgeFilesLines
* Add support for SYS_RES_DENSE and SYS_RES_BWX resource types. These aredfr1999-07-281-5/+7
| | | | | | | | | equivalent to SYS_RES_MEMORY for x86 but for alpha, the rman_get_virtual() address of the resource is initialised to point into either dense-mapped or bwx-mapped space respectively, allowing direct memory pointers to be used to device memory. Reviewed by: Andrew Gallatin <gallatin@cs.duke.edu>
* * Restore register correctly.simokawa1999-07-162-7/+27
| | | | * Add missing bits for profiling.
* Improve Logitech MouseMan+ protocol support.yokota1999-07-121-1/+4
|
* Add in dbregs stubs that a committer for changes on the i386 ought to have done.mjacob1999-07-091-1/+8
| | | | PR: 12579
* Improve compatibility with other systems by changing the defaultimp1999-07-031-1/+10
| | | | | | | | | | | | | | | | | | | | | behavior slightly. If machine/bus.h is included, but neither bus_memio.h nor bus_pio.h are included, then behave as if both were included. This won't change existing drivers, all of which include one or more of bus_{p,mem}io.h, but will allow drivers from other systems to come over with fewer changes. I freely admit that this might not be optimal for some drivers, but those drivers can be optimized for FreeBSD after the initial bringup happens. Without the change, there is a bug that preclude drivers from compiling with strange warning/errors. I've been running this here for a while now w/o ill effects. Reviewed by: gibbs Not objected to by: bde, arch@ list.
* Add alpha_platform_setup_ide_intr() and alpha_platform_assign_pciintr()peter1999-07-011-1/+6
| | | | prototypes.
* Declare busdma_swi() like on i386 version.peter1999-07-011-1/+2
|
* The second phase of syscons reorganization.yokota1999-06-222-634/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Split syscons source code into manageable chunks and reorganize some of complicated functions. - Many static variables are moved to the softc structure. - Added a new key function, PREV. When this key is pressed, the vty immediately before the current vty will become foreground. Analogue to PREV, which is usually assigned to the PrntScrn key. PR: kern/10113 Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de> - Modified the kernel console input function sccngetc() so that it handles function keys properly. - Reorganized the screen update routine. - VT switching code is reorganized. It now should be slightly more robust than before. - Added the DEVICE_RESUME function so that syscons no longer hooks the APM resume event directly. - New kernel configuration options: SC_NO_CUTPASTE, SC_NO_FONT_LOADING, SC_NO_HISTORY and SC_NO_SYSMOUSE. Various parts of syscons can be omitted so that the kernel size is reduced. SC_PIXEL_MODE Made the VESA 800x600 mode an option, rather than a standard part of syscons. SC_DISABLE_DDBKEY Disables the `debug' key combination. SC_ALT_MOUSE_IMAGE Inverse the character cell at the mouse cursor position in the text console, rather than drawing an arrow on the screen. Submitted by: Nick Hibma (n_hibma@FreeBSD.ORG) SC_DFLT_FONT makeoptions "SC_DFLT_FONT=_font_name_" Include the named font as the default font of syscons. 16-line, 14-line and 8-line font data will be compiled in. This option replaces the existing STD8X16FONT option, which loads 16-line font data only. - The VGA driver is split into /sys/dev/fb/vga.c and /sys/isa/vga_isa.c. - The video driver provides a set of ioctl commands to manipulate the frame buffer. - New kernel configuration option: VGA_WIDTH90 Enables 90 column modes: 90x25, 90x30, 90x43, 90x50, 90x60. These modes are mot always supported by the video card. PR: i386/7510 Submitted by: kbyanc@freedomnet.com and alexv@sui.gda.itesm.mx. - The header file machine/console.h is reorganized; its contents is now split into sys/fbio.h, sys/kbio.h (a new file) and sys/consio.h (another new file). machine/console.h is still maintained for compatibility reasons. - Kernel console selection/installation routines are fixed and slightly rebumped so that it should now be possible to switch between the interanl kernel console (sc or vt) and a remote kernel console (sio) again, as it was in 2.x, 3.0 and 3.1. - Screen savers and splash screen decoders Because of the header file reorganization described above, screen savers and splash screen decoders are slightly modified. After this update, /sys/modules/syscons/saver.h is no longer necessary and is removed.
* * Implement ISA dma (only for CIA now but more chipsets to follow).dfr1999-06-054-4/+186
| | | | * Port the fd driver to alpha.
* Add support for the DEC_ST6600 family of alphas. This includes thegallatin1999-05-261-0/+1
| | | | | | | | | | | | | Compaq XP1000, AlphaServer DS20, AlphaServer DS10, and DP264 This has been tested *only* on XP1000's. I'll be interested to hear from owners of other types of DEC_ST6600 alphas. I'd like to thank Don Rice of Compaq for providing the documentation required to support this platform on FreeBSD. I'd also like to thank Doug Rabson for newbus, and for helping me get a multiple hoses working with newbus. Reviewed by: Doug Rabson <dfr@nlsystems.com>
* Allow chipset drivers to specify the direct-mapped DMA window's mask ingallatin1999-05-261-1/+9
| | | | | | | | | | preparation for tsunami support. Previous chipsets' direct-mapped DMA mask was always 1024*1024*1024. The Tsunami chipset needs it to be 2*1024*1024*1024 These changes should not affect the i386 port Reviewed by: Doug Rabson <dfr@nlsystems.com>
* Add support for multiple PCI "hoses" used on various alpha platforms.gallatin1999-05-201-7/+7
| | | | | | | | | The specific intent of this commit is to pave the way for importing Compaq XP1000 support. These changes should not affect the i386 port. Reviewed by: Doug Rabson <dfr@nlsystems.com> (actually, he walked me through most of it & deserves more than reviewd-by credit )
* Moved cpu_set_fork_handler's prototype from <machine/cpu.h> to <sys/proc.h>.dt1999-04-231-2/+1
| | | | Suggested by: bde
* Added consts to cpu_set_fork_handler prototype. (Follow i386 version.)dt1999-04-201-2/+2
|
* alpha/include/param.h: #define NCPUS 1dt1999-04-202-7/+4
| | | | | | | alpha/include/lock.h: remove nop simplelock macros, which are defined in <sys/lock.h> if NCPUS == 1. As a result, NULL_SIMPLELOCK is defined, and a few warnings removed.
* Bring the 'new-bus' to the i386. This extensively changes the way thepeter1999-04-163-9/+37
| | | | | | | | | | | | | | | | | | i386 platform boots, it is no longer ISA-centric, and is fully dynamic. Most old drivers compile and run without modification via 'compatability shims' to enable a smoother transition. eisa, isapnp and pccard* are not yet using the new resource manager. Once fully converted, all drivers will be loadable, including PCI and ISA. (Some other changes appear to have snuck in, including a port of Soren's ATA driver to the Alpha. Soren, back this out if you need to.) This is a checkpoint of work-in-progress, but is quite functional. The bulk of the work was done over the last few years by Doug Rabson and Garrett Wollman. Approved by: core
* Don't define NMBCLUSTERS here.simokawa1999-04-111-8/+1
| | | | It will be defined as appropriate value depending on maxusers.
* Restore support for executing BSD/OS binaries on the i386 by passingjdp1999-04-031-2/+2
| | | | | | | | the address of the ps_strings structure to the process via %ebx. For other kinds of binaries, %ebx is still zeroed as before. Submitted by: Thomas Stephens <tas@stephens.org> Reviewed by: jdp
* Remove trigraph.dfr1999-03-281-2/+2
|
* Keyboard driver update in preparation for the USB keyboard driver.yokota1999-03-101-2/+4
| | | | | | | | | | | | | | | | | | | | | | | - Refined internal interface in keyboard drivers so that: 1. the side effect of device probe is kept minimal, 2. polling mode function is added, 3. and new ioctl and configuration options are added (see below). - Added new ioctl: KDSETREPEAT Set keyboard typematic rate. There has existed an ioctl command, KDSETRAD, for the same purpose. However, KDSETRAD is dependent on the AT keyboard. KDSETREPEAT provides more generic interface. KDSETRAD will still be supported in the atkbd driver. - Added new configuration options: ATKBD_DFLT_KEYMAP Specify a keymap to be used as the default, built-in keymap. (There has been undocumented options, DKKEYMAP, UKKEYMAP, GRKEYMAP, SWKEYMAP, RUKEYMAP, ESKEYMAP, and ISKEYMAP to set the default keymap. These options are now gone for good. The new option is more general.) KBD_DISABLE_KEYMAP_LOADING Don't allow the user to change the keymap.
* Don't define MACHINE, MACHINE_ARCH, _MACHINE or _MACHINE_ARCH ifimp1999-03-011-1/+9
| | | | | | | | | already defined. This allows for cross building to work because we need to lie to make to tell it to use the target names rather than the host names. This should have no effect on either architecture. I've confirmed that the intel build by make buildworld's for the past 3 months.
* Introduce machine-dependent macro pgtok() to convert page count to numberluoqi1999-02-191-1/+3
| | | | | of kilobytes. Its definition for each architecture could be optimized to avoid potential numerical overflows.
* Fix typo in comment.jdp1999-02-191-2/+2
|
* Change the load address of the ELF dynamic linker from "2L*MAXDSIZ"jdp1999-02-071-1/+13
| | | | | | | | | | | | | | | | | | | | | | | to an architecture-specific value defined in <machine/elf.h>. This solves problems on large-memory systems that have a high value for MAXDSIZ. The load address is controlled by a new macro ELF_RTLD_ADDR(vmspace). On the i386 it is hard-wired to 0x08000000, which is the standard SVR4 location for the dynamic linker. On the Alpha, the dynamic linker is loaded MAXDSIZ bytes beyond the start of the program's data segment. This is the same place a userland mmap(0, ...) call would put it, so it ends up just below all the shared libraries. The rationale behind the calculation is that it allows room for the data segment to grow to its maximum possible size. These changes have been tested on the i386 for several months without problems. They have been tested on the Alpha as well, though not for nearly as long. I would like to merge the changes into 3.1 within a week if no problems have surfaced as a result of them.
* - Don't assume the line length in the video memory is always the same asyokota1999-02-051-25/+26
| | | | | | | the screen width. - Store the current video mode information in the `video_adapter' struct. - The size of the `v_offscreensize' field in the VESA mode information block is u_int16, not u_int8.
* Added a hopefully-machine-independent macro for determining if abde1999-02-021-1/+3
| | | | reschedule is pending.
* Update the alpha port to use the new syscons.dfr1999-01-232-20/+95
| | | | Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> (partly)
* A couple more osf/1 compat tweaks.dfr1999-01-121-1/+2
| | | | Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
* Add hooks for the Iprobe kernel profiler.dfr1999-01-101-1/+2
| | | | Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
* Correct typo in macro name.des1999-01-011-2/+2
|
* Various changes to support OSF1 emulation:dfr1998-12-301-2/+10
| | | | | | | | | | | * 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.
* Implement fpsetmask() and other fp*() functions. Programs should usedfr1998-12-234-13/+29
| | | | | | | | | | #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>
* Little reorganization:dt1998-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
* Implement 'software completion' for floating point arithmetic. On thedfr1998-12-043-1/+578
| | | | | | | | | | | | | | | | | | 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>
* Add support for 'vmstat -i'.dfr1998-11-282-2/+81
| | | | | Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp> Obtained from: NetBSD
* Oops, I forgot to update this file when I changed moused recently.yokota1998-11-221-1/+3
|
* Add sc_traparg_a0, sc_traparg_a1 and sc_traparg_a2 to the sigcontextdfr1998-11-182-31/+39
| | | | | | | structure for the alpha. These give extra information about some signals (such as SIGSEGV) and should be compatible with Digital Unix. Submitted by: jdp
* Definitions for alpha specific device resources.dfr1998-11-171-0/+44
|
* Definitions for alpha specific system calls.dfr1998-11-171-0/+54
|
* * Add hooks to allow the X server to access I/O ports and memory.dfr1998-11-153-21/+31
| | | | | | | | | * 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.
* Add the ability to specify where on the at_shutdown queue a handler ismsmith1998-10-301-2/+1
| | | | | | | | | installed. Remove cpu_power_down, and replace it with an entry at the end of the SHUTDOWN_FINAL queue in the only place it's used (APM). Submitted by: Some ideas from Bruce Walter <walter@fortean.com>
* Typo fix.peter1998-10-141-2/+2
|
* Initial attempt to update the Alpha loader and kernel to use the machinepeter1998-10-141-2/+8
| | | | | | | | | | | | | | | | | | | | independent elf loader and have access to kld modules. Jordan and I were not sure how to create boot floppies, and the things we tried just made SRM laugh in our faces - but it was upset at boot1 which was not touched by these changes. Essentially this has been untested. :-( What this does is to steal the last three slots from the nine spare longs in the bootinfo_v1 struct to pass the module base pointer through. The startup code now to set up and fills in the module and environment structures, hopefully close enough to the i386 layout to be able to use the same kernel code. We now pass though the updated end of the kernel space used, rather than _end. (like the i386). If this does not work, it needs to be beaten into shape pronto. Otherwise it should be backed out before 3.0. Pre-approved in principle by: dfr
* Bring in _BSD_UINT8_T_, _BSD_UINT16_T_, and _BSD_UINT32_T from the i386alex1998-10-121-1/+4
| | | | ansi.h.
* Add functions for accessing dense and bwx memory for pci devices. Thesedfr1998-10-061-1/+8
| | | | | | | routines are necessary to allow the use of certain types of hardware on the alpha, particularly a Myrinet card. Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
* Add support for adjkerntz (largely untested).dfr1998-10-062-3/+10
|
* Start using the new SWI registration system instead of hardwiring everything.dfr1998-09-261-1/+3
|
* Automatically detect which disk was booted and change the root to that disk.dfr1998-09-261-1/+3
|
* Add splsoftvm().dfr1998-09-191-1/+2
| | | | Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
* Merge with the latest i386 syscons.dfr1998-09-173-6/+259
|
OpenPOWER on IntegriCloud