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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr36988.c] - Blame information for rev 301

Go to most recent revision | 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.