Commit Graph

1073 Commits

Author SHA1 Message Date
Axel Dörfler 2130a091c3 Added field for the size of the userland stack; a userland stack is allowed
to have any stack size, it's not a fixed value (well, at least that's what
will happen :)).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9189 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-04 22:37:44 +00:00
Philippe Houdoin 66c1fb8eb3 Removed duplicate B_SELECT_* & co definitions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9167 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-03 15:11:46 +00:00
Nathan Whitehorn d774d9a0a1 While we're modifying ether_driver.h, added in an ioctl for link state detection, and implemented it in the two Broadcom drivers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9144 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 03:01:20 +00:00
Axel Dörfler 57549ff41e Removed vfs_types.h - it's no longer needed.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9143 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-01 01:31:15 +00:00
François Revol 4a02ef9f55 notify_select_event moved to headers/os/drivers/Drivers.h where it belong
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9138 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-30 23:47:40 +00:00
Ingo Weinhold 5f169e23f4 Added missing syscall _kern_restore_signal_frame().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9131 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-30 23:24:02 +00:00
François Revol 1b9aa3e9f8 Add 2 BONE ioctls not to colide with; Add GETIFTYPE for my own stuff, but I'm not sure how I'll use that yet.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-30 16:40:42 +00:00
Rudolf Cornelissen 5656df5294 added new register
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-30 12:54:00 +00:00
Axel Dörfler 85f6117e32 Moved the user_memcpy()/strlcpy()/memset() calls to KernelExport.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-29 10:29:00 +00:00
Axel Dörfler 9ade9e873d Added fields for process group and session IDs.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-28 19:44:10 +00:00
Jérôme Duval 7d5d344bf1 Some mice have two wheels
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-28 11:20:45 +00:00
Rudolf Cornelissen b93cacd365 removed double defines
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-27 15:30:16 +00:00
Rudolf Cornelissen 26b88cb86d added a few registers for RAM setup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9073 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-27 12:04:40 +00:00
Jérôme Duval 59fda8c176 change the mouse io struct
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-26 22:34:57 +00:00
Jérôme Duval d0a8891742 fix no newline at end of file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-24 12:46:01 +00:00
Jérôme Duval 767560b14e Splitted kb_mouse_driver.h to avoid mixing driver and settings
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9043 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 15:35:37 +00:00
Axel Dörfler a78a421de8 Renamed sleep() to spin() as that's what it does, and sleep() also doesn't
like unistd.h.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9040 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 13:43:57 +00:00
Rudolf Cornelissen ce28ad8b6c added NV45 ident.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9038 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 11:47:08 +00:00
Rudolf Cornelissen 9cfdd4b71f added NV40, NV41 and NV43 ident.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9035 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-23 10:20:58 +00:00
Stefano Ceccherini 1fec91104a Added newline at the end of the file
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9029 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-22 07:05:56 +00:00
DarkWyrm 66133bb5d9 s/OpenBeOS/Haiku/
Style fixes for ServerBitmap and ServerCursor
Assignment operator for GraphicsBuffer


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 22:46:37 +00:00
Nathan Whitehorn f7215ac853 Imported MDR. Some code still not entirely functional -- I haven't been able to figure out how to detect SSL, so IMAP and POP have it turned off. PPP auto-detect is also not functional at the moment. Other than that, it seems to work beautifully. Packaging will come later.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9016 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 22:31:50 +00:00
Axel Dörfler 3b00a056c7 Be's native types are no longer allowed in this file (because of the gensyscall utility).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9002 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-19 18:55:33 +00:00
DarkWyrm f06ff64b1a Set the API for stroke/fill shape
Made a couple API tweaks for stroke/fill polygon
Added a Frame() method to BezierCurve to be able handle polygon API tweaks


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-17 10:20:14 +00:00
Jérôme Duval 5c99440e0f Added ColorTools and ColumnListView from Vision cvs repository
(ColorTools.h : 1.2, ColorTools.cpp : 1.4,
ColumnListView.h : 1.13, ColumnListView.cpp : 1.3)
Original code from OpenTracker


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8984 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-16 20:42:34 +00:00
Axel Dörfler 367fa74ad9 Added needed syscalls for fork(), exec(), and waitpid().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8971 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-15 15:42:02 +00:00
Rudolf Cornelissen f3736c4994 added some registers
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8929 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-13 14:03:58 +00:00
Rudolf Cornelissen 2dbc30d68b minor PLL code mods.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8928 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-13 11:45:03 +00:00
Axel Dörfler e03f6fcfe2 Added the arch_config.h file for PPC, moved some stuff out of arch_cpu.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8913 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-11 11:04:23 +00:00
Ingo Weinhold b07e2ab15f uint32 -> unsigned int. No need to rely on defined types.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8906 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-10 23:12:23 +00:00
Axel Dörfler c2d416e259 Partially covered by arch_config.h and support/ByteOrder.h now/already.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8900 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-10 14:18:46 +00:00
Axel Dörfler 1aaaa3689a Moved some arch dependent config information to this new file (from arch_cpu.h).
There is probably more that could be moved in here.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8899 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-10 13:08:06 +00:00
ejakowatz 974d454507 Fixed bug. BMessageBody's assignment operator was making a generic copy of the map which maintains the data -- meaning only pointers to contained BMessageFields were being copied. Added Clone() operation to BMessageField and Copy() to BMessageFieldStoragePolicy, along with a specialization of BMessageFieldStoragePolicy for BDataBuffer; a straight copy of the vector is sufficient for all other data types. This fixes issues with BMessage unittests where BMessage, entry_ref, BFlattenable, and raw data are exercises.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8890 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-07 23:25:09 +00:00
ejakowatz 02043d35db Added calc_padding() convenience function for calculating how much padding to add to a buffer in order for it to fall on a specified byte boundary.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8889 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-07 23:06:32 +00:00
ejakowatz e4265bfbfe Modified BDataBuffer's copy constructor to let the user specify whether to create a copy of the buffer or just a reference. Also changed all void* params to be const.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8888 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-07 23:00:30 +00:00
Axel Dörfler cfd8ea7832 Added a "cookie" parameter to the vfs_read|write|has_page[s]().
Also added a prototype for the fs_get_file_map() fs call.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8867 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-06 21:52:28 +00:00
Axel Dörfler 9f67399eea Made header C++ safe. Also replaced the old "addr" type with "addr_t".
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8866 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-06 21:49:38 +00:00
DarkWyrm fcde063209 Misplaced this file when I was checking stuff in a bit ago
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8856 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-05 00:59:28 +00:00
DarkWyrm e09bff9bf3 Added some utility classes which will make finishing work on DisplayDriver much easier and cleaner
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8854 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-05 00:48:23 +00:00
Axel Dörfler 77ca57637e The pnp_node_info structure is now a bit more public and accessible
within the kernel.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8845 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-04 17:19:41 +00:00
Axel Dörfler 1b4746c270 Changed the VM store and VFS functions a bit to better match the corresponding driver hooks.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8844 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-04 17:18:36 +00:00
Rudolf Cornelissen ec90512462 added CRTC FIFO registers for watermark setup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8838 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-04 09:33:56 +00:00
Axel Dörfler 3551420440 Eliminated the "data" field in vm_store - since VM stores allocate their structure
themselves, they can just subclass that structure.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8833 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 19:06:12 +00:00
Axel Dörfler 9d9c6d7de9 No longer in use.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8832 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 17:07:35 +00:00
Axel Dörfler 5cf089d64f Start of the file cache. For now only exports a vnode store.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8828 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 16:33:32 +00:00
Axel Dörfler 8b3bd22a1d Added vfs_get_vnode() prototype.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8826 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 16:00:22 +00:00
Axel Dörfler 36ce5c0164 Changed the way the vnode cache is set - it's now cleaner and can no longer
allocate a cache twice.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8815 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-03 14:07:00 +00:00
Rudolf Cornelissen 5fd2ad26d3 rewritten ISA coldstart script cmd's to actually use ISA I/O.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8793 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-02 08:49:40 +00:00
Ingo Weinhold 75df143732 Introduced a macro specifying the type function parameters are aligned to. Not nice, but seems to help with the automatic generation of syscall code (at least on x86).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8783 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 20:15:19 +00:00
Rudolf Cornelissen 1056bcb0ca added ISA I/O functions in kerneldriver (for coldstart script exec)
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8782 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-01 20:10:51 +00:00