Commit Graph

15736 Commits

Author SHA1 Message Date
Rudolf Cornelissen 12676c3a1d volatile pointers where possibly needed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-27 21:06:26 +00:00
Rudolf Cornelissen eab3aa0c2d same for cursor clear and define functions
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-27 21:02:49 +00:00
Rudolf Cornelissen 716c61f301 updated all framebuffer accesses to use volatile pointers. This potentially fixes even more coldstarting problems. Thanks Marcus Overhagen for pointing this out again - sorry for forgetting :-/
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-27 20:56:36 +00:00
Rudolf Cornelissen e2b583a0e4 updated docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-27 08:13:20 +00:00
Rudolf Cornelissen 5af5d0c6ef fixed coldstart RAM test exec failures on high-voltage AGP1.0 slots (confirmed a NV11 now working OK there). Bumped version to 0.70.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-27 08:12:51 +00:00
Axel Dörfler 1bb74eb185 This fixes the work-around made in r16105, and some more:
* cached_block::parent_data can be NULL in a sub transaction in case the
  block wasn't part of the parent transaction (but not in low memory
  situations). cache_abort_sub_transaction() and cache_detach_sub_transaction()
  didn't account for this, though, ie. the block data could end up
  corrupted.
* Renamed cached_block::original in original_data.
* Renamed cached_block::data in current_data.
* Added some comments.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 21:02:53 +00:00
Jérôme Duval 2e7cc04b06 gawk build is beos compatible
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 17:13:09 +00:00
Jérôme Duval e26778ae3d useless Invalidate()
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 16:45:51 +00:00
Jérôme Duval 2e5ac35292 fixed some traces
cache_abort_sub_transaction now doesn't crash if parent_cache is NULL (happens in low memory situations)
Axel, please review and fix if needed


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 16:42:12 +00:00
Rudolf Cornelissen 421b932509 moved check for TVout adaptor cable from Setmode to Proposemode where it belongs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 15:53:57 +00:00
Rudolf Cornelissen 032c5ae268 updated docs: the G550 PCIe x1 is supported fully, without any modification :)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 15:31:12 +00:00
Ingo Weinhold 906b28a9ac Added some PPC support to the PCI bus manager. We scan the Open Firmware
device tree for PCI controllers and make them known to the bus manager,
if we know how to talk with them. ATM we support only the UniNorth chip,
which can be found in G4 Macs (code ported from FreeBSD).
As far as I can judge it, all attached devices are identified correctly
on all three host bridges of my Mac mini.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 15:21:31 +00:00
Ingo Weinhold f602da2b72 * Turned the kernel platform support from a library into an object.
* Moved the Open Firmware function platform_get_next_device() from
  the boot loader into the kernel (renamed to of_get_next_device()).



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 15:06:59 +00:00
Rudolf Cornelissen f970e0066a reverting to 16021, removing that panel hack solution. Let's forget about that for now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 15:03:01 +00:00
Ingo Weinhold 6cdd45a94b Added enum to PPCPlatform to identify the platform.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 14:59:16 +00:00
Rudolf Cornelissen 5ef2e83614 reverting to version 16074, removing the partly setup coldstart panel hack 'solution' which isn't going to work this way: I took a wrong turn here. Turns out this should be done via temporary files containing the hack info. Don't know yet if I'll do that though (real panel coldstart is the best solution anyway).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 14:56:40 +00:00
Ingo Weinhold 22a572905c pci_controller.c -> pci_controller.cpp
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 00:27:09 +00:00
Axel Dörfler c43a6c505a Moved _kern_shutdown() to the registrar's R5Compatiblity.cpp where it belongs.
(but maybe that file should be moved into libhaikucompat.a?)


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 00:14:03 +00:00
Axel Dörfler 5da7839924 * _kern_remove_dir() didn't even compile... (test environment (of which
LibBeAdapter is a part of) isn't part of the build.
* Added _kern_shutdown() function, so that the registrar still compiles
  even though __HAIKU__ is now defined for the target libbe_test.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-26 00:04:44 +00:00
