Commit Graph

5059 Commits

Author SHA1 Message Date
Axel Dörfler
d3c6ba4606 Added some CPU specific functions ({get|set}_sdr1()).
Added MMU definitions for the PowerPC.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-08 00:28:07 +00:00
DarkWyrm
7e0de72b59 Bugfixes to saving and loading colorsets
Added some safeguards to prevent saving sets with the (now) reserved name 'Default'


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-08 00:22:18 +00:00
DarkWyrm
e735d45a6a Removed a stupid typo bug
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-08 00:19:24 +00:00
Axel Dörfler
5028c44913 Now includes <platform_kernel_args.h> as well as <arch_kernel_args.h>
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-08 00:17:24 +00:00
Axel Dörfler
10fc9d123f Updated renamed kernel_args fields.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-07 23:50:15 +00:00
DarkWyrm
fe556d69c6 Added message code for getting UI colors as a ColorSet
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-07 23:48:14 +00:00
Axel Dörfler
64881aa93e Added platform_kernel_args.h for the BIOS IA32 platform.
platform_stage2_args.h can now only be included from stage2_args.h.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4973 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-07 23:39:45 +00:00
Axel Dörfler
b4d2f3a8e7 Renamed arch_stage2.h to arch_kernel_args.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-07 23:34:59 +00:00
Axel Dörfler
b8b44e7a12 Added the platform depending headers to the SetupKernel headers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-07 23:18:37 +00:00
Axel Dörfler
56ce04ab02 Contents moved to kernel_args.h and platform_kernel_args.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-07 23:15:16 +00:00
Axel Dörfler
c8ec205b7b Include kernel_args.h instead of stage2.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-07 23:12:37 +00:00
Axel Dörfler
b55d9c74f1 Renamed fields of the kernel_args structure.
Commented out the page_daemon to remove a warning.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-07 23:09:21 +00:00
Axel Dörfler
9e88f0cfd2 Now declares the gKernelArgs variable to pass to the kernel.
Calls heap_release() with stage2_args.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4967 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-07 22:49:49 +00:00
Axel Dörfler
a4fab93eee heap_release() now gets the stage2_args as well, to pass them to
platform_release_heap().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-07 22:48:46 +00:00
Axel Dörfler
d1ae059dec Now sets the heap_size field of stage2_args to a default value.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-07 22:47:00 +00:00
Axel Dörfler
02ec644ad8 Removed declaration and initialization of gChosen; it's not done in openfirmware.c.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-07 22:45:38 +00:00
Axel Dörfler
67e8a1390b Added an "align" parameter to of_claim().
Added prototype for of_call_method().
gChosen is now declared and initialized in this file, therefore, of_init()
can now fail (in case gChosen cannot be set).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-07 22:44:34 +00:00
Axel Dörfler
bc09bddb53 The heap size is now part of the stage2_args.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-07 22:41:44 +00:00
Axel Dörfler
662cc71f2c heap size is now part of stage2_args.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4961 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-07 22:10:55 +00:00
Axel Dörfler
bf25fe99f6 Added new platform_kernel_args - might need an arch dependent part as well, though.
Only stage2_args.h can now include platform_stage2_args.h.
Only kernel_args.h can now include platform_kernel_args.h.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-07 22:02:43 +00:00
Axel Dörfler
79dd9caf61 Moved the kernel_args structure to the new kernel_args.h header file.
stage2.h is now of interest for the stage2 boot loader only.
stage2_struct.h is no longer needed.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4959 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-07 21:58:48 +00:00
Axel Dörfler
f432eca440 Now use the new kernel_args.h header file.
Added C++ guards.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4958 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-07 21:56:32 +00:00
Axel Dörfler
33dc59abd3 Don't include the isa bus_manager when compiling on PPC.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-07 21:51:48 +00:00
Axel Dörfler
8fd45ead7a Some additional debug output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4956 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-06 03:49:06 +00:00
Axel Dörfler
c12bec104e Did not compile before.
Fixed some style issues.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4955 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-06 02:04:53 +00:00
DarkWyrm
280bc131fd Forgotten header checkin. :P
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4954 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-05 22:10:35 +00:00
DarkWyrm
4087744eef Utilizes ColorSet API improvements
Major cruft removal and internal retooling in APRView - still has bugs. :(


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4953 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-05 21:54:24 +00:00
DarkWyrm
68b266bbe6 ColorSet API improvements
AppServer now handles Decorator and System Color messsages - dummy handler code is in place, though


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4952 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-05 21:52:54 +00:00
DarkWyrm
c58c0507a5 API improvements
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4951 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-05 21:52:00 +00:00
DarkWyrm
b3d31bdb1a Another LayerData-related crash fix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4950 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-05 17:51:13 +00:00
DarkWyrm
ef56e590dd Speedup for color lookups
Prevent crashes when things other than the server utilize LayerData objects


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-05 17:40:20 +00:00
DarkWyrm
3e6296ae57 Cruft removal and a tweak to prevent crashes when LayerData is used by things other than the server
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-05 17:39:12 +00:00
DarkWyrm
5c26d5df06 Removed some dependencies from old pattern-passing method
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4947 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-04 22:12:18 +00:00
DarkWyrm
b02917dae8 BitmapManager sets the _initialized flag to true when allocation is successful
Added a forgotten opcode in DispatchMessage::AS_CREATE_BITMAP
We can now allocate (and use) BBitmaps in applications!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4946 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-04 21:53:09 +00:00
DarkWyrm
99991325e3 Bugfixes. AFAIK everything works properly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4945 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-04 21:51:16 +00:00
DarkWyrm
e8f20f30c4 8 and 16-bit color lookups are now done only when needed. Very useful when only working in 32-bit color
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4944 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-04 19:57:54 +00:00
DarkWyrm
e42a5b2650 Added message queuing (sp?) to ServerApp
Removed a memory bug in ServerCursor
Tweaked message-reading code to reflect changes in the messaging classes
BCursors work now!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4943 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-04 19:10:11 +00:00
DarkWyrm
45799af7b5 Tweaked all messaging classes to comply with new message protocol policies
AppServerLink no longer inherits from BSession
Modified client files which talk to the server to sync with changes in messaging classes


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4942 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-04 19:08:06 +00:00
DarkWyrm
7507620c3a Tweaked all messaging classes to comply with new message protocol policies
AppServerLink no longer inherits from BSession


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4941 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-04 19:06:34 +00:00
DarkWyrm
e90ddf96b4 Numerous messaging fixes to coincide with the recent updates to PortLink, BSession, PortQueue, and PortMessage
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4940 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-04 00:56:43 +00:00
DarkWyrm
591d280e6c Added PortMessage::ReadString and PortLink::AttachString to support BSession-style string attachments
Tweaks to startup code for BApplication
Tweaked PortQueue to utilize the BSession workaround for PortMessages
Tweaks to message protocol for BCursor


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4939 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-04 00:55:53 +00:00
DarkWyrm
9e6ef5ce51 Added PortMessage::ReadString and PortLink::AttachString to support BSession-style string-attachments
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4938 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-04 00:52:24 +00:00
DarkWyrm
8123b61c01 Eliminated a memory allocation bug
Added a sensible workaround for BSession message code packaging


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4937 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-03 23:28:46 +00:00
DarkWyrm
e956d70682 Eliminated a memory-allocation bug
Added a sensible workaround for BSession message code packaging


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4936 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-03 23:28:05 +00:00
DarkWyrm
b8b711a00d BSession no longer a parent class
Removed deprecated reply functions
Global protocol change - reply port attached last, not first
Still uses BSession-style messaging (msg code attached to buffer followed by attachement data)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4935 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-03 22:23:17 +00:00
DarkWyrm
55c8a39e56 Conversion of PortLink::FlushWithReply calls from deprecated API calls
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4934 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-03 22:21:37 +00:00
DarkWyrm
7b6beb9bde BSession is no longer a parent class
Removal of deprecated reply functions
Global protocol change - reply port is at the end of data, not the beginning
PortLink still uses the BSession messaging style


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4933 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-03 22:20:28 +00:00
DarkWyrm
041e26d578 ServerApp - conversion of message protocols to using BSession
AppServer - tweaks from moving BSession messaging code to ServerProtocol.h


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4932 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-03 00:41:40 +00:00
DarkWyrm
582e2dddd5 Conversion to BSession messaging
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4931 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-03 00:37:56 +00:00
DarkWyrm
5e69d02601 Moved BSession messaging code to ServerProtocol.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4930 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-03 00:02:19 +00:00