summaryrefslogtreecommitdiff
path: root/sys/arch/alpha
AgeCommit message (Collapse)Author
2008-02-24Add commented out Bluetooth HID sectionUwe Stuehler
ok deraadt
2008-02-16Move panic tests under #ifdef DEBUGMiod Vallat
2008-01-29More read/write result checking fixes to avoid unsigned comparisons vsKenneth R Westerback
-1. ok henning@ beck@ ray@
2008-01-13Replace STABS debug info (which causes problems with truncated relocations)Mark Kettenis
with some limited DWARF2 generating .file and .line symbols. Makes it possible to build kernels with debug information again. ok miod@
2008-01-09Make dec_xxx_intr_map() fail silently; caller will print a message ifMark Kettenis
appropriate. Removes unwanted messages that got printed when mapping pins on PCI-PCI bridges that don't matter. ok miod@
2007-12-29Unifdef NO_IEEE in the libkern softfloat code, and put an appropriate ruleMiod Vallat
in files.alpha to compensate for NO_IEEE kernels. This will allow the softfloat code to be used by other platforms than alpha.
2007-12-29Do not define _FP_DYNAMIC; no other platform defines this and nothing (eitherMiod Vallat
in kernel or in userland) uses it. ok deraadt@
2007-12-14Remove a lot of symbols from the namespace, otherwise sys/sysctl.h andTheo de Raadt
rpc/pmap_prot.h collide.. "struct pmap" from the kernel should not make it out to userland.
2007-12-09provide mount_ntfs(8) on alpha, it works out of the box for readingMartin Reindl
Windows NT disks ok deraadt@ manpage bits from jmc@
2007-12-09big patch to simplify pool code.Ted Unangst
remove pool_cache code. it was barely used, and quite complex. it's silly to have both a "fast" and "faster" allocation interface. provide a ctor/dtor interface, and convert the few cache users to use it. no caching at this time. use mutexes to protect pools. they should be initialized with pool_setipl if the pool may be used in an interrupt context, without existing spl protection. ok art deraadt thib
2007-11-30Define NORMAL_C_NOP everywhere.Miod Vallat
2007-11-25we want strlen.cMartin Reindl
2007-11-25libkern, begone. Move to a new mechanism where config(8)'s "file"Theo de Raadt
directive can select between MI and MD versions of these files. At the same time, adjust the boot programs to pick exactly what they need, instead of the 7 or 8 mechanisms previously used. There will be some fallout from this, but testing it all by myself is a ridiculously slow process; it will be finished in-tree. Various developers were very nice and avoided making fun of me when I was gibbering in the corner..
2007-11-25Get rid of the kernel 'libcompat' framework, and instead use conf/files toTheo de Raadt
decide which files must be pulled into the kernel. Also conditionalize the pulling of those files based on the COMPAT_* options.
2007-11-15``stastic'' is a fantastic typo.Miod Vallat
2007-11-06Get rid of TC_IPL_xxx values and tc_intrlevel_t, and use IPL_xxx and int.Miod Vallat
No functional change.
2007-11-05temporary ddb buffers need to be a bit larger on 64 bit systems to cope withMiod Vallat
some radix configurations.
2007-11-03use DEVICE_IS_VGA_PCI in vga_pci_match()Martin Reindl
ok brad@ fgsch@ also tested by oga@
2007-10-16unsigned int is nicer than just unsignedTheo de Raadt
2007-10-13Fix cpu_exit() comments to be more closer to reality.Miod Vallat
2007-10-10Make context switching much more MI:Artur Grabowski
- Move the functionality of choosing a process from cpu_switch into a much simpler function: cpu_switchto. Instead of having the locore code walk the run queues, let the MI code choose the process we want to run and only implement the context switching itself in MD code. - Let MD context switching run without worrying about spls or locks. - Instead of having the idle loop implemented with special contexts in MD code, implement one idle proc for each cpu. make the idle loop MI with MD hooks. - Change the proc lists from the old style vax queues to TAILQs. - Change the sleep queue from vax queues to TAILQs. This makes wakeup() go from O(n^2) to O(n) there will be some MD fallout, but it will be fixed shortly. There's also a few cleanups to be done after this. deraadt@, kettenis@ ok
2007-10-08enable spdmem where it mattersTheo de Raadt
2007-10-08More simple memset(,0,) -> M_ZERO changes. In this batch move toKenneth R Westerback
size(*p) as the first malloc() parameter where p is declared locally and thus easy to check. Add M_ZERO to gpe_table allocation in acpi.c even though there is no obvious bzero or memset nearby.
2007-10-06Simpliest memset(,0,) -> M_ZERO changes. One (caddr *) cast removal,Kenneth R Westerback
otherwise just adding M_ZERO to malloc() and removing the immediately adjacent memset(,0,).
2007-10-06Some archs used memset() rather than bzero(). So duplicate diffKenneth R Westerback
previously applied to other archs deleting a memset() this time. e.g. - if ((mapstore = malloc(mapsize, M_DEVBUF, - (flags & BUS_DMA_NOWAIT) ? M_NOWAIT : M_WAITOK)) == NULL) + if ((mapstore = malloc(mapsize, M_DEVBUF, (flags & BUS_DMA_NOWAIT) ? + (M_NOWAIT | M_ZERO) : (M_WAITOK | M_ZERO))) == NULL) return (ENOMEM); - memset(mapstore, 0, mapsize);
2007-10-02Apply (with slight variants) this elimination of bzero() with M_ZERO:Kenneth R Westerback
- if ((mapstore = malloc(mapsize, M_DEVBUF, - (flags & BUS_DMA_NOWAIT) ? M_NOWAIT : M_WAITOK)) == NULL) + if ((mapstore = malloc(mapsize, M_DEVBUF, (flags & BUS_DMA_NOWAIT) ? + (M_NOWAIT | M_ZERO) : (M_WAITOK | M_ZERO))) == NULL) return (ENOMEM); - bzero(mapstore, mapsize);
2007-09-22M_ZERO -> bzero.Kenneth R Westerback
ok art@
2007-09-15replace ctob and btoc with ptoa and atop respectivelyMartin Reindl
help and ok miod@ thib@
2007-09-10Introduce a md pmap hook, pmap_remove_holes(), which is supposed to markMiod Vallat
the holes a MMU may have from a given vm_map. This will be automagically invoked for newly created vmspaces. On platforms with MMU holes (e.g. sun4, sun4c and vax), this prevents mmap(2) hints which would end up being in the hole to be accepted as valid, causing unexpected signals when the process tries to access the hole (since pmap can not fill the hole anyway). Unfortunately, the logic mmap() uses to pick a valid address for anonymous mappings needs work, as it will only try to find an address higher than the hint, which causes all mmap() with a hint in the hole to fail on vax. This will be improved later.
2007-09-09uchcom(4) has been verified to work by djm@, so add it to allJonathan Gray
USB capable archs.
2007-09-03Remove the pv and pte stealing code. Neither art@ and I like it, theMiod Vallat
theoretical gain of it is close to zero, and our moms told us stealing is bad.
2007-09-03Typos from miod. 'specificed' -> 'specified' in some comments and man page.Kenneth R Westerback
2007-09-01Use db_format() instead of ddb-specific format specifiers; no functionalMiod Vallat
change inteded. ok ray@
2007-08-25Use ptoa((psize_t)...) and %lu to print memory sizes.Mark Kettenis
2007-08-01Stop making de win over dc on alpha, and include both dc and de on allMiod Vallat
installation media now - it fits. THIS MEANS YOU NEED TO RENAME /etc/hostname.de0 TO /etc/hostname.dc0 BEFORE BOOTING A NEW KERNEL. ok deraadt@
2007-08-01unused, and Miod says this file was superseded by sys/dev/ic/i8253reg.h, soMartin Reindl
remove
2007-07-30Shuffle the order in which we look for header files, when doingThordur I. Bjornsson
kernel builds locally this doesnt change much but over NFS this cuts about 12% of the build time on my setup (i386). OK miod@, deraadt@.
2007-06-22PCI malo(4) worksMartin Reindl
from Janjaap van Velthooven
2007-06-20alpha kernel have wsmux but not the actual devices; PR #5469 from janjaapMiod Vallat
2007-06-20b_cylinder does not need to be set on the callpath down into drivers.Theo de Raadt
cpu_disklabel can go away, since nothing anymore needs to use it; ok miod
2007-06-17Eliminate a few straggling 'labelsector' field declarations fromKenneth R Westerback
cpu_disklabel's. 'labelsector' is not used anywhere according to grep. 'go for it' deraadt@
2007-06-17Some alpha (or SRM) designs use level 3 for i/o interrupts, instead of theMiod Vallat
more commonly encountered level 4. Do not complain in splassert() in this case (this is similar to the older vsbus vax machines workaround).
2007-06-17significantly simplified disklabel infrastructure. MBR handling becomes MITheo de Raadt
to support hotplug media on most architectures. disklabel setup and verification done using new helper functions. Disklabels must *always* have a correct checksum now. Same code paths are used to learn on-disk location disklabels, to avoid new errors sneaking in. Tested on almost all cases, testing help from todd, kettenis, krw, otto, dlg, robert, gwk, drahn
2007-06-14excessive blank lines making the versions differentTheo de Raadt
2007-06-14set the prototype disklabel to version 1Theo de Raadt
2007-06-14do not depend on previous loop variable, use a constant insteadTheo de Raadt
2007-06-12all disksubr.c did their b_flags manipulation differently (and wrong).Theo de Raadt
correct and unify; ok thib miod
2007-06-10No need for two *LABELSECTOR and *LABELOFFSET defines that mean theKenneth R Westerback
same thing. Keep LABELSECTOR and LABELOFFSET and nuke ALPHA_LABELSECTOR and ALPHA_LABELOFFSET. Kernel still compiles and boots. Superfluidity pointed out by deraadt@.
2007-06-09The differences in the last non-homogeneous bounds_check_with_label()Kenneth R Westerback
routines (alpha, vax) prove to be not worth keeping. Move bounds_check_with_label() into the MI world. Eliminate unreliable and almost certainly useless checks for overwriting a disklabel. After discussion with deraadt@
2007-06-09unify DOSPTYP_FAT* code (some architectures missed a filesystem type or two)Theo de Raadt