Subversion Repositories Kolibri OS

Compare Revisions

Regard whitespace Rev 1600 → Rev 1604

/drivers/ddk/core.S
7,6 → 7,8
.global _AllocPage
.global _AllocPages
 
.global _AttachIntHandler
 
.global _CreateRingBuffer
.global _Delay
.global _DestroyObject
44,6 → 46,8
.def _AllocPage; .scl 2; .type 32; .endef
.def _AllocPages; .scl 2; .type 32; .endef
 
.def _AttachIntHandler; .scl 2; .type 32; .endef
 
.def _CreateRingBuffer; .scl 2; .type 32; .endef
 
.def _Delay; .scl 2; .type 32; .endef
82,6 → 86,8
_AllocPage:
_AllocPages:
 
_AttachIntHandler:
 
_CreateRingBuffer:
 
_Delay:
123,6 → 129,8
.ascii " -export:AllocPage" # gcc ABI
.ascii " -export:AllocPages" # gcc ABI
 
.ascii " -export:AttachIntHandler" # stdcall
 
.ascii " -export:CreateRingBuffer" # stdcall
 
.ascii " -export:Delay" # stdcall
/drivers/ddk/debug/dbglog.c
99,6 → 99,7
 
int vsnprintf(char *s, size_t n, const char *format, va_list arg);
 
 
int printf(const char* format, ...)
{
char txtbuf[256];
135,7 → 136,9
{
SysMsgBoardStr(txtbuf);
 
if(dbgfile.path)
/* do not write into log file if interrupts disabled */
 
if ( (get_eflags() & (1 << 9)) && dbgfile.path)
{
write_file(dbgfile.path,txtbuf,dbgfile.offset,len,&writes);
dbgfile.offset+=writes;