Commit Graph

5168 Commits

Author SHA1 Message Date
Tyler Dauwalder
2ab307bd3a Added Recognition.cpp to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-02 06:52:24 +00:00
Tyler Dauwalder
60fcc4e6c2 Added Udf::kMaxPartitionDescriptors constant.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5237 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-02 06:51:17 +00:00
Tyler Dauwalder
c039b2c676 Initial checkin.
- Started migration of volume recognition code from Udf::Volume
  class to stateless functions in Recognition.{h,cpp}
- Made partition recognition code more strictly adherant to
  UDF specs.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5236 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-02 06:50:40 +00:00
Tyler Dauwalder
72090c984b Added new partition classes to build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-02 01:15:10 +00:00
Tyler Dauwalder
e97abddfe7 Added more partition map dump output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5234 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-02 01:14:18 +00:00
Tyler Dauwalder
4e77893b64 Initial checkin. Mostly empty implementation of UDF 2.01 virtual partitions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5233 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-02 01:13:43 +00:00
Tyler Dauwalder
3b9617bcc4 Initial checkin. Mostly empty implementation of UDF 2.01 sparable partitions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-02 01:13:15 +00:00
Tyler Dauwalder
04106297aa Initial checkin. Mostly complete implementation of UDF 2.01 physical partitions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5231 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-02 01:12:31 +00:00
Tyler Dauwalder
9be2e8bd9e Initial checkin. Mostly empty implementation of UDF 2.50 metadata partitions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5230 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-02 01:11:39 +00:00
Tyler Dauwalder
c75570328b Initial checkin. Abstract base class for various partition types.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5229 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-02 01:05:25 +00:00
Philippe Houdoin
ab5385e386 Switching to .rdef resources.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5228 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-01 16:15:30 +00:00
Matthew Wilber
a380109af0 Added workarounds for problems with Be's version
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5227 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-01 13:59:02 +00:00
Niels Sascha Reedijk
365d034c1e Update the doc to confirm better to my plan.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5226 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-01 12:20:43 +00:00
François Revol
7639fe5225 better messages strings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5225 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-01 01:36:03 +00:00
François Revol
0443cf316f changed the class VCButton to MediaReplicant because the Media preferences
asks for that name when removing it, and the view name must match the class name.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-01 01:24:29 +00:00
François Revol
5e69d7c826 warning cleanup
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5223 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-31 23:45:09 +00:00
François Revol
0e14e818cb Added forgoten File.h; sorted headers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-31 23:36:36 +00:00
François Revol
b5903e59f8 small fix for focus follows mouse users
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5221 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-31 20:10:06 +00:00
François Revol
b7c866b485 added --list and --remove (all desklink entries) options
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-31 19:59:00 +00:00
François Revol
9326cb6d82 better error report from BDeskbar::RemoveItem(), though OpenDeskbar should be fixed too
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5219 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-31 19:53:37 +00:00
François Revol
5622c96e08 - fixed a possible div by 0
- don't let the volume knob move if the mixer isn't there.
- "don't beep" option
- other option: which gain to act on (mixer or phys output)
- now has a settings file


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5218 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-31 18:49:08 +00:00
François Revol
dd9cf102be - use the Mixer volume
- update volume when sliding
- FocusFollowsMouse fixes
- media_server restart fix


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5217 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-31 16:42:05 +00:00
Philippe Houdoin
f0d1aa5337 Fix crash when running ifconfig: ifconf struct ioctl() argument wasn't
mapped correctly thru IPC channel...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5216 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-30 23:12:14 +00:00
Ingo Weinhold
b79e5b6020 Fixed building of libcppunit.so.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5215 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-30 21:02:21 +00:00
Ingo Weinhold
60c9c40fc9 Whoa, it seems I completely forgot to check that in.
* Changed StaticLibrary and SharedLibrary to allow grist for the
  library name. It will be appended to the constructed name.
* Changed the default of the third parameter of StaticLibrary to
  the objects directory. Moreover the literal string STATIC_LIBRARY_DIR
  can be supplied in which case the respective directory in the distro
  tree is used. Other values are used unmodified.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5214 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-30 20:43:32 +00:00