Axel Dörfler f9cf8b6073 Added __HAIKU__ for target libbe_test.
Fixed FreeBSD host platform define.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 23:55:14 +00:00
Jérôme Duval 18505d40c2 added blank installer init and finish scripts
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 21:43:58 +00:00
Jérôme Duval 79ea00d63e added checks for null pointers in pcihdr.h structs
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 21:29:26 +00:00
Axel Dörfler a268fbfe48 Added some hacks to get the boot loader to work on the Pegasos.
Doesn't come far yet, though.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 20:05:11 +00:00
Axel Dörfler 818feababe Fixed fputc() for the PPC platform (would only write null bytes due to
big endian).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 19:45:10 +00:00
Marcus Overhagen 6b076b3556 added header file that was not included in r16086 commit
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 17:56:54 +00:00
Marcus Overhagen 0827e900cd removed unused spinlock
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 17:55:23 +00:00
Marcus Overhagen 43eb3f4715 removed deleted sourcefile
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 17:53:44 +00:00
Marcus Overhagen 8d366c9e00 Added support for multiple PCI host controllers and allow multiple PCI domains (needed for PPC).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 17:51:35 +00:00
Jérôme Duval 1571b4c958 added Chip and VendorShort fields to fix the build
They should be checked to see if they're useful at all.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 17:09:12 +00:00
Jérôme Duval 6f896d56e2 updated header search
oops we removed useful fields in pcihdr.h ... sorry for breaking the build


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 17:03:33 +00:00
Axel Dörfler 01e69aca05 Now shows the "Reboot" button after the actual shutdown attempt.
The invalidate work-around is no longer needed for the app_server.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 16:24:17 +00:00
Axel Dörfler 76c7d59103 Updated copyright message in the boot loader menu.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 16:12:48 +00:00
Axel Dörfler 924479179b Implemented on screen debug output during boot - to be enabled in the boot loader
safemode menu.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 16:12:10 +00:00
Jérôme Duval ab88c5f939 Now use pci.ids from http://pciids.sourceforge.net, a cleaner and updated database
Awk script provided by John Drinkwater (john@nextraweb.com), thanks for this hard work!
This closes bug #94


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 15:38:20 +00:00
Axel Dörfler 46252218c3 Now adds the header to every line of the message received.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 14:49:03 +00:00
Axel Dörfler 979aeaf71c Fixed bug #97:
* BEntry::Remove() now uses _kern_remove_dir() for directories.
* Added fd parameter to _kern_remove_dir().
* Fixed LibBeAdapter's _kern_unlink() to only work on files, and
  added _kern_remove_dir() for directories.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-25 11:12:21 +00:00
Axel Dörfler 7f370a1f89 * Fixed settings evaluation.
* exchanged sBlueScreenEnabled and sBlueScreenOutput (so that they better
  match the sSerialDebugEnabled and sSyslogDebugEnabled variables).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 21:52:53 +00:00
Axel Dörfler ad4afa7409 Added unused ring_buffer_write_to_port() implementation - we might never use it,
but it shouldn't hurt to have it in SVN.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16076 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 21:50:41 +00:00
Rudolf Cornelissen fa9f20e97e added a flag to shared_info indicating one-time BIOS checking has been done, added struct typedef that can hold the BIOS info needed. More will probably come, like slaved-CRTC info (TVout use concurrent with panels).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16075 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 20:38:55 +00:00
Rudolf Cornelissen 17ca256d6f added hack to save registerprogramming for a few registers that has been done by the cardBIOS: things that we don't have coldstart support for yet. This is nessesary if the driver is started/stopped more than once per 'system boot': programming done by the VGA BIOS has a tendency to get overwritten by driver-use. In progress: accelerant doesn't use it yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16074 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 20:37:05 +00:00
Axel Dörfler eb2fc29abd Implemented syslog support for the kernel debug output. Not fancy at all yet, but
it seems to be working fine.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 20:28:52 +00:00
Axel Dörfler 91845703f8 * "<TRUNC>" was added one byte too late, causing the stack to be overwritten.
* now makes sure the message string received is null terminated.
* made buffer size depending on the syslog defines.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 20:25:38 +00:00
Axel Dörfler d97476d155 The userland stack trace no longer accesses the stack of the crashed application unsafe.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16071 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 17:22:50 +00:00
Axel Dörfler 890d7226ed Added the "logger" command to the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16070 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 16:33:34 +00:00
Axel Dörfler 789b0b7824 Applied patch from Alexander U. Deynichenko: $HOST_PLATFORM should change
HOST_DEFINES, not TARGET_DEFINES.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16069 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 16:31:27 +00:00
Axel Dörfler 3a0a764d47 Added the "logger" command line tool to send messages to syslog.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16068 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 16:28:45 +00:00
Jérôme Duval 7f4e7d24c5 added makebootable (should be needed by the installation process)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 16:18:13 +00:00
Jérôme Duval bc1301d336 * added checks for installing on source volume, or boot volume
* added alert for file error: lots of errors happening when updating a volume:
* it seems BEntry::IsDirectory() returns false whereas it should return true for some directories
this is to be checked with a test app
* boot volume is now marked automatically as the source volume (a rule is yet to be found for the target volume)



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 16:16:26 +00:00
Stefano Ceccherini 19de443e9a removed useless stuff
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 15:31:52 +00:00
Rudolf Cornelissen ac9ce71ce8 updated docs.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2006-01-24 13:56:26 +00:00