Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-05-18 | Oops, DDB wrapper around setjmp/longjmp was misplaced | Theo de Raadt | |
2020-05-18 | Move boot.mac into the Attic. | Patrick Wildt | |
ok deraadt@ | |||
2020-05-18 | Our check to see if the EFI services support Mtftp() doesn't work | Patrick Wildt | |
on U-Boot anymore, since we checked if the method is provided, but now U-Boot provides a simple stub that only returns EFI_UNSUPPORTED. A proper UEFI would throw EFI_INVALID_PARAMETER if we pass NULL as first parameter, but U-Boot doesn't. This way we can see if the method is actually provided and not just a stub. ok kettenis@ | |||
2020-05-18 | Enable amlpwrc(4). | Mark Kettenis | |
2020-05-18 | Fix typo | Claudio Jeker | |
2020-05-17 | Add enough stubs to allow "option DDB" to build. | gkoehler | |
ok kettenis@ | |||
2020-05-17 | Use a register varible ro implement curpcu(). | Mark Kettenis | |
2020-05-17 | Add machdep.compatible. | Mark Kettenis | |
ok jsg@ | |||
2020-05-17 | Look at the openbsd,boothowto property. | Mark Kettenis | |
ok visa@ | |||
2020-05-17 | Hand those pages over to uvm. | Mark Kettenis | |
2020-05-17 | Remove board ID support. 6.7 shipped with a kernel that doesn't need | Mark Kettenis | |
it anymore. jsg@ | |||
2020-05-17 | Put setjmp+longjmp inside #ifdef DDB the only kernel-side user. | Theo de Raadt | |
This shrinks the ramdisks a tiny bit. | |||
2020-05-17 | Fix typo in comment. | Mark Kettenis | |
2020-05-17 | The 64-bit Power ABI reserves r13 for the thread pointer, so use that | Mark Kettenis | |
to hold a pointer to our struct cpu_info. | |||
2020-05-17 | Fix WITNESS build | kn | |
sparc64 (and arm mem.c) are the only architectures/places where RWLOCK_INITIALIZER() is used with static function variables, all other (mem.c) usages place it into the global scope. Fix builds with WITNESS enabled for sparc64 and arm by moving physlock into global scope: mem.c:93: error: initializer element is not constant mem.c:93: error: (near initialization for 'physlock.rwl_lock_obj.lo_type') OK visa | |||
2020-05-17 | Add machdep.compatible. | Mark Kettenis | |
ok jsg@ | |||
2020-05-17 | Do not redefine todr_handle. The variable now lives in kern_time.c. | Visa Hankala | |
OK kettenis@ cheloha@ | |||
2020-05-16 | Get memory information from the device tree. | Mark Kettenis | |
2020-05-16 | Planting the first seed for OpenBSD/powerpc64. | Mark Kettenis | |
2020-05-16 | Make inittodr() and resettodr() MI. | Mark Kettenis | |
ok deraadt@, mpi@, visa@ ok cheloha@ as well (would have preferred in new file for this code) | |||
2020-05-16 | Use todr_gettime() in cp0_calibrate() on mips64. | Visa Hankala | |
This allows changing RTC drivers from <mips64/dev/clockvar.h> to <dev/clock_subr.h> API. OK kettenis@ | |||
2020-05-15 | disable ohci to compensate for bloat. | Theo de Raadt | |
sad | |||
2020-05-14 | The dwctwo(4) FDT glue is now identical on armv7 and arm64. Move it to | Mark Kettenis | |
/dev/fdt. ok patrick@, visa@ | |||
2020-05-14 | Bring back the acpi(4) changes. This time around only use the ACPI _CRS | Mark Kettenis | |
information on ACPI 5.0 and later. ok krw@, patrick@ | |||
2020-05-14 | Use '/t' on all architectures to get a trace via TID. | Martin Pieuchot | |
ok sthen@, patrick@ | |||
2020-05-13 | Kill biospoll/pctrpoll defines and use `seltrue' directly in cdev_*_init(). | Martin Pieuchot | |
While here use the kqfilter equivalent to `seltrue' to ensure both interfaces are coherent. ok visa@ | |||
2020-05-13 | Match direct `seltrue' usages with a corresponding `seltrue_kqfilter'. | Martin Pieuchot | |
This ensure spec_kqfilter() won't return an error when spec_poll() returns success for a given device. ok visa@ | |||
2020-05-12 | Finally switch luna88k to the same inittodr()/resettodr() implementation | Mark Kettenis | |
as all the other architectures. | |||
2020-05-11 | Use the same inittodr()/resettodr() implementation as on | Mark Kettenis | |
amd64/arm64/armv7/hppa/i386/landisk/macppc/mips64/sparc64 and move it to the end of machdep.c. Wrap the existing clockfns hooks into something that can be used as a todr_handle. ok deraadt@ | |||
2020-05-11 | Should have bumped this to 1.0 a long time ago. | Mark Kettenis | |
2020-05-11 | On ACPI systems, if there is no SPCR table (or if it doesn't provide us | Mark Kettenis | |
with a usable serial console) switch to the framebuffer console. This makes the rpi4 do the right thing since the SPCR table is suppressed when you select "Graphics" as the display. ok patrick@ | |||
2020-05-11 | Use the same inittodr()/resettodr() implementation as on | Mark Kettenis | |
amd64/arm64/armv7/hppa/i386/macppc/mips64/sparc64 and move it to the end of sh_machdep.c. Wrap the existing sh_clock.rtc hooks into something that can be used as a todr_handle. ok mpi@ | |||
2020-05-11 | Initialize the timeval passed to todr_gettime() with the base time from | Mark Kettenis | |
the file system such that implementations can use it to guess the right century. ok mpi@ | |||
2020-05-10 | Pass boothowto from the bootloader to the kernel by adding a | Mark Kettenis | |
openbsd,boothowto property under /chosen. ok patrick@ | |||
2020-05-10 | Pass boothowto from the bootloader to the kernel by adding a | Mark Kettenis | |
openbsd,boothowto property under /chosen. ok patrick@ | |||
2020-05-09 | Use the same inittodr()/resettodr() implementation as on | Mark Kettenis | |
amd64/arm64/armv7/hppa/i386/macppc/sparc64 and move it to the end of mips64_machdep.c. Wrap the existing tod_get and tod_set hooks into something that can be used as a todr_handle. ok visa@ | |||
2020-05-02 | Get bus number from _CRS. | Mark Kettenis | |
ok sthen@, deraadt@ | |||
2020-05-02 | Fix buglet in previous commit; use time from the struct timeval that was | Mark Kettenis | |
passed in when setting the RTC time instead of the global time_second. ok mpi@ | |||
2020-05-01 | Use the same inittodr()/resettodr() implementation as on | Mark Kettenis | |
amd64/arm64/armv7/i386/hppa/sparc64 and move it to the end of machdep.c. Wrap the existing time_read and time_write hooks into something that can be used as a todr_handle. ok mpi@ | |||
2020-05-01 | Use the same inittodr()/resettodr() implementation as on | Mark Kettenis | |
amd64/arm64/armv7/i386/sparc64 and move it to the end of machdep.c. Rework the actual implementation for the MC14818 compatible RTC into something that can be used as a todr_handle just like on amd64. ok mpi@ | |||
2020-04-29 | Enable a bunch of drivers needed for full Raspberry Pi 2/3 support. | Mark Kettenis | |
2020-04-29 | Let the armv7 bus_dma layer and simplebus(4) implementation deal with | Mark Kettenis | |
DMA remapping in the same way as arm64. This relies on the dma-ranges property in the device tree and allows us to get rid of the hack for the Raspberry Pi in the dwctwo(4) driver. Note that this does not include the hack in simplebus(4) that we have on arm64 since firmware that has the dma-ranges is in widespread use now. ok patrick@ | |||
2020-04-29 | Use the same inittodr()/resettodr() implementation as on | Mark Kettenis | |
amd64/arm64/armv7/sparc64 and move it to the end of machdep.c. Rework the actual implementation for the MC14818 compatible RTC into something that can be used as a todr_handle just like on amd64. ok sthen@ | |||
2020-04-28 | Use the same inittodr()/resettodr() implementation as on arm64/armv7/sparc64 | Mark Kettenis | |
and move it to the end of machdep.c. Rework the actual implementation for te MC14818 compatible RTC into something that can be used as a todr_handle. ok mpi@ | |||
2020-04-28 | Use the same inittodr()/resettodr() implementation as on arm64/armv7 | Mark Kettenis | |
and move it to the end of machdep.o. ok mpi@ | |||
2020-04-27 | Enable tcpci(4). | Patrick Wildt | |
2020-04-27 | Add bcmclock(4) and bcmmbox(4). Fixes a hang because the clock for sdhc(4) | Mark Kettenis | |
can't be enabled. | |||
2020-04-27 | Remove reset hack; these days the U-Boot we ship for the CuBox-i is | Mark Kettenis | |
perfectly happy without it. ok patrick@ | |||
2020-04-27 | Bring inittodr()/resettodr() in line with arm64 and move it to | Mark Kettenis | |
arrm32_machdep.c. ok mpi@ | |||
2020-04-27 | Move inittodr() and resettodr() to the end of the file to easy move an MI | Mark Kettenis | |
implementation. ok mpi@ |