Source Activity

Syndicate content
Updated: 6 min 39 sec ago

Style fix: line length

Wed, 2014-09-03 22:46
Style fix: line length
Categories: Development

Relaxed CORB read pointer reset checking for nVidia HDA

Wed, 2014-09-03 22:46
Relaxed CORB read pointer reset checking for nVidia HDA

* At least some nVidia HDA controllers do not acknowledge the CORB
  read pointer reset, which is required by the spec (cf. HDA 1.0a
  ch. 3.3.21). For these controllers, do not fail when acknowledge
  is missing.

* Makes hda driver work for nVidia HDA controllers again, thus fixing
  the regression pointed out in #10212.
Categories: Development

HaikuDepot: Removed debugging left-over.

Wed, 2014-09-03 21:44
HaikuDepot: Removed debugging left-over.
Categories: Development

HaikuDepot: Implemented getting user-ratings for packages.

Wed, 2014-09-03 21:42
HaikuDepot: Implemented getting user-ratings for packages.

This happens when a package is first clicked, and its details are shown.
Currently, ratings can only be entered via the web-app.
Categories: Development

HaikuDepot: Update for web-app API changes.

Wed, 2014-09-03 20:54
HaikuDepot: Update for web-app API changes.

 * Category identifyers are lower-case, we can use the "name" facility which
   already existed for this purpose and simply iterate the list of known
   categories.
 * The getBulkPkg method now takes the architectures as a list as well,
   helps with finding the right package in case there is a mix of
   architectures across the requested package names.
Categories: Development

usb: fix format string

Tue, 2014-09-02 21:35
usb: fix format string

fDebugChunkSize is an uint32.

Signed-off-by: Paweł Dziepak 
Categories: Development

Use uncached memory areas if snooping is not possible

Tue, 2014-09-02 21:10
Use uncached memory areas if snooping is not possible

* Some chipsets do not support bus-snooping for the HDA data
  transfers. So, when trying to enable snooping, verify that the
  setting was accepted.

* When snooping is not possible, set memory areas for audio buffers,
  buffer descriptor lists and command ring-buffers as uncached to
  ensure memory coherency with the HDA controller.

* This fixes KDLs during booting on some systems where snooping
  is not supported (seen on two systems with AMD chipsets, maybe
  applies to others as well).
  After setting up the buffer descriptor list for a stream, it was a
  gamble whether these writes would be visible to the HDA controller
  when subsequently enabling the stream. On some boots it was unlucky
  and then the HDA controller's DMA engine would go haywire and start
  overwriting random kernel memory with audio input data. The
  scheduler was usually the first victim and caused page fault KDLs
  due to corrupted data structures.
Categories: Development

Preserve reserved bits in registers

Tue, 2014-09-02 21:10
Preserve reserved bits in registers

* Do read-modify-write cycle to preserve bits marked as RsvdP in the
  following registers: WAKEEN, CORBWP, CORBCTL, CORBSIZE, RIRBWP,
  RINTCNT, RIRBCTL, RIRBSIZE.
Categories: Development

Use correct sequence for resetting CORB read pointer

Tue, 2014-09-02 21:10
Use correct sequence for resetting CORB read pointer

* Spec requires software to wait for hardware to acknowledge the
  reset by waiting for the bit to become set and then manually
  unset it and again wait for it to become unset.
  (cf. HDA spec 1.0a ch. 3.3.21)

* Also, do read-modify-write to protect preserved bits
Categories: Development

Read back CORB/RIRB control register to ensure DMA has stopped

Tue, 2014-09-02 21:10
Read back CORB/RIRB control register to ensure DMA has stopped

* Spec is somewhat unclear about whether that is really necessary,
  but let's play safe.
Categories: Development

update devIL and dependencies.

Tue, 2014-09-02 21:06
update devIL and dependencies.
Categories: Development

Bootloader: fix loading of ARM ELF files

Tue, 2014-09-02 16:15
Bootloader: fix loading of ARM ELF files

 * Let the loader know about PT_ARM_UNWIND (and ignore it)
 * Allow up to 32K of space between sections of an ELF files as ARM ones
need that.
Categories: Development

Fix stack alignment for bootloader.

Tue, 2014-09-02 15:01
Fix stack alignment for bootloader.

The ARM SP is pointing to the top item of the stack, not the first free
byte. This was confusing dprintf making it fail to print 64bit integers.
Categories: Development

Added check to ensure KDL does not include frames beyond kernel entry in the backtrace. This prevents KDL from faulting when printing backtrace on ARM.

Tue, 2014-09-02 11:39
Added check to ensure KDL does not include frames beyond kernel entry in the backtrace. This prevents KDL from faulting when printing backtrace on ARM.
Categories: Development

Define the minimum-mmc profile for the ARM build.

Tue, 2014-09-02 08:54
Define the minimum-mmc profile for the ARM build.

Now that the fake packages are in place, it is much easier to build the
MMC image for ARM without the need for a bootstrap build.

This image still does not manage to access the tarfs and load the kernel
modules, but it gets to KDL, at least.
Categories: Development

Fix SVGView test build (missing strings.h include)

Tue, 2014-09-02 08:16
Fix SVGView test build (missing strings.h include)
Categories: Development

Fix "strict aliasing rules" warnings

Tue, 2014-09-02 08:16
Fix "strict aliasing rules" warnings

Treated as errors when trying to build the test_app_server for x86_64.
Categories: Development

Make TargetLibstdc++ work for libbe_test target

Tue, 2014-09-02 08:15
Make TargetLibstdc++ work for libbe_test target

Needed for the test_app_server.
The logic here may need some improvements, but I'm not sure how to find
the right library name in all cases. I fixed at least the x86_gcc2 case
here.
Categories: Development

registrar ClipboardHandler: Style fixes.

Tue, 2014-09-02 08:15
registrar ClipboardHandler: Style fixes.
Categories: Development

Second attempt at fixing non-bootstrap ARM build

Tue, 2014-09-02 07:16
Second attempt at fixing non-bootstrap ARM build

- Revert the change to BuildFeature since the latest version of the zlib
sources package indeed uses the correct "sources" directory.
- Make the fake zlib package for ARM use the same revision number as the
current zlib version (4) so it can use the current version of the source
package instead of some older one.
Categories: Development