9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] structure allocation.
@ 2006-03-07  2:30 erik quanstrom
  2006-03-07  2:37 ` geoff
  0 siblings, 1 reply; 27+ messages in thread
From: erik quanstrom @ 2006-03-07  2:30 UTC (permalink / raw)
  To: 9fans

the open-source drivers for the DAC960 have a number
of structures declared like

typedef struct {
	char f;
	ulong l;
	char g;
	ulong m;
} __attribute__((packed)) Dac960fu;

with comments such as:

/*
 * Command result buffers, as placed in system memory by the controller.
 */

how is this handled in plan 9?

- erik


^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2006-03-08 12:11 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-07  2:30 [9fans] structure allocation erik quanstrom
2006-03-07  2:37 ` geoff
2006-03-07  3:00   ` erik quanstrom
2006-03-07  3:11     ` Russ Cox
2006-03-07  4:13     ` geoff
2006-03-07 15:41       ` Ronald G Minnich
2006-03-07 15:53         ` C H Forsyth
2006-03-08  0:06         ` erik quanstrom
2006-03-08  2:21           ` Ronald G Minnich
2006-03-08  2:50             ` geoff
2006-03-08  4:10               ` Bruce Ellis
2006-03-08  4:37                 ` Russ Cox
2006-03-08  4:55                   ` Bruce Ellis
2006-03-08  5:03                     ` Russ Cox
2006-03-08  5:05                       ` Bruce Ellis
2006-03-08  5:09                         ` Russ Cox
2006-03-08  5:12                           ` Bruce Ellis
2006-03-08 12:11               ` Brantley Coile
2006-03-07 17:47       ` Bakul Shah
2006-03-07  9:23     ` Charles Forsyth
2006-03-07 11:54       ` erik quanstrom
2006-03-07 13:55         ` jmk
     [not found]       ` <000501c641de$afc905d0$14aaa8c0@utelsystems.local>
2006-03-07 14:21         ` "Nils O. Selåsdal"
2006-03-07 14:30           ` uriel
2006-03-07 14:43             ` Russ Cox
2006-03-07 14:48             ` C H Forsyth
2006-03-08  0:28           ` erik quanstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).