Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: user/marcel/vt…
Commits on Apr 10, 2012
  1. In vtc_tty_outwakeup: get 80 characters at a time and loop until

    marcel authored
    	we drained the outq.
    In vtc_tty_ioctl: return ENOIOCTL by default to have the generic
    	TTY code handle the request.
    In vtc_tty_param: set CLOCAL so that the TTY isn't trying to wait
    	for DCD.
  2. Add vtc(4) to the build.

    marcel authored
  3. Add the vtc(4) driver. A driver for standard VGA is provided for

    marcel authored
    the low-level console. A logo of beastie (4.4BSD daemon without
    the Sun) is displayed when vtc(4) is not the console and the vga
    driver attaches.
  4. Add header for VGA definitions.

    marcel authored
  5. Bootstrap the vtc.sys branch.

    marcel authored
  6. @grimreaper

    Update examples with corrections from the author

    grimreaper authored
    PR:		ports/160689
    Submitted by:
    Approved by:	cperciva (implicit)
    MFC after:	1 days (with r233429)
Commits on Apr 9, 2012
  1. BSP is not added to the mask of valid target CPUs for interrupts

    attilio authored
    in set_apic_interrupt_ids(). Besides, set_apic_interrupts_ids() is not
    called in the !SMP case too.
    Fix this by:
    - Adding the BSP as an interrupt target directly in cpu_startup().
    - Remove an obsolete optimization where the BSP are skipped in
    Reported by:	jh
    Reviewed by:	jhb
    MFC after:	3 days
    X-MFC:		r233961
    Pointy hat to:	me
  2. @jillest

    Remove unused and wrong SA_PROC internal signal property.

    jillest authored
    The SA_PROC signal property indicated whether each signal number is directed
    at a specific thread or at the process in general. However, that depends on
    how the signal was generated and not on the signal number. SA_PROC was not
  3. Improve error reporting when no cpufreq(4) support is available.

    rmh authored
    Reviewed by:	njl, acpi
  4. Include <signal.h> (for SIGINFO).

    rmh authored
  5. @amotin

    Microoptimize cpu_search().

    amotin authored
    According to profiling, it makes one take 6% of CPU time on hackbench
    with its million of context switches per second, instead of 8% before.
  6. - Introduce a cache-miss optimization for consistency with other

    attilio authored
      accesses of the cache member of vm_object objects.
    - Use novel vm_page_is_cached() for checks outside of the vm subsystem.
    Reviewed by:	alc
    MFC after:	2 weeks
    X-MFC:		r234039
  7. @DimitryAndric

    Since truss also uses kdump's mkioctls script, pass the value of ${CPP}

    DimitryAndric authored
    there too, similar to r234058.
    MFC after:	1 week
  8. @bsdjhb

    Recognize the RDRAND instruction feature.

    bsdjhb authored
    Submitted by:	Michael Fuckner  michael fuckner net
    MFC after:	3 days
  9. @DimitryAndric

    In kdump's mkioctls script, use '${CPP}' instead of hardcodedly using

    DimitryAndric authored
    'gcc -E'.  This fixes building when WITH_CLANG_IS_CC is in effect.
    Report by:	Niclas Zeising <>
    MFC after:	1 week
  10. @jillest

    sem_open: Make sure to fail an O_CREAT|O_EXCL open, even if that sema…

    jillest authored
    is already open in this process.
    If the named semaphore is already open, sem_open() only increments a
    reference count and did not take the flags into account (which otherwise
    happens by passing them to open()). Add an extra check for O_CREAT|O_EXCL.
    PR:		kern/166706
    Reviewed by:	davidxu
    MFC after:	10 days
  11. Fix a couple of style issues. Tweak grammar and markup while here.

    bjk authored
    Approved by:	hrs (mentor)
Commits on Apr 8, 2012
  1. @avg-I

    intpm: return only SMB bus error codes from SMB methods

    avg-I authored
    PR:		kern/25733
    MFC after:	5 days
  2. @avg-I

    intpm: reflect the fact that SB800 and later AMD chipsets are not sup…

    avg-I authored
    They do not have compatible configuration registers in PCI configuration
    space.  Instead their configuration resides in AMD "PM I/O" space
    (accessed via a pair of I/O space registers).
    MFC after:	5 days
  3. Fix mincore(2) so that it reports PG_CACHED pages as resident.

    alc authored
    MFC after:	2 weeks
  4. If a page belonging a reservation is cached, then mark the reservatio…

    alc authored
    …n so
    that it will be freed to the cache pool rather than the default pool.
    Otherwise, the cached pages within the reservation may be recycled sooner
    than necessary.
    Reported by:	Andrey Zonov
  5. @trasz

    Fix panic in ffs_reload(), which may happen when read-only filesystem

    trasz authored
    gets resized and then reloaded.
    Reviewed by:	kib, mckusick (earlier version)
    Sponsored by:	The FreeBSD Foundation
  6. @rwatson

    Merge a local fix to OpenBSM's libauditd to avoid a directory descriptor

    rwatson authored
    leak when iterating over possible audit trail directories.  This fix will
    be merged upstream in an identical form, but hasn't yet appeared in an
    OpenBSM release.
    Submitted by:	guido
    Obtained from:	TrustedBSD Project
    MFC after:	3 days
  7. @rwatson

    When allocation of labels on files is implicitly disabled due to MAC

    rwatson authored
    policy configuration, avoid leaking resources following failed calls
    to get and set MAC labels by file descriptor.
    Reported by:	Mateusz Guzik <mjguzik at> + clang scan-build
    MFC after:	3 days
  8. @stass

    - Update FreeBSD's Heimdal distribution to 1.5.2. This is a bugfix

    stass authored
      release, which fixes a DoS issue in libkrb5.
  9. Expand locking around identification of filesystem mount point when

    mckusick authored
    accounting for I/O counts at completion of I/O operation. Also switch
    from using global devmtx to vnode mutex to reduce contention.
    Suggested and reviewed by: kib
  10. Add I/O accounting to msdos filesystem.

    mckusick authored
    Suggested and reviewed by: kib
  11. Drop an unnecessary setting of si_mountpt when updating a UFS mount p…

    mckusick authored
    Clearly it must have been set when the mount was done.
    Reviewed by: kib
  12. Add some statistics to track BAR TX.

    adrian authored
  13. Add AR_ISR_S5 and AR_ISR_S5_S.

    adrian authored
  14. Unlike other functions __aeabi_read_tp function must preserve r1-r3. The

    andrew authored
    currently generated code clobbers r3. Fix this by loading ARM_TP_ADDRESS
    using inline assembly.
    Approved by:	imp (mentor)
  15. @stass

    - Add a "real" symbol version map to libasn1. The upstream version

    stass authored
      of the version map just exported all the symbols, which caused a
      binutils bug being triggered when ld fails to link two objects, one
      of which exports a versioned version of the symbol, and another --
      unversioned. [1]
    - Also add version map for libkafs5.
    Submitted by:	jchandra@ (based on)
  16. @stass
  17. After reviewing the mcast/sleep station code a little, undo some brain

    adrian authored
    damage which I committed when I had less clue about such things.
    Don't ever put normal data frames on the mcast software queue.
    Just put mcast frames there if needed.
    Pass the txq decision into ath_tx_normal_setup(), as we've already made
    the decision.  Don't re-do it.
    Whilst i'm here, add another random debugging statement.
Something went wrong with that request. Please try again.