Axel Dörfler
d73fcb0e62
Removed deprecated BShape API as it broke the build.
...
If we intend to keep compatibility to this R4.5 API, we should complete
what I started in interface/Shape.cpp.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 22:55:28 +00:00
Axel Dörfler
1787eef9f9
Added B_I_BEAM_CURSOR and B_HAND_CURSOR in new file AppDefs.cpp.
...
B_CURSOR_SYSTEM_DEFAULT and B_CURSOR_I_BEAM are now initialized in BApplication::InitData().
Added a todo note about how to save the app server communication to get those initialized.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 22:26:11 +00:00
Axel Dörfler
917cf3f748
Constructor no longer crashes when data == NULL.
...
Now exports B_CURSOR_SYSTEM_DEFAULT and B_CURSOR_I_BEAM - maybe they should
be part of AppDefs.cpp, though.
Style update.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 22:23:29 +00:00
Axel Dörfler
db11bebffc
Fixed warnings.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 21:36:42 +00:00
Axel Dörfler
ed52cdfd58
Fixed the build by disabling MouseDown/Up/Moved() methods.
...
Added missing BMenu::sMenuInfo storage.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 21:35:45 +00:00
Axel Dörfler
71786a380c
Added missing private AddShortcut variant.
...
Minor style update.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 21:32:52 +00:00
Axel Dörfler
bb776f87af
Added missing function get_scroll_bar_info() - it's not implemented correctly,
...
though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 21:23:25 +00:00
Axel Dörfler
63b2f72c39
Added missing beep functions - they are not yet implemented, though.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 20:33:29 +00:00
Axel Dörfler
14c2eb06d3
Applied our coding style. Theoretically improved return values.
...
Data() now enters the debugger as well if called in unlocked state.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 19:49:16 +00:00
Axel Dörfler
ef42360872
Added be_clipboard global variable (not initialized yet anywhere, though).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 19:28:33 +00:00
Axel Dörfler
40467b5bd1
BPath does have a (BEntry *) constructor; there is no need for code duplication here.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 19:27:20 +00:00
Axel Dörfler
47550b1e72
swap_data() now checks its argument before it decides if there is anything to
...
do at all; it will now also return B_BAD_VALUE for types where it doesn't need
to do anything (i.e. 8 bit types).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 18:23:00 +00:00
Axel Dörfler
b7dddd949b
Added tests for swap_data() and is_type_swapped() - could be extended further, though.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 18:20:37 +00:00
Axel Dörfler
3bdc0a2298
The boot loader test now builds again.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8186 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 17:50:52 +00:00
Axel Dörfler
296047bc9d
Started writing byte order test. Note, I put __swap_int16() tests here, too,
...
although they don't belong here (as they test libroot.so functions). They
won't even test our functions for now; there currently is no libopenbeos.so
aequivalent for our libroot.so.
Tests for swap_data() and is_type_swapped() (which do belong here) are
still missing :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 13:00:22 +00:00
Axel Dörfler
f05ac95ee6
Removed some commented stuff I forgot there.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8183 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-26 17:31:26 +00:00
Axel Dörfler
a2cae29069
Added test for GraphicsDefs.h constants.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8182 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-26 17:04:43 +00:00
Axel Dörfler
2f070ad2c1
Added missing constants from GraphicsDefs.h.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8181 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-26 16:09:13 +00:00
Axel Dörfler
3b36eca242
Added global const B_ORIGIN. Applied our coding style.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8180 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-26 15:24:10 +00:00
Axel Dörfler
5c6dbc9b5e
Removed no longer needed adapter functions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8179 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-26 14:43:35 +00:00
Axel Dörfler
cd437e5e2f
Removed unneeded functions - we have those natively now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-26 14:42:40 +00:00
Axel Dörfler
2397827a6f
Implemented swap_data() and is_type_swapped() - tests follow soon.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8177 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-26 14:40:07 +00:00
Axel Dörfler
e4901b9f4b
"ls" now also prints the offset to the function.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-26 03:08:36 +00:00
Axel Dörfler
5a23dcc80b
find_image_at_address() now also takes the data section into account, so
...
that you can now also look up symbols in there.
load_kernel_add_on() now sets the text section read-only & execute after
having loaded the area - note, it currently doesn't have any effect anyway :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8173 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-26 02:15:48 +00:00
Axel Dörfler
a8441c4fd2
During early boot, put_module_image() will no longer unload anything when
...
there is no boot device available - this will prevent modules from getting
lost.
Added a comment to open_module_list() about its limitations while booting.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8170 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-26 01:40:46 +00:00
Axel Dörfler
00641fbdd8
Now maintains and exports a variable that points to the boot device.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8169 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-26 01:38:20 +00:00
Axel Dörfler
1fac18e1bb
This fixes the intel/apple/amiga partitioning modules.
...
String references, const or not, require the static object to be initialized
by a constructor; it will be put into the BSS region.
Now, kernel modules are not linked against crtbegin.o, and the kernel does
not call any init functions on the module.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8166 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-25 13:45:29 +00:00
Axel Dörfler
ad2cab6ddc
Fixed a timeout to the same value it was before.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8165 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-25 13:34:27 +00:00
Axel Dörfler
7383f6963f
Style cleanups, some removed debug output.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8163 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-25 12:55:56 +00:00
Axel Dörfler
8f46c3cb5c
Turn off tracing.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8162 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-25 12:53:31 +00:00
Axel Dörfler
24e8f2c929
Fixed debugger command "dw" address translation, added better help output.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8150 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-25 00:44:54 +00:00
Axel Dörfler
4910756974
Fixed warnings.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8149 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-25 00:17:37 +00:00
Axel Dörfler
8ed11b38dc
Fixed a stupid bug; malloc() was called with the wrong size - always use the "struct"
...
keyword in sizeof().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-24 23:48:44 +00:00
Axel Dörfler
7f4d45d773
The OpenWindow is no longer resizable or zoomable, fixing bug #1 in our
...
bug tracker :-)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8141 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-24 10:06:59 +00:00
Axel Dörfler
ff2652126c
Added strlcpy() to the repertoire of the libkernelland_emu.so - this fixes
...
the disk device manager test build under R5.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8140 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-24 09:47:18 +00:00
Axel Dörfler
da4a7ba49b
wchar_t is already defined in C++ with GCC 3 - this fixes the build for that compiler.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8136 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-23 15:17:06 +00:00
Axel Dörfler
a5fb7d4954
call_bios() can now also be called without having paging enabled (it now
...
recognizes this and doesn't enable paging after entering the protected
mode again).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8135 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-22 23:40:50 +00:00
Axel Dörfler
3ab743efcd
Forgot to add the ide_adapter to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8134 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-22 23:37:24 +00:00
Axel Dörfler
407c481dd1
Added strchr() to the boot loader.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-22 04:13:27 +00:00
Axel Dörfler
a7aea4b86d
Now shows the help text of a menu item while it's selected (up to two lines of
...
text, automatically wrapped correctly).
Added print_centered() function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-22 02:55:51 +00:00
Axel Dörfler
447564cfea
Added some help texts.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-22 02:53:34 +00:00
Axel Dörfler
649f65cc3a
Added help text functionality.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-22 02:52:38 +00:00
Axel Dörfler
a104674fdf
Fixed typo, corrected video mode menu usage.
...
run_menu() now supports menu_item_hook for CHOICE_MENU submenu items.
Now selects the video mode chosen in the menu - it's broken right now
if you enter the boot menu without asking for it (i.e. when there is
no boot volume found).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-22 01:19:53 +00:00
Axel Dörfler
3b5e4b4978
New method Target() that returns the previously chosen target.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-22 01:16:43 +00:00
Axel Dörfler
bc8add5da8
Now the menu items that can't be chosen are of type MENU_ITEM_NO_CHOICE.
...
Fixed a typo.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-22 01:14:45 +00:00
Axel Dörfler
c668dff52c
A MenuItem now maintains a "user data" pointer.
...
Menu::Run() now calls platform_run_menu().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-22 00:39:40 +00:00
Axel Dörfler
81f569510c
Now only switches to the boot logo if no boot menu was requested.
...
Calls platform_init_video() directly after the heap initialization - the
logo will now be shown before the VFS is initialized.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-22 00:37:46 +00:00
Axel Dörfler
f42302bcc8
Now maintains a list of possible video modes, and creates a real video
...
mode menu that even works.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-22 00:35:19 +00:00
Axel Dörfler
3be048bd11
Support for menus with more items than fit on screen; there will be a
...
scroll bar at the right side that shows you where you are.
"Page Up/Down" now jump one visible page up and down.
Support for MENU_ITEM_NO_CHOICE type.
Constants are now real constants :)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-22 00:32:48 +00:00
Axel Dörfler
355bc28f32
Added another menu item type (that cannot be chosen in CHOICE_MENUs).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-22 00:28:28 +00:00
Axel Dörfler
1511772218
Added platform_init_video() prototype.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-22 00:27:04 +00:00
Axel Dörfler
0ac3f5399f
No longer initializes video - it will now be done by the platform independent
...
part of the boot loader (because then the heap is already working).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-22 00:26:33 +00:00
Axel Dörfler
ef9cf5ac1b
platform_add_block_devices() no returns B_OK, but still does nothing.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-22 00:23:15 +00:00
Axel Dörfler
3cdfe493ba
What a great idea to remove the boot partition from the partition list...
...
It's fixed now; mount_file_systems() will just ignore the boot partition.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-21 22:11:32 +00:00
Axel Dörfler
82fc8f393c
You can now attach an arbitrary data pointer to a menu item.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-21 21:50:31 +00:00
Axel Dörfler
c54d49c275
Work in progress of the boot loader menu.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-21 15:57:56 +00:00
Axel Dörfler
689c94c815
Work in progress of the boot loader menu.
...
You can already use the menu, but your options currently don't have any effect.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-21 15:57:03 +00:00
Axel Dörfler
99192aa450
Work in progress of the boot loader menu.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-21 15:51:59 +00:00
Axel Dörfler
89d57c315b
Added some devfs functions to let the DiskDeviceManager test build again.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-21 12:41:19 +00:00
Axel Dörfler
b045bd49f4
Kernel add-ons were not correctly registered (image_info was initialized
...
after the registration...).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-21 00:10:55 +00:00
Axel Dörfler
c59eff4591
Fixed build of the ISA bus manager.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-21 00:05:38 +00:00
Axel Dörfler
d31902e857
The new logo for the boot loader.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-20 00:49:23 +00:00
Axel Dörfler
5b82deb912
Now checks for boot options; if you press space, it will enter the boot menu
...
(when there is one), if you press escape, it will boot in console mode.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8052 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 15:32:49 +00:00
Axel Dörfler
c89be553a6
Added keyboard.cpp to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8051 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 15:30:39 +00:00
Axel Dörfler
d0c5d9f9a8
Removed some debug output, no longer panics to be able to read the output :)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8050 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 15:29:31 +00:00
Axel Dörfler
c28f7b9932
Removed platform_user_menu_requested() call.
...
Replaced its functionality by a new platform_boot_options() call.
The switch to the logo screen now comes a little later.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8049 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 15:26:53 +00:00
Axel Dörfler
f10007bef5
Removed platform_user_menu_requested() call.
...
Replaced its functionality by a new platform_boot_options() call.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8048 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 15:25:32 +00:00
Axel Dörfler
2ac69a4d66
Activated CPU speed conversion factor calculation again.
...
Added a spin() function.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8046 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 15:23:18 +00:00
Axel Dörfler
baf3145769
Fixed a big bug in the ELF loader: it didn't clear out the loaded segment
...
above p_filesz - that means it didn't clear BSS etc. - this was not noticeable
from Bochs, though.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8045 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 15:20:47 +00:00
Axel Dörfler
4c179368aa
vesa_get_mode_info() no longer copies the buffer as well; it will now
...
write the contents directly into the buffer. If we'll ever intend to
store mode infos in kernel memory, this should be changed back.
vesa_set_mode() now sets the correct flags to get a linear frame buffer;
graphical boot now works in Bochs 2.1.1 as well.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8044 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 13:47:00 +00:00
Axel Dörfler
e70d4cb70e
Added some VBE set mode definitions.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8043 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 13:41:38 +00:00
Axel Dörfler
ce5cf7b312
Simplified the VBE info block retrieval: we now use the intended target
...
address directly, and therefore, we don't have to copy the structure
and eventually relocate the pointers.
Made the boot logo location dependent on its size.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8042 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 13:29:32 +00:00
Axel Dörfler
7fe1bdeec9
Added some handy address conversion macros.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8041 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 13:23:34 +00:00
Axel Dörfler
fc17fe17eb
Implemented the BIOS functions to access the keyboard buffer.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8035 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 02:48:53 +00:00
Axel Dörfler
80180472db
This fixes the PPC kernel build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8031 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-17 13:33:36 +00:00
Axel Dörfler
5829c4a2db
Fixed warnings due to the changes in vm_translation_map.h.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8030 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-17 13:27:53 +00:00
Axel Dörfler
ae4a9c5f25
Fixed warnings due to the type changes in vm_translation_map.h.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8029 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-17 13:23:30 +00:00
Axel Dörfler
746bb367c0
Replaced "addr" with "addr_t", improved other types.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-17 13:22:05 +00:00
Axel Dörfler
9eed5c272c
This fixes all "implicit typename" warnings when compiling with GCC 3.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-17 12:51:57 +00:00
Axel Dörfler
ede8809e4a
This fixes several "implicit typename" warnings with GCC 3.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8023 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-17 12:37:40 +00:00
Axel Dörfler
3ae898da8b
Fixed the PPC boot loader build and added empty stub routines.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8022 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-17 12:22:10 +00:00
Axel Dörfler
4adfc8f463
kernel.so and kernel targets now contain the same and correct objects.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8021 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-17 11:08:34 +00:00
Axel Dörfler
c8079ef9c9
Now switched to the boot logo and back when necessary.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8017 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-17 01:03:36 +00:00
Axel Dörfler
eefe4b1d21
Work in progress:
...
- began to integrate the SMP/CPU stuff from the old boot loader; currently
disabled, though
- began VESA/VGA support
- added temporary boot splash screen; it's a bit of a hack and only seem
to work in Bochs 2.0.2 for now... (but hey, it looks good ;-))
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8016 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-17 01:02:40 +00:00
Axel Dörfler
754fdef3d7
panic() now calls hlt instead of spinning forever.
...
Added a ToDo comment.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8015 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-17 00:59:02 +00:00
Axel Dörfler
842a265376
mmu_map_physical_memory() now accepts physical memory addresses that are not aligned to a page.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8014 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-17 00:56:45 +00:00
Axel Dörfler
1273cbedfc
Added new function to map physical memory.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8013 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-17 00:53:00 +00:00
Axel Dörfler
faad86a4aa
Some more debug output.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8012 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-17 00:49:34 +00:00
Axel Dörfler
6cc888e3d8
No longer needed.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8006 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-16 16:59:05 +00:00
Axel Dörfler
480455d5cc
No longer needs i386_io.h - now uses the inline functions in arch/cpu.h.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8005 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-16 16:53:27 +00:00
Axel Dörfler
d001f09162
Removed the directory contents dump in vfs_mount_boot_file_system().
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-16 13:26:39 +00:00
Axel Dörfler
6234c00a97
Added two more platform functions to switch between a logo screen and text mode.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-16 13:25:37 +00:00
Axel Dörfler
578257f77e
Fixed read/write fd functions return type.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8002 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-16 10:32:26 +00:00
Axel Dörfler
10937f43ff
Changed the digit '4' to look better with the others.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7999 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-16 02:10:27 +00:00
Axel Dörfler
0e3f14ee1d
Now return useful inode numbers. The BFS inode numbers match the ones from
...
the real kernel file system (as there is no amiga_ffs add-on yet).
The file systems now also return the module name of their kernel counterparts.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-15 17:05:34 +00:00
Axel Dörfler
50ef9ecfb6
Now stores the module name of the modules handling the partition.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7994 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-15 17:04:05 +00:00
Axel Dörfler
082a2195f0
fstat() now fills in the inode number as well.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-15 17:01:45 +00:00
Axel Dörfler
a1b4720e1a
load_modules() will now also load all modules that are needed to identify
...
the partitioning and file system of the boot volume.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-15 17:00:52 +00:00
Axel Dörfler
d88c45c6f2
Now maintains the inode field in the preloaded_image structure.
...
It will now load all modules only once by identifying them using their inode number.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-15 16:59:59 +00:00
Axel Dörfler
4807cd86ea
Now stores a link to the partition of a volume, and adds a new method
...
GetPartitionFor() to retrieve that information again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-15 16:58:50 +00:00