Source Activity

Syndicate content
Haiku's main repository
Updated: 51 min 25 sec ago

intel_extreme: Disable register dumps

Sat, 2016-04-23 14:13
* Could cause instability in rare cases. * Could cause instability in rare cases.
Categories: Development

x86/kernel: Up kernel max page table to 16

Sat, 2016-04-23 00:05
* New Intel SkyLake seems to have 9 mapped ranges at boot. It seems like this define has been creeping up for a while. * Resolves the inital issue reported in #11377 on SkyLake as well. Bonefish mentioned it might need to be raised again... he had some good foresight there :-) * I'm seeing the same no bootable partitions issue though via USB after this raise. (maybe a USB 3.1 thing?) * New Intel SkyLake seems to have 9 mapped ranges at boot. It seems like this define has been creeping up for a while. * Resolves the inital issue reported in #11377 on SkyLake as well. Bonefish mentioned it might need to be raised again... he had some good foresight there :-) * I'm seeing the same no bootable partitions issue though via USB after this raise. (maybe a USB 3.1 thing?)
Categories: Development

bluetooth: Re-introduce to image

Fri, 2016-04-22 19:55
* Previous enablement broke gcc2 and hybrid builds * gcc2 builds fixed and tested working now * Fix Hybrid builds via missing MultiArch Jam * Sorry for the noise, enjoy early Bluetooth support * Previous enablement broke gcc2 and hybrid builds * gcc2 builds fixed and tested working now * Fix Hybrid builds via missing MultiArch Jam * Sorry for the noise, enjoy early Bluetooth support
Categories: Development

bluetooth_server: Fix multi-arch build

Fri, 2016-04-22 19:32
Categories: Development

shutdown_media_server: Rely on actual instance

Fri, 2016-04-22 13:33
* Makes the shutdown process to rely on the instance that was running at the time the function is called. While it's unlikely anyone will see any change from that, this way we will not conflict in any case with the launch_daemon. * The reply could have been confused in a remote situation, make every request to use an it's own object. * In launch_media_server there was a wrong variable redefinition too. * Makes the shutdown process to rely on the instance that was running at the time the function is called. While it's unlikely anyone will see any change from that, this way we will not conflict in any case with the launch_daemon. * The reply could have been confused in a remote situation, make every request to use an it's own object. * In launch_media_server there was a wrong variable redefinition too.
Categories: Development

MediaDefs/MediaRoster: Increase code consistency

Fri, 2016-04-22 11:04
* Also fix a possible issue with List::Get, the code returned after a Get() error. While I doubt if this happens the next items will be still valid, I prefer to continue until we reach the end of the items, and in case of a SyncToRoster request we will at least get the list empty. We might have a blocking call on the other end, so it's our own duty to at least try to avoid this in any case. As final result at least we will get the list empty. * Also fix a possible issue with List::Get, the code returned after a Get() error. While I doubt if this happens the next items will be still valid, I prefer to continue until we reach the end of the items, and in case of a SyncToRoster request we will at least get the list empty. We might have a blocking call on the other end, so it's our own duty to at least try to avoid this in any case. As final result at least we will get the list empty.
Categories: Development

shutdown_media_server: Finalize rework of synchronization

Thu, 2016-04-21 16:07
* When the user isn't requesting a custom notification, it will be a BMediaRoster job to do it. * Reintroduce BMediaRoster::SyncToServices, this time based on local message passing rather than a global semaphore. * SyncToServices is used in launch_media_server to make the process more launch_daemon safe and faster in the average case. * It was an error to add notifications in the media_server. * Fixes #12717. * When the user isn't requesting a custom notification, it will be a BMediaRoster job to do it. * Reintroduce BMediaRoster::SyncToServices, this time based on local message passing rather than a global semaphore. * SyncToServices is used in launch_media_server to make the process more launch_daemon safe and faster in the average case. * It was an error to add notifications in the media_server. * Fixes #12717.
Categories: Development

Update pci.ids from pciids.sourceforge.net

Thu, 2016-04-21 03:20
Categories: Development

Debugger: Minor tweak.

Thu, 2016-04-21 00:46
LocalTargetHostInterface: - Set interface's friendly name to include local hostname. LocalTargetHostInterface: - Set interface's friendly name to include local hostname.
Categories: Development

Debugger: Implement host interface roster listener.

Thu, 2016-04-21 00:43
TargetHostInterfaceRoster: - Add Listener interface. For now, this simply notifies the listener of changes to the active debugger count. - Adjust show new team window command to automatically fall back to the local interface window if one isn't specified. Fixes the Start New Team menu item in the TeamWindow. The latter will later be expanded to show the available interfaces to start a new team on in a submenu. Debugger: - Implement roster listener interface in order to know when to attempt application quit. With this commit, all necessary work to isolate the application from the target host is complete, and work on the actual remote interface and protocol can begin. TargetHostInterfaceRoster: - Add Listener interface. For now, this simply notifies the listener of changes to the active debugger count. - Adjust show new team window command to automatically fall back to the local interface window if one isn't specified. Fixes the Start New Team menu item in the TeamWindow. The latter will later be expanded to show the available interfaces to start a new team on in a submenu. Debugger: - Implement roster listener interface in order to know when to attempt application quit. With this commit, all necessary work to isolate the application from the target host is complete, and work on the actual remote interface and protocol can begin.
Categories: Development

