[Kos-cvs] kos ChangeLog,1.50,1.51

thomas at kos.enix.org thomas at kos.enix.org
Tue Jan 4 23:10:32 CET 2005


Update of /home/kos/cvs/kos
In directory the-doors:/tmp/cvs-serv9648

Modified Files:
	ChangeLog 
Log Message:
2005-01-04  Thomas Petazzoni  <thomas at crazy.kos.nx>

	* modules/pmm/pmm.h: Prototype for get_free_memory_pages().

	* modules/pmm/_pmm_put_page.c (physmem_put_page): Update the
	number of free physical pages.

	* modules/pmm/_pmm_init.c (init_ram_gpfme): Update the number of
	free physical pages.

	* modules/pmm/_pmm_get_page.c (physmem_get_page): If no physical
	pages are available, make sure we don't dereference the NULL
	pointer. Returning 0 is better to inform the caller that we are
	out of memory. We also update the number of free physical pages.

	* modules/pmm/pmm.c: Export the new get_free_memory_pages()
	function.

	* modules/pmm/_pmm.c (get_free_memory_pages): New function to get
	the number of free physical pages.

	* modules/kos/wolfgang.c (pmm_usage_thread): New thread that
	display the number of free physical pages at the bottom of the
	screen.



Index: ChangeLog
===================================================================
RCS file: /home/kos/cvs/kos/ChangeLog,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -d -r1.50 -r1.51
--- ChangeLog	4 Jan 2005 21:57:50 -0000	1.50
+++ ChangeLog	4 Jan 2005 22:10:30 -0000	1.51
@@ -1,5 +1,28 @@
 2005-01-04  Thomas Petazzoni  <thomas at crazy.kos.nx>
 
+	* modules/pmm/pmm.h: Prototype for get_free_memory_pages().
+
+	* modules/pmm/_pmm_put_page.c (physmem_put_page): Update the
+	number of free physical pages.
+
+	* modules/pmm/_pmm_init.c (init_ram_gpfme): Update the number of
+	free physical pages.
+
+	* modules/pmm/_pmm_get_page.c (physmem_get_page): If no physical
+	pages are available, make sure we don't dereference the NULL
+	pointer. Returning 0 is better to inform the caller that we are
+	out of memory. We also update the number of free physical pages.
+
+	* modules/pmm/pmm.c: Export the new get_free_memory_pages()
+	function.
+
+	* modules/pmm/_pmm.c (get_free_memory_pages): New function to get
+	the number of free physical pages.
+
+	* modules/kos/wolfgang.c (pmm_usage_thread): New thread that
+	display the number of free physical pages at the bottom of the
+	screen.
+
 	* modules/test/sem_test.c: Added a test that is similar to the
 	mutex one. Instead of using the semaphore as a synchronisation
 	primitive, we use it as a mutual exclusion primitive.



More information about the Kos-cvs mailing list