Commit Graph

51799 Commits

Author SHA1 Message Date
PulkoMandy
5de8dca2e4 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.
2014-09-02 18:15:50 +02:00
PulkoMandy
83f5e2a258 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.
2014-09-02 17:01:27 +02:00
Arvind S Raj
3fbb24680c 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. 2014-09-02 13:39:57 +02:00
PulkoMandy
23b891504c 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.
2014-09-02 10:54:07 +02:00
Adrien Destugues
ab280d4400 Fix SVGView test build (missing strings.h include) 2014-09-02 10:16:03 +02:00
Adrien Destugues
e94bd4810e Fix "strict aliasing rules" warnings
Treated as errors when trying to build the test_app_server for x86_64.
2014-09-02 10:16:01 +02:00
Adrien Destugues
dc83a48d25 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.
2014-09-02 10:15:59 +02:00
Adrien Destugues
b367d3a77c registrar ClipboardHandler: Style fixes. 2014-09-02 10:15:57 +02:00
PulkoMandy
90520f9b43 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.
2014-09-02 09:16:54 +02:00
PulkoMandy
2ba0ffcef0 Fix zlib source directory name.
This fixes the non-bootstrap ARM build.
I'm not sure this is the right fix, the zlib package seems to come with a
"source" (not "sources") folder on both ARM and x86_gcc2 but then I
don't understand how this worked for the x86_gcc2 build before.
2014-09-01 23:00:31 +02:00
Alexander von Gluck IV
f3ed89bb64 partition/intel: Fix GPT error language.
* Yeah, intel shouldn't support GPT :-)
2014-09-01 19:41:19 +00:00
Ithamar R. Adema
f9f3b564ac ARM: only enable C++11 for libroot, not globally
This resembles the x86_64 build, and fixes the compilation issues
with the bootloader stdio.h header.

Fixes #11144
2014-09-01 15:28:49 +02:00
Ithamar R. Adema
c144d33901 Json: use B_PRI* constants
This fixes the x86_64 build.
2014-09-01 13:12:59 +02:00
Adrien Destugues
12cd565ad7 SecureSocket: add OpenSSL locking.
This shoiuld make OpenSSL more thread safe and help with the random
network related crashes in Web+ (and anything else using SecureSocket
with more than one thread).
2014-09-01 09:54:46 +02:00
Michael Lotz
064018fbf1 UHCI: Reject request debug transfers on control pipes.
Requests aren't handled in the debug transfer code path and would
end up in wrongly constructed descriptor chains.
2014-09-01 00:12:37 +02:00
Michael Lotz
dbd527de10 usb_keyboard: Try clearing endpoint stall on transfer failure.
As the keyboard is used from usb_hid in the userland as well, we quite
probably are not in sync with the data toggle. Clearing the stall
should restore the toggle and make things work.
2014-08-31 23:02:31 +02:00
Michael Lotz
e31cac6e5a USB: Implement usb_clear_stall kernel debugger command.
It constructs a clear feature request for the endpoint halt selector
and sends the request using debug transfers. Clearing a stall condition
can be done safely and has one nice side effect: it reinitializes the
data toggle to a known state. This command can therefore be used when
a pipe is possibly used from userland as well and the data toggle may
therefore be out of sync.
2014-08-31 23:02:30 +02:00
Michael Lotz
326645d2da usb_keyboard: Simplify to generalized usb_process_transfer. 2014-08-31 23:02:29 +02:00
Michael Lotz
159aa93b31 USB: Generalize logic for debug transfers used within KDL.
Pull debug transfer methods into the base BusManager class and
implement them for UHCI and EHCI. This makes it possible to have a
single debugger command installed by the USB stack instead of HCI
specific ones.
2014-08-31 23:02:29 +02:00
Joseph R. Prostko
1d016b78ec Add Intel Iris Pro Graphics 5200 to the intel_extreme driver
* This enables the intel_extreme driver on the Clevo W740SU and its variants like the System76 Galago UltraPro
2014-08-31 16:04:12 -04:00
Jonathan Schleifer
4409556b7a Small fix for C++11 to make Clang happy 2014-08-31 21:59:28 +02:00
Humdinger
18684e0caf Added alternative and improved icons for Be and Zeta disks 2014-08-31 19:11:09 +02:00
Michael Lotz
dd89f967a7 usb_keyboard: Add support for debug keyboards on all HCIs.
Check for support of debug transfers from all HCIs and use the ones
that provide it.
2014-08-31 12:08:21 +02:00
Michael Lotz
b0e1d28d2b USB: Cleanup hardcoded bitmap size. 2014-08-31 12:08:21 +02:00
Michael Lotz
2747989d9e USB: Warn if debug allocation does not fit debug chunk size. 2014-08-31 12:08:20 +02:00
Michael Lotz
9c0623a8f2 USB: Increase debug chunk size from 64 to 128 bytes.
The queue head structure in EHCI is bigger than the previous debug
chunk size. Multiple allocations therefore overwrote eachother.
2014-08-31 12:08:19 +02:00
Michael Lotz
21c0d3131d USB: Remove check for UHCI in get_usb_pipe_for_id kdl command.
The bus managers check that the pipe belongs to them in their
respective debugger commands.
2014-08-31 12:08:19 +02:00
Michael Lotz
4182d2cadf EHCI: Cleanup member declaration order to match definition. 2014-08-31 12:08:18 +02:00
Michael Lotz
7cbae3c969 EHCI: Implement debug transfers. 2014-08-31 12:08:17 +02:00
Michael Lotz
d7626f8db3 EHCI: Move locking to be only around actually critical section. 2014-08-31 12:08:17 +02:00
Michael Lotz
63cf3cfa11 EHCI: Simplify short packet logic to use alternate pointer.
The alternate pointer is the software equivalent of the alternate
physical address in the hardware queue head part. The controller
follows that path, so we can follow the alternate pointer as well.
Simplifies and generalizes the logic.
2014-08-31 12:08:16 +02:00
François Revol
66b9a96b18 typo 2014-08-31 02:06:37 +02:00
Ithamar R. Adema
586995da47 ARM: make ARM C++ unwind stubs panic
As suggested by Francois, thanks for paying attention!
2014-08-30 16:50:46 -07:00
Ithamar R. Adema
780ca2bd15 ARM: abort() is already pulled in using kernel_util.o
It was just here to make libgcc happy.
2014-08-30 16:43:49 -07:00
Ithamar R. Adema
ad5bdbdfd4 ELF: enlarge the allowed padding between sections
Turns out the padding on ARM is slightly larger, and prevented
the kernel add-ons from being loaded.
2014-08-30 16:43:48 -07:00
Stephan Aßmus
6e48c81bad HaikuDepot: Try to use correct architecture and preferred language...
... when retrieving package info. Added listener support for setting
the summary and description. The list view updates on summary changes.
Those happen (in theory) if the web app provides a translated summary.
2014-08-31 01:31:16 +02:00
Stephan Aßmus
27dd7f6d71 HaikuDepot: Add User-Agent header to web app JSON requests. 2014-08-30 23:42:08 +02:00
Stephan Aßmus
e3fdc8940c HaikuDepot: Use web app bulk transfers.
Collect up to 50 packages and get information about them in a bulk transfer.
If that fails, do it in two smaller transfers, until only one package is
left, fall back to use the getPkg method than.

