Commit Graph

5255 Commits

Author SHA1 Message Date
Philippe Houdoin
f8fbbb736e Remove misplaced userland network stack tester platform, now moved to
src/add-ons/kernel/network/*


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5125 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 20:32:22 +00:00
Waldemar Kornewald
152327e1a6 Changes for net module control() support.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5124 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 18:08:53 +00:00
Waldemar Kornewald
b82b832e8c Added ppp, pppoe, and pppconfig to NetworkingKit.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5123 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 18:04:33 +00:00
Waldemar Kornewald
79d2631976 Added pppconfig bin command to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5122 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 18:03:42 +00:00
Waldemar Kornewald
5a4503c3ff Added PPPoE module.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 18:01:36 +00:00
Waldemar Kornewald
4fbbad3009 The beginnings of libppp.a. This is a userland library to talk to the PPP stack. It hides the ioctl() stuff from the user.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5120 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 17:59:38 +00:00
Waldemar Kornewald
e745242193 Mostly fixes and smaller API changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5119 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 17:56:14 +00:00
Waldemar Kornewald
f378b1b9c8 BUG fix.
Small changes for PPP.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5118 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 17:53:29 +00:00
Waldemar Kornewald
d7fa7da88b Some fixes and small changes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5117 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 17:51:49 +00:00
Waldemar Kornewald
ab5bf14914 Added support for PPPoE.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5116 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 17:51:20 +00:00
Waldemar Kornewald
7f015ac671 Forgot to commit changes for control() support and some fixes.
Also added header for PPPoE support in ethernet module.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-23 17:50:45 +00:00
Philippe Houdoin
8055343f23 Forgot to report some bugs in this userland_modules.cpp. Should switch to
use the libkernelland_emul.so one day...
Oh, and I change net_server into net_stack_tester, which is what it's really...
just a network stack tester host app.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5114 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-21 21:21:11 +00:00
Axel Dörfler
c5b5378a79 The recently added load_kernel() tried to load the kernel again (there already
was a load_kernel() call above). Added a comment that might prevent me from
doing that again...


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5113 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-21 05:39:36 +00:00
Axel Dörfler
a6c27d152d Now prints out a message when the allocation function is called.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5112 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-21 05:38:01 +00:00
Axel Dörfler
a721098497 Now prints an error message if the kernel couldn't be loaded.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-21 05:35:57 +00:00
Axel Dörfler
4f364c85af Enabled and added some more debug output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5110 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-21 05:35:32 +00:00
Axel Dörfler
a47544320d Fixed File::ReadAt() (it didn't return the actual length read, just B_OK).
Visually simplified Volume::ToBlock().


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5109 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-21 05:27:24 +00:00
Axel Dörfler
3a8a05a459 Now works again, added missing platform functionality.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5108 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-21 04:26:51 +00:00
Axel Dörfler
caac43e662 Fixed missing initialization of fBlock in one of the constructors of CachedBlock.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-21 04:25:20 +00:00
Axel Dörfler
65b30ea3c1 The boot loader compiles again on x86.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5106 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-21 04:16:43 +00:00
Axel Dörfler
bc0096be96 Compiles again.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-21 04:16:06 +00:00
Axel Dörfler
d69f033efd Fixed a warning.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-21 04:08:04 +00:00
Axel Dörfler
1aa6a4ca46 Added link handling to the RootFileSystem (for the "boot" link).
Renamed AddNode() to AddVolume() - it's no longer virtual but private to
the root file system.
Added new method AddLink() to add a link to a volume.
The link handling is separate from the other volumes (to be able to iterate
only over real volumes). Added a name field to the inner entry class which
is used for links.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-21 04:05:34 +00:00
Axel Dörfler
9bf99ee93b Now registers the boot device and loads the kernel.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-21 04:01:09 +00:00
Axel Dörfler
18562ebdd8 gRoot is now defined in RootFileSystem.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-21 04:00:12 +00:00
Axel Dörfler
77cfe0902a gRoot is now defined in RootFileSystem.h, AddNode() is now called AddVolume().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-21 03:59:39 +00:00
Axel Dörfler
6822f1482e gRoot is now a RootFileSystem, not just a Directory anymore.
register_boot_file_system() adds the "boot" link to the root fs.
mount_all_file_systems() now prints out the root directory of the
mounted volumes just for fun (to be removed later).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-21 03:58:40 +00:00
Axel Dörfler
ace56d68aa Removed the AddNode() method from the Directory class.
Moved gRoot into the private RootFileSystem header.
Added new register_boot_file_system() function.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-21 03:55:53 +00:00
Axel Dörfler
f5ab9c12ce Fixed arch_cpu_global_TLB_invalidate() - it only invalidated the first
256K of the available address space.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5097 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-21 03:39:47 +00:00
Axel Dörfler
622405014e The init routine doesn't have to make sure that the IP bit of MSR is
set since the boot loader already takes care of that.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5096 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-21 03:38:39 +00:00
Axel Dörfler
6f634c19b6 Fixed a potential overflow bug in ppc_set_page_table().
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5095 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-21 03:37:15 +00:00
Axel Dörfler
c72672b624 Made the computation of the page table hash mask easier to read.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5094 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-21 03:36:22 +00:00
Axel Dörfler
7fc11e15bb Some work-in-progress on the MMU functions:
- it will now successfully take over the MMU, but it doesn't tell OF
  yet about it.
- map_page() will now fill in the page table relative to sSegments[], and
  no longer to the segment registers directly (as they might be different
  at that time, depending on the OF).
- map_page() will panic if it couldn't find a free slot in the page table
  (that's enough for the boot loader)
- finds the exception handlers mapping and sets the kernel args
- rewrote insert_memory_range(); it now actually works in all cases (no
  matter if the ranges overlap or not, and it will also join ranges if
  possible). The start address will now be round down to page aligment.
- some other small fixes
- the page table is now cleared before use (as of_claim() obviously doesn't
  return cleared memory).
- replaced some uint32 with addr_t where it made sense (there are probably
  even more places).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5093 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-21 03:19:01 +00:00
Axel Dörfler
db0fd9726e Added functions to set and get the segment register (as segment_descriptor).
Added constructors to block_address_translation and segment_descriptor
that will clear its memory (could be done more efficiently though, it just
uses memset()).
Added definitions for the MSR (machine state register).
Added tlbsync() macro (direct assembler call).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5092 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-21 03:07:44 +00:00
Waldemar Kornewald
6b6c29afe6 Fixed flags printing.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5091 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-20 20:45:48 +00:00
Matthew Wilber
0a3144ad6b Changed selection box to use a checkered pattern, closer to what Be's ShowImage uses. Stopped using inversion to clear old selections, drawing the bitmap over them instead. Fixed the rect used in setting the view bitmap.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5090 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-19 01:56:01 +00:00
DarkWyrm
2cd26ed941 Changes to integrate with app_server:
Added code to send more than just mouse move messages
Removed the input_server's dependency on local PortLink sources
Broke the BeIDE project by removing the PortLink dependency (oh well) -- see me for a fix if you run into problems building locally


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5089 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-19 00:46:44 +00:00
DarkWyrm
d6e461f029 Added system color, system font, and decorator update notification
Added a little server-side code to handle system color updates


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5088 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-19 00:03:06 +00:00
DarkWyrm
01490aa446 Added server notification
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5087 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-18 23:58:59 +00:00
DarkWyrm
6d6540131a Added a couple of private, internal message defs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5086 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-18 23:55:41 +00:00
DarkWyrm
d1c8b508e5 Cruft removal
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-18 23:17:34 +00:00
DarkWyrm
c94c672743 cruft removal
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5084 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-18 23:16:40 +00:00
Matthew Wilber
af2002bf8c Implemented preliminary selection box skeleton code. Need to add marching ants and connect selection box status to Edit menu.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5083 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-18 22:58:34 +00:00
DarkWyrm
5eaf1421a5 Tweaks for BPicture compliance
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5082 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-18 22:45:16 +00:00
DarkWyrm
7d4ebd1ef0 Implemented some more handler code for different BPicture opcodes
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-18 22:44:44 +00:00
ejakowatz
b07c31a73f Finished up some scripting-related items.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5080 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-18 04:55:28 +00:00
beveloper
a33c76090e RIFF WAV header structures
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5079 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-17 23:56:13 +00:00
beveloper
ca16f5cb03 start of media kit codec plugin API
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5078 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-17 23:55:19 +00:00
Axel Dörfler
b912581792 new_file_system() returned a status code, but should have returned
a pointer to the file system.
Renamed all static g* variables to s*.
Renamed "mount_id" fields to the higher level "device" (to be able
to compile the file).
Fixed all casting warnings.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-17 14:47:15 +00:00
Axel Dörfler
9559a50771 Renamed vfs.c to vfs.cpp to prepare and ease working with the disk
device manager (and have more warnings).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5076 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-17 14:45:07 +00:00