Chameleon

Chameleon Commit Details

Date:2015-04-14 17:47:26 (9 years 9 days ago)
Author:ErmaC
Commit:2646
Parents: 2645
Message:Revert changes made in commit 2602
Changes:
M/trunk/i386/boot2/boot.c
M/trunk/i386/libsaio/misc.c
M/trunk/i386/libsa/zalloc.c
M/trunk/i386/libsaio/biosfn.c

File differences

trunk/i386/libsaio/biosfn.c
10401040
10411041
10421042
1043
1043
10441044
10451045
10461046
......
10481048
10491049
10501050
1051
bb.edx.rr = us & 0xFFFF;
bios(&bb);
}
/* // reverted from commit 2602
void enableA20(void)
{
bzero(&bb, sizeof bb); // Note: may be called before BSS section is initialized
bb.eax.rr = 0x2401;
bios(&bb);
}
*/
trunk/i386/libsaio/misc.c
4646
4747
4848
49
49
5050
5151
5252
......
108108
109109
110110
111
111
112112
113113
114114
#include "libsaio.h"
#if UNUSED
//#if UNUSED
/*
* keyboard controller (8042) I/O port addresses
*/
/* wait until done */
flushKeyboardInputBuffer();
}
#endif /* UNUSED */
//#endif /* UNUSED */
//==========================================================================
// Return the platform name for this hardware.
trunk/i386/boot2/boot.c
409409
410410
411411
412
412413
413414
414
415415
416416
417417
// own things, and then calls common_boot.
void boot(int biosdev)
{
initialize_runtime();
// Enable A20 gate before accessing memory above 1Mb.
enableA20();
initialize_runtime();
common_boot(biosdev);
}
trunk/i386/libsa/zalloc.c
7575
7676
7777
78
78
7979
8080
8181
zalloc_base = start ? start : (char *)ZALLOC_ADDR;
totalNodes = nodes ? nodes : ZALLOC_NODES;
zalloced = (zmem *) zalloc_base;
zavailable = (zmem *) (zalloc_base + sizeof(zmem) * totalNodes);
zavailable = (zmem *) zalloc_base + sizeof(zmem) * totalNodes;
zavailable[0].start = (char *)zavailable + sizeof(zmem) * totalNodes;
if (size == 0)

Archive Download the corresponding diff file

Revision: 2646