Commit Graph

5135 Commits

Author SHA1 Message Date
Axel Dörfler
a5589a93b1 Fixed compilation on Dano.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5005 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-13 02:45:24 +00:00
Axel Dörfler
06b932a49d Fixed compilation of many tests under Dano.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-13 02:26:22 +00:00
Axel Dörfler
698a5fd9b0 Fixed compilation and warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-13 02:22:51 +00:00
Axel Dörfler
def04c5be3 Added missing newline.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5002 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-13 01:57:54 +00:00
Axel Dörfler
8174112d40 Almost straight copy of the list.h doubly linked list implementation to
a C++ one ready for kernel use, but very basic, too.
Has not been tested yet, expect some bug fixes soon.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5001 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-13 01:57:05 +00:00
shadow303
a74c4d3064 Replace floating point math with bit shifts
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5000 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-12 22:23:06 +00:00
Axel Dörfler
bbb6f2d463 Lets the boot loader compile under GCC 3 (and possibly other C++ kernel
components).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4999 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-12 21:04:53 +00:00
Axel Dörfler
1bf10fafcb Fixed the new version identification (now uses -dumpversion instead of --version),
also added a semi-colon to the Jam line defining GCC_RAW_VERSION.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4998 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-12 20:55:52 +00:00
Ingo Weinhold
8c17a26b5c The configure script now sets the variable GCC_RAW_VERSION which is
parsed in Jamrules into a list (`.' and `-' are considered delimiters)
written into GCC_VERSION. E.g. for the GeekGadgets compiler expect
GCC_VERSION to be set to `2 9 beos 000224'. So, GCC_VERSION[1] should
contain the major version, GCC_VERSION[2] the middle one.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4997 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-12 17:47:07 +00:00
Axel Dörfler
d172714dbd Lazy man's GCC 3 adaption.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4996 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-12 00:48:49 +00:00
François Revol
8881c2584e Repport sizes in KB as the R5 version. Added --human (-h) to make reading sizes easier.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-12 00:47:52 +00:00
Axel Dörfler
f981a55840 Fixed GCC 3 warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4994 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-12 00:47:28 +00:00
Axel Dörfler
b8be90d5fb Now works with GCC 3 as well.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-12 00:46:30 +00:00
Axel Dörfler
748d45313d Two more #include <util/kernel_cpp.h> for consistency's sake.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-12 00:45:38 +00:00
Axel Dörfler
df46e9e59f OpenFirmware now has its own arch subtree. Added most of the code needed
to take over the PPC MMU (and let OF still operate) - there is basically
everything to implement a proper ELF loader now.
Unlike BIOS/IA-32, OpenFirmware is available on a lot of architectures.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-11 19:06:28 +00:00
Axel Dörfler
aaaceca81b Added more CPU functions, fixed the get_sr() function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-11 19:00:59 +00:00
Axel Dörfler
1d8adcd3f6 Added two more arch related calls for the OpenFirmware platform.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-11 18:59:08 +00:00
Axel Dörfler
ecc5968ab8 Added some more CPU functions.
Added an alternative page_table_entry::SecondaryHash() signature.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-11 18:57:35 +00:00
shadow303
16ce773582 Fix & rename 16-bit routines to 15-bit
Add real 16-bit routines


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-10 20:37:32 +00:00
shadow303
37c324a741 Distinguish between 15bit and 16bit color routines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-10 20:34:45 +00:00
shadow303
3ed46bec8c Disable screen mode change when not in TEST_MODE
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-10 20:29:39 +00:00
DarkWyrm
836656bf86 API tweaks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-10 02:33:38 +00:00
DarkWyrm
9b2a55526a Wrote code to make it possible to drag and drop an image to set a cursor for any system cursor attribute in the list
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4983 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-10 00:34:38 +00:00
DarkWyrm
28d6d190dc Added color lookup by int32 to allow for ui_color() lookup calls
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-08 23:19:30 +00:00
DarkWyrm
a93fbc5951 Added handler code for AppServer::PollerThread to handle messages to get/set UI colors and decorators
Added a color_which lookup to ColorSet - will be necessary to look up system colors via ui_color()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-08 23:18:30 +00:00
Axel Dörfler
e2367e8fcb Added some PPC helper functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-08 01:24:01 +00:00
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