summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2015-09-10reduce .Nd to one line and kill .Tn while hereIngo Schwarze
2015-09-10Fix a zx_putchar() stupid bug I introduced nine years ago by actuallyMiod Vallat
initializing variables before they get used.
2015-09-10Initialize `pc' earlier so that the siginfo pc value is correct in case ofMiod Vallat
genuine FPU exception.
2015-09-10Call readgptlabel() from readdoslabel() instead of MD readdisklabel().Kenneth R Westerback
Call it if and only if there is an MBR on sector 0 that contains 1 and only 1 partition; that partition is an EFI partition; and it covers the entire disk or as much of the disk as can be covered in an MBR partition. Be paranoid about restoring any possible tweaks to the label being built in the case that readgptlabel() fails, and in that case return to the readdoslabel() code. ok deraadt@
2015-09-09The mplock implementations on MP-enabled mips64 platforms, octeon andVisa Hankala
sgi, are identical. Put one implementation in mips64 and drop the platform-specific copies, to remove duplicated code. ok miod@
2015-09-08Give the pool page allocator backends more sensible names. We now have:Mark Kettenis
* pool_allocator_single: single page allocator, always interrupt safe * pool_allocator_multi: multi-page allocator, interrupt safe * pool_allocator_multi_ni: multi-page allocator, not interrupt-safe ok deraadt@, dlg@
2015-09-08sizes for free(); ok semarieTheo de Raadt
2015-09-08sizes for free(); ok semarieTheo de Raadt
2015-09-08sizes for free(); ok semarieTheo de Raadt
2015-09-08sizes for free(); ok semarieTheo de Raadt
2015-09-08sizes for free(), when known; ok semarieTheo de Raadt
2015-09-08sizes for free(); ok semarieTheo de Raadt
2015-09-08convert several malloc(9) to mallocarray(9).Sebastien Marie
ok deraadt@ guenther@ "re-wrap the long lines" kettenis@
2015-09-07Remap the framebuffer as write-combining when we actually attach. Speeds upMark Kettenis
scrolling by a factor of 20 on my x1.
2015-09-07Use the RI_WRONLY flag to avoid reading back pixels from buffer memory.Mark Kettenis
Make scrolling efifb(4) a bit faster. ok yasuoka@, deraadt@
2015-09-07Fix the previous. The condition of loop which read GPT partitions had beenYASUOKA Masahiko
broken.
2015-09-07BOOTX86.EFI should be BOOTIA32.EFI.YASUOKA Masahiko
pointed out deraadt kettenis ok deraadt
2015-09-06size for free()Theo de Raadt
2015-09-06seperate a variable into two, so that the size of a free() is remembered.Theo de Raadt
ok semarie
2015-09-06qlw fitsMiod Vallat
2015-09-06pretty simple size for free()Theo de Raadt
2015-09-06PR_WAITOK for the pmap_pmap_pool here as well.Mark Kettenis
2015-09-06Use checksum to check the gpt parition. Old check was missingYASUOKA Masahiko
letoh32()/letoh64() calls. Also increase buffer size from 512 to 4092. initial work from krw ok krw
2015-09-05Do not make ip22_{slow,fast}_mode() public anymore.Miod Vallat
2015-09-05Give up trying to map DMA descriptor in uncached memory on ECC flavours of theMiod Vallat
IP22 motherboard (IP26, IP28). Instead, do not ask for a BUS_DMA_COHERENT mapping, but perform explicit cache operations. This removes the need for the memory controller to switch between `fast' and `slow' mode every time a DMA descriptor is updated. Tested on IP22 and IP28.
2015-09-05Correct bounds checking in efifb_mmap(). ok yasuoka@Miod Vallat
2015-09-04Let efifb depend on rasops32 such that it works on ramdisks where rasops32Mark Kettenis
isn't brought in by inteldrm or radeondrm.
2015-09-03Fix a race in pmap_page_remove_86() and pmap_page_remove_pae().Mark Kettenis
ok millert@, tedu@, mlarkin@
2015-09-03Fix a race in pmap_page_remove().Mark Kettenis
This should get mail from the mailing lists flowing again. Thanks to millert@ for helping me tracking this down. ok millert@, tedu@, mlarkin@
2015-09-03No real point in having efifb(4) on the floppies; we want it on everythingMark Kettenis
else! ok deraadt@
2015-09-03match amd64; bios_efi_info_t is required here as well, because acpidumpTheo de Raadt
compiles on more than one platform.
2015-09-03Improve the code that tries to figure out which device we booted from. TheMark Kettenis
EFI Loaded Image Device Path Protocol typically includes partition and file components. We want to match it to a "raw" Device Path without these components though, so we declare we have found the boot device as soon as the Device Path matches the initial components of the Loaded Image Device Path. ok yasuoka@
2015-09-03Fix the condition of finding SMBIOS. Found by gerhard@.YASUOKA Masahiko
ok gerhard uebayasi deraadt
2015-09-02Make pmap_kenter_pa(9) and pmap_kremove(9) mpsafe. This required me toMark Kettenis
use atomic operations to operate on pm_stats.resident_count. Is it really necessary to keep track of that for the kernel pmap?
2015-09-02Use the pointer we got back from alloc() when calling free() instead ofMark Kettenis
something that points smack in the middle of the buffer.
2015-09-02sync commentChristian Weisgerber
2015-09-02sizes for free()Theo de Raadt
2015-09-02simple size for free()Theo de Raadt
2015-09-02remove a bunch of orphaned prototypes and unused functions; ok miodMike Belopuhov
2015-09-02Add missing copyright.YASUOKA Masahiko
2015-09-02Fix the bios boot to pass the bootargs properly.YASUOKA Masahiko
ok deraddt
2015-09-02enter efibootTheo de Raadt
2015-09-02alloca() no longer neededTheo de Raadt
2015-09-02Bring the boot changes on amd64 to i386. alloca is deleted.YASUOKA Masahiko
Also fix the boot from BIOS and bump the version. input and ok deraadt
2015-09-02only enter deeper on amd64Theo de Raadt
2015-09-02Initial commit of uefi boot loader of OpenBSD.YASUOKA Masahiko
ok deraadt yuo
2015-09-01Always call readdoslabel() before readgptlabel(). Doubly always call themKenneth R Westerback
in the same order. Fix writedisklabel() to follow these simple rules. ok kettenis@
2015-09-01Increase transfer FIFOs for dwc2, to improve USB performance. The newVisa Hankala
values are from dwc2 of NetBSD. ok jmatthew@, jasper@
2015-09-01ditch a few prototypes for non-existant functionsMike Belopuhov
2015-09-01Sync bus_dmamap_load_raw(9) with amd64/i386 in order to respect theMartin Pieuchot
segement size constraint. Make xhci(4) work on my G5. ok dlg@