home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Headers / driverkit / i386 / kernelDriver.h < prev    next >
Text File  |  1993-04-02  |  605b  |  25 lines

  1. /*     Copyright (c) 1991 NeXT Computer, Inc.  All rights reserved. 
  2.  *
  3.  * i386/kernelDriver.h - i386 kernel-only driverkit functions.
  4.  *
  5.  * HISTORY
  6.  * 1-Apr-93    Doug Mitchell at NeXT
  7.  *      Created. 
  8.  */
  9.  
  10. #ifdef    KERNEL
  11.  
  12. /*
  13.  * Allocate memory guranteed to be in the low 16 megabytes of physical 
  14.  * memory. Used when performing DMA which must deal with only 24 bits 
  15.  * of address.
  16.  *
  17.  * Zero will also be returned if no low memory can be allocated. 
  18.  *
  19.  * Memory allocated by IOMallocLow() must be freed by IOFreeLow(). 
  20.  */
  21. void *IOMallocLow(int size);
  22. void IOFreeLow(void *p, int size);
  23.  
  24. #endif    KERNEL
  25.