Reversed lines 295/296 of src/buffer.c to have options z and j working
This last bug means this version maybe will need to be updated for R1
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7535 a95241bf-73f2-0310-859d-f6bbb57e9c96
like any other module (yeeha!).
You can even unload preloaded images later on (to replace them with a
more up-to-date on disk version).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7532 a95241bf-73f2-0310-859d-f6bbb57e9c96
If an image cannot be created out of a preloaded_image, its resources
are freed now.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7531 a95241bf-73f2-0310-859d-f6bbb57e9c96
Also renamed elf_load_kspace() to load_kernel_add_on(), and friends.
The new unload_kernel_add_on() now has an image_id as parameter, no longer
a path (like the former elf_unload_kspace()).
Now requires a driver to export the api_version symbol.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7528 a95241bf-73f2-0310-859d-f6bbb57e9c96
Also renamed elf_load_kspace() to load_kernel_add_on(), and friends.
The new unload_kernel_add_on() now has an image_id as parameter, no longer
a path (like the former elf_unload_kspace()).
Fixed missign file system unload.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7527 a95241bf-73f2-0310-859d-f6bbb57e9c96
Now registers its images as it should do (so you can use commands like
listimage in userland).
Added new debugger command "image".
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7522 a95241bf-73f2-0310-859d-f6bbb57e9c96
to acquire the team spinlock).
Renamed the user syscalls to the new style.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7521 a95241bf-73f2-0310-859d-f6bbb57e9c96
freed in the wrong order in case of an error (could have crashed the kernel).
Implemented insert_preloaded_images() which prepares the preloaded images
for later use in the kernel.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7520 a95241bf-73f2-0310-859d-f6bbb57e9c96
Now scans "/boot/home/config/add-ons/kernel/boot" as well as "/boot/beos/system/add-ons/kernel/boot".
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7506 a95241bf-73f2-0310-859d-f6bbb57e9c96
the size of the stat structure to allow extensions of that structure.
Renamed those syscalls to the new naming scheme.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7496 a95241bf-73f2-0310-859d-f6bbb57e9c96
the size of the stat structure to allow extensions of that structure.
Renamed those syscalls to the new naming scheme.
Updated the syscalls to support stat extensions.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7494 a95241bf-73f2-0310-859d-f6bbb57e9c96
probably be available as public kernel API as well (or rather, only).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7492 a95241bf-73f2-0310-859d-f6bbb57e9c96
in device_manager.h).
Fixed some comments.
Removed realpath() from probe.c for now - mechanism will be changed, and that
prevented it from being built as part of the kernel; it's currently not functional.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7489 a95241bf-73f2-0310-859d-f6bbb57e9c96
be any size, not just full path names (even without the file name...). Optimized
it to only traverse paths that match the prefix.
The built-in modules now honor the prefix as well.
Renamed module_iterator::path_stack to stack.
The system add-on path was even wrong (but that didn't matter yet, as we're
still do a recursive search for modules).
The user add-on path now matches the real one - but that should probably be
retrieved from calling find_directory(), anyway...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7483 a95241bf-73f2-0310-859d-f6bbb57e9c96
The link change functions are no longer called from inside the interrupt handler.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7482 a95241bf-73f2-0310-859d-f6bbb57e9c96
The difference is that these callback functions will be executed in thread (not interrupt) context,
and that they shouldn't crash (as add_timer does).
Integrated the timer funtions into the timeout() and untimeout() FreeBSD emulation framework.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7474 a95241bf-73f2-0310-859d-f6bbb57e9c96
Added a ROUNDUP() macro.
Moved area_malloc/free into util.c.
Added missing license.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7466 a95241bf-73f2-0310-859d-f6bbb57e9c96
The prefix will obviously ignored currently!
Fixed get_next_loaded_module_name(); it will now work correctly (doesn't check, though,
if the module is currently loaded...).
Removed the module_test() function - doesn't belong here.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7465 a95241bf-73f2-0310-859d-f6bbb57e9c96
the Devices preferences application.
Removed the now unneeded include path from the Jamfile.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7462 a95241bf-73f2-0310-859d-f6bbb57e9c96
- support built-in modules
- support the private kernel locking calls
- support the private kernel doubly linked list functions
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7458 a95241bf-73f2-0310-859d-f6bbb57e9c96
The Jamfile already has this directory as include, so i hope it should build right
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7447 a95241bf-73f2-0310-859d-f6bbb57e9c96
main, not by getting the module any longer.
It now also creates the root node directly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7438 a95241bf-73f2-0310-859d-f6bbb57e9c96
The clock and calendar work. The Zone list is mostly there. I haven't gotten it to apply changes yet, and the second timezone time view isn't updated. It is almost a bit copy of the original, I couldn't work out some of the positioning.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7431 a95241bf-73f2-0310-859d-f6bbb57e9c96
I'm going to keep plugging away at this app until such that it needs assistance from the net crew.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7430 a95241bf-73f2-0310-859d-f6bbb57e9c96
anything in bfs_close() does not really makes sense. Thanks to Ingo for
pointing this out.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7429 a95241bf-73f2-0310-859d-f6bbb57e9c96
api version will be set to 3 as required for Dano/Zeta - apparently, the
previous mechanism doesn't work with our headers, as we don't define
B_BEOS_VERSION_DANO at all :)
Fixed the build again (because of the stdio switch).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7428 a95241bf-73f2-0310-859d-f6bbb57e9c96
team_create_team() now uses the B_NORMAL_PRIORITY constant instead of the number directly.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7425 a95241bf-73f2-0310-859d-f6bbb57e9c96
system - it's now mounted a bit later.
Renamed vfs_register_filesystem() to vfs_register_file_system().
Changed return codes to status_t where appropriate.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7424 a95241bf-73f2-0310-859d-f6bbb57e9c96
NET_STACK_CONTROL_MODULE IPC support is still a work in progress, thought.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7419 a95241bf-73f2-0310-859d-f6bbb57e9c96
of "obfs" (thanks Ingo). Also, changed the destination directory. It was formelly
"beos/system/add-ons/kernel/file_systems/bfs/" and now it is
"beos/system/add-ons/kernel/file_systems/" (as it should be).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7411 a95241bf-73f2-0310-859d-f6bbb57e9c96
Now supports renaming while copying if another target name was given.
Forgot to add license (applies for previous versions as well).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7407 a95241bf-73f2-0310-859d-f6bbb57e9c96
Fixed a possible endian problem in CheckBlockRun(), too.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7405 a95241bf-73f2-0310-859d-f6bbb57e9c96
BFS replacement (will report itself as "bfs" instead of "obfs". Is there a
way to change the add-on name based on the same define?
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7403 a95241bf-73f2-0310-859d-f6bbb57e9c96
too late, and could theoretically already be acquired by someone else).
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7402 a95241bf-73f2-0310-859d-f6bbb57e9c96
FreeBSD compatibility layer that provides a struct ifnet interface,
all #defines that are used by the driver, the mbuf functions,
mbuf queues, etc.
Also some unused things are provided by empty macros.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7399 a95241bf-73f2-0310-859d-f6bbb57e9c96
from within an interrupt handler, and wastes pretty much memory.
Knows only about two different block sizes, and implements them by
using a simple free list.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7398 a95241bf-73f2-0310-859d-f6bbb57e9c96
util.* provide a convenience function to map physical memory.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7397 a95241bf-73f2-0310-859d-f6bbb57e9c96
Initialized attaches and detaches the core driver, sends and receives packets
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7395 a95241bf-73f2-0310-859d-f6bbb57e9c96
as this involves some long delays like eeprom reading, etc.
Need to snooze() there, and this moved this into a separate thread.
Obviously, the FreeBSD driver isn't doing prober locking yet, so
it's not really save. But it's the correct way to do it, and it
doesn't crash. Inside the interrupt handler it did crash when reconnecting the cable...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7393 a95241bf-73f2-0310-859d-f6bbb57e9c96
PCI id table, em_probe() and em_shutdown() are now gone.
Changed interrupt handler to use the BeOS calling convention, this avoid putting a wrapper around it.
em_attach() and em_detach() no longer link the adapter struct into a list.
When PCI io port access is configured, make sure that io address decoding is enabled in the PCI configuration.
replaced some offsetof() macros with #defiens to avoid importing all these structs.
Moved sysctl stuff into a #if 0 #endif wrapper.
Removed #include of FreeBSD header files.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7390 a95241bf-73f2-0310-859d-f6bbb57e9c96