summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2005-04-06spelling/grammar cleanupsChristopher Pascoe
jolan drahn uwe dlg ok
2005-04-05Off-by-ones in register comparisons.Miod Vallat
2005-04-05No extra newline if keyboard plugged but not console.Miod Vallat
2005-04-05Argument to DELAY should be usecs, not hz.Christopher Pascoe
ok dlg@
2005-04-04Nuke pmap_bootstrap_alloc(), not used anymore.Miod Vallat
2005-04-04- Delete implicit * 4 operation in bus_space offset calculationKenji Aoyama
- Change assembler codes to C codes tested by myself, ok by miod@
2005-04-04Fix an uninitialized variable in pmap_enter(), affecting only unmanaged pages.Miod Vallat
2005-04-04Allow pmap_expand_kmap() to fail in low memory conditions.Miod Vallat
2005-04-03check powerhook_establish() result, and pass the correct softc to it.Uwe Stuehler
did not matter in this case because the softc's are aligned; ok dlg@
2005-04-03Implemente PT_[GS]ETXMMREGS ptrace(2) requests on i386.Mark Kettenis
ok deraadt@
2005-04-03Simple performance improvements:Miod Vallat
- inline empty pmap_deactivate() and pmap_collect(). - inline pmap_phys_address(). - provide a real pmap_kremove() implementation, rather than invoking pmap_remove() on behalf of pmap_kernel(). - do not check for the MMU hole in pmap_prefer() for SUN4M-only kernels.
2005-04-02find cachesize for amd cpus too. ok deraadt tomTed Unangst
bit more info about powernow, and only try to enable if cpu supports it. both from diffs by gordon klok
2005-04-01Cleanup SKEY_NOT_READY logic. Only retry command if it's likely theKenneth R Westerback
condition is going to clear up, which speeds up boot by avoiding delays in disk matching. Return ENODEV if media is not present, which avoids trying to spin up disks that are not present. Use ENODEV in amd64/i386 dkcsum.c to filter failure reports. Mostly from NetBSD. ok marco@
2005-04-01axe axe for nowTheo de Raadt
2005-04-01reenable bio in GENERIC now that bio.c compiles and works.Marco Peereboom
2005-04-01undo, need to redo copyinstr first :(Marco Peereboom
2005-04-01enable bio(4) in GENERICMarco Peereboom
<deraadt> do it.
2005-04-01small batch early bottling hppa64 portMichael Shalayeff
matured in mighty ukrainian oak for 23 months
2005-03-31Reduce MAX and Default DATA Segment sizes to leave more MMAP space forThierry Deval
use by mmap_malloc. This change and MMAP(2) malloc need some care to rebuild the system. I definitely suggest using a snapshot when it appears in the coming days. For the daring people : - update src - build and install new kernel, no reboot yet - build and install new libc - build and install new gcc - build and install new make - build and install new binutils - reboot - make build (thanks martin@)
2005-03-31order the usb stuff, and remove duplicate config lines for usb at ohci.David Gwynne
fix some spelling while here. ok uwe@
2005-03-31go back to the old trace code, but add -fno-omit-frame-pointer so it works.Ted Unangst
makes trace output more reasonable. ok andreas
2005-03-30- Enable charging properly, avoiding the stuck "battery full" signal.Uwe Stuehler
- Correctly report battery life estimates falling between thresholds. - Restart charging every minute (needed on all zaurus machines). - Report battery life even while battery_state is APM_BATT_CHARGING. - Be pessimistic about the total battery life time in minutes. - Use shorter prefix for local symbol names. The timeouts introduced in this revision can be removed later.
2005-03-30UDF here too, says mickey and henningTheo de Raadt
2005-03-30use the local powerhook, not the generic ohci one. suspend/resume now worksDavid Gwynne
2005-03-30extra gunk to make ohci suspend and resume work on the zaurusDavid Gwynne
help from and ok uwe@
2005-03-30make the powerhooks the responsibility of the bus ohci is attached toDavid Gwynne
ok uwe@
2005-03-30complete the definition of the power manager sleep status registerDavid Gwynne
ok uwe@
2005-03-30first approximation: spoof UDF filesystem disklabels when we see them.Theo de Raadt
it is likely a slight bug or two will sneak in with this, so everyone please keep an eye out on your disklabels
2005-03-30enable UDF on large install media for architectures likely to have DVD drivesTheo de Raadt
2005-03-29Handle apm_battlow flag by suspending, and clear all flags after resume.Uwe Stuehler
2005-03-29Changed On/Off button behaviour (unless the lid is closed):Uwe Stuehler
- hold for 2 seconds to suspend, or - hold for 6 seconds to do a nice halt (if machdep.kbdreset=1).
2005-03-29- Support the machdep.kbdreset sysctl on zaurus.Uwe Stuehler
- Disable unused function parse_mi_bootargs().
2005-03-29Shrink kernel image buffer from 8M to 5M (no kernel should be that big),Uwe Stuehler
and fix a spello. Leaves more unused memory for the "boot loader".
2005-03-29sparc64 StackGhost.Mark Kettenis
ok deraadt@
2005-03-29Shrink struct label_t to the correct size; ok drahn@ a long time ago.Miod Vallat
2005-03-29Plug iso_disklabelspoof() in readdisklabel(); requested by deraadt@Miod Vallat
2005-03-29Add an apm interface to the tctrl(4) device found on SPARCbooks; currentlyMiod Vallat
limited to power change events and battery status retrieval. ok deraadt@ mickey@
2005-03-29Missing break;Miod Vallat
2005-03-29If a tctrl device is attached, run the keyboard bell through it, since theMiod Vallat
keyboard on SPARCbooks lacks a speaker.
2005-03-29Display the PCMCIA icon when cards are plugged.Miod Vallat
2005-03-29A few tctrl improvements, mostly adapted from NetBSD:Miod Vallat
- use a better state machine, and define a simple internal interface to send commands to the microcontroller. - program the 2nd line of the LCD screen; currently limited to the ``external power available'' and ``PCMCIA'' icons. - fix races in the brightness adjustement and powerdown request. - wrap initial dmesg output at 80 chars.
2005-03-29Remove workarounds for old compilers.Miod Vallat
2005-03-28Relax dependencies.Miod Vallat
2005-03-26enable compat_hpux and a commented out compat_linuxMichael Shalayeff
2005-03-26oops. it's 2005 now!Michael Shalayeff
2005-03-26md parts for hpux_compa code; some problems w/ signals delivery still existMichael Shalayeff
2005-03-26- Parse boot arguments like on other platforms and handle common flags.Uwe Stuehler
- Delay much longer before rebooting to give the internal disk in the C3000 enough time to stop itself. "go ahead" drahn@
2005-03-26Use the PROM font whenever possible, rather than switching to theMiod Vallat
not-so-nice 8x16 font upon attach. Also, shift the display two character cells to the left from its centered position in this case, so as to keep our output properly aligned with the PROM messages. Tested on 3GS and 3GX.
2005-03-23Set up a shutdown hook to put the display back to a PROM-compatible modeMiod Vallat
at shutdown if necessary.
2005-03-23Do not bzero() too far when setting up 32-bit mode.Miod Vallat