Axel Dörfler
5f6aed4937
syscalls.h now includes a little less than before.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-02 02:29:11 +00:00
Axel Dörfler
26afb01fec
Renamed image syscalls.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8260 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-02 02:27:53 +00:00
Axel Dörfler
0f579f8c6d
Improved debug output when tracing is enabled.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8259 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-02 01:57:52 +00:00
Axel Dörfler
806586a704
Fixed compilation due to recent header changes.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8258 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-02 01:55:04 +00:00
Axel Dörfler
1084b3fc17
It's now _kern_null(), not sys_null() anymore.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8257 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-02 01:53:36 +00:00
Axel Dörfler
645e138890
Moved vfs/fd _kern_*() calls to syscalls.h.
...
Removed some includes from syscalls.h where possible, minor style changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-02 01:51:56 +00:00
Axel Dörfler
61b8f5f2a7
Fixed some return types.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8255 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-07-02 00:40:39 +00:00
Axel Dörfler
e54c578346
Made the debugger() call a bit more useful - this is still no real implementation, of course.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-30 02:59:44 +00:00
Axel Dörfler
176a4ebc28
Added a proper assert() implementation, removed the old one.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-30 02:39:29 +00:00
Axel Dörfler
342e53f418
No longer used; we now have a BeOS compatible replacement in posix/.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8241 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-30 02:34:59 +00:00
Axel Dörfler
b3f4b2ea49
Added a BeOS compatible assert.h.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8240 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-30 02:34:10 +00:00
Axel Dörfler
50dbc6bcbd
Renamed node monitor syscalls to the new scheme.
...
Added comments from storage/NodeMonitor.cpp to the syscalls here (they
will be removed from NodeMonitor.cpp), and adapted them where necessary.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8237 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-29 20:25:21 +00:00
Axel Dörfler
f004b0c15e
Renamed image and node monitor syscalls to the new scheme.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-29 20:19:48 +00:00
Axel Dörfler
bb45cbbb30
Removed some unneeded includes, making the header easier to swallow.
...
Renamed the image and node monitor syscalls to the new scheme.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-29 20:12:29 +00:00
Axel Dörfler
3f403c721c
Since our libroot/os/thread.c already exports this, we can as well just add
...
it to the header, too :)
(it's a new function in Dano/Zeta)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-29 20:04:07 +00:00
Axel Dörfler
576416d2d7
Fixed a warning about the uninitialized use of variable team.
...
Added a ToDo item because gcc is right and itemSize may be used uninitialized;
someone with a better understanding of this code should fix it.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-29 19:44:26 +00:00
Axel Dörfler
2410a823c6
Fixed some warnings.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-29 19:42:45 +00:00
Axel Dörfler
92726d601a
Added the "other" stdio stuff to the build (stuff that's not from glibc).
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8228 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-29 00:05:08 +00:00
Axel Dörfler
8a2005e28a
Added all missing classes to the build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-28 13:15:08 +00:00
Axel Dörfler
2847a12df4
Fixed compilation and applied our style guide.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-28 13:12:06 +00:00
Axel Dörfler
af53a136d1
Added Marc Fleracker's BPopUpMenu implementation - it does not yet compile, though.
...
Thanks to Jack Burton for making this available.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-28 12:57:32 +00:00
Axel Dörfler
5ab2a9e4b4
Added missing functions from fs_query.h and fs_info.h, both not yet implemented.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8217 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-28 12:36:13 +00:00
Axel Dörfler
e5948ee29a
Resurrected posix_stdio.o: it now contains additional stdio functions not
...
covered by glibc's libio/stdio.
Added rename() and remove().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-28 12:27:39 +00:00
Axel Dörfler
ca18770764
Forgot to turn off mangling, thanks to Marcus for pointing this out.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-28 09:47:22 +00:00
Axel Dörfler
bbc3515ba2
Added missing header.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-28 09:46:33 +00:00
Axel Dörfler
84591cffe1
Began exporting of R4.5 compatibility functions, just as an example.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-27 22:59:27 +00:00
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