WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ppc-devel

[XenPPC] [pushed] [ppc] dead code no longer used

changeset:   10383:8c8eaaec5fcd7f5da89211b66ded71270fcde77a
user:        jimix@xxxxxxxxxxxxxxxxxxxxx
date:        Tue May 23 12:11:17 2006 -0400
files:       xen/arch/ppc/io.c xen/arch/ppc/serial_mambo.c
description:
[ppc] dead code no longer used


diff -r 42fcfbd7b32def73a690ae4179848f424a7aee84 -r 
8c8eaaec5fcd7f5da89211b66ded71270fcde77a xen/arch/ppc/io.c
--- a/xen/arch/ppc/io.c Tue May 23 10:24:22 2006 -0400
+++ /dev/null   Thu Jan  1 00:00:00 1970 +0000
@@ -1,40 +0,0 @@
-/*
- * Copyright (C) 2005 Hollis Blanchard <hollisb@xxxxxxxxxx>, IBM Corporation
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- * 
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- * 
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
- *
- */
-
-#include <xen/sched.h>
-#include <xen/errno.h>
-#include <xen/sched.h>
-#include <public/xen.h>
-
-int
-physdev_pci_access_modify(domid_t id, int bus, int dev, int func, int enable)
-{
-    return -EINVAL;
-}
-
-void physdev_modify_ioport_access_range(struct domain *d, int enable,
-        int port, int num)
-{
-    return;
-}
-
-void physdev_destroy_state(struct domain *d)
-{
-    return;
-}
diff -r 42fcfbd7b32def73a690ae4179848f424a7aee84 -r 
8c8eaaec5fcd7f5da89211b66ded71270fcde77a xen/arch/ppc/serial_mambo.c
--- a/xen/arch/ppc/serial_mambo.c       Tue May 23 10:24:22 2006 -0400
+++ /dev/null   Thu Jan  1 00:00:00 1970 +0000
@@ -1,47 +0,0 @@
-/*
- * Copyright (C) 2005 Jimi Xenidis <jimix@xxxxxxxxxxxxxx>, IBM Corporation
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- * 
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- * 
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
- *
- */
-
-#include <xen/spinlock.h>
-#include <xen/serial.h>
-#include <asm/io.h>
-
-extern int mambo_write(const char *buf, ulong len);
-static void mambo_putc(struct serial_port *port, char c)
-{
-    (void)port;
-    mambo_write(&c, 1UL);
-}
-
-static int mambo_getc(struct serial_port *port, char *pc)
-{
-    (void)port;
-    *pc = 'X';
-    return 1;
-}
-
-
-static struct uart_driver serial_mambo_driver = {
-    .putc         = mambo_putc,
-    .getc         = mambo_getc
-};
-
-void serial_mambo_init(void)
-{
-    serial_register_uart(0, &serial_mambo_driver, NULL);
-}



_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [XenPPC] [pushed] [ppc] dead code no longer used, jimix <=