Debugger: Add host listener implementation.

Thu, 2016-04-21 00:11
TargetHostInterfaceRoster: - Implement TargetHostInterface's Listener interface. This allows us to more cheaply track the total number of running team debuggers, as well as automatically removing an interface that is destroyed. TargetHostInterfaceRoster: - Implement TargetHostInterface's Listener interface. This allows us to more cheaply track the total number of running team debuggers, as well as automatically removing an interface that is destroyed.
Categories: Development

Debugger: Rework to fully use TargetHostInterface.

Wed, 2016-04-20 23:23
Application objects: - Rework and simplify to take into account that they will no longer be directly managing the team debugger list. Requests to start a new debugger are still funnelled through here however, and as such, said requests must now provide the appropriate target host to start with. Adjust StartTeamWindow and TeamsWindow accordingly. - On global init, always create an instance of the local interface. TargetHostInterface: - Convert to BLooper and implement TeamDebugger's Listener interface. TargetHostInterfaces now directly manage their TeamDebugger instances, and consequently take over the equivalent duties that the main application previously had. - Adjust signatures of Attach/CreateTeam to add const. Adjust LocalTargetHostInterface accordingly. - Add accessor to determine if a given interface is local or not. Will be needed for the TeamDebugger's file manager eventually so it knows if it needs to request remote files if no matching local file is found. - Add accessor to start a TeamDebugger instance, and corresponding options structure. TargetHostInterfaceRoster: - Minor adjustments to host interface initialization to take into account needing to start the looper. - Add accessor for number of running team debuggers, for the main app to use when deciding to quit. TeamDebugger: - Add accessor for SettingsManager. Needed for the case of a restart request, as the host interfaces do not have direct access to it. TeamsWindow: - For now, always grab the local host interface when initializing the window. Once the remote interface is implemented, this will need to be adjusted, but the appropriate UI for creating/selecting it is needed first anyways. With these changes, the main application is fully host-agnostic, and all management of actual debuggers is delegated to their parent host interfaces. There still needs to be a listener interface for the host interface and/or roster though, so that the application can be made aware of when debuggers quit, as this drives whether it's time to terminate the app or not. Application objects: - Rework and simplify to take into account that they will no longer be directly managing the team debugger list. Requests to start a new debugger are still funnelled through here however, and as such, said requests must now provide the appropriate target host to start with. Adjust StartTeamWindow and TeamsWindow accordingly. - On global init, always create an instance of the local interface. TargetHostInterface: - Convert to BLooper and implement TeamDebugger's Listener interface. TargetHostInterfaces now directly manage their TeamDebugger instances, and consequently take over the equivalent duties that the main application previously had. - Adjust signatures of Attach/CreateTeam to add const. Adjust LocalTargetHostInterface accordingly. - Add accessor to determine if a given interface is local or not. Will be needed for the TeamDebugger's file manager eventually so it knows if it needs to request remote files if no matching local file is found. - Add accessor to start a TeamDebugger instance, and corresponding options structure. TargetHostInterfaceRoster: - Minor adjustments to host interface initialization to take into account needing to start the looper. - Add accessor for number of running team debuggers, for the main app to use when deciding to quit. TeamDebugger: - Add accessor for SettingsManager. Needed for the case of a restart request, as the host interfaces do not have direct access to it. TeamsWindow: - For now, always grab the local host interface when initializing the window. Once the remote interface is implemented, this will need to be adjusted, but the appropriate UI for creating/selecting it is needed first anyways. With these changes, the main application is fully host-agnostic, and all management of actual debuggers is delegated to their parent host interfaces. There still needs to be a listener interface for the host interface and/or roster though, so that the application can be made aware of when debuggers quit, as this drives whether it's time to terminate the app or not.
Categories: Development

kernel: +arch_get_thread_debug_cpu_state()

Wed, 2016-04-20 14:15
Similar to arch_get_debug_cpu_state(), but the thread whose CPU state to retrieve is specified. Works only for threads that aren't running, and on x86-64 we can get the FPU state only when the thread was interrupted in userland. Not implemented for the incomplete architecture ports. Similar to arch_get_debug_cpu_state(), but the thread whose CPU state to retrieve is specified. Works only for threads that aren't running, and on x86-64 we can get the FPU state only when the thread was interrupted in userland. Not implemented for the incomplete architecture ports.
Categories: Development

Revert "bluetooth: Add kit, server, and preflet to image"

Wed, 2016-04-20 03:28
This reverts commit d16a0a9fc2f6b4f10e8a9eea4bb045e27e08da93. This reverts commit d16a0a9fc2f6b4f10e8a9eea4bb045e27e08da93.
Categories: Development

bluetooth: Add kit, server, and preflet to image

Sun, 2016-04-17 18:39
* Server not started until requested (via preflet) for now. * Server not started until requested (via preflet) for now.
Categories: Development