alloc.c File Reference

#include "routix/system.h"
#include <routix/kstdio.h>
#include "routix/paging.h"
#include "routix/kalloc.h"
#include "routix/debug.h"

Go to the source code of this file.

Classes

Typedefs

Functions

Variables


Typedef Documentation

typedef long Align
 

Definition at line 29 of file src/mm/alloc.c.

typedef union header Header
 


Function Documentation

void free void *   ) 
 

Definition at line 76 of file tareas/lib/Alloc/alloc.c.

Referenced by clean_timer(), close(), command(), main(), morecore(), open(), sys_exit_fs(), sys_read_debug(), sys_show(), and ufree_page().

void* malloc unsigned  nbytes  ) 
 

Definition at line 46 of file src/mm/alloc.c.

Header* morecore void   ) 
 

Definition at line 57 of file tareas/lib/Alloc/alloc.c.


Variable Documentation

addr_t * _fin
 

Punteros utilizados por el stack de páginas libres.

Definition at line 25 of file src/mm/alloc.c.

Referenced by get_free_page(), kmalloc_page_start(), and kmem_free().

addr_t* _inicio
 

Punteros utilizados por el stack de páginas libres.

Definition at line 25 of file src/mm/alloc.c.

Referenced by get_free_page(), kfree_page(), and kmalloc_page_start().

addr_t * _sp
 

Punteros utilizados por el stack de páginas libres.

Definition at line 25 of file src/mm/alloc.c.

Referenced by get_free_page(), kfree_page(), kmalloc_page_start(), kmem_free(), and print_free_pages().

Header base [static]
 

Definition at line 41 of file src/mm/alloc.c.

unsigned int file_alloc = 0 file_free = 0
 

Definition at line 20 of file src/mm/alloc.c.

Referenced by open(), and sys_show().

Header* freep = NULL [static]
 

Definition at line 42 of file src/mm/alloc.c.

Referenced by free(), malloc(), and morecore().

volatile word morecores = 0
 

Definition at line 84 of file src/mm/alloc.c.

Referenced by morecore(), and sys_show().

volatile int num_frees = 0
 

Cantidad de frees desde la última llamada a "clear alloc".

Definition at line 17 of file src/mm/alloc.c.

Referenced by fat_file_find(), free(), open_FAT12(), and sys_show().

volatile int num_mallocs = 0
 

Cantidad de mallocs realizados desde la última llamada a "clear alloc".

Definition at line 15 of file src/mm/alloc.c.

Referenced by fat_file_find(), malloc(), open_FAT12(), and sys_show().

unsigned int umalloc_alloc = 0 umalloc_free = 0
 

Definition at line 19 of file src/mm/alloc.c.

Referenced by sys_show(), and umalloc_page().


Generated on Sun May 30 18:38:36 2004 for Routix OS by doxygen 1.3.6