summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2013-07-17don't forget to insert the io to the list on the JensenMartin Reindl
found my Maxime Villard, diff from NetBSD ok miod
2013-07-16Enable jfb-style acceleration on XVR-600.Miod Vallat
2013-07-16Add support for BUS_INTR_ESTABLISH_MPSAFE. This makes the previous commitMark Kettenis
to vcons(4) actually have an effect.
2013-07-16The interrupt handler for vcons(4) is defenitely safe to run without holdingMark Kettenis
the kernel lock, so use BUS_INTR_ESTABLISH_MPSAFE.
2013-07-16Add support for BUS_INTR_ESTABLISH_MPSAFE.Mark Kettenis
2013-07-16no longer needed, we use uenv.txtFlorian Obser
OK bmercer@
2013-07-16Don't use a non initialized variable and fix RCS Ids while here.Martin Pieuchot
Issue reported by Maxime Villard, diff from martin@
2013-07-15Use getpropstringA(), not getpropstring(), to get the card's name. This ensuresMiod Vallat
its value has not been clobbered when ifb_accel_identify() is invoked, and restores textmode acceleration on Expert3D{,-Lite} and XVR-1200. Broken since 1.17, sigh
2013-07-15Use bus_space_set_region_4 instead of looping over bus_space_write_4,Raphael Graf
and remove some includes. ok patrick@
2013-07-14To prevent lock ordering problems with the kernel lock, we need to make sureMark Kettenis
we block all interrupts that can grab the kernel lock. The simplest way to achieve this is to make sure mutexes always raise the ipl to the highest level that has interrupts that grab the kernel lock. This will allow us to have "mpsafe" interrupt handlers at lower priority levels. No change for non-MULTIPROCESSOR kernels.
2013-07-14IPL_VM is "mpsafe" now as well.Mark Kettenis
2013-07-13unify register_t to long on all platformsTheo de Raadt
ok miod kettenis
2013-07-13Rework multiline string literal to appease gcc3.Miod Vallat
2013-07-12Actually assign return value to the variable that's used to check it.Mark Kettenis
Pointed out by Maxime Villard.
2013-07-12replace fls functions with calls to the libkern versionsJonathan Gray
found the hard way by deraadt@
2013-07-11Enable bus_space_set_region_4 for armv7.Raphael Graf
ok patrick@
2013-07-10To prevent lock ordering problems with the kernel lock, we need to make sureMark Kettenis
we block all interrupts that can grab the kernel lock. The simplest way to achieve this is to make sure mutexes always raise the ipl to the highest level that has interrupts that grab the kernel lock. This will allow us to have "mpsafe" interrupt handlers at lower priority levels. No change for non-MULTIPROCESSOR kernels. ok matthew@
2013-07-07Fix pmap_extract() to actually only return TRUE for mappings which have theMiod Vallat
valid bit set; can't believe this went unnoticed for so long. This fixes uvm_km_pgremove_intrsafe panics when pool_put()'ing items in pools for larger-than-a-page-items at shutdown time.
2013-07-07move to 5.4-betaTheo de Raadt
2013-07-07fix int vs long assumption; ok kettenisTheo de Raadt
2013-07-06Forgot to commit this file during the a.out->ELF transition.Miod Vallat
2013-07-06Use the write-only rasops code to speed up the console framebuffer.Martin Pieuchot
ok kettenis@
2013-07-06Add uhci* at cardbus, tested with a VIA VT83C572.Martin Pieuchot
2013-07-06Print the number of targets and the irq before looking for subdevices,Martin Pieuchot
like it was before r1.36, to correct the adb* lines in the dmesg.
2013-07-05VAX ELF boot block bits, and version crank.Miod Vallat
2013-07-05VAX ELF kernel bits.Miod Vallat
2013-07-05VAX ELF userland bits. Consists mostly of register prefix additions.Miod Vallat
2013-07-05Avoid truncation when calculating clock gain/lossPhilip Guenther
ok deraadt@
2013-07-05Take II, this time without flubbing off_t: : move several internalPhilip Guenther
type definitions that are the same across all archs from <machine/_types.h> to <sys/_types.h> ok deraadt@ kettenis@ otto@
2013-07-04format string fixStefan Fritsch
ok kettenis@
2013-07-04Format string fixes:Stefan Fritsch
f_count is long ok kettenis@ Change esm_sensor_map.arg to int ok deraadt@
2013-07-04backout previous; off_t must be signed and there might be other C++ APIOtto Moerbeek
breakage lurking; ok kettenis@
2013-07-04Fix some netbsd-specific things to make this driver work in OpenBSD.Raphael Graf
ok bmercer@, patrick@
2013-07-04To ease future changes, move several internal type definitions that arePhilip Guenther
the same across all archs from <machine/_types.h> to <sys/_types.h> ok deraadt@
2013-07-04Merge rev 1.16 of cl.c: time_t is not longPhilip Guenther
2013-07-03Do not scribble to a page after uvm_pagefree()'ing it.Miod Vallat
2013-07-03fix: cast void * to char *, fix format args for (u)int64_t,Stefan Fritsch
tc_frequency is unsigned ok kettenis@
2013-07-02Use time_t for storing and returning time_t values, and cast to time_tPhilip Guenther
before the last multiplication that might take it past 2^31 secounds. ok deraadt@ miod@
2013-07-01Replace magic number in USRPTSIZE with the proper computation based uponMiod Vallat
various userland size limits.
2013-07-01sync comment with it's intended meaning.Jasper Lievisse Adriaanse
from martin@
2013-07-01Make the acpi global lock functions actually work. Luckily these functionsMark Kettenis
were still unused. ok millert@
2013-07-01Make the acpi global lock functions actually work. Luckily these functionsMark Kettenis
were still unused. ok millert@
2013-06-30Fix non-traditional cpp mode for real.Miod Vallat
2013-06-30Shortly run at ipl 1 in cpu_idle_cycle(), to let SIMH recognize the systemMiod Vallat
is idle; adapted from NetBSD
2013-06-30Add a luna88k-specific function to initialize the instruction cmmuKenji Aoyama
SAPR register. On luna88k, secondary processors are not disabled while the kernel is initializing. They are running an infinite loop in locore.S:secondary_init on non-MULTIPROCESSOR kernel. Then, after initializing the CMMUs tied to the currently-running processor, we turn on the instruction cache of other processors to make them happier. As a bonus, on non-MULTIPROCESSOR kernel, the power switch LED of luna88k is blinking green and orange again. According to the hardware manual, it indicates processors' cache hit status. suggested and ok miod@
2013-06-29Remove unsigned comparison >= 0.Brad Smith
Pointed out by LLVM. ok matthew@ kettenis@
2013-06-29Minor fixes to let this build with gcc 3.Miod Vallat
2013-06-29Turn mfpr() and mtpr() into inline functions.Miod Vallat
2013-06-29Pass -D_LOCORE when building .S files.Miod Vallat
2013-06-28Fix unitialized variable; Maxime Villard.Miod Vallat
Interestingly enough, gcc did not warn about this because the register allocator had optimized the uninitialized `eva' local into using the same register as the initialized `va' local. Therefore it had been initialized. *facepalm*