51407 Commits

Author SHA1 Message Date
Fredrik Holmqvist
95b6779381 Format code, add display device base.
Still very much work in progress.
hrev47836
2014-09-07 21:20:35 +02:00
Ithamar R. Adema
f1d7e394e4 ARM: update TODO list once again
* stackcrawl is implemented
* B_MAX_CPU_COUNT is no more
* add some bootloader TODOs
hrev47835
2014-09-07 21:14:23 +02:00
Ithamar R. Adema
eea45d0a32 ARM: cleanup of bootloader memory mapping
* Removes default mapping of a portion of the RAM (will be done
  as needed)
* Passes on the page directory area to kernel, so on early vm init
  the kernel can use the area for pagetable allocation.
* Leaves it to the platform to pass in physical memory range(s). This
  will ultimately come from FDT.
* Fix long standing issue with allocation of the heap, potentially
  causing other part of the bootloader to overwrite the heap.
* Implements pagetable allocator in kernel for early vm mapping.

This fixes the first PANIC seen, we now just get the same one later
on when the VM is up... more to come...
hrev47834
2014-09-07 20:56:15 +02:00
Ithamar R. Adema
3e450daa1c ARM: remove the loader from the memory map table
We have _start/_end symbols to mark our start and end, use those
to determine where we are loaded. We're slowly getting closer to
a fully dynamic handling of our memory map!
2014-09-07 20:56:15 +02:00
Ithamar R. Adema
e3020a5039 ARM: remove initrd handling from mmu code
Let the platform mmu_map_physical_memory the initrd region, and
reserve it before calling mmu_init. This removes another hardcoded
address, since e.g. U-Boot gets the address from the uImage file.
2014-09-07 20:56:14 +02:00
Ithamar R. Adema
0a163b65c7 ARM: define bootloader stack in linker script
This removes the need for the whole HAIKU_BOARD_LOADER_STACK_BASE
sing and dance, since it is always included in the bootloader binary
itself.
2014-09-07 20:56:14 +02:00
Ithamar R. Adema
6fb65b9dfe ARM: remove section handling TODO; no need for it
We will never use sections anyway..
2014-09-07 20:56:14 +02:00
Stefano Ceccherini
c53c1faf56 Network Preflet: Also show the hardware address hrev47833 2014-09-07 20:51:32 +02:00
Ithamar R. Adema
6048591e9d Revert "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."
This reverts commit 3fbb24680c819d0819f4f876fe6565c336a19139.

As I mentioned in #11131, this fix is not correct, and works around
the problem. The real reason was that arch_debug_call_with_fault_handler
was not working properly, so the fault handler went crazy.

With commit eb92810 that is fixed so this can be reverted.
hrev47832
2014-09-07 19:15:01 +02:00
Ithamar R. Adema
eb92810edc ARM: fix arch_debug_call_with_fault_handler
This fixes the problem with KDL freaking out when doing a stacktrace
and having its fault handler triggered. Have no clue how this could
have worked before, but it did :P
2014-09-07 19:14:29 +02:00
Stefano Ceccherini
365f14bfbd Network Preflet: Implement an IPV4TextControl which only allows numbers
and use it instead of the regular BTextControl.
Unfortunately it doesn't block multi-byte characters (to do that we
should create a subclass of BTextView and override InsertText()).
hrev47831
2014-09-07 19:05:18 +02:00
Fredrik Holmqvist
8516e6a924 Rename display_controls to display_adapter
ACPI talks about display_adapters, and we will likely have displays
as child nodes. Displays will be attached to an adapter.
hrev47830
2014-09-07 19:02:06 +02:00
Michael Lotz
42a91653ba kernel: Fix missing else in dump_page_queue debugger command.
The entered page queue address would always be overwritten. Pointed
out by CID 610504.
hrev47829
2014-09-07 13:18:03 +02:00
Stefano Ceccherini
d94f82498f Network Preflet: Call _SetConfiguration(NULL) in _BuildInterfacesMenu()
if no interface is present, thus effectively disabling the other
controls. Also if there is only one interface, select that one.
hrev47828
2014-09-07 08:17:51 +02:00
Stefano Ceccherini
7da4809bfc Network Preflet: EthernetSettingsView::_BuildInterfacesMenu()
needs to call SetTargetForItems(), otherwise selecting interfaces
in the popup menu doesn't work.
hrev47827
2014-09-07 07:51:29 +02:00
Stefano Ceccherini
5bde266926 Fix copy/paste error which prevented correct functionality. 2014-09-07 07:51:28 +02:00
Jérôme Duval
fccfeff29e listarea: fixes warnings and output on x86_64.
* columns aren't correctly aligned anymore atm.
hrev47826
2014-09-06 23:57:46 +02:00
Stefano Ceccherini
af7978ef01 Network Preflet: watch for network interfaces changes.
Not yet 100% working.
hrev47825
2014-09-06 23:24:37 +02:00
Rene Gollent
cab2a2ba35 Debugger: Fix #11204.
- When waiting for a thread stack trace to be acquired, in some circumstances
  it was possible for us to not re-acquire the Team lock before moving on to
  parsing and writing out the information. This could potentially lead to race
  conditions when retrieving some of the Team's data, and ultimately crashing
  while writing out report data.
- Add missing error check in _DumpStackFrameMemory().
- Delete team data semaphore on exit.
hrev47824
2014-09-06 16:48:45 -04:00
Rene Gollent
7b5a544edb Debugger: Fix CID 1223239.
- Rework part of report generator to add missing memory allocation
  error checks.