Jérôme Duval
f7d9ae3667 Added desklink
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5213 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-30 15:10:18 +00:00
Matthew Wilber
7206521bed Changed to reflect new behavior of BBitmapStream, and prevent testing of buggy behavior in Be's BBitmapStream
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5212 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-30 13:17:27 +00:00
Matthew Wilber
c9cccf232a Changed BBitmapStream to behave more like Be's implementation while still checking for bad input.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5211 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-30 12:32:25 +00:00
Axel Dörfler
b8fdbb4fff The driver no longer crashes the system when it couldn't allocate its
resources.
It's now smarter and only initializes the random generator when the
device is opened, not in init_driver().
init_driver() assumed that this driver could not be opened under another
team as the kernel (which does not have to be true when it's rescanned).
Some more cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5210 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-28 23:10:08 +00:00
Axel Dörfler
211e612940 Big cleanup, rearranged code, removed unused/superfluous stuff, removed portability
defines (this code is supposed to run under BeOS only). Moved to our coding style guidelines.
Fixed all warnings.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5209 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-28 22:57:39 +00:00
Philippe Houdoin
3312e2a1e0 Fix warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-28 22:20:46 +00:00
Axel Dörfler
5f1ee2313e vm_translation_map_quick_map() has been slightly changed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5207 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-28 22:01:18 +00:00
Axel Dörfler
c3efd542cd Now accepts only "block" devices as boot device (we do not support
network booting (for R1), and if we will, it will be done using another
mechanism anyway).
If it runs under Apple's OF implementation, it now adds ":0" as parameter
to the opened block device to bypass the disk-label package - that part
is obviously implementation specific (and took me some time to figure
out, even if it's just two characters ;-).
Added a commented block of code that could be used in combination with
MOL and it's (in the meantime fixed) broken device access via OF.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5206 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-28 21:29:59 +00:00
Axel Dörfler
d3b44eeac9 Added definition of a of_arguments structure which is used in all
OpenFirmware client service calls (and callbacks).
Has nice inline argument getter methods If compiled under C++.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5205 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-28 21:26:08 +00:00
Axel Dörfler
c9593d2253 Now uses the OF root node properties "model" and "device_type" to get
and idea about the underlying hardware (needed at other places).
Calls arch_set_callback() right after MMU takeover.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5204 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-28 21:24:28 +00:00
Axel Dörfler
6bf336d531 Implemented the OpenFirmware MMU callback hook mechanism.
Added empty callbacks for "alloc-real-mem" and "unmap".
Implemented "map" and "translate" - the latter is not yet tested, though.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5203 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-28 21:22:21 +00:00
Axel Dörfler
d70e4e5163 vm_translation_map_quick_map() was slightly changed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5202 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-28 21:17:19 +00:00
Axel Dörfler
9e54ef1458 system_time() is implemented in libroot/os/arch.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5201 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-28 21:16:36 +00:00
Axel Dörfler
cff2375bba Added a comment about where to find the implementation of the
arch_int_{enable|disable|restore}_interrupts() functions and
friends.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-28 21:15:27 +00:00
Axel Dörfler
9e617097ee arch_thread_switch_kstack_and_call() is already defined in arch_asm.S.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-28 21:13:53 +00:00
Axel Dörfler
d31fdd0e3c Added, fixed, cleaned and slightly optimized the assembly arch_int_*()
functions.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5198 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-28 21:12:19 +00:00
Axel Dörfler
e45975b879 Definitions were doubled in vm_translation_map.h and arch/vm_translation_map.h.
The former now only contains the structure definitions, while the other one
contains the arch-specific function prototypes (which do not have the arch_
prefix).
Added a ToDo comment to remember cleaning this up one day.
Made all headers C++ safe, simplified where possible.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5197 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-28 21:10:00 +00:00
Axel Dörfler
e5fabd56bf Added prototype for setting OpenFirmware's callback for MMU actions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5196 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-28 21:06:42 +00:00
Axel Dörfler
f39e6cd6ec Added a definition for the MSR[EE] bit (MSR_EXCEPTIONS_ENABLED).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5195 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-28 21:05:31 +00:00
Axel Dörfler
1dd920800b The console driver is now only compiled and linked into the kernel
on x86.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-28 21:02:27 +00:00
Axel Dörfler
9fd568e2e9 Rearranged the code a bit, made private functions static, removed wrong
comments.
Fixed warnings.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-28 18:23:31 +00:00
Axel Dörfler
69be5fbb93 Removed private functions, made C++ safe.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-28 18:22:37 +00:00
Axel Dörfler
4fb62d981c Fixed warnings.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-28 18:05:07 +00:00
Axel Dörfler
229ad83bf8 Renamed arch_int_is_interrupts_enabled() to arch_int_are_interrupts_enabled().
Replaced definitions for enable_interrupts() and are_interrupts_enabled()
with static inlines.
Made int.h C++ safe.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-28 17:55:20 +00:00
Axel Dörfler
2e011afa86 Renamed arch_int_is_interrupts_enabled() to arch_int_are_interrupts_enabled().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-28 17:54:25 +00:00