Skip to contentSkip to conversation

Mini-os cleanup

PATCH Grzegorz Milos 1 participant 1 message Mar 23, 2006

lore
Share & tools
lore
#0 lore raw

The patch removes old Xenbus files, fixes 0 length mmu_updates table bug (bugfix by Melvin Anderson) and adds missing console.h header file (again spotted by Melvin).

Some more applying to do Keir :) (BTW, I can merge the two patches together it it makes your life easier).

extras/mini-os/mm.c +1 -1
diff -r c247056431f8 -r c9b0b655c052 extras/mini-os/mm.c
@@ -372,7 +372,7 @@
     unsigned long *tab = (unsigned long *)start_info.pt_base;
     unsigned long pt_page = (unsigned long)pfn_to_virt(*pt_pfn); 
     unsigned long prot_e, prot_t, pincmd;
-    mmu_update_t mmu_updates[0];
+    mmu_update_t mmu_updates[1];
     struct mmuext_op pin_request;
     
     DEBUG("Allocating new L%d pt frame for pt_pfn=%lx, "
extras/mini-os/include/console.h new file +49 -0

49 lines not on this page · raw message

extras/mini-os/xenbus/Makefile deleted +0 -9
diff -r c247056431f8 -r c9b0b655c052 extras/mini-os/xenbus/Makefile
@@ -1,9 +0,0 @@
-all: xenstore.h xenbus_comms.o xenbus_xs.o xenbus_probe.o
-
-xenstore.h:
-	[ -e xenstored.h ] || ln -sf ../../../tools/xenstore/xenstored.h xenstored.h
-
-clean:
-	#Taken care of by main Makefile
-	#rm xenstored.h
-	#rm *.o
extras/mini-os/xenbus/xenbus_comms.c deleted +0 -184

184 lines not on this page · raw message

extras/mini-os/xenbus/xenbus_comms.h deleted +0 -40
diff -r c247056431f8 -r c9b0b655c052 extras/mini-os/xenbus/xenbus_comms.h
@@ -1,40 +0,0 @@
-/*
- * Private include for xenbus communications.
- * 
- * Copyright (C) 2005 Rusty Russell, IBM Corporation
- *
- * This file may be distributed separately from the Linux kernel, or
- * incorporated into other software packages, subject to the following license:
- * 
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this source file (the "Software"), to deal in the Software without
- * restriction, including without limitation the rights to use, copy, modify,
- * merge, publish, distribute, sublicense, and/or sell copies of the Software,
- * and to permit persons to whom the Software is furnished to do so, subject to
- * the following conditions:
- * 
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- * 
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
- * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
- * IN THE SOFTWARE.
- */
-
-#ifndef _XENBUS_COMMS_H
-#define _XENBUS_COMMS_H
-
-int xs_init(void);
-int xb_init_comms(void);
-
-/* Low level routines. */
-int xb_write(const void *data, unsigned len);
-int xb_read(void *data, unsigned len);
-int xs_input_avail(void);
-extern struct wait_queue_head xb_waitq;
-
-#endif /* _XENBUS_COMMS_H */
extras/mini-os/xenbus/xenbus_xs.c deleted +0 -796

796 lines not on this page · raw message

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel