Xyris  0.5
cxx.cpp File Reference
#include <Memory/heap.hpp>
+ Include dependency graph for cxx.cpp:

Go to the source code of this file.

Functions

void * operator new (size_t size)
 
void * operator new[] (size_t size)
 
void operator delete (void *p)
 
void operator delete[] (void *p)
 
void operator delete (void *p, long unsigned int)
 
void operator delete[] (void *p, long unsigned int)
 

Detailed Description

C++ dynamic memory management functions.

local static variable guards

Author
Micah Switzer mswit.nosp@m.zer@.nosp@m.cedar.nosp@m.vill.nosp@m.e.edu
Version
0.1
Date
2021-07-25

References: https://wiki.osdev.org/C++

Author
Keeton Feavel (keeto.nosp@m.nfea.nosp@m.vel@c.nosp@m.edar.nosp@m.ville.nosp@m..edu)
Version
0.1
Date
2021-07-24

References: https://wiki.osdev.org/C++#Local_Static_Variables_.28GCC_Only.29 https://opensource.apple.com/source/libcppabi/libcppabi-14/src/cxa_guard.cxx

Definition in file cxx.cpp.

Function Documentation

◆ operator delete() [1/2]

void operator delete ( void *  p)

Definition at line 25 of file cxx.cpp.

26 {
27  free(p);
28 }
+ Here is the call graph for this function:

◆ operator delete() [2/2]

void operator delete ( void *  p,
long unsigned int   
)

Definition at line 35 of file cxx.cpp.

36 {
37  free(p);
38 }
+ Here is the call graph for this function:

◆ operator delete[]() [1/2]

void operator delete[] ( void *  p)

Definition at line 30 of file cxx.cpp.

31 {
32  free(p);
33 }
+ Here is the call graph for this function:

◆ operator delete[]() [2/2]

void operator delete[] ( void *  p,
long unsigned int   
)

Definition at line 40 of file cxx.cpp.

41 {
42  free(p);
43 }
+ Here is the call graph for this function:

◆ operator new()

void* operator new ( size_t  size)

Definition at line 15 of file cxx.cpp.

16 {
17  return malloc(size);
18 }
+ Here is the call graph for this function:

◆ operator new[]()

void* operator new[] ( size_t  size)

Definition at line 20 of file cxx.cpp.

21 {
22  return malloc(size);
23 }
+ Here is the call graph for this function:
size
uint16_t size
Definition: regs.hpp:2
free
void free(void *)
malloc
void * malloc(size_t)