Commit Graph

9817 Commits

Author SHA1 Message Date
Axel Dörfler
d55026c2d5 Added empty implementation of mknod() - should be pretty much what BeOS does.
The "mv" command needed it.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10011 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-18 16:56:10 +00:00
Ingo Weinhold
94a49b214b Fixed SetupKernel. SourceHdrs is best invoked on source files, otherwise
HDRSEARCH won't be set on the sources which may cause header dependencies
to be missing.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10010 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-18 15:59:02 +00:00
Rudolf Cornelissen
d7c3880880 added / updated PCI config space register defines.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10008 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-18 14:47:11 +00:00
Axel Dörfler
99daf65959 Added definitions that describe the stack direction.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10007 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-18 14:43:28 +00:00
Rudolf Cornelissen
12072d7934 fixed PCI config space dump.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10006 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-18 14:41:58 +00:00
Axel Dörfler
893e0713fb vm_store::fault() now returns a status_t.
Some cleanup.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10005 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-18 14:35:40 +00:00
Axel Dörfler
4eaf08ab83 Added B_STACK_AREA and B_KERNEL_STACK_AREA protection values.
vm_store::fault() now returns a status_t.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-18 14:33:13 +00:00
Rudolf Cornelissen
35bf46ca8d fixed PCI config space dump.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10003 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-18 14:14:03 +00:00
Rudolf Cornelissen
ff9044fac0 fixed PCI config space dump
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10002 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-18 14:10:36 +00:00
Rudolf Cornelissen
202732a089 driver is now Haiku driver.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10001 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-18 13:32:03 +00:00
Rudolf Cornelissen
e7a8a8c8e3 driver is now Haiku-driver
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10000 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-18 13:30:52 +00:00
Rudolf Cornelissen
9ea180fae1 completed move_overlay() implementation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9999 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-18 13:03:13 +00:00
Rudolf Cornelissen
2726e1e111 completed move_overlay() implementation. Updated docs.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9998 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-18 12:58:48 +00:00
Rudolf Cornelissen
1e421b8672 completed move_overlay() implementation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9997 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-18 12:52:55 +00:00
Axel Dörfler
5d6e6b647c Fixed warning.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9996 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-18 04:15:10 +00:00
Axel Dörfler
397e7db6df Brought the userland time initialization into more or less final shape:
- renamed setup_rtc_boottime() to __init_time()
- __init_time() is now initialized at libroot.so startup
- introduced new __arch_init_time() that does the arch dependent stuff,
  for now it just sets the system_time() conversion factor (that's the
  part that will change later on)
- os/time.c now keeps a pointer to the real_time_data around, not only
  to the boot time - maybe we'll it for other stuff as well later.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9995 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-18 03:08:36 +00:00
