Searched refs:memory (Results 26 - 50 of 122) sorted by relevance

12345

/haiku/headers/private/shared/
H A DAutoDeleter.h12 MemoryDeleter - free()s malloc()ed memory
155 inline void operator()(void *memory) argument
157 free(memory);
164 MemoryDeleter(void *memory) : AutoDeleter<void, MemoryDelete >(memory) {} argument
/haiku/src/system/boot/platform/u-boot/arch/ppc/
H A Darch_mmu.cpp57 /*! The (physical) memory layout of the boot loader is currently as follows:
96 // Define this to print the memory map to serial debug.
158 dprintf("phys memory ranges:\n");
166 dprintf("allocated phys memory ranges:\n");
174 dprintf("allocated virt memory ranges:\n");
190 int memory = -1; local
192 dprintf("checking for memory...\n");
193 if (of_getprop(gChosen, "memory", &memory, sizeof(int)) == OF_FAILED)
194 package = of_finddevice("/memory");
[all...]
/haiku/src/add-ons/kernel/drivers/graphics/et6x00/
H A Ddriver.c327 volatile void *memory)
335 case 0x00: /* onboard memory is of DRAM type */
338 case 0x03: /* onboard memory is of MDRAM type */
344 default: /* onboard memory is of unknown type */
350 * memory - it would detect 2.5Mb instead. It needs to be fixed.
356 /* Check whether the memory beyond 2.25Mb really exists */
357 *(volatile uint32 *)((uint32)memory + 2359296) = 0xaa55aa55;
358 if (*(volatile uint32 *)((uint32)memory + 2359296) != 0xaa55aa55)
373 /* Enable memory space access and I/O space access */
391 * We map the whole graphics card memory are
326 et6000GetOnboardMemorySize(uint16 pciConfigSpace, volatile void *memory) argument
[all...]
/haiku/src/add-ons/kernel/drivers/graphics/radeon/
H A DDMA.c10 graphics memory to other memory.
60 SHOW_ERROR( 2, "Cannot lock memory (%s)", strerror( res ));
66 src += di->si->memory[mt_local].virtual_addr_start;
71 // memory may be fragmented, so we create S/G list
76 // if memory is contiguous, ask for start address only to reduce work
150 // copy from graphics memory to other memory via DMA
154 // lock_mem - true, if memory is not locked
155 // contiguous - true, if memory i
[all...]
/haiku/src/add-ons/kernel/drivers/audio/echo/generic/
H A DOsSupportBeOS.cpp133 // Allocate locked, non-pageable block of memory. Does not have to be
142 PPVOID ppMemAddr // Where to return memory ptr
171 // Unlock and free, non-pageable block of memory.
195 // memory management methods.
389 ECHO_DEBUGPRINTF(("COsSupport::operator new - memory allocation failed\n"));
401 VOID COsSupport::operator delete(PVOID memory) argument
403 free(memory);
/haiku/headers/tools/cppunit/cppunit/extensions/
H A DTestSuiteBuilder.h5 #include <memory>
/haiku/src/tests/system/network/ipv6/
H A Dmulticast_sender.cpp8 #include <memory.h>
H A Dtcp_udp_server.cpp8 #include <memory.h>
/haiku/src/tests/system/network/
H A Dipv46_server.cpp2 #include <memory.h>
/haiku/headers/private/netservices2/
H A DHttpResult.h9 #include <memory>
/haiku/src/add-ons/accelerants/et6x00/
H A DAcceleration.c189 srcAddr = (uint32)si->framebuffer - (uint32)si->memory +
196 ((vuint16 *)((uint32)si->memory + srcAddr))[i] = (uint16)color;
201 ((vuint8 *)((uint32)si->memory + srcAddr))[i] = ((uint8 *)&color)[i];
H A DInitAccelerant.c222 adi->memory = si->memSize;
/haiku/src/system/kernel/util/
H A Dring_buffer.cpp134 create_ring_buffer_etc(void* memory, size_t size, uint32 flags) argument
136 if (memory == NULL) {
148 ring_buffer* buffer = (ring_buffer*)memory;
/haiku/src/add-ons/accelerants/3dfx/
H A Daccelerant.cpp194 adi->memory = si.maxFrameBufferSize;
/haiku/src/add-ons/kernel/network/protocols/ipv6/
H A Dipv6_utils.cpp30 #include <memory.h>
/haiku/src/tests/servers/app/benchmark/
H A DBenchmark.cpp6 #include <memory>
154 fprintf(stderr, "Insufficient memory to create the test. Sorry.\n");
/haiku/src/add-ons/print/drivers/pcl6/
H A DDeltaRowCompression.cpp11 #include <memory.h>
/haiku/src/add-ons/accelerants/framebuffer/
H A Daccelerant.cpp189 info->memory = ???
/haiku/src/kits/network/libnetservices2/
H A DHttpResultPrivate.h13 #include <memory>
/haiku/src/add-ons/accelerants/virtio/
H A Daccelerant.cpp189 info->memory = ???
/haiku/src/bin/network/traceroute/
H A Difaddrlist.c51 #include <memory.h>
/haiku/src/system/kernel/scheduler/
H A Dscheduling_analysis.cpp305 void* memory = Allocate(sizeof(Thread)); local
306 if (memory == NULL)
309 thread = new(memory) Thread(id);
326 void* memory = Allocate(sizeof(WaitObject)); local
327 if (memory == NULL)
330 WaitObject* waitObject = new(memory) WaitObject(type, object);
402 void* memory = Allocate(sizeof(ThreadWaitObject)); local
403 if (memory == NULL)
406 threadWaitObject = new(memory) ThreadWaitObject(thread->id,
/haiku/headers/private/kernel/platform/efi/
H A Dboot-services.h94 size_t pages, efi_physical_addr* memory) EFIAPI;
96 efi_status (*FreePages) (efi_physical_addr memory, size_t pages) EFIAPI;
/haiku/src/system/boot/platform/openfirmware/arch/ppc/
H A Dmmu.cpp79 int memory; local
80 dprintf("checking for memory...\n");
81 if (of_getprop(gChosen, "memory", &memory, sizeof(int)) == OF_FAILED)
83 int package = of_instance_to_package(memory);
112 count = of_getprop(memory, "reg", regions, sizeof(regions));
129 dprintf("cannot map physical memory range "
142 count = of_getprop(memory, "reg", regions, sizeof(regions));
159 dprintf("cannot map physical memory range "
323 // insert range in physical allocated, if it points to physical memory
[all...]
/haiku/headers/private/graphics/matrox/
H A DDriverInterface.h91 uint32 memory; member in struct:settings
111 uint32 use_clone_bugfix; /*for 4.5.0, cloning of physical memory does not work*/
114 /*memory mappings*/
115 area_id regs_area; /* Kernel's area_id for the memory mapped registers.
123 void *framebuffer; /* As viewed from virtual memory */
126 void *pseudo_dma; /* As viewed from virtual memory */
227 uint32 memory_size; /* memory (Mb) */
228 uint32 mctlwtst_reg; /* memory control waitstate register */
229 uint32 memrdbk_reg; /* memory readback register */
235 uint8 v3_clk_div; /* pins v3 memory an
[all...]

Completed in 148 milliseconds

12345