Commit Graph

1036 Commits

Author SHA1 Message Date
Rudolf Cornelissen
fcbb30938e extra regs added for DPMS related logging...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7925 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-12 08:39:50 +00:00
Axel Dörfler
960371b741 Replaced <new> with <util/kernel_cpp.h> - this is the kernel.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7913 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 21:00:10 +00:00
DarkWyrm
c73fb70eb7 Minor header tweaks relating to the message buffer size
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7905 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 13:36:48 +00:00
DarkWyrm
0223e22e5a Janitorial work, mostly.
Removed SetMsgCode()


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7903 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 12:55:42 +00:00
DarkWyrm
f9b967b4cf Added DirectDriver definition
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7898 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 02:45:29 +00:00
Axel Dörfler
c9df0d11c8 Added definition for reserved region's ID.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7885 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-10 02:01:59 +00:00
Axel Dörfler
3999c1f3ec Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7881 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-09 18:15:25 +00:00
Axel Dörfler
2705fb7df0 Replaced the regions array with the nicer text_region and data_region members.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7877 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-09 02:51:27 +00:00
Axel Dörfler
e1f53d9bbe Added prototype for vm_unreserve_address_range().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7874 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-09 02:17:16 +00:00
Axel Dörfler
11727a9c43 B_EXACT_KERNEL_ADDRESS is now the same as B_EXACT_ADDRESS; it will be
removed once it is no longer referenced.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7873 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-09 01:06:35 +00:00
Axel Dörfler
dd9e837ebd Added prototype for vm_reserve_address_range().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7872 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-09 01:05:32 +00:00
Axel Dörfler
ee7e4109ad Removed REGION_WIRING_* and REGION_ADDR_* and replaced them by their
BeOS counterparts.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7849 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-08 09:33:51 +00:00
Axel Dörfler
dab1088ba3 "addr" to "addr_t", cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7847 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-08 08:35:39 +00:00
Axel Dörfler
3c9e531071 Removed NewOS LOCK_KERNEL and LOCK_RW - replaced by B_READ_AREA, and friends.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7846 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-08 08:24:53 +00:00
Axel Dörfler
56b4e8289c We temporarily need a BeOS compatible cache implementation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7830 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-08 05:59:53 +00:00
Axel Dörfler
2defe47a24 Removed no longer used system call.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7814 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 21:12:30 +00:00
Axel Dörfler
aad3f70c86 Moved the public fs functions to fs_interface.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7800 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 14:21:51 +00:00
Axel Dörfler
35c681e031 Ah, that looks better (and actually works...).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7791 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 02:06:04 +00:00
Axel Dörfler
67efc07974 MAX_BOOT_CPUS is defined in kernel_args.h so we better include it.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7790 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-07 02:03:29 +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
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
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
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
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
d401e5be78 added full 2D acc for NM2070
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7639 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-25 12:22:34 +00:00
Axel Dörfler
0865e4b204 Added syscall for rename_thread(), courtesy of Jack Burton.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7631 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-24 12:12:58 +00:00
shadow303
225784b713 Minor tweaks to StrokePoint and StrokeSolidLine parameters.
Rename clippReg to clipReg


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-20 01:28:17 +00:00
Jérôme Duval
f5be30013c Constructor for BMediaRosterEx
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7616 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-19 09:26:53 +00:00
Axel Dörfler
adbaa7817e It's now B_MAX_CPU_COUNT rather than SMP_MAX_CPUS.
Removed unused headers.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7608 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-18 09:42:13 +00:00
Axel Dörfler
814291ded8 No need to include <kernel.h>.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7607 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-18 09:37:20 +00:00
Axel Dörfler
6e062dd1b5 Added an ID field that connects the real kernel image with the preloaded image structure.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7530 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-11 23:41:34 +00:00
Axel Dörfler
d81a053b90 Bye, bye elf_lookup_symbol(), hello get_image_symbol().
Also renamed elf_load_kspace() to load_kernel_add_on(), and friends.
The new unload_kernel_add_on() now has an image_id as parameter, no longer
a path (like the former elf_unload_kspace()).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7529 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-11 19:54:10 +00:00
Axel Dörfler
2b6b9a5afb Added a comment (now that we're using a hash table).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7523 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-11 17:20:40 +00:00
Axel Dörfler
11a5baaf67 Updated the private kernel image API to be more efficient (no longer needs
to acquire the team spinlock).
Renamed the user syscalls to the new style.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7521 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-11 15:04:36 +00:00
Axel Dörfler
d07a6f89a0 Actually, elf_region already contains an area_id field...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7517 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-11 13:43:39 +00:00
Axel Dörfler
c2c0779e26 Added two fields that ease the kernel initialization of the preloaded images.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7503 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 16:50:20 +00:00
Axel Dörfler
f6de96a7e6 Added kernel_args_strdup() function as a strdup() replacement.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7499 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 16:46:38 +00:00
Axel Dörfler
5ac1540121 Changed the "stat" related syscalls to have an additional parameter that specified
the size of the stat structure to allow extensions of that structure.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7493 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-10 14:31:16 +00:00
Axel Dörfler
44c7b3db82 pcihdr.h can now be found in src/prefs/devices.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7464 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-08 18:53:54 +00:00
Axel Dörfler
5ed66da080 Made the header C++ safe.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7460 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-08 18:35:30 +00:00
Rudolf Cornelissen
0fccffc2c2 'cosmetic' update: in progress..
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7449 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-07 20:26:52 +00:00
Jérôme Duval
3bf8a54a45 Forgot pcihdr.h, copied from the pci module
The pci module should be fixed to take this one instead


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7446 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-07 15:21:02 +00:00
Axel Dörfler
f4e3a8d25f This file don't belong here and is not used at all.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7440 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-07 00:39:07 +00:00
Axel Dörfler
6e5cac2da6 Private exported kernel functions of the device manager.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-07 00:36:44 +00:00
Axel Dörfler
cdbef38048 Changed some return codes to status_t where appropriate.
Renamed vfs_bootstrap_all_filesystems() to vfs_bootstrap_file_systems().
Renamed vfs_register_filesystem() to vfs_register_file_system().
Added new call vfs_mount_boot_file_system().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7421 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-06 01:20:41 +00:00
Philippe Houdoin
4d7e82c125 Doh! Forgot to commit these after having removed from headers/posix/*.
My mistake.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7409 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-04 16:08:52 +00:00
Rudolf Cornelissen
fb0e0c889e added move_overlay() for virtualscreens
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7376 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 17:34:01 +00:00
Axel Dörfler
d6f96fbff9 Added a header that contains private libroot definitions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7371 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 12:42:43 +00:00
Axel Dörfler
424c06a163 We've now switched to a BeOS compatible stdio.h in posix/.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7366 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-03 12:20:10 +00:00
Axel Dörfler
eaa9132647 Changed some function return codes to return a status_t where appropriate.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7330 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-27 11:54:00 +00:00
Axel Dörfler
1bde925efe Is now also usable from plain C.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7329 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-27 11:53:08 +00:00
Axel Dörfler
337d1d1bab Made C++ safe.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7328 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-27 11:52:37 +00:00
Axel Dörfler
179fd09879 Removed the unused argument from module_init().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7319 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-26 21:04:06 +00:00
Philippe Houdoin
a60e1f4f7f Moved from headers/posix to private/net, as they're not POSIX headers.
Expand the max numbers of area for IPC, as net_stack_control_module can
target to more than 5 structs by adresses...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7309 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-25 22:53:41 +00:00
Rudolf Cornelissen
e0bdc2b4c4 output devs/heads matrix setup added (NV11 not ready yet)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7304 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-24 14:49:13 +00:00
Rudolf Cornelissen
30f7642281 driver works nicely with virtualized head setup now!
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7296 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-22 14:41:39 +00:00
Rudolf Cornelissen
0669fe20bd added virtualized CRTC access with it's advantages
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7295 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-22 08:41:03 +00:00
Axel Dörfler
f6a31876ce Added system_info.h header and syscall for get_system_info().
Added support functions in sem.h and port.h that return some stats.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7289 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 22:46:35 +00:00
Axel Dörfler
4eedc697c3 platform_get_boot_partition() will now also get the boot device as parameter.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7284 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 11:10:32 +00:00
Axel Dörfler
42033342bc Added kernel_args heap functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7282 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 02:33:07 +00:00
Axel Dörfler
840ed4b067 Added a dummy member of the platform_kernel_args structure: obviously, the
kernel didn't count an empty structure, while the boot loader reserved
4 bytes for it - dunno why, a _PACKED everywhere didn't help; it's probably
a compile option issue.
To be on the safe side always, I've now added this dummy.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7278 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 01:32:44 +00:00
Axel Dörfler
95bd98d938 Fixed addr_range structure: struct name didn't match typedef name, now uses
addr_t for the address base/size instead of (the non-portable) uint32.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7277 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 01:29:55 +00:00
Axel Dörfler
d9194b620b We also need the size of the dynamic section.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-21 01:27:02 +00:00
Axel Dörfler
deb0d0de8a Added platform_start_kernel() prototype.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7264 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-20 23:41:38 +00:00
Axel Dörfler
85429b59c0 Added definition for the gKernelEntry variable.
Updated the license; it doesn't contain a single line of the former stage2.h
anymore, and we don't have to blame Travis for it :)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7263 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-20 23:40:57 +00:00
Axel Dörfler
62dbb799d5 Replaced addr with addr_t.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-20 23:38:07 +00:00
Axel Dörfler
e1a6f46dc9 Removed ktypes.h dependency; replaced "addr" with "addr_t", some other minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-20 23:37:00 +00:00
Rudolf Cornelissen
ccfb6b3711 more logging, removed paneldetection bug
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7242 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-19 13:57:31 +00:00
DarkWyrm
1b4ec3a38b Checkin for Caz (without pain, even!) which adds DrawBitmap support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-16 17:53:10 +00:00
Stefano Ceccherini
ac41b0f103 Added license
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7188 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-09 11:07:35 +00:00
Stefano Ceccherini
64e8448a05 Removed some fields, simplified the header. Added the license
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7187 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-09 07:59:42 +00:00
Axel Dörfler
54327b01b3 Added prototype for _user_rename_thread().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7178 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-06 21:30:06 +00:00
Rudolf Cornelissen
b40ba576db fixed introduced regs cloning err on later cards
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-06 12:08:03 +00:00
Rudolf Cornelissen
77354258ed various fixes tested on NM2070 (works now)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-06 09:37:21 +00:00
Adi Oanca
ac903216d7 fixed a bug where a bitmap was mising a pixel line/column
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-04 20:23:12 +00:00
Adi Oanca
9d5fb2696a consted some parameters
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-03 15:04:28 +00:00
Adi Oanca
254a8cc4a3 added PrintToStream method
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-03 15:03:57 +00:00
Waldemar Kornewald
8070acfb47 Added a "const" to the name field in control_net_module_args.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-30 10:53:50 +00:00
Rudolf Cornelissen
b6e8c7e83d finalized acc related stuff, did some tidbits, fixed cursor
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-28 16:12:26 +00:00
Adi Oanca
8a2b8a4355 * added a temporaly method for constraining the clipping region.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-28 14:35:13 +00:00
Rudolf Cornelissen
88aa1acd0a massive acc speedup, removed fill error, hardcursor OK
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7076 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-27 17:18:40 +00:00
Michael Pfeiffer
2c973bd1fc Implemented copy number of pages for printers that do not support page copy command. Check if PrintToFile dialog was canceled and return without an error.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7072 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-27 07:08:38 +00:00
Rudolf Cornelissen
b350e3f19a full 2D acc works on NM2097 and NM2160 (still with softcursor)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-23 20:05:59 +00:00
Axel Dörfler
56c7aeaee8 Fixed a typo, thanks to Jack Burton for pointing this out.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-23 15:37:48 +00:00
Axel Dörfler
c04864640e Removed addr_t typedef (it's now in sys/types.h).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-22 19:23:47 +00:00
Rudolf Cornelissen
5aaa34a241 NM2097 and NM2160 screen_to_screen blit should now work
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7050 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-22 14:01:52 +00:00
Rudolf Cornelissen
3f618e4cfd acc updates for NM2097 and NM2160
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-21 21:36:23 +00:00
Stefano Ceccherini
e064995715 Removed an unneeded dependency
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7016 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-18 07:37:38 +00:00
Axel Dörfler
1e14a27ee8 Changed prototype for thread_init(), renamed thread_init_percpu() to thread_per_cpu_init().
Removed thread_kill_thread_nowait(), removed prototype for non-existing thread_kill_thread().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7009 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-17 15:27:19 +00:00
Rudolf Cornelissen
c65998fa11 NV11 panel update; widescreen panel aspect programming added
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-16 11:15:30 +00:00
Axel Dörfler
14f5ad8ce4 Separated the team functions from the thread.h header into the new team.h.
Fixed fd.h to include that file.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-16 02:40:03 +00:00
Axel Dörfler
8131e02c55 Made C++ safe.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6994 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-16 02:24:42 +00:00
shadow303
4f5f1b3c0c Modify Thomas's radeon driver to fit our build structure.
Still needs woork to properly enable logging and extra settings.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6983 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-15 00:58:12 +00:00
Axel Dörfler
bbd8e7fbd9 Removed unneeded prototype.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-15 00:56:02 +00:00
Axel Dörfler
4a2e872cca Applied NewOS change 1914: moved APIC setup into the kernel due to a
problem with the APIC clock speed test.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 22:54:00 +00:00
Axel Dörfler
c27ed74e34 Replaced timer.h with a cpp safe version.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 21:08:25 +00:00
Axel Dörfler
188b2566b6 Cleanup, fixed return codes.
Removed the local_timer_cancel_event() function, since it is not used anywhere.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6973 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 18:03:18 +00:00
Axel Dörfler
7d154f91ff arch_setup_signal_frame() can now fail.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 17:58:11 +00:00
Axel Dörfler
a2b6866fb9 Fixed compilation without having included boot/kernel_args.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-14 17:42:18 +00:00
Rudolf Cornelissen
82cf9eb56b added some DFP registers needed
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-13 11:39:13 +00:00
Axel Dörfler
ed3f63ae37 Added a call to move the contents of one list to another.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6957 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-12 21:34:20 +00:00
Axel Dörfler
86d5deed7b Some additional standard MIME types in the Be world.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6944 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-10 13:40:35 +00:00
Axel Dörfler
3f7d503ff1 Fixed DoublyLinkedList::Iterator().
Switched back to a pointer to the list in the Iterator internally, so
that it can still be just copied without having to overload "=", etc.
This fixes the boot loader build, too (shame on me).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6941 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-10 00:49:52 +00:00
Axel Dörfler
03d14a728a kernel_cpp.h can now safely be included from C code, great, isn't it?
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6940 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-10 00:44:39 +00:00
Rudolf Cornelissen
6f5cefa919 added flatpanel registerdump
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6931 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-08 11:02:20 +00:00
Rudolf Cornelissen
c045684987 more panel detection stuff: looks like it will work for both DVI and laptops..
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6895 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-04 09:01:45 +00:00
Axel Dörfler
9e5bff5feb Replaced the syscall for thread_get_current_thread_id() with one for find_thread().
Renamed the thread/team syscalls to the new naming scheme.
Some other minor cleanups.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6867 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-03 00:52:47 +00:00
Axel Dörfler
8e623d69b5 Made it a bit nicer to use.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6866 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-03 00:50:01 +00:00
Rudolf Cornelissen
3186091bdd added preliminary flatpanel detection stuff
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6844 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-01 20:00:16 +00:00
shadow303
52c2367204 Remove some remnants of old API
Minor tweak to helper function paramter list


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-01 02:19:48 +00:00
beveloper
1e88e6620d updated to match source file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6821 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-29 20:09:42 +00:00
Adi Oanca
82cde293d6 added a method fo copying onscreen regions from one point to another
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-24 11:50:10 +00:00
Axel Dörfler
ac526351a8 Removed user_strncpy()/strcpy() and backends.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6699 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-23 05:26:08 +00:00
Axel Dörfler
7d5be143e8 We have status_t.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6692 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-23 04:30:46 +00:00
Axel Dörfler
31bedae9ea Replaced SYS_MAX_OS_NAME_LEN with B_OS_NAME_LENGTH.
Replaced "addr" with "addr_t".
And while I was at it, I also added the additional team parent/child members
as found in NewOS change 1930 (not applying the whole change yet).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6686 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-23 03:55:53 +00:00
Axel Dörfler
2e6b261697 Small cleanup.
Replaced SYS_MAX_OS_NAME_LEN with B_OS_NAME_LENGTH.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6677 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-23 03:14:49 +00:00
Axel Dörfler
166515d663 Replaced the scary team_get_team_struct() with the more pleasing team_is_valid().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6676 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-23 03:13:54 +00:00
Axel Dörfler
0fc073341c Renamed CHECK_USER_ADDRESS to IS_USER_ADDRESS.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6675 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-23 02:18:32 +00:00
Axel Dörfler
ab7ada645a Renamed the CHECK_USER_ADDRESS() macro to IS_USER_ADDRESS().
Added a IS_KERNEL_ADDRESS() macro.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-22 14:56:50 +00:00
DarkWyrm
14ef62299d Implemented and fixed font functions in DisplayDriver
Added some copy functions to ServerBitmap
Replaced LayerData component of Decorator with DrawData


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6601 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-15 20:26:01 +00:00
Michael Pfeiffer
329e4f9a7b Allow selection of ink density
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6583 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-14 00:00:18 +00:00
Michael Pfeiffer
7f5627dae3 Allow selection of halftone method and ink density
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6581 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 23:56:14 +00:00
Michael Pfeiffer
7566478beb Added InkDensity and DitherType; distinguish between page and job settings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6580 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 23:54:17 +00:00
Michael Pfeiffer
ef68644905 Shows a halftone preview.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6579 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 23:53:45 +00:00
Michael Pfeiffer
370f27ad77 Simplified creation of a libprint printer driver.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6576 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-13 23:45:40 +00:00
DarkWyrm
2bde7b6696 Removed the SetMode(int32) call - no longer necessary
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-12 01:22:47 +00:00
DarkWyrm
70b9b61f23 Made some ServerBitmap get-member functions const
Added UtilityBitmap class


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6519 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-07 13:47:52 +00:00
shatty
8f975d5e5f axel points out that the message loop is already started by the time we get to ReadyToRun, so we can start our friends there
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6485 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 09:43:46 +00:00
DarkWyrm
871efa51a3 Added some direct-buffer acces functions to DisplayDriver
Slight ServerFont tweak


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 00:51:23 +00:00
shatty
fa8dbc019d new MediaFormats. node monitoring codec plugin loading. codec mods to support new codec api to retrieve supported formats.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6465 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-02 05:26:40 +00:00
shatty
522f702aaf header for simple AddOnMonitor BLooper subclass to run an AddOnMonitorHandler
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6456 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-01 05:50:56 +00:00
shatty
afd1e2002e basic interface
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6455 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-01 05:50:00 +00:00
Michael Pfeiffer
730329f797 Unified handling of color and monochrome dithering.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6441 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 08:54:26 +00:00
beveloper
0f2976ab26 small api changes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-31 01:00:11 +00:00
Rudolf Cornelissen
9f21ce697e startup updates; CRT monitor detection added for both heads
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6435 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 20:48:53 +00:00
Michael Pfeiffer
2f6e49a929 Implemented Floyd Steinberg dithering and made it default.
Renamed many constants and fields according to Open BeOS coding style guide.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6433 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 17:10:36 +00:00
Michael Pfeiffer
7ea239b20d Implemented Floyd Steinberg dithering and made it default.
Renamed many constants and fields according to Open BeOS coding style guide.
Removed unused code that handles color spaces other than B_RGB32.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6432 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-30 17:09:32 +00:00
Michael Pfeiffer
aa36fbce3a Extended to dither each RGB channel separately.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6407 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 18:47:58 +00:00
Rudolf Cornelissen
29e0c99de5 added dualhead switch mode
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6405 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 10:44:56 +00:00
Rudolf Cornelissen
203b86df50 added dualhead switch mode
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6403 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 10:37:50 +00:00
shatty
e396ab580d untested version
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6401 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-29 00:24:03 +00:00
DarkWyrm
1f6632d9a4 Added a method to access the current pattern in PatternHandler
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 02:10:23 +00:00
DarkWyrm
c57a2cdc69 Removed pattern parameter from state-based calls. DrawData already has one
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 02:06:42 +00:00
Michael Pfeiffer
6df73d220c Added copyright text.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 21:23:40 +00:00
Michael Pfeiffer
9198afa23d Various changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6368 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 21:22:16 +00:00
Michael Pfeiffer
393fb10d6e Added class PrintTransport to simplify the usage of a print transport add-on.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 21:19:16 +00:00
Rudolf Cornelissen
cc6f554257 added overlay follows head functionality
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 12:17:51 +00:00