haiku/headers/private/kernel
François Revol 495efc382b loader: Drop the HashMap for partition lookup by id
The HashMap constructor was called before the heap is initialized,
ending up calling malloc from the OpenHashMap constructor.

Oddly it was still working on x86 but broke other platforms.

Instead we add a Lookup() static method to Partition,
which by default walks gPartitions for the id,
and recursively calls itself on the children lists.

This means we must add a partition even temporarily to gPartitions
before Scan()ing it though.

Signed-off-by: François Revol <revol@free.fr>
2016-09-02 19:02:33 +12:00
..
arch system: Build using public elf.h header 2015-11-07 11:49:56 +13:00
boot loader: Drop the HashMap for partition lookup by id 2016-09-02 19:02:33 +12:00
disk_device_manager disk device manager: check that partitions are unmounted before uninitializing. 2014-10-28 23:52:57 +01:00
fs Style cleanup. 2012-10-08 13:59:16 +02:00
platform U-Boot: add a 'physical' arg to fdt_get_device_reg() 2016-02-26 22:58:17 +01:00
posix Merged the signals branch into trunk, with these changes: 2011-01-10 21:54:38 +00:00
slab Add new operator that takes an ObjectCache* and allocation flags and 2011-11-02 21:12:09 +00:00
util Add operator delete(void *, size_t) for C++14. 2015-11-08 00:38:20 +01:00
vm vm_soft_fault(): Avoid deadlock waiting for wired ranges 2014-10-29 12:37:25 +01:00
AllocationTracking.h Move AllocationTrackingInfo into a header. This way it can be re-used outside 2011-11-04 18:03:34 +00:00
block_cache.h
boot_device.h * vfs_boot.cpp now also exports gReadOnlyBootDevice which is true when the 2009-06-05 15:52:58 +00:00
boot_item.h
boot_splash.h
commpage.h commpage: randomize position of commpage 2013-04-04 15:27:22 +02:00
condition_variable.h kernel: Remove gSchedulerLock 2013-11-08 02:41:26 +01:00
console.h
cpu.h kernel: fix missing SMP_MAX_CPUS on non-x86 2014-01-19 14:09:51 -06:00
debug_heap.h Add debug_calloc() to the debug_heap. 2012-07-01 06:37:25 +02:00
debug_hex_dump.h Add a hex dump utility for use in KDL commands 2013-11-25 12:45:36 +01:00
debug_paranoia.h
debug.h syslog_daemon: Converted to BServer. 2015-07-22 20:40:47 +02:00
debugger_keymaps.h Add missing pipe character in KDL keymap. 2014-01-27 10:57:11 +01:00
DPC.h kernel: DPC: remove schedulerLocked argument 2013-11-04 23:51:18 +01:00
elf_priv.h system: Build using public elf.h header 2015-11-07 11:49:56 +13:00
elf.h system: Build using public elf.h header 2015-11-07 11:49:56 +13:00
file_cache.h Clean up various whitespace and fix one header guard. 2015-08-02 23:19:07 +02:00
frame_buffer_console.h * If the VESA driver remaps the frame buffer on init, it will now also make 2010-01-01 14:54:41 +00:00
generic_syscall.h
heap.h Allow replacing the object cache with the guarded heap. 2011-12-04 13:52:06 +01:00
int.h x86[_64]: Support assigning MSI IRQs to arbitrary CPU 2013-12-20 01:07:08 +01:00
kdevice_manager.h
kdriver_settings.h
kernel_c++_structs.h Attempt at allowing to use C++ structures in C only code: We use the 2009-12-02 10:56:10 +00:00
kernel_daemon.h
kernel.h kernel: Toggle not toogle; no functional change 2014-05-20 18:36:30 -05:00
kimage.h Merged the signals branch into trunk, with these changes: 2011-01-10 21:54:38 +00:00
kmodule.h
kscheduler.h kernel: Remove cpu_info::load 2014-01-03 19:44:57 +01:00
ksignal.h Revert "Add sys/ucontext.h" 2014-08-09 20:18:05 +02:00
ksyscalls.h
ksystem_info.h kernel, libroot: Introduce new API for obtaining system info 2013-12-16 03:58:43 +01:00
listeners.h kernel: Remove gSchedulerLock 2013-11-08 02:41:26 +01:00
load_tracking.h kernel: Adjust load tracking interval 2014-02-06 03:23:28 +01:00
lock.h kernel/x86: Inline atomic functions and memory barriers 2014-01-06 09:08:53 +01:00
low_resource_manager.h * The kernel's address space is now also a resource that is known to the low 2009-11-27 13:03:28 +00:00
messaging.h
MessagingServiceDefs.h Remove remaining unnecessary 'volatile' qualifiers 2013-11-06 00:03:07 +01:00
Notifications.h More useless inclusions of khash.h 2015-01-12 18:23:45 +01:00
port.h Reduce lock contention in kernel port subsystem. 2013-10-26 16:10:03 +02:00
real_time_clock.h Merged signals-merge branch into trunk with the following changes: 2011-06-12 00:00:23 +00:00
safemode.h safemode.h: make it usable from C code. 2014-10-28 23:52:22 +01:00
scheduling_analysis.h Use B_PRId32. 2015-04-01 20:18:00 +02:00
sem.h Merged the signals branch into trunk, with these changes: 2011-01-10 21:54:38 +00:00
smp.h kernel: Add CPUSet::{Clear, Set}BitAtomic() functions 2014-01-24 13:59:58 +01:00
syscall_restart.h trim: Added is_called_via_syscall() function. 2013-11-07 19:06:13 +01:00
system_profiler.h kernel: profile system when SYSTEM_PROFILER is defined. 2015-07-22 20:39:52 +02:00
team.h kernel: Remove gSchedulerLock 2013-11-08 02:41:26 +01:00
thread_types.h Assorted whitespace cleanup and typo fixes. 2015-08-20 21:54:41 +02:00
thread.h Assorted whitespace cleanup and typo fixes. 2015-08-20 21:54:41 +02:00
timer.h kernel: Remove B_TIMER_ACQUIRE_SCHEDULER_LOCK flag 2013-10-31 01:49:43 +01:00
tracing.h bonefish+mmlr: 2011-11-02 16:02:07 +00:00
user_atomic.h arm/atomic: round of atomic function changes 2014-02-15 11:46:12 +01:00
user_debugger.h syscalls: Add get_stack_trace and lookup_symbol syscalls. 2015-04-10 16:00:49 +02:00
user_mutex.h Reimplement unnamed POSIX semaphores using user_mutex 2015-05-24 14:03:40 +01:00
UserEvent.h kernel: Fix missing reference release in CreateThreadEvent. 2014-11-01 16:32:04 +01:00
usergroup.h Merged signals-merge branch into trunk with the following changes: 2011-06-12 00:00:23 +00:00
UserTimer.h kernel: Workaround for double lock of spinlock in user timers. 2014-10-29 00:25:37 +01:00
vfs.h NodeMonitor: Resolve mount points for B_WATCH_CHILDREN. 2016-03-28 14:31:27 +02:00
wait_for_objects.h Remove remaining unnecessary 'volatile' qualifiers 2013-11-06 00:03:07 +01:00