diff options
| author | [email protected] <[email protected]> | 2010-07-13 07:23:57 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2010-07-13 07:23:57 +0000 |
| commit | 69466590ff78faa11ed508d74a5509113b8dace0 (patch) | |
| tree | ef0fc19802a087cb35da07e22da3718ac5a01d9b /libcpu | |
| parent | acd60974442fda6d6782a8974ff60415e69d50a6 (diff) | |
bug fixed for optimization
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@789 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'libcpu')
| -rw-r--r-- | libcpu/arm/sep4020/serial.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libcpu/arm/sep4020/serial.h b/libcpu/arm/sep4020/serial.h index 391cbe16e9..5fa0810692 100644 --- a/libcpu/arm/sep4020/serial.h +++ b/libcpu/arm/sep4020/serial.h @@ -27,13 +27,13 @@ struct serial_int_tx /* serial port registers */
typedef struct uartport
{
- rt_uint32_t dlbl_rxfifo_txfifo;
- rt_uint32_t dlbh_ier;
- rt_uint32_t iir_fcr;
- rt_uint32_t lcr;
- rt_uint32_t mcr;
- rt_uint32_t lsr;
- rt_uint32_t msr;
+ volatile rt_uint32_t dlbl_rxfifo_txfifo;
+ volatile rt_uint32_t dlbh_ier;
+ volatile rt_uint32_t iir_fcr;
+ volatile rt_uint32_t lcr;
+ volatile rt_uint32_t mcr;
+ volatile rt_uint32_t lsr;
+ volatile rt_uint32_t msr;
}uartport;
struct serial_device
|
