Axel Dörfler
7d61af89af
h_name must be set, or else libnetwork.so will crash when trying to resolve a name...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-03 19:39:35 +00:00
Axel Dörfler
c37090b4f1
It seems the RTL 8167 chip works with our 8169 driver unchanged, even though I might just got
...
lucky.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-03 17:54:29 +00:00
Stefano Ceccherini
d2580802d6
Somehow r23154 reverted r22930...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-03 16:09:32 +00:00
Stefano Ceccherini
c129260a24
There was a reason for this after all: Sometimes hovering from the
...
submenu to the parent didn't trigger tracking from it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-03 10:43:45 +00:00
Axel Dörfler
aad0d344f0
The slab areas shouldn't be user readable...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-03 10:33:03 +00:00
Axel Dörfler
9a2d0cf6ff
Applied patch by Anthony Lee: the user was attached to the font manager too
...
late, therefore, the DesktopSettings couldn't access user fonts. This fixes
bug #1691 , thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-03 10:13:21 +00:00
Stefano Ceccherini
9e64a7ed1b
Fixed problem with some popup menus (check ticket #1679 )
...
Moved GetMouse() calls near the check for exit conditions.
Reorganized a bit the code, and hopefully simplified it in some places.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23229 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-03 07:30:05 +00:00
François Revol
943cbec3f3
Note on adding stage1 to an image.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23228 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-03 00:44:41 +00:00
François Revol
c9bfddbe98
Fixes.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-03 00:26:30 +00:00
François Revol
005fb7c998
Allow using defines from .S files
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-03 00:18:14 +00:00
François Revol
fa9d72b1dd
Test code for stage1...
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23225 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-03 00:02:54 +00:00
François Revol
5c31e5fa5b
Note on compiling stage1
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-02 23:43:17 +00:00
Axel Dörfler
2671053585
gethostbyaddr() was used incorrectly, found by James Woodcock, thanks!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-02 22:29:30 +00:00
François Revol
9776e38eb1
smp ? me no know about smp here...
...
This will be the stage 1 loader...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-02 22:05:28 +00:00
Marcus Overhagen
f6872148ca
Restart. Do not pass Go, do not collect 00.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-02 22:02:15 +00:00
Axel Dörfler
c88e5e410c
* Added support for the G33 line of chips: mode setting and acceleration is working fine AFAICT.
...
* Implemented mapping the GTT area for i9xx chips other than the i965. This should also fix the
driver working with these chips at all.
* The memory used by the driver now take the GTT area into account - before the GTT could be
overwritten theoretically...
* Added fix for some i965 quirks from the X driver.
* Added some overlay definitions for the i965.
* Started support for G33 overlay (not complete yet).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-02 18:44:39 +00:00
Marcus Overhagen
971cf1881e
Disable an io interrupt when more than 99% are unhandled. This somewhat prevents random freezing.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-02 17:33:27 +00:00
Axel Dörfler
68af0a3fff
If there is no /etc/hosts file, we now add a "localhost 127.0.0.1" definition
...
internally. This fixes #1688 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-02 16:16:28 +00:00
Michael Lotz
1df628fe2f
* Two more uses for the pause instruction I apparently forgot to commit
...
* Minor style cleanup in the conversion factor calculation
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23217 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-02 02:10:55 +00:00
Michael Lotz
e812c77e4a
* Delay initializing SMP stuff like APICs and kstacks of non-boot CPUs until after the boot menu
...
* When disabling SMP initialization of those parts is avoided so it works more cleanly
* Moved smp_find_mp_config() into smp_init() and moved MPS specific parts into smp_do_mp_config()
* Removed the global floating struct, if found it is now passed into smp_do_mp_config() like it is done for ACPI
* Made the file a bit more C++, applied coding style to some variable names and unified/improved some of the debug output
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-02 02:07:23 +00:00
François Revol
50a57aafa0
Typos
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-02 01:37:02 +00:00
François Revol
949958937c
stage2_args.h uses #include <platform_stage2_args.h>, had to use UsePrivateHeaders.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-02 00:38:11 +00:00
François Revol
f59395d5ac
Official names
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-02 00:02:04 +00:00
François Revol
4568301872
Fixes.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-01 23:57:42 +00:00
François Revol
fa806b5473
This should be enough for keyboard handling.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-01 23:25:35 +00:00
François Revol
3e4c56176d
Hopefully enough relevant TOS hooks.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23210 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-01 22:52:03 +00:00
Marcus Overhagen
7eb5430510
Added debug info at the place that seems to deadlock in SMP systems with > 2 CPUs
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-01 20:45:29 +00:00
François Revol
8c27b8623d
TOS calls return a negative code on error.
...
Map those to native errors.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-01 20:41:19 +00:00
Marcus Overhagen
70eb0da7e0
Mask io-space bit in promise_tx2 driver, the driver was broken after recent ide-adapter changes.
...
Replaced IDE_ADAPTER_IS_PRIMARY by IDE_ADAPTER_CHANNEL_INDEX to support more than 2 bus master channels,
and made ide_adapter aware of 3rd and 4th channel when calculating bus master dma address.
Fixed bus master DMA support in legacy_sata driver for tertiary and quaternary channel, channel 3 and 4
were using the DMA engine of primary and secondary channels (that might have destroyed your data).
Use PCI_address_io_mask instead of ~PCI_address_space (no functional change).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-01 20:31:14 +00:00
François Revol
a24251b49b
A single header should be enough for all TOS calls.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-01 19:56:53 +00:00
François Revol
6152d8f58b
Some atari boot code
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-01 18:28:26 +00:00
Stefano Ceccherini
921eba6e4d
BPrintJob: PrintableRect(), PaperRect() and GetResolution() now call
...
_LoadDefaultSettings() if no settings were loaded already, in order to
return valid values. Renamed private methods to fit our guidelines.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-01 15:54:28 +00:00
Stefano Ceccherini
2c2176ceba
Removed SetViewCursor() from BTextView::_Deactivate(), as suggested by
...
cl21.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-01 15:50:37 +00:00
Stefano Ceccherini
691b2922a6
The parameter passed to BInputServerMethod:SetIcon() can be NULL. Patch
...
by Anthony Lee. Thank you! Fixes bug #1686 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23202 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-01 14:42:27 +00:00
Stefano Ceccherini
4b812f294e
Set sticky mode to the correct value before calling BMenu::_Track().
...
Fixes bug #1679
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-01 14:37:19 +00:00
Michael Lotz
f8e6b29ada
Also clear the pci_address_space bit from the bus_master_base. Again might help on bug #1683 .
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-01 14:36:51 +00:00
Michael Lotz
576bb2455b
Since r23142 the ide_adapter does not clear the PCI_address_space bit when detecting a channel. Drivers that use the ide_adapter therefore have to do that themselfs, which broke legacy_sata (probably this is also the case for the promise_tx2 driver). I investigated this as it broke my attempt of a it8211 driver too. This might fix bug #1683 but I cannot test that. Also cleaned out some space indent in that file.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-01-01 12:56:45 +00:00
Axel Dörfler
4d85dcbce8
Removed the experimental BColumnListView class from libbe.so, and moved it
...
into its own archive (libcolumnlistview.a). Only DriveSetup is using it at the
moment, anyway.
IMO we should reimplement and completely redesign a class with this
functionality before considering making it public.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-30 13:31:45 +00:00
Axel Dörfler
33d3580bdc
Fixed copy&paste bug, thanks Stefano!
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23197 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-30 13:02:13 +00:00
Axel Dörfler
deb58f165b
* DispatchMessage()'s B_WINDOW_ACTIVATED now checks if there are any pending
...
activation messages, and always retrieves the information from the latest.
* Reverted r23062, as the above should fix bug #613 as well.
* This should also fix bug #1674 .
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-30 12:46:30 +00:00
Michael Pfeiffer
9ffc1f4105
Checked in too soon.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-30 10:33:31 +00:00
Michael Pfeiffer
b458d96afb
Check correct capability flags.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-30 10:32:27 +00:00
Michael Pfeiffer
5d632c2aba
- Fixed HW cursor issues:
...
- in order to set cursor position SVGA_CURSOR_ON_SHOW has to be written to register SVGA_REG_CURSOR_ON.
- do not use alpha cursor because it does not support inverting of source pixels.
- Fixed wrong usage of if-statement inside switch-statement
- Sync at end of SCREEN_TO_SCREEN_BLIT so that app_server does not write to frame buffer while accelerated operation is still running.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-30 10:06:46 +00:00
Stefano Ceccherini
bf41a1c034
Patch by cl21 (I really hope this isn't your real name :P ) which fixes
...
the BColorControl flickering reported in bug #503 . Thanks!
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-29 15:26:37 +00:00
François Revol
a1a965463b
Here goes falcon specific boot code.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-29 14:49:54 +00:00
François Revol
6d719ee64c
WIP; Implemented most of vm stuff.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-29 14:47:25 +00:00
François Revol
24ec4307f3
Moved the guts to a header.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-29 14:46:01 +00:00
François Revol
a78864975b
Move mmu definitions to a header so the bootloader can also use them.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-29 14:44:47 +00:00
François Revol
171a03646d
Some more fields that helps compiling, but I'll have to sort that out later.
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-29 13:01:14 +00:00
François Revol
5eeaf46777
Minimal headers for atari_m68k
...
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2007-12-29 12:58:32 +00:00