summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2020-05-25Adjust fwrandom() to return 0 for sucess, -1 for failureTheo de Raadt
2020-05-25add wsmoused support to efifbJonathan Gray
from John Carmack
2020-05-25Use <dev/clock_subr.h> in mcclock(4).Visa Hankala
Tested on Yeeloong. Looks good to miod@
2020-05-25Use <dev/clock_subr.h> in mfokclock(4).Visa Hankala
Looks good to miod@
2020-05-25Pass boothowto from the bootloader to the kernel on octeon.Visa Hankala
OK deraadt@
2020-05-25Mix board information into the entropy pool.Visa Hankala
The data are static but they introduce differences between systems. OK deraadt@
2009-12-25By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2009-11-26By popular demand and peer pressure, check-in work in progress work to supportMiod Vallat
the Yeelong Lemote mips-based netbook. Kernel bits only for now, needs polishing; most of this work done during h2k9 last month, although the porting effort started earlier this year.
2020-05-25change wsdisplay attribute type from long to uint32_tJonathan Gray
miod explained it was initially a long as it was thought drivers may need to allocate storage but in practice they don't need more than 32 bits for an attribute. suggested and reviewed by miod@
2020-05-25rename wsdisplay alloc_attr() to pack_attr()Jonathan Gray
Suggested by John Carmack. miod agrees a rename would make sense and explained it was initially thought drivers may need to allocate storage but in practice they don't need more than 32 bits for an attribute. ok mpi@
2020-05-25Kill unused cdev_pc_init().Martin Pieuchot
ok kettenis@, visa@
2020-05-25Add support for write operations to diskstrategy().Theo de Raadt
2020-05-25The dependencies were insufficient.Theo de Raadt
2020-05-23Look at the openbsd,boothowto property and bring the bootarg parsingMark Kettenis
code in line with arm64. ok deraadt@
2020-05-23Add a little bit of const-ness.Mark Kettenis
2020-05-23Define PTE bits.Mark Kettenis
2020-05-23Clean up the code that implements the OPAL API.Mark Kettenis
2020-05-23Implement kqueue(2) support.Martin Pieuchot
inputs & ok kettenis@
2020-05-23remove ifdef'd out tc fb cnattach bitsJonathan Gray
miod@ agrees this can go
2020-05-23Use a distinct trap code with retguard on mips64.Visa Hankala
This lets the kernel detect retguard traps and send SIGABRT instead of SIGEMT. SIGEMT does not indicate correctly the nature of the error (stack overflow, violation of control flow). It can confuse the user to restart the program without further investigation. Prompted by and OK deraadt@ OK mortimer@
2020-05-23remove more cfb and sfb bitsJonathan Gray
2020-05-23remove cfb and sfb alpha tc fb driversJonathan Gray
These were removed from files.alpha 1.105 in 2017 and the rcons bits they reference were removed in 2006. removal suggested by miod@
2020-05-22Fill complete trap frame.Mark Kettenis
2020-05-22Panic on unhandled traps (which for now is all of them).Mark Kettenis
2020-05-22Reboot (unconditionally for now).Mark Kettenis
2020-05-22Add some very simple trap handling.Mark Kettenis
2020-05-22Enable option FFS2 on RAMDISK; ok aoyama@ deraadt@Otto Moerbeek
2020-05-22Enable bwfm(4).Patrick Wildt
2020-05-22Enable mvkpcie(4).Patrick Wildt
2020-05-22Copy db_disasm.c from powerpc to powerpc64.gkoehler
This includes my last change to decode the %{ds}(%{A}) operand of ld, std instructions. ok drahn@
2020-05-22Decode the %{ds}(%{A}) operand of ld, std instructions.gkoehler
I don't expect to see these 64-bit instructions in 32-bit kernels, but I'm going to copy this code to powerpc64. ok drahn@
2020-05-21Claim the memory region reserved for the interrupt vectors.Mark Kettenis
2020-05-21Use <dev/clock_subr.h> in dsclock(4).Visa Hankala
Looks good to miod@
2020-05-21Use <dev/clock_subr.h> in dpclock(4).Visa Hankala
Looks good to miod@
2020-05-21Use <dev/clock_subr.h> in dsrtc(4).Visa Hankala
Tested on IP30 with DS1687. Looks good to miod@
2020-05-21Remove sparc64 mutex.S.Visa Hankala
The architecture has been using the MI mutex for a while. OK mpi@
2020-05-18Oops, DDB wrapper around setjmp/longjmp was misplacedTheo de Raadt
2020-05-18Move boot.mac into the Attic.Patrick Wildt
ok deraadt@
2020-05-18Our check to see if the EFI services support Mtftp() doesn't workPatrick 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-18Enable amlpwrc(4).Mark Kettenis
2020-05-18Fix typoClaudio Jeker
2020-05-17Add enough stubs to allow "option DDB" to build.gkoehler
ok kettenis@
2020-05-17Use a register varible ro implement curpcu().Mark Kettenis
2020-05-17Add machdep.compatible.Mark Kettenis
ok jsg@
2020-05-17Look at the openbsd,boothowto property.Mark Kettenis
ok visa@
2020-05-17Hand those pages over to uvm.Mark Kettenis
2020-05-17Remove board ID support. 6.7 shipped with a kernel that doesn't needMark Kettenis
it anymore. jsg@
2020-05-17Put setjmp+longjmp inside #ifdef DDB the only kernel-side user.Theo de Raadt
This shrinks the ramdisks a tiny bit.
2020-05-17Fix typo in comment.Mark Kettenis
2020-05-17The 64-bit Power ABI reserves r13 for the thread pointer, so use thatMark Kettenis
to hold a pointer to our struct cpu_info.