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
Adi Oanca
1889be2a4d
hidden state was wrongly reported
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8040 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 11:53:44 +00:00
Adi Oanca
560a22494e
Windows properly displayed. I mean, both, its border and top_layer are
...
shown. Some redrawing problems remain while resizing... They will be
fixed soon.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8039 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 11:50:17 +00:00
Stefano Ceccherini
895207da06
Implemented BTextView::SetText(BFile *.... etc.)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8038 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 09:51:10 +00:00
Stefano Ceccherini
e3a2e77198
Be nice and explain why we don't free fBasePtr. Implemented Area()
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8037 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 08:36:18 +00:00
Stefano Ceccherini
843f00a15e
Removes a crash in the BApplication tests. Some tests work now.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8036 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-18 06:34:30 +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
Adi Oanca
a3c6cfb7b7
Changed internal protocol. Ha ha. Just deleted a line. :-)))
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8034 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-17 14:41:15 +00:00
Adi Oanca
0573400f8a
Damn vi. I'll use nano next time. Sorry about my previous blank message.
...
Trying to make windows visible again. :-)) Made decorator until now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8033 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-17 14:39:21 +00:00
Rudolf Cornelissen
b9a86cb503
fixed crtc mem constraint for TNT2 types as well now
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8032 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-17 14:17:15 +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
Rudolf Cornelissen
cb7bee6d1c
hmm. nothing really :-/
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-17 13:06:55 +00:00
Rudolf Cornelissen
adafe89347
CRTC memory granularity update to reduce pixelnoise.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8026 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-17 12:54:59 +00:00
Rudolf Cornelissen
3424f82342
card internal bandwidth use reduced by updating CRTC memory granularity settings: this should minimize/remove pixelnoise on older cards.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-17 12:52:24 +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
Rudolf Cornelissen
79ad98bd61
last update for AGP support for now: I need to make a detour first and create an AGP GART driver for BeOS. For now no AGP speed yet...
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8020 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-17 10:33:14 +00:00
Stefano Ceccherini
20b628d310
Some cleanups for BStopWatch. Added the check for B_INTERRUPTED to the semaphore acquisition in BLocker
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-17 08:10:36 +00:00
Rudolf Cornelissen
ca0e044be6
more AGP stuff
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-17 07:39:11 +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
Jérôme Duval
854d2b39a2
adding vim missing files :)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8011 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-16 22:45:03 +00:00
Jérôme Duval
3c3d8ea7ac
adding igawk and awk links to gawk
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8010 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-16 21:52:51 +00:00
Jérôme Duval
1ca5b04538
adding compress and patch
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8009 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-16 21:34:59 +00:00
Jérôme Duval
f439bb3fe3
Adding patch 2.5.4, without unused files
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8008 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-16 21:22:10 +00:00
Rudolf Cornelissen
94f3aef77c
more AGP mode init stuff: probably won't work (yet?)
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8007 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-16 20:24:19 +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
Adi Oanca
f23d8d6216
Major code cleanup
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8001 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-16 06:45:13 +00:00
Adi Oanca
d754f1a3d6
*** empty log message ***
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8000 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-16 06:40: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
Ingo Weinhold
020be68a26
Fixed bash build.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7998 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-15 22:13:59 +00:00
Ingo Weinhold
79b4983458
Refactored rule SetupObjectsDir. New rule FObjectsDir.
...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7997 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-15 22:13:34 +00:00