summaryrefslogtreecommitdiff
path: root/sys/arch
AgeCommit message (Collapse)Author
2015-11-12get rid of IFQ_POLL.David Gwynne
IFQ_POLL(&ifp->if_snd, m); if (m == NULL) return; IFQ_DEQUEUE(&ifp->if_snd, m); is the same as IFQ_DEQUEUE(&ifp->if_snd, m); if (m == NULL) return; ok mpi@
2015-11-10Define pmap_nested() here too, since we define PMAP_EXCLUDE_DECLS for the sakeMiod Vallat
of <uvm/uvm_pmap.h>.
2015-11-10pmap changes required for vmm. Changes include addition of pm_type toMike Larkin
track type of pmap and various conversion and pte bit manipulation functions for EPT.
2015-11-10Make TCB_GET() in the kernel return a (void *) like all the others archsPhilip Guenther
problem reported by semarie@
2015-11-09Cache the result of cpuid leaf function $0x1 from the host's boot CPUMike Larkin
during locore, information based on this will be returned to guest VMs issuing cpuid instructions later, under certain circumstances.
2015-11-09Bring GPT validity checking into line with kern/subr_disk.c . InKenneth R Westerback
particular don't attempt to calcuate the header checksum using a size that will cause a crash. Tested & ok yasuoka@
2015-11-09EPT paging permission bits for amd64, will be used in subsequent pmapMike Larkin
changes for vmm.
2015-11-08Make "machine disk" show some info for EFI instead of info for BIOS.YASUOKA Masahiko
2015-11-08Make the variables be "const" and fix white space.YASUOKA Masahiko
2015-11-07Spell `unused' correctly.Miod Vallat
2015-11-07Disable red-zone since EFI is running with a different ABI.YASUOKA Masahiko
This may fixes the issue when loading a compressed kernel on macbook reported by gonzalo, jung, Joel Roberts, Bryan Vyhmeist and many.
2015-11-07get rid of IF_PREPEND by switching to IFQ_POLL/IFQ_DEQUEUE.David Gwynne
IF_PREPEND only checks priq state, so it wont work out well if you're using hfsc. tested by miod@ ok mpi@ miod@
2015-11-07Allow overriding ghash_update() with an optimized MD function. UseChristian Weisgerber
this on amd64 to provide a version that uses the PCLMUL instruction on CPUs that support it but don't have AESNI. ok mikeb@
2015-11-06make hfsc work on ie(4/sparc) by using IFQ_DEQUEUE instead of IF_DEQUEUE.David Gwynne
2015-11-06Use m_defrag(9) when we fail to load fragmented mbuf chains.Martin Pieuchot
From Richard Procter <richard DOT n DOT procter AT gmail DOT com>. ok dlg@
2015-11-06use IFQ_DEQUEUE, not IF_DEQUEUE, to pull off the send queue.David Gwynne
this is more correct, as it supports hfsc use on these interfaces.
2015-11-06Move the logic for adjusting userspace registers in the child after forkPhilip Guenther
from cpu_fork() to child_return(), putting all the SYSCALL_G2RFLAG logic in trap.c sparc testing by sebastia@ and miod@
2015-11-06Only read/write cr4 if we have a bit to set after testing the variousJonathan Gray
cpuid based flags. Unlike amd64 there is no CR4_DEFAULT used here, cr4 does not exist on most/all? 486s and cr4 access traps on Cyrix 5x86 processors. Should fix a regression introduced in rev 1.65 encountered by 'Ppractivus' on a 5x86. "looks good" guenther@
2015-11-05Now that the kernel virtual address space has been made larger, even onMiod Vallat
sun4/4c/4e, increase NKMEMPAGES_MAX_DEFAULT to the same value as platforms with limited, but not horribly limited, kva size.
2015-11-05Fix build with DEBUG_INTC defined; from Daniel Bolgheroni on tech@Miod Vallat
2015-11-03Ignore disks whose media is not present.YASUOKA Masahiko
2015-11-03Use "Loaded Image Protocol" instead of "Loaded Device Path Protocol"YASUOKA Masahiko
to find the boot device since macbook doesn't support later protocol. reported by Joel Roberts and Bryan Vyhmeister
2015-11-02Define KERNBASE in addition to LINK_ADDRESS.Miod Vallat
2015-11-02Only define KERNBASE if defined(_KERNEL), for nothing in userland needs it,Miod Vallat
and only if not already defined. Allows for KERNBASE to be defined elsewhere.
2015-11-02intr_barrier() stub.Martin Pieuchot
ok miod@
2015-11-01replace "can not" with "cannot";Jason McIntyre
2015-11-01Remove the definition of USRTEXT. It has no relevance outside of the non-PIEMiod Vallat
a.out world. ok deraadt@ kettenis@
2015-10-30Fix interaction between inteldrm(4) and efifb(4). If we were booted by UEFIMark Kettenis
firmware and the efifb(4) framebuffer address matches one of the BARs associated with the inteldrm(4) device, make inteldrm(4) the console and prevent efifb(4) from attaching. Make sure that we do a full clear of the framebuffer when inteldrm(4) attaches to prevent the contents of the old framebuffer from showing up. Based on an earlier diff from yasuoka@ ok yasuoka@
2015-10-30Use NULL instead of 0 for pci_decompose_tag() pointer arguments.Miod Vallat
2015-10-29Remove duplicated prototype.Miod Vallat
2015-10-29Make inteldrm(4) attach to pci(4) instead of vga(4) just like radeondrm(4).Mark Kettenis
This is needed for machines where Intel graphics isn't the primary graphics device and on systems with UEFI firmware that put the device in non-VGA mode. ok jsg@
2015-10-28Enable TCP/UDP checksum offloading on packet transmission.Visa Hankala
ok mpi@
2015-10-28Add proper padding to packets that the hardware does not recognize asVisa Hankala
IP, to avoid memory alignment issues in the IP stack. ok miod@, mpi@
2015-10-28Support backspace in softraid boot passphrase prompt.Joel Sing
From uwe@
2015-10-28missing splx in error pathJonathan Gray
same change made in the sparc equivalent a while ago
2015-10-27arp_ifinit() is no longer needed.Martin Pieuchot
2015-10-27arp_ifinit() is no longer needed.Martin Pieuchot
2015-10-25enable asmc(4) on i386Joerg Jung
2015-10-25arp_ifinit() is no longer needed.Martin Pieuchot
2015-10-24Make use of hardware RX checksum validation.Visa Hankala
ok naddy@
2015-10-23Allocate a new major for tap(4) also note that pseudo-device tun is for tapClaudio Jeker
as well. OK dlg@ mpi@
2015-10-23Zap pv allocation abstraction layer.Mark Kettenis
ok mlarkin@
2015-10-23enable viornd on RAMDISK_CDMike Larkin
ok kettenis@, deraadt@
2015-10-22Build boot blocks with -msmall-data -msmall-text.Miod Vallat
2015-10-21Do not call uvm_swap_finicrypt_all() a second time in dumpsys().Martin Pieuchot
ok tedu@, deraadt@, miod@
2015-10-15No need to create links for xxboot now that MI installboot is the preferredMiod Vallat
way to install boot blocks.
2015-10-15Let the rx path of cnmac run without the kernel lock. To avoid the needVisa Hankala
of a mutex, the path no longer cleans up the queue of tx requests. ok mpi@
2015-10-08After replacement alloca() with alloc(), out-of-heap happened when bootingYASUOKA Masahiko
on a large block size (32K) partition. Increase the HEAP_LIMIT from 0x90000 to 0xA0000. try this, deraadt
2015-10-0816 years after E801 memprobe was disabled, probably safe to delete it.Ted Unangst
ok deraadt jung kettenis ratchov
2015-10-08Remove the sc_soft_req_cnt field because the number of tx requests isVisa Hankala
already tracked in sc_sendq. Replace the sc_flush logic with a simple Fetch-and-Add store that avoids an unnecessary IOBDMA transaction. ok uebayasi@