Remember packages for which there is an icon on the server. After the
first round of reading icons from the cache, only try to fetch icons from
the server for which we know one should be there.

Added quite a bit of command line output to see what is going on.
2014-08-30 23:42:07 +02:00
Stephan Aßmus
630c253b03 HaikuDepot/WebAppInterface: Support bulk transfers.
Refactor code to send different JSON requests.
2014-08-30 23:42:05 +02:00
Stephan Aßmus
e9c77bd249 JSON parser: Added TODOs. 2014-08-30 23:42:04 +02:00
Stephan Aßmus
ee942591ca JSON parser: Fixed increasing position after constants.
The first letter is already increased by the main parse loop.
2014-08-30 23:42:03 +02:00
Stephan Aßmus
ffd7c6110b JSON parser: Improve by using exceptions to get exact error
Also strip redundant "_Parser_" prefix from private methods.
2014-08-30 23:42:02 +02:00
Oliver Tappe
7f9beaf1f8 Fix #11110: problems invoking configure.
* configure without arguments used to work on Haiku, but it no
  longer did since hrev47574 - fix the usage check to make it
  work again.
2014-08-30 21:42:12 +02:00
Ithamar R. Adema
cbe5cf641d ARM: add a couple of ARM specific stubs
These are ARM EABI specific exception handling functions, referenced
from the gcc c++ libraries.
2014-08-30 21:10:27 +02:00
Adrien Destugues
196675be76 es1370: fix build.
It looks like this driver could be used by vmware. Untested.
2014-08-30 14:04:30 +02:00
Humdinger
f8d2409385 Added Intel HD 4600 ID to intel_extreme driver 2014-08-30 11:47:36 +02:00
autonielx
54a3250ae2 Update translations from Pootle 2014-08-30 06:25:03 +02:00
François Revol
19dad39ba8 pc_serial: mention my oxfordsemi 2 ports card and specs 2014-08-30 00:20:30 +02:00
François Revol
61b007a076 serial_mouse: fix string length 2014-08-29 20:30:56 +02:00
François Revol
821075b6ce serial_mouse: also check for "pc_serial#" ports
... since that's what we publish now.
Maybe we should just use the BeOS names instead.
2014-08-29 20:11:38 +02:00