| 1 | /* $Id: kKLFunc.h,v 1.3 2002-12-16 02:25:06 bird Exp $
|
|---|
| 2 | *
|
|---|
| 3 | * Function overloading functions.
|
|---|
| 4 | *
|
|---|
| 5 | * Copyright (c) 2001-2003 knut st. osmundsen <bird@anduin.net>
|
|---|
| 6 | *
|
|---|
| 7 | *
|
|---|
| 8 | * This file is part of kKrnlLib.
|
|---|
| 9 | *
|
|---|
| 10 | * kKrnlLib is free software; you can redistribute it and/or modify
|
|---|
| 11 | * it under the terms of the GNU General Public License as published by
|
|---|
| 12 | * the Free Software Foundation; either version 2 of the License, or
|
|---|
| 13 | * (at your option) any later version.
|
|---|
| 14 | *
|
|---|
| 15 | * kKrnlLib is distributed in the hope that it will be useful,
|
|---|
| 16 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|---|
| 17 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|---|
| 18 | * GNU General Public License for more details.
|
|---|
| 19 | *
|
|---|
| 20 | * You should have received a copy of the GNU General Public License
|
|---|
| 21 | * along with kKrnlLib; if not, write to the Free Software
|
|---|
| 22 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|---|
| 23 | *
|
|---|
| 24 | */
|
|---|
| 25 |
|
|---|
| 26 | #ifndef _kKLFuncs_h_
|
|---|
| 27 | #define _kKLFuncs_h_
|
|---|
| 28 |
|
|---|
| 29 |
|
|---|
| 30 | /*******************************************************************************
|
|---|
| 31 | * Functions *
|
|---|
| 32 | *******************************************************************************/
|
|---|
| 33 | KBOOL kKLOverload32( unsigned long ulFuncAddr, unsigned long ulOverloaderAddr);
|
|---|
| 34 | KBOOL kKLRestore32( unsigned long ulFuncAddr, unsigned long ulOverloaderAddr);
|
|---|
| 35 | KBOOL kKLOverload16( unsigned long ulFuncFarAddr, unsigned long ulOverloaderFarAddr);
|
|---|
| 36 | KBOOL kKLRestore16( unsigned long ulFuncFarAddr, unsigned long ulOverloaderFarAddr);
|
|---|
| 37 | KBOOL kKLOverload16H(unsigned long ulFuncFarAddr, unsigned long ulOverloaderFarAddr);
|
|---|
| 38 | KBOOL kKLRestore16H( unsigned long ulFuncFarAddr, unsigned long ulOverloaderFarAddr);
|
|---|
| 39 |
|
|---|
| 40 |
|
|---|
| 41 | #endif
|
|---|
| 42 |
|
|---|