2014-09-06 16:48:30 -04:00
Paweł Dziepak
ece6f8ba5d boot: remove check against large gaps between elf segments
As discussed on the ML the limitation of the gap between segments
imposed by this check is completely artifical and pointless.

Signed-off-by: Paweł Dziepak <pdziepak@quarnos.org>
hrev47823
2014-09-06 19:38:13 +02:00
Jérôme Duval
bfe33f1603 Add qemu and dependencies for x86 and x86_64. hrev47822 2014-09-06 13:19:30 +02:00
Matej Horvat
c1fcde6665 Set the archive bit on new or modified directory entries (but not subdirectories)
Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
hrev47821
2014-09-06 12:57:49 +02:00
autonielx
884dab8a17 Update translations from Pootle hrev47820 2014-09-06 06:19:21 +02:00
Stephan Aßmus
7eb09bfa29 HaikuDepot: Make sure lists are cleared...
... in case the code runs multiple times for the same package-ref.
(Did not happen, but it's just better form.)
hrev47819
2014-09-05 23:23:27 +02:00
Stephan Aßmus
863f0b1979 HaikuDepot/List: added IsEmpty() method 2014-09-05 23:23:00 +02:00
Stephan Aßmus
87038da74f HaikDepot: Lazily load screenshots.
The first one is displayed. Clicking the thumbnail does nothing,
as before. (There is a TODO in the code to open the bigger version.)
2014-09-05 23:12:49 +02:00
Stephan Aßmus
d11eb2d5d8 HaikuDepot/SharedBitmap: Try load BBitmap via BTranslationUtils 2014-09-05 23:12:48 +02:00
Stephan Aßmus
8db8f33658 HaikuDepot/WebInterface: Implemented retrieving screenshots 2014-09-05 23:12:47 +02:00
Stephan Aßmus
1d9d48738e HaikuDepot: Store the screenshot info...
... from the bulk request results in each PackageInfo.
2014-09-05 23:12:46 +02:00
Ithamar R. Adema
72b52fdf92 ARM: u-boot: work around dd issues on OSX
The oflag parameter does not exist on OSX, and neither on BSD. Just
use "cat" to append instead.
hrev47818
2014-09-05 22:32:18 +02:00
Fredrik Holmqvist
62f4f056a7 Fix include order. hrev47817 2014-09-05 22:10:30 +02:00
Fredrik Holmqvist
76a17ee226 No semicolons on defines. hrev47816 2014-09-05 18:44:16 +02:00
Fredrik Holmqvist
1c7917f33e Tell ACPI if we use PIC or APIC. hrev47815 2014-09-05 18:40:38 +02:00
Fredrik Holmqvist
b4908ff5d8 Todo about walking namespace and init _PRW's.
This needs a deeper understanding and brighter mind than mine.
hrev47814
2014-09-05 17:12:27 +02:00
Fredrik Holmqvist
5048bd4620 Add a global notify handler for logging. hrev47813 2014-09-05 15:44:21 +02:00
Fredrik Holmqvist
78d6bbf1e5 Fix indention issues.
Two tabs since it's inside a function call inside an if.
2014-09-05 15:44:21 +02:00
Adrien Destugues
ca4143eeb4 Add package for ccache. hrev47812 2014-09-05 14:21:48 +02:00
Adrien Destugues
1044814dfa Release NetSurf 3.2
Many bugfixes, most importantly a bug was fixed which makes network
downloads go much faster (without waiting for you to wave the mouse over
the window).
2014-09-05 14:21:47 +02:00
Julian Harnath
bf519f589e Add myself to maintainers list hrev47811 2014-09-05 00:47:07 +02:00
Michael Lotz
aba4cb2085 NetworkStatus: Sort wireless networks by signal strength. hrev47810 2014-09-05 00:28:30 +02:00
Rene Gollent
4d292b8186 AboutSystem: spelling correction. hrev47809 2014-09-04 17:32:53 -04:00
Rene Gollent
d4d87b13de AboutSystem: Adjust credits.
- Add Andrey Lindsay to the maintainer list for his excellent
  (and ongoing) work on the Haiku Depot web app/server.
hrev47808
2014-09-04 17:26:14 -04:00
Adrien Destugues
f59dadc4d4 Web+: Update URL on LoadFinished and LoadCommitted
* LoadFinished is called after redirects have taken place, so we can
show the final URL. It's also called for navigation inside a document
(jumping to anchors), whereas LoadCommitted is not.
* LoadCommitted is called earlier so we also want to set the URL there.
hrev47807
2014-09-04 16:29:43 +02:00
Adrien Destugues
6e38076e81 Libnetapi: fix abortion of file requests.
* We didn't wait for the thread to terminate, so the thread could use
the object after deletion.
hrev47806
2014-09-04 11:29:40 +02:00
Stephan Aßmus
0d50f6af5b HaikuDepot: Pull package info for selected package in worker thread.
Selecting packages in the list view is instant again. Fixes #11198.
hrev47805
2014-09-04 10:13:23 +02:00
Stephan Aßmus
48045f5a08 HaikuDepot: More fine grained locking in Model::PopulatePackage() 2014-09-04 10:13:22 +02:00
Julian Harnath
08e98ffde1 Style fix: line length hrev47804 2014-09-04 00:46:42 +02:00
Julian Harnath
7ef10f899a 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.
2014-09-04 00:46:40 +02:00
Stephan Aßmus
1a23bff796 HaikuDepot: Removed debugging left-over. hrev47803 2014-09-03 23:44:33 +02:00