Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-09-29 | Add missing prototype for bios_getdiskinfo() to amd64/disksubr.c. | Kenneth R Westerback | |
Include systm.h inside #ifdef DEBUG in i386/disksubr.c, as amd64/disksubr.c. Makes amd64 and i386 disksubr.c identical once more. | |||
2015-09-27 | Use readdisksector() instead of manual buf initialization. | Kenneth R Westerback | |
ok deraadt@ | |||
2015-09-27 | free(x, 0) cleanup: | Sebastien Marie | |
- set size argument of free() - remove pointless if expression around free() call ok guenther@ | |||
2015-09-26 | lint is dead and C99 may be old enough to drive a car: delete LONGLONG | Philip Guenther | |
comments ok millert@ | |||
2015-09-26 | lint is dead: BITFIELDTYPE comments aren't useful | Philip Guenther | |
ok miller@ | |||
2015-09-23 | Fix white spaces and style. | YASUOKA Masahiko | |
2015-09-23 | Remove -DLINKADDR=. It is for first-stage bootstrap. | YASUOKA Masahiko | |
2015-09-23 | efiboot used 3MB memory below the region for the kernel, but UEFI | YASUOKA Masahiko | |
firmware on some machines allocates larger area whose upper part overlaps the kernel region. Let the efiboot use lower area for its heap. Also change its size from 3MB to 1MB and limit it by HEAP_LIMIT. The problem is reported by Toby Slight and Brian Conway. | |||
2015-09-19 | trivial "if(x) free(x)" replacement by "free(x)" | Sebastien Marie | |
ok miod@ | |||
2015-09-18 | Remove support for building the boot blocks with DEBUGFLAGS=-D_TEST, which is | Miod Vallat | |
supposed to create a userland binary in order to test non-boot related functionality. This feature has been bitrotting in a non-compiling state for years, and causes a too-many-ifdefs disease now that there are intrusive EFI changes. No functional change. | |||
2015-09-13 | remove delta | Theo de Raadt | |
2015-09-13 | Introduce intr_barrier(4), an interface that guarantees that an interrupt | Mark Kettenis | |
handler that was running has finished. ok miod@, guenther@ (both for the equivalent sparc64 diff) | |||
2015-09-12 | Restore SMBIOS detection in ISA. OK yasuoka@ | Masao Uebayashi | |
2015-09-12 | Add missing free() in efid_io(). Found by jsg. | YASUOKA Masahiko | |
ok kettenis jsg | |||
2015-09-11 | Save/restore MSR_APICBASE during suspend/resume | Stefan Fritsch | |
This register contains the x2apic enable bit. Restoring it re-enables x2apic on the application processors at resume. On the boot processor, the normal initialization code path is used. Tested by many OK mlarkin@ "Go for it" deraadt@ | |||
2015-09-10 | Now that the GPT code tries really hard not to get in the way and | Kenneth R Westerback | |
accidentally capture disks ... Eliminate kernel option GPT and associated #ifdef GPT/#endif. Let everybody get on the GPT bandwagon and we'll see what wheels fly off. Requested by & ok deraadt@ | |||
2015-09-10 | reduce .Nd to one line and kill .Tn while here | Ingo Schwarze | |
2015-09-10 | Call 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-08 | Give 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-08 | convert several malloc(9) to mallocarray(9). | Sebastien Marie | |
ok deraadt@ guenther@ "re-wrap the long lines" kettenis@ | |||
2015-09-07 | Remap the framebuffer as write-combining when we actually attach. Speeds up | Mark Kettenis | |
scrolling by a factor of 20 on my x1. | |||
2015-09-07 | Use 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-07 | Fix the previous. The condition of loop which read GPT partitions had been | YASUOKA Masahiko | |
broken. | |||
2015-09-07 | BOOTX86.EFI should be BOOTIA32.EFI. | YASUOKA Masahiko | |
pointed out deraadt kettenis ok deraadt | |||
2015-09-06 | Use checksum to check the gpt parition. Old check was missing | YASUOKA Masahiko | |
letoh32()/letoh64() calls. Also increase buffer size from 512 to 4092. initial work from krw ok krw | |||
2015-09-05 | Correct bounds checking in efifb_mmap(). ok yasuoka@ | Miod Vallat | |
2015-09-04 | Let efifb depend on rasops32 such that it works on ramdisks where rasops32 | Mark Kettenis | |
isn't brought in by inteldrm or radeondrm. | |||
2015-09-03 | Fix 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-03 | No real point in having efifb(4) on the floppies; we want it on everything | Mark Kettenis | |
else! ok deraadt@ | |||
2015-09-03 | Improve the code that tries to figure out which device we booted from. The | Mark 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-03 | Fix the condition of finding SMBIOS. Found by gerhard@. | YASUOKA Masahiko | |
ok gerhard uebayasi deraadt | |||
2015-09-02 | Use the pointer we got back from alloc() when calling free() instead of | Mark Kettenis | |
something that points smack in the middle of the buffer. | |||
2015-09-02 | sync comment | Christian Weisgerber | |
2015-09-02 | remove a bunch of orphaned prototypes and unused functions; ok miod | Mike Belopuhov | |
2015-09-02 | Add missing copyright. | YASUOKA Masahiko | |
2015-09-02 | enter efiboot | Theo de Raadt | |
2015-09-02 | alloca() no longer needed | Theo de Raadt | |
2015-09-02 | Bring 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-02 | only enter deeper on amd64 | Theo de Raadt | |
2015-09-02 | Initial commit of uefi boot loader of OpenBSD. | YASUOKA Masahiko | |
ok deraadt yuo | |||
2015-09-01 | Always call readdoslabel() before readgptlabel(). Doubly always call them | Kenneth R Westerback | |
in the same order. Fix writedisklabel() to follow these simple rules. ok kettenis@ | |||
2015-09-01 | set sival_ptr before calling trapsignal() for user breakpoint/trace traps | Jonathan Gray | |
ok guenther@ | |||
2015-09-01 | Only advertise the color depth we actually support. This makes the | Mark Kettenis | |
xf86-video-wsfb driver work. Map the framebuffer in write-combining mode. This significantly speeds things up. ok yuo@, yasuoka@, deraadt@ | |||
2015-09-01 | Delete bogus MATH_EMULATE holdover from i386 | Philip Guenther | |
2015-08-31 | Check driver name in match function such that driver only attempts to attach | Mark Kettenis | |
when we actually want it to. ok deraadt@ | |||
2015-08-31 | Enable efifb(4). | YASUOKA Masahiko | |
ok deraadt kettenis | |||
2015-08-30 | Don't try to attach efifb(4) on non-UEFI boots. | Mark Kettenis | |
ok miod@, deraadt@ | |||
2015-08-30 | Modify kernel to prepare boot from UEFI. | YASUOKA Masahiko | |
- Add new boot arg "bios_efi_info_t" to pass the paramters from UEFI - Make bios(4) and acpi(4) be able to probe with the parameters from UEFI - Add efifb(8). It uses the framebuffer from UEFI and it will work as a backend of wsdisplay(4) and wsfb (X11 video driver). Disabled by the kernel config for this moment input and ok kettenis | |||
2015-08-29 | use correct size for free(9), problem reported by Theo Buehler, ok kettenis | Stuart Henderson | |
2015-08-29 | _NLIST_DO_ELF is no longer needed: it's the only option | Philip Guenther | |
ok deraadt@ |