Mercurial > emacs
view etc/3B-MAXMEM @ 29004:383e4e21306a
(LEADING_CODE_8_BIT_CONTROL, CHARSET_8_BIT_CONTROL,
CHARSET_8_BIT_GRAPHIC): New macros.
(SINGLE_BYTE_CHAR_P): Make it faster by using casting.
(CHARSET_ISO_GRAPHIC_PLANE): Use XINT instead of XFASTINT.
(CHARSET_REVERSE_CHARSET): Likewise.
(CHARSET_VALID_P): Handle new charsets; eight-bit-control and
eight-bit-graphic.
(BYTES_BY_CHAR_HEAD, WIDTH_BY_CHAR_HEAD): Optimize for ASCII.
(CHAR_CHARSET, MAKE_CHAR, SPLIT_CHAR, CHAR_BYTES): Likewise.
(PARSE_MULTIBYTE_SEQ) [BYTE_COMBINING_DEBUG]: Abort if we
encounter an invalid multibyte sequence.
(PARSE_MULTIBYTE_SEQ) [not BYTE_COMBINING_DEBUG]: Assume multibyte
sequence is always valid.
(MAKE_NON_ASCII_CHAR, SPLIT_NON_ASCII_CHAR): These macros Deleted.
(UNIBYTE_STR_AS_MULTIBYTE_P, MULTIBYTE_STR_AS_UNIBYTE_P): New
macros.
(CHAR_STRING): For 8-bit characters, call char_to_string.
(INC_POS) [not BYTE_COMBINING_DEBUG]: Faster version. Assume
multibyte sequence is always valid.
(BUF_INC_POS) [not BYTE_COMBINING_DEBUG]: Likewise.
(parse_str_as_multibyte, str_as_multibyte, str_to_multibyte,
str_as_unibyte): Extern them.
(BCOPY_SHORT): Fix a bug.
(CHAR_LEN): This macro deleted. Callers changed to use
CHAR_BYTES.
(FETCH_STRING_CHAR_ADVANCE): Check multibyteness of STRING.
(FETCH_STRING_CHAR_ADVANCE_NO_CHECK): New macro.
(FETCH_CHAR_ADVANCE): Check multibyteness of the current buffer.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Fri, 19 May 2000 23:54:05 +0000 |
parents | e96ffe544684 |
children |
line wrap: on
line source
Date: Mon, 16 Feb 87 15:04:41 EST From: katinsky@gauss.rutgers.edu (David Katinsky) To: rms@prep.ai.mit.edu Subject: 3b2 procedure to raise MAXMEM Below is the procedure I followed to allow enough memory for GnuEmacs to run on my 3b2/400. The end result of this is that a process can snarf up to 2Mb of memory. This can be a bit dangerous on a 2Mb machine, but I tried it and it worked ok. ------------------------------------------------------------------------------- In the simplest case, these are the procedures to reconfigure a 3bx kernel. 1] cd /etc/master.d `ls` shows the files to be: README ctc* hdelog idisk ipc iuart kernel mau mem msg ports* prf sem shm stubs sxt sys xt 2] Edit the file which contains the parameter[s] you wish to change. In the following excerpt from /etc/master.d/kernel the value MAXMEM was raised from 256 to 1024. In V.3.0 and later releases, the parameter in question is MAXUMEM instead of MAXMEM. * * The following entries form the tunable parameter table. * NCALL = 30 NPROC = 60 NTEXT = 58 NCLIST = 188 * maxmem is number of pages (2K) was 256 --dmk MAXMEM = 1024 MAXUP = 25 * hashbuf must be a power of 2 NHBUF = 128 NPBUF = 8 3] cd /boot 4] mkboot -k KERNEL 5] shutdown -i5 -g0 -y This will take the machine down and bring it back up into firmware mode. When you see that the machine has reached this state, type the firmware password (default=mcp). The machine will ask for the name of a program to execute. At this prompt enter /etc/system . The machine should start to boot and display its configuration data. 8701271222 dmk [katinsky@topaz.rutgers.edu] ------------------------------------------------------------------------------- I do not feel that having the default firmware password is a problem... but if you wish to edit it out, feel free. dmk