home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / unix / internal / 2090 next >
Encoding:
Internet Message Format  |  1993-01-05  |  942 b 

  1. Xref: sparky comp.unix.internals:2090 comp.unix.sys5.r4:1129
  2. Newsgroups: comp.unix.internals,comp.unix.sys5.r4
  3. Path: sparky!uunet!dsiinc!bwong
  4. From: bwong@dsiinc.com (Bruce F. Wong)
  5. Subject: kernel memory allocation with alignment
  6. Message-ID: <1993Jan5.194405.27119@dsiinc.com>
  7. Organization: Distributed Systems International, Inc.
  8. Date: Tue, 5 Jan 1993 19:44:05 GMT
  9. Lines: 12
  10.  
  11. Greetings,
  12.  
  13. I'm writing a streams device driver for 386 UNIX SVR4 and I need 512
  14. bytes of DMAable memory that is aligned to a 512 byte boundary (i.e.
  15. the starting address is a multiple of 512).  How is this done ?  None
  16. of the kernel memory allocators take an alignment argument.  Please
  17. send all responses via e-mail and I will post a summary if I get
  18. enough useful information.  Thanks.
  19. -- 
  20. Bruce F. Wong               Distributed Systems International, Inc.
  21. bwong@dsiinc.com           531 West Roosevelt Road, Suite 2
  22. Tel:708-665-4639 Fax:708-665-4706  Wheaton, IL 60187-5057
  23.