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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr36988.c] - Blame information for rev 745

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 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.