diff options
Diffstat (limited to 'usr/src/uts/i86pc/os/graphics.c')
-rw-r--r-- | usr/src/uts/i86pc/os/graphics.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/usr/src/uts/i86pc/os/graphics.c b/usr/src/uts/i86pc/os/graphics.c index 0978b858a6..70d6301fa2 100644 --- a/usr/src/uts/i86pc/os/graphics.c +++ b/usr/src/uts/i86pc/os/graphics.c @@ -2,9 +2,8 @@ * CDDL HEADER START * * The contents of this file are subject to the terms of the - * Common Development and Distribution License, Version 1.0 only - * (the "License"). You may not use this file except in compliance - * with the License. + * Common Development and Distribution License (the "License"). + * You may not use this file except in compliance with the License. * * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE * or http://www.opensolaris.org/os/licensing. @@ -20,7 +19,7 @@ * CDDL HEADER END */ /* - * Copyright 2006 Sun Microsystems, Inc. All rights reserved. + * Copyright 2007 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ @@ -150,6 +149,7 @@ progressbar_thread(void *arg) void progressbar_start(void) { +#if !defined(__xpv) extern pri_t minclsyspri; if (graphics_mode == 0) @@ -169,11 +169,13 @@ progressbar_start(void) progressbar_tid = thread_create(NULL, 0, progressbar_thread, NULL, 0, &p0, TS_RUN, minclsyspri); +#endif } void progressbar_stop(void) { +#if !defined(__xpv) if (graphics_mode == 0) return; @@ -187,4 +189,5 @@ progressbar_stop(void) /* unmap video memory */ hat_unload(kas.a_hat, videomem, videomem_size, HAT_UNLOAD_UNLOCK); vmem_free(heap_arena, videomem, videomem_size); +#endif } |