OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [tags/] [gnu-src/] [gcc-4.5.1/] [gcc-4.5.1-or32-1.0rc1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr36988.c] - Blame information for rev 338

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
typedef struct {
2
    unsigned char mbxCommand;
3
} MAILBOX_t;
4
void lpfc_sli_brdrestart(void)
5
{
6
  volatile unsigned int word0;
7
  MAILBOX_t *mb;
8
  mb = (MAILBOX_t *) &word0;
9
  mb->mbxCommand = 0x1A;
10
  __writel((*(unsigned int *) mb));
11
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.