Commit Graph

5097 Commits

Author SHA1 Message Date
Axel Dörfler
14d9cc14d9 Updates caused by renaming vm_translation_map_get_pgdir() to
i386_translation_map_get_pgdir().
Fixed some warnings.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5067 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-17 13:47:12 +00:00
Axel Dörfler
fb7bec78e3 Created a new arch-specific vm_translation.h header - it's not included
in this file.
Moved the vm_translation_map_get_pgdir() function to the x86 specific
header.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5066 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-17 13:36:38 +00:00
Axel Dörfler
db5620838a Moved the vm_translation_map_get_pgdir() function from arch/vm_translation_map.h
into this file (and replaced the prefix with i386_).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5065 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-17 13:35:12 +00:00
Axel Dörfler
61897ef2b1 Stub implementation no longer needed, real implementation will be C++.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5064 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-17 13:06:24 +00:00
Axel Dörfler
3b912ee405 Stub implementation no longer needed, real implementation will be C++.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5063 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-17 13:00:07 +00:00
Axel Dörfler
112bea4bac Added the arch_cpu_sync_icache() function for x86 from NewOS.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5062 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-17 12:54:34 +00:00
Axel Dörfler
57c3918258 Added the arch_cpu_sync_icache() function from NewOS.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5061 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-17 12:53:45 +00:00
shadow303
a9af2b0df0 Add GetDrawData function
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-16 22:25:06 +00:00
shadow303
c01b1be5a0 Add visible region to layerdata
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-16 22:21:19 +00:00
Waldemar Kornewald
0fe962a8b1 Last modification was wrong. The declaration of h_errno was needed to compile libnet.so.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5058 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-16 18:45:59 +00:00
Axel Dörfler
4790079584 Renamed arch_mmu_alloc_at() to arch_mmu_allocate(), removed arch_mmu_alloc().
Added new arch_mmu_free() function (not yet implemented).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5057 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-16 18:44:18 +00:00
Axel Dörfler
35270fa7d4 Removed unused makefile.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5056 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-16 18:42:38 +00:00
Axel Dörfler
b858732b90 Fixed a scoping bug in the elf_load_kspace() function (non-critical under
normal circumstances, though).
Updated the comment why we have to create the read-only segment as read-write.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5055 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-16 18:28:10 +00:00
Axel Dörfler
c0c914aeef Updated rldelf.c due to the changes in elf32.h.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5054 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-16 18:22:59 +00:00
Axel Dörfler
73ebb119f3 Forgot to check the endian of the ELF header.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5053 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-16 18:08:04 +00:00
Axel Dörfler
f44f6a045e Removed test MMU allocation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5052 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-16 18:07:21 +00:00
Axel Dörfler
2ea8f7d444 Added mmu.cpp to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5051 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-16 18:06:25 +00:00
Axel Dörfler
b6384820ac Implemented the platform MMU functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5050 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-16 18:05:37 +00:00
Axel Dörfler
384be72972 Implemented load_kernel(), load_modules() now traverses the
/boot/beos/system/add-ons/boot directory for boot modules (it
currently only prints out all the modules found).
Not yet tested!


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5049 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-16 18:02:36 +00:00
Axel Dörfler
21a3fff594 Added the ELF loader to the build.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5048 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-16 18:01:24 +00:00
Axel Dörfler
8fbf1c6169 Since there currently are no directory traversing functions, I've
added a temporary get_node_from() function which returns the Node
assigned to the file descriptor.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5047 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-16 18:00:28 +00:00
Axel Dörfler
af0e9e9d12 Implemented the boot loader's ELF loader (untested).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5046 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-16 17:58:55 +00:00
Axel Dörfler
7a17e3aeea Some fixes because of the elf32.h header cleaning.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5045 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-16 17:56:05 +00:00
Axel Dörfler
b73b3e5a2d Changes for the ELF loader in the boot loader.
Removed the arch_mmu_alloc() function, added (empty) arch_mmu_free() function.
Added platform prototypes for allocating and freeing a region.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5044 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-16 17:55:21 +00:00
Axel Dörfler
e44d4929ce Made it independent.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5043 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-16 17:52:35 +00:00
Axel Dörfler
c550d8537a Cleaned up the ELF header a lot, added missing definitions.
Added some C++ only accessor methods for convenience.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5042 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-16 17:51:53 +00:00
Stefano Ceccherini
b17e9812fd Fixed the long outstanding bug that made BRect::Intersects() return false when one rect was completely contained into the other. Cleaned up (a bit) the code.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5041 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-16 08:00:44 +00:00
Waldemar Kornewald
0fc3ae8c5c Finished PPP interface manager module.
TODO:
 - IPCP protocol module
 - PAP authentication module
 - PPPoE device module
 - pppdial cmd-line app including needed net_stack_driver changes for control() function support
 - tests, tests, tests :))


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5040 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-15 16:01:40 +00:00
shadow303
4c4cad9f02 Add clipping wrapper for display drivers.
Fix minor bug with AccelerantDriver opening the stub device


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5039 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-15 00:25:24 +00:00
Michael Pfeiffer
93e2dd77fb Renamed Preview test app to ShowPrintJob to avoid name conflict with Preview printer driver.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5038 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 17:14:11 +00:00
Michael Pfeiffer
44350116a7 Obsolete.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5037 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 17:07:55 +00:00
Michael Pfeiffer
d9b3e69ea4 Implemented preview printer driver.
Based on PDF Writer (thanks Philippe).
To do: share code with PDF Writer.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5036 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 17:06:50 +00:00
Michael Pfeiffer
869850df64 Added preview printer driver.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5035 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 17:05:50 +00:00
Michael Pfeiffer
4c6f063e7e Added missing return statement.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5034 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 17:04:48 +00:00
Jérôme Duval
e75df357b9 internal latency = 1 buffer
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5033 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 16:25:28 +00:00
Axel Dörfler
2b3e9b28d6 Added bin.linuxppc to the ignore list
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5032 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 15:51:52 +00:00
Waldemar Kornewald
77f15b8315 Implemented some methods.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5031 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 13:48:41 +00:00
Waldemar Kornewald
d6a3da1874 Initial commit of very skeletal ppp interface module.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5030 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 12:55:28 +00:00
Waldemar Kornewald
b80f17599b Added control() function (as NULL pointer).
Fixed warnings.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5029 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 12:24:50 +00:00
Waldemar Kornewald
5a10f7ebb4 Added control() function (as NULL pointer).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 12:24:28 +00:00
Waldemar Kornewald
d73f313295 Added control() function (as NULL pointer).
Fixed some warnings.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 12:23:57 +00:00
Waldemar Kornewald
eb5d50b665 Added support for controlling modules.
Fixed warnings.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5026 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 12:23:09 +00:00
Waldemar Kornewald
f5ef266db8 Replaced direct access to max_xxx variables with get/set_max_xxx.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 10:15:31 +00:00
Waldemar Kornewald
13b219e125 Added get/set_max_xxx functions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 10:14:57 +00:00
Waldemar Kornewald
917d6a9d1f Removed declaration of h_errno variable.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5023 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 10:12:04 +00:00
Axel Dörfler
494601c3fc The boot loader test application now works again (adapted to recent
changes).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5022 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 00:50:17 +00:00
Axel Dörfler
0634bc3221 Fixed error jam was continuously reporting on PPC.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5021 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 00:37:29 +00:00
Axel Dörfler
962c1957d8 Minor fixes.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5020 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 00:34:08 +00:00
Axel Dörfler
2664bace2e Changed to use the DoublyLinked::List implementation.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5019 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 00:33:11 +00:00
Axel Dörfler
603d81b967 Some more debug output.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-10-14 00:31:12 +00:00