Next round of sonarlint cleanups
This commit is contained in:
@@ -112,7 +112,7 @@
|
||||
#define EXTRAM_HIGH 1
|
||||
#define EXTRAM_XMS 2
|
||||
|
||||
typedef struct {
|
||||
typedef struct emsreg_t {
|
||||
int8_t enabled; /* 1=ENABLED */
|
||||
uint8_t page; /* page# in EMS RAM */
|
||||
uint8_t frame; /* (varies with board) */
|
||||
@@ -121,15 +121,15 @@ typedef struct {
|
||||
mem_mapping_t mapping; /* mapping entry for page */
|
||||
} emsreg_t;
|
||||
|
||||
typedef struct {
|
||||
typedef struct ext_ram_t {
|
||||
uint32_t base;
|
||||
uint8_t *ptr;
|
||||
} ext_ram_t;
|
||||
|
||||
typedef struct {
|
||||
typedef struct memdev_t {
|
||||
const char *name;
|
||||
uint8_t board : 6, /* board type */
|
||||
reserved : 2;
|
||||
uint8_t board : 6; /* board type */
|
||||
uint8_t reserved : 2;
|
||||
|
||||
uint8_t flags;
|
||||
#define FLAG_CONFIG 0x01 /* card is configured */
|
||||
@@ -138,12 +138,12 @@ typedef struct {
|
||||
#define FLAG_EMS 0x40 /* card has EMS mode enabled */
|
||||
|
||||
uint16_t total_size; /* configured size in KB */
|
||||
uint32_t base_addr, /* configured I/O address */
|
||||
start_addr, /* configured memory start */
|
||||
frame_addr; /* configured frame address */
|
||||
uint32_t base_addr; /* configured I/O address */
|
||||
uint32_t start_addr; /* configured memory start */
|
||||
uint32_t frame_addr; /* configured frame address */
|
||||
|
||||
uint16_t ems_size, /* EMS size in KB */
|
||||
ems_pages; /* EMS size in pages */
|
||||
uint16_t ems_size; /* EMS size in KB */
|
||||
uint16_t ems_pages; /* EMS size in pages */
|
||||
uint32_t ems_start; /* start of EMS in RAM */
|
||||
|
||||
uint8_t *ram; /* allocated RAM buffer */
|
||||
|
||||
Reference in New Issue
Block a user