Commit Graph

7602 Commits

Author SHA1 Message Date
Axel Dörfler
6444e8f7bf Copied boot loader code to load symbol table into kernel as well - not yet
tested, though.
No longer copies the elf_header in insert_preloaded_image(); it's not used
at runtime (should be superfluous to keep in other kernel images, too).
dump_symbols() now ignores entries with invalid values - don't know exactly
what makes a good entry, but that should look okay.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7713 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-01 00:27:15 +00:00
Axel Dörfler
8b33111039 Updated ELF loader to use preloaded_image struct for the kernel.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7712 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 23:52:01 +00:00
Axel Dörfler
a8061da698 Removed system_time() prototype; it's already defined in OS.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7711 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 23:31:15 +00:00
Axel Dörfler
b1b1136ca3 No longer uses gKernelEntry.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7710 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 23:15:37 +00:00
Axel Dörfler
2f42f1cf3a gKernelEntry is no longer needed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7709 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 23:12:15 +00:00
Axel Dörfler
2c628d4aef gKernelEntry is no longer necessary.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7708 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 23:11:47 +00:00
Axel Dörfler
cbb2b6c19f The kernel image data is now maintained in a preloaded_image as well.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7707 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 22:54:43 +00:00
Axel Dörfler
bc6ab31951 (Almost) removed special handling of the kernel image, as it's now
maintained in a preloaded_image as well.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7706 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 22:51:01 +00:00
Axel Dörfler
38e937ca8e Removed superfluous htons()/htonl() functions (we already have the
standard byte order functions in the kernel).
Small cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7705 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 22:49:06 +00:00
Axel Dörfler
78f42e3f33 Moved the addr_range struct to a separate header.
Changed the kernel image data to a preloaded image as well, to simplify
handling in the kernel.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7704 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 22:44:24 +00:00
Axel Dörfler
ca109e727d Moved the addr_range struct out of kernel_args.h to a separate file.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7703 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 22:41:25 +00:00
Axel Dörfler
5cc177f4d6 Replaced all "addr" with "addr_t".
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7702 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 21:58:18 +00:00
Axel Dörfler
52823d0c3d Added debugger command for dumping all symbols of the specified kernel image.
Fixed warnings when compiled with TRACE_ELF.
Changed elf_lookup_symbol_address() to returning more useful information.
It now also scans the extended debug symbol table if present - for now, this
only works with preloaded images except the kernel.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7701 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 21:47:34 +00:00
Axel Dörfler
73e40f2d6e Small hack to get create_area() to create valid r/w areas in the kernel
(in BeOS, all kernel areas are r/w).
If you use B_READ_AREA/B_WRITE_AREA flags, you make the area readable
or even writeable from userland!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7700 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 21:43:57 +00:00
Axel Dörfler
9d9a07acd8 Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 21:41:39 +00:00
Axel Dörfler
4a88dcb2cd Changed the "sc" output to be more useful.
Now uses the extended possibilities of the elf_lookup_symbol_address() call.
Fixed a bug in dbg_stack_trace(); it could crash at the top most stack frame.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7698 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 21:40:43 +00:00
Axel Dörfler
6fccd3b788 Changed elf_lookup_symbol_address() prototype - due to the way it now returns
its information, it's no longer safe to call this function outside the debugger.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7697 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 21:38:09 +00:00
Axel Dörfler
ecfed6a718 Added fields to hold debug symbol information.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7696 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 21:33:13 +00:00
Axel Dörfler
fa1ddc4f0e For debugging purposes, the boot loader is now able to load an additional
symbol table into memory and hand it over to the kernel.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7695 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 20:30:20 +00:00
Rudolf Cornelissen
499683d565 sync update for panning: fixes at least NM2160 glitches
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7694 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 20:27:36 +00:00
Rudolf Cornelissen
11690ebdad added pixelprecise panning for all colordepths
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7693 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 11:39:46 +00:00
Rudolf Cornelissen
4642295154 added pixelprecise panning for all colordepths
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 11:33:14 +00:00
Niels Sascha Reedijk
bb6583ad28 Patches applied:
* n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-23
   Revert to older chunk allocation mechanism: this one works


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7691 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-31 07:18:13 +00:00
shatty
9c5b691f22 workaround for crashing bug in RealPlayer. specialize the frame_rate when Connected gets called with a frame rate of 0.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7690 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-30 20:09:07 +00:00
Niels Sascha Reedijk
7ce4cf0866 Summary: Merged with development branch (nielx)
Patches applied:

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-22
   Update/add licence header


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7689 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-30 06:50:18 +00:00
beveloper
06cfaa56e1 Incremented Version number to 1.2. Added the RTL8110 chipset the the info banner.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7687 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-29 23:29:48 +00:00
beveloper
bf3a0dce48 incremented version number to 0.2, the driver is working, even though not SMP save
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7685 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-29 23:20:15 +00:00
beveloper
5e06140d91 reduced supported timer count to 4, the driver doesn't need more that 2 right now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7684 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-29 23:17:58 +00:00
Niels Sascha Reedijk
8f99d2cbac Update licence header
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7683 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-29 21:54:45 +00:00
Axel Dörfler
5325a3e53d Fixed a major bug in the inode code: Inode::GetTree() was called completely
without any locking, but was not safe to be used this way.
Now, B+tree creation is done when the inode is created, and thus no further
locking is needed.
Although this reduces the speed when doing directory listings with many sub-
directories, any errors are reported upfront, and not only when you access
the tree directly.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7682 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-29 21:48:30 +00:00
Axel Dörfler
c46a51bb81 Fixed oddly indented comment.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7681 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-29 21:45:44 +00:00
Axel Dörfler
fd88c05421 Added a possible optimization to the list.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7680 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-29 21:44:51 +00:00
Niels Sascha Reedijk
c1144286ba Update/add licence notice
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7678 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-29 21:23:49 +00:00
Jérôme Duval
63207ba7ae Removing yes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-29 18:37:24 +00:00
Jérôme Duval
de712a53c1 Adding top, clear, removing echo
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-29 18:06:04 +00:00
Rudolf Cornelissen
6274eb68b3 fixed NM2070 hardcursor trouble: programming panel modelines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7674 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-29 17:50:22 +00:00
Rudolf Cornelissen
b133b8a180 fixed NM2070 hardcursor trouble: programming panel modelines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-29 17:38:38 +00:00
Rudolf Cornelissen
4b09e7a388 fixed NM2070 hardcursor trouble: programming panel modelines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7672 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-29 17:32:00 +00:00
Rudolf Cornelissen
2b9563f4fc centering update for external monitor only mode
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7671 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-29 12:28:04 +00:00
Rudolf Cornelissen
a38565b80b centering update for external monitor only mode
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7670 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-29 12:19:22 +00:00
Niels Sascha Reedijk
e3964db291 Summary: Merge with development branch
Patches applied:

 * n.reedijk@planet.nl--nielx-2003/usb-busses--development--0.1--patch-7
   Created memory area for the framelist

 * n.reedijk@planet.nl--nielx-2003/usb-busses--development--0.1--patch-8
   Fix the iobase offset, so that the thing actually is correct

 * n.reedijk@planet.nl--nielx-2003/usb-busses--development--0.1--patch-9
   Device Address 0 is reserved. 1 is the one for root hub

 * n.reedijk@planet.nl--nielx-2003/usb-busses--development--0.1--patch-10
   Changed packet to transfer

 * n.reedijk@planet.nl--nielx-2003/usb-busses--development--0.1--patch-11
   Merge with Axels changes


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7669 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-28 07:50:37 +00:00
Niels Sascha Reedijk
0f6609e85c * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-5
Commit (in between) because of a switch of development-machines

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-6
   Implement basic hub init

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-7
   Implement a bit more of hub operation

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-8
   Device Adress 0 is reserved for the default pipe!

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-9
   Implement basic Pipe stuff

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-10
   Create basic chunk allocation

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-11
   Add Required util.c/util.h

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-12
   Provide locking for the stack and make AllocateChunk thread-safe

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-13
   Integrated util.c in stack class (cleans up a little)

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-14
   Improve Pipe and give the Busmanager its default pipe

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-15
   Make the Device class speed aware

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-16
   Make Chunk allocation code more dynamic

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-17
   Small test-commit to test if webdav is working -- ignore

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-18
   Changed Packets into Transfers

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-19
   Fix mistakes in host_controller.c

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-20
   Advanced a little more in the Pipe stuff

 * n.reedijk@planet.nl--nielx-2003/usb-busmanager--development--0.1--patch-21
   Merge with mainline and add newlines at the end of files


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7668 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-28 07:46:35 +00:00
haydentech
af79a4edf2 Fixed BBitmapStream return types that didn't match the class definition
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7667 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-27 19:49:35 +00:00
Rudolf Cornelissen
4a5e90dce1 centering fix: _this_ time it actually works...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-27 19:41:33 +00:00
Rudolf Cornelissen
0f6e132ba8 panel centering update (fixed syncpol programming)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7665 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-27 19:23:02 +00:00
Rudolf Cornelissen
92c600065f centering update (fixed syncpol for flatpanels)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7664 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-27 19:06:30 +00:00
Stefano Ceccherini
0bedbce52c Fixes the build when TRACE_SCHEDULER is defined
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7663 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-27 14:46:10 +00:00
Stefano Ceccherini
f0fbfe24dc Some gcc 3 fixes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7662 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-27 08:37:19 +00:00
Stefano Ceccherini
215b13a369 A patch from Sergei Panteleev:
- for very high resolutions, the preview image wasn't drawn. Fixed.
- preview image wasn't drawn if you clicked the Return/Default buttons without applying the changes. Fixed.

Took the chance to cleanup some code a bit.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7661 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-27 07:19:38 +00:00
Axel Dörfler
0692dc0cdd Fixes the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7660 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-26 17:00:27 +00:00