mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-14 05:14:45 +00:00
xfree86: int10: remove unused/obsolete dprint()
Not used anymore, so no need to keep it around any longer. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
63379b4871
commit
ee4bb3f96e
3 changed files with 0 additions and 35 deletions
|
|
@ -286,14 +286,6 @@ the resulting register values back to the xf86Int10InfoRec structure
|
|||
|
||||
should be called.
|
||||
|
||||
Functions to dump memory, code, xf86 CPU register values and stack are
|
||||
also provided. Take a look at helper.c To view a memory range the
|
||||
function
|
||||
|
||||
void dprint(unsigned long start, unsigned long size)
|
||||
|
||||
is provided. The use should be self explanatory.
|
||||
|
||||
Register and memory access functions are provided in helper_mem.c.
|
||||
The PIO register access functions can trap access to PCI config space
|
||||
access register (config method 1) if _PC is not defined.
|
||||
|
|
|
|||
|
|
@ -25,30 +25,6 @@ static const OptionInfoRec INT10Options[] = {
|
|||
{-1, NULL, OPTV_NONE, {0}, FALSE},
|
||||
};
|
||||
|
||||
#ifdef DEBUG
|
||||
void
|
||||
dprint(unsigned long start, unsigned long size)
|
||||
{
|
||||
int i, j;
|
||||
char *c = (char *) start;
|
||||
|
||||
for (j = 0; j < (size >> 4); j++) {
|
||||
char *d = c;
|
||||
|
||||
ErrorF("\n0x%lx: ", (unsigned long) c);
|
||||
for (i = 0; i < 16; i++)
|
||||
ErrorF("%2.2x ", (unsigned char) (*(c++)));
|
||||
c = d;
|
||||
for (i = 0; i < 16; i++) {
|
||||
ErrorF("%c", ((((CARD8) (*c)) > 32) && (((CARD8) (*c)) < 128)) ?
|
||||
(unsigned char) (*(c)) : '.');
|
||||
c++;
|
||||
}
|
||||
}
|
||||
ErrorF("\n");
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef _PC
|
||||
/*
|
||||
* here we are really paranoid about faking a "real"
|
||||
|
|
|
|||
|
|
@ -89,9 +89,6 @@ Bool int10skip(const void *options);
|
|||
Bool int10_check_bios(int scrnIndex, int codeSeg,
|
||||
const unsigned char *vbiosMem);
|
||||
Bool initPrimary(const void *options);
|
||||
#ifdef DEBUG
|
||||
void dprint(unsigned long start, unsigned long size);
|
||||
#endif
|
||||
|
||||
/* OS dependent functions */
|
||||
_X_EXPORT Bool MapCurrentInt10(xf86Int10InfoPtr pInt);
|
||||
|
|
|
|||
Loading…
Reference in a new issue