Axel Dörfler
312ecc1ec3 Added prototypes for __init_time() and __arch_init_time().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9994 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-18 03:03:24 +00:00
Jérôme Duval
33a26ad182 Added ps2_hid driver from Stefano Ceccherini
Added in the input kit package


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9993 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-17 23:38:32 +00:00
Jérôme Duval
123a598023 change to friend classes; field is now private again
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9992 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-17 22:43:06 +00:00
beveloper
5e3e040299 added support for mp3 audio playback
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9991 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-17 22:14:33 +00:00
beveloper
b02741bd26 A hack to allow testing of Vorbis playback (only one file at a time).
Contributed by Andrew Bachman and with known problems, but good for testing.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9990 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-17 22:13:41 +00:00
Axel Dörfler
1979c1f90c Page directories are now always allow user read/write access - this reduces
the x86 protection model to page level protection only. It's currently needed
for BeOS compatibility, though we might want to get rid of it later. Thanks
to Jerome for stombling into this :)
arch_vm_translation_map_init_post_sem() did not return a proper status.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-17 15:51:24 +00:00
Stefano Ceccherini
970c2591f5 Double buffering support (as it's in the original version). Needs some testing to see if it's cheaper/better than direct drawing.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9988 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-17 11:02:16 +00:00
François Revol
d288a106d4 Now I know why I didn't put it in, it's not finished. Anyone who wanna help, see linux' hdparm (identify) for the struct
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9987 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-17 10:58:47 +00:00
François Revol
a1572167ed Add ideinfo, idestatus to the build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9986 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-17 10:49:28 +00:00
François Revol
e27cd67efe I rewrote them long ago but thought they were in already. We'll probably use less obscure ioctls in Haiku though...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9985 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-17 10:47:47 +00:00
Nathan Whitehorn
15d7d70acd Fixed build
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-17 04:34:56 +00:00
Nathan Whitehorn
662e61b333 Made UDF build too, because why not?
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9983 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-17 03:17:28 +00:00
Nathan Whitehorn
e1a5c8df64 Made USB build, just for fun
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9982 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-17 03:06:20 +00:00
shatty
0ba6d601e8 restore prior values for utf8 and null, for the sake of default send mail encoding settings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9981 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-17 01:56:18 +00:00
Nathan Whitehorn
ec1cf916a3 Fixed a link problem - uname() should be extern C when used in C++ code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9980 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-17 01:26:11 +00:00
shatty
4d13b0dee0 openbeos packages become haiku packages
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9979 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-17 00:39:28 +00:00
Jérôme Duval
7bad53a1bc better parenthesis
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9978 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-17 00:22:54 +00:00
Rudolf Cornelissen
194c7fe171 added info used for move_overlay().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9977 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-16 22:18:12 +00:00
Rudolf Cornelissen
0bb0753773 finally adding move_overlay() function: still needs to be incorporated (to be continued).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9976 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-16 22:09:15 +00:00
Jérôme Duval
b5027c0e2b added ctime_r
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-16 11:24:35 +00:00
Axel Dörfler
d2b3371adc It now actually works.
Improved how it can be used, added a description at the top of the file, too.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9974 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-16 02:25:16 +00:00
Axel Dörfler
0e0ff3af72 Updated version of Ingo's script to build a valid Haiku boot image.
It has not yet been tested in this version, so it might not work correctly.
Needs Ingo's userland FS server.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9973 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-16 01:45:22 +00:00
Jérôme Duval
b3c1f2c654 removed comments
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9972 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-16 00:37:26 +00:00
Matthew Wilber
7df553e6f3 Removed unnessecary BView creation, added code to check for the initial, "no config view yet" state
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-15 23:57:45 +00:00
Matthew Wilber
85e99c67fa Fixed config view color so that, like Be's version, all config views have the same color
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9970 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-15 23:38:36 +00:00
Axel Dörfler
b28f1889df Writing in PIO mode was broken; thanks to Thomas for looking into it.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9969 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-15 23:16:28 +00:00
Axel Dörfler
f16f960989 Partially applied our style guide.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9968 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-15 23:11:37 +00:00
Jérôme Duval
fac367f27d fix to conform to the API
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9966 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-15 21:33:48 +00:00
Axel Dörfler
abb0fbc167 vfs_mount_boot_file_system() now at least checks for the right partition
offset to recognize the boot volume.
This should work well enough for now (as long as you don't have too many
disks in your system).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9965 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-15 20:02:04 +00:00
Axel Dörfler
06db250916 vfs_mount_boot_file_system() now also gets the kernel_args.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9964 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-15 20:00:49 +00:00
Jérôme Duval
7ffb9bb195 visual fix
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9963 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-15 19:50:19 +00:00
Axel Dörfler
17e0266f6e Implemented platform_register_boot_device(): it parses drive_parameters
versions 2.x and 3.x and fills the disk_identifier of the boot disk.
"Dumb" checksum/size recognition is not yet implemented (stores only the
size of the disk for now).
Does not yet create bios_drive structures for any other drives.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9962 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-15 18:11:27 +00:00
Axel Dörfler
04b9d56a03 register_boot_file_system() now also fills in the kernel_args data about
the boot partition, and calls platform_register_boot_device() for the
rest.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9961 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-15 18:06:47 +00:00
Axel Dörfler
925f2cab6a get_node_for() has moved into the public VFS API for now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9960 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-15 18:05:01 +00:00