search for: outreg

Displaying 20 results from an estimated 25 matches for "outreg".

2011 Dec 09
5
Making outregs in R
Dear r-Gods! I am interesting in making an equivalent command like outreg in stata where I get all my 8 regressions in one table. Does R have an easy command to that? MVH Dave [[alternative HTML version deleted]]
2006 May 03
2
Outreg-like command?
It would be nice to have something like stata's outreg that lets regression output go into a form like Specification (1) Specification (2) Var 1 coef(1,1) coef(1,2) se(1,1) se(1,2) Var 2 coef(2,1) coef(2,2) se(2,1) se(2,2) I don't think this can be done in xtable? Thomas Davidoff Assistant Professor Haas School of Business UC Berkeley...
2013 Feb 10
4
[PATCH] poweroff COM32 module
...version; incorporated herein by reference. + * + * ----------------------------------------------------------------------- */ + +/* + * poweroff.c + * + * APM poweroff module + */ + +#include <stdio.h> +#include <string.h> +#include <com32.h> + +int main() +{ + com32sys_t inregs, outregs; + + memset(&inregs, 0, sizeof inregs); + + inregs.eax.l = 0x5300; /* APM Installation Check (00h) */ + inregs.ebx.l = 0; /* APM BIOS (0000h) */ + __intcall(0x15, &inregs, &outregs); + + if (outregs.eflags.l & EFLAGS_CF) { + printf("APM not present.\n"); + return 1; + }...
2003 Sep 15
2
Can not use read file SYSLINUX API call
Hi Peter Anvin I tried to use open file and read file SYSLINUX API. But it always make my PC104 freeze. My snip code : ================================================ int __start(void) { int ax,cx,dx,es,si,di,t; com32sys_t inreg,outreg; memset(&inreg, 0, sizeof inreg); memset(&outreg, 0, sizeof outreg); strcopy(__com32.cs_bounce, "test.txt"); inreg.eax.w[0] = 0x0006; // Open file inreg.esi.w[0] = OFFS(__com32.cs_bounce); inreg.es = SEG(__com32.cs_bounce); __com32.cs_intcall(0x22, &inreg, &outreg); si...
2015 Sep 24
0
[PATCH] com32/disk: add UEFI support
...d *const id); +extern int str_to_guid(const char *buf, struct guid *const id); +extern void disk_gpt_part_dump(const struct disk_gpt_part_entry *const + gpt_part); + +/* disk.c */ +#ifndef SYSLINUX_EFI extern int disk_int13_retry(const com32sys_t * inreg, com32sys_t * outreg); +#endif + extern int disk_get_params(int disk, struct disk_info *const diskinfo); extern void *disk_read_sectors(const struct disk_info *const diskinfo, - uint64_t lba, uint8_t count); + uint64_t lba, uint8_t count); extern int disk_write_sectors(const st...
2012 Jun 26
2
[GIT PULL] elflink bug fixes
...; + if (!bounce) + return; + + strcpy(bounce, cmd); REG_AX(inreg) = 0x0003; // Run command - REG_BX(inreg) = OFFS(__com32.cs_bounce); - REG_ES(inreg) = SEG(__com32.cs_bounce); + REG_BX(inreg) = OFFS(bounce); + REG_ES(inreg) = SEG(bounce); __intcall(0x22, &inreg, &outreg); } @@ -62,6 +68,7 @@ void runsyslinuximage(const char *cmd, long ipappend) { unsigned int numfun = 0; char *ptr, *cmdline; + char *bounce; (void)ipappend; // XXX: Unused?! @@ -71,8 +78,12 @@ void runsyslinuximage(const char *cmd, long ipappend) runsyslinuxcmd(cmd);...
2013 Sep 17
2
[PATCH 1/4 v2] com32/lib/: Avoid unneeded allocation.
...++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/com32/lib/syslinux/disk.c b/com32/lib/syslinux/disk.c index 093751a..d96acbf 100644 --- a/com32/lib/syslinux/disk.c +++ b/com32/lib/syslinux/disk.c @@ -73,7 +73,7 @@ int disk_int13_retry(const com32sys_t * inreg, com32sys_t * outreg) int disk_get_params(int disk, struct disk_info *const diskinfo) { static com32sys_t inreg, outreg; - struct disk_ebios_eparam *eparam; + struct disk_ebios_eparam *eparam = NULL; int rv = 0; memset(diskinfo, 0, sizeof *diskinfo); @@ -94,12 +94,12 @@ int disk_get_params(int d...
2013 Sep 06
2
[PATCH 1/2] com32/lib/: Avoid unneeded allocation.
...+++------ 1 files changed, 7 insertions(+), 6 deletions(-) diff --git a/com32/lib/syslinux/disk.c b/com32/lib/syslinux/disk.c index 093751a..554bed3 100644 --- a/com32/lib/syslinux/disk.c +++ b/com32/lib/syslinux/disk.c @@ -73,7 +73,7 @@ int disk_int13_retry(const com32sys_t * inreg, com32sys_t * outreg) int disk_get_params(int disk, struct disk_info *const diskinfo) { static com32sys_t inreg, outreg; - struct disk_ebios_eparam *eparam; + struct disk_ebios_eparam *eparam = NULL; int rv = 0; memset(diskinfo, 0, sizeof *diskinfo); @@ -94,12 +94,12 @@ int disk_get_params(int...
2010 Jul 01
2
[PATCH] ifplop.c32: Detect if PLoP USB/CD INT13h hook is enabled/disabled
...www.plop.at/en/bootmanager.html + */ + +#include <com32.h> +#include <stdlib.h> +#include <stdio.h> +#include <string.h> +#include <alloca.h> +#include <console.h> +#include <syslinux/boot.h> + +static bool plop_INT13h_check(void) +{ + com32sys_t inregs, outregs; + + /* Prepare the register set */ + memset(&inregs, 0, sizeof inregs); + + /* + * Check if PLoP already has booted a CDROM or USB drive by checking + * for the presence of the PLoP INT13h hook. + * + * The following assembly code (NASM) can detect the PLoP INT13h hoo...
2007 Aug 21
5
proper way to sleep
This is not spam about sleep aids :) Q: Is there a 'standard' way to sleep for a specified number of BIOS ticks (or seconds) in a com32 program? I grepped through the com32 library source and didn't find anything for 'sleep' or 'tick'. If not, you may want to consider adding: void syslinux_sleep(int seconds); void syslinux_sleep_bios_ticks(int ticks); or
2015 Jun 11
0
[ANNOUNCE] intel-gpu-tools 1.11
..._crc_equal and _non_null lib: Only warn about suspicious CRCs tests/kms_cursor_crc: Add dpms and suspend tests tests/gem_exec_lut_handle tests/gem_tiled_swapping: Fix up L-shaped testing lib/batchbuffer: Fix COLOR_BLIT_COPY_BATCH_START lib/mmio: One more s/OUTRET/OUTREG/ Daniele Ceraolo Spurio (2): tests/gem_ppgtt: Check for vm leaks with flink and ppgtt tests/gem_cs_tlb: fix hardcoded ring id David Herrmann (1): tests: add drm_auth tests for generic DRM-auth-magic testing Derek Morton (4): tests/gem_cpu_reloc: Fix gem_cpu_reloc OOM fail...
2003 Apr 21
3
COM32 Question
Does the COMBOOT stuff with 2.04 work correctly with function calls? or does one need to write it as one huge function? If memory serves me correctly, there was some problem if hello.c was modified to include additional functions, in an earlier version. - Murali
2013 Sep 06
1
[PATCH 2/2] com32/disk: Improve flow at disk_write_sectors and disk_read_sectors.
...(C) 2010 Shao Miller + * Copyright (C) 2013 Raphael S. Carvalho * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation @@ -92,6 +93,13 @@ int disk_get_params(int disk, struct disk_info *const diskinfo) if (!(outreg.eflags.l & EFLAGS_CF) && outreg.ebx.w[0] == 0xaa55 && (outreg.ecx.b[0] & 1)) { diskinfo->ebios = 1; + diskinfo->ops.disk_op = &ebios_disk_op; + diskinfo->ops.read_code = EBIOS_READ_CODE; + diskinfo->ops.write_code = EBIOS_WRITE_CODE; + } else { + diski...
2013 Sep 17
0
[PATCH 1/2] com32/lib/: Avoid unneeded allocation.
...insertions(+), 6 deletions(-) > > diff --git a/com32/lib/syslinux/disk.c b/com32/lib/syslinux/disk.c > index 093751a..554bed3 100644 > --- a/com32/lib/syslinux/disk.c > +++ b/com32/lib/syslinux/disk.c > @@ -73,7 +73,7 @@ int disk_int13_retry(const com32sys_t * inreg, com32sys_t * outreg) > int disk_get_params(int disk, struct disk_info *const diskinfo) > { > static com32sys_t inreg, outreg; > - struct disk_ebios_eparam *eparam; > + struct disk_ebios_eparam *eparam = NULL; > int rv = 0; > > memset(diskinfo, 0, sizeof *diskinfo); >...
2013 Sep 30
0
[PATCH 1/4 v2] com32/lib/: Avoid unneeded allocation.
...insertions(+), 5 deletions(-) > > diff --git a/com32/lib/syslinux/disk.c b/com32/lib/syslinux/disk.c > index 093751a..d96acbf 100644 > --- a/com32/lib/syslinux/disk.c > +++ b/com32/lib/syslinux/disk.c > @@ -73,7 +73,7 @@ int disk_int13_retry(const com32sys_t * inreg, com32sys_t * outreg) > int disk_get_params(int disk, struct disk_info *const diskinfo) > { > static com32sys_t inreg, outreg; > - struct disk_ebios_eparam *eparam; > + struct disk_ebios_eparam *eparam = NULL; > int rv = 0; > > memset(diskinfo, 0, sizeof *diskinfo); >...
2012 Aug 20
13
[PATCH 00/12] Multidisk support
Hello, the following patches should get multidisk access working. The syntax accepted is the following: (hdx,y)/path/to/file where x is the disk number and start at 0 and the y is the partition number starting at 1. So (hd0,1) is the first partition of the first disk. the other accepted syntax is using MBR's 32 bits disk signature so for example: (mbr:0x12345678,2)/foo/bar would address
2007 Jan 29
6
Loop with string variable AND customizable "summary" output
...mary(lm(y{i} ~ x{i})) In other words, at the end I would like to have two objects as output: "outputUK" and "outputUSA", which contain respectively the results of the first and second regression (yUK on xUK and yUSA on xUSA). 2) in STATA there is a very nice code ("outreg") to display nicely (and as the user wants to) your regression results. Is there anything similar in R / R contributed packages? More precisely, I am thinking of something that is close in spirit to "summary" but it is also customizable. For example, suppose you want different Signi...
2010 Apr 27
2
gpllib write_sectors() patch
...to call get_drive_parameters every time so they should be supplied in the driveinfo struct (for both read and write). /** * write_sectors - write several sectors from disk @@ -37,9 +55,14 @@ int write_sectors(const struct driveinfo *drive_info, const unsigned int lba, { com32sys_t inreg, outreg; struct ebios_dapa *dapa = __com32.cs_bounce; - void *buf = (char *)__com32.cs_bounce + size; + void *buf = (char *)__com32.cs_bounce + size*SECTOR; - memcpy(buf, data, size); + if (get_drive_parameters(drive_info) == -1) { + printf("ERR: Can't get drive params!\n&qu...
2008 Apr 11
4
Format regression result summary
Hello to the whole group. I am a newbie to R, but I got my way through and think it is a lot easier to handle than other software packages (far less clicks necessary). However, I have a problem with respect to the summary of regression results. The summary function gives sth like: Residuals: Min 1Q Median 3Q Max -0.46743 -0.09772 0.01810 0.11175 0.42252
2012 Jul 16
5
[PATCH 0/5] Deleting __intcall() from Syslinux
From: Matt Fleming <matt.fleming at intel.com> Since we can't use __intcall() for EFI, and since we can now have the ELF module code resolve all our symbols at runtime, we should delete as many references to __intcall() as possible and just access the symbols directly. The most interesting patch is the support for weak symbols. We need to be able to reference derivative-specific