summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
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*
2013-06-28Uninitialized variable; Maxime VillardMiod Vallat
2013-06-28Uninitialized variable; Maxime VillardMiod Vallat
2013-06-26Since interrupts at IPL_AUDIO no longer grab the kernel lock, and nobodyMark Kettenis
is supposed to establish interrupts at IPL_VM, we only need to "flatten" mutex ipls up until IPL_TTY. Add an assertion to enforce that IPL_AUDIO interrupts are establish with the IPL_MPSAFE flag set. Should improve latency of audio interrupts a tiny bit. ok matthew@
2013-06-23Stop using -traditional-cpp on gcc3/4 platforms.Miod Vallat
Add CWARNFLAGS to the command line when using -xassembler-with-cpp. We are mostly interested in -Werror here.
2013-06-23Fix RELOC() in the __STDC__ case.Miod Vallat
2013-06-21enable 24-bit, lsb-aligned encoding, which is the device'sAlexandre Ratchov
native one. Allows encoding conversions to be handled in userland
2013-06-17m68k kernel memcpy/memmove/bcopy implementation in libkern, remove ovbcopy, ↵Janne Johansson
fix for larger than 128k size copies. Parts from deraadt@, ok (and off-by-one fix) miod@
2013-06-16unbreak build; OK bmercer@, patrick@Florian Obser
2013-06-16Add IPL_MPSAFE for some architectures that I missed in the first round.Mark Kettenis
pointed out by & ok miod@
2013-06-15Stop handling overlapping copies in memcpy() by jumping straight into theMark Kettenis
forward copy path.
2013-06-14Don't pull cpufunc.h in from the machine include directory, but fromPatrick Wildt
the arm one. ok bmercer@
2013-06-14Updating the ramdisk to support usb.Brandon Mercer
OK patrick@
2013-06-14Add OpenBSD RCS Tag.Patrick Wildt
2013-06-14Rework beagle's ehci driver and add neccessay code to enable the clocks.Patrick Wildt
Only PandaBoard supported for now. Lots taken from FreeBSD. ok bmercer@
2013-06-14give up on fitting siopTheo de Raadt
2013-06-13Remove a remnant of the VIS optimized bcopy code that was hiding in a delayMark Kettenis
slot.
2013-06-13- fix devboot() to properly retrieve octcf0a and add a comment for laterJasper Lievisse Adriaanse
- call boot() so we get to play with the prompt; turns out there's an issue where the first 2-3 readline reads from the uart result in no data...to be investigated.
2013-06-13new integral bcopy/memmove/memcpy, pulled out of sparc locoreTheo de Raadt
tested by beck