Subversion Repositories HelenOS

Rev

Rev 4153 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4153 Rev 4263
Line 36... Line 36...
36
#define KERN_sparc64_SGCN_H_
36
#define KERN_sparc64_SGCN_H_
37
 
37
 
38
#include <arch/types.h>
38
#include <arch/types.h>
39
#include <console/chardev.h>
39
#include <console/chardev.h>
40
 
40
 
41
/* number of bytes in the TOC magic, including the terminating '\0' */
41
/* number of bytes in the TOC magic, including the NULL-terminator */
42
#define TOC_MAGIC_BYTES     8
42
#define TOC_MAGIC_BYTES     8
43
 
43
 
44
/* number of bytes in the TOC key, including the terminating '\0' */
44
/* number of bytes in the TOC key, including the NULL-terminator */
45
#define TOC_KEY_SIZE        8
45
#define TOC_KEY_SIZE        8
46
 
46
 
47
/* maximum number of entries in the SRAM table of contents */
47
/* maximum number of entries in the SRAM table of contents */
48
#define MAX_TOC_ENTRIES     32
48
#define MAX_TOC_ENTRIES     32
49
 
49
 
50
/* number of bytes in the SGCN buffer magic, including the terminating '\0' */
50
/* number of bytes in the SGCN buffer magic, including the NULL-terminator */
51
#define SGCN_MAGIC_BYTES    4
51
#define SGCN_MAGIC_BYTES    4
52
 
52
 
53
/**
53
/**
54
 * Entry in the SRAM table of contents. Describes one segment of the SRAM
54
 * Entry in the SRAM table of contents. Describes one segment of the SRAM
55
 * which serves a particular purpose (e.g. OBP serial console, Solaris serial
55
 * which serves a particular purpose (e.g. OBP serial console, Solaris serial