| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
by the Linux emulator (and other emulators) for syscall argument
translation. The x86 port currently seems to allow unrestricted kernel
accesses to user memory.
Reviewed by: alc, gallatin
|
|
|
|
|
| |
to conf/files. If/when these files are optimized for each platform,
they can be moved back.
|
|
|
|
| |
optimized alpha version, but I'll leave that alone for the time being.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
background ]
Rename sys/pci/pci_ioctl.h to sys/sys/pciio.h to make it easier for
userland programs to use this interface. Reformat the file, and add a
BSD-style copyright to it.
Add a new man page for pci(4). The PCIOCGETCONF, PCIOCREAD, and PCIOCWRITE
ioctls are documented, but the PCIOCATTACHED ioctl is not documented
because it is not implemented.
Change includes of <pci/pci_ioctl.h> to <sys/pciio.h> or remove them
altogether. In many cases, pci_ioctl.h was unused.
Reviewed by: steve
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
which it replaces. The new driver supports all of the chips supported
by the ones it replaces, as well as many DEC/Intel 21143 10/100 cards.
This also completes my quest to convert things to miibus and add
Alpha support.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Other modules can register and unregister ioctl handlers to extend the
ioctls known by the Linuxulator. A recent application is the vmware
port. The Linuxulator itself uses the new interface to register its
handlers as well. Handlers for the following types of ioctls have been
defined:
cdrom
console (=keyboard and VT handling)
socket
sound
termio
All ioctl related defines and declarations have been moved to a new
file (linux_ioctl.h), except for the pluggable ioctl handler interface
definition.
While there, cleanup linux.h some more.
linux.h and linux_ioctl.[ch] have been made to conform to style(9) as
much as possible.
Inspired and reviewed by: Vladimir N. Silyaev
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
device_add_child_ordered(). 'ivars' may now be set using the
device_set_ivars() function.
This makes it easier for us to change how arbitrary data structures are
associated with a device_t. Eventually we won't be modifying device_t
to add additional pointers for ivars, softc data etc.
Despite my best efforts I've probably forgotten something so let me know
if this breaks anything. I've been running with this change for months
and its been quite involved actually isolating all the changes from
the rest of the local changes in my tree.
Reviewed by: peter, dfr
|
|
|
|
|
|
| |
(eventually) settings to kernel settings).
Prototype read_random to quiesce a warning.
|
|
|
|
|
|
|
|
|
|
| |
Angelini for allowing me to use his AS1000 to do the port.
Note that this is untested on AlphaServer 1000A hardware.
Reviewed by: dfr
Tested by: Cristian Angelini <chr.ang@biella.alpcom.it>
Obtained From: NetBSD
|
| |
|
|
|
|
| |
Please note that kernel is still broken on alpha.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
In combination with Doug's recent alpha_cpu.h, this reduces the cost
of ipl raising/lowering significantly. This is most pronounced when
doing file reads.
Reviewed by: dfr
|
|
|
|
|
|
|
| |
specific instructions such as rpcc and mb. This should provide some
performance improvements and will allow me to delete the file pal.s.
To allow people time to update their loadable modules, I will leave pal.s
alone for now.
|
| |
|
|
|
|
|
| |
This is commented out in GENERIC as you cannot mix `sym' with `ncr' right now.
Note that LINT is no more broken by this commit.
|
|
|
|
| |
Reviewed by: bde
|
| |
|
|
|
|
|
| |
syscall.h and sysent.h was probably forgotten after the last change
syscalls.master.
|
|
|
|
|
|
| |
conf/files and moved to i386/conf/files.i386
Forgotten by: tanimura
|
|
|
|
|
| |
was getting quite dated. Attempt to minimize diffs between the two so
it's not as painful to do this next time.
|
| |
|
|
|
|
| |
The KAME code intruduces _KERNEL, which exposes some of them.
|
| |
|
|
|
|
| |
Submitted by: Jake Burkholder jake@checker.org
|
|
|
|
|
|
|
|
|
|
| |
was likely to be counted as idle time.
Note that we are counting time spent in software interrupt handlers as
interrupt time, so this invalidates the i386 meaning of intr_nesting_level.
Reviewed by: dfr, bde
Tested by: anderson@cs.duke.edu
|
|
|
|
| |
CDEV_MAJOR entry to match.. Is "ipr" in the tree? I can't find it.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
registering their interrupts with rman as though they were going through
the ISA pic. This prevents a conflict between isa & pci for irqs on such
machines.
Also hookup the chipset struct before calling platform.pci_intr_init().
This allows me to call inw/outw down in the platform code.
Add interrupt printfs to match the CIA chipset.
Reviewed by: dfr
Tested by: wilko
|
|
|
|
|
| |
it to install from ATA cds and to ATA disks. I'll check after my next
release builds.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The old code was spread out through the machdep code and was sloppy about
enabling and disabling the FEN bit (which controls access to the FP
register set). This caused a DIAGNOSTIC warning "DANGER WILL ROBINSON:
FEN SET IN cpu_fork!" sometimes when operating under high loads and could
conceivably lead to processes getting incorrect FP results.
The new code is much more strict about the FEN bit and makes sure that
*only* fpcurproc ever has it enabled. This also allows us to remove a
section of code from the exception_return path which might improve
performance marginally.
Reviewed by: gallatin
|
|
|
|
|
|
|
| |
if we are really going to call ast() to avoid unexpected interrupt
recursion.
Reviewed by: bde, gallatin
|
| |
|
|
|
|
| |
should be "VM_FAULT_NORMAL".
|
|
|
|
|
|
|
|
|
|
|
| |
for sometime, but haven't been registered here.
SC_NORM_ATTR
SC_NORM_REV_ATTR
SC_KERNEL_CONS_ATTR
SC_KERNEL_CONS_REV_ATTR
PR: kern/13176
|
|
|
|
|
|
|
| |
The new option will make the right mouse button the `paste' button.
Useful for two button mice.
Submitted by: morganw@engr.sc.edu (Wes Morgan)
|
| |
|
|
|
|
| |
needs to use make_dev().
|
|
|
|
| |
drivers to enforce the securelevel checks.
|
| |
|
|
|
|
|
|
|
|
|
| |
* GC unused options
* Move options that exist on all architectures to conf/options
* Add missing options to LINT
* Sort undocumented options list in LINT
Reviewed by: green
|
|
|
|
|
|
|
|
|
| |
data is copyin()'ed to a properly aligned buffer.)
Return EFAULT rather than EINVAL if the sigcontext is inaccessible,
as specified by the documentation.
Submitted by: bde
|
|
|
|
| |
Reviewed by: gallatin
|
|
|
|
|
|
| |
copyin() calls.
Submitted by: bde
|
|
|
|
|
|
|
| |
can deal with from 1GB to 2GB. I have no way to test with >1GB because I
don't have high enough density memory to get any one box over 1GB. However, I
have tested it on xp1000 & ds10 with < 1GB of memory & have verified that it
does no harm.
|
|
|
|
| |
this will fix the alpha kernel build now (MFS excluded).
|