Commit Graph

1836 Commits

Author SHA1 Message Date
Axel Dörfler
47d0b95b38 Moved B_KERNEL_{READ|WRITE_AREA} from vm_types.h to KernelExport.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 22:00:23 +00:00
Rudolf Cornelissen
52ab726536 added more 3D specific engine registers needed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 13:36:10 +00:00
Rudolf Cornelissen
a282e63d4b added defines for set of unknown registers needed for 3D
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10414 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-13 12:05:39 +00:00
Axel Dörfler
dfb71e0444 Added a query length parameter to _kern_open_query() - it's much easier to
do these things in userland.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10397 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-12 20:33:58 +00:00
Axel Dörfler
fafd79e5c1 Added a function to allocate a non-continuous page run.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10396 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-12 20:33:01 +00:00
Axel Dörfler
68b54c0db9 Introduced new arch_vm.h header.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-10 18:48:31 +00:00
Axel Dörfler
c44645aa42 vm.h was not used anywhere.
Introduced new arch_vm.h ("public" arch headers have the arch_ prefix).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10384 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-10 18:43:26 +00:00
Jérôme Duval
c6d555add9 added _tolower and _toupper
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10369 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-07 17:24:16 +00:00
Axel Dörfler
a16bf97a7d Added preliminary support for cache modules.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10334 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 07:35:20 +00:00
Axel Dörfler
a32c8f261f Renamed _kern_exit() to _kern_exit_team(), just to avoid any confusion.
Added real _user_exit_team() syscall (it was previously incorrectly mapped
to _user_exit_thread()).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 04:14:55 +00:00
Axel Dörfler
b385f97e3e Added our first x86-only syscall for get_cpuid().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10323 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 03:54:23 +00:00
Axel Dörfler
bc93cc3fa7 Happy source compatibility breaking:
- Removed the OBOS_CPU_TYPE stuff - our types are now always defined.
- Made the cpu types consistent, renamed X86 to x86.
- cpuid_info.eax_1 now also contains the extended family/model info.
- Renamed cpuid_info.eax_0.vendorid to vendor_id.
- changed B_CPU_x86_VENDOR_MASK to 0xff to make some space for future changes.
- added some more CPU types (if anyone knows more Transmeta IDs; I
  couldn't find more of them).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10319 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 03:36:48 +00:00
Axel Dörfler
72873ebe36 Extracted CPU identification out of Pulse to be used by Pulse and sysinfo.
Might be better placed in a source file, but sysinfo is currently built
very simple, and I was too lazy to change this :-)


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10317 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-12-01 03:28:47 +00:00
DarkWyrm
e57e5a53a9 A couple more files to include with AGG
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10316 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-30 22:22:58 +00:00
Axel Dörfler
545ecbe86d Extended the get_system_info() mechanism; it now gets info about threads/teams
as well as architecture specific stuff.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-30 21:06:11 +00:00
Axel Dörfler
a3129fbc3b Added cpu_clock_speed field for now - might either be moved to the main
kernel_args; depending on how it'll be done on PPC.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10311 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-30 20:57:36 +00:00
Axel Dörfler
be505eacf5 Removed all error codes that are not used anymore.
Some of the remaining ones would be candidate for the standard Errors.h.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10308 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-30 18:32:02 +00:00
Axel Dörfler
7028b4da5d Cleanup, made C++ safe, updated license.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10306 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-30 18:17:59 +00:00
Axel Dörfler
50b844ee0b Removed the _user_delete_sem_etc() syscall prototype, as it is no longer present.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10305 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-30 18:10:32 +00:00
DarkWyrm
01e4e91366 Stupidman strikes again. :D
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10291 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-29 23:51:28 +00:00
DarkWyrm
6c41be783c FBC fix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10290 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-29 23:40:20 +00:00
Axel Dörfler
4c8e8f2f19 Added "flags" parameter to unmount.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10288 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-29 22:42:01 +00:00
Axel Dörfler
86a48e24ad Got inspired by mmu_man's dmidecode release and added a simple identification
of BIOS32, SMBIOS, and DMI services.
Also implemented a get_bios32_service() function which you can use to get
access to that service (ie. for use by the PCI bus manager).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10286 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-29 20:42:04 +00:00
Jérôme Duval
9b50999cc7 reverted to rtc_boot_time
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10281 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-28 23:23:48 +00:00
Michael Pfeiffer
76145367cb Resolved race condition in methode Go of dialog windows.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10276 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-28 19:05:01 +00:00
Michael Pfeiffer
f0307bad5c Added class JSDSlider by Dr.H.Reh.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10275 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-28 18:57:49 +00:00
Axel Dörfler
d76bee070b Added a note to the new B_TEAM_USAGE_SELF/CHILDREN constants that they
are compatible to sys/resource.h definitions.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10269 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-27 12:59:45 +00:00
Axel Dörfler
40bfa3f782 The inline version of find_thread() now references _kern_find_thread() if
__HAIKU__ is defined.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10266 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-27 12:52:29 +00:00
Axel Dörfler
e6ef7e58f4 No longer of use.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10262 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-27 12:06:41 +00:00
Axel Dörfler
841093cf3c Removed references to ktypes.h.
aspace_id is now defined in vm_types.h only, as it's only used internally anyway.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-27 12:05:41 +00:00
Axel Dörfler
04169a304b Added header for additional safemode definitions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10256 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-26 16:23:49 +00:00
Axel Dörfler
0d96fb1167 Moved _user_system_time() to real_time_clock.c.
Renamed _user_set_tzspecs() to _user_set_timezone().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10252 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-26 15:00:27 +00:00
Axel Dörfler
2080a7c04f Added fields to be able to track the time spent in children and threads
that are already gone.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10250 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-26 14:46:47 +00:00
Axel Dörfler
791fc0bf95 Added _user_shutdown() prototype.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10249 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-26 14:41:53 +00:00
Axel Dörfler
08f58535d9 Added syscalls for get_team_usage_info().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10243 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 21:18:54 +00:00
Axel Dörfler
fa2c0f885f Added _kern_get_safemode_option() syscall.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10235 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 18:32:51 +00:00
Axel Dörfler
d3d7ec98b6 Moved some time syscalls to the other time related syscalls.
Added _kern_shutdown() syscall.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10232 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 17:57:37 +00:00
Axel Dörfler
e3e06dd847 Added new new_fd_etc() call.
Cleaned up included headers.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10220 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-25 02:53:28 +00:00
Rudolf Cornelissen
03b720e76e added move_overlay() related info to shared_info.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10208 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-23 14:27:14 +00:00
Axel Dörfler
e0ee16403e Added prototype for vm_cache_write_modified().
Changed size argument of vm_cache_resize() from size_t to off_t.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10200 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-23 03:17:39 +00:00
Axel Dörfler
583e12c489 Added vm_page_write_modified() prototype.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10199 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-23 03:16:10 +00:00
Jérôme Duval
10a832f235 removed fields not needed any more in userland
boot_time is now system_time_offset


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10191 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-23 00:11:33 +00:00
Jérôme Duval
0018ac6a37 added _user_get_tzfilename
renamed rtc_boot_time to rtc_system_time_offset


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10190 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-23 00:10:18 +00:00
Jérôme Duval
6f8c05c381 added _kern_get_tzfilename
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-23 00:06:49 +00:00
Jérôme Duval
4bbf2e4987 added _user_set_tzfilename
removed set_tzspecs, which was useless; now done in user_set_tzspecs


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10176 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 17:05:17 +00:00
Jérôme Duval
d585e91d9d added tzfilename and isGMT fields.
tzfilename is used to keep current timezone filename
isGMT is used to know how to handle rtc clock


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10175 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 17:02:01 +00:00
Jérôme Duval
fbf47a381c added _kern_set_tzfilename, used to set global timezone filename and whether clock is GMT
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10174 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 16:59:10 +00:00
shatty
fc8af3cfe7 avoid missing prototype warning
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 04:42:09 +00:00
Jérôme Duval
35bec416bb added timezone_offset and dst_observed fields to real_time_data
added prototypes for set_tzspecs, used for setting these fields


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10132 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-22 00:28:12 +00:00
Michael Pfeiffer
4babd17d12 Changed return type to 'void' of function with unused return value.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-21 10:30:57 +00:00