Skip to content
Snippets Groups Projects
  1. Jun 14, 2011
    • Alon Levy's avatar
      libcacard: add libcacard.la target · 44dc0ca3
      Alon Levy authored
      No flag to configure is required. Instead, added a libcacard.la target that
      is not built by default, only when requested explicitly via:
      
      mkdir build
      cd build
      ../configure
      make libcacard.la
      make install-libcacard
      
      Uses libtool to do actual linking of object files and shared library, and
      installing. Tested only under linux, but supposed to work on other systems as
      well.
      
      If libtool isn't found you get a message complaining about that, only at build
      time (since it is not a default target I did not add a message at configure
      time).
      
      New build artifacts:
       .libs subdirectories (at <buildroot> and <buildroot>/libcacard)
       *.lo files (at same locations as the respective o files)
      
      Added %.lo : %.c rule that uses libtool.
      Updated clean rule to clean up those artifacts.
      Added specific rule to call dtrace with libtool wrapper (note that because of
      a current upstream dtrace bug fixed by systemtap b1568fd85 commit the -fPIC flag
      isn't actually passed on. still current dtrace+libtool produced object links fine).
      If libtool is missing any of the following targets will complain and exit 1:
       any subdir: *.lo
       root and libcacard: libcacard.la, libcacard-instsall
      
      Tested to link and load with all tracing backends.
      44dc0ca3
    • Alon Levy's avatar
      configure: add libdir and --libdir · 3aa5d2be
      Alon Levy authored
      3aa5d2be
  2. Jun 13, 2011
  3. Jun 10, 2011
    • Brad Hards's avatar
      doc: Minor typo fix. · caef55ed
      Brad Hards authored
      
      Thanks to agraf_, stefanha and Snader_LB for their IRC assistance.
      
      Thanks to Markus Armbruster and Alexander Graf (again) for their
      assistance with the second version of this patch. No patch is too
      simple to test...
      
      Signed-off-by: default avatarBrad Hards <bradh@frogmouth.net>
      Signed-off-by: default avatarEdgar E. Iglesias <edgar.iglesias@gmail.com>
      caef55ed
    • Alexander Graf's avatar
      sigfd: use pthread_sigmask · 09716e45
      Alexander Graf authored
      
      Qemu uses signalfd to figure out, if a signal occured without the need
      to actually receive the signal. Instead, it can read from the fd to receive
      its news.
      
      Now, we obviously don't always have signalfd around. Especially not on
      non-Linux systems. So what we do there is that we create a new thread,
      block that thread on all signals and simply call sigwait to wait for a
      signal we're interested in to occur.
      
      This all sounds great, but what we're really doing is:
      
          sigset_t all;
      
          sigfillset(&all);
          sigprocmask(SIG_BLOCK, &all, NULL);
      
      which - on Darwin - blocks all signals on the current _process_, not only
      on the current thread. To block signals on the thread, we can use
      pthread_sigmask().
      
      This patch does that, assuming that my above analysis is correct, and thus
      renders Qemu useable on Darwin again.
      
      Reported-by: default avatarAndreas Färber <andreas.faerber@web.de>
      Acked-by: default avatarPaolo Bonizni <pbonzini@redhat.com>
      CC: Jan Kiszka <jan.kiszka@siemens.com>
      CC: Anthony Liguori <anthony@codemonkey.ws>
      Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
      Signed-off-by: default avatarEdgar E. Iglesias <edgar.iglesias@gmail.com>
      09716e45
    • Edgar E. Iglesias's avatar
      Merge remote branch 'rth/axp-next' into alpha-merge · 44829396
      Edgar E. Iglesias authored
      * rth/axp-next: (26 commits)
        target-alpha: Implement TLB flush primitives.
        target-alpha: Use a fixed frequency for the RPCC in system mode.
        target-alpha: Trap for unassigned and unaligned addresses.
        target-alpha: Remap PIO space for 43-bit KSEG for EV6.
        target-alpha: Implement cpu_alpha_handle_mmu_fault for system mode.
        target-alpha: Implement more CALL_PAL values inline.
        target-alpha: Disable interrupts properly.
        target-alpha: All ISA checks to use TB->FLAGS.
        target-alpha: Swap shadow registers moving to/from PALmode.
        target-alpha: Implement do_interrupt for system mode.
        target-alpha: Add IPRs to be used by the emulation PALcode.
        target-alpha: Use kernel mmu_idx for pal_mode.
        target-alpha: Add various symbolic constants.
        target-alpha: Use do_restore_state for arithmetic exceptions.
        target-alpha: Tidy up arithmetic exceptions.
        target-alpha: Tidy exception constants.
        target-alpha: Enable the alpha-softmmu target.
        target-alpha: Rationalize internal processor registers.
        target-alpha: Merge HW_REI and HW_RET implementations.
        target-alpha: Cleanup MMU modes.
        ...
      44829396
    • Edgar E. Iglesias's avatar
      fsdev: Fix archs that dont use fsdev · 1c532d92
      Edgar E. Iglesias authored
      
      Fix provided by: "Aneesh Kumar K.V" <aneesh.kumar@linux.vnet.ibm.com>
      
      Signed-off-by: default avatarEdgar E. Iglesias <edgar.iglesias@gmail.com>
      1c532d92
  4. Jun 08, 2011
  5. Jun 07, 2011
Loading